//Example Enchant // public static final ModEnchantmentBase ANTI_VANILLA = new ModEnchantmentBase("testmod.anti_vanilla", Enchantment.Rarity.UNCOMMON, EnumEnchantmentType.WEAPON, mainHand) // .setMaxLevel(10).setValue(0.3f, 0.3f); public static final ModEnchantmentBase test_Enchance = new ModEnchantmentBase("testmod.test_enchance", Enchantment.Rarity.UNCOMMON, EnumEnchantmentType.WEAPON, mainHand);