Package net.minecraft.client.texture
Class SpriteAtlasTexture
java.lang.Object
net.minecraft.client.texture.AbstractTexture
net.minecraft.client.texture.SpriteAtlasTexture
- All Implemented Interfaces:
AutoCloseable
,DynamicTexture
,TextureTickListener
@Environment(CLIENT)
public class SpriteAtlasTexture
extends AbstractTexture
implements DynamicTexture, TextureTickListener
- Mappings:
Namespace Name named net/minecraft/client/texture/SpriteAtlasTexture
intermediary net/minecraft/class_1059
official goz
-
Field Summary
Modifier and TypeFieldDescriptionprivate List
<Sprite.TickableAnimation> static final Identifier
Deprecated.private int
private final Identifier
private static final Logger
private final int
private int
static final Identifier
Deprecated.private Map
<Identifier, Sprite> private List
<SpriteContents> private int
Fields inherited from class net.minecraft.client.texture.AbstractTexture
bilinear, DEFAULT_ID, glId, mipmap
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
clear()
private static void
dumpAtlasInfos
(Path path, String id, Map<Identifier, Sprite> sprites) (package private) int
getId()
int
getSprite
(Identifier id) (package private) int
getWidth()
void
load
(ResourceManager manager) void
save
(Identifier id, Path path) void
tick()
void
void
upload
(SpriteLoader.StitchResult stitchResult) Methods inherited from class net.minecraft.client.texture.AbstractTexture
bindTexture, clearGlId, close, getGlId, registerTexture, setFilter
-
Field Details
-
LOGGER
- Mappings:
Namespace Name Mixin selector named LOGGER
Lnet/minecraft/client/texture/SpriteAtlasTexture;LOGGER:Lorg/slf4j/Logger;
intermediary field_5278
Lnet/minecraft/class_1059;field_5278:Lorg/slf4j/Logger;
official g
Lgoz;g:Lorg/slf4j/Logger;
-
BLOCK_ATLAS_TEXTURE
Deprecated.- Mappings:
Namespace Name Mixin selector named BLOCK_ATLAS_TEXTURE
Lnet/minecraft/client/texture/SpriteAtlasTexture;BLOCK_ATLAS_TEXTURE:Lnet/minecraft/util/Identifier;
intermediary field_5275
Lnet/minecraft/class_1059;field_5275:Lnet/minecraft/class_2960;
official e
Lgoz;e:Lalf;
-
PARTICLE_ATLAS_TEXTURE
Deprecated.- Mappings:
Namespace Name Mixin selector named PARTICLE_ATLAS_TEXTURE
Lnet/minecraft/client/texture/SpriteAtlasTexture;PARTICLE_ATLAS_TEXTURE:Lnet/minecraft/util/Identifier;
intermediary field_17898
Lnet/minecraft/class_1059;field_17898:Lnet/minecraft/class_2960;
official f
Lgoz;f:Lalf;
-
spritesToLoad
- Mappings:
Namespace Name Mixin selector named spritesToLoad
Lnet/minecraft/client/texture/SpriteAtlasTexture;spritesToLoad:Ljava/util/List;
intermediary field_5277
Lnet/minecraft/class_1059;field_5277:Ljava/util/List;
official h
Lgoz;h:Ljava/util/List;
-
animatedSprites
- Mappings:
Namespace Name Mixin selector named animatedSprites
Lnet/minecraft/client/texture/SpriteAtlasTexture;animatedSprites:Ljava/util/List;
intermediary field_5276
Lnet/minecraft/class_1059;field_5276:Ljava/util/List;
official i
Lgoz;i:Ljava/util/List;
-
sprites
- Mappings:
Namespace Name Mixin selector named sprites
Lnet/minecraft/client/texture/SpriteAtlasTexture;sprites:Ljava/util/Map;
intermediary field_5280
Lnet/minecraft/class_1059;field_5280:Ljava/util/Map;
official j
Lgoz;j:Ljava/util/Map;
-
missingSprite
- Mappings:
Namespace Name Mixin selector named missingSprite
Lnet/minecraft/client/texture/SpriteAtlasTexture;missingSprite:Lnet/minecraft/client/texture/Sprite;
intermediary field_46207
Lnet/minecraft/class_1059;field_46207:Lnet/minecraft/class_1058;
official k
Lgoz;k:Lgpa;
-
id
- Mappings:
Namespace Name Mixin selector named id
Lnet/minecraft/client/texture/SpriteAtlasTexture;id:Lnet/minecraft/util/Identifier;
intermediary field_21749
Lnet/minecraft/class_1059;field_21749:Lnet/minecraft/class_2960;
official l
Lgoz;l:Lalf;
-
maxTextureSize
private final int maxTextureSize- Mappings:
Namespace Name Mixin selector named maxTextureSize
Lnet/minecraft/client/texture/SpriteAtlasTexture;maxTextureSize:I
intermediary field_17899
Lnet/minecraft/class_1059;field_17899:I
official m
Lgoz;m:I
-
width
private int width- Mappings:
Namespace Name Mixin selector named width
Lnet/minecraft/client/texture/SpriteAtlasTexture;width:I
intermediary field_43113
Lnet/minecraft/class_1059;field_43113:I
official n
Lgoz;n:I
-
height
private int height- Mappings:
Namespace Name Mixin selector named height
Lnet/minecraft/client/texture/SpriteAtlasTexture;height:I
intermediary field_43114
Lnet/minecraft/class_1059;field_43114:I
official o
Lgoz;o:I
-
mipLevel
private int mipLevel- Mappings:
Namespace Name Mixin selector named mipLevel
Lnet/minecraft/client/texture/SpriteAtlasTexture;mipLevel:I
intermediary field_43115
Lnet/minecraft/class_1059;field_43115:I
official p
Lgoz;p:I
-
-
Constructor Details
-
SpriteAtlasTexture
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/client/texture/SpriteAtlasTexture;<init>(Lnet/minecraft/util/Identifier;)V
intermediary <init>
Lnet/minecraft/class_1059;<init>(Lnet/minecraft/class_2960;)V
official <init>
Lgoz;<init>(Lalf;)V
-
-
Method Details
-
load
- Specified by:
load
in classAbstractTexture
- Mappings:
Namespace Name Mixin selector named load
Lnet/minecraft/client/texture/AbstractTexture;load(Lnet/minecraft/resource/ResourceManager;)V
intermediary method_4625
Lnet/minecraft/class_1044;method_4625(Lnet/minecraft/class_3300;)V
official a
Lgol;a(Laup;)V
-
upload
- Mappings:
Namespace Name Mixin selector named upload
Lnet/minecraft/client/texture/SpriteAtlasTexture;upload(Lnet/minecraft/client/texture/SpriteLoader$StitchResult;)V
intermediary method_45848
Lnet/minecraft/class_1059;method_45848(Lnet/minecraft/class_7766$class_7767;)V
official a
Lgoz;a(Lgov$a;)V
-
save
- Specified by:
save
in interfaceDynamicTexture
- Throws:
IOException
- Mappings:
Namespace Name Mixin selector named save
Lnet/minecraft/client/texture/DynamicTexture;save(Lnet/minecraft/util/Identifier;Ljava/nio/file/Path;)V
intermediary method_49712
Lnet/minecraft/class_8215;method_49712(Lnet/minecraft/class_2960;Ljava/nio/file/Path;)V
official a
Lgom;a(Lalf;Ljava/nio/file/Path;)V
-
dumpAtlasInfos
- Mappings:
Namespace Name Mixin selector named dumpAtlasInfos
Lnet/minecraft/client/texture/SpriteAtlasTexture;dumpAtlasInfos(Ljava/nio/file/Path;Ljava/lang/String;Ljava/util/Map;)V
intermediary method_45849
Lnet/minecraft/class_1059;method_45849(Ljava/nio/file/Path;Ljava/lang/String;Ljava/util/Map;)V
official a
Lgoz;a(Ljava/nio/file/Path;Ljava/lang/String;Ljava/util/Map;)V
-
tickAnimatedSprites
public void tickAnimatedSprites()- Mappings:
Namespace Name Mixin selector named tickAnimatedSprites
Lnet/minecraft/client/texture/SpriteAtlasTexture;tickAnimatedSprites()V
intermediary method_4612
Lnet/minecraft/class_1059;method_4612()V
official d
Lgoz;d()V
-
tick
public void tick()- Specified by:
tick
in interfaceTextureTickListener
- Mappings:
Namespace Name Mixin selector named tick
Lnet/minecraft/client/texture/TextureTickListener;tick()V
intermediary method_4622
Lnet/minecraft/class_1061;method_4622()V
official e
Lgpc;e()V
-
getSprite
- Mappings:
Namespace Name Mixin selector named getSprite
Lnet/minecraft/client/texture/SpriteAtlasTexture;getSprite(Lnet/minecraft/util/Identifier;)Lnet/minecraft/client/texture/Sprite;
intermediary method_4608
Lnet/minecraft/class_1059;method_4608(Lnet/minecraft/class_2960;)Lnet/minecraft/class_1058;
official a
Lgoz;a(Lalf;)Lgpa;
-
clear
public void clear()- Mappings:
Namespace Name Mixin selector named clear
Lnet/minecraft/client/texture/SpriteAtlasTexture;clear()V
intermediary method_4601
Lnet/minecraft/class_1059;method_4601()V
official f
Lgoz;f()V
-
getId
- Mappings:
Namespace Name Mixin selector named getId
Lnet/minecraft/client/texture/SpriteAtlasTexture;getId()Lnet/minecraft/util/Identifier;
intermediary method_24106
Lnet/minecraft/class_1059;method_24106()Lnet/minecraft/class_2960;
official g
Lgoz;g()Lalf;
-
getMaxTextureSize
public int getMaxTextureSize()- Mappings:
Namespace Name Mixin selector named getMaxTextureSize
Lnet/minecraft/client/texture/SpriteAtlasTexture;getMaxTextureSize()I
intermediary method_45850
Lnet/minecraft/class_1059;method_45850()I
official h
Lgoz;h()I
-
getWidth
int getWidth()- Mappings:
Namespace Name Mixin selector named getWidth
Lnet/minecraft/client/texture/SpriteAtlasTexture;getWidth()I
intermediary method_49713
Lnet/minecraft/class_1059;method_49713()I
official i
Lgoz;i()I
-
getHeight
int getHeight()- Mappings:
Namespace Name Mixin selector named getHeight
Lnet/minecraft/client/texture/SpriteAtlasTexture;getHeight()I
intermediary method_49714
Lnet/minecraft/class_1059;method_49714()I
official j
Lgoz;j()I
-
applyTextureFilter
- Mappings:
Namespace Name Mixin selector named applyTextureFilter
Lnet/minecraft/client/texture/SpriteAtlasTexture;applyTextureFilter(Lnet/minecraft/client/texture/SpriteLoader$StitchResult;)V
intermediary method_24198
Lnet/minecraft/class_1059;method_24198(Lnet/minecraft/class_7766$class_7767;)V
official b
Lgoz;b(Lgov$a;)V
-