@Environment(value=CLIENT) public class PhantomEntityRenderer extends MobEntityRenderer<PhantomEntity,PhantomEntityModel<PhantomEntity>>
Modifier and Type | Field and Description |
---|---|
private static Identifier |
TEXTURE |
features, model
dispatcher, shadowOpacity, shadowRadius
Constructor and Description |
---|
PhantomEntityRenderer(EntityRenderDispatcher dispatcher) |
Modifier and Type | Method and Description |
---|---|
Identifier |
getTexture(PhantomEntity phantomEntity) |
protected void |
scale(PhantomEntity phantomEntity,
MatrixStack matrixStack,
float float2) |
protected void |
setupTransforms(PhantomEntity phantomEntity,
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
getBlockLight, getFontRenderer, getLight, getPositionOffset, getRenderManager, method_27950, renderLabelIfPresent
private static final Identifier TEXTURE
public PhantomEntityRenderer(EntityRenderDispatcher dispatcher)
public Identifier getTexture(PhantomEntity phantomEntity)
getTexture
in interface FeatureRendererContext<PhantomEntity,PhantomEntityModel<PhantomEntity>>
getTexture
in class EntityRenderer<PhantomEntity>
protected void scale(PhantomEntity phantomEntity, MatrixStack matrixStack, float float2)
scale
in class LivingEntityRenderer<PhantomEntity,PhantomEntityModel<PhantomEntity>>
protected void setupTransforms(PhantomEntity phantomEntity, MatrixStack matrixStack, float float2, float float3, float float4)
setupTransforms
in class LivingEntityRenderer<PhantomEntity,PhantomEntityModel<PhantomEntity>>