net.minecraft.world.item.enchantment.effects

public record ApplyMobEffect

implements EnchantmentEntityEffect

dan
net.minecraft.world.item.enchantment.effects.ApplyMobEffect
net.minecraft.class_9716
net.minecraft.unmapped.C_vmebbtwr
net.minecraft.enchantment.effect.entity.ApplyMobEffectEnchantmentEffect
net.minecraft.enchantment.effect.ApplyMobEffect
net.minecraft.src.C_336436_
net.minecraft.world.item.enchantment.effects.ApplyMobEffect

Field summary

Modifier and TypeField
private final HolderSet<MobEffect>
d
toApply
comp_2708
f_dxtghlio
toApply
toApply
f_337589_
private final LevelBasedValue
e
minDuration
comp_2709
f_rahsosvk
minDuration
minDuration
f_337616_
private final LevelBasedValue
f
maxDuration
comp_2710
f_ovgnsxgz
maxDuration
maxDuration
f_337391_
private final LevelBasedValue
g
minAmplifier
comp_2711
f_zcyihqvt
minAmplifier
minAmplifier
f_336825_
private final LevelBasedValue
h
maxAmplifier
comp_2712
f_srctwgsn
maxAmplifier
maxAmplifier
f_337183_
public static final com.mojang.serialization.MapCodec<ApplyMobEffect>
a
CODEC
field_51701
f_uubznpty
CODEC
CODEC
f_336611_

Constructor summary

ModifierConstructor
public (HolderSet<MobEffect> toApply, LevelBasedValue minDuration, LevelBasedValue maxDuration, LevelBasedValue minAmplifier, LevelBasedValue maxAmplifier)

Method summary

Modifier and TypeMethod
public void
a(aqu arg0, int arg1, dab arg2, bsr arg3, exc arg4)
apply(ServerLevel arg0, int arg1, EnchantedItemInUse arg2, Entity arg3, Vec3 arg4)
method_60220(class_3218 arg0, int arg1, class_9699 arg2, class_1297 arg3, class_243 arg4)
m_qtizntqq(C_bdwnwhiu arg0, int arg1, C_pjrjvgrp arg2, C_astfners arg3, C_vgpupfxx arg4)
apply(ServerWorld arg0, int arg1, EnchantmentEffectContext arg2, Entity arg3, Vec3d arg4)
apply(ServerWorld arg0, int arg1, EnchantmentEffectContext arg2, Entity arg3, Vec3d arg4)
m_338607_(C_12_ p_344950_, int p_344081_, C_336528_ p_344762_, C_507_ p_343893_, C_3046_ arg4)
public com.mojang.serialization.MapCodec<ApplyMobEffect>
a()
codec()
method_60219()
m_kqdonpeg()
getCodec()
getCodec()
m_338403_()
public HolderSet<MobEffect>
b()
toApply()
comp_2708()
m_ubkfiqth()
toApply()
toApply()
f_337589_()
public LevelBasedValue
c()
minDuration()
comp_2709()
m_jmapytlq()
minDuration()
minDuration()
f_337616_()
public LevelBasedValue
d()
maxDuration()
comp_2710()
m_mwobxjys()
maxDuration()
maxDuration()
f_337391_()
public LevelBasedValue
e()
minAmplifier()
comp_2711()
m_ponysocc()
minAmplifier()
minAmplifier()
f_336825_()
public LevelBasedValue
f()
maxAmplifier()
comp_2712()
m_nivzrznx()
maxAmplifier()
maxAmplifier()
f_337183_()