Skip to content

Entity-specific Damage Invulnerability

Allows the setting of a specific entity to be invulnerable to a specific damage type.

<1,000 downloads Updated

Last update on each platform

No ratings yet

Be the first to rate it.

Rate it

Community listing page

Community listing page, reviews may not be monitored by the author.

About

Description

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

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