public class TextureMap extends AbstractTexture implements TickableTextureObject, IconRegister
Modifier and Type | Field and Description |
---|---|
String |
basePath |
static ResourceLocation |
field_110575_b |
static ResourceLocation |
field_110576_c |
int |
textureType
0 = terrain.png, 1 = items.png
|
Constructor and Description |
---|
TextureMap(int par1,
String par2Str) |
Modifier and Type | Method and Description |
---|---|
void |
func_110550_d() |
void |
func_110551_a(ResourceManager par1ResourceManager) |
void |
func_110571_b(ResourceManager par1ResourceManager) |
TextureAtlasSprite |
func_110572_b(String par1Str) |
int |
func_130086_a() |
TextureAtlasSprite |
getTextureExtry(String name)
Grabs the registered entry for the specified name, returning null if there was not a entry.
|
Icon |
registerIcon(String par1Str) |
boolean |
setTextureEntry(String name,
TextureAtlasSprite entry)
Adds a texture registry entry to this map for the specified name if one does not already exist.
|
void |
updateAnimations() |
func_110552_b
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
func_110552_b
public static final ResourceLocation field_110575_b
public static final ResourceLocation field_110576_c
public final int textureType
public final String basePath
public TextureMap(int par1, String par2Str)
public void func_110551_a(ResourceManager par1ResourceManager) throws IOException
func_110551_a
in interface TextureObject
IOException
public void func_110571_b(ResourceManager par1ResourceManager)
public TextureAtlasSprite func_110572_b(String par1Str)
public void updateAnimations()
public Icon registerIcon(String par1Str)
registerIcon
in interface IconRegister
public int func_130086_a()
public void func_110550_d()
func_110550_d
in interface Tickable
public TextureAtlasSprite getTextureExtry(String name)
name
- The name of the entry to findpublic boolean setTextureEntry(String name, TextureAtlasSprite entry)
name
- Entry nameentry
- Entry instance