Only NoAI-horse in combination with NoAI-passenger does not float and is knocked back in case of damage
You can spawn a horse with out AI with
/summon minecraft:horse ~ ~ ~ {NoAI:true}
and the horse has no gravity and if you hit it, it will not move.
But if you spawn a passenger on it with this command:
/summon minecraft:horse ~ ~ ~ {NoAI:true,Passengers:[ {id:"minecraft:husk",NoAI:true} ]}
The horse will be falling down, if it spawns in the air and if you hit it, it will move in a direction.
This does not happen to all other rideable (with commands) creatures:
/summon minecraft:sheep ~ ~ ~ {NoAI:true,Passengers:[ {id:"minecraft:husk",NoAI:true} ]}
/summon minecraft:cow ~ ~ ~ {NoAI:true,Passengers:[ {id:"minecraft:husk",NoAI:true} ]}
/summon minecraft:llama ~ ~ ~ {NoAI:true,Passengers:[ {id:"minecraft:husk",NoAI:true} ]}
...
Comments 8
@FVbico not in this case. It is the opposite of MC-107849. All NoAI:true-entities float in the air but if you make a horse with passenger the horse does'nt float. That is the bug in this case.
But for the entire Minecraft, you have right, the NoAI shouldn't make NoGravity for entities too.
Relates to MC-107849.