public class TextureMap extends Object implements IconRegister
Constructor and Description |
---|
TextureMap(int par1,
String par2,
String par3Str,
BufferedImage par4BufferedImage) |
Modifier and Type | Method and Description |
---|---|
Icon |
getMissingIcon() |
Texture |
getTexture() |
TextureStitched |
getTextureExtry(String name)
Grabs the registered entry for the specified name, returning null if there was not a entry.
|
void |
refreshTextures() |
Icon |
registerIcon(String par1Str) |
boolean |
setTextureEntry(String name,
TextureStitched entry)
Adds a texture registry entry to this map for the specified name if one does not already exist.
|
void |
updateAnimations() |
public TextureMap(int par1, String par2, String par3Str, BufferedImage par4BufferedImage)
public void refreshTextures()
public void updateAnimations()
public Texture getTexture()
public Icon registerIcon(String par1Str)
registerIcon
in interface IconRegister
public Icon getMissingIcon()
public TextureStitched getTextureExtry(String name)
name
- The name of the entry to findpublic boolean setTextureEntry(String name, TextureStitched entry)
name
- Entry nameentry
- Entry instance