|
|
MythicHUD's shader operates differently in versions before and after 1.20.5. Because of this, the MythicHUD pack uses the `overlays` feature to try to adjust compatibility per-version.
|
|
|
|
|
|
This is done in the `mythichud-modern` overlay; the configuration of which can be seen in the `/MythicHUD/built-pack/pack.mcmeta`.
|
|
|
### Modern Versions
|
|
|
To ensure compatibility with all versions MythicHUD can support, the resource pack must use the overlays configured in `/MythicHUD/built-pack/pack.mcmeta`:
|
|
|
```json
|
|
|
"overlays": {
|
|
|
"entries": [
|
|
|
{
|
|
|
"formats": {
|
|
|
"min_inclusive": 32,
|
|
|
"max_inclusive": 34
|
|
|
},
|
|
|
"directory": "mythichud-modern"
|
|
|
}
|
|
|
```
|
|
|
This overlay is now looking for new shaders at the root of your resource pack:\
|
|
|
Copy the `/MythicHUD/built-pack/mythichud-modern/` folder to the top level of your resource pack, *next to* the assets folder:
|
|
|
```
|
|
|
🖿resource_pack
|
|
|
| 🖿assets
|
|
|
| | 🖿minecraft
|
|
|
| | 🖿mythichud
|
|
|
|
|
|
|
| 🖿mythichud-modern
|
|
|
| | 🖿assets
|
|
|
|
|
|
|
| 🖹pack.mcmeta (should include a JSON section about overlays)
|
|
|
| 🖻pack.png
|
|
|
```
|
|
|
Without this, the pack will not work on versions newer than 1.20.5.
|
|
|
|
|
|
In use-cases where overlays or multi-version support are not possible, the pack may be converted to a single type.
|
|
|
### Versions 1.20.6+
|
|
|
To directly make your pack only compatible with versions above 1.20.5, merge this overlay with your pack:
|
|
|
1. Copy `/MythicHUD/built-pack/mythichud-modern/assets/minecraft/` folder
|
|
|
2. Paste/merge this folder with your resource pack's `/assets/minecraft/` folder.
|
|
|
3. This will migrate the 1.20.5+ shaders to overwrite your generated ones to allow latest-version operation.
|
|
|
|
|
|
#### Versions below 1.20.5
|
|
|
The pack's default core shaders will operate for versions between 1.19.4 and 1.20.4.\
|
|
|
The `/MythicHUD/built-pack/mythichud-modern` folder is not needed, and can be optionally removed.
|
|
|
|
|
|
and the `overlays` section of the example `pack.mcmeta` to your pack. `mythichud-modern/` needs to be placed in the **root directory** of the resource pack (i.e., the same folder as your `pack.mcmeta`). |
|
|
\ No newline at end of file |