Open Enchantment Table Of Specific Level?

Discussion in 'Spigot Plugin Development' started by Tycoons, Jun 10, 2017.

  1. Hey, is it possible to open an enchantment table to the player that is set to a specific level? I can't figure it out.
     
    • Agree Agree x 1
  2. You can open an enchantmenttable-inventory and then you use this.
     
  3. Still so confused. So if I did p.openEnchanting(p.getLocation(), true); and had that event it would open a level 30?
     
  4. You have to tell it what enchantments you want. Please read the javadocs I sent you.