public class TextureAtlasSprite extends Object implements Icon
| Modifier and Type | Method and Description |
|---|---|
void |
copyFrom(TextureAtlasSprite par1TextureAtlasSprite) |
int[] |
func_110965_a(int par1) |
void |
func_110966_b(int par1) |
int |
func_110967_i() |
void |
func_110968_a(List par1List) |
void |
func_110969_c(int par1) |
int |
func_110970_k() |
void |
func_110971_a(int par1,
int par2,
int par3,
int par4,
boolean par5) |
int |
func_130010_a() |
boolean |
func_130098_m() |
void |
func_130100_a(Resource par1Resource) |
void |
func_130103_l() |
String |
getIconName() |
float |
getInterpolatedU(double par1)
Gets a U coordinate on the icon.
|
float |
getInterpolatedV(double par1)
Gets a V coordinate on the icon.
|
float |
getMaxU()
Returns the maximum U coordinate to use when rendering with this icon.
|
float |
getMaxV()
Returns the maximum V coordinate to use when rendering with this icon.
|
float |
getMinU()
Returns the minimum U coordinate to use when rendering with this icon.
|
float |
getMinV()
Returns the minimum V coordinate to use when rendering with this icon.
|
int |
getOriginX()
Returns the X position of this icon on its texture sheet, in pixels.
|
int |
getOriginY()
Returns the Y position of this icon on its texture sheet, in pixels.
|
boolean |
load(ResourceManager manager,
ResourceLocation location)
Load the specified resource as this sprite's data.
|
String |
toString() |
void |
updateAnimation() |
public void func_110971_a(int par1,
int par2,
int par3,
int par4,
boolean par5)
public void copyFrom(TextureAtlasSprite par1TextureAtlasSprite)
public int func_130010_a()
public int func_110967_i()
public int getOriginX()
getOriginX in interface Iconpublic int getOriginY()
getOriginY in interface Iconpublic float getMinU()
public float getMaxU()
public float getInterpolatedU(double par1)
getInterpolatedU in interface Iconpublic float getMinV()
public float getMaxV()
public float getInterpolatedV(double par1)
getInterpolatedV in interface Iconpublic String getIconName()
getIconName in interface Iconpublic void updateAnimation()
public int[] func_110965_a(int par1)
public int func_110970_k()
public void func_110966_b(int par1)
public void func_110969_c(int par1)
public boolean load(ResourceManager manager, ResourceLocation location) throws IOException
manager - Main resource managerlocation - File resource locationIOExceptionpublic void func_130100_a(Resource par1Resource) throws IOException
IOExceptionpublic void func_130103_l()
public boolean func_130098_m()
public void func_110968_a(List par1List)