net.minecraft.world.effect

record MobEffectInstance$Details

btr$b
net.minecraft.world.effect.MobEffectInstance$Details
net.minecraft.class_1293$class_9195
net.minecraft.entity.effect.StatusEffectInstance$Parameters
net.minecraft.world.effect.MobEffect$b

Field summary

Modifier and TypeField
private final int
c
amplifier
comp_2292
amplifier
private final int
d
duration
comp_2293
duration
private final boolean
e
ambient
comp_2294
ambient
private final boolean
f
showParticles
comp_2295
showParticles
private final boolean
g
showIcon
comp_2296
showIcon
private final Optional<MobEffectInstance$Details>
h
hiddenEffect
comp_2297
hiddenEffect
public static final com.mojang.serialization.MapCodec<MobEffectInstance$Details>
a
MAP_CODEC
field_48822
CODEC
public static final StreamCodec<io.netty.buffer.ByteBuf, MobEffectInstance$Details>
b
STREAM_CODEC
field_49208
PACKET_CODEC

Constructor summary

ModifierConstructor
(int arg0, int arg1, boolean arg2, boolean arg3, boolean arg4, Optional<MobEffectInstance$Details> arg5)

Method summary

Modifier and TypeMethod
private static MobEffectInstance$Details
a(int arg0, int arg1, boolean arg2, boolean arg3, Optional<Boolean> arg4, Optional<btr$b> arg5)
create(int arg0, int arg1, boolean arg2, boolean arg3, Optional<Boolean> arg4, Optional<MobEffectInstance$Details> arg5)
method_56669(int arg0, int arg1, boolean arg2, boolean arg3, Optional<Boolean> arg4, Optional<class_1293$class_9195> arg5)
create(int amplifier, int duration, boolean ambient, boolean showParticles, Optional<Boolean> showIcon, Optional<StatusEffectInstance$Parameters> hiddenEffect)
public int
a()
amplifier()
comp_2292()
amplifier()
public int
b()
duration()
comp_2293()
duration()
public boolean
c()
ambient()
comp_2294()
ambient()
public boolean
d()
showParticles()
comp_2295()
showParticles()
public boolean
e()
showIcon()
comp_2296()
showIcon()
public Optional<MobEffectInstance$Details>
f()
hiddenEffect()
comp_2297()
hiddenEffect()