StaffItemRenderer

@Environment(value = EnvType.CLIENT)
public abstract class StaffItemRenderer(source)

A renderer for an item, which can be placed into a staff.

See also

Inheritors

Constructors

Link copied to clipboard

Types

Link copied to clipboard
@Environment(value = EnvType.CLIENT)
public class Companion

Properties

Link copied to clipboard
Link copied to clipboard

Registry of staff item renderers.

Link copied to clipboard

Registry key of REGISTRY.

Functions

Link copied to clipboard
protected final static Integer getLight(Integer light, Integer luminance)

Calculates a new light parameter value.

Link copied to clipboard
public abstract Unit renderItemInStaff(ItemStack staffStack, ModelTransformation itemTransform, ModelTransformationMode mode, MatrixStack matrices, VertexConsumerProvider vertexConsumers, Integer light, Integer overlay)

Renders an item.

Link copied to clipboard
protected final Unit transform(MatrixStack $self, ModelTransformation itemTransform, ModelTransformationMode itemTransformMode)

Transforms a matrix stack