- MaudDib
- Registered Member
-
Member for 13 years, 3 months, and 28 days
Last active Sun, Jun, 9 2019 14:57:40
- 0 Followers
- 299 Total Posts
- 18 Thanks
-
Sep 7, 2013MaudDib posted a message on 13w36a Snapshot Ready for Testing!Posted in: News
most epic village spawn ever =) -
Sep 7, 2013MaudDib posted a message on 13w36a Snapshot Ready for Testing!seed = nuclearPosted in: News
landscape = lots of extreme verticals (with lava falls =), lots of pandora mountains, pure epicness.
its almost like the Aether....without the aether clouds or bottomless void =) - To post a comment, please login.
0
on a different topic...I found a very cool use for block breakers/placers:
This is a binary counter with up/down/load/clear functions. The zigzag line running up the back is the clock signal. if an orange block is cutting that wire, that stage of the counter (and all others above it) doesn't toggle. when it does toggle it either removes or places that block. Why use placers/breakers? Because they place/break blocks instantly, making the outputs *perfectly synced*. There is no propagation delay between the bits. And its only 3 ticks. I could have used pistons, but we all know how everyone frowns on those, never mind bud/block dropping issues.
I have a version of this that only counts up. Since that one doesn't have the direction/reset/load logic, its only 2 ticks. I think if it had the load/reset logic and still stay at 2 ticks, it should be perfect for a program counter.
This is an 8 bit version...this can be extended to however many bits you want, it will always stay at 3 ticks. The chests are there to catch the block from the breakers, and there's a transport pipe with extractor/responder chips linked between the placer and chest to keep the placers stocked. That part of the counter has no effect on it's speed, the placers are stocked with a full stack of blocks This could easily be built horizontally as well. I just prefer vertical 'bit slice' designs, this is for a big project I'm working on.
I've done a vertical insta-carry adder using this same technique, and its pretty darned fast too.
0
Ive done similar builds like this...and i find this pattern useful:
build 2x 4-16 decoders. first for lower 4 bits of address, 2nd for high 4 bits
assuming 16 banks of 16 memory slots, use bus transceivers on the output lines of each bank.
connect the high decoder outputs to those transceivers (bank 0 gets white output, bank 1 gets orange output, etc). mirror the lower decoder outputs to all the banks to select memory cells, but tie the read/clock lines on each memory cell to gates that AND the lower decoder signals with the hi bank selector.
That's it. And you only need 2 decoders to handle that. Add another decoder to handle another 4 bits, and then you would need an and gate on all those transceivers to do a block (16 bank) selector. you get the idea. you dont need to do a decoder per bank of 16 memory cells, that's just asking for a slideshow
0
for mc version 1.12...
so the deal with the above command is this....when placed in a command block...it fails and does nothing.
when ran in chat or in a mcfunction...it works.
what gives?
the setup: there are 30 armor stands tagged as b, and each stand also has a unique tag, b1 to b30. all stand over a patch of concrete blocks that are used to perform some math functions. in this case, the command performs one half of an xor operation. the other half is exactly the same as this, but with the concrete data values swapped in the detects. I could just as easily put this in a mcfunction and call it the day, but im curious why it fails when ran inside a command block.
0
its called ShulkerBoxViewer. if you launch MC from twitch, it will come up in the mod list (for 1.12, havent tried older versions)
0
ignore the above post...the code is flawed. I did have to do it like a ripple carry.
new code:
and the adder code:
all that does is perfom an xor, then and, and carry the and result to next bit, repeat across all 16 bits. this is why i had the armor stands tagged as a whole group and individual bits
next up...multiplier...ugh
0
(Edit: changed title as this is not a command *block* but a function containing many mc commands)
I was toying around with making a command block cpu. Then I discovered that 1.12 had functions, so naturally I had to take advantage of that.
while writing an alu script, i had to come up with a binary adder. I tried using player operations to do the math but converting a negative number to binary is not as trivial as it sounds (i was using the mod 2 / div 2 reduction to get the bits, mod does not like negatives...)
so back to basics, doing it the same way a computer would do it..one bit at a time
there are 16 armor stands that stand over the input 'bits' written out as blocks on the ground. all are tagged as 'A', and also tagged A1..A16..this way i can write commands that select all stands at once, or any particular stand
the code i have so far, note that grey concrete (7) is a zero, yellow concrete (4) is a one:
keep in mind this is a function..not a command block. all this gets done on a tick, and writing all the results into the 'output' registers, like below:
im just curious...what type of adder is this? Ive worked with many types of adders (mostly redstone) like rca, ica, cca...i dont know what to call this one
for the curious, input a is set to 111, b to 454. last 2 rows closest to bottom of image show a+b = 565, a-b = -343
1
pardon my semi-necro...
has anyone found how the player movement is done? Id like to use the method in a map im working on but...600+k command blocks...not sure where to start looking
either way, extremely impressive work on this. it is truly mind boggling how much work was put into this, and the fact minecraft can even handle it so well is even more impressive.
0
the trick is the comparator on the hopper dumping items into the brewing stand. once the last item (the nether wart for next potion) goes in, the comparator turns off and its done. no need for timers.
0
0
see but thats all right...once you plant the reeds, let them grow, break off the excess and plant those...i made a farm of 12 stalks from just 2 reeds i found in the nether. same with the wheat...eventually they will drop multiple seeds, just like normal wheat.
check it:
0
i can nei the fire in for now, but dang man...
0
perhaps make your filenames include mc versions...that would solve a lot of headaches.
0
2
most epic village spawn ever =)
0
landscape = lots of extreme verticals (with lava falls =), lots of pandora mountains, pure epicness.
its almost like the Aether....without the aether clouds or bottomless void =)