# ModelEngine

## [Download here](https://www.spigotmc.org/resources/conxeptworks-model-engine%E2%80%94ultimate-entity-model-manager-1-14-1-17-1.79477/)

## How to add compatibility?

* add all your mobs models and configurations inside the **ModelEngine** plugin folder (read the **ModelEngine** tutorials for more info)
* open `config.yml` of **ItemsAdder** and set this:

```yaml
    merge_other_plugins_resourcepacks_folders:
      - "ModelEngine/resource pack"
```

* run `/meg reload` to generate the **ModelEngine** resourcepack.
* `/iazip` (and follow the [hosting tutorial](https://itemsadder.devs.beer/plugin-usage/plugin-configuration/resourcepack-hosting) if needed).

### Differences between ItemsAdder and ModelEngine

{% content-ref url="../../faq/modelengine-vs-itemsadder" %}
[modelengine-vs-itemsadder](https://itemsadder.devs.beer/faq/modelengine-vs-itemsadder)
{% endcontent-ref %}

## `NoSuchFileException` issue

```
[ItemsAdder] Plugin ItemsAdder v4.0.15 generated an exception while executing task 9132
java.io.UncheckedIOException: java.nio.file.NoSuchFileException: /home/container/plugins/ModelEngine/resource pack/assets/minecraft
        at org.apache.commons.io.function.Uncheck.wrap(Uncheck.java:339) ~[commons-io-2.17.0.jar:2.17.0]
```

Open the `config.yml` file of **ModelEngine** and set the highlighted options to `false`.\
This forces **ModelEngine** to load its resources during the early stages of server startup, rather than waiting until the server has fully initialized.

The root cause lies in plugin load order: ItemsAdder attempts to access ModelEngine’s model files before ModelEngine has finished loading its resources, so it cannot access them.

<figure><img src="https://708574821-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M28TcKgSDvuFN510qye-887967055%2Fuploads%2F171fSaZOvyubtigX8K8p%2Fimage.png?alt=media&#x26;token=891ea3cf-e20b-4b18-9bbf-3adbe757edc3" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://itemsadder.devs.beer/compatibility-with-other-plugins/compatible/modelengine.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
