Skip to content
New issue

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

[API] Broadcast slot change events #276

Closed
TheIllusiveC4 opened this issue Jan 15, 2023 · 0 comments
Closed

[API] Broadcast slot change events #276

TheIllusiveC4 opened this issue Jan 15, 2023 · 0 comments
Assignees
Labels
type: enhancement New feature or request

Comments

@TheIllusiveC4
Copy link
Owner

Mods that may implement separate GUIs containing Curio slots have a difficult, possibly impossible, task of trying to react to slot changes that occur while the GUI is open. Curios handles this directly by resetting the slots when the packet is received, but this is not viable for other mods that want to do the same thing. The solution is to create a new event for slot changes and broadcast them for mods to handle directly themselves.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant