Beta Protected constructorReadonly blockBlock instance that this component pertains to.
Readonly typeStatic 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.