
ModsJava
Dragon Egg Hearts
I don't know my version or loader
Open the Minecraft launcher and look at the profile you play on — it names both, like fabric-loader-1.21.4. The version also shows in the bottom-right corner of the game's main menu.
No loader in the profile name? Then it's plain Minecraft, and these mods won't run — you need Fabric or NeoForge installed first.

Dragon Egg Hearts
A Fabric mod for Minecraft 1.21.11 where carrying a Dragon Egg grants bonus max health.
-- Warning --
This mod was made with ai, there could be issues.
Features
(Configurable)
- Bonus hearts while a Dragon Egg is in your player inventory.
- Bonus max health will save across relog/rejoin while carrying the egg.
- Glowing outline while carrying a Dragon Egg.
- Red player name while carrying a Dragon Egg.
- Restriction to prevent storing Dragon Eggs in containers/shulkers/bundles.
- Hopper insertion blocking for Dragon Eggs.
- Allay interaction blocking and fox pickup blocking for Dragon Eggs.
- Item frame interaction blocking for Dragon Eggs.
- Enderman stare-aggro immunity for Dragon Egg carriers.
- Mob-targeting behavior where neutral mobs, excluding endermen, will become aggro towards egg carrier and hostiles mobs will prioritize egg carrier over other players.
- Dragon Egg coordinate chat announcements when it is placed down.
- Dragon Egg restore-to-End-portal protection for void/hazard loss.
- Configurable bonus heart amount when doubleHearts is set to false.
Requirements
- Minecraft
1.21.11 - Fabric Loader
0.17.3+ - Fabric API
- Java
21
Installation
- Install Fabric Loader for Minecraft 1.21.11.
- Install Fabric API.
- Put the mod
.jarfile in yourmodsfolder. - Start the game/server once to generate config.
Configuration
Config file path:
config/dragonegghearts.json
Options:
doubleHearts(boolean): If true, carrying a Dragon Egg doubles base health (+10 hearts / +20 health).extraHearts(number): Bonus hearts whendoubleHeartsis false.outline(boolean): If true, player gets glowing outline while carrying a Dragon Egg.redPlayerName(boolean): If true, player name is red while carrying a Dragon Egg.allowStorageInContainers(boolean): If false, Dragon Eggs cannot be stored in containers/shulkers/bundles.blockHopperEggInsertion(boolean): If true, hoppers cannot insert Dragon Eggs.blockAllayEggInteractions(boolean): If true, allays cannot take, hold, or pick up Dragon Eggs.blockEggUseOnItemFrames(boolean): If true, using a Dragon Egg on item frames is blocked.blockFoxEggPickup(boolean): If true, foxes cannot pick up Dragon Eggs.endermanIgnoreStareForEggCarriers(boolean): If true, endermen ignore stare aggro checks for egg carriers.angerNeutralMobsToEggCarriers(boolean): If true, nearby neutral angerable mobs aggro egg carriers.prioritizeHostilesToEggCarriers(boolean): If true, nearby hostiles prioritize egg carriers as targets.announceEggCoordinates(boolean): If true, the mod periodically broadcasts Dragon Egg coordinates.eggCoordsMessageIntervalTicks(number): Tick interval between coordinate broadcasts (minimum 20).- (Remember there are 20 ticks per second)
restoreEggToEndPortalOnLoss(boolean): If true, eggs lost to void/hazard are restored to the End portal area.debugLogging(boolean): Enables extra server log output for troubleshooting.
Building
./gradlew build
Built jars are in:
build/libs/
License
Licensed MIT
Quick facts
- Edition: Minecraft Java
- File type: .jar
- Minecraft versions listed: 26.1, 26.1.1, 26.1.2
- 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 Modrinth — 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.
Verified by MCModsHub
- Ships as dragon-egg-hearts-1.0.3.jar — drop this file into the mods folder
- Download size: 43 KB
- Download link checked 31 Aug 2026 — working
These come from our own check of the pack file, not from the source page.