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