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.
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.
Last Note
If you liked the mod and are a mod maker or simply have a github account, I'd appreciate it a lot if you gave the project a star at https://github.com/SametHope/mc-shared-hits-mod.
Как поиграть с друзьями с модом Shared Hits?
Мод Shared Hits куда интереснее в компании: поднимите сервер Майнкрафт с уже установленным модом, позовите друзей и играйте по своим правилам. Хостинг Майнкрафт для мода Shared Hits будет готов за пару минут - BungeeHost сделает всё за вас.

