net.minecraft.world.item.enchantment.effects

public record DamageEntity

implements EnchantmentEntityEffect

dao
net.minecraft.world.item.enchantment.effects.DamageEntity
net.minecraft.class_9717
net.minecraft.unmapped.C_cojufkxq
net.minecraft.enchantment.effect.entity.DamageEntityEnchantmentEffect
net.minecraft.enchantment.effect.DamageEntity
net.minecraft.src.C_336505_
net.minecraft.world.item.enchantment.effects.DamageEntity

Field summary

Modifier and TypeField
private final LevelBasedValue
d
minDamage
comp_2713
f_seqikllj
minDamage
minDamage
f_336763_
private final LevelBasedValue
e
maxDamage
comp_2714
f_oqudhrqa
maxDamage
maxDamage
f_336715_
private final Holder<DamageType>
f
damageType
comp_2715
f_grtxakkq
damageType
damageType
f_336703_
public static final com.mojang.serialization.MapCodec<DamageEntity>
a
CODEC
field_51702
f_gyauqhos
CODEC
CODEC
f_336657_

Constructor summary

ModifierConstructor
public (LevelBasedValue minDamage, LevelBasedValue maxDamage, Holder<DamageType> damageType)

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_344737_, int p_343017_, C_336528_ p_343629_, C_507_ p_342181_, C_3046_ arg4)
public com.mojang.serialization.MapCodec<DamageEntity>
a()
codec()
method_60219()
m_kqdonpeg()
getCodec()
getCodec()
m_338403_()
public LevelBasedValue
b()
minDamage()
comp_2713()
m_mctzynbe()
minDamage()
minDamage()
f_336763_()
public LevelBasedValue
c()
maxDamage()
comp_2714()
m_pakxscki()
maxDamage()
maxDamage()
f_336715_()
public Holder<DamageType>
d()
damageType()
comp_2715()
m_gfekmqsw()
damageType()
damageType()
f_336703_()