EntityTameableComponent
¶
文档版本:1.21.60.21
EntityTameableComponent
类,扩展自IEntityComponent
。script_api.mojang-minecraft.entitytameablecomponent.description
属性¶
probability
probability
:float
- script_api.mojang-minecraft.entitytameablecomponent.probability.description
tameItems
tameItems
:string[]
- script_api.mojang-minecraft.entitytameablecomponent.tameitems.description
方法¶
tame
script_api.mojang-minecraft.entitytameablecomponent.tame.description
- 返回值:
boolean
- script_api.mojang-minecraft.entitytameablecomponent.tame.return