Minecraft Redstone Project

Last edited:
Work on the subtract or has been painfully slow.
The circuit diagram and the test bit worked fine but my problem was copying the test bit.
The first and last bits are differerent from the middle ones in the subtractor.
The test bit I made was the last bit so all went down hill in testing when it didn't work.
Also I managed to place transmitters where receivers where to be placed and I had a few of them on the wrong channels :/
Just manged to set things straight and from initial testing it looks okay.
I will upload screenshots tomorrow when I have fully tested it.
 
Really good work on this so far. I wrote a Sinclair Spectrum emulator (Z80 based) a few years ago in C++ but haven't played Minecraft in ages. It's interesting to see how flexible Minecraft has become to allow you to do this stuff.

2's complement did my head in at the time as well :) Along with implementing the Z80's DAA instruction.
 
Thanks guys.
The hardest bit is yet to come and I'm dreading it.
I have got to somehow incorporate the move function to all the temporary registers and the two main ones.
With subtract done, I should have the ALU finished by tonight.
Then I will upgrade it to 16 bit and add 2 input multiplexers in to reduce lag.
I will probably get everything sign posted too before it gets messy.
The original mux needs to be tested for size as I want to reduce it to 4 bit instead of 5 depending on how many commands are needed.
All the transmitters and receivers need changing to allow for a 16 bit bandwidth for each function.
And there's probably more things that I have forgotten xD

Also there are a couple of bugs with the game build I'm using:
1. Items disappear from your hand when u shift+place
2. Middle clicking on a transmitter/receiver crashes the game. Clear inventory solves this :)
 
Subtractor does work :)

here are some images

Negative answer (carry light on)
subtact.png

Positive answer
subtract.png

And the circuitry
subtractbuilt.png
 
Progress won't be made until Friday at the earliest.
Got a physics exam next week and I haven't done anything this weekend as I haven't been feeling very well :/
 
Decrement has been finished. This decreases the value of the main register by 1.

Negative indicator works
decrementnegative.png

Positive output value
decrementpositive.png

The circuitry (same as subrtactor) :)
decrementcircuit.png

May not be progressing very fast as I have a lot of work to do over Easter and I have been distracted by Kerbal Space Program and Guild Wars 2 :)

Anyway, got to get the rotate left and right working next. Just 2 shift registers.
 
This is a mux I need to build to reduce lag

binary is in the bottom left and the input is top left on its own. outputs are on top from left to right (0 to 16(havent finished it xD))
needtobuildmux.png
 
to save yourself some bother later, dont forget to make sure every chunk it occupies is loaded with a chunk loader. i imagine that half of the electronics working with the other half not existing (as far as the game is concerned at the time) would seriously screw things up.

All you need to do is work out which one is actually working (the OcUK server has been having a nightmare with chunk loaders, some of which have reset chunks)
 
I was thinking of doing that but I am hosting it on my pc with the "viewdistance=15" in server properties.
So if I can see it, it will work. (and some more) Far view distance in game is 9 so I have plenty of room :)
 
Bit more done.

Part of the mux I said I was gonna build. I would need 16x16 of these. 256 is a lot so I can't be bothered. I will do it later if it needs it.
othermux.png

16 bit complement finished
16bitcomplement.png

16bitcomplement3.png

16bitcomplement2.png
 
Back
Top Bottom