Interface IForgeMobEffect
- All Known Implementing Classes:
AbsoptionMobEffect
,AttackDamageMobEffect
,HealthBoostMobEffect
,InstantenousMobEffect
,MobEffect
public interface IForgeMobEffect
-
Method Summary
Modifier and TypeMethodDescriptionGet a fresh list of items that can cure this Potion.default int
getSortOrder
(MobEffectInstance effectInstance) Used for determiningPotionEffect
sort order in GUIs.private MobEffect
self()
-
Method Details
-
self
-
getCurativeItems
Get 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:
-
getSortOrder
Used for determiningPotionEffect
sort order in GUIs. Defaults to thePotionEffect
's liquid color.- Parameters:
effectInstance
- thePotionEffect
instance containing the potion- Returns:
- a value used to sort
PotionEffect
s in GUIs
-