Package dev.sergiferry.playernpc.api
Class NPC.Move.Behaviour
java.lang.Object
dev.sergiferry.playernpc.api.NPC.Move.Behaviour
- Enclosing class:
- NPC.Move
- Since:
- 2022.2
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptioncancel()
getNPC()
getType()
setFollowEntity(org.bukkit.entity.Entity entity)
setFollowEntity(org.bukkit.entity.Entity entity, double followMinDistance)
setFollowEntity(org.bukkit.entity.Entity entity, double followMinDistance, double followMaxDistance)
setFollowNPC(NPC npc)
setFollowNPC(NPC npc, double followMinDistance)
setFollowNPC(NPC npc, double followMinDistance, double followMaxDistance)
setFollowPlayer(double followMinDistance, double followMaxDistance)
dev.sergiferry.playernpc.api.NPC.Move.Path
-
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
-
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
-
setFollowNPC
-
setFollowNPC
public NPC.Move.Behaviour setFollowNPC(NPC npc, double followMinDistance, double followMaxDistance) -
setFollowPlayer
-
setFollowPlayer
-
cancel
-
getType
-
getNPC
-