@Environment(value=CLIENT) public class SalmonEntityRenderer extends MobEntityRenderer<SalmonEntity,SalmonEntityModel<SalmonEntity>>
Modifier and Type | Field and Description |
---|---|
private static Identifier |
TEXTURE |
features, model
dispatcher, shadowOpacity, shadowRadius
Constructor and Description |
---|
SalmonEntityRenderer(EntityRenderDispatcher dispatcher) |
Modifier and Type | Method and Description |
---|---|
Identifier |
getTexture(SalmonEntity salmonEntity) |
protected void |
setupTransforms(SalmonEntity salmonEntity,
MatrixStack matrixStack,
float float2,
float float3,
float float4) |
hasLabel, method_23186, method_23187, render, shouldRender
addFeature, getAnimationCounter, getAnimationProgress, getHandSwingProgress, getLyingAngle, getModel, getOverlay, getRenderLayer, isShaking, isVisible, scale
getBlockLight, getFontRenderer, getLight, getPositionOffset, getRenderManager, method_27950, renderLabelIfPresent
private static final Identifier TEXTURE
public SalmonEntityRenderer(EntityRenderDispatcher dispatcher)
public Identifier getTexture(SalmonEntity salmonEntity)
getTexture
in interface FeatureRendererContext<SalmonEntity,SalmonEntityModel<SalmonEntity>>
getTexture
in class EntityRenderer<SalmonEntity>
protected void setupTransforms(SalmonEntity salmonEntity, MatrixStack matrixStack, float float2, float float3, float float4)
setupTransforms
in class LivingEntityRenderer<SalmonEntity,SalmonEntityModel<SalmonEntity>>