Minecraft:Riding
More actions
Template:For Template:Redirect
Riding, also known as mounting, is the behavior that allows an entity to mount another entity.
Behaviors
Riding connects one entity to another. An entity riding another entity is called a passenger (or rider), and an entity being ridden is called a mount (or vehicle). An entity can be both a passenger and a mount at the same time if it is riding another entity while being ridden by other entities.
An entity can only ride at most one entity at the same time. Most entities support only one passenger, but Minecraft:boats, Minecraft:bamboo rafts, Minecraft:camels and Minecraft:camel husks can support two passengers at the same time, while a Minecraft:happy ghast can support four passengers at the same time. Template:IN, by modifying entity NBT through commands, an entity may be ridden by any number of entities. Template:IN, a baby Minecraft:hoglin can support 3 baby piglins, which looks like they are stacked one by one. However, Template:In, baby piglins ride each other and are indeed stacked one by one, instead of all riding on the hoglin. Template:IN, a player can support 2 Minecraft:parrots. However, Template:In, parrots become not entities and are stored into the player's NBT data when sitting on the shoulders of a player.
The collision and movement of a mount is not affected by its passengers, so the accessible position for the mount may put the passengers into danger, for example, making the passenger's head inside of a block and causing Minecraft:suffocation.<ref>Template:Bug</ref> However, Template:In, a passenger riding on a passenger of an entity collides with the entity, resulting in bugs like Template:Bug.
Template:IN, when dismounting, players will be placed on different sides of the mount, depending on the main hand of that player.
When a Minecraft:player leaves a world, all entities riding or being ridden by that player will also disappear from the world, and will reappear with the player when they rejoin the world, unless the affected entity has another player passenger.
Template:IN, with Template:Cmd command, all entities are rideable by any entity, except Minecraft:marker and Minecraft:player, which never can be ridden. Template:IN, only some riding combinations are valid for Template:Cmd command (see Template:Section link.)
Template:IN, when a leashed mob starts riding, it drops the Minecraft:lead. Template:IN, a leashed mob cannot start riding unless using the Template:Cmd command, and when starting riding, it doesn't drop the Minecraft:lead.
A passenger cannot set its mount as its target for attack. A mount cannot set its passenger as the target for attack either, unless using the Template:Cmd command. Template:IN, they cannot attack each other at all even when they target each other through the Template:Cmd command.
Passengers
Passengers have the following behaviors:
- The position of a passenger is fixed on its mount; that is, the position and movement of a passenger cannot be affected by any other gameplay features.
- Passengers have no collision with entities and blocks.
- Passengers cannot be moved by knockback, Minecraft:explosion, Minecraft:fishing rod, and Minecraft:trident with Minecraft:riptide enchantment.
- Template:IN, passengers cannot be teleported by Minecraft:chorus fruit and end gateway.
- Template:IN, when a passenger goes into an end gateway, it is teleported with its mount.
- When a Minecraft:shulker is a passenger, it cannot teleport on its own. Template:IN, an Minecraft:enderman cannot teleport on its own either.
- Passengers dismount when teleported by Template:Cmd.
- Template:IN, using the /data command to change a mob's position will not make it dismount. The newly-given position will last only until entities are processed later in the tick, and will not be visually noticeable.
- Passengers can be transported by nether portals or end portals.<ref name="MC-67">Template:Bug</ref>
- Passengers do not calculate the falling height. When starting riding, the falling height is reset.
- When a player is a passenger, it cannot interact with its mount.
- When a player is a passenger, it cannot interact with other passengers on the same mount as it.
- When a player is a passenger and the mount is a mob or an armor stand, the Minecraft:health bar of the mount is displayed on the player's Minecraft:HUD in the form of Template:Healthbar. Template:IN, the hunger bar is replaced by it in Minecraft:Survival or Minecraft:Adventure mode.
Mounts
Mounts have the following behaviors:
- Mounts can be transported by nether portals or end portals.<ref name="MC-67"/>
- Template:IN, mounts cannot be teleported by end gateway.
- When a mount receives falling damage, all passengers also receive falling damage.
- Template:IN, if a mount is immune to falling damage, the damage is not passed to passengers.
- Template:IN, even if a mount is immune to falling damage, the damage is still passed to passengers.
Controlling
By players
The movement of the following mounts are controlled by the player when being ridden by it:
- Template:EntitySprite Saddled Minecraft:horses
- Template:EntitySprite Saddled Minecraft:skeleton horses Template:Only / Adult Minecraft:skeleton horses Template:Only
- Template:EntitySprite Saddled Minecraft:zombie horses
- Template:EntitySprite Saddled Minecraft:donkeys
- Template:EntitySprite Saddled Minecraft:mules
- Template:EntitySprite Saddled Minecraft:camels
- Template:EntitySprite Saddled Minecraft:camel husks
- Template:EntitySprite Minecraft:Pigs can be controlled by players holding a Minecraft:carrot on a stick.
- Template:EntitySprite SaddledTemplate:Only Minecraft:striders can be controlled by players holding a Minecraft:warped fungus on a stick.
- Template:EntitySprite Saddled Minecraft:nautiluses
- Template:EntitySprite Saddled Minecraft:zombie nautiluses
- Template:EntitySprite Minecraft:Boats
- Template:EntitySprite Minecraft:Boats with chests
- Template:EntitySprite Harnessed Minecraft:Happy Ghast
Template:IN, though Template:EntityLink on rails receive the input from their player passenger, they are not regarded as being controlled in game. Template:IN, boats and boats with chest are regarded as being controlled by a Minecraft:armor stand when being ridden by it, but never move.
The following mounts have the ability of "jump charging". When players ride them, the experience bar on Minecraft:HUD will be replaced by jumping charging bar:
- Template:EntitySprite Saddled Minecraft:horses
- Template:EntitySprite Saddled Minecraft:donkeys
- Template:EntitySprite Saddled Minecraft:mules
- Template:EntitySprite Saddled Minecraft:skeleton horses Template:Only / Adult Minecraft:skeleton horses Template:Only
- Template:EntitySprite Saddled Minecraft:zombie horses
The following mounts have the ability of "dash charging". When players ride them, the experience bar on Minecraft:HUD will be replaced by dashing charging bar:
- Template:EntitySprite Saddled Minecraft:camels
- Template:EntitySprite Saddled Minecraft:camel husks
- Template:EntitySprite Saddled Minecraft:nautiluses
- Template:EntitySprite Saddled Minecraft:zombie nautiluses
When a player rides the following entities, pressing Template:Control opens the interaction interface of these creatures instead of the normal item bar interface:
- Template:EntitySprite Tamed Minecraft:horse
- Template:EntitySprite Tamed Minecraft:donkey
- Template:EntitySprite Tamed Minecraft:mule
- Template:EntitySprite Tamed Minecraft:llama
- Template:EntitySprite Tamed Minecraft:trader llama
- Template:EntitySprite Minecraft:Camel
- Template:EntitySprite Minecraft:Camel husk
- Template:EntitySprite Tamed Minecraft:skeleton horse Template:Only
- Template:EntitySprite Tamed Minecraft:zombie horse Template:Only
- Template:EntityLink
By mobs
Template:IN, the movement of a mount is controlled by its passenger, if both the mount and the passenger are mobs (not players). However, there are some exceptions:
- Mobs with their
NoAINBT being true cannot be controlled by any mob, though they can be controlled by players. - Slimes and magma cubes cannot control any mob, which is controlled by entity type tag
non_controlling_rider.
Template:IN, for most rideable mobs, when its mob passenger tries to chase and attack player or mobs, the passenger takes control, otherwise the mount controls movement. The following mobs are exceptions:
- Template:EntityLink: cannot be controlled by mob passengers.
- Template:EntityLink: cannot be controlled by mob passengers.
Template:IN, some AI goals are disabled if the entities is ridden by or riding an entity. For example Template:In, when a zombie rides a pig, the pig controls the movement when they are idle; but the pig cannot follow players holding a carrot even when the zombie is idle; the pig controls the movement when it is breeding and the zombie is idle; the zombie controls the movement when it targets a player even when the pig is breeding.
When being controlled by its passenger, the mount uses its own walk speed. However, Template:In, the speed modifier of its passenger's AI is applied. For example, spiders ridden by a chicken, a sheep, or a llama have different speeds when they follow a player holding seeds, wheat, or hay block, respectively, since the AIs of chickens, sheep, and llamas have different speed modifiers, while Template:In, the speed modifier (speed multiplier) for being controlled is defined for each entity type (by minecraft:behavior.mount_pathing component).
Behavior
For an entity that is ridden by multiple passengers, only the front passenger has control over the mount. If a player and other entities ride it at the same time, the player becomes the front passenger.
Template:IN, the passenger controlling its mount can be targeted with Template:Cmd.
Template:IN, mobs cannot float on water when they are controlled; they are submerged in the water instead. Template:IN, they can float on water when being controlled; however, because they float up and down more fiercely than in Template:El, their heads are often submerged so that the passenger is ejected, while tall mobs can float on water without their heads being submerged and the passenger is not ejected.
Dismounting
Mobs usually cannot leave their mounts on their own AI (there are some exceptions, e.g. Template:In, baby piglins stop riding baby hoglins when being hurt), but there are many ways to make passengers leave their mounts:
- When the passenger is a player, the player uses the Template:Control control.
- When the passenger is a player, the player starts sleeping by using Template:Control on a bed.
- When the passenger is a player, the player starts riding another mount.
- When the mount is dead or destroyed.
- When the passenger starts being leashed with a Minecraft:lead.
- When riding a chicken, pig, ravager, spider, strider, horse, donkey, mule, zombie horse, llama, trader llama or camel under Minecraft:water, being driven off by them. Template:IN, this is controlled by Template:Cd entity Minecraft:tag.<ref>Template:Bug</ref>
- Being driven off by the mount (e.g. untamed horses, donkeys and llamas, underwater boats, minecarts on a powered Minecraft:activator rail, etc.).
- Template:IN, When the passenger finishes eating a Minecraft:chorus fruit.
- Template:IN, when the passenger is pulled by a Minecraft:fishing rod.
- Template:IN, when the passenger is a piglin, and it converts to a zombified piglin.
- When the passenger is teleported by Template:Cmd.
- Dismounting by Template:Cmd command.
Riding in vanilla game
Ridden by player
Players can ride the following adult entities by pressing Template:Control on the entity:
- Template:EntitySprite Saddled Minecraft:pig
- Template:EntitySprite Saddled Minecraft:strider
- Template:EntitySprite Tamed and saddled Minecraft:horse
- Template:EntitySprite Tamed and saddled Minecraft:donkey
- Template:EntitySprite Tamed and saddled Minecraft:mule
- Template:EntitySprite Saddled Minecraft:skeleton horse Template:Only / Minecraft:Skeleton horse Template:Only
- Template:EntitySprite Tamed and saddled Minecraft:zombie horse
- Template:EntitySprite Tamed Minecraft:llama
- Template:EntitySprite Tamed Minecraft:trader llama
- Template:EntityLink
- Template:EntityLink
- Template:EntityLink
- Template:EntityLink
- Template:EntityLink
- Template:EntitySprite Tamed and saddled Minecraft:Nautilus
- Template:EntitySprite Tamed and saddled Minecraft:Zombie Nautilus
- Template:EntitySprite Harnessed Minecraft:Happy Ghast
Minecart
A mob can ride a Minecraft:minecart when pushing by a moving minecart on rails Template:In or when colliding with a minecart Template:In. Template:IN, armor stands can also be picked up.
Minecraft:Ender dragons, Minecraft:wardens, and Minecraft:withers cannot be picked up by a minecart. Template:IN, Minecraft:iron golems cannot be picked up either.
Template:IN, unlike Minecraft:wardens, ender dragons can ride a minecart via the Template:Cmd command; withers cannot ride a minecart via the Template:Cmd even though a success message is returned.
Boat
Mobs can be picked up into a Minecraft:boat or a Minecraft:boat with chest when they collide with the side of the boat or boat with chest. Template:IN, a boat being ridden by a player cannot pick up a mob. Template:IN, mobs can be picked up by a boat being ridden by a player.
Mobs wider than the width of a boat cannot be picked up. Minecraft:Wardens and Minecraft:withers cannot be picked up.
Template:IN, mobs wider than the width of a boat can ride a boat via the Template:Cmd command. Unlike wardens, ender dragons can ride a boat via Template:Cmd command; withers cannot ride a boat via Template:Cmd even though a success message is returned.
Jockey
Spider jockey
Template:Main Spider jockeys are the rare appearance of a spider being ridden by a Minecraft:skeleton.
Chicken jockey
Template:Exclusive Template:Main Chicken jockeys are the rare appearance of a baby Minecraft:zombie, baby Minecraft:zombified piglin, baby Minecraft:zombie villager, baby Minecraft:husk, or Minecraft:gurgle riding a Minecraft:chicken.
Jockey of baby zombie
Template:Exclusive Template:IN, 15% naturally spawned baby zombies, zombie villagers, baby husks, gurgles, and baby zombified piglins try to find a mount when it tries attacking a Minecraft:villager, Minecraft:player, or Minecraft:iron golem, which can ride: Template:Columns-listAdditionally, baby drowned can ride untamed Minecraft:zombie nautiluses.
Skeleton Horseman
Template:Main Skeleton horseman is a jockey consisting of a Minecraft:skeleton riding a Minecraft:skeleton horse. Skeleton horsemen spawn only from a "skeleton trap horse".
Baby piglin riding baby hoglin
Template:Main Baby Minecraft:piglins play with baby Minecraft:hoglins, running around and riding upon them. Up to 3 baby piglins may stack on top of each other while riding a baby hoglin. Template:IN, a baby Minecraft:hoglin can support 3 baby piglins, which looks like they are stacked one by one. However, Template:In, baby piglins ride each other and are indeed stacked one by one, instead of all riding on the hoglin.
Strider or zombified piglin riding strider
Template:Main For every strider that spawns, there is a 1 in 10 chance of an additional baby strider to spawn riding on top of the previous strider. Zombified piglins have a 1 in 30 chance of spawning on top of a strider.
Illager riding ravager
Template:Main A Minecraft:ravager generated in Minecraft:raids may generate with a Minecraft:pillager, Minecraft:evoker or Minecraft:vindicator riding on it.
Parrot riding player
Template:Main A tamed parrot on the ground can be made to perch on its player's shoulder by moving through the parrot. Template:IN, technically the parrot is riding the player. Template:IN, technically the parrot on the shoulder is not an entity.
Valid riding combinations in vanilla
Template:Exclusive Template:IN, whether an entity is rideable is mainly defined with Template:Cd component and entity familliers in vanilla behavior packs. Some entities have hardcoded riding behaviors. For example, wardens cannot ride in a boat.
In the following table, none means that the entity is rideable by these families no matter what component groups it has. Multiple components separated by | symbols means that the entity must have at least one of them to be rideable by these families.
Posture
The following passengers have riding posture when riding: Template:Columns-list
Minecraft:Witches, Minecraft:villagers, Minecraft:iron golems, and Minecraft:wandering traders do not have a riding posture although similar mobs do.<ref>Template:Bug</ref>
Gallery
Players
-
Alex
-
Ari
-
Efe
-
Kai
-
Makena
-
Noor
-
Steve
-
Sunny
-
Zuri
Monsters
-
Zombie/Giant
-
Husk
-
Drowned
-
Skeleton
-
Stray
-
Wither Skeleton
-
Piglin
-
Piglin Brute
-
Zombified Piglin
-
Enderman[JE only]
Illagers
-
Vindicator
-
Attacking Vindicator
-
Pillager
-
Evoker
-
Illusioner
Zombie Villagers
-
Unemployed
-
Librarian
-
Mason
-
Nitwit
-
Shepherd
-
Toolsmith
-
Weaponsmith
-
Armorer
-
Butcher
-
Cartographer
-
Cleric
-
Farmer
-
Fisherman
-
Fletcher
-
Leatherworker