net.minecraft.world.item.enchantment

public class DamageEnchantment

extends Enchantment

bhr
net.minecraft.world.item.enchantment.DamageEnchantment
net.minecraft.class_1882
net.minecraft.enchantment.DamageEnchantment
net.minecraft.enchantment.DamageEnchantment
net.minecraft.server.v1_15_R1.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_77360_B
private static final int[]
f
LEVEL_COST
field_9066
field_77362_C
private static final int[]
g
LEVEL_COST_SPAN
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)
getMinimumPower(int arg0)
func_77321_a(int arg0)
public int
b(int arg0)
getMaxCost(int arg0)
method_20742(int arg0)
getMaximumPower(int arg0)
func_223551_b(int arg0)
public int
a()
getMaxLevel()
method_8183()
getMaximumLevel()
func_77325_b()
getMaxLevel()
public float
a(int arg0, ala 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(bhu arg0)
checkCompatibility(Enchantment arg0)
method_8180(class_1887 arg0)
differs(Enchantment arg0)
func_77326_a(Enchantment arg0)
public boolean
a(bek arg0)
canEnchant(ItemStack arg0)
method_8192(class_1799 arg0)
isAcceptableItem(ItemStack arg0)
func_92089_a(ItemStack arg0)
canEnchant(ItemStack arg0)
public void
a(akw arg0, akn 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)