T - The tile type.public class SlotWorking<T extends WorkingTileEntity<?,?>>
extends net.minecraft.inventory.Slot
| Constructor and Description |
|---|
SlotWorking(int index,
int x,
int y,
T tile)
Make a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
isItemValid(net.minecraft.item.ItemStack itemStack) |
void |
onPickupFromSlot(net.minecraft.entity.player.EntityPlayer player,
net.minecraft.item.ItemStack itemStack) |
void |
onSlotChanged() |
canTakeStack, decrStackSize, func_111238_b, getBackgroundIconIndex, getBackgroundIconTexture, getHasStack, getSlotIndex, getSlotStackLimit, getStack, isSlotInInventory, onCrafting, onCrafting, onSlotChange, putStack, setBackgroundIcon, setBackgroundIconTextureprotected T extends WorkingTileEntity<?,?> tile
public SlotWorking(int index,
int x,
int y,
T tile)
index - The index of this slot.x - X coordinate.y - Y coordinate.tile - The tile this slot is in.public boolean isItemValid(net.minecraft.item.ItemStack itemStack)
isItemValid in class net.minecraft.inventory.Slotpublic void onPickupFromSlot(net.minecraft.entity.player.EntityPlayer player,
net.minecraft.item.ItemStack itemStack)
onPickupFromSlot in class net.minecraft.inventory.Slotpublic void onSlotChanged()
onSlotChanged in class net.minecraft.inventory.Slot