public class RenderDragon extends RenderLiving<EntityDragon>
Modifier and Type | Field and Description |
---|---|
protected ModelDragon |
modelDragon
An instance of the dragon model in RenderDragon
|
brightnessBuffer, layerRenderers, mainModel, NAME_TAG_RANGE, NAME_TAG_RANGE_SNEAK, renderOutlines
renderManager, shadowOpaque, shadowSize
Constructor and Description |
---|
RenderDragon(RenderManager renderManagerIn) |
Modifier and Type | Method and Description |
---|---|
void |
doRender(EntityDragon entity,
double x,
double y,
double z,
float entityYaw,
float partialTicks)
Actually renders the given argument.
|
protected void |
drawRechargeRay(EntityDragon dragon,
double p_180574_2_,
double p_180574_4_,
double p_180574_6_,
float p_180574_8_)
Draws the ray from the dragon to it's crystal
|
protected ResourceLocation |
getEntityTexture(EntityDragon entity)
Returns the location of an entity's texture.
|
protected void |
renderModel(EntityDragon entitylivingbaseIn,
float p_77036_2_,
float p_77036_3_,
float p_77036_4_,
float p_77036_5_,
float p_77036_6_,
float p_77036_7_)
Renders the model in RenderLiving
|
protected void |
rotateCorpse(EntityDragon bat,
float p_77043_2_,
float p_77043_3_,
float partialTicks) |
canRenderName, func_177105_a, renderLeash, shouldRender
addLayer, getColorMultiplier, getDeathMaxRotation, getMainModel, getSwingProgress, handleRotationFloat, interpolateRotation, preRenderCallback, removeLayer, renderLayers, renderLivingAt, renderName, setBrightness, setDoRenderBrightness, setRenderOutlines, setScoreTeamColor, transformHeldFull3DItemLayer, unsetBrightness, unsetScoreTeamColor
bindEntityTexture, bindTexture, doRenderShadowAndFire, getFontRendererFromRenderManager, getRenderManager, renderLivingLabel, renderOffsetAABB, renderOffsetLivingLabel
protected ModelDragon modelDragon
public RenderDragon(RenderManager renderManagerIn)
protected void rotateCorpse(EntityDragon bat, float p_77043_2_, float p_77043_3_, float partialTicks)
rotateCorpse
in class RendererLivingEntity<EntityDragon>
protected void renderModel(EntityDragon entitylivingbaseIn, float p_77036_2_, float p_77036_3_, float p_77036_4_, float p_77036_5_, float p_77036_6_, float p_77036_7_)
renderModel
in class RendererLivingEntity<EntityDragon>
public void doRender(EntityDragon entity, double x, double y, double z, float entityYaw, float partialTicks)
doRender
in class RenderLiving<EntityDragon>
protected void drawRechargeRay(EntityDragon dragon, double p_180574_2_, double p_180574_4_, double p_180574_6_, float p_180574_8_)
protected ResourceLocation getEntityTexture(EntityDragon entity)
getEntityTexture
in class Render<EntityDragon>