Package org.bukkit.inventory.meta
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 truevoid
setUnbreakable(boolean unbreakable)
Sets the unbreakable tag
-
Constructor Details
-
Spigot
public Spigot()
-
-
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
-