What Method Is Responsible For...

Discussion in 'Spigot Plugin Development' started by ReadySetPawn, May 17, 2015.

  1. Okay so I'm using NMS to create a custom villager. What I want to know is, what method do I have to override to make the villager not be able to willingly move?
  2. move
    • Winner Winner x 1
    • Useful Useful x 1
  3. wow, so helpful.
    give this man a cookie!

    actually, give him a poisoned cookie as that's all he deserves.
    • Funny Funny x 1
    • Creative Creative x 1
  4. Well, its acctually move. He asked for the method I told him lmao.

    put that in your custom villager class
    Code (Text):
        public void move(double d0, double d1, double d2) {
            super.move(0, d1, 0);
    • Winner Winner x 2
  5. All the OP asked for was the method that he had to override. He didn't ask how, why, or anything else. @Senpai answered the question perfectly.
  6. eh, fair enough.
    could of used more explaining though.
    • Winner Winner x 1
  7. Thanks :)
    • Funny Funny x 1