setGravity on 1.8.8

Discussion in 'Spigot Plugin Development' started by The_AxeMaster, Jul 5, 2017.

  1. Hello. I'm trying to prevent a mob from falling but there is no setGravity on 1.8.8. I tried making the mod ride an Armor stand but then setVelocity does not work
    • Funny Funny x 2
  2. Anyone? This is urgent
  3. NathanWolf


    You'd have to use NMS, there is an ArmorStand.setGravity method there. Get the handle of your Bukkit Entity, cast it to ArmorStand and call that method.
  4. Did you get it all figured out?