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.LivingEntityRenderer
layers, model
Fields inherited from class net.minecraft.client.renderer.entity.EntityRenderer
entityRenderDispatcher, LEASH_RENDER_STEPS, 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_116226_, PoseStack p_116227_, float p_116228_, float p_116229_, float p_116230_, float p_319830_) Methods inherited from class net.minecraft.client.renderer.entity.MobRenderer
getShadowRadius, 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, shouldRender
-
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 classLivingEntityRenderer<TropicalFish,
ColorableHierarchicalModel<TropicalFish>>
-
setupRotations
protected void setupRotations(TropicalFish p_116226_, PoseStack p_116227_, float p_116228_, float p_116229_, float p_116230_, float p_319830_) - Overrides:
setupRotations
in classLivingEntityRenderer<TropicalFish,
ColorableHierarchicalModel<TropicalFish>>
-