Class TextureAtlas
java.lang.Object
net.minecraft.client.renderer.texture.AbstractTexture
net.minecraft.client.renderer.texture.TextureAtlas
- All Implemented Interfaces:
AutoCloseable,Tickable
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate List<TextureAtlasSprite.Ticker>private final ResourceLocationstatic final ResourceLocationDeprecated.static final ResourceLocationDeprecated.private static final org.slf4j.Loggerprivate final intprivate List<SpriteContents>private 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 voiddumpContents(int p_252243_, int p_251110_, int p_249203_) private static voiddumpSpriteNames(Path p_261769_, String p_262102_, Map<ResourceLocation, TextureAtlasSprite> p_261722_) getSprite(ResourceLocation p_118317_) Returns the set of sprites in this atlas..voidload(ResourceManager p_118282_) location()intvoidtick()voidupdateFilter(SpriteLoader.Preparations p_251993_) voidupload(SpriteLoader.Preparations p_250662_) 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. -
sprites
-
animatedTextures
-
texturesByName
-
location
-
maxSupportedTextureSize
private final int maxSupportedTextureSize
-
-
Constructor Details
-
TextureAtlas
-
-
Method Details
-
load
- Specified by:
loadin classAbstractTexture
-
upload
-
dumpContents
private void dumpContents(int p_252243_, int p_251110_, int p_249203_) -
dumpSpriteNames
private static void dumpSpriteNames(Path p_261769_, String p_262102_, Map<ResourceLocation, TextureAtlasSprite> p_261722_) -
cycleAnimationFrames
public void cycleAnimationFrames() -
tick
public void tick() -
getSprite
-
clearTextureData
public void clearTextureData() -
location
-
maxSupportedTextureSize
public int maxSupportedTextureSize() -
updateFilter
-
getTextureLocations
Returns the set of sprites in this atlas..- Returns:
- the set of sprites in this atlas.
-