public class TextureMap extends AbstractTexture implements ITickableTextureObject
Modifier and Type | Field and Description |
---|---|
static ResourceLocation |
LOCATION_BLOCKS_TEXTURE |
blur, blurLast, glTextureId, mipmap, mipmapLast
Constructor and Description |
---|
TextureMap(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 |
registerSprite(IResourceManager manager,
ResourceLocation location) |
void |
setMipmapLevels(int mipmapLevelsIn) |
void |
stitch(IResourceManager manager) |
void |
stitch(IResourceManager manager,
java.lang.Iterable<ResourceLocation> locations) |
void |
tick() |
void |
updateAnimations() |
deleteGlTexture, getGlTextureId, restoreLastBlurMipmap, setBlurMipmap, setBlurMipmapDirect
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
bindTexture, getGlTextureId, restoreLastBlurMipmap, setBlurMipmap
public static final ResourceLocation LOCATION_BLOCKS_TEXTURE
public void loadTexture(IResourceManager manager) throws java.io.IOException
loadTexture
in interface ITextureObject
java.io.IOException
public void stitch(IResourceManager manager, java.lang.Iterable<ResourceLocation> locations)
public void stitch(IResourceManager manager)
public TextureAtlasSprite getAtlasSprite(java.lang.String iconName)
public void updateAnimations()
public void registerSprite(IResourceManager manager, ResourceLocation location)
public void setMipmapLevels(int mipmapLevelsIn)
public TextureAtlasSprite getSprite(ResourceLocation location)
public void clear()
public java.lang.String getBasePath()
public int getMipmapLevels()