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

Custom Inventory Identification #7729

Open
wants to merge 4 commits into
base: mc1.20.1/dev
Choose a base branch
from

Conversation

TropheusJ
Copy link
Collaborator

Introduced InventoryIdentifier, which identifies a multiblock inventory.
Mods can now freely determine if a packager is targeting an ignored inventory.

Added a few implementations for vanilla blocks, as well as one for vaults. These will be much more efficient than scanning the whole inventory for matching stacks.

The fallback behavior of scanning for matching stacks is still present, and is used if no identifier is found.

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.

1 participant