Package net.minecraft.src
Class TextureCompass
java.lang.Object
net.minecraft.src.TextureAtlasSprite
net.minecraft.src.TextureCompass
- All Implemented Interfaces:
CustomUpdatingTexture,Icon
-
Nested Class Summary
Nested classes/interfaces inherited from interface api.client.CustomUpdatingTexture
CustomUpdatingTexture.CustomUpdateRenderLocation -
Field Summary
FieldsModifier and TypeFieldDescriptiondoubleSpeed and direction of compass rotationdoubleCurrent compass heading in radiansFields inherited from class net.minecraft.src.TextureAtlasSprite
frameCounter, framesTextureData, height, mipmaps, originX, originY, rotated, tickCounter, widthFields inherited from interface api.client.CustomUpdatingTexture
DRAW_SLOT, FIRST_PERSON, ITEM_FRAME, UPDATE_ANIMATION_TICK, WORLD_ITEM -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class net.minecraft.src.TextureAtlasSprite
clearFramesTextureData, copyFrom, getAnimationMetadata, getFrameCount, getFrameTextureData, getIconHeight, getIconName, getIconWidth, getInterpolatedU, getInterpolatedV, getMaxU, getMaxV, getMinU, getMinV, getOriginX, getOriginY, hasAnimationMetadata, initSprite, isProcedurallyAnimated, loadSprite, setFramesTextureData, setIconHeight, setIconWidth, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface api.client.CustomUpdatingTexture
skipUpdate, startTextureUpdate, whitelistRenderLocations
-
Field Details
-
currentAngle
public double currentAngleCurrent compass heading in radians -
angleDelta
public double angleDeltaSpeed and direction of compass rotation
-
-
Constructor Details
-
TextureCompass
-
-
Method Details
-
updateAnimation
public void updateAnimation()- Overrides:
updateAnimationin classTextureAtlasSprite
-
updateActive
- Specified by:
updateActivein interfaceCustomUpdatingTexture
-
updateInert
- Specified by:
updateInertin interfaceCustomUpdatingTexture
-
setGlTextureId
public void setGlTextureId(int glTextureId) - Specified by:
setGlTextureIdin interfaceCustomUpdatingTexture
-
getGlTextureId
public int getGlTextureId()- Specified by:
getGlTextureIdin interfaceCustomUpdatingTexture
-
getRenderLocations
- Specified by:
getRenderLocationsin interfaceCustomUpdatingTexture
-