Class CPotionComponent
-
- All Implemented Interfaces:
public final class CPotionComponentA component of CMatter's potion.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public enumCPotionComponent.StrictAn enum what means potion required level.
ONLY_EFFECT: The system checks only type. STRICT: The system checks amplifier and type.
-
Field Summary
Fields Modifier and Type Field Description private final PotionEffecteffectprivate final CPotionComponent.Strictstrict
-
Constructor Summary
Constructors Constructor Description CPotionComponent(PotionEffect effect, CPotionComponent.Strict strict)A default constructor of CPotionComponent.
-
Method Summary
Modifier and Type Method Description final PotionEffectgetEffect()final CPotionComponent.StrictgetStrict()-
-
Constructor Detail
-
CPotionComponent
CPotionComponent(PotionEffect effect, CPotionComponent.Strict strict)
A default constructor of CPotionComponent.
- Parameters:
effect- A type of potionstrict- required level
-
-
Method Detail
-
getEffect
final PotionEffect getEffect()
-
getStrict
final CPotionComponent.Strict getStrict()
-
-
-
-