Class TextureAtlas
java.lang.Object
net.minecraft.client.renderer.texture.AbstractTexture
net.minecraft.client.renderer.texture.TextureAtlas
- All Implemented Interfaces:
AutoCloseable,Tickable
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final Stringprivate final ResourceLocationstatic final ResourceLocationDeprecated.static final ResourceLocationDeprecated.private static final org.slf4j.Loggerprivate final intprivate final Set<ResourceLocation>private final Map<ResourceLocation,TextureAtlasSprite> Fields inherited from class net.minecraft.client.renderer.texture.AbstractTexture
blur, id, mipmap, NOT_ASSIGNED -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidprivate Collection<TextureAtlasSprite.Info>getBasicSpriteInfos(ResourceManager p_118305_, Set<ResourceLocation> p_118306_) private List<TextureAtlasSprite>getLoadedSprites(ResourceManager p_118284_, Stitcher p_118285_, int p_118286_) private ResourceLocationgetResourceLocation(ResourceLocation p_118325_) getSprite(ResourceLocation p_118317_) voidload(ResourceManager p_118282_) private TextureAtlasSpriteload(ResourceManager p_118288_, TextureAtlasSprite.Info p_118289_, int p_118290_, int p_118291_, int p_118292_, int p_118293_, int p_118294_) location()prepareToStitch(ResourceManager p_118308_, Stream<ResourceLocation> p_118309_, ProfilerFiller p_118310_, int p_118311_) voidreload(TextureAtlas.Preparations p_118313_) voidtick()voidupdateFilter(TextureAtlas.Preparations p_118323_) Methods inherited from class net.minecraft.client.renderer.texture.AbstractTexture
bind, close, getId, releaseId, reset, restoreLastBlurMipmap, setBlurMipmap, setFilter
-
Field Details
-
LOGGER
private static final org.slf4j.Logger LOGGER -
LOCATION_BLOCKS
Deprecated. -
LOCATION_PARTICLES
Deprecated. -
FILE_EXTENSION
- See Also:
-
animatedTextures
-
sprites
-
texturesByName
-
location
-
maxSupportedTextureSize
private final int maxSupportedTextureSize
-
-
Constructor Details
-
TextureAtlas
-
-
Method Details
-
load
- Specified by:
loadin classAbstractTexture
-
reload
-
prepareToStitch
public TextureAtlas.Preparations prepareToStitch(ResourceManager p_118308_, Stream<ResourceLocation> p_118309_, ProfilerFiller p_118310_, int p_118311_) -
getBasicSpriteInfos
private Collection<TextureAtlasSprite.Info> getBasicSpriteInfos(ResourceManager p_118305_, Set<ResourceLocation> p_118306_) -
getLoadedSprites
private List<TextureAtlasSprite> getLoadedSprites(ResourceManager p_118284_, Stitcher p_118285_, int p_118286_) -
load
@Nullable private TextureAtlasSprite load(ResourceManager p_118288_, TextureAtlasSprite.Info p_118289_, int p_118290_, int p_118291_, int p_118292_, int p_118293_, int p_118294_) -
getResourceLocation
-
cycleAnimationFrames
public void cycleAnimationFrames() -
tick
public void tick() -
getSprite
-
clearTextureData
public void clearTextureData() -
location
-
updateFilter
-