> For the complete documentation index, see [llms.txt](https://plugins.elitefantasy.net/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://plugins.elitefantasy.net/masky-plugins/maskycore/datapack-integration.md).

# Datapack integration

## Information

MaskyCore has special integration for CraftEngine structures. Originally, CraftEngine blocks are saved as `craftengine:custom_xxx`, but in this case, permission is added to allow them to be edited and use the exact format, such as `craftengine:elitefantasy:termite_nest[stage=empty]`

## What's the point of all this?

CraftEngine often assigns them a different ID, so when loading structures, they will have the wrong blocks instead of the correct ones, so when using MaskyCore, the plugin will search the NBT tags of the Craftengine structures for `craftengine:elitefantasy:termite_nest[stage=empty]`, and from there it will look up the correct ID on the server, convert it to `craftengine:custom_71101`, and then implement the datapack.

## Usage

Place the datapack in the `plugins/MaskyCore/datapacks/<name>/` directory along with its folder, for example, `MaskyCore/datapacks/masky_biomes_expansion/data`...etc.

The datapack will correct itself and be applied to `world/datapack/`

use `/maskycore datapack build`

{% hint style="warning" %}
For packages that use worldgen, the server must be restarted once the plugin has loaded.
{% endhint %}
