Class AtlasTexture
- java.lang.Object
-
- net.minecraft.client.renderer.texture.Texture
-
- net.minecraft.client.renderer.texture.AtlasTexture
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AtlasTexture.SheetData
-
Field Summary
Fields Modifier and Type Field Description private java.util.List<TextureAtlasSprite>
animatedTextures
private ResourceLocation
location
static ResourceLocation
LOCATION_BLOCKS
Deprecated.static ResourceLocation
LOCATION_PARTICLES
Deprecated.private static org.apache.logging.log4j.Logger
LOGGER
private int
maxSupportedTextureSize
private java.util.Set<ResourceLocation>
sprites
private java.util.Map<ResourceLocation,TextureAtlasSprite>
texturesByName
-
Constructor Summary
Constructors Constructor Description AtlasTexture(ResourceLocation p_i226047_1_)
-
Method Summary
-
Methods inherited from class net.minecraft.client.renderer.texture.Texture
bind, close, getId, releaseId, reset, restoreLastBlurMipmap, setBlurMipmap, setFilter
-
-
-
-
Field Detail
-
LOGGER
private static final org.apache.logging.log4j.Logger LOGGER
-
LOCATION_BLOCKS
@Deprecated public static final ResourceLocation LOCATION_BLOCKS
Deprecated.
-
LOCATION_PARTICLES
@Deprecated public static final ResourceLocation LOCATION_PARTICLES
Deprecated.
-
animatedTextures
private final java.util.List<TextureAtlasSprite> animatedTextures
-
sprites
private final java.util.Set<ResourceLocation> sprites
-
texturesByName
private final java.util.Map<ResourceLocation,TextureAtlasSprite> texturesByName
-
location
private final ResourceLocation location
-
maxSupportedTextureSize
private final int maxSupportedTextureSize
-
-
Constructor Detail
-
AtlasTexture
public AtlasTexture(ResourceLocation p_i226047_1_)
-
-
Method Detail
-
load
public void load(IResourceManager p_195413_1_) throws java.io.IOException
-
reload
public void reload(AtlasTexture.SheetData p_215260_1_)
-
prepareToStitch
public AtlasTexture.SheetData prepareToStitch(IResourceManager p_229220_1_, java.util.stream.Stream<ResourceLocation> p_229220_2_, IProfiler p_229220_3_, int p_229220_4_)
-
getBasicSpriteInfos
private java.util.Collection<TextureAtlasSprite.Info> getBasicSpriteInfos(IResourceManager p_215256_1_, java.util.Set<ResourceLocation> p_215256_2_)
-
getLoadedSprites
private java.util.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
private ResourceLocation getResourceLocation(ResourceLocation p_195420_1_)
-
cycleAnimationFrames
public void cycleAnimationFrames()
-
getSprite
public TextureAtlasSprite getSprite(ResourceLocation p_195424_1_)
-
clearTextureData
public void clearTextureData()
-
location
public ResourceLocation location()
-
updateFilter
public void updateFilter(AtlasTexture.SheetData p_229221_1_)
-
-