Solved How to get the modified enchanting level of any Enchantment?

Discussion in 'Plugin Development' started by Tim_M, Aug 12, 2021.

Thread Status:
Not open for further replies.
  1. Offline

    Tim_M

    As the title says I want to be able to get the modified enchating level of any Enchantmet.SMTH. If case someone is cofused about what it is then take a look at this:
    https://minecraft.fandom.com/wiki/Enchanting/Levels

    I of course could copy the entire thing into a Map<Enchantment, Integer[][]> but I don't really wanna do that. Is there any way to access this number since it's used in enchanting tables?

    Oh well, I have already filled in the entire table in a Map, so doesnt matter now.
     
    Last edited: Aug 13, 2021
Thread Status:
Not open for further replies.

Share This Page