Interface IMobEffectExtension
- All Known Implementing Classes:
AbsorptionMobEffect,BadOmenMobEffect,HealOrHarmMobEffect,HungerMobEffect,InfestedMobEffect,InstantenousMobEffect,MobEffect,OozingMobEffect,PoisonMobEffect,RaidOmenMobEffect,RegenerationMobEffect,SaturationMobEffect,WeavingMobEffect,WindChargedMobEffect,WitherMobEffect
public interface IMobEffectExtension
-
Method Summary
Modifier and TypeMethodDescriptiondefault voidfillEffectCures(Set<EffectCure> cures, MobEffectInstance effectInstance) Fill the given set with theEffectCures this effect should be curable with by defaultdefault intgetSortOrder(MobEffectInstance effectInstance) Used for determiningMobEffectsort order in GUIs.private MobEffectself()
-
Method Details
-
self
-
fillEffectCures
Fill the given set with theEffectCures this effect should be curable with by default -
getSortOrder
- Parameters:
effectInstance- theMobEffectInstancecontaining thisMobEffect- Returns:
- a value used to sort
MobEffects in GUIs
-