ItemComponentRegistry
¶
文档版本:1.21.60.21
ItemComponentRegistry
类。script_api.minecraft/server.itemcomponentregistry.description
方法¶
registerCustomComponent
script_api.minecraft/server.itemcomponentregistry.registercustomcomponent.description
name
:string
- script_api.minecraft/server.itemcomponentregistry.registercustomcomponent.name.description
itemCustomComponent
:ItemCustomComponent
- script_api.minecraft/server.itemcomponentregistry.registercustomcomponent.itemcustomcomponent.description
- 返回值:
void
- script_api.minecraft/server.itemcomponentregistry.registercustomcomponent.return