Class IllegalStackItemConfig

java.lang.Object
fr.andross.banitem.utils.scanners.illegalstack.IllegalStackItemConfig

public final class IllegalStackItemConfig extends Object
A simple wrapper to store the amount and the block type of an illegal stack material
Version:
3.4
Author:
Andross
  • Constructor Details

    • IllegalStackItemConfig

      public IllegalStackItemConfig(int amount, @NotNull IllegalStackBlockType blockType)
  • Method Details

    • getAmount

      public int getAmount()
      Max amount allowed of the material
      Returns:
      the max amount allowed of the material
    • getBlockType

      @NotNull public IllegalStackBlockType getBlockType()
      The block type
      Returns:
      the block type