@Environment(value=CLIENT) public class TropicalFishEntityRenderer extends MobEntityRenderer<TropicalFishEntity,EntityModel<TropicalFishEntity>>
Modifier and Type | Field and Description |
---|---|
private LargeTropicalFishEntityModel<TropicalFishEntity> |
largeModel |
private SmallTropicalFishEntityModel<TropicalFishEntity> |
smallModel |
features, model
dispatcher, shadowOpacity, shadowRadius
Constructor and Description |
---|
TropicalFishEntityRenderer(EntityRenderDispatcher dispatcher) |
Modifier and Type | Method and Description |
---|---|
Identifier |
getTexture(TropicalFishEntity tropicalFishEntity) |
void |
render(TropicalFishEntity tropicalFishEntity,
float float2,
float float3,
MatrixStack matrixStack,
VertexConsumerProvider vertexConsumerProvider,
int int2) |
protected void |
setupTransforms(TropicalFishEntity tropicalFishEntity,
MatrixStack matrixStack,
float float2,
float float3,
float float4) |
hasLabel, method_23186, method_23187, shouldRender
addFeature, getAnimationCounter, getAnimationProgress, getHandSwingProgress, getLyingAngle, getModel, getOverlay, getRenderLayer, isShaking, isVisible, scale
getBlockLight, getFontRenderer, getLight, getPositionOffset, getRenderManager, method_27950, renderLabelIfPresent
private final SmallTropicalFishEntityModel<TropicalFishEntity> smallModel
private final LargeTropicalFishEntityModel<TropicalFishEntity> largeModel
public TropicalFishEntityRenderer(EntityRenderDispatcher dispatcher)
public Identifier getTexture(TropicalFishEntity tropicalFishEntity)
getTexture
in interface FeatureRendererContext<TropicalFishEntity,EntityModel<TropicalFishEntity>>
getTexture
in class EntityRenderer<TropicalFishEntity>
public void render(TropicalFishEntity tropicalFishEntity, float float2, float float3, MatrixStack matrixStack, VertexConsumerProvider vertexConsumerProvider, int int2)
render
in class MobEntityRenderer<TropicalFishEntity,EntityModel<TropicalFishEntity>>
protected void setupTransforms(TropicalFishEntity tropicalFishEntity, MatrixStack matrixStack, float float2, float float3, float float4)
setupTransforms
in class LivingEntityRenderer<TropicalFishEntity,EntityModel<TropicalFishEntity>>