Class TropicalFishRenderer
- java.lang.Object
-
- net.minecraft.client.renderer.entity.EntityRenderer<T>
-
- net.minecraft.client.renderer.entity.LivingRenderer<T,M>
-
- net.minecraft.client.renderer.entity.MobRenderer<TropicalFishEntity,EntityModel<TropicalFishEntity>>
-
- net.minecraft.client.renderer.entity.TropicalFishRenderer
-
- All Implemented Interfaces:
IEntityRenderer<TropicalFishEntity,EntityModel<TropicalFishEntity>>
public class TropicalFishRenderer extends MobRenderer<TropicalFishEntity,EntityModel<TropicalFishEntity>>
-
-
Field Summary
Fields Modifier and Type Field Description private TropicalFishAModel<TropicalFishEntity>
modelA
private TropicalFishBModel<TropicalFishEntity>
modelB
-
Fields inherited from class net.minecraft.client.renderer.entity.LivingRenderer
layers, model
-
Fields inherited from class net.minecraft.client.renderer.entity.EntityRenderer
entityRenderDispatcher, shadowRadius, shadowStrength
-
-
Constructor Summary
Constructors Constructor Description TropicalFishRenderer(EntityRendererManager p_i48889_1_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ResourceLocation
getTextureLocation(TropicalFishEntity p_110775_1_)
void
render(TropicalFishEntity p_225623_1_, float p_225623_2_, float p_225623_3_, MatrixStack p_225623_4_, IRenderTypeBuffer p_225623_5_, int p_225623_6_)
protected void
setupRotations(TropicalFishEntity p_225621_1_, MatrixStack p_225621_2_, float p_225621_3_, float p_225621_4_, float p_225621_5_)
-
Methods inherited from class net.minecraft.client.renderer.entity.MobRenderer
addVertexPair, renderSide, shouldRender, shouldShowName
-
Methods inherited from class net.minecraft.client.renderer.entity.LivingRenderer
addLayer, getAttackAnim, getBob, getFlipDegrees, getModel, getOverlayCoords, getRenderType, getWhiteOverlayProgress, isBodyVisible, isShaking, scale
-
Methods inherited from class net.minecraft.client.renderer.entity.EntityRenderer
getBlockLightLevel, getDispatcher, getFont, getPackedLightCoords, getRenderOffset, getSkyLightLevel, renderNameTag
-
-
-
-
Field Detail
-
modelA
private final TropicalFishAModel<TropicalFishEntity> modelA
-
modelB
private final TropicalFishBModel<TropicalFishEntity> modelB
-
-
Constructor Detail
-
TropicalFishRenderer
public TropicalFishRenderer(EntityRendererManager p_i48889_1_)
-
-
Method Detail
-
getTextureLocation
public ResourceLocation getTextureLocation(TropicalFishEntity p_110775_1_)
- Specified by:
getTextureLocation
in interfaceIEntityRenderer<TropicalFishEntity,EntityModel<TropicalFishEntity>>
- Specified by:
getTextureLocation
in classEntityRenderer<TropicalFishEntity>
-
render
public void render(TropicalFishEntity p_225623_1_, float p_225623_2_, float p_225623_3_, MatrixStack p_225623_4_, IRenderTypeBuffer p_225623_5_, int p_225623_6_)
- Overrides:
render
in classMobRenderer<TropicalFishEntity,EntityModel<TropicalFishEntity>>
-
setupRotations
protected void setupRotations(TropicalFishEntity p_225621_1_, MatrixStack p_225621_2_, float p_225621_3_, float p_225621_4_, float p_225621_5_)
- Overrides:
setupRotations
in classLivingRenderer<TropicalFishEntity,EntityModel<TropicalFishEntity>>
-
-