1.16.5 Control Horse

Discussion in 'Spigot Plugin Development' started by Bosternike, Jun 18, 2021.

Thread Status:
Not open for further replies.
  1. I need to control Horse without saddle.
    How to do this? (If it's possible)

    Horse settings:
    Code (Text):

    ((Tameable) ent).setTamed(true);
    ((Tameable) ent).setOwner(player);
     
     
  2. The nms player class has 2 floats that indicate the forward motion and backwards motion that the player has with his wasd keys, I believe.
    I don't know what the names are, but if you look up wasd riding tutorials for bukkit or spigot, you should find them.

    Just search around a bit.
     
  3. Thank, will try
     
Thread Status:
Not open for further replies.