blob: fe51631a5ded965128af482571bda8f1f870fa0d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
package gtPlusPlus.core.slots;
import net.minecraft.inventory.IInventory;
import net.minecraft.inventory.Slot;
import net.minecraft.item.ItemStack;
public class SlotNoInput extends Slot{
public SlotNoInput(IInventory inventory, int x, int y, int z) {
super(inventory, x, y, z);
}
@Override
public boolean isItemValid(ItemStack itemstack) {
return false;
}
@Override
public int getSlotStackLimit() {
return 0;
}
}
|