Class ItemStack
java.lang.Object
fr.fidorial.inventory.ItemStack
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintcount()booleanbooleanbooleaninthashCode()booleanbooleanhasLore()id()booleanisEmpty()itemName()lore()static ItemStacktoString()withAttributeModifier(AttributeModifier modifier) withAttributeModifiers(@Nullable List<AttributeModifier> modifiers) withCount(int newCount) withCustomName(Component name) withItemName(Component name) withLoreLine(Component line)
-
Field Details
-
EMPTY
-
-
Constructor Details
-
ItemStack
-
ItemStack
-
-
Method Details
-
of
-
id
-
count
public int count() -
customName
-
itemName
-
lore
-
attributeModifiers
-
hasCustomName
public boolean hasCustomName() -
hasItemName
public boolean hasItemName() -
hasLore
public boolean hasLore() -
hasAttributeModifiers
public boolean hasAttributeModifiers() -
isEmpty
public boolean isEmpty() -
withCount
-
withCustomName
-
withItemName
-
withLore
-
withLoreLine
-
withAttributeModifiers
-
withAttributeModifier
-
equals
-
hashCode
-
toString
-