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
-
Field Summary
Modifier and TypeFieldDescriptionprivate static String
private ResourceLocation
static ResourceLocation
Deprecated.static ResourceLocation
Deprecated.private static org.apache.logging.log4j.Logger
private int
private Set<ResourceLocation>
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 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 ResourceLocation
getResourceLocation(ResourceLocation p_118325_)
getSprite(ResourceLocation p_118317_)
void
load(ResourceManager p_118282_)
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_)
location()
prepareToStitch(ResourceManager p_118308_, Stream<ResourceLocation> p_118309_, ProfilerFiller p_118310_, int p_118311_)
void
reload(TextureAtlas.Preparations p_118313_)
void
tick()
void
updateFilter(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.apache.logging.log4j.Logger LOGGER -
LOCATION_BLOCKS
Deprecated. -
LOCATION_PARTICLES
Deprecated. -
FILE_EXTENSION
- See Also:
- Constant Field Values
-
animatedTextures
-
sprites
-
texturesByName
-
location
-
maxSupportedTextureSize
private final int maxSupportedTextureSize
-
-
Constructor Details
-
TextureAtlas
-
-
Method Details
-
load
- Specified by:
load
in 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
-