BlockRecordPlayerComponent
¶
文档版本:1.21.60.21
BlockRecordPlayerComponent
类,扩展自BlockComponent
。script_api.minecraft/server.blockrecordplayercomponent.description
常量¶
componentId
方法¶
ejectRecord
script_api.minecraft/server.blockrecordplayercomponent.ejectrecord.description
- 返回值:
void
- script_api.minecraft/server.blockrecordplayercomponent.ejectrecord.return
getRecord
script_api.minecraft/server.blockrecordplayercomponent.getrecord.description
- 返回值:
ItemStack
|undefined
- script_api.minecraft/server.blockrecordplayercomponent.getrecord.return
isPlaying
script_api.minecraft/server.blockrecordplayercomponent.isplaying.description
- 返回值:
boolean
- script_api.minecraft/server.blockrecordplayercomponent.isplaying.return
pauseRecord
script_api.minecraft/server.blockrecordplayercomponent.pauserecord.description
- 返回值:
void
- script_api.minecraft/server.blockrecordplayercomponent.pauserecord.return
playRecord
script_api.minecraft/server.blockrecordplayercomponent.playrecord.description
- 返回值:
void
- script_api.minecraft/server.blockrecordplayercomponent.playrecord.return
setRecord
script_api.minecraft/server.blockrecordplayercomponent.setrecord.description
recordItemType
?:ItemType
|string
=null
- script_api.minecraft/server.blockrecordplayercomponent.setrecord.recorditemtype.description
startPlaying
:boolean
=True
- script_api.minecraft/server.blockrecordplayercomponent.setrecord.startplaying.description
- 返回值:
void
- script_api.minecraft/server.blockrecordplayercomponent.setrecord.return