Class GroupSteeringAccumulator

java.lang.Object
com.hypixel.hytale.server.npc.movement.GroupSteeringAccumulator

public class GroupSteeringAccumulator extends Object
  • Constructor Details

    • GroupSteeringAccumulator

      public GroupSteeringAccumulator()
  • Method Details

    • begin

      public void begin(double x, double y, double z, double xViewDirection, double yViewDirection, double zViewDirection)
    • begin

      public void begin(@Nonnull Ref<EntityStore> ref, @Nonnull ComponentAccessor<EntityStore> componentAccessor)
    • processEntity

      public void processEntity(@Nonnull Ref<EntityStore> ref, @Nonnull ComponentAccessor<EntityStore> componentAccessor)
    • processEntity

      public void processEntity(@Nonnull Ref<EntityStore> ref, double distanceWeight, double positionWeight, double velocityWeight, @Nonnull ComponentAccessor<EntityStore> componentAccessor)
    • end

      public void end()
    • setComponentSelector

      public void setComponentSelector(org.joml.Vector3d componentSelector)
    • setMaxRange

      public void setMaxRange(double maxRange)
    • setNormalizeDistances

      public void setNormalizeDistances(boolean normalizeDistances)
    • setViewConeHalfAngleCosine

      public void setViewConeHalfAngleCosine(float collisionViewHalfAngleCosine)
    • getSumOfVelocities

      @Nonnull public org.joml.Vector3d getSumOfVelocities()
    • getSumOfDistances

      @Nonnull public org.joml.Vector3d getSumOfDistances()
    • getSumOfPositions

      @Nonnull public org.joml.Vector3d getSumOfPositions()
    • getCount

      public int getCount()