Class BrewingStandMenu.FuelSlot

java.lang.Object
net.minecraft.world.inventory.Slot
net.minecraft.world.inventory.BrewingStandMenu.FuelSlot
Enclosing class:
BrewingStandMenu

static class BrewingStandMenu.FuelSlot extends Slot
  • Constructor Details

    • FuelSlot

      public FuelSlot(Container container, int slot, int x, int y)
  • 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
    • mayPlaceItem

      public static boolean mayPlaceItem(ItemStack itemStack)
      Returns true if the given ItemStack is usable as fuel in the brewing stand.