ModsFinder

CraftingTable.py

by Ritsucraft_

CraftingTable.py lets Python scripts react to Minecraft events and run commands on a Fabric server, with the Python code living in files the server owner edits.

FabricServer-side onlyMIT LicenseOpen source1.20.4 – 1.20.6

What it does

Scripts are written in Python and hooked into game events. A handler is registered with the mc.event decorator, which takes an event name and an optional priority, an integer that sets the order in which handlers run. The event names are the Minecraft events a script listens for, and a handler whose body is only pass still registers the Fabric-side listener so logic can be added later.

Fabric API is required, and Python 3.11 is recommended, though other versions can work. Make sure the Python dependencies are installed before the first launch. After the first run, the mod generates its files in the Minecraft game directory, where mod.py defines the handlers. Running ctpy reload in the game applies changes without a restart, but adding a new decorator needs a full game restart. Upgrading to v0.0.2 requires following the listed steps, while replacing the jar alone is enough for changes that only touch the internal Python library.

Key features

  1. Event-driven scripts

    Python handlers respond to Minecraft events in an event-driven way instead of through the older function-naming convention.

  2. Priority ordering

    An optional integer priority sets the order in which handlers for the same event execute.

  3. In-game reload

    The ctpy command reloads handler changes in the running game, so edits to mod.py take effect without restarting.

  4. Command control

    Scripts can run commands and interact with the game through the same mc interface used for event handling.

Compatibility

Latest build for each game version and loader.

No stable releases
Every published file is a beta or alpha build.
1.20.61.20.4-0.0.2
1.20.51.20.4-0.0.2
1.20.41.20.4-0.0.2
ReleaseBetaAlphaNot available

Only full game releases are shown. This mod publishes no snapshot builds.

Requirements

Dependencies declared by the latest file for each loader.

Required 1

Fabric APILightweight and modular API providing common hooks and intercompatibility measures utilized by mods using the Fabric toolchain.
Required

Use cases

Who it’s for: Server owners and players who want to script server behavior in Python. The mod is run on the server, so players joining the server do not need to install it.

How it compares

Full comparison

Python MC Mod is a Fabric mod for 1.21.1 that runs on the client and server, under the Creative Commons Attribution 4.0 license, and is not open source. CraftingTable II Refabricated covers Fabric and NeoForge for 1.20.1 – 1.21.8 under the MIT License and is open source, with both sides needing it.

ModLoadersGame versionsEnvironmentUpdated
CraftingTable.pyFabric1.20.4 – 1.20.6Server-side only2025-12-18
Python MC ModFabric1.21.1Client and server2026-05-06
CraftingTable II RefabricatedFabric and NeoForge1.20.1 – 1.21.8Client and server2026-06-18

Questions

Does CraftingTable.py need Fabric API?

Yes. Fabric API is listed as a required dependency and must be installed alongside the mod on the Fabric server.

Which Python version does CraftingTable.py use?

Python 3.11 is recommended. Other versions can work, but dependencies must be installed before running the mod.

Do changes to mod.py apply without a restart?

Handler edits apply after running ctpy reload in the game. Adding a new decorator requires a full game restart.

In the catalog

CraftingTable.py is one of 3,514 Library mods on ModsFinder, and one of 2,348 Library mods for Fabric. 11,154 mods support Minecraft 1.20.6.

More from Ritsucraft_

All projects

Similar mods

What the author says

CraftingTable.py is a Fabric mod that allows you to control Minecraft using Python scripts in an event-driven way. Inspired by discord.py, it lets you handle server events asynchronously and execute commands directly from Python. To use CraftingTable.py, the following software is required: Fabric Loader: 0.17.2 or…
Ritsucraft_, on the Modrinth page

Official listing

Owner
Ritsucraft_
Published
2025-10-09
Updated on Modrinth
2025-12-18
Facts verified
2026-10-15

Tags