net.minecraft.world.item.enchantment

public class ThornsEnchantment

extends Enchantment

All mapped superinterfaces:

FeatureElement

dao
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
b
CHANCE_PER_LEVEL
field_30950
ATTACK_CHANCE_PER_LEVEL
f_151302_

Constructor summary

ModifierConstructor
public (Enchantment$EnchantmentDefinition arg0)

Method summary

Modifier and TypeMethod
public void
b(btr arg0, bsw 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, azh 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, azh 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_)