Class TextureAtlas
java.lang.Object
net.minecraft.client.renderer.texture.AbstractTexture
net.minecraft.client.renderer.texture.TextureAtlas
- All Implemented Interfaces:
 AutoCloseable,Dumpable,Tickable
- 
Field Summary
FieldsModifier and TypeFieldDescriptionprivate List<TextureAtlasSprite.Ticker>private intprivate final ResourceLocationstatic final ResourceLocationDeprecated.static final ResourceLocationDeprecated.private static final org.slf4j.Loggerprivate final intprivate intprivate TextureAtlasSpriteprivate List<SpriteContents>private Map<ResourceLocation,TextureAtlasSprite> private intFields inherited from class net.minecraft.client.renderer.texture.AbstractTexture
blur, id, mipmap, NOT_ASSIGNED - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoiddumpContents(ResourceLocation p_276106_, Path p_276127_) private static voiddumpSpriteNames(Path p_261769_, String p_262102_, Map<ResourceLocation, TextureAtlasSprite> p_261722_) (package private) intgetSprite(ResourceLocation p_118317_) (package private) intgetWidth()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
 - 
missingSprite
 - 
location
 - 
maxSupportedTextureSize
private final int maxSupportedTextureSize - 
width
private int width - 
height
private int height - 
mipLevel
private int mipLevel 
 - 
 - 
Constructor Details
- 
TextureAtlas
 
 - 
 - 
Method Details
- 
load
- Specified by:
 loadin classAbstractTexture
 - 
upload
 - 
dumpContents
- Specified by:
 dumpContentsin interfaceDumpable- Throws:
 IOException
 - 
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() - 
getWidth
int getWidth() - 
getHeight
int getHeight() - 
updateFilter
 - 
getTextures
 
 -