@Environment(value=CLIENT) public class SquidEntityRenderer extends MobEntityRenderer<SquidEntity,SquidEntityModel<SquidEntity>>
Modifier and Type | Field and Description |
---|---|
private static Identifier |
TEXTURE |
features, model
dispatcher, shadowOpacity, shadowRadius
Constructor and Description |
---|
SquidEntityRenderer(EntityRenderDispatcher dispatcher) |
Modifier and Type | Method and Description |
---|---|
protected float |
getAnimationProgress(SquidEntity squidEntity,
float float2)
This value is passed to other methods when calculating angles for animation.
|
Identifier |
getTexture(SquidEntity squidEntity) |
protected void |
setupTransforms(SquidEntity squidEntity,
MatrixStack matrixStack,
float float2,
float float3,
float float4) |
hasLabel, method_23186, method_23187, render, shouldRender
addFeature, getAnimationCounter, getHandSwingProgress, getLyingAngle, getModel, getOverlay, getRenderLayer, isShaking, isVisible, scale
getBlockLight, getFontRenderer, getLight, getPositionOffset, getRenderManager, renderLabelIfPresent
private static final Identifier TEXTURE
public SquidEntityRenderer(EntityRenderDispatcher dispatcher)
public Identifier getTexture(SquidEntity squidEntity)
getTexture
in interface FeatureRendererContext<SquidEntity,SquidEntityModel<SquidEntity>>
getTexture
in class EntityRenderer<SquidEntity>
protected void setupTransforms(SquidEntity squidEntity, MatrixStack matrixStack, float float2, float float3, float float4)
setupTransforms
in class LivingEntityRenderer<SquidEntity,SquidEntityModel<SquidEntity>>
protected float getAnimationProgress(SquidEntity squidEntity, float float2)
LivingEntityRenderer
getAnimationProgress
in class LivingEntityRenderer<SquidEntity,SquidEntityModel<SquidEntity>>