GT5-Unofficial/src/main/java/gregtech/api/gui/GT_Slot_DataOrb.java

17 lines
497 B
Java
Raw Normal View History

2015-04-23 16:14:22 +00:00
package gregtech.api.gui;
import gregtech.api.enums.ItemList;
import net.minecraft.inventory.IInventory;
import net.minecraft.inventory.Slot;
import net.minecraft.item.ItemStack;
public class GT_Slot_DataOrb extends Slot {
public GT_Slot_DataOrb(IInventory par1iInventory, int par2, int par3, int par4) {
super(par1iInventory, par2, par3, par4);
}
@Override
public boolean isItemValid(ItemStack aStack) {
return ItemList.Tool_DataOrb.isStackEqual(aStack, false, true);
}
}