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