Back to mods
Enhanced Threshold Switch project artwork

Modrinth · Minecraft mod

Enhanced Threshold Switch

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

Choose a version Pick your version below, then grab the matching file.

Quick answer

Which Enhanced Threshold Switch release matches 1.20.1 Forge?

Updated 2 years ago
Best match for your filters 1.0.2+forge-1.20.1
Game version 1.20.1
Loader Forge

Enhanced Threshold Switch 1.0.2+forge-1.20.1 targets 1.20.1 with Forge. Do not install it on the client. It must be installed on the dedicated server. All 1 required mods have matching files.

Where it goes

Is Enhanced Threshold Switch required on the client, server, or both?

Do not install it on the client. It must be installed on the dedicated server.

Client Not supported
Dedicated server Required
Loader for this release Forge
Required install it here Optional supported, not mandatory Not supported do not install here Source doesn’t say do not assume

This file is marked server-only.

What else does Enhanced Threshold Switch 1.0.2+forge-1.20.1 need?

1.0.2+forge-1.20.1 on 1.20.1 Forge. Every mod below is checked against that same setup.

All 1 required mods have matching files

Install Create first. We found matching files for this game-version and loader setup.

Create Needed by Enhanced Threshold Switch 1.0.2+forge-1.20.1
required
Matching file found Matched file: mc1.20.1-6.0.8

We only count dependency files that match this setup. A file for another loader does not fill the gap.

Before you install it

Add Enhanced Threshold Switch without breaking your instance.

Built for Enhanced Threshold Switch 1.0.2+forge-1.20.1 on 1.20.1 Forge. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use 1.0.2+forge-1.20.1. It targets 1.20.1 with Forge; another release may have different loader, side or dependency requirements.

  2. 02

    Bring the mods it needs

    Install Create first. We found matching files for this game-version and loader setup.

  3. 03

    Put it on the correct side

    Do not install it on the client. It must be installed on the dedicated server.

  4. 04

    Pick the file you checked

    Use the “Get this file” button beside 1.0.2+forge-1.20.1. It opens that exact file at the source.

About this project

What does Enhanced Threshold Switch add?

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.

Project description from Modrinth.

Pick your setup

Enhanced Threshold Switch by Minecraft version and loader

Choose the version and loader you play, then open the matching release.

6 available setups

Check the dependencies, then try the file in a copied instance before changing a world you care about.

Recent files

Enhanced Threshold Switch versions and loaders

3 of 18 releases match
Clear filters

Looking for an older file? The official Modrinth project page is in Resources.