Class CodRenderer
- java.lang.Object
-
- net.minecraft.client.renderer.entity.EntityRenderer<T>
-
- net.minecraft.client.renderer.entity.LivingRenderer<T,M>
-
- net.minecraft.client.renderer.entity.MobRenderer<CodEntity,CodModel<CodEntity>>
-
- net.minecraft.client.renderer.entity.CodRenderer
-
- All Implemented Interfaces:
IEntityRenderer<CodEntity,CodModel<CodEntity>>
public class CodRenderer extends MobRenderer<CodEntity,CodModel<CodEntity>>
-
-
Field Summary
Fields Modifier and Type Field Description private static ResourceLocation
COD_LOCATION
-
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 CodRenderer(EntityRendererManager p_i48864_1_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ResourceLocation
getTextureLocation(CodEntity p_110775_1_)
protected void
setupRotations(CodEntity 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, scale
-
Methods inherited from class net.minecraft.client.renderer.entity.EntityRenderer
getBlockLightLevel, getDispatcher, getFont, getPackedLightCoords, getRenderOffset, getSkyLightLevel, renderNameTag
-
-
-
-
Field Detail
-
COD_LOCATION
private static final ResourceLocation COD_LOCATION
-
-
Constructor Detail
-
CodRenderer
public CodRenderer(EntityRendererManager p_i48864_1_)
-
-
Method Detail
-
getTextureLocation
public ResourceLocation getTextureLocation(CodEntity p_110775_1_)
- Specified by:
getTextureLocation
in interfaceIEntityRenderer<CodEntity,CodModel<CodEntity>>
- Specified by:
getTextureLocation
in classEntityRenderer<CodEntity>
-
setupRotations
protected void setupRotations(CodEntity p_225621_1_, MatrixStack p_225621_2_, float p_225621_3_, float p_225621_4_, float p_225621_5_)
- Overrides:
setupRotations
in classLivingRenderer<CodEntity,CodModel<CodEntity>>
-
-