Mod
Mapblock Lib
mapblock serialization functions
Mapblock-granular world operations, transformations and utilities
Features:
- Load/Save mapblocks from/to disk
- Serializes param1/param2/nodetimers and metadata
- Transforms mapblock data on the fly (rotation, orientation, replacements)
- Supports caching of the loaded mapblocks for fast in-world placement (mapgen)
- Adds a per-mapblock data-storage (
get_mapblock_data/set_mapblock_data) with caching
Use-cases:
- Custom mapgens with pre-built schematics
- Building-mods
Demo:
Chatcommands
- /mapblock_show marks the current mapblock with a grid
- /mapblock_save [name] saves the current mapblock in
<world_path>/mapblocks/<name> - /mapblock_load [name] loads a previously saved mapblock
- /mapblock_rotate_y [90,180,270] rotates the current mapblock around the y axis
- /mapblock_mark (only available if the
worldeditmod is present) marks the current mapblock with worledit
Api
See: https://buckaroobanzay.github.io/mapblock_lib/
License
- Code: MIT
- Textures: CC-BY-SA 3.0
Links
- Source: https://github.com/BuckarooBanzay/mapblock_lib
- Issues: https://github.com/BuckarooBanzay/mapblock_lib/issues
- Original ContentDB page: content.luanti.org/packages/BuckarooBanzay/mapblock_lib/
License
MIT
Media license: CC-BY-SA-3.0
| Version | Date | Min engine | Size | Download |
|---|---|---|---|---|
| 2026-07-19 | 2026-07-19 02:14:59 | 476.4 KB | Download |