Open Villager Trade

Discussion in 'Plugin Development' started by TheBlack100, Feb 3, 2015.

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

    TheBlack100

    Hello would like to know how do I open the inventory of a Villager
     
  2. Offline

    mine-care

    Hello, if you are a developer, you can use a utility class I made that makes it easy, pay a look under "plugin development >> Resources" otherwise you can look for premade plugins offering custom vilager trades or ask a coder to make you such a plugin.
     
  3. Offline

    TheBlack100

    I wonder how I open the inventory villager using NMS
     
  4. Offline

    mine-care

  5. Offline

    TheBlack100

    But she did not fear the open method of inventory villager
     
  6. Offline

    mine-care

    WesJD and Skionz like this.
  7. Offline

    TheBlack100

    I want to create a list of exchanges and open a list without having to click villager
     
  8. Offline

    mine-care

    @TheBlack100 Οh ok ill look up creating a method for that too! =D ill let you know if and when i have it
     
  9. Offline

    Funergy

  10. Offline

    mine-care

  11. Offline

    Funergy

  12. Offline

    mine-care

    @Funergy What you mean? i just overrwritent the parameters of openVillagerTrade() methong inEntityHuman class :p
     
  13. Offline

    Funergy

    @mine-care no but you wanted to make it version independent.

    oh EDIT: I didn't know you posted this on another thread. I thought this was the thread where you were talking about version independent, dumb me ;/
     
  14. Offline

    mine-care

    @Funergy =) no worries :p i have done worse... i had 2 threads in 2 tabs and replyed for thread 1 in thread 2 :3 i was the stupid guy posting code in bukkit help XD

    Btw, and offtopic, i havent seen ya posting in forums for quite awhile... Welcome back! =D
     
    Funergy likes this.
  15. Offline

    TheBlack100

    Can you give me an example code?
     
  16. Offline

    Skionz

    @TheBlack100 He explained it fairly well. Break out your decompiler and look at the EntityHuman class.
     
    mine-care likes this.
  17. Offline

    mine-care

    thanks @Skionz =)

    @TheBlack100
     
    Skionz likes this.
  18. Offline

    TheBlack100

    I know the method of the class just do not know what I should pass the method
     
Thread Status:
Not open for further replies.

Share This Page