Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
MythicHUD MythicHUD
  • Project overview
    • Project overview
    • Details
    • Activity
  • Issues 4
    • Issues 4
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Wiki
    • Wiki
  • Members
    • Members
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • MythicCraft
  • MythicHUDMythicHUD
  • Wiki
  • Advanced Version Support

Advanced Version Support · Changes

Page history
Expanded on per-version variations of packs. authored Oct 03, 2024 by Brickgard's avatar Brickgard
Show whitespace changes
Inline Side-by-side
Showing with 44 additions and 0 deletions
+44 -0
  • Advanced-Version-Support.md Advanced-Version-Support.md +44 -0
  • No files found.
Advanced-Version-Support.md 0 → 100644
View page @ 61e02b0f
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
Clone repository
Home
MythicHUD API
Commands and Permissions
Compatibility
  • Crucible
  • Oraxen
  • ItemsAdder
  • Modded Clients
Getting Started
Layouts
Pop-Ups
HUD Components
  • Asset Layers
  • Assets
  • Listeners
  • Conditions
    • Effect
    • Gamemode
    • Placeholder
    • Progress
    • Logical Operators
Supporting 1.20.6+