Tutorials/Summoning jockeys

Summoning a Jockey (A mob riding on top of another mob) can be useful for adventure maps also interesting to experiment with.

Generation
The few naturally-spawning Jockeys in the game include Spider Jockeys (Skeleton riding a spider), Chicken Jockeys (Baby Zombie riding a Chicken, and also a skeleton trap (Skeletons riding Skeleton Horses.

They can be each summoned via commands:
 * Spider Jockey:


 * Chicken Jockey:


 * Skeleton Trap:

Passenger Behavior
The "passenger" or the mob on top, will always have control over the mob it is mounted on as of 1.12. This means no matter what the mount's intentions (attacking a villager, for example), the Passenger will always have control over the mount. For example, if you have a Skeleton on the bottom with a Zombie on top, the Zombie will move the mount itself and pursue a villager instead of you(Only if it notices the villager first, like all Zombies). Mobs on the bottom have small resistance, they can move slowly towards their own intentions (attacking a player) but the second the passenger moves the mount will be forced to move to that location.



In a nutshell, the Passenger will behave regularly if they are mounted on a mob, but they will have a speed boost(equivalent to the players walking speed, or the Passengers speed if the Passenger's speed is faster than the players speed.) For example, if you have a wolf mounted on a cow, and you punch the wolf, the wolf will ride the cow towards you and inflict damage, and it will also make nearby wolves (even wolf jockeys) hostile. If a Skeleton mounts a mob, it can strafe (as skeletons do when attacking). The only exception are Endermen. They will teleport away (with the passenger) if a projectile is shot through them. However, if the Enderman is the passenger, it will not teleport away but it can not be damaged by projectiles.



Mount Behavior
The mount, or the mob being ridden has little control since 1.12.(Before this update the mount had complete control, the exception being Chicken Jockeys). They will have "resistance", however, where they will slowly try to do whatever they are intending (attacking a player, chasing a villager). However the passenger will always have dominance over the mount and can move it at it's will. Mounts will always give the passenger a speed boost, equivalent of the player's walking speed, faster if the mount is naturally faster than the player (such as a hostile enderman).

If the Mount is a passive mob it can not inflict its own damage, the Passenger has to inflict its own damage. If you have a Skeleton riding a Cow the Skeleton can attack, not the Cow. The only case is where the Mount is hostile, such as a Spider, if can attack as well and leap (This is the only exception where a Mount can jump on its own), making it deadly for the player.

It is always easier to defeat a jockey if you attack the mount before the passenger. Knockback will have no effect whatsoever on the passenger. However setting the mount on fire will also set the passenger on fire. If a mount is a hostile mob (such as an Skeleton) It can still shoot arrows at the player if the passenger is facing the player, as mount can turn on its own, but it takes a while due t its very small "resistance".

Always remember that no matter what, the Passenger has complete control over movement of the mount. If you summon a Cow riding a zombie the Zombie can try to slowly move towards the player and attack him but the second the cow moves the Jockey will move wherever the cow desires with no resistance. The only exception to this rule would be flying mobs. Bats, Ghasts, and Blazes can not fly if they are passengers, but they can move the mount at higher speeds. If you place a Ghast onto a Spider the Ghast will strafe or move forwards (as it does when its attacking).

The only mobs that can move freely even with a passenger are The Wither, The Enderdragon, Bats, Squids, Parrots, and Horses. Passengers have no control over these mounts whatsoever.(Except Horses-see below)

-Note: The Enderdragon and The Wither can not have mounts or can they be mounted, no matter what.

-If a mob is summoned onto a Horse, that mob will have control over the horse until it bucks them off - just like a player. It will never be "tamed" by the mob, and will only stay on for a limited time.

As of 1.12, Skeleton's summoned through 'passenger' or 'mount' will not have a bow. You have to either equip them with a weapon (or item) or summon a skeleton with one pre-quipped.



Examples:



A flying Skeleton, you can make the Bat invisible with /effect



A teleporting Creeper. Great.



An Overpowered skeleton Jockey wearing full diamond armor,a bow, a shield, and with strength, speed, jump boost, and fire resistance effects.