@Environment(value=CLIENT) public class ShulkerEntityRenderer extends MobEntityRenderer<ShulkerEntity,ShulkerEntityModel<ShulkerEntity>>
Modifier and Type | Field and Description |
---|---|
static Identifier[] |
COLORED_TEXTURES |
static Identifier |
TEXTURE |
features, model
dispatcher, shadowOpacity, shadowRadius
Constructor and Description |
---|
ShulkerEntityRenderer(EntityRenderDispatcher dispatcher) |
Modifier and Type | Method and Description |
---|---|
Vec3d |
getPositionOffset(ShulkerEntity shulkerEntity,
float float2) |
Identifier |
getTexture(ShulkerEntity shulkerEntity) |
protected void |
setupTransforms(ShulkerEntity shulkerEntity,
MatrixStack matrixStack,
float float2,
float float3,
float float4) |
boolean |
shouldRender(ShulkerEntity shulkerEntity,
Frustum frustum,
double double2,
double double3,
double double4) |
hasLabel, method_23186, method_23187, render
addFeature, getAnimationCounter, getAnimationProgress, getHandSwingProgress, getLyingAngle, getModel, getOverlay, getRenderLayer, isShaking, isVisible, scale
getBlockLight, getFontRenderer, getLight, getRenderManager, method_27950, renderLabelIfPresent
public static final Identifier TEXTURE
public static final Identifier[] COLORED_TEXTURES
public ShulkerEntityRenderer(EntityRenderDispatcher dispatcher)
public Vec3d getPositionOffset(ShulkerEntity shulkerEntity, float float2)
getPositionOffset
in class EntityRenderer<ShulkerEntity>
public boolean shouldRender(ShulkerEntity shulkerEntity, Frustum frustum, double double2, double double3, double double4)
shouldRender
in class MobEntityRenderer<ShulkerEntity,ShulkerEntityModel<ShulkerEntity>>
public Identifier getTexture(ShulkerEntity shulkerEntity)
getTexture
in interface FeatureRendererContext<ShulkerEntity,ShulkerEntityModel<ShulkerEntity>>
getTexture
in class EntityRenderer<ShulkerEntity>
protected void setupTransforms(ShulkerEntity shulkerEntity, MatrixStack matrixStack, float float2, float float3, float float4)
setupTransforms
in class LivingEntityRenderer<ShulkerEntity,ShulkerEntityModel<ShulkerEntity>>