Package net.minecraft.client.texture
Class SpriteAtlasTexture
java.lang.Object
net.minecraft.client.texture.AbstractTexture
net.minecraft.client.texture.SpriteAtlasTexture
- All Implemented Interfaces:
AutoCloseable
,TextureTickListener
@Environment(CLIENT)
public class SpriteAtlasTexture
extends AbstractTexture
implements TextureTickListener
- Mappings:
Namespace Name official fax
intermediary net/minecraft/class_1059
named net/minecraft/client/texture/SpriteAtlasTexture
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate final List<TextureTickListener>
static final Identifier
Deprecated.private final Identifier
private static final org.slf4j.Logger
private final int
static final Identifier
Deprecated.private static final String
private final Map<Identifier,
Sprite> private final Set<Identifier>
Fields inherited from class net.minecraft.client.texture.AbstractTexture
bilinear, DEFAULT_ID, glId, mipmap
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
clear()
getId()
getSprite
(Identifier id) private Identifier
void
load
(ResourceManager manager) loadSprite
(ResourceManager container, Sprite.Info info, int atlasWidth, int atlasHeight, int maxLevel, int x, int y) private Collection<Sprite.Info>
loadSprites
(ResourceManager resourceManager, Set<Identifier> ids) loadSprites
(ResourceManager resourceManager, TextureStitcher textureStitcher, int maxLevel) stitch
(ResourceManager resourceManager, Stream<Identifier> idStream, Profiler profiler, int mipmapLevel) void
tick()
void
void
Methods inherited from class net.minecraft.client.texture.AbstractTexture
bindTexture, clearGlId, close, getGlId, registerTexture, setFilter
-
Field Details
-
LOGGER
private static final org.slf4j.Logger LOGGER- Mappings:
Namespace Name Mixin selector official g
Lfax;g:Lorg/slf4j/Logger;
intermediary field_5278
Lnet/minecraft/class_1059;field_5278:Lorg/slf4j/Logger;
named LOGGER
Lnet/minecraft/client/texture/SpriteAtlasTexture;LOGGER:Lorg/slf4j/Logger;
-
BLOCK_ATLAS_TEXTURE
Deprecated.- Mappings:
Namespace Name Mixin selector official e
Lfax;e:Lyt;
intermediary field_5275
Lnet/minecraft/class_1059;field_5275:Lnet/minecraft/class_2960;
named BLOCK_ATLAS_TEXTURE
Lnet/minecraft/client/texture/SpriteAtlasTexture;BLOCK_ATLAS_TEXTURE:Lnet/minecraft/util/Identifier;
-
PARTICLE_ATLAS_TEXTURE
Deprecated.- Mappings:
Namespace Name Mixin selector official f
Lfax;f:Lyt;
intermediary field_17898
Lnet/minecraft/class_1059;field_17898:Lnet/minecraft/class_2960;
named PARTICLE_ATLAS_TEXTURE
Lnet/minecraft/client/texture/SpriteAtlasTexture;PARTICLE_ATLAS_TEXTURE:Lnet/minecraft/util/Identifier;
-
PNG_EXTENSION
- See Also:
- Mappings:
Namespace Name Mixin selector official h
Lfax;h:Ljava/lang/String;
intermediary field_32957
Lnet/minecraft/class_1059;field_32957:Ljava/lang/String;
named PNG_EXTENSION
Lnet/minecraft/client/texture/SpriteAtlasTexture;PNG_EXTENSION:Ljava/lang/String;
-
animatedSprites
- Mappings:
Namespace Name Mixin selector official i
Lfax;i:Ljava/util/List;
intermediary field_5276
Lnet/minecraft/class_1059;field_5276:Ljava/util/List;
named animatedSprites
Lnet/minecraft/client/texture/SpriteAtlasTexture;animatedSprites:Ljava/util/List;
-
spritesToLoad
- Mappings:
Namespace Name Mixin selector official j
Lfax;j:Ljava/util/Set;
intermediary field_5277
Lnet/minecraft/class_1059;field_5277:Ljava/util/Set;
named spritesToLoad
Lnet/minecraft/client/texture/SpriteAtlasTexture;spritesToLoad:Ljava/util/Set;
-
sprites
- Mappings:
Namespace Name Mixin selector official k
Lfax;k:Ljava/util/Map;
intermediary field_5280
Lnet/minecraft/class_1059;field_5280:Ljava/util/Map;
named sprites
Lnet/minecraft/client/texture/SpriteAtlasTexture;sprites:Ljava/util/Map;
-
id
- Mappings:
Namespace Name Mixin selector official l
Lfax;l:Lyt;
intermediary field_21749
Lnet/minecraft/class_1059;field_21749:Lnet/minecraft/class_2960;
named id
Lnet/minecraft/client/texture/SpriteAtlasTexture;id:Lnet/minecraft/util/Identifier;
-
maxTextureSize
private final int maxTextureSize- Mappings:
Namespace Name Mixin selector official m
Lfax;m:I
intermediary field_17899
Lnet/minecraft/class_1059;field_17899:I
named maxTextureSize
Lnet/minecraft/client/texture/SpriteAtlasTexture;maxTextureSize:I
-
-
Constructor Details
-
SpriteAtlasTexture
- Mappings:
Namespace Name Mixin selector official <init>
Lfax;<init>(Lyt;)V
intermediary <init>
Lnet/minecraft/class_1059;<init>(Lnet/minecraft/class_2960;)V
named <init>
Lnet/minecraft/client/texture/SpriteAtlasTexture;<init>(Lnet/minecraft/util/Identifier;)V
-
-
Method Details
-
load
- Specified by:
load
in classAbstractTexture
- Mappings:
Namespace Name Mixin selector official a
Lfam;a(Laga;)V
intermediary method_4625
Lnet/minecraft/class_1044;method_4625(Lnet/minecraft/class_3300;)V
named load
Lnet/minecraft/client/texture/AbstractTexture;load(Lnet/minecraft/resource/ResourceManager;)V
-
upload
- Mappings:
Namespace Name Mixin selector official a
Lfax;a(Lfax$a;)V
intermediary method_18159
Lnet/minecraft/class_1059;method_18159(Lnet/minecraft/class_1059$class_4007;)V
named upload
Lnet/minecraft/client/texture/SpriteAtlasTexture;upload(Lnet/minecraft/client/texture/SpriteAtlasTexture$Data;)V
-
stitch
public SpriteAtlasTexture.Data stitch(ResourceManager resourceManager, Stream<Identifier> idStream, Profiler profiler, int mipmapLevel) - Mappings:
Namespace Name Mixin selector official a
Lfax;a(Laga;Ljava/util/stream/Stream;Lasy;I)Lfax$a;
intermediary method_18163
Lnet/minecraft/class_1059;method_18163(Lnet/minecraft/class_3300;Ljava/util/stream/Stream;Lnet/minecraft/class_3695;I)Lnet/minecraft/class_1059$class_4007;
named stitch
Lnet/minecraft/client/texture/SpriteAtlasTexture;stitch(Lnet/minecraft/resource/ResourceManager;Ljava/util/stream/Stream;Lnet/minecraft/util/profiler/Profiler;I)Lnet/minecraft/client/texture/SpriteAtlasTexture$Data;
-
loadSprites
- Mappings:
Namespace Name Mixin selector official a
Lfax;a(Laga;Ljava/util/Set;)Ljava/util/Collection;
intermediary method_18164
Lnet/minecraft/class_1059;method_18164(Lnet/minecraft/class_3300;Ljava/util/Set;)Ljava/util/Collection;
named loadSprites
Lnet/minecraft/client/texture/SpriteAtlasTexture;loadSprites(Lnet/minecraft/resource/ResourceManager;Ljava/util/Set;)Ljava/util/Collection;
-
loadSprites
private List<Sprite> loadSprites(ResourceManager resourceManager, TextureStitcher textureStitcher, int maxLevel) - Mappings:
Namespace Name Mixin selector official a
Lfax;a(Laga;Lfav;I)Ljava/util/List;
intermediary method_18161
Lnet/minecraft/class_1059;method_18161(Lnet/minecraft/class_3300;Lnet/minecraft/class_1055;I)Ljava/util/List;
named loadSprites
Lnet/minecraft/client/texture/SpriteAtlasTexture;loadSprites(Lnet/minecraft/resource/ResourceManager;Lnet/minecraft/client/texture/TextureStitcher;I)Ljava/util/List;
-
loadSprite
@Nullable private @Nullable Sprite loadSprite(ResourceManager container, Sprite.Info info, int atlasWidth, int atlasHeight, int maxLevel, int x, int y) - Mappings:
Namespace Name Mixin selector official a
Lfax;a(Laga;Lfay$c;IIIII)Lfay;
intermediary method_4604
Lnet/minecraft/class_1059;method_4604(Lnet/minecraft/class_3300;Lnet/minecraft/class_1058$class_4727;IIIII)Lnet/minecraft/class_1058;
named loadSprite
Lnet/minecraft/client/texture/SpriteAtlasTexture;loadSprite(Lnet/minecraft/resource/ResourceManager;Lnet/minecraft/client/texture/Sprite$Info;IIIII)Lnet/minecraft/client/texture/Sprite;
-
getTexturePath
- Mappings:
Namespace Name Mixin selector official b
Lfax;b(Lyt;)Lyt;
intermediary method_4603
Lnet/minecraft/class_1059;method_4603(Lnet/minecraft/class_2960;)Lnet/minecraft/class_2960;
named getTexturePath
Lnet/minecraft/client/texture/SpriteAtlasTexture;getTexturePath(Lnet/minecraft/util/Identifier;)Lnet/minecraft/util/Identifier;
-
tickAnimatedSprites
public void tickAnimatedSprites()- Mappings:
Namespace Name Mixin selector official a
Lfax;a()V
intermediary method_4612
Lnet/minecraft/class_1059;method_4612()V
named tickAnimatedSprites
Lnet/minecraft/client/texture/SpriteAtlasTexture;tickAnimatedSprites()V
-
tick
public void tick()- Specified by:
tick
in interfaceTextureTickListener
- Mappings:
Namespace Name Mixin selector official e
Lfba;e()V
intermediary method_4622
Lnet/minecraft/class_1061;method_4622()V
named tick
Lnet/minecraft/client/texture/TextureTickListener;tick()V
-
getSprite
- Mappings:
Namespace Name Mixin selector official a
Lfax;a(Lyt;)Lfay;
intermediary method_4608
Lnet/minecraft/class_1059;method_4608(Lnet/minecraft/class_2960;)Lnet/minecraft/class_1058;
named getSprite
Lnet/minecraft/client/texture/SpriteAtlasTexture;getSprite(Lnet/minecraft/util/Identifier;)Lnet/minecraft/client/texture/Sprite;
-
clear
public void clear()- Mappings:
Namespace Name Mixin selector official f
Lfax;f()V
intermediary method_4601
Lnet/minecraft/class_1059;method_4601()V
named clear
Lnet/minecraft/client/texture/SpriteAtlasTexture;clear()V
-
getId
- Mappings:
Namespace Name Mixin selector official g
Lfax;g()Lyt;
intermediary method_24106
Lnet/minecraft/class_1059;method_24106()Lnet/minecraft/class_2960;
named getId
Lnet/minecraft/client/texture/SpriteAtlasTexture;getId()Lnet/minecraft/util/Identifier;
-
applyTextureFilter
- Mappings:
Namespace Name Mixin selector official b
Lfax;b(Lfax$a;)V
intermediary method_24198
Lnet/minecraft/class_1059;method_24198(Lnet/minecraft/class_1059$class_4007;)V
named applyTextureFilter
Lnet/minecraft/client/texture/SpriteAtlasTexture;applyTextureFilter(Lnet/minecraft/client/texture/SpriteAtlasTexture$Data;)V
-