2015-04-23 16:14:22 +00:00
|
|
|
package gregtech.api.interfaces;
|
|
|
|
|
|
|
|
import net.minecraft.block.Block;
|
|
|
|
import net.minecraft.item.Item;
|
|
|
|
import net.minecraft.item.ItemStack;
|
|
|
|
|
|
|
|
public interface IItemContainer {
|
2015-10-22 02:15:09 +00:00
|
|
|
public Item getItem();
|
|
|
|
|
|
|
|
public Block getBlock();
|
|
|
|
|
|
|
|
public boolean isStackEqual(Object aStack);
|
|
|
|
|
|
|
|
public boolean isStackEqual(Object aStack, boolean aWildcard, boolean aIgnoreNBT);
|
|
|
|
|
|
|
|
public ItemStack get(long aAmount, Object... aReplacements);
|
|
|
|
|
|
|
|
public ItemStack getWildcard(long aAmount, Object... aReplacements);
|
|
|
|
|
|
|
|
public ItemStack getUndamaged(long aAmount, Object... aReplacements);
|
|
|
|
|
|
|
|
public ItemStack getAlmostBroken(long aAmount, Object... aReplacements);
|
|
|
|
|
|
|
|
public ItemStack getWithDamage(long aAmount, long aMetaValue, Object... aReplacements);
|
|
|
|
|
|
|
|
public IItemContainer set(Item aItem);
|
|
|
|
|
|
|
|
public IItemContainer set(ItemStack aStack);
|
|
|
|
|
|
|
|
public IItemContainer registerOre(Object... aOreNames);
|
|
|
|
|
|
|
|
public IItemContainer registerWildcardAsOre(Object... aOreNames);
|
|
|
|
|
|
|
|
public ItemStack getWithCharge(long aAmount, int aEnergy, Object... aReplacements);
|
|
|
|
|
|
|
|
public ItemStack getWithName(long aAmount, String aDisplayName, Object... aReplacements);
|
|
|
|
|
|
|
|
public boolean hasBeenSet();
|
2015-04-23 16:14:22 +00:00
|
|
|
}
|