blob: 9cc7f3ed11a45dab53f619eb8f442e1b06e4b8b0 [file] [log] [blame] [raw]
package net.glowstone.inventory;
import org.bukkit.inventory.ItemStack;
/**
* Represents an entity which can view an inventory.
* @author Tad
*/
public interface InventoryViewer {
/**
* Inform the viewer that an item has changed.
* @param inventory The GlowInventory in which a slot has changed.
* @param slot The slot number which has changed.
* @param item The ItemStack which the slot has changed to.
*/
public void onSlotSet(GlowInventory inventory, int slot, ItemStack item);
}