Class PufferfishRenderer
java.lang.Object
net.minecraft.client.renderer.entity.EntityRenderer<T>
net.minecraft.client.renderer.entity.LivingEntityRenderer<T,M>
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 EntityModel<Pufferfish>
private EntityModel<Pufferfish>
private static ResourceLocation
private int
private 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_115784_, PoseStack p_115785_, float p_115786_, float p_115787_, float p_115788_)
Methods inherited from class net.minecraft.client.renderer.entity.MobRenderer
shouldRender, shouldShowName
Methods inherited from class net.minecraft.client.renderer.entity.LivingEntityRenderer
addLayer, getAttackAnim, getBob, getFlipDegrees, getModel, getOverlayCoords, getRenderType, getWhiteOverlayProgress, isBodyVisible, 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_115784_, PoseStack p_115785_, float p_115786_, float p_115787_, float p_115788_)- Overrides:
setupRotations
in classLivingEntityRenderer<Pufferfish,EntityModel<Pufferfish>>
-