public class TextureMap extends AbstractTexture implements ITickableTextureObject, IIconRegister
Modifier and Type | Field and Description |
---|---|
static ResourceLocation |
locationBlocksTexture |
static ResourceLocation |
locationItemsTexture |
glTextureId
Constructor and Description |
---|
TextureMap(int p_i1281_1_,
java.lang.String p_i1281_2_) |
TextureMap(int p_i1281_1_,
java.lang.String p_i1281_2_,
boolean skipFirst) |
Modifier and Type | Method and Description |
---|---|
TextureAtlasSprite |
getAtlasSprite(java.lang.String p_110572_1_) |
int |
getTextureType() |
void |
loadTexture(IResourceManager p_110551_1_) |
void |
loadTextureAtlas(IResourceManager p_110571_1_) |
IIcon |
registerIcon(java.lang.String p_94245_1_) |
void |
setAnisotropicFiltering(int p_147632_1_) |
void |
setMipmapLevels(int p_147633_1_) |
void |
tick() |
void |
updateAnimations() |
deleteGlTexture, getGlTextureId
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getGlTextureId
public static final ResourceLocation locationBlocksTexture
public static final ResourceLocation locationItemsTexture
public TextureMap(int p_i1281_1_, java.lang.String p_i1281_2_)
public TextureMap(int p_i1281_1_, java.lang.String p_i1281_2_, boolean skipFirst)
public void loadTexture(IResourceManager p_110551_1_) throws java.io.IOException
loadTexture
in interface ITextureObject
java.io.IOException
public void loadTextureAtlas(IResourceManager p_110571_1_)
public TextureAtlasSprite getAtlasSprite(java.lang.String p_110572_1_)
public void updateAnimations()
public IIcon registerIcon(java.lang.String p_94245_1_)
registerIcon
in interface IIconRegister
public int getTextureType()
public void setMipmapLevels(int p_147633_1_)
public void setAnisotropicFiltering(int p_147632_1_)