@Environment(value=CLIENT) public class EndCrystalEntityRenderer extends EntityRenderer<EndCrystalEntity>
Modifier and Type | Field and Description |
---|---|
private ModelPart |
bottom |
private ModelPart |
core |
private static RenderLayer |
END_CRYSTAL |
private ModelPart |
frame |
private static float |
SINE_45_DEGREES |
private static Identifier |
TEXTURE |
dispatcher, shadowOpacity, shadowRadius
Constructor and Description |
---|
EndCrystalEntityRenderer(EntityRenderDispatcher dispatcher) |
Modifier and Type | Method and Description |
---|---|
Identifier |
getTexture(EndCrystalEntity endCrystalEntity) |
static float |
getYOffset(EndCrystalEntity crystal,
float tickDelta) |
void |
render(EndCrystalEntity endCrystalEntity,
float float2,
float float3,
MatrixStack matrixStack,
VertexConsumerProvider vertexConsumerProvider,
int int2) |
boolean |
shouldRender(EndCrystalEntity endCrystalEntity,
Frustum frustum,
double double2,
double double3,
double double4) |
getBlockLight, getFontRenderer, getLight, getPositionOffset, getRenderManager, hasLabel, method_27950, renderLabelIfPresent
private static final Identifier TEXTURE
private static final RenderLayer END_CRYSTAL
private static final float SINE_45_DEGREES
private final ModelPart core
private final ModelPart frame
private final ModelPart bottom
public EndCrystalEntityRenderer(EntityRenderDispatcher dispatcher)
public void render(EndCrystalEntity endCrystalEntity, float float2, float float3, MatrixStack matrixStack, VertexConsumerProvider vertexConsumerProvider, int int2)
render
in class EntityRenderer<EndCrystalEntity>
public static float getYOffset(EndCrystalEntity crystal, float tickDelta)
public Identifier getTexture(EndCrystalEntity endCrystalEntity)
getTexture
in class EntityRenderer<EndCrystalEntity>
public boolean shouldRender(EndCrystalEntity endCrystalEntity, Frustum frustum, double double2, double double3, double double4)
shouldRender
in class EntityRenderer<EndCrystalEntity>