Villager GUI

Discussion in 'Spigot Plugin Development' started by roombascj, Mar 30, 2016.

  1. I was wondering how I make a villager gui come up. I've done a google search and can not find anything that works currently.
  2. Choco


    This is an out of date thread, so I'm not sure if there's any non-NMS way to do this (I've never had to mess around with merchant inventories)

    Though if I recall correctly, without NMS it should be something like this:
    Code (Java):
    player.openInventory(Bukkit.createInventory(null, InventoryType.MERCHANT));
  3. I've already seen this thread, it didn't help me though.
  4. Look through the code and work out yourself.
    • Like Like x 1