MCPcopy Create free account
hub / github.com/Teneted/Tenet / setInvulnerable

Method setInvulnerable

src/main/java/org/bukkit/entity/Entity.java:471–471  ·  view source on GitHub ↗

Sets whether the entity is invulnerable or not. When an entity is invulnerable it can only be damaged by players in creative mode. @param flag if the entity is invulnerable

(boolean flag)

Source from the content-addressed store, hash-verified

469 * @param flag if the entity is invulnerable
470 */
471 public void setInvulnerable(boolean flag);
472
473 /**
474 * Gets whether the entity is invulnerable or not.

Callers 1

setInvulnerableMethod · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected