Hi spigot people, I was looking for a way to create a chest inventory using nms, but I haven't found the way, could you help me?
I think it would have been better to have explained this, but what I need is to make an inventory with an animated title, but I haven't found a way to do it with bukkit
If there were a way to do it (directly) in nms, there would be a way to do it in the API. I think the only option is opening a new inventory each time.
Not sure if this would work for the title but works for items within the inventory, create your inventory using the api and have a task running to update the title and also update the inventory for anyone who is currently viewing the inventory using Inventory#getViewers() and Player#updateInventory() Nvm just noticed you can't change the title once it's set.
This could be a good option: https://www.spigotmc.org/threads/how-to-set-the-title-of-an-open-inventory-itemgui.95572/
Ok, I've seen this and it seemed very convincing, do you know how to do it? Do not take it as a spoon feeding https://imgur.com/a/EssvgvS