Solved Armor Stands

Discussion in 'Plugin Development' started by Koningpeter, Apr 16, 2016.

Thread Status:
Not open for further replies.
  1. Offline

    Koningpeter

    Hi all, I've a problem with Armor Stands...
    I want to set the facing direction of an Armor Stand.
    For Itemframes or Paintings is it: setFacingDirection(), but this doesn't work for Armor Stands.
    Anyone knows how to do this?
    Thanks

    My code:
    Code:
    ArmorStand AS = p.getWorld().spawn(l, ArmorStand.class);
     
  2. Koningpeter likes this.
  3. Offline

    Koningpeter

    @Assist
    Yes Thanks!!
    Changing the yaw of the Entity works :D

    Code:
                    Location fl = new Location(p.getWorld(), BlockX, BlockY, BlockZ);
                    fl.setYaw(Yaw);
                    ArmorStand AS = p.getWorld().spawn(fl, ArmorStand.class);
     
Thread Status:
Not open for further replies.

Share This Page