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 {
|
2015-10-22 02:15:09 +00:00
|
|
|
public GT_Slot_DataOrb(IInventory par1iInventory, int par2, int par3, int par4) {
|
|
|
|
super(par1iInventory, par2, par3, par4);
|
|
|
|
}
|
|
|
|
|
2015-04-23 16:14:22 +00:00
|
|
|
@Override
|
2015-10-22 02:15:09 +00:00
|
|
|
public boolean isItemValid(ItemStack aStack) {
|
2015-04-23 16:14:22 +00:00
|
|
|
return ItemList.Tool_DataOrb.isStackEqual(aStack, false, true);
|
|
|
|
}
|
|
|
|
}
|