
SerialCraft
Bring Redstone to life! A simple mod to connect Arduino and Minecraft via serial port. No complications, just plug and play.
Screenshots

About this Mod
SerialCraft 📦 v0.3.6
The Bridge Between Worlds
Connect your Arduino to Minecraft Java (Fabric 1.21.10) and bring electronics into Survival mode.
📚 Documentation
Full Guide & Wiki: https://leonardoaliaga.github.io/SerialCraft/
What is SerialCraft?
SerialCraft is a mod that breaks the fourth wall, allowing real-time bidirectional communication between the game and external electronic devices (Arduino, ESP32, Raspberry Pi Pico, etc.).
Unlike other technical mods, SerialCraft is designed to integrate organically into the Survival experience. No magic commands—you build the hardware, you configure the connections, and you craft the logic.
✨ Key Features
- 🔌 Plug & Play: Compatible with any Serial/USB board.
- 💻 In-Game UI: Simple graphical interface to select ports and baud rates without editing config files.
- ⚡ Bidirectional:
- Input (Physical -> Game): Use real sensors (light, sound, buttons) to trigger Redstone.
- Output (Game -> Physical): Use Redstone to turn on real LEDs, motors, or buzzers.
- 🧠 Logic Gates: The blocks include internal logic (AND, OR, XOR) for advanced circuit safety.
📦 Blocks & Recipes

1. The Connector Block (Laptop)
The brain of the operation. It handles the USB connection to your real-world device.
- Usage: Right-click to open the UI. Select your Port and Baud Rate (must match your Arduino code, e.g., 9600).
- Settings: You can adjust the "Read Speed" (Fast, Normal, Low) to prevent lag if your board sends too much data.

Crafting Recipe

2. The IO Block (Arduino IO)
The physical bridge. This block connects to the Laptop wirelessly (logic-wise) and interacts with Redstone.
- Pin System:
- Right Click on a side connector: Sets pin to IN (Green). Reads Redstone.
- Shift + Right Click on a side connector: Sets pin to OUT (Red). Emits Redstone.
- Configuration: Right-click the block to set the
Target ID(e.g.,LED_1orSENSOR_A) and the signal type (Analog vs Digital).


Crafting Recipe

🚀 Quick Start (Protocol)
Communication is text-based using KEY:VALUE format ending with a newline (\n).
Arduino Example:
void setup() {
Serial.begin(9600); // Matches the Laptop Block settings
}
void loop() {
// Send data to Minecraft (Block ID "btn_1", Value 15)
Serial.println("btn_1:15");
delay(50);
}
🤝 Community & Support
- Issues: Report Bugs Here
- Author: Leonardo Aliaga
Available Versions
How to Install SerialCraft on Your Server
Order Server
Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).
Set fabric Loader
In the panel under "Egg", select the fabric loader and matching Minecraft version (1.21.11).
Install Mod
Open the mod browser in the dashboard and search for "SerialCraft". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.
Compatibility
Mod Loaders
Minecraft Versions
1.21.11, 1.21.10
Server-side
✓ RequiredRecommended RAM
4 GB(min. 3 GB)Frequently Asked Questions
SerialCraft server crashes on startup – what to do?
Most common cause: wrong fabric version or insufficient RAM. Check the server log (latest.log) for "OutOfMemoryError" or "Mixin" errors. With Mado Hosting: ensure at least 3 GB RAM is allocated and the loader matches the mod version (1.21.11). You can switch loaders with one click in the panel.
Is SerialCraft compatible with fabric?
SerialCraft officially supports fabric for Minecraft 1.21.11, 1.21.10. The Mado dashboard automatically detects incompatible loader combinations.
Server lagging with SerialCraft – how to optimize performance?
Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if SerialCraft consumes the most tick time. Common fixes: reduce server view-distance to 8-10, install "performant" or "starlight" as supplementary mods on Forge. With Mado Hosting, your server runs on NVMe SSDs with dedicated CPU cores for minimal latency.
Similar Mods
Rent Modded Server
Install SerialCraft with just one click on your server.