跳到正文

Enhanced Threshold Switch

作者:PalTheTaur

This is a addon for create, it works via two mixins to give threshold switches the ability to read from mechanical bearings.

收藏

截图

介绍

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

Enhanced threshold switch!!

this is only required by the server, it does nothing to have it in the client.

I have had some situations where I wanted to have a somewhat self contained way to handle the angle of a mechanical bearing. Redstone contacts have to be placed on the outside to get a more accurate reading, so they can be unreliable. I saw that the bearings do store their angle inside the NBT, so I just had to mark them as observable and give it a value.

Thats not the only change I made though, it also increases the update rate of the threshold switch when connected to a mechanical bearing, going from once every 10 ticks, to every tick, this is to allow it to pretty closeley represent the position, and not require you to lower the speed to unusable speeds to get any sort of positon.

At about 128 rpm is where the update rate for the speed gets choppy, past that expect skipped connections for ranges under 25%

Looks kinda nice as it loops

A threshold switch looping around from the motion of a bearing

I do plan to update this to support mechanical pistons and other things.

_This is my first mod, please understand the code in here is likely of poor quality and has mistakes, I am not experienced with this._

most of the things still say stockpile, I forgor it was renamed.

常见问题

Enhanced Threshold Switch 支持哪些 Minecraft 版本?

Enhanced Threshold Switch 支持 Minecraft Java 版 1.18.2–1.20.1,共 3 个版本,可用的加载器:Fabric / Forge。下载时注意选择和你游戏版本一致的文件。

Enhanced Threshold Switch 怎么安装?

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

评论

登录后评论和评分

PalTheTaur 的其他作品

查看全部 →