Create

Create

86M Downloads

Wrench scrolling interactions are hardcoded to check for the create wrench

RCXcrafter opened this issue ยท 1 comments

commented

Describe the Suggestion

I would like to suggest a hook for addons to check if the current itemstack is valid for scrolling interactions similar to the one that currently exists for the goggles: https://github.com/Creators-of-Create/Create/blob/mc1.18/dev/src/main/java/com/simibubi/create/content/contraptions/goggles/GogglesItem.java

Screenshots and Videos

No response

Additional Context

I'm making a mod that adds a tinkers construct wrench tool and I have added a modifier that allows my wrench to take on the functionality of the create wrench to turn it into an omni-wrench of sorts. Currently my wrench can't configure machines with scroll interactions since these are hardcoded to check for the create wrench: https://github.com/Creators-of-Create/Create/blob/mc1.18/dev/src/main/java/com/simibubi/create/foundation/tileEntity/behaviour/scrollvalue/ScrollValueHandler.java#L49

commented

Was this issue closed becasue the requested hook was added or because it will not be added?