跳到正文

Ore-Stages-Fork

作者:create_xiaoyu

This is a maintained fork of the original Ore Stages mod, with critical compatibility fixes for Minecraft 1.12.2 modpacks.

收藏

介绍

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

Ore Stages (Fixed Fork)

This is a maintained fork of the original Ore Stages mod, with critical compatibility fixes for Minecraft 1.12.2 modpacks.

Original Mod on CurseForge

⚠️ Important Notice: The original Ore Stages mod by Darkhax is no longer maintained. This fork provides essential fixes for compatibility issues with The One Probe-CE and The One Probe.

🛠️ Key Fixes in This Fork

Critical Server Crash Fix

  • Fixed: java.lang.NoSuchMethodError crashes related to PlayerUtils.getClientPlayer()
  • Cause: Service thread attempting to access client-only methods
  • Impact: Prevents dedicated server crashes when using The One Probe
  • Solution: Replaced unsafe client references with server-safe implementations

📥 Installation

  1. Download the latest build from Releases
  2. Remove the original orestages-*.jar from your mods folder
  3. Place orestages-2.1.*.jar in your mods folder
  4. Start your server/client as normal

🚀 Setup

This mod uses CraftTweaker for configuration – same as original!

// Example script (unchanged from original)
mods.orestages.OreStages.addReplacementById("one", "minecraft:potatoes:*", "minecraft:tallgrass:2");
mods.orestages.OreStages.addReplacementById("two", "minecraft:wheat:*", "minecraft:carrots:3");
mods.orestages.OreStages.addReplacement("three", <minecraft:obsidian>, <minecraft:cobblestone>);

📝 What Happens When Staged? (Same as Original)

If a player does not have the right stage for the block:

  • The block will look like its replacement
  • The player cannot right-click the block
  • Drops replacement block’s items
  • Mining time matches the replacement block

🔧 CraftTweaker Methods (Unchanged)

// Standard replacements
mods.orestages.OreStages.addReplacement(String stage, IIngredient original);
mods.orestages.OreStages.addReplacement(String stage, IIngredient original, IItemStack replacement);
mods.orestages.OreStages.addReplacementById(String stage, String original, String replacement);

// Non-defaulting replacements
mods.orestages.OreStages.addNonDefaultingReplacement(String stage, IIngredient original);
mods.orestages.OreStages.addNonDefaultingReplacement(String stage, IIngredient original, IItemStack replacement);
mods.orestages.OreStages.addNonDefaultingReplacementById(String stage, String original, String replacement);

🛠️ Building from Source

git clone https://github.com/create-xiaoyu/Ore-Stages-Fork.git
cd Ore-Stages
./gradlew build
# Output: build/libs/orestages-2.1.x.jar

🙏 Credits

  • Darkhax: Original mod author
  • The One Probe-CE Mods Team: Assistance with compatibility fixes
  • GameStages Team: API improvements
  • Community Contributors: Bug reports and testing

💬 Support

For issues with this fork, please open an issue.


Sponsor Notice
Nodecraft
This project is based on work originally sponsored by Nodecraft.
Use code Darkhax for 30% off your first month of service!


Disclaimer: This is an unofficial fork. Not affiliated with or endorsed by Darkhax or the original mod developers.

常见问题

Ore-Stages-Fork 支持哪些 Minecraft 版本?

Ore-Stages-Fork 支持 Minecraft Java 版 1.12.2,可用的加载器:Forge。下载时注意选择和你游戏版本一致的文件。

Ore-Stages-Fork 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Forge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。

评论

登录后评论和评分

create_xiaoyu 的其他作品

查看全部 →