Class TextureCompass
- java.lang.Object
-
- net.lax1dude.eaglercraft.v1_8.minecraft.EaglerTextureAtlasSprite
-
- net.minecraft.client.renderer.texture.TextureCompass
-
public class TextureCompass extends EaglerTextureAtlasSprite
+ This portion of EaglercraftX contains deobfuscated Minecraft 1.8 source code. Minecraft 1.8.8 bytecode is (c) 2015 Mojang AB. "Do not distribute!" Mod Coder Pack v9.18 deobfuscation configs are (c) Copyright by the MCP Team EaglercraftX 1.8 patch files are (c) 2022-2023 LAX1DUDE. All Rights Reserved. WITH THE EXCEPTION OF PATCH FILES, MINIFIED JAVASCRIPT, AND ALL FILES NORMALLY FOUND IN AN UNMODIFIED MINECRAFT RESOURCE PACK, YOU ARE NOT ALLOWED TO SHARE, DISTRIBUTE, OR REPURPOSE ANY FILE USED BY OR PRODUCED BY THE SOFTWARE IN THIS REPOSITORY WITHOUT PRIOR PERMISSION FROM THE PROJECT AUTHOR. NOT FOR COMMERCIAL OR MALICIOUS USE (please read the 'LICENSE' file this repo's root directory for more info)
-
-
Field Summary
Fields Modifier and Type Field Description double
angleDelta
double
currentAngle
static java.lang.String
field_176608_l
-
Fields inherited from class net.lax1dude.eaglercraft.v1_8.minecraft.EaglerTextureAtlasSprite
animationCache, frameCounter, framesTextureData, height, interpolatedFrameData, originX, originY, rotated, tickCounter, width
-
-
Constructor Summary
Constructors Constructor Description TextureCompass(java.lang.String iconName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
updateAnimation()
void
updateCompass(World worldIn, double parDouble1, double parDouble2, double parDouble3, boolean parFlag, boolean parFlag2)
+ Updates the compass based on the given x,z coords and camera direction-
Methods inherited from class net.lax1dude.eaglercraft.v1_8.minecraft.EaglerTextureAtlasSprite
bakeAnimationCache, clearFramesTextureData, copyFrom, generateMipmaps, getFrameCount, getFrameTextureData, getIconHeight, getIconName, getIconWidth, getInterpolatedU, getInterpolatedV, getMaxU, getMaxV, getMinU, getMinV, getOriginX, getOriginY, hasAnimationMetadata, initSprite, loadSprite, makeAtlasSprite, setFramesTextureData, setIconHeight, setIconWidth, setLocationNameClock, setLocationNameCompass, toString
-
-
-
-
Method Detail
-
updateAnimation
public void updateAnimation()
- Overrides:
updateAnimation
in classEaglerTextureAtlasSprite
-
updateCompass
public void updateCompass(World worldIn, double parDouble1, double parDouble2, double parDouble3, boolean parFlag, boolean parFlag2)
+ Updates the compass based on the given x,z coords and camera direction
-
-