跳到正文

Dimension Fixer

作者:mahmudindev

Fix hardcoded behavior of dimension mainly for custom dimension.

收藏

介绍

中文介绍正在准备中,下面暂时显示原文。

Dimension Fixer

Dimension Fixer can fix hardcoded behavior of dimension mainly for custom dimension. With this, you can fix common custom dimension issues via config or datapack.

This mod are made for personal gameplay tinkering, server customization, and modpack creation.

Important

  • [0.0.11] Config file migrated from “dimensionfixer.json” to “dimensionfixer-common.toml”.

This mod only fixes hardcoded dimension behavior. To customize nether or end portal link, use Dimension Link.

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 and <=[MC 1.21.11]).
  • Override flat dimension check (>=0.0.9).
  • Simple configuration and datapack support.

Can be added to existing world or modpack and can be removed from existing world easily. Please make sure to backup your world first.

Suggest new features for vanilla or modded custom dimension on GitHub Discussion or Discord would be appreciated.

Usage

You can configure this mod by config or data driven by using datapack.

Config
dimensionfixer-common.toml
[aliases]

	[aliases."minecraft:overworld"]
		dimension_types = ["minecraft:overworld", "minecraft:overworld_caves", "customdimensiontype:overworld_mirror"]
		dimensions = ["customdimension:overworld_mirror"]

	[aliases."minecraft:the_nether"]
		dimension_types = ["minecraft:the_nether", "customdimensiontype:the_nether_mirror"]
		dimensions = ["customdimension:the_nether_mirror"]

	[aliases."minecraft:the_end"]
		dimension_types = ["minecraft:the_end", "customdimensiontype:the_end_mirror"]
		dimensions = ["customdimension:the_end_mirror"]

	[aliases."customdimension:dimension"]
		dimension_types = ["customdimensiontype:dimension_mirror"]
		dimensions = ["customdimension:dimension_mirror"]

[tweaks]

	[tweaks."customdimension:dimension"]
		fix_sleeping = true
		fix_portal_search_radius = true
		override_flat_check = true
dimensionfixer.json (OLD)
{
    "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\\{name}.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\\{name}.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” on its config.
  • [YUNG’s Better End Island] Dragon Fight fix does not work (<=[MC 1.21.11]).

Check other issues or report new issues on GitHub Issues is recommended.

Support

🟩 26.1-26.4 / 🟩 1.21.1 / 🟥 1.21-1.21.11 / 🟩 1.20.1 / 🟪 1.16.5 / 🟪 1.12.2

🟩 Supported
🟥 Support Dropped
🟨 In Progress
🟪 Considered

Permissions

Feel free to use in servers, modpacks, videos, live streams, or any similar media without need for attribution or ask permission. The mod file itself, its assets, and code cannot be sold, re-licensed, or put behind a paywall.

See me on GitHub
Available on CurseForge
Watch me on YouTube
Chat with me on Discord
Support me on Patreon
Support me on Ko-fi
Support me on Saweria

Consider to help me financially if you like my mods, I will be really grateful.

常见问题

Dimension Fixer 支持哪些 Minecraft 版本?

Dimension Fixer 支持 Minecraft Java 版 1.20.1–26.3,共 18 个版本,可用的加载器:Fabric / Forge / NeoForge。下载时注意选择和你游戏版本一致的文件。

Dimension Fixer 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric / Forge / NeoForge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:客户端 / 服务端。

评论

登录后评论和评分

mahmudindev 的其他作品

查看全部 →