跳到正文

Wrenchable: Fabric

作者:Shrimpstress

轻量级、支持 Jar-in-Jar 的扳手前置库,旨在让不同模组的扳手彼此兼容。

收藏

介绍

中文介绍正在准备中,下面暂时显示原文。

 

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.

常见问题

Wrenchable: Fabric 支持哪些 Minecraft 版本?

Wrenchable: Fabric 支持 Minecraft Java 版 1.14.4–1.16.1,共 3 个版本,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。

Wrenchable: Fabric 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。

评论

登录后评论和评分

Shrimpstress 的其他作品

查看全部 →