Skip to content

State Machine

Build a state machine in Minecraft!

Fabric
Loaders
Fabric
Downloads on Modrinth
256
Followers on Modrinth
4
versions
10
Updated
February 13, 2026Feb 13
Published
in 2026
Aho–Corasick algorithm — This is an implementation of [Aho–Corasick algorithm](https://en.wikipedia.org/wiki/Aho%E2%80%93Corasick_algorithm). Using Create Mod for I/O. · swipe

At a glance

Runs on Fabric
For Minecraft 1.21.1, 1.21.8 …
Needed in the game and on the server
Latest version — 0.0.3+1.20.1.hotfix.4 from February 13, 2026
License LGPL-3.0-or-later — free
Where it's needed
In gamerequiredOn serverrequired

Needed both in the game and on the server

Game versions1.20.1, 1.21.1, 1.21.8

State Machine Mod

With this mod you can build a deterministic finite-state machine in Minecraft.

The set of items (NOT ITEM STACKS) in your game is your alphabet. States are placed blocks. If a state is the current one of some state machine it will emit redstone signal.

Operations

  • Create Transition: Hold an item in the offhand and any wrench (state machine tool) in the main hand, then right‑click two state blocks. The first clicked block is the source state, the second is the target state.
  • Create Default Transition: Same as creating a transition, but with an empty offhand.
  • Remove Transition: Hold an item in the offhand and use any wrench (state machine tool) to right‑click a state block whose transition you want to remove. If the offhand is empty, the default transition is removed.
  • Set State Machine Block State: Right‑click a state machine block with any wrench (state machine tool), then right‑click the target state.

FAQ

How to install State Machine?

Install Fabric for your Minecraft version, download State Machine for the same version and loader, put the file into the mods folder and launch the game with the loader profile.

Which Minecraft versions does State Machine support?

State Machine has builds for Minecraft 1.20.1, 1.21.1, 1.21.8.

Is State Machine needed on the server?

Needed in the game and on the server

License and source
GNU Lesser General Public License v3.0 or laterfree to use and share; changes to the mod itself must be published under the same license
Original — Modrinth↗Files unchanged, verified with SHA-512Is this your mod? For rights holders

The site uses cookies: the necessary ones for sign-in and the theme, plus the Yandex Metrica and LiveInternet visit counters — they show us how the site is used. We have no advertising cookies. More