Class EnchantmentHelper


  • public class EnchantmentHelper
    extends java.lang.Object
    • Constructor Detail

      • EnchantmentHelper

        public EnchantmentHelper()
    • Method Detail

      • getEnchantmentLevel

        public static int getEnchantmentLevel​(int var0,
                                              ItemStack var1)
      • getRespiration

        public static int getRespiration​(InventoryPlayer var0)
      • getEfficiencyModifier

        public static int getEfficiencyModifier​(InventoryPlayer var0)
      • getUnbreakingModifier

        public static int getUnbreakingModifier​(InventoryPlayer var0)
      • getSilkTouchModifier

        public static boolean getSilkTouchModifier​(InventoryPlayer var0)
      • getFortuneModifier

        public static int getFortuneModifier​(InventoryPlayer var0)
      • getLootingModifier

        public static int getLootingModifier​(InventoryPlayer var0)
      • getAquaAffinityModifier

        public static boolean getAquaAffinityModifier​(InventoryPlayer var0)
      • calcItemStackEnchantability

        public static int calcItemStackEnchantability​(java.util.Random var0,
                                                      int var1,
                                                      int var2,
                                                      ItemStack var3)
      • func_48441_a

        public static void func_48441_a​(java.util.Random var0,
                                        ItemStack var1,
                                        int var2)
      • buildEnchantmentList

        public static java.util.List buildEnchantmentList​(java.util.Random var0,
                                                          ItemStack var1,
                                                          int var2)
      • mapEnchantmentData

        public static java.util.Map mapEnchantmentData​(int var0,
                                                       ItemStack var1)