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
FieldsModifier and TypeFieldDescriptionprivate static final ResourceLocationprivate static final ResourceLocationprivate final ColorableHierarchicalModel<TropicalFish> Breaking recompile intentionally since modelA/B incorrectly mapped.private final ColorableHierarchicalModel<TropicalFish> Breaking recompile intentionally since modelA/B incorrectly mapped.Fields inherited from class net.minecraft.client.renderer.entity.LivingEntityRenderer
layers, modelFields inherited from class net.minecraft.client.renderer.entity.EntityRenderer
entityRenderDispatcher, LEASH_RENDER_STEPS, NAMETAG_SCALE, shadowRadius, shadowStrength -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetTextureLocation(TropicalFish pEntity) Returns the location of an entity's texture.voidrender(TropicalFish pEntity, float pEntityYaw, float pPartialTicks, PoseStack pPoseStack, MultiBufferSource pBuffer, int pPackedLight) protected voidsetupRotations(TropicalFish pEntity, PoseStack pPoseStack, float pBob, float pYBodyRot, float pPartialTick, float pScale) Methods inherited from class net.minecraft.client.renderer.entity.MobRenderer
getShadowRadius, shouldShowNameMethods inherited from class net.minecraft.client.renderer.entity.LivingEntityRenderer
addLayer, getAttackAnim, getBob, getFlipDegrees, getModel, getOverlayCoords, getRenderType, getWhiteOverlayProgress, isBodyVisible, isEntityUpsideDown, isShaking, scaleMethods inherited from class net.minecraft.client.renderer.entity.EntityRenderer
getBlockLightLevel, getFont, getPackedLightCoords, getRenderOffset, getSkyLightLevel, renderNameTag, shouldRender
-
Field Details
-
modelA
Breaking recompile intentionally since modelA/B incorrectly mapped. -
modelB
Breaking recompile intentionally since modelA/B incorrectly mapped. -
MODEL_A_TEXTURE
-
MODEL_B_TEXTURE
-
-
Constructor Details
-
TropicalFishRenderer
-
-
Method Details
-
getTextureLocation
Returns the location of an entity's texture.- Specified by:
getTextureLocationin interfaceRenderLayerParent<TropicalFish,ColorableHierarchicalModel<TropicalFish>> - Specified by:
getTextureLocationin classEntityRenderer<TropicalFish>
-
render
public void render(TropicalFish pEntity, float pEntityYaw, float pPartialTicks, PoseStack pPoseStack, MultiBufferSource pBuffer, int pPackedLight) - Overrides:
renderin classLivingEntityRenderer<TropicalFish,ColorableHierarchicalModel<TropicalFish>>
-
setupRotations
protected void setupRotations(TropicalFish pEntity, PoseStack pPoseStack, float pBob, float pYBodyRot, float pPartialTick, float pScale) - Overrides:
setupRotationsin classLivingEntityRenderer<TropicalFish,ColorableHierarchicalModel<TropicalFish>>
-