set %e:ENTITY_POSSESSIVE% invulnerable [to] %val:BOOLEAN% — Statements

set %e:ENTITY_POSSESSIVE% invulnerable [to] %val:BOOLEAN%
Entity1.0.0

Description

Sets whether an entity is invulnerable.

Examples

set mob's invulnerable to true

All Possible Usages (2)

Every distinct way you can write this pattern, with optional groups and choice groups expanded. Placeholders are shown as <name>.

set <e> invulnerable <val>
set <e> invulnerable to <val>

Related (Entity)