All inventory stuff in org.bukkit moved to org.bukkit.inventory

This commit is contained in:
Dinnerbone
2011-01-15 21:27:40 +00:00
parent b923ccf636
commit f419f23cf3
12 changed files with 15 additions and 12 deletions

View File

@@ -0,0 +1,27 @@
package org.bukkit.inventory;
/**
* Represents a slot in an inventory
*/
public interface Slot {
/**
* Gets the inventory this slot belongs to
*
* @return The inventory
*/
public Inventory getInventory();
/**
* Get the index this slot belongs to
*
* @return Index of the slot
*/
public int getIndex();
/**
* Get the item from the slot.
*
* @return ItemStack in the slot.
*/
public ItemStack getItem();
}