@Environment(value=CLIENT) public class WitchEntityRenderer extends MobEntityRenderer<WitchEntity,WitchEntityModel<WitchEntity>>
Modifier and Type | Field and Description |
---|---|
private static Identifier |
TEXTURE |
features, model
dispatcher, shadowOpacity, shadowRadius
Constructor and Description |
---|
WitchEntityRenderer(EntityRenderDispatcher dispatcher) |
Modifier and Type | Method and Description |
---|---|
Identifier |
getTexture(WitchEntity witchEntity) |
void |
render(WitchEntity witchEntity,
float float2,
float float3,
MatrixStack matrixStack,
VertexConsumerProvider vertexConsumerProvider,
int int2) |
protected void |
scale(WitchEntity witchEntity,
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 WitchEntityRenderer(EntityRenderDispatcher dispatcher)
public void render(WitchEntity witchEntity, float float2, float float3, MatrixStack matrixStack, VertexConsumerProvider vertexConsumerProvider, int int2)
render
in class MobEntityRenderer<WitchEntity,WitchEntityModel<WitchEntity>>
public Identifier getTexture(WitchEntity witchEntity)
getTexture
in interface FeatureRendererContext<WitchEntity,WitchEntityModel<WitchEntity>>
getTexture
in class EntityRenderer<WitchEntity>
protected void scale(WitchEntity witchEntity, MatrixStack matrixStack, float float2)
scale
in class LivingEntityRenderer<WitchEntity,WitchEntityModel<WitchEntity>>