Solved [NMS HELP].goalSelector.a();

Discussion in 'Spigot Plugin Development' started by NathanPB, Jun 6, 2017.

Thread Status:
Not open for further replies.
  1. Hello everyone
    In this example:

    Code (Text):
            EntityInsentient c = getAsNMSEntity();
            c.goalSelector.a(0, new PathfinderGoalFloat(c));
    What does means "0"?
    .goalSelector.a(0, new P...

    Is it a queue? an ID?


    Thanks =)
     
  2. #2 TechBug2012, Jun 6, 2017
    Last edited: Jun 6, 2017
  3. It’s the priority 0 is highest everything above it will have a lower priority.


    Edit: if goal with same priority is added it’s first come first serve.
     
    #3 ysl3000, Jun 6, 2017
    Last edited: Jun 6, 2017
    • Informative Informative x 2
Thread Status:
Not open for further replies.