EntityLeashableComponent
¶
文档版本:1.21.0.24
EntityLeashableComponent
类,扩展自IEntityComponent
。script_api.mojang-minecraft.entityleashablecomponent.description
属性¶
softDistance
softDistance
:float
- script_api.mojang-minecraft.entityleashablecomponent.softdistance.description
方法¶
leash
script_api.mojang-minecraft.entityleashablecomponent.leash.description
leashHolder
:Entity
- script_api.mojang-minecraft.entityleashablecomponent.leash.leashholder.description
- 返回值:
void
- script_api.mojang-minecraft.entityleashablecomponent.leash.return
unleash
script_api.mojang-minecraft.entityleashablecomponent.unleash.description
- 返回值:
void
- script_api.mojang-minecraft.entityleashablecomponent.unleash.return