Class CatRenderer
- java.lang.Object
-
- net.minecraft.client.renderer.entity.EntityRenderer<T>
-
- net.minecraft.client.renderer.entity.LivingRenderer<T,M>
-
- net.minecraft.client.renderer.entity.MobRenderer<CatEntity,CatModel<CatEntity>>
-
- net.minecraft.client.renderer.entity.CatRenderer
-
- All Implemented Interfaces:
IEntityRenderer<CatEntity,CatModel<CatEntity>>
public class CatRenderer extends MobRenderer<CatEntity,CatModel<CatEntity>>
-
-
Field Summary
-
Fields inherited from class net.minecraft.client.renderer.entity.LivingRenderer
layers, model
-
Fields inherited from class net.minecraft.client.renderer.entity.EntityRenderer
entityRenderDispatcher, shadowRadius, shadowStrength
-
-
Constructor Summary
Constructors Constructor Description CatRenderer(EntityRendererManager p_i50973_1_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ResourceLocation
getTextureLocation(CatEntity p_110775_1_)
protected void
scale(CatEntity p_225620_1_, MatrixStack p_225620_2_, float p_225620_3_)
protected void
setupRotations(CatEntity p_225621_1_, MatrixStack p_225621_2_, float p_225621_3_, float p_225621_4_, float p_225621_5_)
-
Methods inherited from class net.minecraft.client.renderer.entity.MobRenderer
addVertexPair, render, renderSide, shouldRender, shouldShowName
-
Methods inherited from class net.minecraft.client.renderer.entity.LivingRenderer
addLayer, getAttackAnim, getBob, getFlipDegrees, getModel, getOverlayCoords, getRenderType, getWhiteOverlayProgress, isBodyVisible, isShaking
-
Methods inherited from class net.minecraft.client.renderer.entity.EntityRenderer
getBlockLightLevel, getDispatcher, getFont, getPackedLightCoords, getRenderOffset, getSkyLightLevel, renderNameTag
-
-
-
-
Constructor Detail
-
CatRenderer
public CatRenderer(EntityRendererManager p_i50973_1_)
-
-
Method Detail
-
getTextureLocation
public ResourceLocation getTextureLocation(CatEntity p_110775_1_)
- Specified by:
getTextureLocation
in interfaceIEntityRenderer<CatEntity,CatModel<CatEntity>>
- Specified by:
getTextureLocation
in classEntityRenderer<CatEntity>
-
scale
protected void scale(CatEntity p_225620_1_, MatrixStack p_225620_2_, float p_225620_3_)
- Overrides:
scale
in classLivingRenderer<CatEntity,CatModel<CatEntity>>
-
setupRotations
protected void setupRotations(CatEntity p_225621_1_, MatrixStack p_225621_2_, float p_225621_3_, float p_225621_4_, float p_225621_5_)
- Overrides:
setupRotations
in classLivingRenderer<CatEntity,CatModel<CatEntity>>
-
-