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

Get slotted items #737

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Conversation

GerdonAbbink
Copy link

@GerdonAbbink GerdonAbbink commented Nov 7, 2023

Ability to retrieve GuiItems with their slots and get items based on coordinates or slot

This has been a pull request in the past (#336) but this one includes the documentation.

@stefvanschie I've added TODO's for adding the version numbers.

- getSlottedItems method for getting the GUI items with their slot
- getItem for getting an item from a specific slot
- getSlottedItems method for getting the GUI items with their slot
- getItem for getting an item from a specific slot
# Conflicts:
#	IF/src/main/java/com/github/stefvanschie/inventoryframework/pane/StaticPane.java
Copy link
Owner

@stefvanschie stefvanschie left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for your pull request. Could you alter the getSlottedItems method to return an immutable version of the map?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants