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>>
-
Field Summary
Modifier and TypeFieldDescriptionprivate final PufferFishBigModel<PufferfishEntity>
private final PufferFishMediumModel<PufferfishEntity>
private static final ResourceLocation
private int
private final PufferFishSmallModel<PufferfishEntity>
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
-
Method Summary
Modifier and TypeMethodDescriptiongetTextureLocation
(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 Details
-
PUFFER_LOCATION
-
puffStateO
private int puffStateO -
small
-
mid
-
big
-
-
Constructor Details
-
PufferfishRenderer
-
-
Method Details
-
getTextureLocation
- 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>>
-