net.minecraft.world.item.enchantment

public class DamageEnchantment

extends Enchantment

bpp
net.minecraft.world.item.enchantment.DamageEnchantment
net.minecraft.class_1882
net.minecraft.enchantment.DamageEnchantment
net.minecraft.enchantment.DamageEnchantment
net.minecraft.server.v1_16_R3.EnchantmentWeaponDamage

Field summary

Modifier and TypeField
private static final String[]
d
NAMES
field_9065
typeNames
field_77359_A
private static final int[]
e
MIN_COST
field_9063
field_9063
field_77360_B
private static final int[]
f
LEVEL_COST
field_9066
field_9066
field_77362_C
private static final int[]
g
LEVEL_COST_SPAN
field_9064
field_9064
field_77358_D
public final int
a
type
field_9067
typeIndex
field_77361_a

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)
getMinPower(int arg0)
func_77321_a(int arg0)
public int
b(int arg0)
getMaxCost(int arg0)
method_20742(int arg0)
getMaxPower(int arg0)
func_223551_b(int arg0)
public int
a()
getMaxLevel()
method_8183()
getMaxLevel()
func_77325_b()
getMaxLevel()
public float
a(int arg0, aqq arg1)
getDamageBonus(int arg0, MobType arg1)
method_8196(int arg0, class_1310 arg1)
getAttackDamage(int arg0, EntityGroup arg1)
func_152376_a(int arg0, CreatureAttribute arg1)
public boolean
a(bps arg0)
checkCompatibility(Enchantment arg0)
method_8180(class_1887 arg0)
canAccept(Enchantment arg0)
func_77326_a(Enchantment arg0)
public boolean
a(bmb arg0)
canEnchant(ItemStack arg0)
method_8192(class_1799 arg0)
isAcceptableItem(ItemStack arg0)
func_92089_a(ItemStack arg0)
canEnchant(ItemStack arg0)
public void
a(aqm arg0, aqa arg1, int arg2)
doPostAttack(LivingEntity arg0, Entity arg1, int arg2)
method_8189(class_1309 arg0, class_1297 arg1, int arg2)
onTargetDamaged(LivingEntity arg0, Entity arg1, int arg2)
func_151368_a(LivingEntity arg0, Entity arg1, int arg2)