Interface IMobEffectExtension
- All Known Implementing Classes:
- AbsorptionMobEffect,- BadOmenMobEffect,- HealOrHarmMobEffect,- HungerMobEffect,- InstantenousMobEffect,- MobEffect,- PoisonMobEffect,- RegenerationMobEffect,- SaturationMobEffect,- WitherMobEffect
public interface IMobEffectExtension
- 
Method SummaryModifier 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
- 
fillEffectCuresFill the given set with theEffectCures this effect should be curable with by default
- 
getSortOrder- Parameters:
- effectInstance- the- MobEffectInstancecontaining this- MobEffect
- Returns:
- a value used to sort MobEffects in GUIs
 
 
-