Expose the selected hotbar slot in inventory manager peripheral#823
Closed
CrazyDev05 wants to merge 1 commit into
Closed
Expose the selected hotbar slot in inventory manager peripheral#823CrazyDev05 wants to merge 1 commit into
CrazyDev05 wants to merge 1 commit into
Conversation
Collaborator
|
Thanks for the PR. We won't adding any new features to 0.7, so please wait till the 0.8 branch to release (won't be far I believe). |
Contributor
Build PreviewYou can find files attached to the below linked Workflow Run URL (Logs).
|
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.
PLEASE READ THE GUIDELINES BEFORE MAKING A CONTRIBUTION
What kind of change does this PR introduce? (Bug fix, feature, ...)
This PR adds two api changes to get the selected hotbar slot from the inventory manager
What is the current behavior? (You can also link to an open issue here)
Not possible to retrive the real selected slot, you can only iterate over all 9 slots and find a matching item to the one returned by
getItemInHandwhich will break when one has two matching stacks in the hotbarWhat is the new behavior (if this is a feature change)?
getItemInHandmethodgetSelectedSlotmethodNo