Description

This library is still WIP. Breaking changes may happen, and features (such as support for wrenches with multiple modes) will be added over time.
Wrenchable is a lightweight library designed to let mods easily make their wrenches compatible with other mods. Do not download this mod unless you are a mod author.
FAQ
Q: Is there any standard for when certain actions should be performed?
A: Yes. Rotation is done clockwise when right-clicking and counter-clockwise when shift right-clicking. The alt modifier from Fermion Modkeys is used for rotating towards the side of the block you right-clicked. The control modifier from Fermion Modkeys (and it's combination with other modifiers) is used for any additional function you would like to have (i.e. Sign Editing, Emptying End Portal Frames). It is not required to follow these standards, but I heavily recommend you do. As of Wrenchable 0.0.4 you can also use default behavior for the Properties FACING, HORIZONTAL_FACING, and ROTATION by using their respective methods in WrenchableUtilities.
Q: My mod has blocks that only use Properties.FACING or Properties.HORIZONTAL_FACING, or I only need to modify these properties. Do I need to add Wrenchable into my mod for Wrenchable to support changing them?
A: No, but you do need to implement the rotate method in your block class for things to work properly. (Hint: You can look at how PistonBlock and HorizontalFacingBlock use this method.)
Q: My mod has blocks that only use Properties.ROTATION, or I only need to modify this property. Do I need to add Wrenchable into my mod for Wrenchable to support changing them?
A: No, you do not.
Q: My mod has blocks that rely on other unsupported vanilla Properties. Do I need to add Wrenchable into my mod for Wrenchable to support changing them?
A: Yes, but if you contact me I may add support of my own for the property you are trying to change.
Q: My mod has blocks that rely on custom Properties or custom non-property related logic. Do I need to add Wrenchable into my mod for Wrenchable to support changing them?
A: Yes. Without providing custom support, nothing will be done to your block.
AD
Become Premium to remove Ads!
What means Verified?
-
Compatibility: The mod should be compatible with the latest version of Minecraft and be clearly labeled with its supported versions.
-
Functionality: The mod should work as advertised and not cause any game-breaking bugs or crashes.
-
Security: The mod should not contain any malicious code or attempts to steal personal information.
-
Performance: The mod should not cause a significant decrease in the game's performance, such as by causing lag or reducing frame rates.
-
Originality: The mod should be original and not a copy of someone else's work.
-
Up-to-date: The mod should be regularly updated to fix bugs, improve performance, and maintain compatibility with the latest version of Minecraft.
-
Support: The mod should have an active developer who provides support and troubleshooting assistance to users.
-
License: The mod should be released under a clear and open source license that allows others to use, modify, and redistribute the code.
-
Documentation: The mod should come with clear and detailed documentation on how to install and use it.
AD
Become Premium to remove Ads!
How to Install
Download Forge & Java
Download Forge from the offical Site or here. If you dont have Java installed then install it now from here. After Downloading Forge you can run the file with Java.
Prepare
Lounch Minecraft and select your Forge istallation as Version this will create a Folder called Mods.
Add Mods
Type Win+R and type %appdata% and open the .minecraft Folder. There will you find your Folder called Mods. Place all Mods you want to play in this Folder
Enjoy
You are now Ready. Re-start your Game and start Playing.