Class TeleportStuckAction

java.lang.Object
net.citizensnpcs.api.ai.TeleportStuckAction
All Implemented Interfaces:
StuckAction

public class TeleportStuckAction extends Object implements StuckAction
  • Field Details

  • Method Details

    • run

      public boolean run(NPC npc, Navigator navigator)
      Description copied from interface: StuckAction
      Called when the Navigator reports that it is stuck.
      Specified by:
      run in interface StuckAction
      Parameters:
      npc - The stuck NPC
      navigator - The navigator
      Returns:
      Whether to continue navigation
    • toString

      public String toString()
      Overrides:
      toString in class Object