Is an action that allows you to change the invulnerability of the entities.
Allows you to change the invulnerability of the entities, that is they will not be able to take the damage.
- 'change_invulnerable: <entity_uuid|player_name>;<mode>;<value>'
<entity_uuid | player_name> – the target to change the invulnerable for; (MANDATORY)
<mode> – may be invulnerable or noDamageTicks; (MANDATORY)
<value> – "true" or "false" in case of "invulnerable" mode or ticks duration in case of "noDamageTicks" mode. (MANDATORY)
Entities;
Players.
For example, if you want to create some kind of "newbies protection" when the new players are joining to the server.
- 'change_invulnerable: e2b4de9b-be7b-4058-86b0-04ac31195db1;invulnerable;true' # Enable the invulnerability to some entity
- 'change_invulnerable: %player%;noDamageTicks;100' # Disable the damage for the 100 ticks (5 seconds) to the current player
Last updated 21 days ago