.github/workflows | ||
gradle/wrapper | ||
libs | ||
src/main | ||
.gitignore | ||
build.gradle | ||
gradle.properties | ||
gradlew | ||
gradlew.bat | ||
LICENSE | ||
README.md | ||
settings.gradle |
Microcraft
A Minecraft mod that allows for Microcontroller and Singleboard computer control (and everything else that supports serial connections).
Examples
You can connect a button to your Microcontroller and make your player jump when pressing it or you can make a small LED light up as soon as you crouch. You can also expand on said example by e.g. displaying your health on an LED matrix (ft. my brother). This and some more examples can be viewed on Github. Literally anything can be triggered and if it isn't implemented yet, open an issue on GitHub and make a feature request
This mod is in an early stage and may contain some bugs - DISCLAIMER: big understatment the mod is nowhere close to being in a state where it is usable
About the mod
This mod allows for communication between the minecraft client and a Microcontroller or singleboard computer (e.g. Raspberry PI). In general every device that supports a serial connection can be used. The connection is bi-directional, meaning that you can trigger something from both ends.
(not yet but soon (TM))
Setup
- Download the mod jar for the correct version and place it into your mods folder
- If you are on Linux, run the following commands in a terminal (replace the placeholder with your username):
sudo usermod -a -G uucp [user]
sudo usermod -a -G dialout [user]
sudo usermod -a -G lock [user]
sudo usermod -a -G tty [user]
If any of these commands fail, that's ok. these groups aren't all available on every distro but as long as you're in at least one of them, the mod should work. Alternatively you can run your Minecraft client as root although this is not recommended.