ChestShop-3/com/Acrobot/ChestShop/Containers/Container.java

21 lines
345 B
Java
Raw Normal View History

2012-04-19 17:12:49 +02:00
package com.Acrobot.ChestShop.Containers;
import org.bukkit.inventory.ItemStack;
/**
* @author Acrobot
*/
2012-04-19 17:12:49 +02:00
public interface Container {
boolean isEmpty();
void addItem(ItemStack item);
2011-05-29 13:25:25 +02:00
void removeItem(ItemStack item);
int amount(ItemStack item);
2011-05-29 13:25:25 +02:00
boolean hasEnough(ItemStack item);
2011-05-29 13:25:25 +02:00
boolean fits(ItemStack item);
}