We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I would like a way to update items without reopening inventory.
When the update function is called, HumanEntity reopens the inventory. However, this has the following problems.
These problems become more pronounced when creating UIs that require frequent updates(every ticks), such as timers
timers
public void update() { updating = true; for (HumanEntity viewer : getViewers()) { ItemStack cursor = viewer.getItemOnCursor(); viewer.setItemOnCursor(new ItemStack(Material.AIR)); show(viewer); // <-Here viewer.setItemOnCursor(cursor); } if (!updating) throw new AssertionError("Gui#isUpdating became false before Gui#update finished"); updating = false; }
The text was updated successfully, but these errors were encountered:
any update on this? I'm having the same issue.
Sorry, something went wrong.
This issue is frustrating me as well. It would be nice to be able to update panes, without resetting the other panes/the entire GUI
stefvanschie
No branches or pull requests
I would like a way to update items without reopening inventory.
When the update function is called, HumanEntity reopens the inventory. However, this has the following problems.
Problems
These problems become more pronounced when creating UIs that require frequent updates(every ticks), such as
timers
The text was updated successfully, but these errors were encountered: