Posted February 18, 201510 yr Hi, I was wondering if there is an EnchantmentRegistry type class that you could get an enchantment by it's name ex. enchantmentRegistry.getByName("minecraft:protection") ? I've been poking around the Enchantment.class, but it only has the enchantsList array. Thanks,
February 18, 201510 yr Hi, I was wondering if there is an EnchantmentRegistry type class that you could get an enchantment by it's name ex. enchantmentRegistry.getByName("minecraft:protection") ? I've been poking around the Enchantment.class, but it only has the enchantsList array. Thanks, Hope this work NEWB! in java im sorry
February 18, 201510 yr Author Thanks, but that doesn't really solve the issue. This just uses the EnchantmentHelper class which all based on the Enchantment index.
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.