Class UnbreakingEnchantment

java.lang.Object
net.minecraft.enchantment.Enchantment
net.minecraft.enchantment.UnbreakingEnchantment

public class UnbreakingEnchantment extends Enchantment
Mappings:
Namespace Name
official cyf
intermediary net/minecraft/class_1885
named net/minecraft/enchantment/UnbreakingEnchantment
  • Constructor Details

  • Method Details

    • shouldPreventDamage

      public static boolean shouldPreventDamage(ItemStack item, int level, Random random)
      Mappings:
      Namespace Name Mixin selector
      official a Lcyf;a(Lcsz;ILayg;)Z
      intermediary method_8176 Lnet/minecraft/class_1885;method_8176(Lnet/minecraft/class_1799;ILnet/minecraft/class_5819;)Z
      named shouldPreventDamage Lnet/minecraft/enchantment/UnbreakingEnchantment;shouldPreventDamage(Lnet/minecraft/item/ItemStack;ILnet/minecraft/util/math/random/Random;)Z