Class ItemMeta.Spigot

java.lang.Object
org.bukkit.inventory.meta.ItemMeta.Spigot
Enclosing interface:
ItemMeta

public static class ItemMeta.Spigot
extends java.lang.Object
  • Constructor Summary

    Constructors 
    Constructor Description
    Spigot()  
  • Method Summary

    Modifier and Type Method Description
    boolean isUnbreakable()
    Return if the unbreakable tag is true
    void setUnbreakable​(boolean unbreakable)
    Sets the unbreakable tag

    Methods inherited from class java.lang.Object

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

  • Method Details

    • setUnbreakable

      public void setUnbreakable​(boolean unbreakable)
      Sets the unbreakable tag
      Parameters:
      unbreakable - true if set unbreakable
    • isUnbreakable

      public boolean isUnbreakable()
      Return if the unbreakable tag is true
      Returns:
      true if the unbreakable tag is true