CMatter Impl
constructor(name: String, candidate: Set<Material>, amount: Int = 1, mass: Boolean = false, predicates: Set<CMatterPredicate>? = defaultMatterPredicates())
Parameters
name
matter name
candidate
matter candidate materials
amount
matter amount (default = 1)
mass
this matter is mass or not (default = false)
predicates
if in checks, this matter requires to pass these all. (default = Enchant, EnchantStorage, Potion checker contains)