Package org.bukkit.entity
Class Entity.Spigot
java.lang.Object
org.bukkit.entity.Entity.Spigot
- Direct Known Subclasses:
Arrow.Spigot
,LightningStrike.Spigot
,Player.Spigot
- Enclosing interface:
- Entity
public static class Entity.Spigot
extends java.lang.Object
-
Constructor Summary
Constructors Constructor Description Spigot()
-
Method Summary
Modifier and Type Method Description boolean
isInvulnerable()
Returns whether this entity is invulnerable.
-
Constructor Details
-
Spigot
public Spigot()
-
-
Method Details
-
isInvulnerable
public boolean isInvulnerable()Returns whether this entity is invulnerable.- Returns:
- True if the entity is invulnerable.
-