Creates a slot with an item and its highest value as count.
Creates a slot giving an item and a count in range 0..255 (unsigned byte). Setting an higher value it's impossible due to protocol's limitations.
Fills the slot setting the count as the max stacking value of the item.
Checks whether or not the slot is empty. A slot is considered empty when its count is equal to 0 or when its item is null.
Checks whether or not the slot is full. The slot is considered full when its count is equals or higher than the item's max stackable size.
Gets the slot's item.
Container for an item stack that has always a value. If the slot is not empty, an Item instance and the count can be stored.
Conventionally an empty slot is always constructed using Slot(null)