Class TextureAtlas
java.lang.Object
net.minecraft.client.renderer.texture.AbstractTexture
net.minecraft.client.renderer.texture.TextureAtlas
- All Implemented Interfaces:
AutoCloseable
,Tickable
-
Field Summary
Modifier and TypeFieldDescriptionprivate List<TextureAtlasSprite.Ticker>
private final ResourceLocation
static final ResourceLocation
Deprecated.static final ResourceLocation
Deprecated.private static final org.slf4j.Logger
private final int
private List<SpriteContents>
private Map<ResourceLocation,
TextureAtlasSprite> Fields inherited from class net.minecraft.client.renderer.texture.AbstractTexture
blur, id, mipmap, NOT_ASSIGNED
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
private void
dumpContents
(int p_252243_, int p_251110_, int p_249203_) private static void
dumpSpriteNames
(Path p_261769_, String p_262102_, Map<ResourceLocation, TextureAtlasSprite> p_261722_) getSprite
(ResourceLocation p_118317_) Returns the set of sprites in this atlas..void
load
(ResourceManager p_118282_) location()
int
void
tick()
void
updateFilter
(SpriteLoader.Preparations p_251993_) void
upload
(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:
load
in 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.
-