net.minecraft.world.item.enchantment

public class DigDurabilityEnchantment

extends Enchantment

bui
net.minecraft.world.item.enchantment.DigDurabilityEnchantment
net.minecraft.class_1885
net.minecraft.enchantment.UnbreakingEnchantment
net.minecraft.src.C_1503_
net.minecraft.world.item.enchantment.EnchantmentDurability

Constructor summary

ModifierConstructor
protected (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_()
getMaxLevel()
public boolean
a(bqq arg0)
canEnchant(ItemStack arg0)
method_8192(class_1799 arg0)
isAcceptableItem(ItemStack arg0)
m_6081_(C_1391_ arg0)
canEnchant(ItemStack arg0)
public static boolean
a(bqq arg0, int arg1, Random arg2)
shouldIgnoreDurabilityDrop(ItemStack arg0, int arg1, Random arg2)
method_8176(class_1799 arg0, int arg1, Random arg2)
shouldPreventDamage(ItemStack item, int level, Random random)
m_44655_(C_1391_ p_44656_, int p_44657_, Random p_44658_)