Class PufferfishRenderer
- java.lang.Object
-
- net.minecraft.client.renderer.entity.EntityRenderer<T>
-
- net.minecraft.client.renderer.entity.LivingRenderer<T,M>
-
- net.minecraft.client.renderer.entity.MobRenderer<PufferfishEntity,EntityModel<PufferfishEntity>>
-
- net.minecraft.client.renderer.entity.PufferfishRenderer
-
- All Implemented Interfaces:
IEntityRenderer<PufferfishEntity,EntityModel<PufferfishEntity>>
public class PufferfishRenderer extends MobRenderer<PufferfishEntity,EntityModel<PufferfishEntity>>
-
-
Field Summary
Fields Modifier and Type Field Description private PufferFishBigModel<PufferfishEntity>
big
private PufferFishMediumModel<PufferfishEntity>
mid
private static ResourceLocation
PUFFER_LOCATION
private int
puffStateO
private PufferFishSmallModel<PufferfishEntity>
small
-
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 PufferfishRenderer(EntityRendererManager p_i48863_1_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ResourceLocation
getTextureLocation(PufferfishEntity p_110775_1_)
void
render(PufferfishEntity p_225623_1_, float p_225623_2_, float p_225623_3_, MatrixStack p_225623_4_, IRenderTypeBuffer p_225623_5_, int p_225623_6_)
protected void
setupRotations(PufferfishEntity 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, 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
-
PUFFER_LOCATION
private static final ResourceLocation PUFFER_LOCATION
-
puffStateO
private int puffStateO
-
small
private final PufferFishSmallModel<PufferfishEntity> small
-
mid
private final PufferFishMediumModel<PufferfishEntity> mid
-
big
private final PufferFishBigModel<PufferfishEntity> big
-
-
Constructor Detail
-
PufferfishRenderer
public PufferfishRenderer(EntityRendererManager p_i48863_1_)
-
-
Method Detail
-
getTextureLocation
public ResourceLocation getTextureLocation(PufferfishEntity p_110775_1_)
- Specified by:
getTextureLocation
in interfaceIEntityRenderer<PufferfishEntity,EntityModel<PufferfishEntity>>
- Specified by:
getTextureLocation
in classEntityRenderer<PufferfishEntity>
-
render
public void render(PufferfishEntity p_225623_1_, float p_225623_2_, float p_225623_3_, MatrixStack p_225623_4_, IRenderTypeBuffer p_225623_5_, int p_225623_6_)
- Overrides:
render
in classMobRenderer<PufferfishEntity,EntityModel<PufferfishEntity>>
-
setupRotations
protected void setupRotations(PufferfishEntity p_225621_1_, MatrixStack p_225621_2_, float p_225621_3_, float p_225621_4_, float p_225621_5_)
- Overrides:
setupRotations
in classLivingRenderer<PufferfishEntity,EntityModel<PufferfishEntity>>
-
-