Interface IMobEffectExtension
public interface IMobEffectExtension
-
Method Summary
Modifier and TypeMethodDescriptiondefault int
getSortOrder
(net.minecraft.world.effect.MobEffectInstance effectInstance) Used for determiningMobEffect
sort order in GUIs.private net.minecraft.world.effect.MobEffect
self()
-
Method Details
-
self
private net.minecraft.world.effect.MobEffect self() -
getSortOrder
default int getSortOrder(net.minecraft.world.effect.MobEffectInstance effectInstance) Used for determiningMobEffect
sort order in GUIs. Defaults to theMobEffect
's liquid color.- Parameters:
effectInstance
- theMobEffectInstance
containing thisMobEffect
- Returns:
- a value used to sort
MobEffect
s in GUIs
-