Class AtlasTexture
java.lang.Object
net.minecraft.client.renderer.texture.Texture
net.minecraft.client.renderer.texture.AtlasTexture
- All Implemented Interfaces:
AutoCloseable
,ITickable
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate final List<TextureAtlasSprite>
private final ResourceLocation
static final ResourceLocation
Deprecated.static final ResourceLocation
Deprecated.private static final org.apache.logging.log4j.Logger
private final int
private final Set<ResourceLocation>
private final Map<ResourceLocation,
TextureAtlasSprite> -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
private Collection<TextureAtlasSprite.Info>
getBasicSpriteInfos
(IResourceManager p_215256_1_, Set<ResourceLocation> p_215256_2_) private List<TextureAtlasSprite>
getLoadedSprites
(IResourceManager p_229217_1_, Stitcher p_229217_2_, int p_229217_3_) private ResourceLocation
getResourceLocation
(ResourceLocation p_195420_1_) getSprite
(ResourceLocation p_195424_1_) void
load
(IResourceManager p_195413_1_) private TextureAtlasSprite
load
(IResourceManager p_229218_1_, TextureAtlasSprite.Info p_229218_2_, int p_229218_3_, int p_229218_4_, int p_229218_5_, int p_229218_6_, int p_229218_7_) location()
prepareToStitch
(IResourceManager p_229220_1_, Stream<ResourceLocation> p_229220_2_, IProfiler p_229220_3_, int p_229220_4_) void
reload
(AtlasTexture.SheetData p_215260_1_) void
tick()
void
updateFilter
(AtlasTexture.SheetData p_229221_1_) Methods inherited from class net.minecraft.client.renderer.texture.Texture
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. -
animatedTextures
-
sprites
-
texturesByName
-
location
-
maxSupportedTextureSize
private final int maxSupportedTextureSize
-
-
Constructor Details
-
AtlasTexture
-
-
Method Details
-
load
- Specified by:
load
in classTexture
- Throws:
IOException
-
reload
-
prepareToStitch
public AtlasTexture.SheetData prepareToStitch(IResourceManager p_229220_1_, Stream<ResourceLocation> p_229220_2_, IProfiler p_229220_3_, int p_229220_4_) -
getBasicSpriteInfos
private Collection<TextureAtlasSprite.Info> getBasicSpriteInfos(IResourceManager p_215256_1_, Set<ResourceLocation> p_215256_2_) -
getLoadedSprites
private List<TextureAtlasSprite> getLoadedSprites(IResourceManager p_229217_1_, Stitcher p_229217_2_, int p_229217_3_) -
load
@Nullable private TextureAtlasSprite load(IResourceManager p_229218_1_, TextureAtlasSprite.Info p_229218_2_, int p_229218_3_, int p_229218_4_, int p_229218_5_, int p_229218_6_, int p_229218_7_) -
getResourceLocation
-
cycleAnimationFrames
public void cycleAnimationFrames() -
tick
public void tick() -
getSprite
-
clearTextureData
public void clearTextureData() -
location
-
updateFilter
-