Custom Model ID (***
)
About
This convention aims to reduce conflict between resource packs within the custom model data system as much as possible by assigning a unique ID for every creator to use.
1. Register your ID
Your "id" is an integer between 1-999 which we'll use as a unique namespace.
You can register your ID at https://mcdatapack.vercel.app/.
2. Prefix your model with your id
You will prefix your custom model data with your ID in this format, where XXX
is your ID and 0000
is your unique custom model data.
id | cmd |
---|---|
XXX | 0000 |
Here are some examples:
2.1. id = 42
{
"overrides": [
{"predicate": {"custom_model_data": 420001}, "model": "path/to/model/1"},
{"predicate": {"custom_model_data": 420020}, "model": "path/to/model/2"},
{"predicate": {"custom_model_data": 420300}, "model": "path/to/model/3"}
]
}
2.2. id = 808
{
"overrides": [
{"predicate": {"custom_model_data": 8081001}, "model": "path/to/model/1"},
{"predicate": {"custom_model_data": 8082002}, "model": "path/to/model/2"},
{"predicate": {"custom_model_data": 8083003}, "model": "path/to/model/3"}
]
}
2.3. id = 1
{
"overrides": [
{"predicate": {"custom_model_data": 10001}, "model": "path/to/model/1"},
{"predicate": {"custom_model_data": 10010}, "model": "path/to/model/2"},
{"predicate": {"custom_model_data": 10011}, "model": "path/to/model/3"}
]
}
Note
This convention does not enforce any restrictions from the 8th digit onwards. Datapackers could utilize this to gain a few more model slots if they wanted to. (the digit index is count from right-to-left of course)