public class TextureCompass extends TextureAtlasSprite
Modifier and Type | Field and Description |
---|---|
double |
angleDelta
Speed and direction of compass rotation
|
double |
currentAngle
Current compass heading in radians
|
static java.lang.String |
field_176608_l |
frameCounter, framesTextureData, height, interpolatedFrameData, originX, originY, rotated, tickCounter, width
Constructor and Description |
---|
TextureCompass(java.lang.String iconName) |
Modifier and Type | Method and Description |
---|---|
void |
updateAnimation() |
void |
updateCompass(World worldIn,
double p_94241_2_,
double p_94241_4_,
double p_94241_6_,
boolean p_94241_8_,
boolean p_94241_9_)
Updates the compass based on the given x,z coords and camera direction
|
clearFramesTextureData, copyFrom, generateMipmaps, getFrameCount, getFrameTextureData, getIconHeight, getIconName, getIconWidth, getInterpolatedU, getInterpolatedV, getMaxU, getMaxV, getMinU, getMinV, getOriginX, getOriginY, hasAnimationMetadata, hasCustomLoader, initSprite, load, loadSprite, makeAtlasSprite, setFramesTextureData, setIconHeight, setIconWidth, setLocationNameClock, setLocationNameCompass, toString
public double currentAngle
public double angleDelta
public static java.lang.String field_176608_l
public void updateAnimation()
updateAnimation
in class TextureAtlasSprite
public void updateCompass(World worldIn, double p_94241_2_, double p_94241_4_, double p_94241_6_, boolean p_94241_8_, boolean p_94241_9_)