Class TextureAtlas
java.lang.Object
net.minecraft.client.renderer.texture.AbstractTexture
net.minecraft.client.renderer.texture.TextureAtlas
- All Implemented Interfaces:
- AutoCloseable,- Dumpable,- Tickable
- 
Field SummaryFieldsModifier 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.AbstractTextureblur, id, mipmap, NOT_ASSIGNED
- 
Constructor SummaryConstructors
- 
Method SummaryModifier 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_) Returns the set of sprites in this atlas..(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.AbstractTexturebind, close, getId, releaseId, reset, restoreLastBlurMipmap, setBlurMipmap, setFilter
- 
Field Details- 
LOGGERprivate static final org.slf4j.Logger LOGGER
- 
LOCATION_BLOCKSDeprecated.
- 
LOCATION_PARTICLESDeprecated.
- 
sprites
- 
animatedTextures
- 
texturesByName
- 
missingSprite
- 
location
- 
maxSupportedTextureSizeprivate final int maxSupportedTextureSize
- 
widthprivate int width
- 
heightprivate int height
- 
mipLevelprivate int mipLevel
 
- 
- 
Constructor Details- 
TextureAtlas
 
- 
- 
Method Details- 
load- Specified by:
- loadin class- AbstractTexture
 
- 
upload
- 
dumpContents- Specified by:
- dumpContentsin interface- Dumpable
- Throws:
- IOException
 
- 
dumpSpriteNamesprivate static void dumpSpriteNames(Path p_261769_, String p_262102_, Map<ResourceLocation, TextureAtlasSprite> p_261722_) 
- 
cycleAnimationFramespublic void cycleAnimationFrames()
- 
tickpublic void tick()
- 
getSprite
- 
clearTextureDatapublic void clearTextureData()
- 
location
- 
maxSupportedTextureSizepublic int maxSupportedTextureSize()
- 
getWidthint getWidth()
- 
getHeightint getHeight()
- 
updateFilter
- 
getTextureLocationsReturns the set of sprites in this atlas..- Returns:
- the set of sprites in this atlas.
 
 
-