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 pContainer, int pSlot, int pX, int pY)
  • 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
    • mayPlaceItem

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