hamza-cskn / obliviate-invs

An efficient object-oriented inventory GUI library for Minecraft servers.
https://www.spigotmc.org/resources/obliviateinvs-—-highly-efficient-modular-gui-library.103572/
MIT License
112 stars 17 forks source link

A new method #23

Closed Galaxy-VN closed 1 year ago

Galaxy-VN commented 1 year ago

Its possible for you to make a method to update a slot or something like that? Example like .onClick(event -> updateSlot(48)); this will update item in slot 48

hamza-cskn commented 1 year ago

What you mean with 'update'? just use addItem method.

Galaxy-VN commented 1 year ago

um maybe my bad at explain well can you show me how to make this? animations name or its automatic

gradienttextanimation

hamza-cskn commented 1 year ago

Get the animation frames(string array) using the gist code. Then call addItem method to update display name.