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.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • isInvulnerable

      public boolean isInvulnerable()
      Returns whether this entity is invulnerable.
      Returns:
      True if the entity is invulnerable.