概览
minecraft:input_ground_controlled 是一个实体组件:写在自定义生物的 components 对象中,或其中某个组件组里。 让骑乘者用移动键在地面上操控实体。可骑乘实体默认只能自动迈上半格高,添加 minecraft:variable_max_auto_step 可以爬得更高。
示例
写在 BP/entities/<name>.json 的 components 对象中(值为默认值或占位值):
BP/entities/<name>.json
{
"minecraft:input_ground_controlled": {}
}