Skip to content

PathSpatialSystem

Package: com.hypixel.hytale.builtin.path

public class PathSpatialSystem extends SpatialSystem<EntityStore>

ECS spatial system that indexes PatrolPathMarkerEntity positions into a KDTree for efficient nearest-path queries. Queries entities with both the path marker and transform components.

ModifierReturn TypeSignature
@Override publicQuery<EntityStore>getQuery()
@Override publicvoidtick(float dt, int systemIndex, @Nonnull Store<EntityStore> store)
@Nonnull @Override publicVector3dgetPosition(@Nonnull ArchetypeChunk<EntityStore> archetypeChunk, int index)
Hydex is an independent community resource. Hytale is a trademark of Hypixel Studios. Hydex is not affiliated with or endorsed by Hypixel Studios.