Uses of Record Class
net.minecraft.world.effect.MobEffectInstance.Details
-
Uses of MobEffectInstance.Details in net.minecraft.world.effect
Modifier and TypeFieldDescriptionprivate final Optional
<MobEffectInstance.Details> MobEffectInstance.Details.hiddenEffect
The field for thehiddenEffect
record component.static final com.mojang.serialization.MapCodec
<MobEffectInstance.Details> MobEffectInstance.Details.MAP_CODEC
static final StreamCodec
<RegistryFriendlyByteBuf, MobEffectInstance.Details> MobEffectInstance.Details.STREAM_CODEC
Modifier and TypeMethodDescriptionprivate MobEffectInstance.Details
MobEffectInstance.asDetails()
private static MobEffectInstance.Details
MobEffectInstance.Details.create
(int p_323657_, int p_324205_, boolean p_324263_, boolean p_324000_, Optional<Boolean> p_323607_, Optional<MobEffectInstance.Details> p_324604_) private static MobEffectInstance.Details
MobEffectInstance.Details.create
(int p_323657_, int p_324205_, boolean p_324263_, boolean p_324000_, Optional<Boolean> p_323607_, Optional<MobEffectInstance.Details> p_324604_, Optional<Set<EffectCure>> cures) Modifier and TypeMethodDescriptionMobEffectInstance.Details.hiddenEffect()
Returns the value of thehiddenEffect
record component.ModifierConstructorDescriptionprivate
MobEffectInstance
(Holder<MobEffect> p_324441_, MobEffectInstance.Details p_324529_) ModifierConstructorDescription(package private)
Details
(int amplifier, int duration, boolean ambient, boolean showParticles, boolean showIcon, Optional<MobEffectInstance.Details> hiddenEffect) Deprecated.(package private)
Details
(int amplifier, int duration, boolean ambient, boolean showParticles, boolean showIcon, Optional<MobEffectInstance.Details> hiddenEffect, Optional<Set<EffectCure>> cures) Creates an instance of aDetails
record class.