Class PufferfishRenderer
java.lang.Object
net.minecraft.client.renderer.entity.EntityRenderer<Pufferfish>
net.minecraft.client.renderer.entity.LivingEntityRenderer<Pufferfish,EntityModel<Pufferfish>>
net.minecraft.client.renderer.entity.MobRenderer<Pufferfish,EntityModel<Pufferfish>>
net.minecraft.client.renderer.entity.PufferfishRenderer
- All Implemented Interfaces:
RenderLayerParent<Pufferfish,
EntityModel<Pufferfish>>
-
Field Summary
Modifier and TypeFieldDescriptionprivate final EntityModel
<Pufferfish> private final EntityModel
<Pufferfish> private static final ResourceLocation
private int
private final EntityModel
<Pufferfish> Fields inherited from class net.minecraft.client.renderer.entity.MobRenderer
LEASH_RENDER_STEPS
Fields inherited from class net.minecraft.client.renderer.entity.LivingEntityRenderer
layers, model
Fields inherited from class net.minecraft.client.renderer.entity.EntityRenderer
entityRenderDispatcher, NAMETAG_SCALE, shadowRadius, shadowStrength
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetTextureLocation
(Pufferfish p_115775_) void
render
(Pufferfish p_115777_, float p_115778_, float p_115779_, PoseStack p_115780_, MultiBufferSource p_115781_, int p_115782_) protected void
setupRotations
(Pufferfish p_320383_, PoseStack p_115763_, float p_115764_, float p_115765_, float p_115766_, float p_320616_) Methods inherited from class net.minecraft.client.renderer.entity.MobRenderer
getShadowRadius, shouldRender, shouldShowName
Methods inherited from class net.minecraft.client.renderer.entity.LivingEntityRenderer
addLayer, getAttackAnim, getBob, getFlipDegrees, getModel, getOverlayCoords, getRenderType, getWhiteOverlayProgress, isBodyVisible, isEntityUpsideDown, isShaking, scale
Methods inherited from class net.minecraft.client.renderer.entity.EntityRenderer
getBlockLightLevel, 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 interfaceRenderLayerParent<Pufferfish,
EntityModel<Pufferfish>> - Specified by:
getTextureLocation
in classEntityRenderer<Pufferfish>
-
render
public void render(Pufferfish p_115777_, float p_115778_, float p_115779_, PoseStack p_115780_, MultiBufferSource p_115781_, int p_115782_) - Overrides:
render
in classMobRenderer<Pufferfish,
EntityModel<Pufferfish>>
-
setupRotations
protected void setupRotations(Pufferfish p_320383_, PoseStack p_115763_, float p_115764_, float p_115765_, float p_115766_, float p_320616_) - Overrides:
setupRotations
in classLivingEntityRenderer<Pufferfish,
EntityModel<Pufferfish>>
-