-
Recently Browsing
No registered users viewing this page.
-
Posts
-
hahaha I'm very tired. (and an idiot from the looks of things)
-
Thanks Diesieben! I added this to my Utils class. I used this for reference whilst doing it, thanks Tavi!
-
To loop over the armor inventory use LivingEntity#getArmorInventoryList() and then iterate through it. Then use EnchantmentHelper#getEnchantments(stack) to get the enchantment data from an itemstack in form of Map<Enchantment, Integer>.
-
By diesieben07 · Posted
Do the same as EnchantmentHelper#getMaxEnchantmentLevel, but do a sum instead of a max calculation.
-
-
Topics
-
Who's Online (See full list)