public class AtlasTexture extends Texture implements ITickableTextureObject
Modifier and Type | Class and Description |
---|---|
static class |
AtlasTexture.SheetData |
Modifier and Type | Field and Description |
---|---|
static ResourceLocation |
LOCATION_BLOCKS_TEXTURE |
static ResourceLocation |
LOCATION_EFFECTS_TEXTURE |
static ResourceLocation |
LOCATION_PAINTINGS_TEXTURE |
static ResourceLocation |
LOCATION_PARTICLES_TEXTURE |
blur, blurLast, glTextureId, mipmap, mipmapLast
Constructor and Description |
---|
AtlasTexture(java.lang.String basePathIn) |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
TextureAtlasSprite |
getAtlasSprite(java.lang.String iconName) |
java.lang.String |
getBasePath() |
int |
getMipmapLevels() |
TextureAtlasSprite |
getSprite(ResourceLocation location) |
void |
loadTexture(IResourceManager manager) |
void |
setMipmapLevels(int mipmapLevelsIn) |
AtlasTexture.SheetData |
stitch(IResourceManager p_215254_1_,
java.lang.Iterable<ResourceLocation> p_215254_2_,
IProfiler p_215254_3_) |
void |
tick() |
void |
updateAnimations() |
void |
upload(AtlasTexture.SheetData p_215260_1_) |
deleteGlTexture, getGlTextureId, restoreLastBlurMipmap, setBlurMipmap, setBlurMipmapDirect
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
bindTexture, func_215244_a, getGlTextureId, restoreLastBlurMipmap, setBlurMipmap
public static final ResourceLocation LOCATION_BLOCKS_TEXTURE
public static final ResourceLocation LOCATION_PARTICLES_TEXTURE
public static final ResourceLocation LOCATION_PAINTINGS_TEXTURE
public static final ResourceLocation LOCATION_EFFECTS_TEXTURE
public void loadTexture(IResourceManager manager) throws java.io.IOException
loadTexture
in interface ITextureObject
java.io.IOException
public void upload(AtlasTexture.SheetData p_215260_1_)
public AtlasTexture.SheetData stitch(IResourceManager p_215254_1_, java.lang.Iterable<ResourceLocation> p_215254_2_, IProfiler p_215254_3_)
public TextureAtlasSprite getAtlasSprite(java.lang.String iconName)
public void updateAnimations()
public void setMipmapLevels(int mipmapLevelsIn)
public TextureAtlasSprite getSprite(ResourceLocation location)
public void clear()
public java.lang.String getBasePath()
public int getMipmapLevels()