Contents
- Description
- Constructor Summary
- Method Summary
- Constructor Details
- Method Details
- begin(double, double, double, double, double, double)
- begin(Ref, ComponentAccessor)
- processEntity(Ref, ComponentAccessor)
- processEntity(Ref, double, double, double, ComponentAccessor)
- end()
- setComponentSelector(Vector3d)
- setMaxRange(double)
- setNormalizeDistances(boolean)
- setViewConeHalfAngleCosine(float)
- getSumOfVelocities()
- getSumOfDistances()
- getSumOfPositions()
- getCount()
Class GroupSteeringAccumulator
java.lang.Object
com.hypixel.hytale.server.npc.movement.GroupSteeringAccumulator
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbegin(double x, double y, double z, double xViewDirection, double yViewDirection, double zViewDirection) voidbegin(Ref<EntityStore> ref, ComponentAccessor<EntityStore> componentAccessor) voidend()intgetCount()org.joml.Vector3dorg.joml.Vector3dorg.joml.Vector3dvoidprocessEntity(Ref<EntityStore> ref, double distanceWeight, double positionWeight, double velocityWeight, ComponentAccessor<EntityStore> componentAccessor) voidprocessEntity(Ref<EntityStore> ref, ComponentAccessor<EntityStore> componentAccessor) voidsetComponentSelector(org.joml.Vector3d componentSelector) voidsetMaxRange(double maxRange) voidsetNormalizeDistances(boolean normalizeDistances) voidsetViewConeHalfAngleCosine(float collisionViewHalfAngleCosine)
-
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()
-