Class RenderManager
- java.lang.Object
-
- net.minecraft.client.renderer.entity.RenderManager
-
public class RenderManager extends java.lang.Object
+ 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 Entity
livingPlayer
GameSettings
options
float
playerViewX
float
playerViewY
Entity
pointedEntity
TextureManager
renderEngine
double
viewerPosX
double
viewerPosY
double
viewerPosZ
World
worldObj
-
Constructor Summary
Constructors Constructor Description RenderManager(TextureManager renderEngineIn, RenderItem itemRendererIn)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
cacheActiveRenderInfo(World worldIn, FontRenderer textRendererIn, Entity livingPlayerIn, Entity pointedEntityIn, GameSettings optionsIn, float partialTicks)
boolean
doRenderEntity(Entity entity, double x, double y, double z, float entityYaw, float partialTicks, boolean parFlag)
double
getDistanceToCamera(double parDouble1, double parDouble2, double parDouble3)
<T extends Entity>
Render<T>getEntityClassRenderObject(java.lang.Class<? extends Entity> parClass1)
<T extends Entity>
RendergetEntityRenderObject(Entity entityIn)
FontRenderer
getFontRenderer()
+ Returns the font rendererboolean
isDebugBoundingBox()
boolean
isRenderShadow()
boolean
renderEntitySimple(Entity entityIn, float partialTicks)
boolean
renderEntityStatic(Entity entity, float partialTicks, boolean parFlag)
boolean
renderEntityWithPosYaw(Entity entityIn, double x, double y, double z, float entityYaw, float partialTicks)
void
renderWitherSkull(Entity entityIn, float partialTicks)
void
set(World worldIn)
+ World sets this RenderManager's worldObj to the world providedvoid
setDebugBoundingBox(boolean debugBoundingBoxIn)
void
setPlayerViewY(float playerViewYIn)
void
setRenderOutlines(boolean renderOutlinesIn)
void
setRenderPosition(double renderPosXIn, double renderPosYIn, double renderPosZIn)
void
setRenderShadow(boolean renderShadowIn)
boolean
shouldRender(Entity entityIn, ICamera camera, double camX, double camY, double camZ)
-
-
-
Field Detail
-
renderEngine
public TextureManager renderEngine
-
worldObj
public World worldObj
-
livingPlayer
public Entity livingPlayer
-
pointedEntity
public Entity pointedEntity
-
playerViewY
public float playerViewY
-
playerViewX
public float playerViewX
-
options
public GameSettings options
-
viewerPosX
public double viewerPosX
-
viewerPosY
public double viewerPosY
-
viewerPosZ
public double viewerPosZ
-
-
Constructor Detail
-
RenderManager
public RenderManager(TextureManager renderEngineIn, RenderItem itemRendererIn)
-
-
Method Detail
-
setRenderPosition
public void setRenderPosition(double renderPosXIn, double renderPosYIn, double renderPosZIn)
-
getEntityClassRenderObject
public <T extends Entity> Render<T> getEntityClassRenderObject(java.lang.Class<? extends Entity> parClass1)
-
cacheActiveRenderInfo
public void cacheActiveRenderInfo(World worldIn, FontRenderer textRendererIn, Entity livingPlayerIn, Entity pointedEntityIn, GameSettings optionsIn, float partialTicks)
-
setPlayerViewY
public void setPlayerViewY(float playerViewYIn)
-
isRenderShadow
public boolean isRenderShadow()
-
setRenderShadow
public void setRenderShadow(boolean renderShadowIn)
-
setDebugBoundingBox
public void setDebugBoundingBox(boolean debugBoundingBoxIn)
-
isDebugBoundingBox
public boolean isDebugBoundingBox()
-
renderEntitySimple
public boolean renderEntitySimple(Entity entityIn, float partialTicks)
-
shouldRender
public boolean shouldRender(Entity entityIn, ICamera camera, double camX, double camY, double camZ)
-
renderEntityStatic
public boolean renderEntityStatic(Entity entity, float partialTicks, boolean parFlag)
-
renderWitherSkull
public void renderWitherSkull(Entity entityIn, float partialTicks)
-
renderEntityWithPosYaw
public boolean renderEntityWithPosYaw(Entity entityIn, double x, double y, double z, float entityYaw, float partialTicks)
-
doRenderEntity
public boolean doRenderEntity(Entity entity, double x, double y, double z, float entityYaw, float partialTicks, boolean parFlag)
-
set
public void set(World worldIn)
+ World sets this RenderManager's worldObj to the world provided
-
getDistanceToCamera
public double getDistanceToCamera(double parDouble1, double parDouble2, double parDouble3)
-
getFontRenderer
public FontRenderer getFontRenderer()
+ Returns the font renderer
-
setRenderOutlines
public void setRenderOutlines(boolean renderOutlinesIn)
-
-