net.minecraft.world.item.enchantment

public class DamageEnchantment

extends Enchantment

All mapped superinterfaces:

FeatureElement

czz
net.minecraft.world.item.enchantment.DamageEnchantment
net.minecraft.class_1882
net.minecraft.unmapped.C_usfpkndk
net.minecraft.enchantment.DamageEnchantment
net.minecraft.enchantment.DamageEnchantment
net.minecraft.src.C_1502_
net.minecraft.world.item.enchantment.EnchantmentWeaponDamage

Field summary

Modifier and TypeField
private final Optional<TagKey<EntityType<?>>>
b
targets
field_48369
f_oqienbmz
applicableEntities
entity
f_314326_

Constructor summary

ModifierConstructor
public (Enchantment$EnchantmentDefinition properties, Optional<TagKey<EntityType<?>>> applicableEntities)

Method summary

Modifier and TypeMethod
public float
a(int arg0, btc<?> arg1)
getDamageBonus(int arg0, EntityType<?> arg1)
method_8196(int arg0, class_1299<?> arg1)
m_kzbinilx(int arg0, C_ogavsvbr<?> arg1)
getAttackDamage(int arg0, EntityType<?> arg1)
getAttackDamage(int arg0, EntityType<?> arg1)
m_7335_(int p_331449_, C_513_<?> arg1)
public boolean
a(dac arg0)
checkCompatibility(Enchantment arg0)
method_8180(class_1887 arg0)
m_daqyrypu(C_jxtrubuh arg0)
canAccept(Enchantment arg0)
canAccept(Enchantment arg0)
m_5975_(C_1505_ arg0)
public void
a(btr arg0, bsw arg1, int arg2)
doPostAttack(LivingEntity arg0, Entity arg1, int arg2)
method_8189(class_1309 arg0, class_1297 arg1, int arg2)
m_phdcatdd(C_usxaxydn arg0, C_astfners arg1, int arg2)
onTargetDamaged(LivingEntity arg0, Entity arg1, int arg2)
onTargetDamaged(LivingEntity arg0, Entity arg1, int arg2)
m_7677_(C_524_ p_44639_, C_507_ p_44640_, int arg2)