XP Threshold Cap is a Minecraft NeoForge plugin that caps experience progression in integrated singleplayer worlds when the experience required for the next level exceeds 128 XP. It allows players to reach level 32, then prevents further experience progression by resetting excess progress to the level 32 threshold.
- Use Minecraft 1.21.1 with NeoForge 21.1.172 or a compatible NeoForge 21.1 release.
- Ensure Java 21 is installed.
- Build the project with Gradle:
./gradlew build- Copy the generated JAR from
build/libs/into themodsfolder of the NeoForge Minecraft installation. - Start Minecraft with the NeoForge profile.
- Create or open an integrated singleplayer world.
- Earn experience normally.
- The plugin allows progression until level 32.
- Once the next-level requirement is greater than 128 XP, additional experience is prevented.
- The player remains at level 32 with zero progress toward the next level.
The cap is applied only to integrated singleplayer worlds. Dedicated multiplayer servers are not affected.
More Minecraft plugin projects by EnderDevelopment: https://github.com/EnderDevelopment