Skip to the content.

folia-redstone-region

Per-chunk redstone-engine dispatch for Folia. Default chunks tick vanilla; opt chunks into Alternate Current, Eigencraft, or fully disabled with a single command. Persistent across restarts. Folia-thread-safe. i18n. ~50 ns hot-path overhead, configurable to 0.

Quickstart

/redstone-region set alternate-current     ← this chunk
/redstone-region fill 8 alternate-current  ← 17×17 chunks around you
/redstone-region selection eigencraft       ← your WorldEdit selection

See Install for drop-in instructions.

Documentation

Status

End-to-end validated on Folia 1.21.11 build #6 — 14/14 in-server test cases green:

Test Outcome
evaluator-installed
persistence-pdc ✅ PDC roundtrip
perf-32×32-grid ✅ 2.9-14.2× speedup
8 parity contraptions ✅ byte-for-byte over 60+ ticks each
stress-600t ✅ 596 toggles, 0 exceptions
cross-region-stress ✅ 780+780 toggles in 2 different Folia regions
ac-actually-exercised ✅ 655 dispatches verified

Performance

32×32 dust grid, 50 toggles, M-series Mac + Java 21:

Metric Vanilla AC Speedup
Avg per toggle 41 ms 14 ms 2.9×
% of one server tick (50 ms) 82% 28%  
Worst tick 234 ms (>4 ticks) 22 ms 10.6×

Full performance table.

Repos

License

MIT — see LICENSE.