ItemStack
Functions
getMaxStackSize
var maxSize = itemStack.getMaxStackSize()
Returns a Number with the maximum stack size of the item stack
getDisplayName
var itemStackName = itemStack.getDisplayName()
Returns a String of the item stack's name
hasEffect
var effect = itemStack.hasEffect()
Returns True if the item stack has an enchantment effect
Last updated
Was this helpful?