Interface IMobEffectExtension
- All Known Implementing Classes:
AbsorptionMobEffect
,BadOmenMobEffect
,HealOrHarmMobEffect
,HungerMobEffect
,InstantenousMobEffect
,MobEffect
,PoisonMobEffect
,RegenerationMobEffect
,SaturationMobEffect
,WitherMobEffect
public interface IMobEffectExtension
-
Method Summary
Modifier and TypeMethodDescriptiondefault void
fillEffectCures
(Set<EffectCure> cures, MobEffectInstance effectInstance) Fill the given set with theEffectCure
s this effect should be curable with by defaultdefault int
getSortOrder
(MobEffectInstance effectInstance) Used for determiningMobEffect
sort order in GUIs.private MobEffect
self()
-
Method Details
-
self
-
fillEffectCures
Fill the given set with theEffectCure
s this effect should be curable with by default -
getSortOrder
- Parameters:
effectInstance
- theMobEffectInstance
containing thisMobEffect
- Returns:
- a value used to sort
MobEffect
s in GUIs
-