Class SpriteLoader
java.lang.Object
net.minecraft.client.renderer.texture.SpriteLoader
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate final ResourceLocation
private static final org.slf4j.Logger
private final int
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic SpriteLoader
create
(TextureAtlas p_249085_) private Map<ResourceLocation,
TextureAtlasSprite> getStitchedSprites
(Stitcher<SpriteContents> p_249904_) loadAndStitch
(ResourceManager p_262108_, ResourceLocation p_261754_, int p_262104_, Executor p_261687_) static SpriteContents
loadSprite
(ResourceLocation p_251630_, Resource p_250558_) static CompletableFuture<List<SpriteContents>>
runSpriteSuppliers
(List<Supplier<SpriteContents>> p_261516_, Executor p_261791_) stitch
(List<SpriteContents> p_262029_, int p_261919_, Executor p_261665_)
-
Field Details
-
LOGGER
private static final org.slf4j.Logger LOGGER -
location
-
maxSupportedTextureSize
private final int maxSupportedTextureSize
-
-
Constructor Details
-
SpriteLoader
-
-
Method Details
-
create
-
stitch
public SpriteLoader.Preparations stitch(List<SpriteContents> p_262029_, int p_261919_, Executor p_261665_) -
runSpriteSuppliers
public static CompletableFuture<List<SpriteContents>> runSpriteSuppliers(List<Supplier<SpriteContents>> p_261516_, Executor p_261791_) -
loadAndStitch
public CompletableFuture<SpriteLoader.Preparations> loadAndStitch(ResourceManager p_262108_, ResourceLocation p_261754_, int p_262104_, Executor p_261687_) -
loadSprite
-
getStitchedSprites
private Map<ResourceLocation,TextureAtlasSprite> getStitchedSprites(Stitcher<SpriteContents> p_249904_)
-