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