Class IllegalStackItemConfig
java.lang.Object
fr.andross.banitem.utils.scanners.illegalstack.IllegalStackItemConfig
A simple wrapper to store the amount and the block type of illegal stack material.
- Version:
 - 3.4
 - Author:
 - Andross
 
- 
Constructor Summary
ConstructorsConstructorDescriptionIllegalStackItemConfig(int amount, @NotNull IllegalStackBlockType blockType) Configuration of an illegal stack item. - 
Method Summary
Modifier and TypeMethodDescriptionintMax amount allowed of the material.@NotNull IllegalStackBlockTypeThe block type. 
- 
Constructor Details
- 
IllegalStackItemConfig
Configuration of an illegal stack item.- Parameters:
 amount- Minimum amount considered as illegalblockType- The type of blocking if amount is exceeded
 
 - 
 - 
Method Details
- 
getAmount
public int getAmount()Max amount allowed of the material.- Returns:
 - the max amount allowed of the material
 
 - 
getBlockType
The block type.- Returns:
 - the block type
 
 
 -