net.minecraft.client.texture

public class SpriteLoader

net.minecraft.client.renderer.texture.SpriteLoader
net.minecraft.client.renderer.texture.SpriteLoader
net.minecraft.class_7766
net.minecraft.client.texture.SpriteLoader

Field summary

Modifier and TypeField
private static final org.slf4j.Logger
LOGGER
LOGGER
field_40548
LOGGER
private final Identifier
location
location
field_40549
id
private final int
maxSupportedTextureSize
maxSupportedTextureSize
field_40550
maxTextureSize

Constructor summary

ModifierConstructor
public (Identifier id, int maxTextureSize)

Method summary

Modifier and TypeMethod
public static SpriteLoader
create(TextureAtlas atlas)
create(TextureAtlas atlas)
method_45837(class_1059 arg0)
fromAtlas(SpriteAtlasTexture atlasTexture)
private SpriteLoader$StitchResult
stitch(List<SpriteContents> sprites, int maxMipmapLevels, Executor executor)
stitch(List<SpriteContents> sprites, int maxMipmapLevels, Executor executor)
method_47663(List<class_7764> arg0, int arg1, Executor arg2)
stitch(List<SpriteContents> sprites, int mipLevel, Executor executor)
private static CompletableFuture<List<SpriteContents>>
runSpriteSuppliers(SpriteResourceLoader resourceLoader, List<SpriteSource$Loader> sprites, Executor executor)
runSpriteSuppliers(SpriteResourceLoader resourceLoader, List<SpriteSource$Loader> sprites, Executor executor)
method_47664(class_8684 arg0, List<class_7948$class_12299> arg1, Executor arg2)
loadAll(SpriteOpener opener, List<AtlasSource$SpriteSource> sources, Executor executor)
public CompletableFuture<SpriteLoader$StitchResult>
loadAndStitch(ResourceManager manager, Identifier atlasInfoLocation, int maxMipmapLevels, Executor taskExecutor, Set<MetadataSectionType<?>> additionalMetadata)
loadAndStitch(ResourceManager manager, Identifier atlasInfoLocation, int maxMipmapLevels, Executor taskExecutor, Set<MetadataSectionType<?>> additionalMetadata)
method_47661(class_3300 arg0, class_2960 arg1, int arg2, Executor arg3, Set<class_7677<?>> arg4)
load(ResourceManager resourceManager, Identifier path, int mipLevel, Executor executor, Set<ResourceMetadataSerializer<?>> additionalMetadata)
private Map<Identifier, Sprite>
getStitchedSprites(Stitcher<SpriteContents> stitcher, int atlasWidth, int atlasHeight)
getStitchedSprites(Stitcher<SpriteContents> stitcher, int atlasWidth, int atlasHeight)
method_45836(class_1055<class_7764> arg0, int arg1, int arg2)
collectStitchedSprites(TextureStitcher<SpriteContents> stitcher, int atlasWidth, int atlasHeight)