Everyone who has this mod installed shares one life.
Everyone who has this mod installed shares one life.
Take a hit and everyone takes it. Die and everyone dies. Eat a golden apple and everyone feels better.
For Minecraft 26.2 (Fabric).
sharedhealth-1.0.0.jar and Fabric API in your
mods folder:
%appdata%\.minecraft\mods~/Library/Application Support/minecraft/mods~/.minecraft/modsThat is the whole setup. There is nothing to configure, no command to run, and no invite to accept. The moment two people with the mod are on the same world, they are bound.
Players without the mod are not affected in any way. They can play on the same server normally.
A wound one person takes is dealt to everyone else bound to them, for the same amount. It ignores armour, shields, resistance and invulnerability frames, so the echo hits for exactly what the original hit was worth. Your netherite does not protect you from your friend's mistakes.
Everyone in the bond sits at the same health, always, pulled down to whoever is lowest. This works in your favour too: healing lifts everyone. One person eating a golden apple or standing in a regeneration beacon heals the whole group.
When one person dies, everyone else follows one second later. You get a warning on your action bar and a heartbeat in your ears first, so you know why it is coming.
A totem of undying still saves you from this. Keep one on you.
Being bound is not pure downside. Every extra member of the bond gives everyone +1 heart of maximum health, up to +10 hearts.
| People bound | Everyone's max health |
|---|---|
| 2 | 11 hearts |
| 4 | 13 hearts |
| 6 | 15 hearts |
| 11 or more | 20 hearts (the cap) |
A large bond is far tankier than a lone player. It is also one bad decision away from a full wipe.
A red bar sits at the top of the screen showing the shared life remaining and how many people are bound. It turns purple below 25 percent, which is your cue to stop what you are doing.
The bar only appears when at least two people are bound.
/heartbond leave steps you out of the bond. /heartbond join steps you back in.
Leaving is remembered. If you log out while unbound you stay unbound when you come back, so a relog will not quietly drag you back in.
Server operators can turn leaving off entirely with the allowLeaving setting, and can pull people
in or out themselves with /heartbond bind and /heartbond release.
Server operators can change how damage spreads with /heartbond mode <mode>.
mirror is the default. Everyone takes the full amount. One person's mistake is everyone's.
split divides the hit evenly across the bond and refunds the victim their share. With five
people bound, a 20 damage anvil becomes 4 damage each. This turns the bond into armour and makes a
big group genuinely hard to kill.
pool turns off mirroring entirely. Health is still shared and healing still spreads, but hits
are not echoed. The quiet option.
A file appears at config/sharedhealth.json the first time you run the mod. Edit it and run
/heartbond reload to apply changes without restarting.
The ones worth knowing about:
allowLeaving: false plus shareDeath: true is the hardcore setup. Nobody can opt out and
one death ends the run for everyone.Version 1.0.0. Built for Minecraft 26.2 with Fabric Loader 0.19.5 and Fabric API 0.159.0+26.2.
| Command | Who can use it |
|---|
/heartbond | Anyone. Shows who is bound, everyone's health, and the active damage mode |
/heartbond leave | Anyone. Steps out of the bond |
/heartbond join | Anyone. Steps back in |
/heartbond bind <players> | Operators. Forces players into the bond |
/heartbond release <players> | Operators. Forces players out |
/heartbond mode <mirror,split,pool> | Operators. Changes how damage spreads |
/heartbond reload | Operators. Reloads the config file |
| Setting | Default | What it does |
|---|
damageMode | "mirror" | How damage spreads. See above |
sharedPool | true | Whether health is kept level between everyone |
shareDeath | true | Whether one death takes everyone |
deathCascadeDelayTicks | 20 | How long you get between the first death and yours. 20 is one second |
shareFood | false | Share hunger as well. Meaner than it sounds |
attunementBonusPerMember | 2.0 | Bonus max health per extra member, in half hearts |
attunementMaxBonus | 20.0 | Cap on that bonus, in half hearts |
allowLeaving | true | Set to false for a no escape run. Nobody can opt out |
bondCreativePlayers | false | Whether creative and spectator players are bound |
requireModInstalled | true | Set to false and turn on bondEveryone to bind vanilla players too. The server still needs the mod |
showBossBar | true | Show the shared life bar |
The world generates upside down.
Comments