Open n00b-asaurus opened 4 years ago
Hello, I made a tool some time ago to assemble and load code in a redstone computer memory. At first it typed them in chat like you do but I realized I could just put all the commands in a datapack function file and execute them all at once. Also you could try using structure blocks.
The thought had crossed my mind, and I do have structures in place to allow the program to generate mcfunctions instead. I'll probably implement this first then work on speeding up the typer, only because I like having options :)
I think with structure blocks (those : https://minecraft.gamepedia.com/Structure_Block) it would be easier to build a library of prefab circuits that can be placed more reliably. I don't really know about the NBT format yet, I'll do some testing this weekend.
Also, I'm working on CPU design as a side (but not so aside) project for my studies. I plan on doing an implementation with electronics but building it in minecraft would help to find some design flaws. I think there is a great potential in your project ! (the idea of a redstone module for KiCad is stuck in my mind)
I think with structure blocks (those : https://minecraft.gamepedia.com/Structure_Block) it would be easier to build a library of prefab circuits that can be placed more reliably. I don't really know about the NBT format yet, I'll do some testing this weekend.
That might work for some structures, but I'm not sure it would for the decoder/encoder structures that are generated with variable widths and inputs from text files. I like the idea though.
Also, I'm working on CPU design as a side (but not so aside) project for my studies. I plan on doing an implementation with electronics but building it in minecraft would help to find some design flaws. I think there is a great potential in your project ! (the idea of a redstone module for KiCad is stuck in my mind)
I've yet to start one, but I've wanted to do a CPU in Minecraft for a while (since I first saw one some years ago...). I was also thinking this RDK would be helpful for that. And I've also thought about how to link the world of Minecraft worlds with things like KiCad and other similar design tools. I'd love to be able to import some logic or circuits from a tool like Logisim and have it built in Minecraft. That would be awesome.
What about RDK running local server to interface directly with python (or any java code) ? The user wouldn't have to move files around and everything could be done from the in game chat.
https://dev.bukkit.org/projects/raspberryjuice https://github.com/zhuowei/RaspberryJuice https://gist.github.com/noahcoad/fc9d3984a5d4d61648269c0a9477c622
PyDirectInput works well enough, but it takes almost a second to copy and paste a command. See if there's a way to speed this up.