net.minecraft.world.item.enchantment

public class ThornsEnchantment

extends Enchantment

csb
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(cmy arg0)
canEnchant(ItemStack arg0)
method_8192(class_1799 arg0)
isAcceptableItem(ItemStack arg0)
m_6081_(C_1391_ arg0)
public void
b(bml arg0, blv 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, auv arg1)
shouldHit(int arg0, RandomSource arg1)
method_8243(int arg0, class_5819 arg1)
shouldDamageAttacker(int level, Random random)
m_220316_(int p_220317_, C_212974_ p_220318_)
public static int
b(int arg0, auv arg1)
getDamage(int arg0, RandomSource arg1)
method_8242(int arg0, class_5819 arg1)
getDamageAmount(int level, Random random)
m_220319_(int p_220320_, C_212974_ p_220321_)