概览
minecraft:memory_sensor.in_range_of_entity 是一个实体组件:写在自定义生物的 components 对象中,或其中某个组件组里。 一种传感器,让实体记住其他实体何时进入范围内。公开文档很少,请仔细测试。
示例
写在 BP/entities/<name>.json 的 components 对象中(值为默认值或占位值):
BP/entities/<name>.json
{
"minecraft:memory_sensor.in_range_of_entity": {}
}