Package net.citizensnpcs.api.ai.flocking
Class GroupNPCFlock
java.lang.Object
net.citizensnpcs.api.ai.flocking.GroupNPCFlock
- All Implemented Interfaces:
NPCFlock
Defines a static flock of NPCs with an optional radius. If the radius is positive then NPCs will only be considered
part of the flock if they are within the base NPC's radius currently.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic GroupNPCFlock
static GroupNPCFlock
createWithRadius
(Iterable<NPC> npcs, double radius) Returns the NPCs to be considered part of a flock.getNPCs()