public class RenderPlayer extends RenderLivingBase<AbstractClientPlayer>
Modifier and Type | Field and Description |
---|---|
private boolean |
smallArms |
brightnessBuffer, layerRenderers, mainModel, NAME_TAG_RANGE, NAME_TAG_RANGE_SNEAK, renderMarker
renderManager, renderOutlines, shadowOpaque, shadowSize
Constructor and Description |
---|
RenderPlayer(RenderManager renderManager) |
RenderPlayer(RenderManager renderManager,
boolean useSmallArms) |
Modifier and Type | Method and Description |
---|---|
protected void |
applyRotations(AbstractClientPlayer entityLiving,
float p_77043_2_,
float rotationYaw,
float partialTicks) |
void |
doRender(AbstractClientPlayer entity,
double x,
double y,
double z,
float entityYaw,
float partialTicks) |
ResourceLocation |
getEntityTexture(AbstractClientPlayer entity) |
ModelPlayer |
getMainModel() |
protected void |
preRenderCallback(AbstractClientPlayer entitylivingbaseIn,
float partialTickTime) |
protected void |
renderEntityName(AbstractClientPlayer entityIn,
double x,
double y,
double z,
java.lang.String name,
double distanceSq) |
void |
renderLeftArm(AbstractClientPlayer clientPlayer) |
protected void |
renderLivingAt(AbstractClientPlayer entityLivingBaseIn,
double x,
double y,
double z) |
void |
renderRightArm(AbstractClientPlayer clientPlayer) |
private void |
setModelVisibilities(AbstractClientPlayer clientPlayer) |
void |
transformHeldFull3DItemLayer() |
addLayer, canRenderName, getColorMultiplier, getDeathMaxRotation, getSwingProgress, handleRotationFloat, interpolateRotation, isVisible, prepareScale, renderLayers, renderModel, renderName, setBrightness, setDoRenderBrightness, setScoreTeamColor, unsetBrightness, unsetScoreTeamColor
bindEntityTexture, bindTexture, doRenderShadowAndFire, getFontRendererFromRenderManager, getRenderManager, getTeamColor, isMultipass, renderLivingLabel, renderMultipass, renderOffsetAABB, setRenderOutlines, shouldRender
public RenderPlayer(RenderManager renderManager)
public RenderPlayer(RenderManager renderManager, boolean useSmallArms)
public ModelPlayer getMainModel()
getMainModel
in class RenderLivingBase<AbstractClientPlayer>
public void doRender(AbstractClientPlayer entity, double x, double y, double z, float entityYaw, float partialTicks)
doRender
in class RenderLivingBase<AbstractClientPlayer>
private void setModelVisibilities(AbstractClientPlayer clientPlayer)
public ResourceLocation getEntityTexture(AbstractClientPlayer entity)
getEntityTexture
in class Render<AbstractClientPlayer>
public void transformHeldFull3DItemLayer()
transformHeldFull3DItemLayer
in class RenderLivingBase<AbstractClientPlayer>
protected void preRenderCallback(AbstractClientPlayer entitylivingbaseIn, float partialTickTime)
preRenderCallback
in class RenderLivingBase<AbstractClientPlayer>
protected void renderEntityName(AbstractClientPlayer entityIn, double x, double y, double z, java.lang.String name, double distanceSq)
renderEntityName
in class Render<AbstractClientPlayer>
public void renderRightArm(AbstractClientPlayer clientPlayer)
public void renderLeftArm(AbstractClientPlayer clientPlayer)
protected void renderLivingAt(AbstractClientPlayer entityLivingBaseIn, double x, double y, double z)
renderLivingAt
in class RenderLivingBase<AbstractClientPlayer>
protected void applyRotations(AbstractClientPlayer entityLiving, float p_77043_2_, float rotationYaw, float partialTicks)
applyRotations
in class RenderLivingBase<AbstractClientPlayer>