Class TropicalFishRenderer
java.lang.Object
net.minecraft.client.renderer.entity.EntityRenderer<TropicalFish>
net.minecraft.client.renderer.entity.LivingEntityRenderer<TropicalFish,ColorableHierarchicalModel<TropicalFish>>
net.minecraft.client.renderer.entity.MobRenderer<TropicalFish,ColorableHierarchicalModel<TropicalFish>>
net.minecraft.client.renderer.entity.TropicalFishRenderer
- All Implemented Interfaces:
RenderLayerParent<TropicalFish,
ColorableHierarchicalModel<TropicalFish>>
public class TropicalFishRenderer
extends MobRenderer<TropicalFish,ColorableHierarchicalModel<TropicalFish>>
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final ResourceLocation
private static final ResourceLocation
private final ColorableHierarchicalModel
<TropicalFish> private final ColorableHierarchicalModel
<TropicalFish> 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
(TropicalFish p_116217_) void
render
(TropicalFish p_116219_, float p_116220_, float p_116221_, PoseStack p_116222_, MultiBufferSource p_116223_, int p_116224_) protected void
setupRotations
(TropicalFish p_331912_, PoseStack p_116205_, float p_116206_, float p_116207_, float p_116208_, float p_334850_) 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
-
modelA
-
modelB
-
MODEL_A_TEXTURE
-
MODEL_B_TEXTURE
-
-
Constructor Details
-
TropicalFishRenderer
-
-
Method Details
-
getTextureLocation
- Specified by:
getTextureLocation
in interfaceRenderLayerParent<TropicalFish,
ColorableHierarchicalModel<TropicalFish>> - Specified by:
getTextureLocation
in classEntityRenderer<TropicalFish>
-
render
public void render(TropicalFish p_116219_, float p_116220_, float p_116221_, PoseStack p_116222_, MultiBufferSource p_116223_, int p_116224_) - Overrides:
render
in classMobRenderer<TropicalFish,
ColorableHierarchicalModel<TropicalFish>>
-
setupRotations
protected void setupRotations(TropicalFish p_331912_, PoseStack p_116205_, float p_116206_, float p_116207_, float p_116208_, float p_334850_) - Overrides:
setupRotations
in classLivingEntityRenderer<TropicalFish,
ColorableHierarchicalModel<TropicalFish>>
-