public class SlotLocked extends SlotForestry
| Constructor and Description |
|---|
SlotLocked(net.minecraft.inventory.IInventory inventory,
int slotIndex,
int xPos,
int yPos) |
| Modifier and Type | Method and Description |
|---|---|
net.minecraft.item.ItemStack |
decrStackSize(int i) |
boolean |
isItemValid(net.minecraft.item.ItemStack par1ItemStack) |
net.minecraft.item.ItemStack |
onTake(net.minecraft.entity.player.EntityPlayer player,
net.minecraft.item.ItemStack itemStack) |
blockShift, canAdjustPhantom, canShift, canTakeStack, getSlotStackLimit, getToolTip, isMouseOver, isPhantom, isToolTipVisible, putStack, setCanAdjustPhantom, setPhantom, setStackLimit, setToolTipsgetBackgroundLocation, getBackgroundMap, getBackgroundSprite, getHasStack, getItemStackLimit, getSlotIndex, getSlotTexture, getStack, isEnabled, isHere, isSameInventory, onCrafting, onCrafting, onSlotChange, onSlotChanged, onSwapCraft, setBackgroundLocation, setBackgroundNameclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisRelativeToGuipublic SlotLocked(net.minecraft.inventory.IInventory inventory,
int slotIndex,
int xPos,
int yPos)
public net.minecraft.item.ItemStack onTake(net.minecraft.entity.player.EntityPlayer player,
net.minecraft.item.ItemStack itemStack)
onTake in class net.minecraft.inventory.Slotpublic boolean isItemValid(net.minecraft.item.ItemStack par1ItemStack)
isItemValid in class net.minecraft.inventory.Slotpublic net.minecraft.item.ItemStack decrStackSize(int i)
decrStackSize in class net.minecraft.inventory.Slot