Skip to content

Fabric mod to share hits taken by players with all other active players.

License

Notifications You must be signed in to change notification settings

SametHope/mc-shared-hits-mod

Repository files navigation

Minecraft Shared Hits Mod

This is a simple Fabric mod that adds a gamerule to share damage taken by players with all other active players. It works on single-player, integrated/LAN servers, and dedicated servers.

Unlike most similar mods, shared hits in this mod share the same damage source, attack type, and direction of attack in addition to the amount of damage. This is not a health sync mod.

Official pages for this mod are:

Gamerule

/gamerule shareHits [<value>]
  • Default: true
  • When enabled, any damage a player takes is also applied to all other active players.
  • Only affects survival mode players; spectators and creative mode players are ignored. 

Permissions

  • Requires operator permissions (level 2) or higher to modify the gamerule just like any other gamerule.

Notes

  • This mod is only required on servers and will be ignored on clients.
  • Works with all vanilla (and probably modded) damage mechanics, accounting for shields, knockback, resistance effects, etc.

Video Showcase

This video shows an example of how hits are shared and applied to players with different effect and knockback resistances.

2025-03-02.02-09-31.mp4