ToddLLM/luanti-complete-dataset huggingface dataset:
**Title:** Modgen

**Description:** 

**Details:**
modgen mod for minetest

# Overview

Allows you to export a part of the map as a standalone mod which can be used as a mapgen

Api docs: https://buckaroobanzay.github.io/modgen/

Manual: https://github.com/BuckarooBanzay/modgen

**Note**: if you want better separation of code (mod) and data (world-data) you might want to use the [mapsync](https://content.luanti.org/packages/BuckarooBanzay/mapsync/) mod instead.

# Commands

* `/pos1`, `/pos2` Set opposite corners of the export map
* `/export [fast]` Exports the map as a standalone mod into `${worldfolder}/modgen_mod_export`
* `/autosave [on|off]` enables autosave feature

# In-place saving

After an initial mod-export the resulting mod can be edited live and in-place
if the `modgen` mod is also present (optional).

To enable the saving directly into the exported mod you have to add it to the "trusted_mods" setting:

```
secure.trusted_mods = modgen
```

Afterwards if you mark a region and execute `/export` the mapblocks are written to the exported mod itself

# License

MIT

**Tags:** developer_tools, mapgen, storage, world_tools
**Repository:** https://github.com/BuckarooBanzay/modgen
**License:** MIT