17 lines
No EOL
511 B
Java
17 lines
No EOL
511 B
Java
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);
|
|
}
|
|
} |