EntityAgeableComponent
¶
文档版本:1.21.60.21
EntityAgeableComponent
类,扩展自EntityComponent
。script_api.minecraft/server.entityageablecomponent.description
常量¶
componentId
属性¶
duration
duration
:float
- script_api.minecraft/server.entityageablecomponent.duration.description
growUp
growUp
:Trigger
- script_api.minecraft/server.entityageablecomponent.growup.description
transformToItem
transformToItem
:string
- script_api.minecraft/server.entityageablecomponent.transformtoitem.description
方法¶
getDropItems
script_api.minecraft/server.entityageablecomponent.getdropitems.description
- 返回值:
string[]
- script_api.minecraft/server.entityageablecomponent.getdropitems.return
getFeedItems
script_api.minecraft/server.entityageablecomponent.getfeeditems.description