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