Skip to content

Change Wrench checks in Create code to use a tag rather than a hardcoded item #8566

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

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

Conversation

vercte
Copy link
Collaborator

@vercte vercte commented May 28, 2025

This changes hard-coded wrench code to check for the new CREATE_WRENCH (create:wrench) tag, replacing the previous forge tag with FORGE_WRENCH (forge:tools/wrench) for distinction, keeping old behavior

It also modifies EdgeInteractionBehaviour to use an ItemStack predicate instead of just a single item for more versatility, which is necessary to make this carry out its full purpose. The old function for adding an item to it is still valid and can be used the same in addons.

@VoidLeech
Copy link
Collaborator

VoidLeech commented May 28, 2025

Closes #7234 and #2876

@VoidLeech VoidLeech added the area: api Issue or PR is related to API label May 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: api Issue or PR is related to API
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants