
Wrenchable: Forge
Important Information
This modification is intended exclusively for developers. Regular users are not recommended to install it.
About the Modification
Wrenchable is a lightweight library that simplifies the process of ensuring wrench compatibility between various modifications. Developers can use it to create universal tools for interacting with blocks.
Frequently Asked Questions
Interaction Standards
Are there standard rules for performing certain actions?
Yes, it is recommended to follow these conventions: clockwise rotation with right-click and counter-clockwise with Shift held. The alt modifier from Fermion Modkeys is used for rotating towards the clicked side of the block. The control modifier (and its combinations with other modifiers) is intended for additional functions such as sign editing or clearing end portal frames. Starting from version 0.0.4, you can use default behavior for FACING, HORIZONTAL_FACING, and ROTATION properties through the corresponding methods in WrenchableUtilities.
Standard Block Properties
My blocks use only Properties.FACING or Properties.HORIZONTAL_FACING. Do I need to add Wrenchable to support changing these properties?
No, but you need to implement the rotate method in your block class for proper operation. You can study examples of using this method in the PistonBlock and HorizontalFacingBlock classes.
Rotation Properties
My blocks use only Properties.ROTATION. Is Wrenchable required to change this property?
No, it is not required.
Unsupported Properties
My blocks use other unsupported standard properties. Is Wrenchable needed to change them?
Yes, but you can contact the developer to add support for the property you need.
Custom Properties
My blocks use custom properties or non-standard logic. Is Wrenchable required for their support?
Yes. Without providing custom support, your block will not respond to wrench interaction.