public class WolfRenderer extends MobRenderer<WolfEntity,WolfModel<WolfEntity>>
Modifier and Type | Field and Description |
---|---|
private static ResourceLocation |
ANGRY_WOLF_TEXTURES |
private static ResourceLocation |
TAMED_WOLF_TEXTURES |
private static ResourceLocation |
WOLF_TEXTURES |
entityModel, layerRenderers
renderManager, shadowOpaque, shadowSize
Constructor and Description |
---|
WolfRenderer(EntityRendererManager renderManagerIn) |
Modifier and Type | Method and Description |
---|---|
ResourceLocation |
getEntityTexture(WolfEntity entity) |
protected float |
handleRotationFloat(WolfEntity livingBase,
float partialTicks) |
void |
render(WolfEntity entityIn,
float entityYaw,
float partialTicks,
MatrixStack matrixStackIn,
IRenderTypeBuffer bufferIn,
int packedLightIn) |
addVertexPair, canRenderName, renderSide, shouldRender
addLayer, applyRotations, func_230042_a_, getDeathMaxRotation, getEntityModel, getOverlayProgress, getPackedOverlay, getSwingProgress, isVisible, preRenderCallback
getBlockLight, getFontRendererFromRenderManager, getPackedLight, getRenderManager, getRenderOffset, renderName
private static final ResourceLocation WOLF_TEXTURES
private static final ResourceLocation TAMED_WOLF_TEXTURES
private static final ResourceLocation ANGRY_WOLF_TEXTURES
public WolfRenderer(EntityRendererManager renderManagerIn)
protected float handleRotationFloat(WolfEntity livingBase, float partialTicks)
handleRotationFloat
in class LivingRenderer<WolfEntity,WolfModel<WolfEntity>>
public void render(WolfEntity entityIn, float entityYaw, float partialTicks, MatrixStack matrixStackIn, IRenderTypeBuffer bufferIn, int packedLightIn)
render
in class MobRenderer<WolfEntity,WolfModel<WolfEntity>>
public ResourceLocation getEntityTexture(WolfEntity entity)
getEntityTexture
in interface IEntityRenderer<WolfEntity,WolfModel<WolfEntity>>
getEntityTexture
in class EntityRenderer<WolfEntity>