Package hiiragi283.core.api.item.alchemy
Class HTMobEffectInstance
-
- All Implemented Interfaces:
public final class HTMobEffectInstance
-
-
Field Summary
Fields Modifier and Type Field Description public final static BiCodec<RegistryFriendlyByteBuf, HTMobEffectInstance>CODECprivate final Holder<MobEffect>effectprivate final Integerdurationprivate final Integeramplifierprivate final Booleanambientprivate final Booleanvisibleprivate final BooleanshowIcon
-
Constructor Summary
Constructors Constructor Description HTMobEffectInstance(Holder<MobEffect> effect, Integer duration, Integer amplifier, Boolean ambient, Boolean visible, Boolean showIcon)HTMobEffectInstance(MobEffectInstance mutable)
-
Method Summary
Modifier and Type Method Description final Holder<MobEffect>getEffect()final IntegergetDuration()final IntegergetAmplifier()final BooleangetAmbient()final BooleangetVisible()final BooleangetShowIcon()final MobEffectInstancetoMutable()-
-
Method Detail
-
getEffect
final Holder<MobEffect> getEffect()
-
getDuration
final Integer getDuration()
-
getAmplifier
final Integer getAmplifier()
-
getAmbient
final Boolean getAmbient()
-
getVisible
final Boolean getVisible()
-
getShowIcon
final Boolean getShowIcon()
-
toMutable
final MobEffectInstance toMutable()
-
-
-
-