6574c05128cfd0945061d0af02f075b08c3d02f5
- RegionSnapshot: immutable per-world occupancy view (byRegion/tickId/world)
- RegionRegistry:
* AtomicReference<List<GravityFlipRegion>> for tick-loop-safe region reads
* CRUD (add/remove/setEnabled) under mutationLock + atomic snapshot republish
* refreshFromConfig(cfg) hook for Phase 4 command handlers
* refreshFor(World) iterates ECS via forEachEntityParallel +
TransformComponent.getComponentType() (ComponentType IS-A Query, no builder) +
Box.containsPosition(x,y,z); publishes per-world snapshot via AtomicReference.
* Lazy ComponentType init (avoids Hytale PluginBase static init in tests)
* Snapshots map keyed by Object (not World) so JDK 25 tests don't need Mockito
- 7/7 RegionRegistryTest pass: CRUD, snapshot read/publish, cross-thread visibility,
refreshFromConfig atomic swap.
Probe results (recorded for SUMMARY):
- ArchetypeChunk.getRef(int) NOT present; actual method is getReferenceTo(int)
- TransformComponent.getPosition() returns com.hypixel.hytale.math.vector.Vector3d
in pinned 2026.03.26 (Phase 02-01 deviation pattern recurs)
Description
Gravity Flip lets you create anti-gravity regions on your Hytale server using a wand — no scripting, no file edits, no server restarts. Want to walk on the ceiling? Place two corners, name the region, and flip the world.
Languages
Java
100%