Tutorials/Randomizer

This tutorial will teach you to create randomizers.

Dispenser or Dropper Randomizer
Dispenser or dropper randomizer design utilizes the dispenser or dropper's randomized item firing.

Structure
The structure consists of three blocks of your choice, three stone buttons, and three dispensers in this pattern: D = Dispenser or Dropper B = Block with button on it DDD BBB

Item Mechanics
Create a prize system out of gold. For example: push the button under every dispenser. You will get a nugget, ingot or block from each. It is more likely to get a nugget because nuggets should fill more slots in the dispenser, and more likely to get ingots than blocks. If you get a three nuggets in a row from the dispensers, you can trade them in at a counter in your casino for prizes like diamonds or iron ingots. Note: You should keep an eye on your players in case they try to steal from the dispenser.

Optional Features
You may want to put more slot machines in your casino, with different difficulty levels. Or, for a dangerous spin, add one slot in your dispenser full of fire charges for the unlucky.

Pig randomizer
Pig randomizer works using the fact that mobs randomly wander around, and by using pressure plates or tripwires this random wandering can be converted to a redstone signal. Builds which often contain pig randomisers include gambling machines and boss battles.

Materials

 * A large amount of any solid block (with the exceptions of gravel, sand and cactus)
 * Pressure Plates or tripwires and tripwire hooks (or all of them, if you want).
 * A mob

How to Build

 * 1) Build a room for your randomiser. This can be any size you want, as long as you can fit your mob inside.
 * 2) Place your pressure plates or tripwires inside the room.
 * 3) Place your mob on the inside of the room. Make sure it can activate your pressure plates or tripwires.
 * 4) You can now hook up your plates and tripwires to a redstone circuit.

Tips and Tricks

 * It is recommended that you use passive mobs, as they won't despawn and will be easier to place inside.
 * If you do feel the need to use a hostile mob, either give it some armor or something to hold (this will work with zombies, skeletons and zombie pigmen) or use a name tag on it. All of these will prevent the mob from despawning.
 * If the mob is too far from a player, it will stop moving, so it is recommended that you place the randomiser as close to the player as possible.
 * Two commonly used mobs in pig randomisers are snow golems and chickens. Snow golems are used because they move silently and can be created inside the randomiser, and chickens because they are one of the smallest usable mobs (allowing the randomiser to be compact) and they can also be created inside of the randomiser.
 * To decrease how often the redstone is activated, make the room bigger or remove some pressure plates. To increase how often the redstone is activated, do the opposite.

Video Example
FVDisco's slot machine A great example of 3 pig randomisers in use in a slot machine.