AvoidanceSystem
Package: com.hypixel.hytale.server.npc.systems
public class AvoidanceSystem extends SteppableTickingSystemECS ticking system that applies avoidance and separation steering to NPCs. Runs after RoleSystems.BehaviourTickSystem. For each NPC, blends avoidance and separation forces into the body steering vector, and optionally renders debug visualizations for avoidance, separation, orientation hints, and pre/post-blend steering.
Constructors
Section titled “Constructors”| Signature |
|---|
AvoidanceSystem(@Nonnull ComponentType<EntityStore, NPCEntity> componentType) |
Methods
Section titled “Methods”| Modifier | Return Type | Signature |
|---|---|---|
public | Set<Dependency<EntityStore>> | getDependencies() |
public | boolean | isParallel(int archetypeChunkSize, int taskCount) |
public | Query<EntityStore> | getQuery() |
public | void | steppedTick(float dt, int index, @Nonnull ArchetypeChunk<EntityStore> archetypeChunk, @Nonnull Store<EntityStore> store, @Nonnull CommandBuffer<EntityStore> commandBuffer) |
Hydex is an independent community resource. Hytale is a trademark of Hypixel Studios. Hydex is not affiliated with or endorsed by Hypixel Studios.