Tutorials/Beginner's guide

Created for players who do not know how to begin their Minecraft journey, the Beginner's Guide is a tutorial created to provide a list full of good ways to start! Here, you can learn how to survive the first night in two different formats: in an overview with goals or in a step-by-step instruction. You can choose which one you want to use, but both will help you accomplish the same goal.

When you start the game for the first time there will be a short in-game tutorial which explains the very basics on how to move and look around. The Controls page will you a complete overview of all the controls.

First day
As the first day begins, the player will need to collect. First, the player should look around then go towards any trees. The player needs to collect at least 5-8 blocks of logs from trees by holding down the left mouse button while their cursor is on the block. This is enough wood to craft the basic tools and items the player needs immediately, though you'll certainly want more a little later.

When the player opens up their inventory (Default 'E'), they will see the inventory window, depicted to the right. The player's avatar takes up most of the upper portion, The inventory below is the space for the player's items. The bottom 9 slots are the usable slots, called a hotbar. Four armor slots are to the left of the player's character (ignore those for now, they don't become useful until much later on), and a 2x2 square to the right of the character as the player's personal crafting grid, which can be used to craft a few basic items. By clicking the recipe book (5) the player can easily craft items in this grid. Place the wood logs into any space in the crafting grid, and will appear to the right of your wood. Left-clicking the planks will cause the wood to disappear and planks to appear as a newly crafted item. Once you have the planks in your hand, you can drag them down to your inventory, and place using the left click.

Four wooden planks can in turn make a (place 4 wooden planks in a 2x2 square) and place the crafting table to use it. Right click your crafting table to access it, this crafting grid is a 3x3 square, big enough for all of the craftable items in Minecraft. The first tools the player should craft are a and a. If any blocks are exposed close by, the player can mine them with a  for 19 blocks of. This is the amount the player needs to create every basic tool they'll need in Minecraft: a sword, a pickaxe (you'll need the upgraded pickaxe for iron and other blocks), a, a , a , and a. You'll need the furnace to cook meat for food and smelt any ore you mine with your pickaxe. Once the player has a stone axe, they should try to get more wood as time allows; extra wood is useful in many ways, from securing and equipping your base to making charcoal, or simply crafting into planks for quadruple the number of building blocks.

If all goes well, the player can obtain quickly. With the s they made from their wooden planks and some coal, they will be able to make es (coal above a stick on the crafting grid). With torches in hand, you can make for the nearest cave, because iron ore is your next goal. Underground will actually be safer than the surface when night falls, so mining the first night away is not a bad idea at all. On the other hand, if night is falling and you haven't found coal, use to furnace to smelt more wood ("logs", not planks) to create, a substitute. (Additionally, you can gather 3 blocks of wool from and combine it with three planks to make a . With this you can sleep through the night without the worry of monsters killing you. The downside of this is wasting sunlight the next day mining, or working indoors.)

Night time
For night time, the primary danger will be hostile mobs (monsters) that only spawn in the dark. These include s, s, and s. It is a good idea to stay in a well-lit lit shelter (see below).

If you're really seeking adventure you could always arm yourself with a and go fight some mobs; you might be able to get some materials for further crafting and some early experience levels, which will come in handy later on. However, all of these monsters will either die (zombies and skeletons) or become less dangerous (spiders) when morning comes, and it will be much easier to fight them later when you have better equipment. If you must fight monsters this early, be especially wary of skeletons; in the open their arrows can kill you at a distance, and if they're in the water, you will not be able to reach them before they turn you into a (dead) pincushion. If you happen to see any of the more powerful monsters, keep well away from them: At this point an (,, or even a  can kill you easily.

If you are repeatedly getting killed (perhaps you got too ambitious, a monster got into your shelter, or you didn't manage to make a shelter), one desperate response is to go into "peaceful difficulty" (see "changing the rules", below). However, consider this: This being your first day, you aren't actually losing much until the deaths (at least not after what stuff you've gathered is lost), so you can just tough it out until dawn and start again. Keep on practicing killing mobs until you get the hang of it.

Shelter
As noted above, you really want to find or make some kind of shelter before your first night, because you won't want to be killed. The "Shelters" article above gives a lot of emergency shelters and then more advanced ideas, but it only takes a little thinking ahead to manage a decent shelter for your first night. As you move around collecting wood and so on, look at the landscape for potential homes. Easiest (if you can find it) is a small cave with a single entrance that you can wall or fence off. If it's not quite ideal, consider if you can fix it quickly -- say, fencing off a back door to deeper caves. If you don't have a cave, you may be able to make one, by simply digging into a mountainside or even roofing over a small valley. If instead you have wide, flat space, then go ahead and build a small house. In all cases:
 * Don't be too ambitious the first night, because you want it safe before dark, and you also want to light up the space you claim. You can always expand and decorate your home later, or even rearrange the landscape around it.
 * When picking your location, it's good to have a view of the landscape so you can see if any monsters are waiting for you in the morning.
 * Learn about the awesome powers of wood: Fences can be used not only in the obvious way, but as windows or transparent walls, with fence gates to get in and out.  Doors provide a full-height option, but you'll want to surround them with solid blocks (planks, stone, even dirt, but not fences).  A few properly-placed ladders can make it a lot easier to get up to your roof or up a hill.  A chest will also be useful -- stash anything you're not going to use soon, so you don't have to worry about it if you happen to get killed.
 * If you can manage to make a bed early on, place that in your shelter and use it the first night you have it. Getting killed is much less painful when you respawn into a safe place!  After the first night, you may well want to spend the nights crafting and mining.

Light
Monsters can't spawn within 24 blocks of you, but huddling in the dark is no fun -- and when you do leave your home, you don't want to come back to find a monster has moved in. So, you need to light up your space, and at this point, the light you have is torches. A single torch gives enough light to prevent monster spawns completely within a 7 block range (barring obstructions), and reduce them for about the same distance past that. That includes horizontal and vertical steps, so the safe zone only runs 3 spaces or so diagonally. Even outside the safe zone, having some light will sharply reduce the chance of monsters spawning (depending on how much light), but it's better to use enough torches to keep your whole home well-lit. If you have extra torches after that, try to light some space outside your home (or at least the entrance) too, to push back the area where monsters are likely to spawn.

Food and hunger
Once you have tools and shelter, your next priority will be food. Hunger will take a while to hit, so it shouldn't be a problem on your first day, but you should try to pick up some food for when it does. However, after you've been moving around for a while, your food bar will begin rippling and start to decrease. If your food bar drops below 90%, you will not regenerate health, and if it gets to 30% , you can't sprint. If the hunger bar goes down to empty, you will begin losing health. Unless you're in Hard mode (and a beginning player shouldn't be), you can't actually starve to death, but you will go down to 1 health point in Normal mode or half your health  in Easy mode, and that leaves you quite vulnerable. You don't lose hunger in Peaceful mode, so you don't have to worry about that.

Walking, mining blocks, and even placing blocks all cost some hunger, but all of those are minimal compared to the items below. These are the things that cause the most hunger, in order of cost.
 * Healing damage of any sort. Avoid taking falls of more than 3 blocks, drowning yourself, or otherwise taking damage, as healing damage costs a lot of hunger.
 * Fighting: Both attacking mobs and receiving damage cost hunger, even before you start trying to heal damage. (10 blows either way matches healing, one health point.) You will need to slaughter a few animals but pick your fights carefully.
 * Sprinting. If you double-tap the forward movement key ( by default), or press your sprint key ( by default), you will sprint. This moves somewhat faster, but it also uses a lot of food. (30 meters matches healing .) However, if you happen to have a sufficient amount of food in your inventory, you can always do it your way.
 * Jumping. Obviously, you'll need to jump some just to get around, but don't bounce around randomly or unnecessarily. (15 jumps matches healing ) Sprinting jumps are especially costly, 4 times as much as a regular jump, although they are the fastest mode of transportation early in the game.

Note that if you're (staying) at full health, and not moving, fighting, mining or placing blocks, then you will use no food. Thus, if your character has a secure place to stay, you can just stay put to conserve food while waiting out the night, a storm, or crop/animal growth.

Consider making a basic crop farm immediately after you have settled in a place. Wheat is where you'll begin:
 * You can use harvested to make.
 * You can obtain it easily using collected by breaking.
 * When harvesting wheat, you can use the wheat/seeds to breed s and s, thus having a better food source.

Starting the game
When you begin the game, you will be standing in a landscape somewhere. Take a moment to look around. This is the general area (within 20 blocks) where you will reappear if you get killed. It's a good idea to mark it immediately, by punching out an amount of and/or, then using the dirt or sand to build a pillar in the middle of that. If you're standing on a rock, look around for some dirt or sand to use, remember where you are, and go get it to build your pillar. You can also use the debug screen to save the coordinates of the spawn point for later use (see the page to learn how).

Tough and easy starts
A general note: Any time you're “looking around” is a good time to turn your render distance to max; you can put it back afterward if it slows your game.
 * If you are standing on and surrounded by sand, you are likely in a desert biome. After marking your spawn point, head for high ground and look around for green grass and/or trees ( and don't count, but you might grab some samples as you go past them.) Head that way to gather your wood. If you can't see anything but desert, pick a random direction and head that way, occasionally going to high ground for a look around.
 * If you are on an island, completely surrounded by as far as you can see, you are in an  biome. This is perhaps the toughest start possible, and as such is highly discouraged for play by beginners -- given an ocean start, it's entirely reasonable to discard the world and make a new one. Assuming you don't do that: If your island has no trees, you will need to swim to another island or mainland to find wood. (Remember that if you die before sleeping in a bed, you will respawn on the island.)  When you swim you may see . Squid are mobs but they are not hostile. Like cows, sheep, and chickens, they can't attack you (or even defend themselves), but killing them gives only s (and some XP).


 * If, looking around, you see dull, purplish land, your game just got a lot easier: you are on a, where monsters will not spawn (if it's connected to the mainland, congratulations, you found one of the rarest landscapes in the game). Monsters can still come in from other biomes, but if you head toward the middle, you can spend the night in safety outdoors. Also, with a , you can get free food from the s which live there. However, one thing the mushroom biome does not have, is wood—so before you go there, head for a grassy area to get some wood and stone first.
 * If, looking around, you see houses and/or farms, you are near a . This is a good place to live in general, if you can make a bed: the farms will solve your food worries for now, you can trade with the s, and if there's a blacksmith (look for a house with a stone slab roof), it will contain a with bonus items. You can also scavenge a fair bit of wood even without trashing the place (try replacing logs with planks). However, at first, you'll want to avoid hanging out near there after dark, because zombies can spawn and kill the villagers. You can avoid this fate by making a bed (see below), and consistently sleeping through the night until you can properly fortify the town against monsters:
 * If there are no sheep around, look for “lamp posts” in the village — the black block on top is (break it with your hand).
 * If you can't get enough wool for a bed, your best bets are (first choice) either get far away (150 blocks or so) from the village before nightfall, or (second best) to spend your first night(s) atop a really tall pillar, 40 blocks high or more (64 is even better). By the second night, you will hopefully have managed to find a bit of wool.
 * If you find yourself surrounded by many very large trees, and leaf blocks on the ground, then you have found yourself in a biome. The jungle biome is a good place to start because there are large trees everywhere, however, these can cause you to easily become lost. Also, the cramped quarters can make it difficult to build there. Jungle biomes are the only place to find s (you'll need  to tame them) and . The sheer amount of leaves here can cause trouble for particularly old computers, lagging or even crashing the game; if you have an old computer and you haven't already switched to fast graphics, a jungle is good reason to do so.
 * If you find yourself surrounded by thick, short trees and dark grass, you are in a roofed forest biome. These biomes are especially dangerous because the canopy of leaves can sometimes become so thick that monsters will spawn, even during the day. However, this biome does provide ample supplies of wood and naturally spawning giant mushrooms which can be used for and shelter for the night.
 * There are many other biomes in Minecraft; to see a more in-depth look at all of them, check the Biomes page.

Punching wood
Look around for a few things in particular, in order of priority: trees, visible stone (and especially ), animals, and tall grass. As you move around, break any tall grass in your way, and collect any seeds that drop. For that matter, collect any loose item you see, as most of them will eventually be handy.

Your first priority is to find a small tree, bash through the leaves if needed, and "punch" the wood until each block drops as an item. Don't rapidly click on the block, just hold left-click (or whatever you've set "attack" to) until the block breaks. Don't bother with huge trees at this point, but also don't be upset if you can't reach the top blocks of wood — you can always come back and collect them later. This first tree should give you at least 4 blocks of wood ("logs"). You'll punch more wood in a moment! Wood is essential for tools and useful items such as torches,, , and chests.

Your first crafting
As the game's name suggests, crafting is core to Minecraft. While there are a small number of items that can be crafted directly from the inventory, a crafting table is required to craft tools and most other items in the game. The crafting table will be your main asset throughout the game.

To make your crafting table, first, open the inventory and pick up the logs you collected. Place a log into the crafting area to obtain 4 wooden planks.

The planks will be different colors depending on what sort of wood you have. Different types of wood don't stack together, but all work the same. With a couple of exceptions, you can mix and match different planks when crafting. In particular, sticks don't "remember" what sort of wood they came from.

As you convert your first logs to planks you may want to consider saving some logs for later. Usually, 3-4 logs' worth of planks will be enough to get started. In particular, you want to save logs to make charcoal later on.

Then, take four of your newly crafted planks and arrange them like so to make a crafting table:

You should see this:

Return to the world view and walk to a spot you think appropriate. Select your newly crafted crafting table and place it. Now you can get to crafting some more complex blocks and items!


 * Tip: Anything that you can craft in your inventory crafting space, you can also craft in the crafting table.

Creating tools
In order to collect stone and coal, the next staple resources, you will need a pickaxe. Your first pickaxe will be made of wood, which isn't very durable or fast, but until you collect some cobblestone it's all you have.

To make a pickaxe, you will need to craft some sticks. Do so as shown below to craft 4 sticks:

Now you'll use some planks and the sticks you just made to create the final product. Arrange them like so:

You may have noticed that in order to craft a pickaxe, you more or less draw it with its components in your crafting square. Other items are crafted in a similar fashion. At this point, you can do one of two things: You can either make more wooden tools, or you can gather stone and use that to make better ones.

Stone age


Once you've crafted a pickaxe, you can successfully acquire cobblestone to make better tools. Start by finding stone in the world; it should be fairly easy as it's extremely common. If you don't see any on the surface, dig down in a staircase fashion and mine the stone with your pickaxe; it will drop as cobblestone items. Gather enough cobblestone to upgrade your pickaxe and make a stone shovel, axe, and sword, and a furnace (the exact number of cobblestone required to make these is 17.) You can also craft a stone hoe (or even a wooden one), but it won't be useful until you start farms (explained on day two).

Swords can be used to more effectively slay mobs (animals and monsters).

A stone pickaxe is more durable and more efficient than a wooden pickaxe, and it can mine ores that a wooden pickaxe can't.

Shovels are mainly used to break dirt, grass, sand, clay, and gravel blocks quicker than by hand. They also allow for the collection of snowballs when used on snow layers in snow biomes.

Axes make gathering wood (and most other wooden blocks) much faster.

More resources


Now, with your shiny new stone axe, you should chop down some more trees for wood. Although some trees may look different than others, all wood functions the same. However, different kinds of wood don't stack together. While you cut down trees, try to gather the saplings that fall. If you are cutting down oak trees, apples will also drop (see the trees page for more info.)

If the sun is still in the sky, explore the immediate area (making sure you don't get lost), to try and find some coal. Coal has all the same properties as charcoal (and can also be crafted into coal blocks).

If you happen across a coal-like ore with tan specks in place of the black, you have found some iron. This material will be extremely useful for most of your Minecraft career, and if it's within easy reach, go ahead and gather it (you will need to mine it with a stone pickaxe). However, If it's in a difficult-to-reach place, just note its location and save it for later.

Animals
While you are cutting down trees, you may happen to come across wandering animals, such as chickens, pigs, cows, sheep, and rabbits. These animals are going to be your primary food source in the future. If you see a few, make sure there are more nearby before killing them. If you kill all of the animals in your area, starting animal farms in the future will be much more difficult. Be sure to save at least two of each animal type for farming on day two.

All of the above-mentioned animals drop meat: raw chicken, raw porkchop, raw beef, raw mutton, and raw rabbit, respectively. These foods are among the best food sources in Minecraft, but only after they're cooked (see the next section). If you must eat immediately, avoid eating raw chicken, as it might give you food poisoning. The other meats can be eaten raw safely, but won't feed you nearly as well as cooked meat.

If there are no nearby animals, be sure to be careful about hunger (as above, in order try to avoid getting hurt, fighting, jumping, sprinting, moving around too much.) You will have to wait to get food until you have a wheat farm, which doesn't come until day two.

Heat before light
Next, you need to cook your meat before you get hungry, and also make torches to light up your shelter at night. To do this, you will need to craft a furnace:

Place it somewhere (generally next to your crafting table) so you can work with it. As it is made of cobblestone, you will have to use your pickaxe to collect it if you wish to relocate your furnace. If you haven't found coal, you will need to find an alternate heat source. Burning your wooden pickaxe (which is useless once you have stone) will smelt exactly one item. From this, you can make a piece of charcoal, which will then allow you to smelt eight more items.

To make charcoal, you have to smelt blocks (logs) of wood. In furnaces, the top slot is the item to be smelted, and the bottom slot is the fuel. Place a wooden log in the top slot and your wood pick in the bottom to smelt the charcoal. Then you can put the charcoal (or other fuel) in the fuel slot to smelt more items. It is generally advised to smelt more charcoal if you do not have a supply of coal. If you don't have spare wooden tools or charcoal, you can use planks, two planks for three items as below.

Once you have your first pieces of charcoal, use that as fuel anytime you have 8 or more items to smelt. Each piece will smelt 8 items (just like mined coal), and you have other uses for planks. If you have both coal and charcoal, use up the charcoal first and save the coal.

Now you can cook your food and make torches. Ration out a piece of coal/charcoal for the food, and cook the food just like smelting the wood above: food in the upper input box, fuel (coal) in the lower one. This being your first day, it's OK to “waste” some of a coal/charcoal lump if you have fewer than 8 pieces of meat.

Use the rest (up to 8 for now) of the coal or charcoal with some sticks to craft into torches. One log crafts into 8 sticks to match 8 pieces of coal or charcoal, producing 32 torches (half a stack.) Throughout the game, you will be crafting more and more torches as you need them, so always keep some coal or charcoal at hand.

Now you're prepared to light up your shelter.

Bed and shelter
If you have the supplies, it is highly recommended to make a bed. For this, you will need three wood planks (you hopefully have those already), and three pieces of wool. Since you don't have shears, to get that wool, you will probably need to kill three sheep. Exception: If there are both wolves and sheep around, the wolves may kill some sheep for you, leaving the wool lying around for you to pick up.

If you have made a bed, nightfall is easy: As soon as sunset begins, place your bed on a flat area (solid blocks only, meaning no leaves), sleep in it, and continue with crafting and smelting the next day.

However, if you have no bed, and you didn't have time to build something secure, you will probably have to spend your first night in an emergency shelter. You want to be able to make torches and cook food overnight, but if the shelter is underground you really want to have some torches handy before you close yourself into the darkness.


 * While you were gathering cobblestone, you most likely dug a small hole in the side of a surface cave, or a staircase down through the dirt. In either case, you can use that hole as a shelter. Dig a few more blocks into the hill or cave wall, then you can dig a small room, about 5 by 5. Relocate your crafting table and furnace in here, and make sure to light it up! If you have no door, simply cover your entrance with dirt or cobblestone when night falls, periodically breaking it to check for day (watch out for mobs, though!). A similar shelter can also be created in a small cave, just remember to close off any back openings of the cave, or monsters can come at you from below.


 * If you don't want to live in a hole, there are other options: The simplest is to build a three block high hut from any material, for example, cobblestone, wood or dirt. Add a roof to protect against endermen and spiders.  This being your first night, your shelter can be tiny, even just four stacks of three blocks each, surrounding a space for you to stand.  Note that you can use your crafting table and/or furnace as part of the walls.
 * If you were caught away from potential shelter, you can spend the night atop a pillar by building a tall 1×1 column under you by pillar jumping up. Pillar 20 or 30 blocks upwards to avoid getting shot off by a skeleton or having the bottom blown up by a creeper. You can also use crouching (holding ) to add a ledge to your pillar. (Perhaps you should practice this during the day on a low hill, before you try it on a high pillar with monsters below you.)  If you do not have a ledge, watch out for climbing spiders. Keep your stone sword in hand and whack them as soon as they come into reach, before they get up to you - attacking them will knock them back down.


 * If there is a large tree nearby, you can spend the night on top of the tree -- you can get up there with a pillar as above, or with a bit more wood, you can put ladders up the trunk and break a hole through the leaves to reach the top. Make sure that other trees and hills don't provide a path to your treetop!  Again, watch out for skeletons; spiders won't be able to get past the overhanging leaves, but when you go back down, make sure they (or other monsters) aren't hiding underneath your tree.
 * If you have a boat, you can spend the night in the middle of the sea as monsters do not spawn in water. Warning:  If you can see a lighted structure beneath the ocean, stay far away from it, or you may be attacked by the powerful Guardians.)


 * Remember the golden rule we talked about before? Well, when you're desperate, you can break it a little. Dig three blocks down, and put a block above you that is not sand/gravel to make the fastest shelter in Minecraft possible. You may want to use a real-world clock to time the night (7 minutes, with up to 3 more to allow for dawn/dusk). You can dig out a couple of the blocks around you and place your crafting table and furnace. A torch will make your little hideyhole feel a little less like a tomb....

If you have wood to spare, you can craft a wooden door for your hut or the front wall of your cave: You can place this door across the entrance to your shelter to protect you from mobs, while still giving you access. It is generally recommended to place it from the outside (go outside your shelter and place it looking inside), so that the door will be flush with your outside wall. Note that overnight, zombies may come and knock on the door, but unless you're in Hard difficulty (and a first-time player shouldn't be), they can't actually break it down. That said, avoid leaving an overhang outside your front door -- a zombie or skeleton can find shelter there from the morning sun, and block your exit or ambush you.
 * Finally, if you're really desperate, you can press the Escape key to pause the game, go to the Options menu, and change the difficulty to "peaceful". Though many players consider it cheating, it's a sure-fire way to make sure mobs don't spawn. If you have cheats allowed, you can simply type in which will change the current time to day.

For more information about the different types of shelters, see the guide to shelters.

At Dusk
Make sure you are in (or on) a suitable shelter or hideout with at least some wood, a crafting table, a furnace, a sword (any type will do), some food (probably uncooked meat at this point), and at least 1 torch. If you do have a bed, definitely sleep in it and cook your food the next morning—if monsters show up, you may not be able to sleep later.

It might get boring, but try to limit jumping and sprinting in your shelter, which will conserve your hunger. If you haven't yet found coal or made charcoal (but you have some spare logs), you should make some charcoal as above. Then, if you haven't already, go on to cook your food. If you've only got 3 or 4 food or you have no coal/charcoal, use planks, otherwise use coal or charcoal:

Again, on your first night, it's OK to waste a little fuel to cook your first food, such as using a whole lump of charcoal for only 5 or 6 items.

If you have a couple of logs (or 8 planks) left over after making torches and a bed, you can also make a chest to stash items you don't want to carry around. If you get killed, anything in the chest will be waiting for you rather than scattered around your death site.

A chest isn't really necessary for your first night, but it will become very helpful over the next day or few.

Dawn
Wait for full light, wield your sword, and carefully leave your shelter. Hopefully, it will be sunny, but even so, watch out for any remaining monsters—this may well be your first fight. If you see spiders, don't panic, they will hopefully have become peaceful in the sun (you can try to kill them for their string). If you see a creeper, your best bet at this point is to run at least 16 blocks away from it, and wait for it to go away (or explode, if it got too close before you got away). If you see any skeletons or zombies (hiding under trees or in water), stay away from them—skeletons can still shoot at you if you are too close (16 blocks or so), and either skeletons or zombies may come out from shade to attack you even as they burn. WARNING: If a burning zombie attacks you, you will be set on fire! If this happens, flee and jump into any nearby (monster-free) water. Once you're out and clear of monsters, look around for and collect bones, arrows, or rotten flesh which may have been dropped by burning skeletons and zombies.

If it is not sunny, you may have worse problems: You may need to kill zombies or even skeletons (or just retreat back in your shelter until the sun comes out). Zombies can be easy to kill by themselves, but if in a pack they can overrun you. However, if a zombie is attacked, it alerts all nearby zombies that you are there, and also some more zombies spawn out of sight to attack you. So even if there's only one zombie, you'll soon find yourself facing a horde.

Skeletons would be easy, but they are pretty accurate with the bow. It can be difficult to dodge their arrows. Also, the closer you get, the more likely the skeleton will hit you. If you get too close, it would only take a couple of shots to kill you. It's best to have a bow of your own before facing these undead creatures. If you don't have a bow and they see you, try to run up to them and get in a few hits with your sword before you get shot too many times.

Assuming you made it out of the shelter, congratulations! You've survived your first night in Minecraft! Within the next day or two, you should have acquired some iron armor and better weapons, which will take a lot of the terror out of nighttime. You can also make a more secure shelter, and hopefully a bed.

After the first Day
A tutorial for your next day is available here: the Second Day. Following are some general tips:

Home safety
By the end of the first day, the shelter will likely be primitive and small. In the days afterwards, you will be able to build a better home, in any of various forms. Some natural extensions include a back door, windows, a surrounding fence, and even traps for monsters. Remember that any time you pick up your bed, your spawn point will revert to the default (that is, random within 20 blocks of the world spawn point), until you not only place, but sleep in a bed again. For this reason, if your home is not very near the world spawn point, you should eventually use a compass to locate the exact point, and build a shelter there.

Mining
Eventually, you will need to venture below ground to gather iron and other resources. While there are much more advanced mining techniques, the most basic way to find ores is by entering a cave and exploring. Remember, if mining, never ever dig straight down as you might fall in lava or in a group of monsters. You can, however, dig straight down in a 2x1 pattern, standing in the middle of the 2 blocks. This will allow you to have a "safe block" in case there is lava beneath you.

Finding a cave
You have no problems if you have just spent your night in a cave. If you haven't, the easiest way to do so is to roam the Overworld a little and look out for exposed cave entrances. Extreme Hills biomes will have caves inside mountains, but these are generally not what you want, because only coal ore will appear above sea level (Y=64). For iron and better ores, you'll want to find a cave opening into the ground (these are quite common) and head downwards. Sometimes such caves end immediately, but often they continue into big cave systems. If they seem to end right away sometimes there will be a continuation about 2-8 blocks farther back and below the cave's end; mining in these directions (8 blocks back and down, exploring somewhat to the sides) will reveal this if it is the case. Digging away gravel or dirt can also expose cave extensions, but you may go through a few shovels that way. If you can't find any all day, just sleep away the night, replenishing your resources like wood and food as you use them. If you hear suspicious, hostile noises, just try to listen and follow them.

Cave exploration
Cave exploration is pretty straight forward: you light up your way with torches, mine up ores as you see them (check ores and minerals) and kill enemies as you encounter them (see Tutorials/Combat for details). There are also some important techniques that might not be obvious to a new player, such as using waterfalls to descend into shafts, and/or swim back up from them. There are also many options for marking your trail and not getting lost. Also, note that sneaking (on PCs, the  key by default) prevents you from falling over the edge of a block and as such it is useful if you are caving near a long drop, especially a drop into lava.

Tutorial videos

 * The First Day in Minecraft 1.0.0 (SecretRevelation)
 * Your First Shelter in Minecraft (Tutorial Machinima)
 * Minecraft: Building a Starting House (Minecraft Tutorial)
 * Getting Used To The Minecraft Crafting List 101
 * Your First Shelter in Minecraft (Tutorial Machinima)
 * Minecraft: Building a Starting House (Minecraft Tutorial)
 * Getting Used To The Minecraft Crafting List 101
 * Getting Used To The Minecraft Crafting List 101

cs:Návody/Začátečnická příručka de:Anleitungen/Die Grundlagen fr:Tutoriels/Guide de survie it:Guide/Guida_per_principianti hu:Útmutatók/A kezdők útmutatója ko:튜토리얼/초보자를 위한 가이드 nl:Lessen/Beginnersgids pt-br:Tutoriais/Guia para iniciantes pl:Poradniki/Pierwsza noc ru:Гид для начинающих zh:教程/菜鸟手册