-
Notifications
You must be signed in to change notification settings - Fork 0
System Overview
Panayiotis Stylianopoulos edited this page Jul 12, 2026
·
4 revisions
Chunkis replaces the authoritative chunk persistence path with a Chunkis-managed pipeline.
The current system covers mutation tracking, save-time snapshot capture, CIS storage, synthetic load NBT, restore replay, client delta synchronization, CIS migration, and vanilla MCA migration.
-
commonowns shared models, codecs, compression, and the debug model. -
storageowns persistence mechanics. -
migrationowns CIS version transitions. -
fabricowns Minecraft integration and runtime behavior.
- Save interception and shutdown flushing are handled by
ChunkisModand storage mixins. - Load interception and restoration route through
ThreadedAnvilChunkStorageMixin,ChunkSerializerMixin, andChunkRestorer. - Client delta synchronization is layered on top of vanilla chunk packets through
ChunkHolderMixinandChunkisNetworking.
fabric/src/main/java/io/liparakis/chunkis/ChunkisMod.javafabric/src/main/java/io/liparakis/chunkis/ClientChunkisMod.javafabric/src/main/java/io/liparakis/chunkis/mixin/storage/ThreadedAnvilChunkStorageMixin.javafabric/src/main/java/io/liparakis/chunkis/mixin/storage/ChunkSerializerMixin.javafabric/src/main/java/io/liparakis/chunkis/world/restoration/core/ChunkRestorer.java
- Documentation must use the active module names:
common,storage,migration, andfabric. - Save ownership is selective. Vanilla reads remain available, while vanilla writes are cancelled only for Chunkis-owned saves.
- Runtime safety depends on ownership claims, persisted bases, and restore suppression working together.
Behavior is validated through Fabric mixins, entrypoints, storage tests, migration tests, and game tests covering reload, migration, and asynchronous save behavior.