Class BeaconMenu.PaymentSlot

java.lang.Object
net.minecraft.world.inventory.Slot
net.minecraft.world.inventory.BeaconMenu.PaymentSlot
Enclosing class:
BeaconMenu

class BeaconMenu.PaymentSlot extends Slot
  • Constructor Details

    • PaymentSlot

      public PaymentSlot(Container pContainer, int pContainerIndex, 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()
      Overrides:
      getMaxStackSize in class Slot