How to use the minecraft 1.9 "Passengers" tag?

How to use the minecraft 1.9 "Passengers" tag? - Medical single use disposable syringe without protective cover on needle and with empty barrel placed on bright yellow surface

I was wondering how to use the new 1.9 stacking tag, which i believe goes like this:

/summon Chicken ~ ~ ~ {Passengers:[{id:"Slime"­}]}`

I am wondering how to use this to give players colored leather armor that's "riding" each other, so that pushing on button gives a player a full set of colored armor. Any help would be appreciated thanks!



Best Answer

Since Passengers is a list, you separate each rider (the slime) of the root entity (the chicken) with a comma. This differs from Riding in that each rider is not required to ride one another, though it is still possible by including Passengers with each rider.

The following would summon a pair of leather boots as the root entity, that had 3 other riders at the same depth:

/summon Item ~ ~1 ~ {Item:{id:"minecraft:leather_boots",Count:1},Passengers:[{id:"Item",Item:{id:"minecraft:leather_leggings",Count:1}},{id:"Item",Item:{id:"minecraft:leather_chestplate",Count:1}},{id:"Item",Item:{id:"minecraft:leather_helmet",Count:1}}]}

If you want them nested further, similar to a Riding stack, you'll have to add Passengers to the rider:

/summon Item ~ ~1 ~ {Item:{id:"minecraft:leather_boots",Count:1},Passengers:[{id:"Item",Item:{id:"minecraft:leather_leggings",Count:1},Passengers:[{id:"Item",Item:{id:"minecraft:leather_chestplate",Count:1},Passengers:[{id:"Item",Item:{id:"minecraft:leather_helmet",Count:1}}]}]}]}



Pictures about "How to use the minecraft 1.9 "Passengers" tag?"

How to use the minecraft 1.9 "Passengers" tag? - Young black lady wearing protective mask and casual clothes sitting with backpack in yellow cab while surfing on smartphone with open window in street in daytime in town
How to use the minecraft 1.9 "Passengers" tag? - Focused black woman in medical mask browsing smartphone in car
How to use the minecraft 1.9 "Passengers" tag? - Unrecognizable young Asian man and ethnic woman in face masks and casual clothes using mobile phones and chatting while riding train



How do you use a passenger tag?

You can add, list and remove player tags using the /tag command in Minecraft. This is a very useful command to target and tag players in a multiplayer game. TIP: Starting in Minecraft Java Edition (PC/Mac) 1.13, the /tag command replaces the /scoreboard players tag command to set up and manage tags for players.

How do you tag an entity in Minecraft?

Tags in data packs allow players to group items, blocks, fluids, entity types or functions, etc. together using JSON files.

What does tagging do in Minecraft?

Entities. These tags are used when using the /summon command to spawn entities or when using the /data to edit the data of entities.



How to Use the Passengers Tag - Minecraft Tutorial




More answers regarding how to use the minecraft 1.9 "Passengers" tag?

Answer 2

I suggest you to use McStacker selecting as Minecraft version 1.9 Snapshots

McStacker Image

Sources: Stack Exchange - This article follows the attribution requirements of Stack Exchange and is licensed under CC BY-SA 3.0.

Images: Karolina Grabowska, Uriel Mont, Uriel Mont, Samson Katt