Package net.minecraft.src
Class EntityRenderer
java.lang.Object
net.minecraft.src.EntityRenderer
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic booleanstatic intAnaglyph field (0=R, 1=GB)intDebug view direction (0=OFF, 1=Front, 2=Right, 3=Back, 4=Left, 5=TiltLeft, 6=TiltRight)floatTorch flicker X -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddisableLightmap(double par1) Disable secondary texture unit used by lightmapvoidenableLightmap(double par1) Enable lightmap in secondary texture unitvoidgetMouseOver(float par1) Finds what block or object the mouse is over at the specified partial tick time.floatgetNightVisionStrength(float var1) static booleanstatic intperformanceToFps(int par0) Converts performance value (0-2) to FPS (35-200)protected voidrenderRainSnow(float par1) Render rain and snowvoidrenderWorld(float par1, long par2) voidSetup orthogonal projection for rendering GUI screen overlaysvoidupdateCameraAndRender(float par1) Will update any inputs that effect the camera angle (mouse) and then render the world and GUIvoidUpdates the entity renderer
-
Field Details
-
anaglyphEnable
public static boolean anaglyphEnable -
anaglyphField
public static int anaglyphFieldAnaglyph field (0=R, 1=GB) -
itemRenderer
-
torchFlickerX
public float torchFlickerXTorch flicker X -
debugViewDirection
public int debugViewDirectionDebug view direction (0=OFF, 1=Front, 2=Right, 3=Back, 4=Left, 5=TiltLeft, 6=TiltRight)
-
-
Constructor Details
-
EntityRenderer
-
-
Method Details
-
updateRenderer
public void updateRenderer()Updates the entity renderer -
getMouseOver
public void getMouseOver(float par1) Finds what block or object the mouse is over at the specified partial tick time. Args: partialTickTime -
disableLightmap
public void disableLightmap(double par1) Disable secondary texture unit used by lightmap -
enableLightmap
public void enableLightmap(double par1) Enable lightmap in secondary texture unit -
updateCameraAndRender
public void updateCameraAndRender(float par1) Will update any inputs that effect the camera angle (mouse) and then render the world and GUI -
renderWorld
public void renderWorld(float par1, long par2) -
renderRainSnow
protected void renderRainSnow(float par1) Render rain and snow -
setupOverlayRendering
public void setupOverlayRendering()Setup orthogonal projection for rendering GUI screen overlays -
performanceToFps
public static int performanceToFps(int par0) Converts performance value (0-2) to FPS (35-200) -
installationIntegrityTest
public static boolean installationIntegrityTest() -
getNightVisionStrength
public float getNightVisionStrength(float var1)
-