Skip to content

GroupSteeringAccumulator

Package: com.hypixel.hytale.server.npc.movement

public class GroupSteeringAccumulator
ModifierTypeName
@Nonnull private static finalComponentType<EntityStore, TransformComponent>TRANSFORM_COMPONENT_TYPE
private finalVector3dsumOfVelocities
private finalVector3dsumOfDistances
private finalVector3dsumOfPositions
private finalVector3dtemp
privateintcount
privatedoublex
privatedoubley
privatedoublez
privatedoublexViewDirection
privatedoubleyViewDirection
privatedoublezViewDirection
privateVector3dcomponentSelector
privatedoublemaxRangeSquared
privatedoublemaxDistance
privatefloatcollisionViewHalfAngleCosine
ModifierReturn TypeSignature
publicvoidbegin(double x, double y, double z, double xViewDirection, double yViewDirection, double zViewDirection)
publicvoidbegin(@Nonnull Ref<EntityStore> ref, @Nonnull ComponentAccessor<EntityStore> componentAccessor)
publicvoidprocessEntity(@Nonnull Ref<EntityStore> ref, @Nonnull ComponentAccessor<EntityStore> componentAccessor)
publicvoid`processEntity(@Nonnull Ref ref,
double distanceWeight,
double positionWeight,
double velocityWeight,
@Nonnull ComponentAccessor<EntityStore> componentAccessor)` |

| public | void | end() | | public | void | setComponentSelector(Vector3d componentSelector) | | public | void | setMaxRange(double maxRange) | | public | void | setViewConeHalfAngleCosine(float collisionViewHalfAngleCosine) | | @Nonnull public | Vector3d | getSumOfVelocities() | | @Nonnull public | Vector3d | getSumOfDistances() | | @Nonnull public | Vector3d | getSumOfPositions() | | public | int | getCount() |

Hydex is an independent community resource. Hytale is a trademark of Hypixel Studios. Hydex is not affiliated with or endorsed by Hypixel Studios.