This page goes over about the Inventory object.
getHeldItem(): ItemStack
Returns the current held itemstack.
getItemStackInSlot(slot): ItemStack
Returns the item stack in specified slot.
Last updated 2 years ago