HomeJavaModsIn Combat
In Combat
In Combat — screenshot 1

In Combat

banner image discord_link_badge Static Badge

Static Badge Static Badge

Show 1.20.1 Description

Installation

Requires

Features ✨

Becoming "In Combat"

There are a few ways the player can become in combat

When "In Combat"

The player will have HUD element indicating that they are in combat.

When the player is in combat the following rules may apply.

Configuration ⚙️

Basically everything is configurable inside the mod.

General HUD Renderer Mod Integrations

Mod Integrations

Waystones

Spell Engine

Suggest integrations in the Discord!

Technical Info

Anyone can check if the player is in combat using the in combat API. Add this project to your mod with the Modrinth Maven. Once added checks can be done like following

if(CombatCheck.isPlayerInCombat(PlayerEntity)){
  //Your code goes here...
}

Installation ⚙️

Requires

Features ✨

The Effects

Becoming In Combat

When In Combat

Configuration ⚙️

There are many config options allowing for full customization.

Server Config Client Config

In Combat API

There is an extensive API that allows mod developers to use many of the features of this mod.

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

Verified by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more