public class SlotFurnaceFuel extends Slot
backgroundLocation, backgroundMap, backgroundName, inventory, slotNumber, xPos, yPos
Constructor and Description |
---|
SlotFurnaceFuel(IInventory inventoryIn,
int slotIndex,
int xPosition,
int yPosition) |
Modifier and Type | Method and Description |
---|---|
int |
getItemStackLimit(ItemStack stack) |
static boolean |
isBucket(ItemStack stack) |
boolean |
isItemValid(ItemStack stack)
Check if the stack is allowed to be placed in this slot, used for armor slots as well as furnace fuel.
|
canBeHovered, canTakeStack, decrStackSize, getBackgroundLocation, getBackgroundMap, getBackgroundSprite, getHasStack, getSlotIndex, getSlotStackLimit, getSlotTexture, getStack, isHere, isSameInventory, onCrafting, onCrafting, onSlotChange, onSlotChanged, onSwapCraft, onTake, putStack, setBackgroundLocation, setBackgroundName
public SlotFurnaceFuel(IInventory inventoryIn, int slotIndex, int xPosition, int yPosition)
public boolean isItemValid(ItemStack stack)
isItemValid
in class Slot
public int getItemStackLimit(ItemStack stack)
getItemStackLimit
in class Slot
public static boolean isBucket(ItemStack stack)