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
getGuiSortColor(MobEffectInstance potionEffect)
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:
MobEffectInstance.getCurativeItems()
-
getGuiSortColor
Used for determiningPotionEffect
sort order in GUIs. Defaults to thePotionEffect
's liquid color.- Parameters:
potionEffect
- thePotionEffect
instance containing the potion- Returns:
- a value used to sort
PotionEffect
s in GUIs
-