Sunday, June 29, 2014

Minecraft: Auto Harvesting Field


Rovers, welcome once again.  I want to speak a bit on the subject of food.  If you play survival mode you will find that food is integral to your success.  If you keep yourself full on food, your health with regenerate after a fall or a fight.

If you band together with other players on a multiplayer server, you'll all need food.  You don't want to have to sit around tending a farm all the time.  You don't want to spend time harvesting entire fields.  You want the final product so you can make some food.  Then you can keep roving!

It is all about the roving.


It all starts with a field 8x8 or smaller.  I usually go with an 8x8 lot because it takes an entire stack of seeds to plant and usually produces a full stack of wheat every harvest.

You then cut a channel down both sides and fill it with water.  I then cover the irrigation ditches with half slabs so that you can walk gently into the field.  Jumping will break wheat and un-till the ground beneath it.

You need an 8x8 or smaller field because the water will only irrigate 4 blocks away.


You then build enough pistons to reach across.  Above the pistons, build a reservoir to hold some water.  When the pistons are extended, they will hold the water up.  You can see the red stone circuit that will activate the pistons.  In this circuit you want that redstone to be active, flipping a lever should turn it off starting the water works.

The water will carry your harvest down to the from of the plot.


At the front of the plot, you need another channel.  This will have water flowing down from the irrigation ditches.  Somewhere in the middle break a path for the items to gather in.


This is what you want in that path.  A hopper feeding into a line of droppers. At the top of the droppers, place your chest.  Yet again, we need to feed this.red stone circuit so the droppers will feed the items up the tower.


To power the hoppers, just like with our furnace example, you'll want to build a clock circuit. Put two items in the hopper and watch for it to blink the circuit on and off rapidly.  If it doesn't, reclaim the items and put them in the other hopper.

You can then run this directly to the droppers and alternate block - redstone torch - block to bring the power up the line of droppers.



Or you can run the clock into a block, and run back a circuit from the level that powers the pistons.  then have the resulting power flow into the droppers.  This would turn the droppers on only when you have the water running.




If you feel that 8x8 isn't big enough you can place multiple farms in a row and flow the collected goods into a single chest using a line of hoppers.  Remember that pressing shift and clicking on the correct face of your target will direct the hopper's output correctly.


You can even have them all run off the same switch!



This is how the harvest works.


The only downside is you still have to manually plant the field.  Even rovers have to do a little work sometimes...


But the gains are truly worth it.

Saturday, June 28, 2014

Minecraft: Semi-Auto Furnace


Rovers, today I want to address the concept of the simple Furnace.  If you are like me, you enjoy roaming too much.  You don't want to sit around and baby a furnace, taking items out and putting them in.  Luckily, they've fixed some things by introducing hoppers!

If you check our my build here, you'll figure out how to build your own semi-automated furnace.  You can drop by and drop any coal or ore you may be carrying.  Go ahead and carry on with your roving, it will be taken care of automatically and be smelted or cooked upon your return.


The whole build starts with a furnace.  The way hoppers interface with a furnace is this.  If a hopper feeds into the side, it will go into the fuel slot.  If a hopper feeds into the top, it is the object being cooked or smelting.  If you put a hopper under the furnace, the finished product will be put into it.

Roving-tip: If you want a hopped to feed into something in particular you need to press shift and click on the side of the block you want the hopper to feed into. It will default to pushing things straight down if you don't do this.


So if you build a hopper system right, you can build your chests all in a row and label them so you know what to put into them.   I put the output into two hoppers that chain into a dropper.  Then I put more droppers in a line up into the chest.

This is where I personally hit a stumbling block.  How do I make the droppers work?  They need a red stone circuit to activate them.  You need to activate them all to get the item up to the chest.  It looks like we need a circuit to activate all those droppers.  (I left one dropped out of the stack so you could see the orientation of the hole it pushes out of)


This would be the solution for you.  It is a clock circuit.  Two hoppers repeatedly transfer an item back and forth, momentarily turning on a red stone circuit.  I only put two items in and it works forever.  The only problem was, it ran forever!  Endless clicking!

A rover needs to keep his sanity.


So my next move was rejiggering the circuit to incorporate a lever to turn on the droppers.   I flowed it into a single, solid block.  I ran the clock circuit into the same block.  The last part is to find a way to flow this power to all of the droppers.
 

This is the way you do that.  A red stone torch jutting out from the block with compare only allow the signal through when you flip the level. You then flow the redstone to a block next to the bottom hopper.  As high as you need to go you can flow by alternating redstone torches and blocks.


Here is the end result.  I built it all above ground to give you a chance to see all the moving parts.  if you want to bury it in the ground like in my first picture, you just need to put it all down in the ground 3 blocks so only the chests are visible.


The buried clock circuit.


 The buried hopper tower.
 

The final, buried result.  Only, know that to open the chests you'll need to break the blocks above the chests so they have the ability to open.  Or else you can't fill them.  I like to put half slabs above them to make it look a little cleaner.

Wednesday, June 25, 2014

Minecraft: Redstone Basics


The beauty of redstone! It is as simple as you want to make it, or as complex as you can dream.   Rovers, you can lay down a track of red stone but it will be useless by itself.  A dull, dark red line on the ground that does nothing exciting.  Don't let your red stone dust sit dull and lifeless upon the ground!

No, for redstone to come to life you need a source of power!  There are several sources of power you can take advantage of.


The lever.  This will turn a circuit on when you flip it down, and turn it off when you flip is back up.  It is very useful when you want your circuit to run on command. 


The redstone torch.   This is always on.  Mostly.  There are tricks you can use red stone torches in different ways.  We'll get into that later.


The simply button is a little different.  When you press it, it will turn a circuit on for a few moments before turning it off.  This is useful when you want a circuit to turn on quickly.
 

Pressure plates are cool too.  The wooden one will turn on when anything walks across it or is dropped on it.  It will power a circuit as long as it is pressed down upon.

  The stone pressure plate can only be turned on by something the weight of a player or a monster.  It will turn on as long as something is standing on the pressure plate.


All of these inputs will only power redstone up to 15 blocks away.  here you can see 16 blocks of red stone dust.  The final block in the bottom is dark, not powered.  So sad....it deserves to shine!!


This limit can be overcome with a simple object called a redstone repeater.  A repeater will expand the signal another 15 blocks, as shown here.


Before repeaters were added to the game, we had a hack for that.  Red stone torches.  If placed on the side of a block, they change the signal.  If it is on, they turn it off.  If it is off, they turn it on.  you can see two such blocks here in a circuit.  The function  just like a repeater, but you had to at least have two of them in a row (or else it would just turn the circuit off).

If you want to be seen as a bit old school (or you are short on materials) you can do this as well.


All of these inputs are useless if you have nothing to power. You can power doors, as shown.  Be warned, it may not open the door unless you remove the power source and then put it in again.


You can also power trap doors.  There are many other items you can power such as pistons, minecart tracks.  If you run powered red stone to many items, they will turn on.  Experiment, find out what the power does, and then experiment.  It is fun!

Remember switches?  And those repeater things?  Another thing repeaters do is DELAY a signal.  If you right click a repeater, the posts will move apart.  There are 4 clicks, each representing a longer delay.  If you put repeaters in a row, you can generate a significant delay.


A significant delay.



And if you attach it to a button, you can generate a long enough delay to make it through a trap door.  Time for you to go out and begin experimenting.

Tuesday, June 24, 2014

Minecraft: What is Redstone?

Rovers, I realize I've been remiss. I've jumped way into the deep end on red stone, and some of you may have no idea what the heck it is.  You may not even be a Minecraft player!  Let me treat you to the best part of Minecraft.

Minecraft is a game with a simple art style.  In the survival gamemode you are dropped alone into a wilderness to find food, find shelter, and survive.  You will craft tools, build shelters, and have to mine, farm, and fight to stay alive.

Redstone is a special ore you find while mining deep underground.  They are red speckled blocks that can only be broken with an iron mining pick (if you break it with a stone or wood pick, you won't get any dust).  When broken you get dust.


This dust forms the basis for a sort of electricity in the world of Minecraft.  This electricity can open doors, spring traps, turn on lights, move an entire stairwell.  The possibilities are largely endless because there is a way to change, move, or alter most of the things in the world.


On a deeper level, red stone could be the basis for an electrical engineering degree.  Players have made calculators, computers, digital clocks, and more just by combining red stone items to create things that exist within the electronics sitting on your desk or coffee table.  Indeed, digital and analog circuits are in every piece of electronics you own.

Red stone is great because it can be as simple or complex as you want it to be.  If you want to open a door with a level or a button, its as easy as pie.  If you want to completely automate harvesting an entire farm of wheat, believe it or not it can be done.

My next post will start from the utmost lowest level of red stone.  We'll start building your appreciation for this wonderful stuff.


Monday, June 23, 2014

Minecraft: Vending Machines



Welcome, Rovers!  Today I'm going to look at the wonderful world of vending machines.  If you play solo a lot, you probably don't have a need for a vending machine.  If you play on multiplayer servers, you may discover you'd like to put some of your hard won loot or well built goods up for sale.  The problem is you are a rover.  You don't want to have to sit there and monitor your shop personally.  Worse yet, setting up a shop with a chest full of stuff and a chest for payment is like asking to be robbed.  

The picture above is my first stab at an armor store.  The way the machine works is the customer throws (Q key) a diamond into the hopper, and the dropper spits out their purchase.  We'll be doing a deep dive on another of MrCrayfish's designs: https://www.youtube.com/watch?v=B82PxfnZkug


It starts with a 3 block deep hole in the ground.  For the benefits of showing you how it works, I'm going to build it above ground, but please remember to build it in a 3 deep hole.

The whole shebang starts with a chest, and then two hoppers feeding into it.  The top hopper is empty and just servers to receive the payment. The second will serve as a filter.  You will set it up to take a certain block as payment.

The beauty of it is if they throw the wrong block in, it will just sit in the top hopper and they can collect it back.  When you're building a vending machine you don't want to have to always come running when someone puts in something valuable to them and they need it back immediately.

If you try throwing things in right now with just these three items set up, it will all just filter into the chest.  We need to set up a circuit to stop that.  Well, it will do a lot more.

Now you'll place the above circuit.  Put two blocks down in a line away from the chest.  On the first block put down a comparator, and the next a red stone repeater.  On the right side of the comparator, put down a red stone block with a piece of red stone dust.

You  are using the comparator in its standard comparison mode.  This means it will compare the signal from the hopper against the red stone block.  The red stone block gives a strong value of 15 (the max for a red stone circuit).  The hopper varies it's input based upon how full it is.  If the value coming from the side is higher than it's input, it won't pass through any power.  This means the hopper has to be full before the comparator passes any power into the circuit.

This power will then flow into the repeater which adds a small delay to the signal.  Put some red stone dust in the next square.  To the left of that dust place a block and affix a red stone torch on the side next to your repeater.  Place another repeater behind the torch, and then a block with some dust.

The block with the torch is meant to switch the value of the circuit.  If the comparator turns on, the red stone torch will turn it off.  This makes more sense when you find out WHY this part of the circuit is on.  Its feeding a constant power to the hopper.  This stops the hopper from dispensing items.

The state the circuit is in now locks the hopper in place.  if you were to drop items in they would all stop in the second hopper.  That said, the circuit isn't complete.


To complete the circuit, you need a block placed above that solitary red stone dust, with a red stone torch pointing to the right.  This is the only reason I can tell that dust is there for, but MrCrayfish is much better with red stone than I am.  Perhaps he can shed light on its purpose.

Now that the circuit is complete, if you put items in the top hopper, they will filter through the middle hopper until it is full.  When full it will pass one item into the bottom chest.  Congratulations, you've completed the payment portion of the vending machine.

Many shop owners would love to take a payment and never have to give anyone any goods, but sadly its not the way it works.  If people don't get product, they just tend to get mad.  We need to carry this momentary


A block, torch, block combo above the redstone torch you just placed will carry your signal up above the hoppers.  This will give you some room for the payment system.


This is the last part of the circuit.  a platform of 6 blocks.  A comparator next to the block bringing signal up.  Redstone across the front (with a block to bump it up) and around into a repeater.

This comparator needs to be clicked so it's front torch is glowing.  That places the comparator in subtraction mode.  When the circuit is dark like this, it is because 0 is being subtracted by 0 and there is no power to push on.

However, when the hopper has an item flow through it, the block will receive power.  This will be compared against the dead circuit and it will momentarily power, turning the dropper on long enough to drop one item.  The power will then flow through the repeater, whose delay allows the circuit to turn on at all.

but then the delay will end and the full signal will be subtracted against the full signal turning everything off.

 A vending machine is pretty useless until you set up a currency you want to take.  The easiest way to do this is to place 4 non stacking items in the right 4 spots.  I used beds because they're pretty cheap, but you can fill each slot with 64 dirt or cobblestone just as easily.

The important slot is the far left slot.  This is where you define your currency.  If it is empty, you can only accept non stackable items like beds or doors.  I don't think those are great forms of payment, but that's really on you.

Better is a stackable item like iron, gold, emeralds, diamonds, full blocks of minerals, coal, etc.  You have to figure out what people might think is a good deal.  once you settle on an item you want, you need to place a stack of 63 of them in the left-hand slot.


Then you go to your dropper, and fill it with items to sell.  If you sell weapons or armor, you'll need to refill it often.  Once it is full, you can press shift and place a ladder over the front.  This will prevent other users from just removing the items from it without paying.

Go ahead and toss some payment in, you'll have an item spit out at you.


An important thing to remember is a normal server without mods won't protect your vending machine from being destroyed, vandalized, or broken for the items or payment.  Your best bet for using this item in practice is either to play with people you trust a lot, or play on a server with protection plugins that allow you to control your own territory.


This is just a reminder, all of the above is meant to be built in a 3-block deep hole.  It is a lot more convenient for your shoppers.

Good luck in your business endeavors, Rovers!

Sunday, June 22, 2014

Minecraft: Lever Combination Lock


Welcome, Rovers!  This simple town is being built from the ground up in Creative Mode to test out a few different red stone contraptions.  I wanted to share these contraptions with you.  

Hopefully my breakdowns make everything much clearer, because red stone can be rather confusing.  Lets start with a programmable door lock.  The benefit of redstone is that it enables you to automate things, alter things, and generally have fun.

You may ask yourself why you would want a locked door at all in a game like Minecraft.  The more you play on public servers, the more you'll see a need for it.  As you collect the rarer materials such as gold and diamonds, you'll want to keep it safe from pilferers and vagabonds.

We'll be learning how to use the programmable lock detailed here by Youtuber MrCrayFish:  https://www.youtube.com/watch?v=01AtBtaH4bo&list=PL2FC870D708AECBBA&index=19

 

This is what the lock looks like from the outside.  You can make is as many levers as you would like.  When you set it up you need to place the levers at the second block from the ground.  The only key, for me, would be to end the lever line 3 spaces from the door.


Now here's the key!  Directly behind any lever that is angled down you need to place a red stone torch.  You do this because by default any lever that has been switched down turns the block it is attached to ON.   When you then place a redstone torch on the backside, it changes that input to off.  Place some redstone dust on the ground under the torch to create a circuit.

On the other hand, when a lever is in the up position, the block behind it is turned off.  Behind that, place a block with some redstone dust on top.

The end result of the circuit behind the levers is you want the whole thing to be dark.  If it is lit up, then you have a switch out of place.


The reason you want the lever circuit dark is the bit pictured above.  If you place the red stone torch and red stone to the door you'll see it light up.  This is the same as the switches before.  The red stone torch switches the input.  So if the circuit going in is on, the torch will turn it off.  If the circuit going in is off, it will turn it on.

The red stone dust then carries this to the door.

If the levers are correct, the result is an open door as pictured.  If one is out of place, it will turn everything off.

One last aside about this locking mechanism.  It can only create a maximum number of combinations.  So if you have 2 levers, there are only 4 combinations.  Obviously someone could break into your room with a few seconds effort.

The number of combinations comes out to 2^X.  So if you use 8 levers, there are 256 combinations.  If you use 16 (an absurd number to toggle all the time) then there would be over 65,000.

If you only toggle the last lever, it will defeat the purpose of the lock.  The first thing someone does when trying to break your lock should be toggling one lever at a time.  Leaving most of the combination in place defeats the complexity.

A last concern, if you play this on an un-modded server people are just going through the wall.  There are servers that establish protected plots for players that don't allow destruction by other users.  There are the places where locks like these can shine.