aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/gtPlusPlus/core/slots/SlotGeneric.java
blob: bfb384efe8e8ed4b3a4bd51903a8430443e664b7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
package gtPlusPlus.core.slots;

import net.minecraft.inventory.IInventory;
import net.minecraft.inventory.Slot;
import net.minecraft.item.ItemStack;

public class SlotGeneric extends Slot {

    public SlotGeneric(final IInventory inventory, final int aSlotID, final int x, final int y) {
        super(inventory, aSlotID, x, y);
    }

    @Override
    public boolean isItemValid(final ItemStack itemstack) {
        return true;
    }

    @Override
    public int getSlotStackLimit() {
        return 64;
    }
}