gottsch Posted February 18, 2015 Posted February 18, 2015 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, Quote
Xetapro12 Posted February 18, 2015 Posted February 18, 2015 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 Quote NEWB! in java im sorry
gottsch Posted February 18, 2015 Author Posted February 18, 2015 Thanks, but that doesn't really solve the issue. This just uses the EnchantmentHelper class which all based on the Enchantment index. Quote
Recommended Posts
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.