kayjaydee 1870aeea12 feat(ecs): suspending component DSL
read / readOrNull / modify primitives that take an EntityHandle,
switch to the entity's world dispatcher, run the block on the world
thread, and return to the caller's dispatcher. ComponentRegistry
maps KClass to opaque ComponentType keys for O(1) hot-path lookup.
2026-04-28 16:30:02 +02:00
2026-04-28 16:30:02 +02:00
2026-04-28 16:29:46 +02:00
2026-04-28 16:29:46 +02:00
2026-04-28 16:29:46 +02:00
2026-04-28 16:29:46 +02:00
2026-04-28 16:29:46 +02:00
S
Description
Coroutines for Hytale's per-world ECS. Replaces the noisy CompletableFuture.runAsync { world.execute { store.getComponent(…) } } pattern with one suspending call.
MIT 130 KiB
Languages
Kotlin 100%