Beta
Private
constructorReadonly
Beta
blockBlock instance that this component pertains to.
Readonly
typeIdentifier of the component.
Static
Readonly
componentIdentifier of this component. Should always be minecraft:recordPlayer.
Sets and plays a record based on an item type.
This function can't be called in read-only mode.
This function can throw errors.
Represents a block that can play a record.