StaffRendererOverrideComponent

data class StaffRendererOverrideComponent(val renderMode: Optional<ModelTransformationMode>, val isActive: Optional<Boolean>, val blockState: Optional<BlockState>)(source)

Data component to override the behavior of a StaffRenderer.

Parameters

renderMode

The display transform of the model to use

isActive

The item should be treated as if it was LivingEntity.getActiveItem

blockState

The blocks state to render in the staff

Constructors

Link copied to clipboard
constructor(renderMode: Optional<ModelTransformationMode>, isActive: Optional<Boolean>, blockState: Optional<BlockState>)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard