Class CohesionBehavior

java.lang.Object
net.citizensnpcs.api.ai.flocking.CohesionBehavior
All Implemented Interfaces:
FlockBehavior

public class CohesionBehavior extends Object implements FlockBehavior
Implements cohesion flocking with a particular weight i.e. steering a flock of NPCs towards each other.
See Also:
  • Constructor Details

    • CohesionBehavior

      public CohesionBehavior(double weight)
  • Method Details