MinusKube / SmartInvs

Advanced Inventory API for your Minecraft Bukkit plugins.
https://minuskube.gitbook.io/smartinvs/
Apache License 2.0
263 stars 65 forks source link

Want to make dynamic content of custom ui #134

Closed kate-gg closed 3 years ago

kate-gg commented 4 years ago

Hi i need help with dynamic content so i have HashMap that contain information I want to use to open custom UI you have to right click on furnace to open it furnace have custom data that contain in HashMap how do I display data to UI that use HashMap on specify furnace

if you don't understand I can make flowchart for you

portlek commented 4 years ago

Can you explain more, maybe i can do it on my fork

kate-gg commented 4 years ago

So method i use is get player target block that work but i need something like send value from open inventory class to inventory builder

portlek commented 4 years ago

there is a property method, did you check it?

kate-gg commented 4 years ago

can you give me a link of doc or example? (sorry for replay so lately)

portlek commented 4 years ago

https://github.com/MinusKube/SmartInvs/blob/1.3.0/src/main/java/fr/minuskube/inv/content/InventoryContents.java#L485 and https://github.com/MinusKube/SmartInvs/blob/1.3.0/src/main/java/fr/minuskube/inv/SmartInventory.java#L66 these methods will be helpful for your situation.