CakeEntityRenderer

@Environment(value = EnvType.CLIENT)
public final class CakeEntityRenderer extends EntityRenderer<CakeEntity>(source)

Renderer of CakeEntity.

Constructors

Inherited properties

Link copied to clipboard
Link copied to clipboard
protected final Float shadowOpacity
Link copied to clipboard
protected final Float shadowRadius
Link copied to clipboard
private final TextRenderer textRenderer

Functions

Link copied to clipboard
Link copied to clipboard
public Unit render(CakeEntity cake, Float yaw, Float tickDelta, MatrixStack matrices, VertexConsumerProvider vertexConsumers, Integer light)

Inherited functions

Link copied to clipboard
protected Integer getBlockLight(CakeEntity entity, BlockPos pos)
Link copied to clipboard
public final Integer getLight(CakeEntity entity, Float tickDelta)
Link copied to clipboard
public Vec3d getPositionOffset(CakeEntity entity, Float tickDelta)
Link copied to clipboard
protected Float getShadowRadius(CakeEntity entity)
Link copied to clipboard
protected Integer getSkyLight(CakeEntity entity, BlockPos pos)
Link copied to clipboard
Link copied to clipboard
protected Boolean hasLabel(CakeEntity entity)
Link copied to clipboard
protected Unit renderLabelIfPresent(CakeEntity entity, Text text, MatrixStack matrices, VertexConsumerProvider vertexConsumers, Integer light, Float tickDelta)
Link copied to clipboard
public Boolean shouldRender(CakeEntity entity, Frustum frustum, Double x, Double y, Double z)