Beta
Protected
constructorReadonly
locationLocation of this record-playing block.
Readonly
typeIdentifier of this component. Should always be minecraft:recordPlayer.
Static
Readonly
componentIdentifier of this component. Should always be minecraft:recordPlayer.
Sets and plays a record based on an item type.
This function can throw errors.
Represents a block that can play a record.