1. Wiki
  2. /实体
  3. /minecraft:behavior.vex_random_move

minecraft:behavior.vex_random_move

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

概览

minecraft:behavior.vex_random_move 是一个实体组件:写在自定义生物的 components 对象中,或其中某个组件组里。 让生物穿过方块,飞向附近的随机地点,就像恼鬼四处飘荡。

示例

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

BP/entities/<name>.json
{
  "minecraft:behavior.vex_random_move": {}
}

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