Unrideable boats
I have a map in which the player controls a boat in all four directions, the boat has got the NoGravity tag but the problem is I am incapable of stopping the player from riding the boat, by riding it the map is hardly a challenge as you can easily maneuver in all 4 directions and have no need for the parkour within the map, is there any way to make a boat unrideable by a player whilst still allowing them to stand on it, so not using zombies to hold the space as they will push the player off. P.S I am making this in 1.10 pre.
Best Answer
You can insert two entities into the boat's Passengers list at the same depth to remove the ability for the player to enter it.
/summon Boat ~ ~1 ~ {Passengers:[{id:"armor_stand",Invisible:1b,Marker:1b},{id:"armor_stand",Invisible:1b,Marker:1b}]}
Armor stands themselves do not push the player. The Marker tag will also remove the bounding box of the armor stand to prevent interaction with the player (such as giving the armor stand items).
Pictures about "Unrideable boats"



Can you put armor stands in boats?
You can insert two entities into the boat's Passengers list at the same depth to remove the ability for the player to enter it. Armor stands themselves do not push the player.How do you summon an invisible boat in Minecraft?
1 AnswerCan you break a boat while in it Minecraft?
Boats can be destroyed by explosions, fire and lava (but not magma blocks), cactus, and by being punched by mobs, such as Drowned. Boats made invulnerable with commands cannot be broken by any of these, but they still cannot be used to travel on lava because they sink.Boat Fails and Wins 2022 - Best of The Week | Part 177
Sources: Stack Exchange - This article follows the attribution requirements of Stack Exchange and is licensed under CC BY-SA 3.0.
Images: Max Avans, Rachel Claire, Rachel Claire, Levent Simsek
