public abstract class RenderLiving<T extends EntityLiving> extends RenderLivingBase<T>
brightnessBuffer, layerRenderers, mainModel, NAME_TAG_RANGE, NAME_TAG_RANGE_SNEAK, renderMarker
renderManager, renderOutlines, shadowOpaque, shadowSize
Constructor and Description |
---|
RenderLiving(RenderManager rendermanagerIn,
ModelBase modelbaseIn,
float shadowsizeIn) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
canRenderName(T entity) |
void |
doRender(T entity,
double x,
double y,
double z,
float entityYaw,
float partialTicks) |
private double |
interpolateValue(double start,
double end,
double pct) |
protected void |
renderLeash(T entityLivingIn,
double x,
double y,
double z,
float entityYaw,
float partialTicks) |
void |
setLightmap(T entityLivingIn) |
boolean |
shouldRender(T livingEntity,
ICamera camera,
double camX,
double camY,
double camZ) |
addLayer, applyRotations, getColorMultiplier, getDeathMaxRotation, getMainModel, getSwingProgress, handleRotationFloat, interpolateRotation, isVisible, prepareScale, preRenderCallback, renderLayers, renderLivingAt, renderModel, renderName, setBrightness, setDoRenderBrightness, setScoreTeamColor, transformHeldFull3DItemLayer, unsetBrightness, unsetScoreTeamColor
bindEntityTexture, bindTexture, doRenderShadowAndFire, getEntityTexture, getFontRendererFromRenderManager, getRenderManager, getTeamColor, isMultipass, renderEntityName, renderLivingLabel, renderMultipass, renderOffsetAABB, setRenderOutlines
public RenderLiving(RenderManager rendermanagerIn, ModelBase modelbaseIn, float shadowsizeIn)
protected boolean canRenderName(T entity)
canRenderName
in class RenderLivingBase<T extends EntityLiving>
public boolean shouldRender(T livingEntity, ICamera camera, double camX, double camY, double camZ)
shouldRender
in class Render<T extends EntityLiving>
public void doRender(T entity, double x, double y, double z, float entityYaw, float partialTicks)
doRender
in class RenderLivingBase<T extends EntityLiving>
public void setLightmap(T entityLivingIn)
private double interpolateValue(double start, double end, double pct)
protected void renderLeash(T entityLivingIn, double x, double y, double z, float entityYaw, float partialTicks)