概览
minecraft:can_fly 是一个实体组件:写在自定义生物的 components 对象中,或其中某个组件组里。 把实体标记为会飞,这样它寻路时不需要下方有实心地面。请和飞行移动及导航组件一起使用。
示例
写在 BP/entities/<name>.json 的 components 对象中(值为默认值或占位值):
BP/entities/<name>.json
{
"minecraft:can_fly": {}
}We use cookies to improve your experience and analyse site traffic. Learn more