net.minecraft.world.item.enchantment

public class ThornsEnchantment

extends Enchantment

bzh
net.minecraft.world.item.enchantment.ThornsEnchantment
net.minecraft.class_1906
net.minecraft.enchantment.ThornsEnchantment
net.minecraft.src.C_1541_
net.minecraft.world.item.enchantment.EnchantmentThorns

Field summary

Modifier and TypeField
private static final float
a
CHANCE_PER_LEVEL
field_30950
ATTACK_CHANCE_PER_LEVEL
f_151302_

Constructor summary

ModifierConstructor
public (Enchantment$Rarity weight, EquipmentSlot... slotTypes)

Method summary

Modifier and TypeMethod
public int
a(int arg0)
getMinCost(int arg0)
method_8182(int arg0)
getMinPower(int arg0)
m_6183_(int arg0)
public int
b(int arg0)
getMaxCost(int arg0)
method_20742(int arg0)
getMaxPower(int arg0)
m_6175_(int arg0)
public int
a()
getMaxLevel()
method_8183()
getMaxLevel()
m_6586_()
public boolean
a(buw arg0)
canEnchant(ItemStack arg0)
method_8192(class_1799 arg0)
isAcceptableItem(ItemStack arg0)
m_6081_(C_1391_ arg0)
public void
b(axy arg0, axk arg1, int arg2)
doPostHurt(LivingEntity arg0, Entity arg1, int arg2)
method_8178(class_1309 arg0, class_1297 arg1, int arg2)
onUserDamaged(LivingEntity arg0, Entity arg1, int arg2)
m_7675_(C_524_ p_45216_, C_507_ p_45217_, int arg2)
public static boolean
a(int arg0, Random arg1)
shouldHit(int arg0, Random arg1)
method_8243(int arg0, Random arg1)
shouldDamageAttacker(int level, Random random)
m_45201_(int p_45202_, Random p_45203_)
public static int
b(int arg0, Random arg1)
getDamage(int arg0, Random arg1)
method_8242(int arg0, Random arg1)
getDamageAmount(int level, Random random)
m_45211_(int p_45212_, Random p_45213_)