Compatibility
Minecraft: Java Edition
1.19–1.19.3
1.18.2
Platforms
Fabric
Supported environments
75% of ad revenue goes to creators
Support creators and Modrinth ad-free with Modrinth+Links
Creators
Details
Licensed MIT
Published last year
Updated last year
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