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

Public Member Functions

 TextureCompass ()
 
void updateAnimation ()
 
void updateCompass (World par1World, double par2, double par4, double par6, boolean par8, boolean par9)
 
- Public Member Functions inherited from net.minecraft.client.renderer.texture.TextureStitched
void init (Texture par1Texture, List par2List, int par3, int par4, int par5, int par6, boolean par7)
 
void copyFrom (TextureStitched par1TextureStitched)
 
int getOriginX ()
 
int getOriginY ()
 
float getMinU ()
 
float getMaxU ()
 
float getInterpolatedU (double par1)
 
float getMinV ()
 
float getMaxV ()
 
float getInterpolatedV (double par1)
 
String getIconName ()
 
int getSheetWidth ()
 
int getSheetHeight ()
 
void updateAnimation ()
 
void readAnimationInfo (BufferedReader par1BufferedReader)
 
void createAndUploadTextures ()
 
boolean loadTexture (TextureManager manager, ITexturePack texturepack, String name, String fileName, BufferedImage image, ArrayList textures)
 

Public Attributes

double currentAngle
 
double angleDelta
 

Static Public Attributes

static TextureCompass compassTexture
 

Additional Inherited Members

- Static Public Member Functions inherited from net.minecraft.client.renderer.texture.TextureStitched
static TextureStitched makeTextureStitched (String par0Str)
 
- Protected Member Functions inherited from net.minecraft.client.renderer.texture.TextureStitched
 TextureStitched (String par1)
 
- Protected Attributes inherited from net.minecraft.client.renderer.texture.TextureStitched
Texture textureSheet
 
List textureList
 
boolean rotated
 
int originX
 
int originY
 
int frameCounter = 0
 
int tickCounter = 0
 

Constructor & Destructor Documentation

net.minecraft.client.renderer.texture.TextureCompass.TextureCompass ( )

Member Function Documentation

void net.minecraft.client.renderer.texture.TextureCompass.updateAnimation ( )
void net.minecraft.client.renderer.texture.TextureCompass.updateCompass ( World  par1World,
double  par2,
double  par4,
double  par6,
boolean  par8,
boolean  par9 
)

Updates the compass based on the given x,z coords and camera direction

Member Data Documentation

double net.minecraft.client.renderer.texture.TextureCompass.angleDelta

Speed and direction of compass rotation

TextureCompass net.minecraft.client.renderer.texture.TextureCompass.compassTexture
static
double net.minecraft.client.renderer.texture.TextureCompass.currentAngle

Current compass heading in radians


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