ArmorStand Passengers

Discussion in 'Spigot Plugin Development' started by MakingTheMagic, May 14, 2016.

  1. Hey Guys!

    Does anyone know how I could go about setting passengers of an Armorstand, I know how todo this. But the passenger needs to be a minecart. I have 10 Armorstands rotating in a circle/round a center block using math but they teleport. So when I set the passenger of the Armorstand to a minecart, they don't teleport/rotate.

    Any ideas?

    Thank you!
    Any advice will be appreciated.

    :D
     
  2. Any ideas on how to teleport Armorstands with a passenger?
     
  3. I haven't tested this but im guessing this will work:
    Code (Text):
    stand.getLocation().setX(x);
    stand.getLocation().setY(y);
    stand.getLocation().setZ(z);
    player.setPassenger(stand);
     
  4. Thank you, I will try this,