YATS/Forge Documentation
 All Classes Namespaces Files Functions Variables Enumerator Pages
net.minecraft.client.renderer.texture.TextureMap Class Reference
Inheritance diagram for net.minecraft.client.renderer.texture.TextureMap:
net.minecraft.client.renderer.texture.IconRegister

Public Member Functions

 TextureMap (int par1, String par2, String par3Str, BufferedImage par4BufferedImage)
 
void refreshTextures ()
 
void updateAnimations ()
 
Texture getTexture ()
 
Icon registerIcon (String par1Str)
 
Icon getMissingIcon ()
 
TextureStitched getTextureExtry (String name)
 
boolean setTextureEntry (String name, TextureStitched entry)
 

Public Attributes

final int textureType
 
final String textureName
 
final String basePath
 
final String textureExt
 

Constructor & Destructor Documentation

net.minecraft.client.renderer.texture.TextureMap.TextureMap ( int  par1,
String  par2,
String  par3Str,
BufferedImage  par4BufferedImage 
)

Member Function Documentation

Icon net.minecraft.client.renderer.texture.TextureMap.getMissingIcon ( )
Texture net.minecraft.client.renderer.texture.TextureMap.getTexture ( )
TextureStitched net.minecraft.client.renderer.texture.TextureMap.getTextureExtry ( String  name)

Grabs the registered entry for the specified name, returning null if there was not a entry. Opposed to registerIcon, this will not instantiate the entry, useful to test if a maping exists.

Parameters
nameThe name of the entry to find
Returns
The registered entry, null if nothing was registered.
void net.minecraft.client.renderer.texture.TextureMap.refreshTextures ( )
Icon net.minecraft.client.renderer.texture.TextureMap.registerIcon ( String  par1Str)
boolean net.minecraft.client.renderer.texture.TextureMap.setTextureEntry ( String  name,
TextureStitched  entry 
)

Adds a texture registry entry to this map for the specified name if one does not already exist. Returns false if the map already contains a entry for the specified name.

Parameters
nameEntry name
entryEntry instance
Returns
True if the entry was added to the map, false otherwise.
void net.minecraft.client.renderer.texture.TextureMap.updateAnimations ( )

Member Data Documentation

final String net.minecraft.client.renderer.texture.TextureMap.basePath
final String net.minecraft.client.renderer.texture.TextureMap.textureExt
final String net.minecraft.client.renderer.texture.TextureMap.textureName
final int net.minecraft.client.renderer.texture.TextureMap.textureType

0 = terrain.png, 1 = items.png


The documentation for this class was generated from the following file: