Class RenderPlayer
- java.lang.Object
-
- net.minecraft.client.renderer.entity.Render<T>
-
- net.minecraft.client.renderer.entity.RendererLivingEntity<AbstractClientPlayer>
-
- net.minecraft.client.renderer.entity.RenderPlayer
-
public class RenderPlayer extends RendererLivingEntity<AbstractClientPlayer>
+ 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 inherited from class net.minecraft.client.renderer.entity.RendererLivingEntity
brightnessBuffer, layerRenderers, mainModel, renderOutlines
-
Fields inherited from class net.minecraft.client.renderer.entity.Render
renderManager, shadowOpaque, shadowSize
-
-
Constructor Summary
Constructors Constructor Description RenderPlayer(RenderManager renderManager)
RenderPlayer(RenderManager renderManager, boolean useSmallArms, boolean zombieModel)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
doRender(AbstractClientPlayer abstractclientplayer, double d0, double d1, double d2, float f, float f1)
+ Actually renders the given argument.protected ResourceLocation
getEntityTexture(AbstractClientPlayer abstractclientplayer)
+ Returns the location of an entity's texture.ModelBiped
getMainModel()
protected void
preRenderCallback(AbstractClientPlayer var1, float var2)
+ Allows the render to do any OpenGL state modifications necessary before the model is rendered.void
renderLeftArm(AbstractClientPlayer clientPlayer)
protected void
renderLivingAt(AbstractClientPlayer abstractclientplayer, double d0, double d1, double d2)
+ Sets a simple glTranslate on a LivingEntity.protected void
renderOffsetLivingLabel(AbstractClientPlayer abstractclientplayer, double d0, double d1, double d2, java.lang.String s, float f, double d3)
void
renderRightArm(AbstractClientPlayer clientPlayer)
protected void
rotateCorpse(AbstractClientPlayer abstractclientplayer, float f, float f1, float f2)
void
transformHeldFull3DItemLayer()
-
Methods inherited from class net.minecraft.client.renderer.entity.RendererLivingEntity
addLayer, canRenderName, getColorMultiplier, getDeathMaxRotation, getSwingProgress, handleRotationFloat, interpolateRotation, removeLayer, renderLayers, renderModel, renderName, setBrightness, setDoRenderBrightness, setRenderOutlines, setScoreTeamColor, unsetBrightness, unsetScoreTeamColor
-
Methods inherited from class net.minecraft.client.renderer.entity.Render
bindEntityTexture, bindTexture, doRenderShadowAndFire, getFontRendererFromRenderManager, getRenderManager, renderLivingLabel, renderOffsetAABB, shouldRender
-
-
-
-
Constructor Detail
-
RenderPlayer
public RenderPlayer(RenderManager renderManager)
-
RenderPlayer
public RenderPlayer(RenderManager renderManager, boolean useSmallArms, boolean zombieModel)
-
-
Method Detail
-
getMainModel
public ModelBiped getMainModel()
- Overrides:
getMainModel
in classRendererLivingEntity<AbstractClientPlayer>
-
doRender
public void doRender(AbstractClientPlayer abstractclientplayer, double d0, double d1, double d2, float f, float f1)
+ Actually renders the given argument. This is a synthetic bridge method, always casting down its argument and then handing it off to a worker function which does the actual work. In all probabilty, the class Render is generic (Render) and this method has signature public void func_76986_a(T entity, double d, double d1, double d2, float f, float f1). But JAD is pre 1.5 so doe - Overrides:
doRender
in classRendererLivingEntity<AbstractClientPlayer>
-
getEntityTexture
protected ResourceLocation getEntityTexture(AbstractClientPlayer abstractclientplayer)
+ Returns the location of an entity's texture. Doesn't seem to be called unless you call Render.bindEntityTexture.- Specified by:
getEntityTexture
in classRender<AbstractClientPlayer>
-
transformHeldFull3DItemLayer
public void transformHeldFull3DItemLayer()
- Overrides:
transformHeldFull3DItemLayer
in classRendererLivingEntity<AbstractClientPlayer>
-
preRenderCallback
protected void preRenderCallback(AbstractClientPlayer var1, float var2)
+ Allows the render to do any OpenGL state modifications necessary before the model is rendered. Args: entityLiving, partialTickTime- Overrides:
preRenderCallback
in classRendererLivingEntity<AbstractClientPlayer>
-
renderOffsetLivingLabel
protected void renderOffsetLivingLabel(AbstractClientPlayer abstractclientplayer, double d0, double d1, double d2, java.lang.String s, float f, double d3)
- Overrides:
renderOffsetLivingLabel
in classRender<AbstractClientPlayer>
-
renderRightArm
public void renderRightArm(AbstractClientPlayer clientPlayer)
-
renderLeftArm
public void renderLeftArm(AbstractClientPlayer clientPlayer)
-
renderLivingAt
protected void renderLivingAt(AbstractClientPlayer abstractclientplayer, double d0, double d1, double d2)
+ Sets a simple glTranslate on a LivingEntity.- Overrides:
renderLivingAt
in classRendererLivingEntity<AbstractClientPlayer>
-
rotateCorpse
protected void rotateCorpse(AbstractClientPlayer abstractclientplayer, float f, float f1, float f2)
- Overrides:
rotateCorpse
in classRendererLivingEntity<AbstractClientPlayer>
-
-