20铁粒
| 乘骑类生物乘骑后无法移动,详细看我的json { "format_version": "1.19.0", "minecraft:entity": { "description": { "identifier": "gtxx:fly_sword", "is_spawnable": true, "is_summonable": true, "is_experimental": false }, "components": { "minecraft:behavior.controlled_by_player": {}, //允许实体被玩家控制 "minecraft:behavior.player_ride_tamed": {}, //允许实体在被玩家驯服后可骑乘 "minecraft:input_ground_controlled":{}, //允许可骑乘的实体在玩家骑乘时使用键盘控件进行控制 "minecraft:buoyant": { //漂浮于液体上 "base_buoyancy": 1.0, "apply_gravity": true, "simulate_waves": true, "big_wave_probability": 0.03, "big_wave_speed": 10.0, "liquid_blocks": ["minecraft:water","minecraft:flowing_water"] }, // "minecraft:movement.fly": {}, //飞行 "minecraft:scale": {"value": 1.2}, //模型中定义的比例显示 "minecraft:type_family": {"family": ["rideable"]}, "minecraft:physics": {}, //重力和碰撞 "minecraft:nameable": {}, //容许被命名 "minecraft:jump.static": {}, //容许实体跳跃走上方块 "minecraft:movement": {"max": 0.3,"value": 0.3},//移动速度(0.25为通常) "minecraft:movement.basic": {}, //赋予实体在地面上移动的能力 //"minecraft:is_tamed": {}, //已被驯服 "minecraft:rideable":{ "controlling_seat": 1, //容许乘骑时自由旋转 "seats":{ "max_rider_count": 1, "min_rider_count": 0, "rotate_rider_by": 0, // 偏移以旋转骑手 "position": [0, 0.4, 0] //乘骑时相对于实体的位置 } } } } } |
提升卡
观察者