@Environment(value=CLIENT) public class WitherSkullEntityRenderer extends EntityRenderer<WitherSkullEntity>
Modifier and Type | Field and Description |
---|---|
private static Identifier |
INVULNERABLE_TEXTURE |
private SkullEntityModel |
model |
private static Identifier |
TEXTURE |
dispatcher, shadowOpacity, shadowRadius
Constructor and Description |
---|
WitherSkullEntityRenderer(EntityRenderDispatcher dispatcher) |
Modifier and Type | Method and Description |
---|---|
protected int |
getBlockLight(WitherSkullEntity witherSkullEntity,
BlockPos blockPos) |
Identifier |
getTexture(WitherSkullEntity witherSkullEntity) |
void |
render(WitherSkullEntity witherSkullEntity,
float float2,
float float3,
MatrixStack matrixStack,
VertexConsumerProvider vertexConsumerProvider,
int int2) |
getFontRenderer, getLight, getPositionOffset, getRenderManager, hasLabel, method_27950, renderLabelIfPresent, shouldRender
private static final Identifier INVULNERABLE_TEXTURE
private static final Identifier TEXTURE
private final SkullEntityModel model
public WitherSkullEntityRenderer(EntityRenderDispatcher dispatcher)
protected int getBlockLight(WitherSkullEntity witherSkullEntity, BlockPos blockPos)
getBlockLight
in class EntityRenderer<WitherSkullEntity>
public void render(WitherSkullEntity witherSkullEntity, float float2, float float3, MatrixStack matrixStack, VertexConsumerProvider vertexConsumerProvider, int int2)
render
in class EntityRenderer<WitherSkullEntity>
public Identifier getTexture(WitherSkullEntity witherSkullEntity)
getTexture
in class EntityRenderer<WitherSkullEntity>