This is my random number generator which uses the new dispenser mechanics in 1.3. It is based off of CodeCrafted's design, but mine is much smaller and easier to incorporate in builds. The dimensions of the RNG are 3x3x(2(# of bits)+3), while CodeCrafted's is 5x5x(2(# of bits)+3). Here is my 1-bit RNG:
And the other side:
In the dispenser is one water bucket and one empty bucket. The glass is just there so it's easier to select in MCEdit. It's not necessary.
This is the same design but with 3 bits:
And the other side:
As proof that it is easy to incorporate in builds, here is the 1-bit RNG wired as it would be in a calculator:
Input side:
Output side:
And just to go full circle, here is the 3-bit version wired as it would be in a calculator:
Input side:
Output side:
And just in case pictures aren't enough, here's a video:
You can download the world save here: http://www.mediafire...00e777wfbnuk4my
Please tell me what you think, and if there is a smaller design I would like to know. I have not seen one as of yet!
Hmm... What's that minecart for, and what type of rail is that? Anyway that's cool!
I was hoping someone would ask that! The minecart is sitting on a detector rail. It supplies constant power to the dispenser, so whenever you press the button it fires twice. I originally had a redstone torch in front of the dispenser, but that made it one block longer and it also conflicted with the wired design, so this was the best solution.
How are you gonna read the outputs for more than 1 bit?
The same way you do for one bit: you send a wire straight over it with a repeater right after the space where the block pushes out for each bit. If that block pushes out, the signal goes through and it's a 1. If it doesn't, it is a 0.
I was hoping someone would ask that! The minecart is sitting on a detector rail. It supplies constant power to the dispenser, so whenever you press the button it fires twice. I originally had a redstone torch in front of the dispenser, but that made it one block longer and it also conflicted with the wired design, so this was the best solution.
.
So did you try putting a level on that block instead? That should make it more resource-friendly.
What I meant by not being able to take output is right now you are splitting the wires next to that green block - i.e you can't conduct the power through there anymore, so you would have to reposition the wires that power the dispensers. Not a big deal, but just pointing it out.
Anyway, both good designs, Entity's one remembers the outputs and this one creates a pulse.
I just uploaded a picture of a wired 3-bit random number generator and included it in the world save. Also, if you want it to save the outputs, you could just put an Rs-nor latch at the end.
The key you provided for file download was invalid. This is usually caused because the file is no longer stored on Mediafire. This occurs when the file is removed by the originating user or Mediafire.
If you believe you have reached this page in error, please submit a ticket.
Do you really need a save for that? Just look at the picture
Yes. I suck at copying from ingame pictures. Especially if what I'm trying to copy is compact in size. A few weeks ago I tried copying a very small, pistonless full adder design someone posted, with no success.
excellent design but frankly there are few builds a RNG can be used for and most of those are simply decorative.
Meh, thats not really the point. If I really wanted a compact random number generator, I could just roll some dice. It's all about the fun of redstone!
i hate dusting off old topics but,
what if i wanted an extra bit added onto the 3-bit generator?
making it a random 4-bit gen. how would i go about doing that?
Rollback Post to RevisionRollBack
---- Minecraft Crash Report ----
// I bet Cylons wouldn't have this problem.
Im not trying to be this guy but... technically, in the world of physics, randomness doesn't exist. There are always hidden variables involved. (obviously this has nothing to do with your design) Good work though!
Im not trying to be this guy but... technically, in the world of physics, randomness doesn't exist. There are always hidden variables involved. (obviously this has nothing to do with your design) Good work though!
Haha! I completely agree! However, if I called this thing a pseudo-random number generator I thought it might confuse some people, so I just assumed that most people wouldn't want to take apart their computer's RNG in order to find out what number it will produce at some exact moment in time!
It's random 'enough' if you can't look at it and figure out what number is goin to be next, or predict the numbers to more than 50% per bit.
That's my opinion. Obviously you can go in depth and figure all the formulas and equations and figure out based on the programming language used, the time of day, and the location in the world you can figure out what the next number is going to be... But at that point we've already generated 100 more numbers, so it doesn't matter.
Rollback Post to RevisionRollBack
Want to see awesome Redstone creations? Poker v2
Follow me here as I build Poker!
And the other side:
In the dispenser is one water bucket and one empty bucket. The glass is just there so it's easier to select in MCEdit. It's not necessary.
And the other side:
Input side:
Output side:
Input side:
Output side:
You can download the world save here: http://www.mediafire...00e777wfbnuk4my
Please tell me what you think, and if there is a smaller design I would like to know. I have not seen one as of yet!
This statement is false.
nice job!
I was hoping someone would ask that! The minecart is sitting on a detector rail. It supplies constant power to the dispenser, so whenever you press the button it fires twice. I originally had a redstone torch in front of the dispenser, but that made it one block longer and it also conflicted with the wired design, so this was the best solution.
The same way you do for one bit: you send a wire straight over it with a repeater right after the space where the block pushes out for each bit. If that block pushes out, the signal goes through and it's a 1. If it doesn't, it is a 0.
This statement is false.
So did you try putting a level on that block instead? That should make it more resource-friendly.
Wow, I don't know why I didn't think of that. You're right, that would make a lot more sense!
This statement is false.
I just uploaded a picture of a wired 3-bit random number generator and included it in the world save. Also, if you want it to save the outputs, you could just put an Rs-nor latch at the end.
I also switched the minecarts with powered levers, thanks AllHearsMe!
This statement is false.
Someone should reupload the world save.
Oops! My bad! I just fixed it, try it now!
This statement is false.
Yes. I suck at copying from ingame pictures. Especially if what I'm trying to copy is compact in size. A few weeks ago I tried copying a very small, pistonless full adder design someone posted, with no success.
Thanks.
Thanks!
This statement is false.
Meh, thats not really the point. If I really wanted a compact random number generator, I could just roll some dice. It's all about the fun of redstone!
This statement is false.
what if i wanted an extra bit added onto the 3-bit generator?
making it a random 4-bit gen. how would i go about doing that?
^ L0L
Haha! I completely agree! However, if I called this thing a pseudo-random number generator I thought it might confuse some people, so I just assumed that most people wouldn't want to take apart their computer's RNG in order to find out what number it will produce at some exact moment in time!
This statement is false.
That's my opinion. Obviously you can go in depth and figure all the formulas and equations and figure out based on the programming language used, the time of day, and the location in the world you can figure out what the next number is going to be... But at that point we've already generated 100 more numbers, so it doesn't matter.
Poker v2
Follow me here as I build Poker!