# Config Registration

After you've created your config you'll need to register it to the mod so we can parse and have it show up in Mod Menu or Neo(Forge) config screen.\
To register you need to first create a Configurator with your mods id, this configurator is global for your mod and should be reused if you make multiple configs.

\
After you've created your Configurator you can call register on it with either the class or a ResourcefulConfig object (this is done if you are making the entire config structure by hand).<br>

Additionally there are methods with an extra parameter at the end that is a consumer with a ConfigPatchEvent, this event allows you  to register patches/fixes for previous versions this allows you to data fix/update your configs to the latest. \
You can either call register(version, JsonObject -> JsonObject) or move(version, from, to).


---

# 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://config.wiki.teamresourceful.com/creating-your-first-config/config-registration.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.
