Class NPC.Move.Behaviour

java.lang.Object
dev.sergiferry.playernpc.api.NPC.Move.Behaviour
Enclosing class:
NPC.Move

public static class NPC.Move.Behaviour extends Object
Since:
2022.2
  • Method Details

    • setPath

      public dev.sergiferry.playernpc.api.NPC.Move.Path setPath(List<org.bukkit.Location> locations, dev.sergiferry.playernpc.api.NPC.Move.Path.Type type)
    • setFollowEntity

      public NPC.Move.Behaviour setFollowEntity(org.bukkit.entity.Entity entity)
    • setFollowEntity

      public NPC.Move.Behaviour setFollowEntity(org.bukkit.entity.Entity entity, double followMinDistance)
    • setFollowEntity

      public NPC.Move.Behaviour setFollowEntity(org.bukkit.entity.Entity entity, double followMinDistance, double followMaxDistance)
    • setFollowNPC

      public NPC.Move.Behaviour setFollowNPC(NPC npc)
    • setFollowNPC

      public NPC.Move.Behaviour setFollowNPC(NPC npc, double followMinDistance)
    • setFollowNPC

      public NPC.Move.Behaviour setFollowNPC(NPC npc, double followMinDistance, double followMaxDistance)
    • setFollowPlayer

      public NPC.Move.Behaviour setFollowPlayer()
    • setFollowPlayer

      public NPC.Move.Behaviour setFollowPlayer(double followMinDistance, double followMaxDistance)
    • cancel

      public NPC.Move.Behaviour cancel()
    • getType

      public NPC.Move.Behaviour.Type getType()
    • getNPC

      public NPC getNPC()