Tech Reborn

Tech Reborn

30M Downloads

Wrench compat contains long obsolete wrenches

KonSola5 opened this issue ยท 0 comments

commented

Describe the bug
The compatible Wrenches defined in Reborn Core are long outdated.
The wrenches defined are from the 1.12-era mods!

ToolManager.INSTANCE.customToolHandlerList.add(new GenericWrenchHelper(new Identifier("ic2:wrench"), true));
ToolManager.INSTANCE.customToolHandlerList.add(new GenericWrenchHelper(new Identifier("forestry:wrench"), false));
ToolManager.INSTANCE.customToolHandlerList.add(new GenericWrenchHelper(new Identifier("actuallyadditions:item_laser_wrench"), false));
ToolManager.INSTANCE.customToolHandlerList.add(new GenericWrenchHelper(new Identifier("thermalfoundation:wrench"), false));
ToolManager.INSTANCE.customToolHandlerList.add(new GenericWrenchHelper(new Identifier("charset:wrench"), false));
ToolManager.INSTANCE.customToolHandlerList.add(new GenericWrenchHelper(new Identifier("teslacorelib:wrench"), false));
ToolManager.INSTANCE.customToolHandlerList.add(new GenericWrenchHelper(new Identifier("rftools:smartwrench"), false));
ToolManager.INSTANCE.customToolHandlerList.add(new GenericWrenchHelper(new Identifier("intergrateddynamics:smartwrench"), false));
ToolManager.INSTANCE.customToolHandlerList.add(new GenericWrenchHelper(new Identifier("correlated:weldthrower"), false));
ToolManager.INSTANCE.customToolHandlerList.add(new GenericWrenchHelper(new Identifier("chiselsandbits:wrench_wood"), false));
ToolManager.INSTANCE.customToolHandlerList.add(new GenericWrenchHelper(new Identifier("redstonearsenal:tool.wrench_flux"), false));

Nowadays, there are Fabric tech mods like:

  • Create
  • Modern Industrialization
  • Industrial Revolution
  • AE2
  • Ad Astra
  • GregTechCEu Modern

which do have Wrenches.
However, because of this ancient piece of code, none of above are compatible with TR blocks.

Steps to Reproduce
Steps to reproduce the behavior:
None.

Screenshots
If applicable, add screenshots to help explain your problem.

Environment (please complete the following information with the version):

  • Minecraft: Any version beyond 1.12
  • Mod Loader: Fabric

Logs
No logs, since it's an issue with the coding.

Additional context
That's why no wrench other than TR one can wrench its blocks.