接口 IForgeMobEffect
- 所有已知实现类:
AbsorptionMobEffect
,BadOmenMobEffect
,HealOrHarmMobEffect
,HungerMobEffect
,InfestedMobEffect
,InstantenousMobEffect
,MobEffect
,OozingMobEffect
,PoisonMobEffect
,RaidOmenMobEffect
,RegenerationMobEffect
,SaturationMobEffect
,WeavingMobEffect
,WindChargedMobEffect
,WitherMobEffect
public interface IForgeMobEffect
-
方法概要
修饰符和类型方法说明Get 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()
-
方法详细资料
-
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- 返回:
- A list of items that can cure this Potion
- 另请参阅:
-
getSortOrder
Used for determiningPotionEffect
sort order in GUIs. Defaults to thePotionEffect
's liquid color.- 参数:
effectInstance
- thePotionEffect
instance containing the potion- 返回:
- a value used to sort
PotionEffect
s in GUIs
-