Coder Social home page Coder Social logo

antonilol / mc_arduino Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 1.0 1.03 MB

Displays Minecraft time as human time on a seven segment display via an Arduino

License: MIT License

Shell 1.69% Java 90.01% C++ 8.30%
minecraft minecraft-mod minecraft-fabric-mod arduino serial-communication serial-port 7-segment-display

mc_arduino's Introduction

Build

mc_arduino

Install and use

This mod runs on Fabric, so make sure you have that installed.

Download the Fabric API if you don't have it already. Put it in your mods folder.

Go to Releases and download the latest release. Also put it in your mods folder.

The mods folder can be found in .minecraft. If not, create it.

Start Minecraft and open a world or join a server.

Have an arduino connected (or connect in now) with the program loaded.

Type /mc_arduino serial list to list serial devices.

Type /mc_arduino serial connect <device> to connect and start the Minecraft clock on the displays.

Type /mc_arduino serial disconnect to stop it and make the serial port available again. (You can't upload any programs to an Arduino when the serial port is busy)

/mc_arduino serial is also available as /serial.

I will be adding a led strip to it later for the XP bar

Compiling

Linux and Mac OS

Clone the repo

git clone https://github.com/antonilol/mc_arduino.git

or download the zip and unzip it.

Enter the folder (cd or double click).

If you downloaded the zip, make gradlew executable.

chmod +x gradlew

And finally, compile.

./gradlew build

Windows

Clone or download like mentioned above and build with

gradlew.bat build

Developing

Clone the repo.

To get completions in your IDE (if applicable) run ./gradlew genSources (unix) or gradlew.bat genSources (windows).

More on that here.

License

MIT

mc_arduino's People

Contributors

antonilol avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.