@Environment(value=CLIENT) public class PhantomEntityRenderer extends MobEntityRenderer<PhantomEntity,PhantomEntityModel<PhantomEntity>>
| Modifier and Type | Field and Description |
|---|---|
private static Identifier |
TEXTURE |
features, modeldispatcher, 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, shouldRenderaddFeature, getAnimationCounter, getAnimationProgress, getHandSwingProgress, getLyingAngle, getModel, getOverlay, getRenderLayer, isShaking, isVisiblegetBlockLight, getFontRenderer, getLight, getPositionOffset, getRenderManager, method_27950, renderLabelIfPresentprivate 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>>