In Combat
by EaglesEye
In Combat tracks when a player is fighting, and it can block actions and regeneration while that state lasts, all configurable on the server and client.
What it does
A player enters combat through a few triggers: receiving damage, dealing damage, or having a specific status effect. While the state lasts, a HUD element shows that the player is in combat. Death counts as a disconnect, so leaving mid-fight is handled by the mod's rules. Config options decide which actions stay locked during combat, including natural regeneration and breaking or placing blocks, both disabled by default.
The mod needs Cloth Config API for its settings screen and Fabric API for the core hooks. It is open source under the MIT License and is published for Fabric only, with builds for 1.20.1 and 1.21.1. Files run on client and server, so the server and every player install it. A mod can also integrate with oωo owo-lib, which the config layer draws on.
Key features
Combat detection
Combat starts from received damage, dealt damage, or a specific status effect, so several situations trigger the same state.
Combat HUD indicator
A HUD element shows the player that combat is active, so the state is visible during play.
Action restrictions
Natural regeneration and block breaking or placing can be blocked during combat, both off by default in the config.
Configurable rules
Every rule is configurable inside the mod, from which triggers count to which actions are restricted.
Gallery
Compatibility
Latest build for each game version and loader.
Only full game releases are shown. This mod publishes no snapshot builds.
Requirements
Dependencies declared by the latest file for each loader.
Required 2
Use cases
Survival pacing
Servers can stop regeneration and building while a fight runs, so a fight has a cost beyond health.
Disconnect rules
Death during combat is treated as a disconnect under the rules, which discourages logging out to escape a fight.
Who it’s for: Server owners and modpack authors who want combat to restrict other actions, and players who want a visible combat state on a survival world.
How it compares
Sinplem-Combat Mode is a Fabric mod for 1.21.11, client and server, under the BSD 2-Clause License, and it is not open source. ShieldIndicator is a Fabric mod for 1.20.1, client-side only, released under the MIT License and open source, so players need it alone and servers do not. ElytraArmorStand is a Fabric mod for 1.21.1 – 1.21.11 where either side can run it, under All rights reserved and not open source.
| Mod | Loaders | Game versions | Environment | Updated |
|---|---|---|---|---|
| In Combat | Fabric | 1.20.1 – 1.21.1 | Client and server | 2026-08-04 |
| Sinplem-Combat Mode | Fabric | 1.21.11 | Client and server | 2026-08-04 |
| ShieldIndicator | Fabric | 1.20.1 | Client-side only | 2024-01-27 |
| ElytraArmorStand | Fabric | 1.21.1 – 1.21.11 | Client or server, optional | 2026-08-19 |
Questions
Does In Combat need Cloth Config API?
Does the server need In Combat installed?
Which versions does In Combat support?
In the catalog
In Combat is one of 29,952 Game mechanics mods on ModsFinder, and one of 19,630 Game mechanics mods for Fabric. 32,366 mods support Minecraft 1.21.1.
More from EaglesEye
Similar mods
What the author says
The player will have HUD element indicating that they are in combat. When the player is in combat the following rules may apply.
Official listing
- Modrinth page
- modrinth.com/mod/in-combat
- Owner
- EaglesEye
- Published
- 2025-08-13
- Updated on Modrinth
- 2026-08-04
- Facts verified
- 2026-10-15
