How to target a train summoned via TrainCarts plugin and then /entitydata to set its passenger(Armor Stand)

How to target a train summoned via TrainCarts plugin and then /entitydata to set its passenger(Armor Stand) - Top view of various multicolored toys for fight arranged on pink background as representation of game

So how would I have an armor stand set as a passenger on an existing mine cart summoned via TrainCarts (So I can manipulate the minecart's speed while the armor stand is on it)?



Best Answer

The best place to find support outside of vanilla would be wherever you got the plugin (presumably here).

However, if you're playing in 1.9 or later you can use the following command to add a passenger to your minecart: /entitydata @e[type=MinecartRideable] {Passengers:[{id:"ArmorStand"}]}

Note that the above is a Mojang-provided command and may or may not break your Bukkit plugin.




Pictures about "How to target a train summoned via TrainCarts plugin and then /entitydata to set its passenger(Armor Stand)"

How to target a train summoned via TrainCarts plugin and then /entitydata to set its passenger(Armor Stand) - Serious stylish businessman in elegant white shirt and purple jacket holding leather bag and coat in hand standing on platform on railway station and waiting for train
How to target a train summoned via TrainCarts plugin and then /entitydata to set its passenger(Armor Stand) - Confident trendy male traveler standing on railroad platform with coat and travel bag
How to target a train summoned via TrainCarts plugin and then /entitydata to set its passenger(Armor Stand) - A Man and a Woman in Camouflage Uniform Standing on Ground





TrainCarts 1.12.2-v2 - Attachments Introduction \u0026 Tutorial




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

Images: Anna Shvets, Andrea Piacquadio, Andrea Piacquadio, Matthew Hintz