|Modifier and Type||Method and Description|
Gets the boolean
asMutable, copy, with, with
ImmutableBoundedValuefor the amount of "ticks" of "invulnerability".
ImmutableValuewhich represents if an entity is invulnerable from most damage sources besides besides the void, players in creative mode, and manual killing like the /kill command.
This does not cover creative mode, where players can also be invulnerable.