-
- All Implemented Interfaces:
public class ItemAttributes
-
-
Field Summary
Fields Modifier and Type Field Description private final BooleanisSupportedBukkitVersionpublic final static ItemAttributesINSTANCE
-
Method Summary
Modifier and Type Method Description final ItemStackconditionallyCloneWithDefaultAttributes(ItemStack itemStack)Creates a copy of the ItemStack with default attributes if it doesn't already have attributes attached. final ItemStackcloneWithDefaultAttributes(ItemStack itemStack)Creates a copy of the ItemStack with default attributes. final BooleanisSupportedBukkitVersion()Returns trueif the version of bukkit-
-
Method Detail
-
conditionallyCloneWithDefaultAttributes
final ItemStack conditionallyCloneWithDefaultAttributes(ItemStack itemStack)
Creates a copy of the ItemStack with default attributes if it doesn't already have attributes attached.
-
cloneWithDefaultAttributes
final ItemStack cloneWithDefaultAttributes(ItemStack itemStack)
Creates a copy of the ItemStack with default attributes.
-
isSupportedBukkitVersion
final Boolean isSupportedBukkitVersion()
Returns
trueif the version of bukkit
-
-
-
-