Showing posts with label Minecraft. Show all posts
Showing posts with label Minecraft. Show all posts

Thursday, September 01, 2011

Minecraft - door with switches.

Although fun to lay redstone wire down and build your own circuits, sometimes it's a case of why re-invent the wheel. The Minecraft Wiki provides set templates for various logic circuits and sometimes it's just a case of connecting them up the right way.

To provide an example a forum member posed a challenge. He had a piston-activated door. To enter he wanted to press a button, have the door open and stay open until he entered then have pressure plates in the floor close the door behind him; so far so easy. However he always wanted it so that when leaving the internal pressure plates that previously closed the door would now open it and external plates would now close it behind him. That's more challenging.

Tuesday, August 16, 2011

Minecraft - repeaters tutorial plus bug

For anyone trying to lay out long circuits in Minecraft a simple problem will arise - redstone wire will only transmit power for 15 blocks before failing. The solution is to add in a repeater that will retransmit the power over another 15 blocks, however repeaters can do other things too, some of which can be quite odd.

Tuesday, August 02, 2011

Minecraft - redstone strangeness

I've already dealt with the basics of how redstone works, but still some oddities can arise.

Let's take a simple system:

Friday, July 22, 2011

Minecraft - redstone basics

Still with the Minecraft and trying to nail down the logic in how redstone circuits work, the wiki's great and all, but at times it's a little disjointed for me. As such I present my experimental results simply so I don't forget them.

The main component of redstone circuits is the power source. As of the date of posting these comprise of five different items - Button, Lever, Pressure Plate, Redstone Torch and Detector Rail. All of these will provide power to any item that requires it, but in specific and slightly different manners.


In terms of providing power a button will provide a surge of power then turn off; a pressure plate will provide power only whilst stood upon; a lever will provide power when turned on; a redstone torch will constantly provide power unless the block to which it is attached is powered*; and a detector rail will provide power only when a minecart passes over it.

All sources will provide power to the block to which they are attached except for a redstone torch*. All sources will also provide power to any block designed to use or transmit power that adjoins it either horizontally or vertically, but not diagonally.

The block to which a source is attached will itself act as a source, again except in the case of redstone torches*, and will thus provide power to any adjoining block designed to use or transmit it.

When connected to a source redstone wire will also act as a source, however it will not provide power to any block directly above itself. If two pieces of redstone wire are placed next to each other they will form a direct path. Power will then only be provided along this path to the block at its end and to the blocks below it.

Redstone wire will also form a path when placed within one block horizontally or vertically to another piece provided an air space exists at the point they would connect. Redstone wire can only carry power for 15 blocks before fading necessitating the use of repeaters for any longer distances.

A repeater is a one-way transmitter of power that can only receive power and send power from opposite directions. When powered it will act as a source in the same manner as a redstone wire path providing power only to the block at its end and the block below it. A repeater will not connect to a wire except when at the same height as it.

Repeaters can be set to delay the transmission of power via setting the spacing between the two 'ends' by repeated right clicking of a placed repeater.

* To screw with the logic a redstone torch is only said to be attached when fixed to the side of a block. When 'free-standing'  it provides power to the same six blocks as the other sources despite being 'attached' to the block below it.