public class SlotFurnaceFuel extends Slot
backgroundLocation, backgroundMap, backgroundName, inventory, slotNumber, xDisplayPosition, yDisplayPosition
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) |
canBeHovered, canTakeStack, decrStackSize, getBackgroundLocation, getBackgroundMap, getBackgroundSprite, getHasStack, getSlotIndex, getSlotStackLimit, getSlotTexture, getStack, isHere, onCrafting, onCrafting, onPickupFromSlot, onSlotChange, onSlotChanged, putStack, setBackgroundLocation, setBackgroundName
public SlotFurnaceFuel(IInventory inventoryIn, int slotIndex, int xPosition, int yPosition)
public boolean isItemValid(@Nullable ItemStack stack)
isItemValid
in class Slot
public int getItemStackLimit(ItemStack stack)
getItemStackLimit
in class Slot
public static boolean isBucket(ItemStack stack)