public class PhantomRenderer extends MobRenderer<PhantomEntity,PhantomModel<PhantomEntity>>
Modifier and Type | Field and Description |
---|---|
private static ResourceLocation |
PHANTOM_LOCATION |
entityModel, layerRenderers
renderManager, shadowOpaque, shadowSize
Constructor and Description |
---|
PhantomRenderer(EntityRendererManager renderManagerIn) |
Modifier and Type | Method and Description |
---|---|
protected void |
applyRotations(PhantomEntity entityLiving,
MatrixStack matrixStackIn,
float ageInTicks,
float rotationYaw,
float partialTicks) |
ResourceLocation |
getEntityTexture(PhantomEntity entity) |
protected void |
preRenderCallback(PhantomEntity entitylivingbaseIn,
MatrixStack matrixStackIn,
float partialTickTime) |
addVertexPair, canRenderName, render, renderSide, shouldRender
addLayer, func_230042_a_, getDeathMaxRotation, getEntityModel, getOverlayProgress, getPackedOverlay, getSwingProgress, handleRotationFloat, isVisible
getBlockLight, getFontRendererFromRenderManager, getPackedLight, getRenderManager, getRenderOffset, renderName
private static final ResourceLocation PHANTOM_LOCATION
public PhantomRenderer(EntityRendererManager renderManagerIn)
public ResourceLocation getEntityTexture(PhantomEntity entity)
getEntityTexture
in interface IEntityRenderer<PhantomEntity,PhantomModel<PhantomEntity>>
getEntityTexture
in class EntityRenderer<PhantomEntity>
protected void preRenderCallback(PhantomEntity entitylivingbaseIn, MatrixStack matrixStackIn, float partialTickTime)
preRenderCallback
in class LivingRenderer<PhantomEntity,PhantomModel<PhantomEntity>>
protected void applyRotations(PhantomEntity entityLiving, MatrixStack matrixStackIn, float ageInTicks, float rotationYaw, float partialTicks)
applyRotations
in class LivingRenderer<PhantomEntity,PhantomModel<PhantomEntity>>