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 pFurnaceMenu, Container pFurnaceContainer, int pSlot, int pXPosition, int pYPosition)
  • Method Details

    • mayPlace

      public boolean mayPlace(ItemStack pStack)
      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 pStack)
      Overrides:
      getMaxStackSize in class Slot
    • isBucket

      public static boolean isBucket(ItemStack pStack)