# Dimension Fixer
Dimension Fixer can fix hardcoded behavior of dimension mainly for custom dimension.
## Features
- Fix advancement progress and recipe unlock.
- Fix end dragon fight not starting and exit portal not created (<=[MC 1.21.11])
- Fix end gateway not working.
- Fix client The End music not playing.
- Fix datapack dimension location predicate check.
- Fix portal search radius (>=0.0.6)
- Fix sleeping (>=0.0.6 + <=[MC 1.21.11])
- Override flat check (>=0.0.9)
- Simple configuration and datapack support.
**Can be added to existing modpack or world and can be removed from existing world easly. Please make sure backup your world first.**
Suggest new features for vanilla or modded dimension on [GitHub Discussion](https://github.com/mahmudindev/mcmod-dimensionfixer/discussions) or [Discord](https://discord.gg/cuYgFmq3kz) would be appreciated.
## Usage
You can configure this mod by config or data driven by using datapack.
Config (dimensionfixer.json)
```
{
"aliases": {
"minecraft:overworld": {
"dimension_types": [
"minecraft:overworld",
"minecraft:overworld_caves",
"customdimensiontype:overworld_mirror"
],
"dimensions": [
"customdimension:overworld_mirror"
]
},
"minecraft:the_nether": {
"dimension_types": [
"minecraft:the_nether",
"customdimensiontype:the_nether_mirror"
],
"dimensions": [
"customdimension:the_nether_mirror"
]
},
"minecraft:the_end": {
"dimension_types": [
"minecraft:the_end",
"customdimensiontype:the_end_mirror"
],
"dimensions": [
"customdimension:the_end_mirror"
]
},
"customdimension:dimension": {
"dimension_types": [
"customdimensiontype:dimension_mirror"
],
"dimensions": [
"customdimension:dimension_mirror"
]
}
},
"tweaks": {
"customdimension:dimension": {
"fix_sleeping": true,
"fix_portal_search_radius": true,
"override_flat_check": true
}
}
}
```
Datapack
### Aliases
In your datapack namespace folder mostly minecraft, create "dimensionfixer" folder with "alias" folder inside. In alias folder create json file with your dimension name with content:
```
{
"dimension_types": [
"test:one"
],
"dimensions": []
}
```
-> data\\{namespace}\dimensionfixer\alias\\{dimension}.json
### Tweaks
In your datapack namespace folder, create "dimensionfixer" folder with "tweak" folder inside. In tweak folder create json file with your dimension name with content:
```
{
"fix_sleeping": true,
"fix_portal_search_radius": true,
"override_flat_check": true
}
```
-> data\\{namespace}\dimensionfixer\tweak\\{dimension}.json
All tweaks is disabled by default. Fix sleeping is enabled by default for Overworld alias.
## Issues
- [Radium]
Use Canary instead for better mod compatibility or manually disable "mixin.ai.poi.fast_portals".
- [YUNG's Better End Island]
Dragon Fight does not start on alias dimension (<=[MC 1.21.11])
There are no new compatibility issues or bugs being reported. Please report it on [GitHub](https://github.com/mahmudindev/mcmod-dimensionfixer/issues) so it can be fixed.
## Support
🟩 26.1-26.1.2 / 🟩 1.21.1 / 🟥 1.21-1.21.11 / 🟩 1.20.1 / 🟪 1.16.5 / 🟪 1.12.2
🟩 Supported
🟥 Support Dropped
🟨 In Progress
🟪 Considered
## Important Note
This mod only fixes hardcoded dimension behavior. It doesn't link portal (use [Dimension Link](https://modrinth.com/project/mgRpdg8r)).
Made for personal gameplay tinkering, server customization, and modpack creation. Feel free to use in modpacks, videos, stream, or similar media. Consider help me financially if you like this mod, I will be really grateful.