I'm frankly a little disappointed that Linux hasn't been ported to redstone yet.
Minecraft mod that runs RISC-V Linux
21–30 of 35 posts
Re: Minecraft mod that runs RISC-V Linux
#22Re: Minecraft mod that runs RISC-V Linux
#23Earlier quoted context omitted.
Even without mods, Minecraft supports programming mechanisms (albeit not robots). redstone blocks can be used like logic gates, to construct traps, play music, open doors or build factories. People have implemented ALUs in redstone.
Redstone is absolutely miserable to use. Even the simple task of moving signal around is a chore. Even though it can be used to do anything with the magic of NOR gates and Turing completeness, it is an outright hostile environment for learning about programming, logic and electronics.
Redstone blocks vs redstone torches, and their relative strengths/purposes. Torches on sides of normal blocks with signals entering the side of the block. Using normal blocks to prevent redstone signals from connecting (particularly when going up or down stepped inclines). Space requirements to allow a signal to drive a block and not just terminate the signal next to a block.
These are all game analogues of laying out P and N state semiconductors, or conducting signals from one area of a chip to another and maintaining their signal quality, when designing ICs. Granted, these processes are hugely automated by tooling, but someone has to know, learn and understand how the materials science works in order to develop those tools.
This is why I'm surprised I've not yet seen a VHDL/Verilog compiler for minecraft redstone. Converting a gate array and netlist into a minecraft world feels like a relatively simple challenge for anyone with the knowledge, but I guess it's too niche of a project? Or I'm just not looking hard enough for it.
Re: Minecraft mod that runs RISC-V Linux
#24Earlier quoted context omitted.
Redstone is absolutely miserable to use. Even the simple task of moving signal around is a chore. Even though it can be used to do anything with the magic of NOR gates and Turing completeness, it is an outright hostile environment for learning about programming, logic and electronics.
> it is an outright hostile environment for learning about programming, logic and electronics. Calm down, it's just a building game where it happens that you can learn quite a bit about logic. I'd trying to get my 5 y.o. niece into it, since I find it to be a much better game for children compared to those pointless freemium mobile games. Minecraft is fantastic for how simple it looks on the surface.
I guess my bias is that I played Garry's Mod with the Wiremod addon before Minecraft was even a thing, and it personally taught me a lot more about programming and logic than Minecraft ever could.
Re: Minecraft mod that runs RISC-V Linux
#25I can't seem to find any info on how the linux enviroment interfaces with the minecraft world. Is there a minecraft.ko or a minecraftd running inside the vm?
> Many devices are so-called high level API (HLAPI) devices. This means they are not controlled using regular Linux drives, but via a simple RPC system, employing JSON messages over a serial device.
Re: Minecraft mod that runs RISC-V Linux
#26Re: Minecraft mod that runs RISC-V Linux
#27I'm so happy to see it! I had much fun with original OpenComputers, back then I used to wonder if ditching custom Lua OS and running micro Linux VMs would be possible. OpenComputers 2 is the answer, and I'm happy to see it's in active development by OpenComputer's author and most active contributor. It's early in development, but I see in the source code it comes with some basic networking, with IPs, DHCPs and so on.…
Re: Minecraft mod that runs RISC-V Linux
#28In the past, I found incredible to being able to program in Lua in ComputerCraft, controlling not only redstone and moving robots, but also being able to interface with the web and serial ports, but this, this is (or can be) a whole new world inside the Minecraft modding space. Amazing!
Re: Minecraft mod that runs RISC-V Linux
#29In the past, I found incredible to being able to program in Lua in ComputerCraft, controlling not only redstone and moving robots, but also being able to interface with the web and serial ports, but this, this is (or can be) a whole new world inside the Minecraft modding space. Amazing!
Out of curiosity, is this available in multiplayer, and if so, which physical machine is the "host"? Is it the Minecraft server or is VM execution somehow replicated on the clients (first player that enters an unloaded chunk?)?
Re: Minecraft mod that runs RISC-V Linux
#30As someone who has never played Minecraft except for creative mode without mods with a 6yo. Could someone explain to me what this mod does and what the concept of Robots is? Does this enable programmable computers and programmable robots that have their own "agency" to work for you? And on a related note: Are there other mods related to (learning) programming that can be used by kids (6-8yo)? I'm specifically looking…
OpenComputers has players build one or more machines (either "computers" which can't move, or "robots" which can) and then the conceit is those machines seem to run a primitive DOS^W [Edited: I think it's actually Linux?] with floppy disks (flying robots, but booted from floppy disks, hey it's only a game) and they can run Lua programs you write. This mod (OpenComputers II) is a "spiritual successor" to OpenComputers…
It is pretty easy to import code into OpenComputer once setup - see NIDAS https://github.com/S4mpsa/NIDAS