A port of Globox1997's MobZ, for Minecraft versions (Supports both Forge and Fabric):
This branch is for Minecraft [1.21, 1.21.1].
1.16.5 only has Forge version, for 1.16.5 Fabric version, check out the original MobZ.
This mod adds vanilla style mobs, blocks and items.
Since 3.2.0 for Minecraft 1.17.1 (including the patched 3.0.2 for Minecraft 1.16.5), the Forge version also depends on Cloth Config API.
Neoforge support is introduced since Minecraft 1.20.4 and requires Cloth Config API.
Since 3.3.0 for Minecraft 1.18.1, the Fabric version starts to depend on Fabric Shield Lib. Using this library alleviates the compatibility issue with other mods that add shields.
You need to install Fabric Loader, Fabric API, Cloth Config API and Fabric Shield Lib together with this mod. Mod menu is highly recommended. For version requirements, check out the release page of this repo.
Since 1.17.1, MobZ (Reborn) for Fabric and Forge share the common code base as much as possible (in the src
folder). The entire code base uses Minecraft official mapping. The platform-specific code and resources are in forge
and fabric
folder, they provide a thin layer of abstraction and hide the difference between Forge and Fabric.
To modify and debug the code, first import either "forge" or "fabric" folder as a Gradle project into the Eclipse IDE, and then run the gradle task genEclipseRuns
. Intellij IDEA is also supported.
To debug the Fabric project in Eclipse, you need to copy fabric\fabric_loader_dependencies.json
into fabric\run\config
folder, otherwise Fabric loader will complain about the dependencies.
Windows users need to replace ./
and ../
with .\
and ..\
respectively.
git clone https://github.com/rikka0w0/MobZReborn.git
cd MobZReborn/$LOADER_NAME
./gradlew clean prepareInfo runData
./gradlew build
where $LOADER_NAME must be one of:
./gradlew -Dorg.gradle.java.home=/path_to_jdk_directory <commands>
Special thanks to Globox1997 who originally made this fantastic mod 感谢mcmod.cn的天涯提供的中文本地化