Package net.minecraft.client.renderer
Class EntityRenderer
- java.lang.Object
-
- net.minecraft.client.renderer.EntityRenderer
-
- All Implemented Interfaces:
IResourceManagerReloadListener
public class EntityRenderer extends java.lang.Object implements IResourceManagerReloadListener
+ 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 static boolean
anaglyphEnable
static int
anaglyphField
ItemRenderer
itemRenderer
-
Constructor Summary
Constructors Constructor Description EntityRenderer(Minecraft mcIn, IResourceManager resourceManagerIn)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
activateNextShader()
void
disableLightmap()
void
enableLightmap()
void
func_181022_b()
void
func_181560_a(float parFloat1, long parLong1)
MapItemRenderer
getMapItemRenderer()
void
getMouseOver(float partialTicks)
+ Finds what block or object the mouse is over at the specified partial tick time.boolean
isShaderActive()
void
loadEntityShader(Entity entityIn)
+ What shader to use when spectating this entityvoid
onResourceManagerReload(IResourceManager var1)
protected void
renderRainSnow(float partialTicks)
+ Render rain and snowvoid
renderStreamIndicator(float partialTicks)
void
renderWorld(float partialTicks, long finishTimeNano)
void
setupOverlayRendering()
+ Setup orthogonal projection for rendering GUI screen overlaysvoid
switchUseShader()
void
updateRenderer()
+ Updates the entity renderervoid
updateShaderGroupSize(int width, int height)
-
-
-
Field Detail
-
anaglyphEnable
public static boolean anaglyphEnable
-
anaglyphField
public static int anaglyphField
-
itemRenderer
public final ItemRenderer itemRenderer
-
-
Constructor Detail
-
EntityRenderer
public EntityRenderer(Minecraft mcIn, IResourceManager resourceManagerIn)
-
-
Method Detail
-
isShaderActive
public boolean isShaderActive()
-
func_181022_b
public void func_181022_b()
-
switchUseShader
public void switchUseShader()
-
loadEntityShader
public void loadEntityShader(Entity entityIn)
+ What shader to use when spectating this entity
-
activateNextShader
public void activateNextShader()
-
onResourceManagerReload
public void onResourceManagerReload(IResourceManager var1)
- Specified by:
onResourceManagerReload
in interfaceIResourceManagerReloadListener
-
updateRenderer
public void updateRenderer()
+ Updates the entity renderer
-
updateShaderGroupSize
public void updateShaderGroupSize(int width, int height)
-
getMouseOver
public void getMouseOver(float partialTicks)
+ Finds what block or object the mouse is over at the specified partial tick time. Args: partialTickTime
-
disableLightmap
public void disableLightmap()
-
enableLightmap
public void enableLightmap()
-
func_181560_a
public void func_181560_a(float parFloat1, long parLong1)
-
renderStreamIndicator
public void renderStreamIndicator(float partialTicks)
-
renderWorld
public void renderWorld(float partialTicks, long finishTimeNano)
-
renderRainSnow
protected void renderRainSnow(float partialTicks)
+ Render rain and snow
-
setupOverlayRendering
public void setupOverlayRendering()
+ Setup orthogonal projection for rendering GUI screen overlays
-
getMapItemRenderer
public MapItemRenderer getMapItemRenderer()
-
-