1. Wiki
  2. /实体
  3. /minecraft:annotation.open_door

minecraft:annotation.open_door

不想手写?在 GodCraft 里打开一个开关,就能帮你设置好 minecraft:annotation.open_door。Get GodCraft

概览

minecraft:annotation.open_door 是一个实体组件:写在自定义生物的 components 对象中,或其中某个组件组里。 告诉寻路系统此生物可以开门,这样它会规划穿过门的路径。导航组件也必须允许穿过门。

示例

写在 BP/entities/<name>.json 的 components 对象中(值为默认值或占位值):

BP/entities/<name>.json
{
  "minecraft:annotation.open_door": {}
}

We use cookies to improve your experience and analyse site traffic. Learn more