public class ExclusiveSlot
extends net.minecraft.inventory.Slot
| Constructor and Description | 
|---|
ExclusiveSlot(net.minecraft.inventory.IInventory inv,
             int index,
             int xPos,
             int yPos)  | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
isItemValid(net.minecraft.item.ItemStack itemStack)  | 
ExclusiveSlot | 
setExclusive(java.util.Set<net.minecraft.item.Item> exclusive)
Sets the black/whitelist 
 | 
ExclusiveSlot | 
setWhitelist(boolean whitelist)
Sets whether to do a whitelist or blacklist 
 | 
canTakeStack, decrStackSize, func_111238_b, getBackgroundIconIndex, getBackgroundIconTexture, getHasStack, getSlotIndex, getSlotStackLimit, getStack, isSlotInInventory, onCrafting, onCrafting, onPickupFromSlot, onSlotChange, onSlotChanged, putStack, setBackgroundIcon, setBackgroundIconTexturepublic ExclusiveSlot(net.minecraft.inventory.IInventory inv,
             int index,
             int xPos,
             int yPos)
public ExclusiveSlot setExclusive(java.util.Set<net.minecraft.item.Item> exclusive)
exclusive - The set for the black/whitelistpublic ExclusiveSlot setWhitelist(boolean whitelist)
whitelist - Set this to true for a whitelist (default) false for blacklistpublic boolean isItemValid(net.minecraft.item.ItemStack itemStack)
isItemValid in class net.minecraft.inventory.Slot