public class SlotRemoveOnly
extends net.minecraft.inventory.Slot
ItemStack, not place one inside it.| Constructor and Description |
|---|
SlotRemoveOnly(net.minecraft.inventory.IInventory inventory,
int index,
int x,
int y)
Make a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
isItemValid(net.minecraft.item.ItemStack itemStack) |
canTakeStack, decrStackSize, func_111238_b, getBackgroundIconIndex, getBackgroundIconTexture, getHasStack, getSlotIndex, getSlotStackLimit, getStack, isSlotInInventory, onCrafting, onCrafting, onPickupFromSlot, onSlotChange, onSlotChanged, putStack, setBackgroundIcon, setBackgroundIconTexturepublic SlotRemoveOnly(net.minecraft.inventory.IInventory inventory,
int index,
int x,
int y)
inventory - The inventory for which the slot applies.index - The index the slot is at.x - The X coordinate for the slot to render at.y - The Y coordinate for the slot to render at.