Repository navigation
Implement bundle related keys & ChangeInventoryEvent.ValueChange for bundle selected index change - #4333
Open
avaruus1 wants to merge 9 commits into
Open
Implement bundle related keys & ChangeInventoryEvent.ValueChange for bundle selected index change#4333avaruus1 wants to merge 9 commits into
avaruus1 wants to merge 9 commits into
Conversation
…d implement keys related to bundles
Codecov Report❌ Patch coverage is 📢 Thoughts on this report? Let us know! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Sponge | SpongeAPI
Implement keys for accessing
DataComponents.BUNDLE_CONTENTSrelated values. ImplementChangeInventoryEvent.ValueChangefor bundle selected item index.No other inventory event was fired due to vanilla's
BundleContentsexcluding the selected slot.Another Keys.INVENTORY use case for ItemStacks is accessing container contents of an item (for example, shulker box). A supports condition was added to allow both to work.
One use case for the bundle index change event is scroll detection, demonstrated in the test plugin and the following video:
2026-11-23.01-28-35.mp4