net.minecraft.world.item.enchantment

public class DamageEnchantment

extends Enchantment

cnl
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
public static final int
a
ALL
field_30947
f_lfwwvynx
ALL_INDEX
ALL_INDEX
f_151289_
public static final int
b
UNDEAD
field_30948
f_qbqiudno
UNDEAD_INDEX
UNDEAD_INDEX
f_151290_
public static final int
c
ARTHROPODS
field_30949
f_kkllxayo
ARTHROPODS_INDEX
ARTHROPODS_INDEX
f_151291_
private static final String[]
g
NAMES
field_9065
f_kqdfgfgg
TYPE_NAMES
TYPE_NAMES
f_44622_
private static final int[]
h
MIN_COST
field_9063
f_usuqoglo
BASE_POWERS
BASE_POWERS
f_44623_
private static final int[]
i
LEVEL_COST
field_9066
f_hycysvfq
POWERS_PER_LEVEL
POWERS_PER_LEVEL
f_44624_
private static final int[]
j
LEVEL_COST_SPAN
field_9064
f_tgmtyppz
MIN_MAX_POWER_DIFFERENCES
MIN_MAX_POWER_DIFFERENCES
f_44625_
public final int
d
type
field_9067
f_rgtuclkj
typeIndex
typeIndex
f_44621_

Constructor summary

ModifierConstructor
public (Enchantment$Rarity weight, int typeIndex, EquipmentSlot... slots)

Method summary

Modifier and TypeMethod
public int
a(int arg0)
getMinCost(int arg0)
method_8182(int arg0)
m_rtwmhoyh(int arg0)
getMinPower(int arg0)
getMinPower(int arg0)
m_6183_(int arg0)
public int
b(int arg0)
getMaxCost(int arg0)
method_20742(int arg0)
m_ztycenho(int arg0)
getMaxPower(int arg0)
getMaxPower(int arg0)
m_6175_(int arg0)
public int
a()
getMaxLevel()
method_8183()
m_glfcpyqa()
getMaxLevel()
getMaxLevel()
m_6586_()
public float
a(int arg0, bjl arg1)
getDamageBonus(int arg0, MobType arg1)
method_8196(int arg0, class_1310 arg1)
m_kzbinilx(int arg0, C_amnulxyk arg1)
getAttackDamage(int arg0, EntityGroup arg1)
getAttackDamage(int arg0, EntityGroup arg1)
m_7335_(int p_44636_, C_530_ arg1)
public boolean
a(cno 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 boolean
a(cjf arg0)
canEnchant(ItemStack arg0)
method_8192(class_1799 arg0)
m_khmhdqpw(C_sddaxwyk arg0)
isAcceptableItem(ItemStack arg0)
isAcceptableItem(ItemStack arg0)
m_6081_(C_1391_ arg0)
public void
a(bjg arg0, biq 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)