CPotionMatterImpl

constructor(name: String, candidate: Set<Material>, potionComponents: Set<CPotionComponent>, amount: Int = 1, mass: Boolean = false, predicates: Set<CMatterPredicate>? = CMatterImpl.defaultMatterPredicates())

Parameters

name

matter name

candidate

matter candidate materials

amount

matter amount

mass

this matter is mass or not

predicates

if in checks, this matter requires to pass these all.

potionComponents

potion predicates for contained. set of CPotionComponent.