ModsJava
Mediumcore Fix
Java mod listed for Minecraft 1.20. Downloads from the MC Java Mods app on Android.
⬇ Download on CurseForgeThe author built this one for Minecraft 1.20.1 on Forge. On other versions it may install and then do nothing.
Problem
The original Mediumcore in onLivingDeath uses player.getMaxHealth(), which INCLUDES modifiers from external sources (rings, armor, etc.).
Example with a +20 HP ring:
- maxHealth = 40 (20 base + 20 ring)
- clippedHealth = clip(40 - 2, 6, 20) = 20 (clamped to maxPlayerHealth!)
- healthModifiedBy = 0 + (20 - 40) = -20!
- After respawn: maxHealth = 20 + 0 + (-20) = 0 HP → the player gains 1 HP.
Solution
Introduce BASE_HEALTH_TAG to store the "pure" base health, which is independent of external modifiers.
Quick facts
- Edition: Minecraft Java
- File type: .jar
- Minecraft version listed: 1.20.1
- How to install: Install the matching mod loader (Forge, Fabric or NeoForge) for your Minecraft version. → Download the .jar. → Put it in the .minecraft/mods folder and launch that loader profile.
- Where to get it: Opens on CurseForge — not every file is mirrored on our own servers.
Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.
File checked by MCModsHub
- Ships as mediumcore_fix-1.0.0.jar — drop this file into the mods folder
- Download size: 7 KB
- Download link checked 2 Oct 2026 — working
These come from our own check of the pack file, not from the source page.