Minecraft communicate with arduino?

=======================================================================================
+++ I am not really good with english... Hope you guys can understand what I am trying to say :wink: +++

I want to start with my little project that I had a while ago, but I don't really know how to do it.
I want to control a arduino board with minecraft, and I do know there's some ppl already achieve this.
But we are all makers, and we want to achieve something with our own hands, that why I want to make this work.

Oh you are still reading this :smiley: good!
I already have a little bit of idea how this work, but I really need help to make this work.

plan 1:
Create a minecraft mod that will track specified redstone input device and what state they are in ( on or off )
then it will create a log file for it. Then using arduino serial communication to check the log file.

plan 2:
Using command block and log the redstone signal. then serial communication.

plan3:
Create a server plugin, that will track specified redstone input device and what state they are in ( on or off ), OR
command block and log the data to the server.

I know some of my plan may not work at all, that what I hope you guys can help me and do this together :wink:
Thank you for at least read the whole thing!! you are awesome !!!
Finally Thank you and have a good day! Hope to see some reply on this!

Seems interesting, never played the game, had to search redstone.
I would start by making the mod. Even better, just to learn go and try someone else's mod and see how it works.

Then, strip its guts out and start from there if a mod from scratch is too complex.

I know some of my plan may not work at all

If a mod can access the file system ( on Windows ), it could access the Arduino directly as the COM ports are opened using the file API.
And as long as the mod can read the in game values you want, you should only be held back by your own ability.

The Arduino task is probably not worth jumping into yet, I would get the mod generating a file or debug info of what you are expecting to see first.