Package net.minecraft.client.texture
Class SpriteLoader
java.lang.Object
net.minecraft.client.texture.SpriteLoader
- Mappings:
Namespace Name official ftz
intermediary net/minecraft/class_7766
named net/minecraft/client/texture/SpriteLoader
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate final int
private final Identifier
private static final Logger
private final int
private final int
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate Map<Identifier,
Sprite> collectStitchedSprites
(TextureStitcher<SpriteContents> stitcher, int atlasWidth, int atlasHeight) static SpriteLoader
fromAtlas
(SpriteAtlasTexture atlasTexture) load
(ResourceManager resourceManager, Identifier path, int mipLevel, Executor executor) static @Nullable SpriteContents
load
(Identifier id, Resource resource) static CompletableFuture<List<SpriteContents>>
loadAll
(List<Supplier<SpriteContents>> sources, Executor executor) stitch
(List<SpriteContents> sprites, int mipLevel, Executor executor)
-
Field Details
-
LOGGER
- Mappings:
Namespace Name Mixin selector official a
Lftz;a:Lorg/slf4j/Logger;
intermediary field_40548
Lnet/minecraft/class_7766;field_40548:Lorg/slf4j/Logger;
named LOGGER
Lnet/minecraft/client/texture/SpriteLoader;LOGGER:Lorg/slf4j/Logger;
-
id
- Mappings:
Namespace Name Mixin selector official b
Lftz;b:Lacq;
intermediary field_40549
Lnet/minecraft/class_7766;field_40549:Lnet/minecraft/class_2960;
named id
Lnet/minecraft/client/texture/SpriteLoader;id:Lnet/minecraft/util/Identifier;
-
maxTextureSize
private final int maxTextureSize- Mappings:
Namespace Name Mixin selector official c
Lftz;c:I
intermediary field_40550
Lnet/minecraft/class_7766;field_40550:I
named maxTextureSize
Lnet/minecraft/client/texture/SpriteLoader;maxTextureSize:I
-
width
private final int width- Mappings:
Namespace Name Mixin selector official d
Lftz;d:I
intermediary field_43111
Lnet/minecraft/class_7766;field_43111:I
named width
Lnet/minecraft/client/texture/SpriteLoader;width:I
-
height
private final int height- Mappings:
Namespace Name Mixin selector official e
Lftz;e:I
intermediary field_43112
Lnet/minecraft/class_7766;field_43112:I
named height
Lnet/minecraft/client/texture/SpriteLoader;height:I
-
-
Constructor Details
-
SpriteLoader
- Mappings:
Namespace Name Mixin selector official <init>
Lftz;<init>(Lacq;III)V
intermediary <init>
Lnet/minecraft/class_7766;<init>(Lnet/minecraft/class_2960;III)V
named <init>
Lnet/minecraft/client/texture/SpriteLoader;<init>(Lnet/minecraft/util/Identifier;III)V
-
-
Method Details
-
fromAtlas
- Mappings:
Namespace Name Mixin selector official a
Lftz;a(Lfud;)Lftz;
intermediary method_45837
Lnet/minecraft/class_7766;method_45837(Lnet/minecraft/class_1059;)Lnet/minecraft/class_7766;
named fromAtlas
Lnet/minecraft/client/texture/SpriteLoader;fromAtlas(Lnet/minecraft/client/texture/SpriteAtlasTexture;)Lnet/minecraft/client/texture/SpriteLoader;
-
stitch
public SpriteLoader.StitchResult stitch(List<SpriteContents> sprites, int mipLevel, Executor executor) - Mappings:
Namespace Name Mixin selector official a
Lftz;a(Ljava/util/List;ILjava/util/concurrent/Executor;)Lftz$a;
intermediary method_47663
Lnet/minecraft/class_7766;method_47663(Ljava/util/List;ILjava/util/concurrent/Executor;)Lnet/minecraft/class_7766$class_7767;
named stitch
Lnet/minecraft/client/texture/SpriteLoader;stitch(Ljava/util/List;ILjava/util/concurrent/Executor;)Lnet/minecraft/client/texture/SpriteLoader$StitchResult;
-
loadAll
public static CompletableFuture<List<SpriteContents>> loadAll(List<Supplier<SpriteContents>> sources, Executor executor) - Mappings:
Namespace Name Mixin selector official a
Lftz;a(Ljava/util/List;Ljava/util/concurrent/Executor;)Ljava/util/concurrent/CompletableFuture;
intermediary method_47664
Lnet/minecraft/class_7766;method_47664(Ljava/util/List;Ljava/util/concurrent/Executor;)Ljava/util/concurrent/CompletableFuture;
named loadAll
Lnet/minecraft/client/texture/SpriteLoader;loadAll(Ljava/util/List;Ljava/util/concurrent/Executor;)Ljava/util/concurrent/CompletableFuture;
-
load
public CompletableFuture<SpriteLoader.StitchResult> load(ResourceManager resourceManager, Identifier path, int mipLevel, Executor executor) - Mappings:
Namespace Name Mixin selector official a
Lftz;a(Lakv;Lacq;ILjava/util/concurrent/Executor;)Ljava/util/concurrent/CompletableFuture;
intermediary method_47661
Lnet/minecraft/class_7766;method_47661(Lnet/minecraft/class_3300;Lnet/minecraft/class_2960;ILjava/util/concurrent/Executor;)Ljava/util/concurrent/CompletableFuture;
named load
Lnet/minecraft/client/texture/SpriteLoader;load(Lnet/minecraft/resource/ResourceManager;Lnet/minecraft/util/Identifier;ILjava/util/concurrent/Executor;)Ljava/util/concurrent/CompletableFuture;
-
load
- Mappings:
Namespace Name Mixin selector official a
Lftz;a(Lacq;Lakt;)Lfty;
intermediary method_45829
Lnet/minecraft/class_7766;method_45829(Lnet/minecraft/class_2960;Lnet/minecraft/class_3298;)Lnet/minecraft/class_7764;
named load
Lnet/minecraft/client/texture/SpriteLoader;load(Lnet/minecraft/util/Identifier;Lnet/minecraft/resource/Resource;)Lnet/minecraft/client/texture/SpriteContents;
-
collectStitchedSprites
private Map<Identifier,Sprite> collectStitchedSprites(TextureStitcher<SpriteContents> stitcher, int atlasWidth, int atlasHeight) - Mappings:
Namespace Name Mixin selector official a
Lftz;a(Lfub;II)Ljava/util/Map;
intermediary method_45836
Lnet/minecraft/class_7766;method_45836(Lnet/minecraft/class_1055;II)Ljava/util/Map;
named collectStitchedSprites
Lnet/minecraft/client/texture/SpriteLoader;collectStitchedSprites(Lnet/minecraft/client/texture/TextureStitcher;II)Ljava/util/Map;
-