HomeJavaModsEntity-specific Damage Invulnerability
Entity-specific Damage Invulnerability
ModsJava

Entity-specific Damage Invulnerability

by capitalistspz · on Modrinth

Which Minecraft do you have?

Every version of the game needs its own build. Pick yours, then download — the wrong build installs fine and then does nothing in the game. This mod is built for Fabric only.

⬇ Download for 1.19–1.19.3⬇ Download for 1.18.2
I don't know my version or loader
Open the Minecraft launcher and look at the profile you play on — it names both, like fabric-loader-1.21.4. The version also shows in the bottom-right corner of the game's main menu.
No loader in the profile name? Then it's plain Minecraft, and these mods won't run — you need Fabric or NeoForge installed first.

Damage type invulnerability for an entity can be set with the following command:

/dmginvuln <entities> set <damage_type> <invulnerable>

/dmginvuln @a set fall true - sets fall damage immunity for all players

You can query damage type invulnerability with:

/dmginvuln <entities> get <damage_type>

/dmginvuln @e[type=creeper,limit=1, sort=nearest] get onFire - gets whether the closest creeper is invulnerable to fire or not

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