Class FurnaceFuelSlot

java.lang.Object
net.minecraft.world.inventory.Slot
net.minecraft.world.inventory.FurnaceFuelSlot

public class FurnaceFuelSlot extends Slot
  • Field Details

  • Constructor Details

    • FurnaceFuelSlot

      public FurnaceFuelSlot(AbstractFurnaceMenu furnaceMenu, Container furnaceContainer, int slot, int xPosition, int yPosition)
  • Method Details

    • mayPlace

      public boolean mayPlace(ItemStack stack)
      Check if the stack is allowed to be placed in this slot, used for armor slots as well as furnace fuel.
      Overrides:
      mayPlace in class Slot
    • getMaxStackSize

      public int getMaxStackSize(ItemStack stack)
      Overrides:
      getMaxStackSize in class Slot
    • isBucket

      public static boolean isBucket(ItemStack stack)