net.minecraft.world.item.enchantment

public class DigDurabilityEnchantment

extends Enchantment

cds
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_()
public boolean
a(caa arg0)
canEnchant(ItemStack arg0)
method_8192(class_1799 arg0)
isAcceptableItem(ItemStack arg0)
m_6081_(C_1391_ arg0)
public static boolean
a(caa arg0, int arg1, alu arg2)
shouldIgnoreDurabilityDrop(ItemStack arg0, int arg1, RandomSource arg2)
method_8176(class_1799 arg0, int arg1, class_5819 arg2)
shouldPreventDamage(ItemStack item, int level, Random random)
m_220282_(C_1391_ p_220283_, int p_220284_, C_212974_ p_220285_)