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)
| 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. |