public class SlotDrawBridge
extends net.minecraft.inventory.Slot
Modifier and Type | Field and Description |
---|---|
protected TileEntityDrawBridge |
drawbridge |
Constructor and Description |
---|
SlotDrawBridge(TileEntityDrawBridge drawbridge,
net.minecraft.inventory.IInventory inventory,
int index,
int xPosition,
int yPosition) |
Modifier and Type | Method and Description |
---|---|
boolean |
canTakeStack(net.minecraft.entity.player.EntityPlayer playerIn) |
boolean |
isItemValid(net.minecraft.item.ItemStack stack) |
boolean |
shouldCheckExtended() |
decrStackSize, getBackgroundLocation, getBackgroundMap, getBackgroundSprite, getHasStack, getItemStackLimit, getSlotIndex, getSlotStackLimit, getSlotTexture, getStack, isEnabled, isHere, isSameInventory, onCrafting, onCrafting, onSlotChange, onSlotChanged, onSwapCraft, onTake, putStack, setBackgroundLocation, setBackgroundName
protected final TileEntityDrawBridge drawbridge
public SlotDrawBridge(TileEntityDrawBridge drawbridge, net.minecraft.inventory.IInventory inventory, int index, int xPosition, int yPosition)
public boolean canTakeStack(net.minecraft.entity.player.EntityPlayer playerIn)
canTakeStack
in class net.minecraft.inventory.Slot
public boolean isItemValid(net.minecraft.item.ItemStack stack)
isItemValid
in class net.minecraft.inventory.Slot
public boolean shouldCheckExtended()