Dragon Egg Hearts

Dragon Egg Hearts

Carry a Dragon Egg to gain bonus hearts (configurable) as well as optional effects and restrictions.

by
841 Downloads
fabricgame-mechanicsutility
Rent Server with this Mod

Screenshots

Player Effects
Player Effects Cont.

About this Mod

Dragon Egg Hearts

A Fabric mod for Minecraft 1.21.11 where carrying a Dragon Egg grants bonus max health.

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

  1. Install Fabric Loader for Minecraft 1.21.11.
  2. Install Fabric API.
  3. Put the mod .jar file in your mods folder.
  4. 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 when doubleHearts is 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

Available Versions

Dragon Egg Hearts 1.0.3release
MC 26.1, 26.1.1, 26.1.2fabric
April 11, 2026
Dragon Egg Hearts 1.0.2release
MC 26.1, 26.1.1fabric
April 9, 2026
Dragon Egg Hearts 1.0.1release
MC 1.21.11fabric
March 19, 2026
Dragon Egg Hearts 1.0.0release
MC 1.21.11fabric
March 1, 2026

How to Install Dragon Egg Hearts on Your Server

1

Order Server

Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).

2

Set fabric Loader

In the panel under "Egg", select the fabric loader and matching Minecraft version (26.1.2).

3

Install Mod

Open the mod browser in the dashboard and search for "Dragon Egg Hearts". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.

Compatibility

Mod Loaders

fabric

Minecraft Versions

26.1.2, 26.1.1, 26.1 (+1 more)

Server-side

Required

Recommended RAM

4 GB(min. 3 GB)

Frequently Asked Questions

Dragon Egg Hearts server crashes on startup – what to do?

Most common cause: wrong fabric version or insufficient RAM. Check the server log (latest.log) for "OutOfMemoryError" or "Mixin" errors. With Mado Hosting: ensure at least 3 GB RAM is allocated and the loader matches the mod version (26.1.2). You can switch loaders with one click in the panel.

Is Dragon Egg Hearts compatible with fabric?

Dragon Egg Hearts officially supports fabric for Minecraft 26.1.2, 26.1.1, 26.1. The Mado dashboard automatically detects incompatible loader combinations.

Server lagging with Dragon Egg Hearts – how to optimize performance?

Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if Dragon Egg Hearts consumes the most tick time. Common fixes: reduce server view-distance to 8-10, install "performant" or "starlight" as supplementary mods on Forge. With Mado Hosting, your server runs on NVMe SSDs with dedicated CPU cores for minimal latency.

Rent Modded Server

Install Dragon Egg Hearts with just one click on your server.

Recommended RAM
4 GBab €8/mo
Min. 3 GB | +1 GB pro 8 Spieler
Create Server Now
1-Click Mod Install
NVMe SSD Storage
DDoS Protection included

Details

License
MIT License
Server-side
Required

Supported Versions

26.1.226.1.126.11.21.11