No description
Find a file
Skye Elliot 56e7ffe839
Build against NeoForge 21.1.233, the version the pack runs
neo_version is not only the compile target: neoforge.mods.toml derives the
neoforge dependency range from it as "[${neo_version},)". Built against
21.1.250 the mod therefore declared [21.1.250,), and packpack runs 21.1.233
in all three places it pins one - pack.toml, mmc-pack.json and the
Pterodactyl egg. FML does not warn about an unsatisfied required dependency;
it refuses to load the mod, which is an incompatible-dependency screen on the
client and a startup failure on the server.

Lowering the target rather than widening the range by hand, because the two
can disagree: compiling against 250 while claiming 233 would let a
post-233 API through to a NoSuchMethodError at runtime. Building against 233
makes the compiler answer the question instead, and it did - the build is
clean, so nothing here needed anything newer.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-10 22:35:11 +01:00
gradle/wrapper Backport the 1.21.6 player locator bar to NeoForge 1.21.1 2026-09-10 22:14:03 +01:00
src/main Keep the XP bar up while an anvil or enchanting table is open 2026-09-10 22:23:53 +01:00
.gitignore Backport the 1.21.6 player locator bar to NeoForge 1.21.1 2026-09-10 22:14:03 +01:00
build.gradle Backport the 1.21.6 player locator bar to NeoForge 1.21.1 2026-09-10 22:14:03 +01:00
gradle.properties Build against NeoForge 21.1.233, the version the pack runs 2026-09-10 22:35:11 +01:00
gradlew Backport the 1.21.6 player locator bar to NeoForge 1.21.1 2026-09-10 22:14:03 +01:00
gradlew.bat Backport the 1.21.6 player locator bar to NeoForge 1.21.1 2026-09-10 22:14:03 +01:00
README.md Backport the 1.21.6 player locator bar to NeoForge 1.21.1 2026-09-10 22:14:03 +01:00
settings.gradle Backport the 1.21.6 player locator bar to NeoForge 1.21.1 2026-09-10 22:14:03 +01:00
TEMPLATE_LICENSE.txt Backport the 1.21.6 player locator bar to NeoForge 1.21.1 2026-09-10 22:14:03 +01:00

Installation information

This template repository can be directly cloned to get you started with a new mod. Simply create a new repository cloned from this one, by following the instructions provided by GitHub.

Once you have your clone, simply open the repository in the IDE of your choice. The usual recommendation for an IDE is either IntelliJ IDEA or Eclipse.

If at any point you are missing libraries in your IDE, or you've run into problems you can run gradlew --refresh-dependencies to refresh the local cache. gradlew clean to reset everything {this does not affect your code} and then start the process again.

Mapping Names:

By default, the MDK is configured to use the official mapping names from Mojang for methods and fields in the Minecraft codebase. These names are covered by a specific license. All modders should be aware of this license. For the latest license text, refer to the mapping file itself, or the reference copy here: https://github.com/NeoForged/NeoForm/blob/main/Mojang.md

Additional Resources:

Community Documentation: https://docs.neoforged.net/
NeoForged Discord: https://discord.neoforged.net/