Interface IForgeMobEffect
- All Known Implementing Classes:
- AbsorptionMobEffect,- BadOmenMobEffect,- HealOrHarmMobEffect,- HungerMobEffect,- InstantenousMobEffect,- MobEffect,- PoisonMobEffect,- RegenerationMobEffect,- SaturationMobEffect,- WitherMobEffect
public interface IForgeMobEffect
- 
Method SummaryModifier and TypeMethodDescriptionGet a fresh list of items that can cure this Potion.default intgetSortOrder(MobEffectInstance effectInstance) Used for determiningPotionEffectsort order in GUIs.private MobEffectself()
- 
Method Details- 
self
- 
getCurativeItemsGet a fresh list of items that can cure this Potion. All new PotionEffects created from this Potion will call this to initialize the default curative items- Returns:
- A list of items that can cure this Potion
- See Also:
 
- 
getSortOrderUsed for determiningPotionEffectsort order in GUIs. Defaults to thePotionEffect's liquid color.- Parameters:
- effectInstance- the- PotionEffectinstance containing the potion
- Returns:
- a value used to sort PotionEffects in GUIs
 
 
-