ChunkAPI
by FalsePattern
ChunkAPI is a Forge library for 1.7.10 that lets other mods attach custom data to chunks without editing vanilla classes.
What it does
Mods that need to store extra information per chunk can register their own data through ChunkAPI instead of writing custom packets and event handlers for every case. The API offers a simple way to define serialization and deserialization of that data, covering both networking and the NBT save format, and it provides callbacks and hooks for behavior beyond saving and loading.
Modifying chunk packet data is normally an incompatible change to network packets and the chunk class. ChunkAPI handles this by changing the S21PacketChunkData and S26PacketMapChunkBulk vanilla packets to use new formats, with compressed data filled through ChunkDataRegistryImpl.writeToBuffer. Storage is left to the using mod, which can implement its own storage system, and the project includes a Mixin example that adds a field to the chunk class to hold stored data. The mod requires UniMixins, and it is used by EndlessIDs and Lumi Lighting Engine Optimizer.
The library is released under the GNU Lesser General Public License v3.0 only and is open source. Its source code and issue tracker are public. It has Forge files for 1.7.10 only, and the latest file, 0.8.4, was published on 2026-07-27. The server and every player need the mod installed.
Key features
Custom chunk data
Other mods can register their own values to be stored with each chunk, without changing vanilla chunk code.
Custom serializers
Registered data is serialized for both network transfer and NBT saving through one set of definitions.
Packet format changes
The chunk data and map chunk bulk packets are rewritten so that the extra data reaches the client.
Callbacks and hooks
Mods can react to chunk events beyond saving and loading, using the hook system the API exposes.
Compatibility
Latest build for each game version and loader.
Only full game releases are shown. This mod publishes no snapshot builds.
Requirements
Dependencies declared by the latest file for each loader.
Required 1
Required by 2 mods
How it compares
Kinecraft is a Fabric, Forge, NeoForge and Quilt library for 1.16.5 – 1.21.5 that is open source under the MIT License and can run on either side. WrapperLib is also open source, under the Mozilla Public License 2.0, and covers Fabric, Forge and Quilt for 1.16.5 – 1.19.3. Chunk Activity Tracker is a server-side only mod for 1.20 – 1.21.1 under a custom license that is not open source.
| Mod | Loaders | Game versions | Environment | Updated |
|---|---|---|---|---|
| ChunkAPI | Forge | 1.7.10 | Client and server | 2026-07-27 |
| Kinecraft | Fabric, Forge, NeoForge and Quilt | 1.16.5 – 1.21.5 | Client or server, optional | 2025-11-09 |
| WrapperLib | Fabric, Forge and Quilt | 1.16.5 – 1.19.3 | Client and server | 2023-01-24 |
| Chunk Activity Tracker | Fabric, Forge and NeoForge | 1.20 – 1.21.1 | Server-side only | 2025-02-06 |
Questions
Does ChunkAPI need UniMixins?
Does ChunkAPI have to be installed on the server?
Which mods depend on ChunkAPI?
In the catalog
ChunkAPI is one of 3,514 Library mods on ModsFinder, and one of 1,576 Library mods for Forge. 1,013 mods support Minecraft 1.7.10.
More from FalsePattern
Similar mods
What the author says
A mod for adding custom data to chunks without the hassle of writing custom packets, event handling, loading hooks, and more. It is a goal to provide a way to add custom data to chunks without having to modify any vanilla classes. The API will also provide a simple way to implement the custom…
Official listing
- Modrinth page
- modrinth.com/mod/chunkapi
- Owner
- FalsePattern
- Published
- 2023-03-30
- Updated on Modrinth
- 2026-07-27
- Facts verified
- 2026-10-15
