Minecraft Wiki
Advertisement

For players who do not know how to begin their Minecraft journey, this Beginner's Guide provides advice to get your first game off to a good start, and in particular what to do in your first day, so as to comfortably survive through the following night. There are three sections: The first one discusses the interface and controls, the second provides an overview with goals, and the third provides step-by-step instructions. Within the game, while following this guide you also receive announcements of several achievements; you can see that page for full details of achievements, but for now you can safely ignore them. You may also acquire some experience; again, ignore this for now, as it is not useful until later in the game.

Before reading this page, it's expected for players to have already bought and downloaded the game. You must create a new world before starting the tutorial. For Java Edition, the page Tutorials/Menu screen can help with that. For your first game, you should probably select Easy or Normal difficulty; if you usually have a lot of trouble finding your feet in new games, you may want to consider starting in peaceful mode. A new player may also wish to enable the Bonus Chest option, which gives you a few resources to start off with, but this tutorial assumes you do not have a bonus chest.

It is entirely possible for your character to die in this game, but that doesn't end the game — indeed, it's mostly an inconvenience. If you take enough damage to die, your possessions fall where you died, and your character respawns elsewhere. By default, you respawn at a random spot within 20 blocks of the "world spawn", exactly as you did when starting the game. Using a bed lets you pick a specific spot to respawn (this is an important step, and beds are mentioned several times in this guide). Once you respawn, you have 5 minutes to get back to where you died, to retrieve your items before they disappear. Unfortunately, this isn't always an option: If you fell into lava, at least some of your items probably burned up in the lava, and if your death site is still guarded by the monster that killed you (or your items have fallen into the depths) you might not be able to retrieve them. See the page on Death for more information.

Controls and interface

Main article: Controls

Minecraft is a sandbox game, in which your avatar wanders around in a world, collecting resources and using items. You need to master the control system; if you are having trouble with it, you may want to start with a Peaceful Mode world to practice. Your world is made of blocks, mostly cubical. These blocks represent objects, but their size also makes a standard measure of distance; this and many other pages talk in terms of, e.g., "five blocks away" (officially, each block is a one-meter cube). Your character can stand within a single block's space, and it stands a little less than two blocks tall. Time passes within this world; a game day passes in 20 real-world minutes. Nighttime is much more dangerous than daytime; the game starts at dawn, and you have 10 minutes of game time before nightfall. The primary purpose of this guide is to let you "find your feet" and get basic equipment and shelter before night comes.

Your control system depends on your platform. This article mostly assumes you are playing on Java Edition. Most of the controls can be changed in the game's option menu, but this and other articles often refer to them by their default keys. In Java Edition, when you start the game for the first time, a short in-game tutorial appears to explain the basics of how to move and look around. The Controls page gives you a complete overview of all the controls.

When moving around the world and dealing with blocks and creatures in the world, there are four basic operations, discussed below:

  • Movement in four directions, as well as looking upward and downward, jumping, and sneaking. Variations include sprinting and swimming.
  • As you move around, you occasionally see or produce items floating "loose" in the world. Interacting with those is simple: when you move close enough to them they fly toward you and you automatically take them into your inventory (unless your inventory is full, see below). At the start of a game, just pick up every loose item you encounter, you may eventually find uses for them, and it takes a little while to fill up your inventory.
  • "Mining" or breaking blocks, which is the usual way to collect resources from the landscape. In most cases, a broken block drops one or more loose items. Attacking mobile creatures ("mobs") uses the same controls as breaking blocks, and they also drop loose items when killed. In general, attacking requires brief taps of the relevant control, while breaking blocks requires holding down the same control. Some blocks, such as tall grass, breaks instantly.
  • "Using" items or blocks. This is more complex, since it can apply to blocks in the world or to tools in your hand. The same controls are used for some interactions with creatures (such as shearing sheep or trading with villagers), but this is a matter for later days in the game.
  • Your character can also work with items in a GUI, especially managing your own inventory, crafting new items, and working with storage items such as chests. This uses the mouse and sometimes the keyboard differently, while you are focused on your inventory and/or a crafting task rather than the world around you.

Controls (not keyboard and mouse)

The controls for Java Edition (or Bedrock Edition using keyboard and mouse) are summarized in the following sections; see the "Controls" article linked above for full details and for other platforms. For other platforms, here is a basic summary: mining, attacking, and "using" items all require targeting a spot on the screen. Many versions of the game have a cursor in the center of the screen used for targeting, but touchscreens allow the player to click on the screen to act as the targeting spot. Only blocks near you can be targeted, and you can tell a block is targeted by it having a box around it (or in the case of touchscreens, being brighter). This selected area or block affects the way you use these actions. For example, using is based on what you are looking at and what is in your hand. Less obviously, the player's actions of attacking and mining also use this cursor or selector method. The buttons for both attacking and mining are always the same, but attacking is only a tap of the control while mining requires holding down the control. These actions may use up blocks and change tools that you are holding and also change depending on your held item. Any time this tutorial uses verbs describing in-game actions, you may want to test out that action using the controls page as a reference.

Movement

Moving the mouse (or trackball, for simplicity we refer to the mouse) forward and back causes your character to look upward and downward. Moving the mouse left and right causes your character to not just look, but turn in that direction, changing which direction is "forward". The keys AWSD moves your character left, forward, backward and right; note that none of these make your character turn around or even look in the direction you're moving. Be careful about moving to the sides or backward without knowing what's there, as you can fall off cliffs or otherwise run into danger! Looking around also lets you pick out individual blocks or creatures to interact with, see below. If you walk off the edge of a block to where there is no solid block, you fall. If you fall more than three blocks (and not into water) you take damage depending on the distance fallen. If you fall into water over your head, you can eventually drown unless you swim back to the surface, and if you fall into lava, you quickly burn to death!

Double-tapping and holding the "forward" key (again, W by default), or pressing Ctrl, while moving forward, causes you to sprint, running faster (but this consumes food more quickly). If you fall into water, the same keys let you swim around.

The Spacebar lets you jump; you can jump one-and-a-quarter blocks high, and can also jump across a two block gap in the ground (four blocks if sprinting). By default, walking into a one-block-higher edge automatically make you jump up to the new level, but there are still many situations where you need to jump upward. If you turn off Auto-Jump you need to explicitly jump up to higher terrain. If you fall into water (or lava!), this same key is how you move upward toward the surface, and jump out onto the shore.

The ⇧ Left Shift key makes you "sneak". While sneaking, your viewpoint get a little lower, and you move more slowly. The benefit of sneaking is that you cannot fall off the edge of a block; in fact, you can sneak slightly over the edge of a block, to look at and interact with the side of the block you're standing on.

It is also possible for your character to crawl, but this is more complex; see the article "Crawling" for full details.

Clicking Q,allows you to throw items,sort of like when you die.Picking the item up is as simple as walking near or over the item.In multiplayer,this is useful for trading with other players or in both just throwing away.

Breaking and using

Main article: Breaking

To interact with blocks, you need to move relatively close, within four or five blocks distance, and "focus" on the block by moving your cursor (the crosshairs) over the block you want to interact with.


Pressing the left button Mouse 1 hits whatever you are focused on. This is also how you attack animals or monsters later. Holding down the button on a block continues hitting it, eventually breaking it. This is generally how you collect materials from the world. Some blocks require particular tools to collect them, but the first two sorts of block you collect are likely wood and dirt (grass blocks count as dirt), and both of those can be gathered with your bare hands. However, even these can be collected more efficiently with proper tools (such as an axe for wood and a shovel for dirt), and soon you can make some for yourself. Generally when you start a world, the first thing you'll want to do is to find some trees and break a few blocks of wood out of their trunks ("punching wood"). Once broken, the blocks drop as loose items, which you can move toward to collect. Holding something that isn't a tool (say, the block of wood or dirt you just picked up) still counts as "bare hands". Other things seen around you, such as tall grass or flowers, still count as blocks despite not being square, but they don't necessarily "drop themselves" when hit. For example, tall grass usually drops nothing, but sometimes drops seeds, which you can later plant to grow wheat for making bread to eat.


The right button Mouse 2 is more complex: This is the "Use" command, with effects that depend not only on what you're pointing at, but on what you're holding. There are special blocks (such as the "crafting table" discussed below) which open a GUI when used, but if you are not pointing at one of these, you just use whatever you currently hold. There are various tools that are used for their respective purposes, but at first you're probably holding a block of wood or dirt, and the "use" of a block is to place it down into the world. Simple blocks like these can be placed on any surface of a block that's already in the world, but more complicated blocks such as flowers can be put only in particular places (e.g. the top of a grass or dirt block). If you are pointing at a block that does have its own use, but you want to place a block on it (instead of, say, opening the GUI for a crafting table), you can "sneak" while placing the block.

When you eventually encounter a villager, you can also right-click on the villager to buy and sell items.

Combat

Main article: Combat

Surviving in Minecraft often requires a knowledge of the game's combat mechanics. There are two combat systems that exist in Minecraft – the system in the Java Edition and the system in all other versions. In Java Edition, without a tool in the player's hand, any attack deals 1 health point (♥) of damage. In Bedrock Edition, it deals 2 health points (♥) of damage. Tools in general do a great deal more damage, and does more damage the higher their tier. In general, swords do make the best weapons, followed closely by axes. Pickaxes do less damage, and shovels do the least. Hitting a creature with a sword consumes 1 point of its durability, while using any other tool consumes 2 points of the tool's durability. When a creature is hit, it turns red for a half second, marking its "invulnerability period". A second attack in this time does no damage.

The combat mechanics for non-Java platforms are simple: While three blocks away or closer to an animal, monster, or other players, the player can attack that entity by clicking the attack button while their cursor is over the entity. Clicking speed does not affect the combat, instead, a player's skill in combat is based more on their hit accuracy. The basic tools from above each deal multiple hearts of damage when the player attacks an entity while holding that tool.

In the Java Edition, a slightly different combat system is used. To attack any animal, monster, or other players, the player still must have the cursor hovering over the entity and be within three blocks of the entity when they press the attack button. However, after attacking, the weapon enters a brief "cooldown" period, indicated by the position of the weapon in the player's hand, and also by an icon in the hotbar. This happens even if you missed, or if the target was still invulnerable for a previous attack! Different basic tools have different cooldowns between hits. If the player attacks while still in a cooldown period, the attack deals much less damage, making it more important to aim your attacks. In Java Edition, axes do far more damage per hit than swords, but their cooldown period is much longer, giving them lower overall damage than swords over time. They also still wear out twice as fast as a sword.

In addition to attacking, the player can also block attacks with the shield. (Crafting a shield requires first obtaining an iron ingot, so you probably won't have one for your first day.) A shield completely negates any damage when it is raised with the Mouse 2 right mouse button. In Java Edition, a shield can be temporarily disabled if attacked with an axe.

Items and inventory

Inventory sectioned

1. Player's armor. 2. Character. 3. Personal crafting area. 4. Offhand slot. 5. Recipe book. 6. Inventory. 7. Hotbar (part of inventory)

Main article: Inventory

From the start of the game you can see nine special inventory slots, called your "hotbar", but you also have more slots which are normally hidden. As you pick up items, the first few appear your hotbar slots, but once those are full, they go into the 27 slots of your main inventory. At any given time, one of your hotbar slots is "selected", and the item in this slot is considered to be "in hand". (You can see the item in hand in front of you.) You can press keys 1 through 9 (or use a mouse-wheel if you have one) to choose which hotbar slot is active, thus you can quickly switch among up to 9 handy tools or other items.

Multiple items of the same type usually "stack", showing a number indicating how many of them there are. Most items stack up to 64; other items stack only to 16 (the first of these likely to be encoutnered are chicken eggs). Tools and armor are more individual, and do not stack at all. When you use or place items from a stack, you generally use one item at a time, counting down the stack.

You can also "drop" the item in hand (or one from a stack), which tosses it two or three blocks away. By default an item is dropped with the Q key. Pro tip: On a standard keyboard, the Q key is right next to to the movement keys, making it very easy to accidentally throw away the item you're using. Many players prefer to use the Settings menu to rebind the "drop" function to another key, such as O or K.

To get at the rest of your slots (and the beginnings of crafting), press E to open your personal inventory. This is your first GUI ("Graphical User Interface") and shares many features with the other GUIs that you'll encounter later:

  • Your cursor no longer controls your view. Instead you use it to pick up and drag items among various slots. Left-click picks up or drop an entire stack; right-click picks up half of a stack or drop one item at a time. There are more complex options, see the "Inventory" article linked above for details.
  • Note that opening a GUI does not pause the game, but while you are attending to the inventory you can only see a little of the world around you. Be careful about fooling with your inventory while monsters are around! On the Java Edition, opening any GUI also allows you to switch away from Minecraft and to another desktop window, without pausing the game.

Looking to the right, you can see an image of your inventory screen. There is a little image of your character, showing their current appearance. Left of that image are four slots for any armor you are wearing -- these can each contain only an a appropriate armor piece, for helmet, chest, legs, or feet. (This guide does not discuss armor.) Just to the right is a slot marked with a shield, which is your "offhand slot". This one can actually contain almost any item, but most common is indeed a shield (which you also probably won't get on your first day). If you are wearing a shield, you can use it with the same "use" key as for other items -- in general, you can "use" any item in your offhand, as long as neither the item in your main hand nor the block you are looking at has a "use" feature.

Below these are the 27 slots of your main inventory. You can drag items around from these slots to your hotbar and back, armor pieces can be moved to and from their armor slots, and items can be dragged to the personal crafting grid, about which more below. Dragging items completely out of the GUI's rectangle and releasing them there drops the items into the world much like the Q key (or whatever you rebound that to), but it is easier to drop a whole stack this way.

The hotbar and main inventory adds up to 36 slots for general storage, which is the limit for how much a player can carry around and transport on their person. There is no sense of "weight" or encumbrance for items; a player moves at normal speed regardless of how full their inventory is, or what particular items they are carrying. (It is a running joke that a player can bounce around while carrying what "should be" hundreds of tons of stone and/or metal.) If your inventory becomes completely full, you cannot pick up new items, although you may still be able to pick up more of any stackable items that you already have.

Crafting

Main article: Crafting

Also on your inventory screen is a 2×2 arrangement of squares. This is your inventory crafting grid. Here you can take some of the items you've collected and turn them into new items. Below the crafting grid is the Recipe Book icon, which provides assistance with remembering and using crafting recipes (see its page for full details). You do not actually need to use the Recipe Book, but for a beginning player, it can be very helpful in finding out what your options are, and even for advanced players, it adds a bit of convenience. In general, you learn new recipes automatically when you pick up (or craft) a key item for the recipes in question. Actually crafting an item certainly gets you its recipe, if you somehow didn't learn it by picking up the ingredients.

When starting a game, your first craft typically involves two steps: First, take a single log of wood and put it in the crafting grid. The output slot then shows a stack of four matching wooden planks, which you can then take. Then take those planks and put one in each of the crafting grid's four slots. The output slot then shows a crafting table, which you should take, put on your hotbar, and place down in the world to begin more advanced crafting. Having placed the table, you can right-click on it ("use", as above) to open a UI similar to your inventory, but with a 3×3 crafting grid. This lets you do many more recipes; you can also use it for any recipe you could craft in your inventory, but the larger crafting grid allows many more possibilities. Notice that the crafting table also has a Recipe Book icon, as do several other crafting blocks you encounter later in the game. Any of these recipe books show only the recipes that apply to its block. So your inventory's recipe book shows only 2×2 recipes, but the crafting table's recipe book shows all of its crafting recipes. Similarly, the furnace's recipe book shows smelting recipes, and so on.

Having set up a crafting table, your next step should be to make some sticks; you can actually do that in your inventory, the recipe is two planks arranged one over the other. Having a stick unlocks the recipes for your first tools, discussed below. (Note: A stick is not a club! Using it to hit something is no better than using your bare hands.) When you are done with your crafting table for the moment, you can break it like any other wooden block: Your bare hands can do, but it is much quicker to break it with an axe, which you might have just crafted.

Tools and swords

The basic tools the player can acquire come in multiple tiers based on your materials, and they include the pickaxe, the axe, and the shovel, for for mining, respectively, stone-type, wood-type, and dirt-type blocks. The fourth tool is the hoe, which is a little different — it is mostly used later, as part of farming, but can also be used to more quickly break some lightweight blocks such as leaves. Swords are similar to tools, and come in the same tiers, but these are used for attacking animals or monsters rather than breaking blocks. The six tiers are Wood, Stone, Iron, Gold, Diamond, and Netherite, but for the first day you are limited to wood, stone, and possibly iron. Higher tier tools break blocks faster and last longer (swords do more damage). Gold is a special case; it isn't actually relevant for your first day, but don't use gold for tools or swords. For pickaxes in particular, many blocks require a minimum tier for you to collect them: Wooden pickaxes can collect ordinary stone and coal ore, but iron ore requires at least a stone pickaxe, and more advanced ores (again, unlikely on your first day) require at least an iron pickaxe.

Once you have sticks, the Recipe Book for the crafting table includes recipes for the wooden tools. The wooden pickaxe lets you harvest cobblestone, and once you have that, you get the recipes for stone tools. Later, iron or gold ingots, and diamonds, likewise appear the recipes for those tiers. That said, all the recipes for each tool follow similar patterns, making a little picture of the tool in the crafting grid, and different tiers vary only in the material used. For wooden tools, any combination of planks can be used. Here are the recipes for the first three tiers of the basic tools:

Name Ingredients Crafting recipe Description
Axe Sticks +
Planks or
Cobblestone or
Iron Ingots

Mines wooden blocks faster. Can be used as melee weapon, is slower and loses 2 durability when hitting a mob instead of 1.
Hoe Sticks +
Planks or
Cobblestone or
Iron Ingots

Use to change dirt to farmland, and can break leaves faster.
Pickaxe Sticks +
Planks or
Cobblestone or
Iron Ingots

Mines stone blocks faster.
Shovel Sticks +
Planks or
Cobblestone or
Iron Ingots

Mines soil type blocks faster, including sand and gravel. "Use" (right button) to change grass into a path.
Sword Sticks +
Planks or
Cobblestone or
Iron Ingots

Quick weapon with decent damage.

Overview

First day

For the first day, you have just a few basic objectives:

  • Look around to see what your environment is, and if necessary go someplace else. (See "Biomes" below for more details on this.)
  • Acquire resources and tools: Get wood, make wood tools (at least a pickaxe), use that to get stone, make stone tools.
  • Get coal (or make charcoal) to make torches, and find or make a shelter for the night.
  • Optional goals include:
    • killing animals for meat
    • killing sheep in particular for wool to make a bed
    • Breaking tall grass to collect seeds, and perhaps tilling the edge of a pond or river to start a wheat farm.
    • Collecting some iron ore if you spot some near the surface.

As the first day begins, you need to collect logs. First, you should look around for trees, and go toward any you find, and break their trunks by "punching wood" as discussed above. You need to collect at least 5-8 logs for your first round of tools and items you need immediately. You'll certainly want more a little later, but a few tools now make collecting more wood go much more quickly. As discussed above, the first thing to make is a crafting table, followed by a few sticks. The first tool you should craft is a wooden pickaxe (3 planks in the top 3 slots and 2 sticks down from the middle plank). A wooden axe and/or sword are optional, but if you're having trouble finding stone they might be a good idea.

If any stone blocks are exposed close by, you can mine them with your new pickaxe to collect 19 blocks of cobblestone. This is the amount you need to create every basic tool needed for this tutorial: a stone sword, pickaxe ,axe, shovel, a hoe , and a furnace. While you're doing this, keep an eye out for coal ore, and mine any you find. Depending on the position of the stone blocks, mining them might well make you a mini-cave to spend the night in, otherwise keep an eye out for possible places to lair up.

Once you have a stone axe, you should try to get more logs as time allows; extra logs are useful in many ways, such as building, crafting, securing your base and much more. If you have difficulty finding coal, you definitely want an extra dozen or more logs to make charcoal! With coal or charcoal, you can make torches (coal above a stick on the crafting grid) for the night.

Optional goals: While you're doing this, break any tall grass you pass and collect any seeds that drop (but don't waste time on this), and once you've got a sword, kill whatever food animals you pass, especially sheep (up to 3 of those), collecting whatever they drop. (Not all animals are food animals: Horses, llamas, foxes, wolves, cats, and bees are all best left alone for now.) Don't spend too much time chasing down animals though, a few pieces of meat are plenty, and you only need 3 pieces of wool for now. If you happen to spot some iron ore, wait until you've got your stone pickaxe, and then mine that too.

By the time you've done this, sunset is likely imminent or in the past. If you're really ahead of the game, you might take a moment to hoe some dirt next to a river or pond, and plant seeds to get a head start on wheat. Place a torch near these so they can grow overnight. But at that point, it's time to finish for the day: Head for cover, and either prepare a cave as your first night's lair, or make a mini-house. If you were able to make a bed, you don't strictly need a shelter, it's better to have it someplace safe where you can leave it be, but you can also just find an open space to place it. Either way, use the bed as soon as you can.

Night time

For most players, the first night is time to set up your crafting table and furnace, cook your meat and perhaps some logs for charcoal, and maybe craft a few things for the next day. If you managed to pick up some iron ore, smelt that too, and consult the "second day" tutorial for what to make with it. (TL;DR: Shield, iron pickaxe, iron sword, bucket, in that order.) If you've settled into a cave, you might want to mine overnight to look for coal or iron ore, but don't go too deep because you want to get an early start for the next day. If you managed to get wool for a bed, you also have the option of just skipping the night; if you managed to make yourself too hungry or hurt, or didn't get much in the way of other resources, that might be a good idea.

At night time, the primary danger is hostile mobs (monsters) that spawn only in the dark. These include zombies, skeletons, spiders, creepers, and more. All of these are good reasons to stay put in a well-lit shelter. But if you are really seeking adventure, you could always arm yourself with a sword and fight some monsters. While you might be able to get some materials for further crafting, it is pretty dangerous, and if you die, all of your items and experience levels drop where you died, and you respawn at your bed (or at your world spawn if you don't have one). However, most of the monsters you can fight at this point either burn (zombies and skeletons) or become less dangerous (spiders) when morning comes, and it is 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 easily get your ♥ health quite low or even kill you at a distance, and if they're in the water or on higher ground, it's unlikely you'll be able to reach them before being killed at this stage. If you happen to see any of the more powerful monsters, keep well away from them: At this point, an enderman, witch, or even a creeper can kill you easily.

If you are repeatedly being killed (too ambitious, a monster got into your shelter, or you didn't manage to make a shelter), you can always dig a three-block deep hole, cover it up and hide there. However, consider that because this is the first day, you won't actually lose much when you die (except for what has already been gathered that day), so if you do end up being killed you can just tough it out until dawn and start again. Keep on practicing killing mobs until you get the hang of it. If you're completely desperate, you can consider switching to "peaceful difficulty", which causes all the monsters to disappear until you switch back.

Shelter

Main article: Tutorials/Shelters

As noted above, you should really want to find or make some kind of shelter before your first night, to avoid being killed. The "Shelters" article linked above gives a lot of suggestions for emergency shelters and more advanced ideas, but it only takes a little thinking ahead to manage a decent shelter for the first night. As you move around collecting logs 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 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 to be safe before dark, and you also want to light up the space you claim (see "Light" below). 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. You might need to leave your shelter at a sprint to escape a pesky creeper. Similarly, don't set up next to a pond where skeletons might take refuge 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 exit for solid walls: logs, 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 is 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. You save some of your precious 36 inventory slots by making planks and sticks only as you need them. Even if you don't have a chance to do anything fancy before nightfall, you can spend part of the night exploring the Recipe Book for your crafting table.
  • 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 after that because sleeping in a bed sets the spawn point next to it, so you reappear inside your home rather than somewhere out in the wild. After the first night, you may well want to spend the nights crafting and mining. Phantoms are not an immediate concern, but you really do want that bed by at least your third night, or simply don't venture out at night until you have a bed.

Light

Main article: 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 spawned or 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 range is in "taxicab distance", with each square east, west, north south, up and down counting independently. Accordingly, the safe zone only runs 3 spaces or so diagonally, and steps up or down can shorten it further. Even outside the safe zone, having some light sharply reduces 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

Main articles: Food and Hunger

Once you have tools and shelter, your next priority is food. 🍗 Hunger takes 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, just so you don't get into an emergency situation. If you get too hungry, you start suffering: Below 90% you can't heal damage, below 30% you can't sprint, and the hunger bar goes empty, you begin to starve. You can't starve to death unless you're in Hard difficulty, but you are still quite vulnerable. You do not lose hunger at all in Peaceful mode.

The primary drain on hunger is from healing damage, and for quite some time this is your only way to heal damage! Fighting (even before healing damage), sprinting, and jumping are also food-intensive. (Be careful about going uphill with auto-jump!) You have a little grace period (see "saturation") when starting the game and after eating, but when that's exhausted, your food bar start rippling, after which healing damage or getting too athletic starts to drain your hunger bar. See the Second Day guide for slightly more detail, or the Hunger page for the whole story.

Note that if you are staying at full health, and not fighting, sprinting and/or jumping, swimming long distances or or mining many blocks, then you use almost no food. Walking at normal speed does not use up 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.

Making a crude wheat farm early on (by breaking tall grass for seeds, and planting next to existing water) is listed as an optional objective \\, but if you can pull it off your first day, it gives you a definite head start on the game. Having wheat gives you more options: Harvested wheat can be used to make bread, or to capture and breed cows, and extra seeds can similarly be used to capture and breed chickens.

That said, killing a few animals and cooking their meat can certainly tide you over for long enough to make more permanent arrangements. The occasional apple or sweet berries can help a bit, but mind those damage-dealing bushes!

There are also a few items you technically can eat, but shouldn't. Raw chicken (the only one of these you'll likely see the first day) has a chance of giving "food poisoning" that can leave you even hungrier, and if you eat rotten flesh, that usually gives you food poisoning. Eating a spider eye poisons you outright, and eating a pufferfish poisons you badly.

If you can manage to kill a couple (or more) spiders, you may have enough string to craft a fishing rod, which is a perpetual source of food if you have water nearby. Cooked fish is a rich and renewable source of food, replenishing both the hunger and saturation levels.

Play-by-play

1.8 Biomes MixedForest

Getting Started

A player begins the game standing in a landscape somewhere. This is the general area in which a player reappears (respawns) upon death if not in Hardcore difficulty and the respawn point hasn't be reset by sleeping in a bed. This is the start of a new Minecraft world. This tutorial is intended to teach you the skills needed to survive in this world and eventually be able to do just about anything you desire. You can do the different sections below in any order you desire, but many sections require you to first complete other tasks first. The tasks listed on this page (except those noted as optional) should all be completed before moving on to the second day tutorial, even if it takes you multiple days to complete all of the tutorials. No matter what, your goal for the first day should be creating a bed or shelter so you can survive the night. The other tasks are also very important and can all be completed along with the main objectives while leaving you with extra time.

See the first section of this guide for information about controls and getting around in the world. You need to master those skills in order to complete the following tasks. Again, the game starts at noon, and you have 10 minutes of game time before nightfall. Your overarching goal here is to acquire basic equipment and a simple shelter in that time. You do have some time to practice your basic skills and learn about your inventory, but don't take too much time at that. If night falls and you still don't have any shelter or basic equipment, it is fair (for your first game) to switch the game to Peaceful mode for the night.

While following the steps below, break any tall grass you see and collect any seeds that drop. They become useful later. In fact, collect any loose items you come across; almost everything can be potentially useful. Also keep an eye out for orange pumpkin blocks and (if you happen to be in a jungle) green melon blocks. If you find any, break some of them and take the results with you for later farming. Also watch out for sweet berry bushes. "Using" them can provide berries for a bit of food, but actually stepping into them hurts!

Biomes

Main article: Biome

The Minecraft world is divided into different areas called "biomes". Different biomes contain different blocks and plants and change how the land is shaped. There is an advancement that includes finding all the biomes; this is better explained on the advancements page. Biomes affect you, especially at the beginning of the game, but you need not worry about specific biomes until you have learned how to play the game. If you are curious, you may want to read more about biomes on the biomes page. That said, there are a few cases you should worry about:

  • You start on a small island in the ocean: Go to the highest point on the island and look around for other land. If you see a reasonably-sized continent with trees and animals, swim there. If you see no large land and no animals in sight, you have an "ocean spawn". For a player's first game, it is entirely reasonable to exit this world and try again with a different seed.
  • You are standing on sand, with no trees or water nearby. You are in a desert. Again, go to high ground and look around for trees and green grass. If you see some, go there before continuing with this guide. If there's no green in sight, this is another situation where you can reasonably toss the world and try again. Deserts are much easier when encountered from outside, but they are missing important things like dirt, wood, and accessible stone, all of which which you really do need to start off the game.
  • You are in a dark forest, with thick trees, a thick leaf canopy, and giant mushrooms scattered around. This is a particularly unsafe place for a starting character and a beginning player, because the canopy can create areas dark enough for hostile mobs to spawn in daytime. However, if you move quickly, you can probably make it to more open ground in a reasonable amount of time, and start setting up in a more reasonable biome. Don't leave the dark forest behind completely, though — once you have basic armor and weapons, it's a very resource-rich area. And grab some of that plentiful wood once you reach the edge!
  • The land around you is greyish-purple, with dusty particles, giant mushrooms, and red "cows": Rejoice, for you have received a miracle: a spawn in a Mushroom Fields biome, where hostile creatures cannot appear (except for underground dungeons). However, you do need to go elsewhere to find wood, crop seeds, and some other resources, but otherwise, you've gotten into a golden situation here. Once you have even a bit of wood, you can get unlimited food from the Mooshrooms, and you have a large area in which you barely need to worry about your safety even at night.

If you see houses and other buildings nearby, this is not exactly a biome, but it means that you are near a village, which is a good thing. In fact, a village lets you skip past much of the first and second-day activities due to ready-made shelter and beds) but it requires a bit of care. It's worth exploring the village and ransacking any chests you find; if you happen to find any emeralds, you might even be able to buy some useful items from the villagers ("use"/right-click on them to open the trading interface). You can also harvest wheat from village farms, or harvest any hay bales from the vicinity and craft them back into wheat, and sell the wheat to any farmer you find. Besides providing equipment, food and other resources, a village also lets you collect the seeds for all four of the basic crops up front, from their farms, and you can also take one of their beds with you when you leave. If you see an iron golem trundling around, do not attack it (or the villagers for that matter), lest the iron golem becomes angered and kills you.

Any time you are near a village, you must sleep in one of their beds overnight, as soon as night falls. Trying to stay up overnight can expose the village to attacks by monsters, which can easily wipe out the villagers. It's okay if a villager has already claimed the bed — trying to use the bed the first time simply kicks the villager out, and then you can use the bed again for yourself. If you have a village, you should probably travel some distance from it (say, fifty or a hundred or so blocks from the edge) to make your own lair, to avoid having monsters appear overnight due to your presence. If monsters (such as illagers) do appear during the day, your best bet at this point is to ring one of the bells in the village, and hope that the village's iron golem can deal with the invasion.

Log

Main articles: Wood and Log

Wood is the most basic resource in Minecraft, and you need to collect some up front. The usual and most plentiful wood source are logs from trees, which are available in most biomes. Logs are one of many items that can be collected without the use of a tool. All you have to do is mine any log of the tree with your hand or any item. Each block drops as an item that you can pick up and put in your inventory by approaching it. You should start by collecting 6-8 logs for your first tools. There are many different types of trees in Minecraft, each having its own individual name and look. Each kind of log can easily be crafted into a matching type of planks. All logs and planks work for any recipe requiring logs or planks respectively, but a few recipes require that all the wood you use be the same type (for example, when making a boat, you can't mix oak and spruce planks). If you mine all the wood from a tree, the leaf blocks atop it start decaying (you can also break them yourself), dropping sticks, saplings, and perhaps apples. For your first day, don't wait around for leaves to decay, but as usual, pick up any items they do drop and save them for later.

A rarer source of wood is sunken ships which are made of logs and planks and are found in ocean biomes, but dealing with these is probably best saved for later. Abandoned mineshafts (found on the surface in a few biomes) also contain planks, but these are definitely better saved for later. Your Recipe Book provides an assortment of useful recipes for wood, including each type of wood as you encounter it.

In order to obtain better materials at faster speeds, the player needs tools. Tools are items that allow the player to complete tasks other than placing blocks at faster speeds than normal. Most tools can be made out of different materials each better than the last. Using a tool to mine the blocks for it is intended mines the blocks more quickly than normal. Tools lose durability upon each use, even if the use was to hit an entity. In fact, using tools as weapons generally wears them out more quickly. Enough damage to a tool eventually causes the tool to break. Different tools have different properties and abilities. If you are using a tool on a block and it seems to be taking an unexpectedly long time, you may be using the wrong tool for that block. Stop to look at the block and reconsider your approach.

Having acquired wood, the first tool to craft is a wooden pickaxe. This starts by crafting a couple of logs into planks, and then at two of those planks into sticks. The planks required for a wooden tool can be any combination of planks, as shown below.

Template:Grid/Crafting Table

You probably won't need to craft any other tools out of wood, because you can soon upgrading to stone.

The basic tools are:

  • The Pickaxe is used to break and gather stone, metal, and related materials such as ores.
  • The Axe is used to collect wooden materials more quickly.
  • TheShovel is used to gather dirt-type blocks: dirt, sand, gravel, clay, and their variations. "Grass blocks" are a variation of dirt.
  • The Hoe can be used to quickly break some lightweight blocks such as Leaves, but its main use is to turn dirt or grass blocks into farmland.
  • Special mention for the Sword. Instead of breaking blocks, a sword is used to attack animals or monsters.

See the overview above for tool crafting recipes, but the reader may have noticed that in order to craft a basic tool, they more or less draw it with its components in the crafting grid. Other items are crafted in a similar fashion.

Entering the Stone Age

View of cave entrance showing some stone.

Cave entrances usually expose stone, but be cautious about going into the depths!

Once the player has crafted a pickaxe, they can successfully acquire cobblestone to make better tools. Cobblestone is collected by finding stone then mining it with any pickaxe. Stone mined with any pickaxe drops as a cobblestone item. Besides the "original" gray stone, there are three other kinds of rock you can find, which are good for building, but you cannot use them to craft tools. White diorite and red granite are fairly obvious, but andesite is also gray, and can easily be mistaken for proper stone; when you start mining, check the block that you get in your inventory to make sure it's actually cobblestone instead of an andesite block.

If no stone appears above ground near the player, stone can also be found by digging into the ground. The stone layer usually appears within 5 blocks under dirt and grass block or within 8 blocks under sand and sandstone. Remember to never mine out the block you are standing on, unless you know that what's below that block isn't a long fall, lava, or other dangers! Another warning here: Unlike most blocks, sand and gravel can fall, and if they fall on you they can suffocate you. If that happens, don't panic, just dig yourself out as quickly as you can.

Most players should gather at least 19 pieces of cobblestone in total, which is enough to make a furnace and all the basic stone tools including the sword and hoe. Taking extra cobblestone is good in case you use up some of your tools and need to replace them. At your crafting table, you should have all the recipes you need for a full set of stone tools.

At this point, you have a set of basic tools and both of the basic crafting blocks. And while you're not really prepared for a fight, you at least have a basic weapon to defend yourself or hunt animals for food.

Your options for "what to do next" have opened up: The top priority is to arrange for a shelter for the night, a bed to sleep in, or both... but you should also have at least some time left to gather more resources (especially light and food) as you explore and/or build. These extra resources can give you a solid head start for the next day and the remainder of the game. Read the following sections, and attend to them according to what you find in the world around you.

A stone surface with some coal ore showing.

Coal ore exposed on the surface.

A good start is to take your stone axe, and cut down some more trees for logs, trying to accumulate at least 10 or even 20 logs. Although some trees may look different than others, all logs work the same. However, different kinds of logs don't stack together, and likewise for their planks. While you cut down trees, try to gather the saplings, sticks, and perhaps apples that drop from the leaves.

While doing this, explore the immediate area (making sure you don't get lost), to try and find some coal ore. Coal is a key resource for making torches and smelting materials, but if you can't get it, you can fill in withcharcoal, which is smelted from logs. If you get some, craft a few torches up front, but don't use up all your coal -- save some for later smelting. If you happen across a similar ore with tan specks in place of the black ones, you have found iron ore. Iron is extremely useful for most of your Minecraft career, and if it's within easy reach, go ahead and gather it (a stone pickaxe is required). However, if it's in a difficult-to-reach place, just note its location and save it for later.

Along the way, keep an eye out for useful plants. Keep breaking grass for seeds as you pass it, and grab a few of other plant types that you encounter, except perhaps for flowers. Flowers are not very useful yet (though dandelions might be helpful for catching rabbits), but more useful finds (depending on where you are) include pumpkin blocks, sugar cane, melons, cactus, and berry bushes. If you find any of these, break some of them and take the results with you for later farming. Be careful with cactus and berry bushes, as they harm you if you touch them! "Using" a berry bush can drop the berries without breaking the bush, but the bushes are common (not to mention hazardous), and if you do want more bushes, you can just plant the berries.

Basic necessities

Light

Main article: Light

Players are greatly affected by light in Minecraft. Any underground space is dark, and half of the time the game is at night. It is possible to see a little better by altering the same settings to raise the brightness level of the display, but this only goes so far, because it's not just about visibility -- monsters spawn in the darkness. Specifically, any space further than 24 blocks from a player that isn't lit up well enough (about 7 blocks in taxicab distance from full sunlight or a light source) is a potential spawning ground for monsters. Accordingly, a player "claims" territory by lighting it up so that monsters cannot spawn. From the first day, a player can createtorches, a basic light source that remains useful throughout the game. Torches (and any other light source) need to be placed in the world to give off light. They can be placed on the side or top of any solid block, and some that aren't entirely solid (for example, you can put a torch on top of a fence). Unlike in real life, a torch remains lit forever, allowing the player to use torches as a cheap and permanent light source. One stick plus one coal or charcoal, crafts into 4 torches. At the very beginning of the game, you should make torches 4 at a time as you need them, once you have a reasonable supply of coal and/or charcoal you can keep a stack of torches handy.

Template:Grid/Inventory Table

The most important places to light up are a player's home or base, caves explored, the outside around the player's home, and anywhere the player is often at or near that is dark.

Torches are also useful to prevent getting lost in caves as well as to prevent monsters from spawning in them. On the way into a cave, for example, a player can place torches on the left side wall (especially near where tunnels branch, and then the player knows that to find the way out, the torches should be on the right.

Getting food

Main articles: Hunger and Food

Even though you probably aren't hungry yet, collecting some food up front, and arranging for more, is a good thing. Just now, there are three things you can do about that:

  • You can find apples and sweet berries which are immediately edible, but these are not very good food, and also don't warrant much further discussion. Grab them as you find them, eat them if you need to.
  • You can start a crude farm, which does not provide food immediately, but it pays off well later, as a head start toward a permanent food supply.
  • You can kill animals and cook their meat, to get some high-quality food for your first few days of the game.
  • You can kill spiders to get string, from which you can craft a fishing rod to catch fish, a rich and saturating source of nutrients.

As with your health bar, you start with a full hunger bar, with 10 icons ("shanks") representing 20 hunger points. After you have been moving around (and perhaps fighting) for a while, the hunger bar begins rippling and start decreasing. If the hunger bar drops below 90% (🍗 × 9), you cannot regenerate health, and if it gets to 30% (🍗🍗🍗), you can't sprint. If the hunger bar goes down to empty, you begin losing ♥ health. Unless you are in Hard mode (and a beginning player shouldn't be), you can't actually starve to death, but your health declines 1 health point (♥) in Normal mode, or half the health bar (♥♥♥♥♥ in Easy mode), which leaves you quite vulnerable. If you are playing in Peaceful mode, you do not have to deal with hunger at all.

The primary drain on hunger is from healing damage, and for quite some time this may be your only way to heal damage! Fighting (even before healing damage), sprinting, and jumping are all food-intensive as well. (Be careful about going uphill with auto-jump!) You have a little grace period (see "saturation") when starting the game and after eating, but when that's exhausted, your food bar starts to ripple, after which healing damage or getting too athletic starts to drain your hunger bar. See the Second Day guide for slightly more detail, or the Hunger page for the whole story.

If you are staying at full health, and not fighting, sprinting, jumping, swimming long distances, or or mining many blocks, then you use almost no food. Walking at normal speed does not use up food. Neither does rowing a boat. 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.

First farming

Previously, you learned break tall grass and collect the seeds. Now you have a chance to use those. Look for any water (pond, river, ocean) with dirt or grass nearby at the water level. Use your hoe on the dirt or grass, within 4 blocks of the water itself (diagonals count). Wait a moment to make sure the new farmland darkens instead of reverting back to dirt, then plant your seeds, one per block (save one or two seeds for possible chicken-wrangling, below). Later you can make a more organized farm, but for now, you have just gotten a head start on a permanent food supply. When you come back here tomorrow or the next day, the seeds may have grown into wheat, which you can use to make bread or to lure and breed cows (see "animals", below). You also get extra seeds from harvesting the wheat, which you can use to plant more wheat, or to lure and breed chickens. Pro tip: If you have any torches, place one to light the field overnight.

If you have found a village, it should have farms that may include any of the four food crops: Wheat, carrots, potatoes, and beetroot. See their respective pages to see how to recognize the mature plants, and how to prepare each of these for eating. Having done so, you can harvest any mature plants you find and replant the crop afterward, with a seed (wheat or beetroot) or one of the several carrots or potatoes you just harvested. Be sure to save some seeds, and extra carrots and potatoes, for your own later farms.

Animals
Main article: Mob § List of mobs

Those creatures in Minecraft that are not immediately hostile to the player, are known as passive and neutral mobs ("mobs" for "mobile", this is a common term on this wiki). Many passive mobs can be killed for meat. Raw meat is not as nourishing as cooked meat. See "Smelting" below for details on how to cook food.

Passive mobs never attempt to harm the player. The majority of passive mobs are traditional domesticated farm animals which usually ignore the player. If harmed, they flee for a short time. Some animals (such as rabbits or foxes) run straight away from players who get too near. If a passive mob is killed, it may drop resources such as raw meat. Most passive mobs at least drop a fewexperience orbs if killed by the player, but baby animals never drop anything. These passive mobs include the several meat animals... and now you've got a new stone sword! Look for sheep, cows, chickens, and pigs, use your sword to kill a few and collect the meat and other drops. In particular look for sheep, and try to kill at least 3 of them for their wool. That said, don't slaughter everything you see. Try to leave at least two of each kind alive for later breeding. If you have sufficient wood and are doing well on time, you might even set up a small corral of wooden fences and fence gates, and use seeds to lure some chickens in there for later. Unless you found a village, you don't yet have the wheat you'd need to lure cows and sheep, nor the root vegetables that pigs prefer, but you might perhaps be able to use dandelions to lure rabbits into a secure pen.

Neutral mobs act similarly to passive mobs except that they harm the player if provoked. Wolves, polar bears, iron golems, llamas, dolphins, pandas and bees attack the player if the player harms them. These creatures also attack other creatures that hurt them. A polar bear is hostile to the player if a bear cub is nearby, and bees attack if you molest their hive. Bees and wolves both attack as a group: if one of them attacks, all the others in the vicinity join in! For all of these, plus the passive horses, donkeys, and cats, just leave them be for now. They don't drop meat, and you don't have the means to tame or breed them yet.

For more information on breeding, see the page Breeding. Taming mobs is more complex, but you might look at the pages for Wolves, Cats, Horses, and Llamas.

You may also see fish in nearby rivers, and you can go into the water to kill them with your sword. Cod and salmon are edible, but you should cook them like other meat. Be careful about playing in the water. Aside from the risk of drowning in deep water, there may be monsters in there, and pufferfish can hurt you badly if you approach them. Then too, moving in water is slow, and you don't want to spend too much time there.

Smelting

Main article: Smelting

To progress in the game and even to stay alive, the player needs to know how to use a furnace. A furnace is used to cook food, turn iron and gold ores into metal, and create other specific items such as charcoal, all of which are collectively called "smelting". To use a furnace, the player must first have one. This is the crafting recipe: Template:Grid/Crafting Table

Just like the crafting table, the player uses the furnace by first placing it down in the world then clicking on it with the use button. The furnace itself counts as a stone-type block, so to pick it back up you need to break it with a pickaxe.

The furnace GUI has only three slots and includes two icons to indicate time. The top left slot ("input") is where items to smelt are placed. The items are moved from this slot one by one as they are cooked and the products are placed in the right slot ("output"). To cook items, the furnace requires fuel, which is placed in the fuel slot at the bottom left. (The example below shows how to smelt 3 logs into charcoal.) The "fire" icon burns down to show how much of the current fuel item is left, while the arrow shows how far along the smelting of the current item is. Items cannot be partly-smelted: If smelting is interrupted (you pulled the item out of the input, the fuel ran out, or you broke the furnace), the input item remains unchanged.

Smelting takes some time, but you don't need to stay in the GUI, as the process continues while you go do something else. A furnace automatically uses fuel (one item at a time) from the fuel slot as needed, until either all the items in the input are smelted or all the fuel runs out. If the input items run out before the fuel, the furnace stays lit until the current fuel item is used up. You can put in more items to use up the rest of the burn time. While the furnace is lit, the furnace block becomes a temporary light source, displaying fire particles and making popping sounds.

It takes 10 seconds for each item to be smelted. Different fuel items burn for different amounts of time; most items made from wood can be used as fuel, but coal or charcoal are more efficient, and other fuels may become available later in the game. Some common fuels: Any wooden tool (or sword) can smelt one item; a wooden plank can smelt 1.5 items (that is, 2 planks smelt 3 items, as shown above), and a piece of coal or charcoal smelts 8 items. Don't use logs directly as fuel; the log burns no longer than each of the four planks you could make from it.

In Java Edition, an efficient fuel is charcoal produced by smelting logs using wood planks as fuel. In Bedrock Edition, charcoal produced by smelting logs using wood slabs is more efficient, because slabs smelt twice as many items as planks in Bedrock Edition.

For the first day (or the night afterward), you should start by cooking any raw meat you have, and smelt some logs into charcoal. If you got any iron ore, smelt that too, and craft items according to how many ingots you have: In order, start with a shield, then an iron pickaxe, iron sword, and a bucket. (More details can be found in the "second day" guide.)

For fuel, start with any wood tools the player has replaced with stone tools, and planks (2 at a time) to smelt a little meat and/or your first charcoal, then move on to coal and/or charcoal for larger jobs. Note that charcoal is a more efficient fuel source than planks, as it keeps the furnace lit longer than the wood that went into it would have.

Smelting items in a furnace also produces experience, which is automatically awarded to the player upon removing any smelted item out of the furnace.

Safety (sleep and shelter)

Making your bed and lying in it

Main article: Bed

To make it through the first night, the player can do either (or both) of two options: build a shelter, or get hold of a bed. If you have to choose, the bed is likely easier and safer... if you can find those precious three blocks of wool. (If you were lucky enough to run into a village, you can sleep in one of their beds, and probably swipe it afterward.)

A bed is a special block with an unusual shape: It takes up two blocks of floor space, but is only about half a block tall. When crafting a bed, the three wool must be the same color, which becomes the color of the bed. However, the planks need not match. Wool is obtained from sheep; for now you need to kill them for it, but later in the game you can shear sheep to get the wool without harming them. Sometimes you may find wool lying on the ground, especially in a forest; this wool comes from sheep that were killed by wolves (or in multiplayer, by other players). If there are no sheep to be found at all, you can eventually collect string from killed spiders, and craft wool from the string.Template:Grid/Crafting Table With a bed, the night is easy to survive. All you need to do to do is place the bed somewhere suitable (see below, but almost any open ground works) and use it (sleep in it) whenever night falls. If you try using it as sundown approaches but are told "you can only sleep at night or during a thunderstorm...", just wait a few seconds and try again, it works once sundown has properly begun. You also cannot use a bed when hostile monsters are within 10 blocks, or you get the message "you can't sleep now, there are monsters nearby". On successfully using a bed, you change to lying position on the bed without the ability to move – not even looking around. It takes a few seconds after getting into bed before the game skips the night, giving you a chance to change your mind.

A bed allows you to do three important things:

  • It lets you skip past the night (or a thunderstorm, which can also be a fairly dangerous situation for a new player). No time passes in the world: crops do not grow, furnaces do not smelt, etc., but the game time advances to dawn, upon which monsters stop spawning on the surface and any skeletons or zombies caught in the sudden sunlight burst into flame.
    • If you are in a multiplayer game, all other players must also use a bed before night is skipped, though various game mods can alter that rule.
  • Using a bed sets your spawn point, that is the location you respawn in if you die. Without a set spawn point, after dying you reappear somewhere, without your possessions, within 20 blocks of the world spawn point (usually outdoors), and if it was night time, it's still night when you respawn. This is not a pleasant situation! In current versions (1.15 or newer) of Java Edition, using the bed during daytime sets your spawn point even if you can't sleep yet.
  • If you have not slept (or died) within the last three days or so, Phantoms can spawn at night and even during thunderstorms. If you go outside, these swoop down from the sky to attack. Sleeping in a bed prevents this not-so-minor inconvenience. Phantoms burn like other undead entities after the sun rises.

A few warnings about using beds for a spawn point:

  • To actually respawn at the new spawn point, the bed needs to stay put! If you pick up the bed to take with you, then if you die the bed is counted as "missing", and it's back to somewhere near the world spawn.
  • You also need to have some open space next to the bed, on the same level or the level below -- someplace where you could stand when you respawn. This has to be a solid, opaque block to stand on -- glass, slabs, fences, or other non-solid blocks do not count. If there is no such space when you die, the bed is considered "obstructed", and again, it's back to the world spawn. However, your spawn point still defaults to the bed, if you clear the area out later.
  • In multi-player, if another player has since used the same bed, your spawn point is also lost.

These limitations are why the best option is to have a secure shelter of your own, with a bed permanently installed inside it. That way, after death you come back safe at home. If it's still night or storming, you can go back to bed and sleep through to daylight, before you go back in search of your fallen possessions.

Shelter

Main article: Tutorials/Shelters

The best way to avoid the darkness and accompanying mobs of night time is to craft and use a bed, but this isn't an option available to all players by the end of their first day. Building a shelter is an important skill for players to learn, and especially so if you cannot get a bed. The point of a quick shelter is to keep all monsters far enough from you that they cannot harm you. Monsters do not even move toward a player who is in a correctly built shelter. A shelter is a good place to continue to mine, craft, and smelt items while waiting for daybreak. If a village happens to be nearby, that is an ideal place to seek shelter, but in modern versions of the game, a village also has beds, so you can just avoid any trouble by sleeping through the night.

To protect a player, a shelter should be made out of blocks that cannot be walked or seen through by monsters. Holes in the walls or ceiling can be a safety hazard as baby zombies can fit through a one-block gap, skeletons can shoot through open gaps created by slabs or stairs, and spiders can climb over most walls. Creepers can blow up a house made of dirt or wood (stone is more durable), but only if they can see you. All that said, holes above head height (2 blocks or more above the ground outside) are out of reach for most monsters, and while spiders can climb, they cannot fit through a one-block wide gap. Fences (see below) can be used for windows; while monsters can see (or shoot) over a fence on the ground, if the fences are joined on all sides to blocks, the monsters can't see, move or shoot through them (and you cannot shoot through them either).

The walls and ceiling of a shelter can be made entirely out of material the player has gathered, but it is usually faster to dig your shelter out of a hill, or to close off the openings of a nearby cave. When doing this, you need to avoid the few blocks affected by gravity, which for now are just sand and gravel. A player may already have a hole dug out from gathering cobblestone earlier in the day, which can be quickly fitted out as as a shelter. Sometimes, there may be a naturally generated structure nearby that would serve as a shelter. If you're stuck on an open plain, you may yet need to build a small hut out of dirt, planks, and/or stone.

In an emergency, you might not have time to make an adequate shelter, if night falls and monsters show up before you can arrange for something. There are still a few options left:

  • If a hill is nearby, you can dig a short tunnel into the hill and block off the entrance. This gives you enough time to place a crafting table and make a few fences, which you can use to replace the blocks at the entrance (one at a time so nothing gets in), so that you can see when dawn comes. Lacking fences, you can leave a one-block hole above head height at the entrance.
  • While digging straight down is usually unsafe, an emergency may warrant digging straight down three blocks from the surface and quickly blocking off the top. If you have already made some fences or trapdoors, these are ideal for the top, as, again, they let you see when dawn comes.
  • You can ride a boat out into an ocean to avoid the monsters on land, but there may also be monsters under the water (see Drowned). At the least, avoid any areas lit from underneath the water, and in a boat you can easily move away from any monsters that appear. Also, hunger does not deplete in a boat.
  • If desperate enough you can change the difficulty to "peaceful mode" temporarily to remove all monsters, and change it back in the morning.

Having created a shelter, you need to light it up to avoid being in almost complete darkness. Even a single torch is sufficient for a small hidey-hole, and if you are using a furnace, it also provides a bit of light while you smelt. That said, it's better to have light before building a shelter, so you can set up light sources when you can still see.

To get in and out of a shelter, the player needs some type of entrance/exit. If necessary, the shelter's exit can simply be some dirt or other easily broken blocks. A much better way to set up a shelter's entrance is by crafting and placing a door. A door is relatively cheap and can be placed on any solid, opaque block. The door requires a vertical space of two blocks, similar to how a bed takes up a horizontal space of 2 blocks. Placing the door from the outside causes it to be flush with the outside wall. Doors can be quickly opened and closed and while closed some of them allow the player to see outside, without monsters being able to see or attack the player inside. In Easy and Normal difficulty, zombies bang on doors, but cannot actually break them down. If you are playing on Hard difficulty (again, a beginning player shouldn't be!), a zombie can break down a wooden door, but even then, you can easily block off the door from the inside with one or two blocks.

A good alternative to a door is a fence gate. Even in Hard difficulty, monsters do not know how to open a fence gate and do not break them like doors.

Useful crafts

There are a few things the player can craft which are particularly useful when making a shelter. In all cases, see their respective pages for more details. For all but the chest, the planks you use must all be of the same type (the ladder uses no planks).

  • Doors make a 2-high entrance that can be quickly opened or closed. Depending what wood they're made of, you may be able to see through them a little, but regardless they let light through, which can tell you when dawn comes even if they have no transparent parts.
  • Trapdoors are the vertical version of doors, providing a one-block entrance in a floor or ceiling. (Ladders are helpful here, see below.) They likewise let light pass through, but you may or may not be able to actually see through them.
  • Fences are a versatile barrier; placed in a line on the ground, they block most monsters (and animals). While they look like they're only one block high, they are in fact 1½ blocks high, which is too high to jump over. (But watch out for blocks within the couple of blocks behind them, which can let monsters climb up on those to jump onto the fence.) One drawback is that spiders can climb such fences, like other blocks. If placed in a wall (that is, surrounded by blocks on all sides including the top), fences can provide a cheap window, since you can see through them (but monsters can't). Make sure the fence is visibly joined to all blocks on each side; they do not join to doors, trapdoors or glass. You can also make similar walls out of cobblestone or other kinds of stone, but these don't provide visibility.
  • Fence gates are a cross between doors and fences. They are 1½ blocks high like fences, but can be opened and closed.
  • Ladders are a flat block which you can place against a wall to let you climb them. If you leave the bottom block (against the ground) un-laddered, you need to jump to get onto the ladder, but monsters won't think to do that, so they can't climb after you. As usual, spiders can still climb the wall.
  • A Chest isn't really necessary at this stage, but it's a convenient way to stash items you don't want to carry around. If you get killed, anything in the chest remains there, waiting for you rather than scattered around your death site. It needs to be placed as a block, then "use" the block to open its GUI and get at the contents. If you break a chest (use your hand or an axe), everything that was inside spills out as loose items, along with the chest item itself. Two chests next to each other can combine into a "large chest", see the Chest page for full details.
Name Ingredients Crafting recipe
Wooden Door Matching Planks
Wooden Fence Matching Planks +
Stick
Wooden Fence gate Stick +
Matching Planks

Wooden Trapdoor Matching Planks
Ladders Stick
Chest Any Planks

Read more: Guide to shelters

Dawn

Wait for full light (or the sounds of burning undead), wield your sword, and carefully leave your shelter. Even in sunny weather, watch out for any remaining monsters — this may well be your first fight. If you see spiders, don't panic, they likley have become neutral in the sun, and you can try to kill them for their strings. If you see a creeper, your best option 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. If a burning zombie attacks you and the difficulty is normal or hard, they have a chance to set you 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 dead 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 in a pack they can overrun you — and if attacked, they can call any other zombies in the area to join the fight. At night or during a storm, they can actually summon new zombies!

A skeleton is pretty accurate with its bow. It can be difficult to dodge the arrows. Also, you become an easier target the closer you get. If you get too close, it can kill you in only a couple of shots, because you have no armor. It's best to have a bow (or at least a shield) of your own before facing skeletons. If you don't have a bow or shield 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 (at a distance, you can dodge the arrows).

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 remove much of the terror from nighttime. You can also make a more secure shelter (including a safe place for your bed), and start fencing off and lighting territory for farming.

After the first day

A tutorial for the next day is available here: Tutorials/The Second Day. In general your options increase over time, and you have more choice about what tasks to focus on next.

Following are some general tips:

Home safety

First Day House

A 3×3×2 chamber in stone, filled with 1 bed, 1 furnace, 1 crafting table, and 1 torch. Sealed with door and defended by a dry moat.

By the end of the first day, your shelter is likely to be primitive and small. In the days afterward, you can 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 reverts to the default (that is, random within 20 blocks of the world spawn point), until you not only place but sleep in (or at least "use") 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, or keep enough wool and planks to build new beds in new locations to keep your respawn point nearby as you explore the world.

Mining

See also: Tutorials/Mining

Eventually, you must 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 down in a 2×1 pattern, standing in the middle of the 2 blocks. This allows you to have a "safe block" in case there is lava beneath you. Or you can dig your shaft a few blocks at a time and put in ladders as you go, or just dig a staircase down instead of a straight shaft.

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. Mountains biomes have caves inside mountains, but these are generally not what you want, because only coal ore appears above sea level. For iron and better ores, you want to find a cave opening into the ground (these are quite common) and head downward. Sometimes such caves end immediately, but often they continue into big cave systems. If they seem to end right away, sometimes there is 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) can 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 ⇧ Left Shift 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. There are also open ravines, which can be explored by daylight, a bit more safely than underground caves. If you have spent a long time in a cave, be wary of coming back to the surface at night — at night there can be more monsters on the surface than there were in the caves, and if you spent long enough down there, there might even be phantoms!

Tutorial videos

Last thoughts

Know the people who licked a flashlight. They are:

Haley Eichhorn

Mackenzie Derosa

Daryn Link

Kiley Link

Tyler Tanner

Maya Lojo

Emily Lillie

Ceylon Dugas

Lindsey Anderson

History

classic
May 16, 2009Notch discussed Survival among the various game modes he envisioned for the game.
June 14, 2009Notch discussed his vision of how Survival mode would work.
August 4, 2009Survival mode testing starts. At this time, there was no health bar, and resource management was being tested.
August 18, 2009Hearts are shown, mobs take damage when hit.
0.24 SURVIVAL TEST
{{Extension DPL}}<ul><li>[[:Category:Food|Category:Food]]<br/>Foods in Minecraft.

[[Category:Items]]

[[cs:Kategorie:Potraviny]]
[[fr:Catégorie:Nourriture]]
[[hu:Kategória:Ételek]]
[[zh:Category:食物]]</li><li>[[Sword|Sword]]<br/>{{For|the item in ''Minecraft Dungeons''|MCD:Sword|MCD:Diamond Sword}}
{{Item
| image = <gallery>
Wooden Sword.png | Wooden
Stone Sword.png | Stone
Iron Sword.png | Iron
Golden Sword.png | Golden
Diamond Sword.png | Diamond
Netherite Sword.png | Netherite
</gallery>
| rarity = Common
| renewable = 
* '''Netherite''': No
* '''All others''': Yes
| durability = 
'''Java Edition'''<br>
Golden: 32<br>
Wood: 59<br>
Stone: 131<br>
Iron: 250<br>
Diamond: 1561<br>
Netherite: 2031<br>
'''Bedrock Edition'''<br>
Golden: 33<br>
Wood: 60<br> 
Stone: 132<br>
Iron: 251<br>
Diamond: 1562<br>
Netherite: 2032
| stackable = No
}}
The '''sword''' is a melee [[weapon]] that is mainly used to deal [[damage]] to [[entity|entities]] or for breaking certain blocks faster than by hand. A sword is made from one of six materials, in order of increasing quality and expense: wood, gold, stone, iron, diamond and netherite.

== Obtaining ==
=== Crafting ===
{{Crafting
  |showname=0
  |showdescription=1
  |head=1
  |name=[[Swords]]
  |B1={Any Planks}; Iron Ingot; Gold Ingot; Diamond
  |B2={Any Planks}; Iron Ingot; Gold Ingot; Diamond
  |B3=Stick
  |Output=Wooden Sword; Iron Sword; Golden Sword; Diamond Sword
  |type=Combat
}}
{{Crafting
  |name=Stone Sword
  |B1=Any stone-tier block
  |B2=Any stone-tier block
  |B3=Stick
  |Output=Stone Sword
  |description=Can use cobblestone and its other variants interchangeably.
  |type=Combat
}}
{{Crafting
  |foot=1
  |ignoreusage=1
  |name=[[Swords]]
  |ingredients=Damaged Matching [[Swords]]
  |Damaged Wooden Sword; Damaged Stone Sword; Damaged Iron Sword; Damaged Golden Sword; Damaged Diamond Sword; Damaged Netherite Sword
  |Damaged Wooden Sword; Damaged Stone Sword; Damaged Iron Sword; Damaged Golden Sword; Damaged Diamond Sword; Damaged Netherite Sword
  |description= The durability of the two swords is added together, plus an extra 5% of the tool type's total durability. Enchantments are removed unless combined on an [[anvil]].<br>'''Example:''' Two wooden swords, each with remaining durability of 20, combine into a wooden sword having 43 durability (20 + 20 + 5% of 60).
  |Output=Wooden Sword; Stone Sword; Iron Sword; Golden Sword; Diamond Sword; Netherite Sword
  |type=Combat
}}

=== Upgrading ===
{{Smithing
|Netherite Upgrade
|Diamond Sword
|Netherite Ingot
|Netherite Sword
|description=
|tail=1
}}

=== Repairing ===
==== Grinding ====
{{Grinding
|showdescription=1
|ingredients=2x Damaged Wooden Sword or<br>2x Damaged Stone Sword or<br>2x Damaged Iron Sword or<br>2x Damaged Golden Sword or<br>2x Damaged Diamond Sword or <br>2x Damaged Netherite Sword
|Damaged Wooden Sword; Damaged Stone Sword; Damaged Iron Sword; Damaged Golden Sword; Damaged Diamond Sword; Damaged Netherite Sword
|Damaged Wooden Sword; Damaged Stone Sword; Damaged Iron Sword; Damaged Golden Sword; Damaged Diamond Sword; Damaged Netherite Sword
|Wooden Sword; Stone Sword; Iron Sword; Golden Sword; Diamond Sword; Netherite Sword
|description=The durability of the two swords is added together, plus an extra 5% durability. Any enchantments, besides curses, would be removed.
}}

==== Unit repair ====
{{main|Anvil mechanics#Unit repair}}
{{/Repairing with Anvils}}
A sword can be repaired in an [[anvil]] by adding units of the [[tiers]]' repair material, with each repair material restoring 25% of the sword's maximum durability, rounded down.

=== Mob loot ===
{{Main|Drops#Equipped items}}

Some [[mobs]] can spawn with a sword and have an 8.5% chance of dropping them upon death caused by player. This chance is increased by 1% per level of [[Looting]], up to a maximum of 11.5% with Looting III. [[Zombie]]s and [[husk]]s can drop iron swords, [[zombified piglin]]s and [[piglin]]s can drop golden swords, and [[wither skeleton]]s can drop stone swords. The dropped sword is usually badly damaged and may be enchanted. Stone swords dropped by wither skeletons are never enchanted.

A [[vex]] wields an iron sword that normally has a 0% chance of dropping, because their main hand's <code>HandDropChances</code> is 0. However, this chance increases by 1 percentage point per level of Looting. It is never damaged{{only|java}} and may be enchanted.

{{IN|be}}, [[pillager]]s and [[vindicator]]s that spawn from raids have a 4.1% chance (5.12% chance on hard mode) of dropping a damaged iron sword. This sword has a 50% chance of being enchanted.

=== Trading ===
[[File:Weaponsmith Diamond Sword Trade.png|thumb|right|The diamond sword trade of a weaponsmith.]]

{{IN|bedrock}}, an apprentice-level weaponsmith villagers sells enchanted iron swords for at least 7-21 emeralds, and a master-level weaponsmith sells enchanted diamond swords for at least 13-27 emeralds.

{{IN|java}}, a novice-level weaponsmith villager has a {{frac|2|3}} chance of selling an enchanted iron sword for at least 7-22 emeralds. A master-level weaponsmith offers to sell an enchanted diamond sword for at least 11–27 emeralds.

The enchantments of the swords offered by villagers are the same as the ones obtained from an [[enchantment table]] at levels 5–19.

=== Chest loot ===
{{LootChestItem|iron-sword,level-enchanted-iron-sword,damaged-random-enchanted-iron-sword,golden-sword,random-enchanted-golden-sword,diamond-sword,damaged-diamond-sword,level-enchanted-diamond-sword,damaged-random-enchanted-diamond-sword,damaged-random-enchanted-diamond-sword-2}}

== Usage ==
=== Attacking ===
Pressing {{control|attack}} while holding a sword inflicts damage on both mobs and other players. Upon damaging a mob or player, the sword's [[Item Durability|durability]] decreases by 1.

Attacking a [[boat]] or a [[minecart]] with a sword stone tier or higher instantly destroys it {{only|java}}, without decreasing the sword's durability. Otherwise, it requires 2 hits, with neither decreasing durability.

==== Sweeping ====
{{exclusive|Java|section=1}}
If the attack recharge meter is 84.8% or above and the player is on the ground standing or moving slower than the [[sprinting]] speed in a straight line, the sword performs a sweeping attack indicated by a gale [[particle]] that reaches nearby enemies for {{hp|1}} and knocks them back; the amount of knockback is 80% that of the basal knockback and does not benefit from the [[knockback]] enchantment. As result, the player can perform a sweep attack while they are sprinting diagonally but it is impossible to perform a sweep attack at the same time as a critical hit or while riding some [[entity]]. All enemies within an 1 by 0.25 by 1 block area of any part of the attacked mob and whose feet are 3 or less blocks away from player's feet are affected. The [[sweeping edge]] enchantment increases the damage dealt by 50% of the normal hit damage for level I, 67% for level II and 75% for level III.

=== Damage ===
{{Main|Damage}}

==== Java Edition ====
Swords have an attack speed of 1.6 and take 0.625 seconds to [[Damage#Attack cooldown|recover]]. 

{| class="wikitable" style="text-align:center" data-description="Sword attack damage by type"
! Material
! {{ItemSprite|Wooden Sword|text=Wooden}}
! {{ItemSprite|Golden Sword|text=Gold}}
! {{ItemSprite|Stone Sword|text=Stone}}
! {{ItemSprite|Iron Sword|text=Iron}}
! {{ItemSprite|Diamond Sword|text=Diamond}}
! {{ItemSprite|Netherite Sword|text=Netherite}}
|-
! Attack Damage
| {{hp|4}}
| {{hp|4}}
| {{hp|5}}
| {{hp|6}}
| {{hp|7}}
| {{hp|8}}
|-
! Attack Speed
| 1.6
| 1.6
| 1.6
| 1.6
| 1.6
| 1.6
|-
! Damage/Second (DPS)
| 6.4
| 6.4
| 8
| 9.6
| 11.2
| 12.8
|-
! Durability
| 59
| 32
| 131
| 250
| 1561
| 2031
|-
! Lifetime damage inflicted<ref group="note">The formula to find the total lifetime damage is ''Lifetime damage minimum = Durability × Damage per hit''. It ignores enchantments and [[Damage#Critical_hit|critical hits]], and assumes the sword is at maximum charge</ref>
| {{hp|236}}
| {{hp|128}}
| {{hp|655}}
| {{hp|1500}}
| {{hp|10927}}
| {{hp|16248}}
|}
{{notelist}}

==== Bedrock Edition ====
{{IN|bedrock}}, swords have no attack cooldown or sweep attack, and deal the following damage:

{| class="wikitable" style="text-align:center" data-description="Sword attack damage by type"
! Material
! {{ItemSprite|Wooden Sword|text=Wooden}}
! {{ItemSprite|Golden Sword|text=Gold}}
! {{ItemSprite|Stone Sword|text=Stone}}
! {{ItemSprite|Iron Sword|text=Iron}}
! {{ItemSprite|Diamond Sword|text=Diamond}}
! {{ItemSprite|Netherite Sword|text=Netherite}}
|-
! Attack Damage
| {{hp|5}} <!-- DO NOT CHANGE THESE! The values are correct, '+4 Attack Damage' means 5 total attack damage. -->
| {{hp|5}}
| {{hp|6}}
| {{hp|7}}
| {{hp|8}}
| {{hp|9}}
|-
! Durability
| 60
| 33
| 132
| 251
| 1562
| 2032
|-
! Lifetime damage inflicted<ref group="note">The formula to find the total lifetime damage is ''Durability × Damage per hit = Lifetime damage minimum''. It excludes enchantments and critical hits</ref>
| {{hp|300}}
| {{hp|165}}
| {{hp|792}}
| {{hp|1757}}
| {{hp|12496}}
| {{hp|18288}}
|}
{{notelist}}

The most amount of damage that a sword enchanted with [[Sharpness]] V can do is 11 {{in|java}} and 15.25 {{in|bedrock}}, without critical hits.

=== Sword breaking times ===
{{main|Breaking}}

A sword can also be used to destroy certain blocks 50% quicker, sometimes much quicker than with fists. Using a sword to destroy any block that doesn't break instantly by hand decreases its durability by 2; this includes bamboo, despite that the sword is the fastest tool for breaking it.<ref>{{bug|MC-195168||Swords consume double durability than they normally would when destroying bamboo saplings, bamboo, or cobwebs}}</ref>

If a sword is enchanted with [[Silk Touch]], either using [[Creative]] or [[commands]], cobwebs the sword destroys will drop the cobwebs themselves instead of the usual string. This is due to the sword being classified as the proper tool for cobwebs.

The following table shows the time it takes to break blocks on which swords have any effect. Colors indicate what gets dropped:
* White: an original block.
* Blue: block's normal drop (e.g. seeds, sapling, apple).
* Red: nothing.

{| class="wikitable" style="text-align:center" data-description="Blocks affected by swords"
! Block
! Fists
! Sword
! colspan="2" | Proper/fastest tool
|-
!style="text-align:left"| {{BlockLink|Bamboo}}
| {{tc|no|{{breaking time|Bamboo}} s }} || 0.05 s (instant) <!-- this doesn't work: {{tc|planned|{{breaking time|Bamboo|Sword}} s}} -->
| {{ItemSprite|sword|link=Sword}}
| 0.05 s (instant) <!-- this doesn't work: {{breaking time|Bamboo|Sword}} s -->
|-
!style="text-align:left"| {{BlockLink|Cobweb}}
| {{tc|no|{{breaking time|Cobweb|drop=None}} s}} || {{tc|planned|{{breaking time|Cobweb|Sword}} s}}
| {{ItemSprite|shears|link=Shears}}
| {{breaking time|Cobweb|Shears}} s
|-
!style="text-align:left"| {{BlockLink|Cocoa}}
| {{tc|planned|{{breaking time|Cocoa}}s}} || {{tc|planned|{{breaking time|Cocoa|Sword}}s}}
| {{ItemSprite|wooden-axe|link=Axe}}
| {{tc|planned|{{breaking time|Cocoa|Golden}} – {{breaking time|Cocoa|Wooden}} s}}
|-
! style="text-align:left"|{{BlockLink|Hay Bale}}
| 1s
| 0.8s{{only|bedrock}}
| {{ItemSprite|wooden-hoe|link=Hoe}}
| {{breaking time|Hay Bale|Golden}} – {{breaking time|Hay Bale|Wooden}} s
|-
!style="text-align:left" rowspan="2"| {{BlockLink|Leaves}}
!rowspan="2" {{tc|planned|{{breaking time|Leaves}} s}}
!rowspan="2" {{tc|planned|{{breaking time|Leaves|Sword}} s}}
| {{ItemSprite|shears|link=Shears}}
| {{breaking time|Leaves|Shears}}s
|-
| {{ItemSprite|wooden-hoe|link=Hoe}}
| {{tc|planned|{{breaking time|Leaves|Golden}} – {{breaking time|Leaves|Wooden}} s}}
|-
!style="text-align:left"| {{BlockLink|Jack o'Lantern}}
| {{breaking time|Jack o'Lantern}} s || {{breaking time|Jack o'Lantern|Sword}} s
| {{ItemSprite|wooden-axe|link=Axe}}
| {{breaking time|Jack o'Lantern|Golden}} – {{breaking time|Jack o'Lantern|Wooden}} s
|-
!style="text-align:left"| {{BlockLink|Melon}}
| {{tc|planned|{{breaking time|Melon}} s}} || {{tc|planned|{{breaking time|Melon|Sword}} s}}
| {{ItemSprite|wooden-axe|link=Axe}}
| {{tc|planned|{{breaking time|Melon|Golden}} – {{breaking time|Melon|Wooden}} s}}
|-
!style="text-align:left"| {{BlockLink|Pumpkin}}
| {{breaking time|Pumpkin}}s || {{breaking time|Pumpkin|Sword}} s
| {{ItemSprite|wooden-axe|link=Axe}}
| {{breaking time|Pumpkin|Golden}} – {{breaking time|Pumpkin|Wooden}} s
|-
!style="text-align:left" rowspan="2"| {{BlockLink|Vines}} 
| rowspan="2" {{tc|no|{{breaking time|Vines}} s}} || rowspan="2" {{tc|no|{{breaking time|Vines|Sword}} s}}
| {{ItemSprite|wooden-axe|link=Axe}}
| {{tc|no|{{breaking time|Vines|Golden}} – {{breaking time|Vines|Wooden}} s}}
|-
| {{ItemSprite|shears|link=Shears}}
| {{breaking time|Vines|Shears}} s
|}

==== Safety around constructions ====
In Creative mode, swords are unable to break blocks. However, care must still be taken around [[minecart]]s, [[painting]]s, [[item frame]]s,{{only|java}} and [[armor stand]]s; these are entities, thus can be broken with swords in Creative.<ref>{{bug|MC-27140}}</ref><ref>{{bug|MC-18463}}</ref>

=== Enchantments ===
Swords can receive, gathered from mob drops/villager trades or be found in various loot chests (example: End City, Bastion Remnant)with the following [[enchantment]]s:

{| class="wikitable sortable col-2-center col-3-right"
|+
!Name
!Max Level
![[Enchanting|Method]]
!Weight
|-
|[[Fire Aspect]]
|II
|{{Inventory slot|Enchanting Table}}{{Inventory slot|Anvil}}
|2
|-
|[[Looting]]
|III
|{{Inventory slot|Enchanting Table}}{{Inventory slot|Anvil}}
|2
|-
|[[Unbreaking]]
|III
|{{Inventory slot|Enchanting Table}}{{Inventory slot|Anvil}}
|5
|-
|[[Sharpness]]<ref group=note name=note1>Sharpness, Smite, and Bane of Arthropods are mutually exclusive.</ref>
|V
|{{Inventory slot|Enchanting Table}}{{Inventory slot|Anvil}}
|10
|-
|[[Smite]]<ref group=note name=note1/>
|V
|{{Inventory slot|Enchanting Table}}{{Inventory slot|Anvil}}
|5
|-
|[[Bane of Arthropods]]<ref group="note" name=note1/>
|V
|{{Inventory slot|Enchanting Table}}{{Inventory slot|Anvil}}
|5
|-
|[[Knockback]]
|II
|{{Inventory slot|Enchanting Table}}{{Inventory slot|Anvil}}
|5
|-
|[[Mending]]
|I
|{{Inventory slot|Anvil}}
|2
|-
|[[Curse of Vanishing]]
|I
|{{Inventory slot|Anvil}}
|1
|-
|[[Sweeping Edge]]{{Only|java|short=1}}
|III
|{{Inventory slot|Enchanting Table}}{{Inventory slot|Anvil}}
|2
|}
Golden swords have the highest enchantability, yet the least durability{{Notelist}}

=== Fuel ===
Wooden swords can be used as fuel in [[furnace]]s, smelting 1 item per sword.

=== Smelting ingredient ===
{{Smelting|showname=1|Iron Sword;Golden Sword|Iron Nugget;Gold Nugget|0,1}}

=== Piglins ===
If a {{EntityLink|Piglin}} see a golden sword, it will set off to reach it, then stare at it for 120 — 160 ticks, putting it in their inventory, and continue to perform the action it was taking before being attracted by the golden sword.

== Sounds ==
{{Edition|Java}}:
{{Sound table
|sound=Strong attack1.ogg
|sound2=Strong attack2.ogg
|sound3=Strong attack3.ogg
|sound4=Strong attack4.ogg
|sound5=Strong attack5.ogg
|sound6=Strong attack6.ogg
|subtitle=Strong attack
|source=player
|description=When a player deals an attack that does not trigger any other attack sounds
|id=entity.player.attack.strong
|translationkey=subtitles.entity.player.attack.strong
|volume=''varies'' <ref group=sound>0.6 for <code>strong1</code> through <code>strong4</code>, and 0.7 for <code>strong5</code> and <code>strong6</code></ref>
|pitch=1.0
|distance=16}}
{{Sound table
|sound=Critical attack1.ogg
|sound2=Critical attack2.ogg
|sound3=Critical attack3.ogg
|subtitle=Critical attack
|source=player
|description=When a player deals a critical hit
|id=entity.player.attack.crit
|translationkey=subtitles.entity.player.attack.crit
|volume=0.7
|pitch=1.0
|distance=16}}
{{Sound table
|sound=Knockback attack1.ogg
|sound2=Knockback attack2.ogg
|sound3=Knockback attack3.ogg
|sound4=Knockback attack4.ogg
|subtitle=Knockback attack
|source=player
|description=When a player deals a sprinting attack
|id=entity.player.attack.knockback
|translationkey=subtitles.entity.player.attack.knockback
|volume=0.7
|pitch=1.0
|distance=16}}
{{Sound table
|sound=Sweep attack1.ogg
|sound2=Sweep attack2.ogg
|sound3=Sweep attack3.ogg
|sound4=Sweep attack4.ogg
|sound5=Sweep attack5.ogg
|sound6=Sweep attack6.ogg
|sound7=Sweep attack7.ogg
|subtitle=Sweeping attack
|source=player
|description=When a player deals a sweep attack
|id=entity.player.attack.sweep
|translationkey=subtitles.entity.player.attack.sweep
|volume=0.7
|pitch=1.0
|distance=16}}
{{Sound table
|rowspan=2
|sound=Weak attack1.ogg
|sound2=Weak attack2.ogg
|sound3=Weak attack3.ogg
|sound4=Weak attack4.ogg
|subtitle=Weak attack
|source=player
|description=When a player deals an attack with no damage
|id=entity.player.attack.nodamage
|translationkey=subtitles.entity.player.attack.weak
|volume=0.7
|pitch=1.0
|distance=16}}
{{Sound table
|subtitle=Weak attack
|source=player
|description=When a player attempts to attack without sufficient cooldown
|id=entity.player.attack.weak
|translationkey=subtitles.entity.player.attack.weak
|volume=0.7
|pitch=1.0
|distance=16}}
{{Sound table
|sound=Random break.ogg
|subtitle=Item breaks
|source=player
|description=When a sword's durability is exhausted
|id=entity.item.break
|translationkey=subtitles.entity.item.break
|volume=0.8
|pitch=0.8-1.2
|distance=16
|foot=1}}

{{Edition|Bedrock}}:
{{Sound table
|type=bedrock
|sound=Strong attack1.ogg
|sound2=Strong attack2.ogg
|sound3=Strong attack3.ogg
|sound4=Strong attack4.ogg
|sound5=Strong attack5.ogg
|sound6=Strong attack6.ogg
|source=player
|description=When a player deals an attack with damage
|id=game.player.attack.strong
|volume=0.2
|pitch=0.8-1.2}}
{{Sound table
|sound=Weak attack1.ogg
|sound2=Weak attack2.ogg
|sound3=Weak attack3.ogg
|sound4=Weak attack4.ogg
|source=player
|description=When a player deals an attack with no damage
|id=game.player.attack.nodamage
|volume=0.2
|pitch=0.8-1.2}}
{{Sound table
|sound=Random break.ogg
|source=player
|description=When an sword's durability is exhausted
|id=random.break
|volume=1.0
|pitch=0.9
|foot=1}}

== Data values ==
=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|showforms=y
|generatetranslationkeys=y
|displayname=Wooden Sword
|spritetype=item
|nameid=wooden_sword
|form=item}}
{{ID table
|displayname=Stone Sword
|spritetype=item
|nameid=stone_sword
|form=item}}
{{ID table
|displayname=Iron Sword
|spritetype=item
|nameid=iron_sword
|form=item}}
{{ID table
|displayname=Diamond Sword
|spritetype=item
|nameid=diamond_sword
|form=item}}
{{ID table
|displayname=Golden Sword
|spritetype=item
|nameid=golden_sword
|form=item}}
{{ID table
|displayname=Netherite Sword
|spritetype=item
|nameid=netherite_sword
|form=item
|foot=1}}

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Wooden Sword
|spritetype=item
|nameid=wooden_sword
|id=308
|form=item}}
{{ID table
|displayname=Stone Sword
|spritetype=item
|nameid=stone_sword
|id=312
|form=item}}
{{ID table
|displayname=Iron Sword
|spritetype=item
|nameid=iron_sword
|id=307
|form=item}}
{{ID table
|displayname=Diamond Sword
|spritetype=item
|nameid=diamond_sword
|id=316
|form=item}}
{{ID table
|displayname=Golden Sword
|spritetype=item
|nameid=golden_sword
|id=322
|form=item}}
{{ID table
|displayname=Netherite Sword
|spritetype=item
|nameid=netherite_sword
|id=604
|form=item
|foot=1}}

== Achievements ==
{{load achievements|Time to Strike!;Overkill;Oooh, shiny!}}

== Advancements ==
{{load advancements|Oh Shiny}}

== History == 
=== Blocking ===
{{main|Blocking}}
[[File:Parrying.png|thumb|right|The blocking animation using a sword before and after [[Java Edition 14w30a]] (from the [[Adventure Update|Adventure]] to the [[Bountiful Update|Bountiful]] updates).]]
 
Previously, since the [[Adventure Update]], all types of swords could be used to parry to block some forms of damage. If the player is blocking with a sword when attacked, the sword deflects 50% of incoming damage from melee, non-magical projectiles like arrows, and explosions, along with minimizing airborne knockback. The sword is held in front of the player and its durability is not reduced by blocking. The player moves at a slower rate than [[sneaking]] if blocking with a sword. Sword blocks could be engaged and disengaged instantly, with no delay between the input and damage mitigation nor cooldown between lowering a block and raising a new one.
 
After the [[Combat Update]], the sword blocking functionality was replaced by blocking with [[shield]]s and to accommodate the [[dual wield]] system. Shields negate more damage and knockback than sword blocking from "blockable" attacks (they block 100% damage and knockback after [[Java Edition 1.11]]), but, unlike swords, they lose durability, have a 0.25 second startup period before damage can be mitigated and can be temporarily disabled by attacks with an [[axe]].

=== Knockback ===
The knockback dealt by swords used to be higher than while the players are using another melee [[item]]s, like an axe or with the hands. This feature was removed in [[Java Edition 1.9]] and is also no longer used in ''[[Bedrock Edition]]''.

=== Historical changes per version ===
{{History|java indev}}
{{History||0.31|snap=20091231-2|[[File:Iron Sword JE1 BE1.png|32px]] Added iron swords.
|Iron swords cannot be [[craft]]ed yet, but can be added to the [[player]]'s [[inventory]] during world creation.}}
{{History||0.31|snap=?|The iron sword is no longer added to the player's inventory during world creation.}}
{{History||0.31|snap=20100128|[[File:Wooden Sword JE1 BE1.png|32px]] [[File:Stone Sword JE1 BE1.png|32px]] [[File:Diamond Sword JE1 BE1.png|32px]] Swords made from wood, stone, and diamond have been added.
|Swords cannot be crafted yet, but have been added to the [[item]] [[chest]] in the Indev house.|A sword held by the player is now rendered to appear more 3D.}}
{{History||0.31|snap=20100129|Wood, stone, iron, and diamond swords can now be [[craft]]ed.}}
{{History|||snap=20100130|[[File:Golden Sword JE1.png|32px]] Swords can now be made out of gold.}}
{{History|||snap=20100131|Swords now have [[durability]]. 
|Better swords now last longer.
|Swords now cost 1 durability per hit, and 2 points per block broken.}}
{{History||20100206|[[File:Golden Sword JE2 BE1.png|32px]] The texture of gold swords has been slightly changed.}}
{{History|java alpha}}
{{History||v1.2.0|snap=release|[[Zombie pigmen]] now hold golden swords.}}
{{History|java beta}}
{{History||1.2|Swords, like all [[tool]]s, now have more [[item durability|durability]].
|Prior, diamond swords had 1024 durability, iron swords had 128, stone swords 64 and wood and gold had 32 durability.}}
{{History||1.5|The damages of all swords have increased by 1, due to the player's barehand damage increasing from {{hp|1}} to {{hp|2}}.
|As a result, wooden and golden swords now dealt {{hp|5}}, stone swords {{hp|7}}, iron swords {{hp|9}}, and diamond swords {{hp|11}}.}}
{{History||1.8|snap=Pre-release|Added the ability to block with a sword, giving the [[player]] more options in combat.
|Swords deflect 50% of incoming melee damage, non-magical projectiles like arrows and explosion damage, and a bit of knockback.
|The sword is held in front of the player and its durability is not reduced by blocking.|The player moves at a slower rate than [[sneaking]] when blocking with a sword.
|As barehand damage has been reduced from {{hp|2}} to {{hp|1}}, the damages of all swords have been reduced to their pre Beta 1.5 values.}}
{{History|java}}
{{History||1.0.0|snap=Beta 1.9 Prerelease 3|Sword [[damage]] has been reduced to make way for [[enchanting]]. A diamond sword's damage has been reduced from {{hp|10}} to {{hp|7}}, iron has been reduced from {{hp|8}} to {{hp|6}} and stone has been reduced from {{hp|6}} to {{hp|5}}. Wooden and golden swords still deal {{hp|4}} damage.|Iron swords are now found in the new [[stronghold]] altar [[chest]]s.}}
{{History|||snap=Beta 1.9 Prerelease 4|Swords can now be enchanted in the [[enchantment table]].}}
{{History||1.1|snap=12w01a|Iron swords are now found in [[village]] blacksmith chests.}}
{{History||1.2.1|snap=12w06a|The [[player]] now has a rare chance of obtaining iron swords by killing [[zombie]]s and golden swords from [[zombie pigmen]] from the addition of [[rare drops]]. These swords have a 20% chance of being enchanted.}}
{{History||1.2.4|snap=release|[[Spruce planks]], [[birch planks]], and [[jungle planks]] can now be used to craft wooden swords.}}
{{History||1.3.1|snap=12w18a|Wooden swords can now be used as [[fuel]] in a [[furnace]].}}
{{History|||snap=12w21a|Blacksmith [[villager]]s now [[trading|sell]] diamond swords for 12–13 [[emerald]]s, and iron swords for 7–10 emeralds.
|With the [[trading]] implementation, renewable [[item]]s such as [[wheat]] can now be [[trading|sold]] to buy a diamond sword. This has now made all swords [[Renewable Resource|renewable]].}}
{{History||1.4.2|snap=12w32a|[[Zombie]]s may sometimes wield iron swords, dealing extra [[damage]].}}
{{History|||snap=12w34a|If a [[player]] has dyed leather armor equipped and selected a sword of any kind, it appears in the color of the dye applied to the armor, when switching to second or third person view.}}
{{History|||snap=12w36a|Added [[wither skeleton]]s, which hold stone swords.}}
{{History||1.4.6|snap=12w49a|[[Unbreaking]] can now be applied to a sword with an [[enchanted book]].}}
{{History||1.6.1|snap=13w18a|Golden swords are now found in the new [[chest]]s in [[nether fortress]]es.}}
{{History|||snap=13w21a|Instead of replacing the barehanded [[damage]] ({{hp|1}}), swords now add their damage onto the barehanded damage, which results in all swords doing {{hp|1}} more damage than before.}}
{{History|||snap=13w25b|In [[Creative]] mode, swords are no longer able to break [[block]]s, and no [[sound]] plays when they're hit with one.}}
{{History||1.7.2|snap=1.7.1|[[Acacia planks]] and [[dark oak planks]] can now be used to craft wooden swords.}}
{{History||1.8|snap=14w02a|Weaponsmith [[villager]]s now [[trading|sell]] enchanted diamond swords for 12–15 [[emerald]]s, and iron swords for 9–10 emeralds. Unenchanted swords are no longer sold.}}
{{History|||snap=14w30a|Sword holding position have been tweaked, and the blocking animation has changed. Blocking while mining was made impossible. Blocking immediately after attacking no longer continues the swing animation.}}
{{History||1.9|snap=15w31a|[[Enchanting|Enchanted]] iron and diamond swords can now be found in [[end city]] ship [[chest]]s.}}
{{History|||snap=15w33c|Swords no longer block attacks. Instead, [[shield]]s are used.}}
{{History|||snap=15w34b|Swords now use the attack speed [[attribute]]. The attack speed of a sword is 1.25 or 0.8 seconds.}}
{{History|||snap=15w34c|Nerfed swords, they now do {{hp|1}} less [[damage]] and have an attack speed of 1.45, or 0.69 seconds.
|Swords can now do a sweep attack when moving at walking speed or slower, which knock back [[mob]]s near the one hit. The attack speed meter must be filled for it to work.}}
{{History|||snap=15w36a|Each [[Sharpness]] level now adds {{hp|1}} damage to the base damage at level I and an additional {{hp|0.5}} for each additional level, down from a flat {{hp|1.25}} per level.}}
{{History|||snap=15w37a|Swords now have an attack speed of 1.6, or 0.63 seconds.}}
{{History|||snap=15w43a|The average yield of golden swords in [[nether fortress]] chests has been decreased.}}
{{History|||snap=15w49a|Sweep attack now does {{hp|1}} damage to affected [[mob]]s and players.}}
{{History||1.11.1|snap=16w50a|Golden and iron swords now [[smelt]] down into one of their respective [[nugget]]s.
|Added [[Sweeping Edge]] enchantment.}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], these [[item]]s' numeral IDs were 268, 272, 267, 276 and 283.}}
{{History|||snap=18w10a|Swords can now generate in [[buried treasure]] chests.}}
{{History||September 10, 2018|link={{tweet|JasperBoerstra|1039167196801458176}}|[[File:Wooden Sword JE2 BE2.png|32px]] [[File:Stone Sword JE2 BE2.png|32px]] [[File:Iron Sword JE2 BE2.png|32px]] [[File:Golden Sword JE3 BE2.png|32px]] [[File:Diamond Sword JE2 BE2.png|32px]] [[Jasper Boerstra]] tweets an image of updated sword textures.}}
{{History||1.14|snap=18w43a|[[File:Wooden Sword JE2 BE2.png|32px]] [[File:Stone Sword JE2 BE2.png|32px]] [[File:Iron Sword JE2 BE2.png|32px]] [[File:Golden Sword JE3 BE2.png|32px]] [[File:Diamond Sword JE2 BE2.png|32px]] The textures of all swords have been changed.
|Swords now break [[bamboo]] instantly.}}
{{History||1.16|snap=20w06a|[[File:Netherite Sword JE1.png|32px]] Added netherite swords.
|Netherite swords are obtained by combining one diamond sword and one [[netherite ingot]] in a [[crafting table]].
|[[Crimson planks]] and [[warped planks]] can now be used to craft wooden swords.}}
{{History|||snap=20w09a|[[File:Diamond Sword JE3 BE3.png|32px]] The texture of diamond swords has been changed.}}
{{History|||snap=20w10a|[[File:Netherite Sword JE2 BE2.png|32px]] The texture of netherite swords has been changed.
|Netherite swords can no longer be [[crafted]].
|Netherite swords are now obtained by combining one diamond sword and one [[netherite ingot]] in a [[smithing table]].}}
{{History|||snap=20w15a|Stone swords can now be crafted using [[blackstone]].}}
{{History|||snap=20w16a|Golden and netherite swords now generate in [[bastion remnants]] chests.
|Golden swords now generate randomly enchanted in [[ruined portal]] chests.}}
{{History|||snap=20w17a|Diamonds swords now generate in place of netherite swords in bastion remnant [[chest]]s.}}
{{History||1.16.2|snap=20w30a|Damaged enchanted iron swords can now be found in [[bastion remnant]] chests.}}
{{History||1.17|snap=21w08a|Stone swords can now be crafted using [[cobbled deepslate]].}}
{{History||1.19|snap=22w11a|[[Mangrove planks]] can now be used to craft wooden swords.}}
{{History||1.20<br>(Experimental)|link=1.19.4|snap=23w04a|Upgrading diamond swords to netherite swords now requires the netherite upgrade [[smithing template]].}}
{{History|upcoming java}}
{{History||Combat Tests|snap=1.14.3 - Combat Test|The attack speed for all swords has been increased to 3.
|The base [[damage]] is now {{Hp|2}}, meaning that all swords now do {{Hp|1}} more damage than before}.
|The attack reach of swords has been increased to 3.5 [[block]]s.}}
{{History|||snap=Combat Test 2|The attack speed of all swords has been decreased to 2.5.}}
{{History|||snap=Combat Test 3|The attack speed of all swords has been changed from 2.5 back to 3.0.
|The attack key can now again be held down to automatically attack when the attack meter is full.
|Attacks now happen only when the sword is at 120% charge, slower than if attacks were timed.}}
{{History|||snap=Combat Test 4|Sword can now perform critical, knockback ([[sprint]]) hits on 100% charge.
|The attack reach of all weapons was decreased by 0.5 [[block]]. Sword now have a 3 [[block]]s reach.
|The 200% attack now gives a bonus reach of 1 [[block]].}}
{{History|||snap=Combat Test 5|Weapons have been nerfed. All material tiers have been nerfed by {{Hp|1}} except wood and gold, and the sword tier have been nerfed by {{Hp|1}}. This means that the wooden/stone/golden sword now does {{Hp|4}} damage, the iron sword now does {{Hp|5}} damage and the diamond sword now does {{Hp|6}} damage.}}
{{History|||snap=Combat Test 6|All weapons' attack reach have been buffed by 0.5 [[block]].
|200% attacks have been removed.
|Swords now always do sweep attack, even in the air.
|The cooldown for missed hit is a 4-tick cooldown instead of using the attack speed attribute.}}
{{History|||snap=Combat Test 7c|All weapons' attack reach have been nerfed by 0.5 [[block]]. The sword's attack reach is now 3 [[block]]s again.
|200% attacks have been re-added.
|Swords no longer sweep without [[Sweeping Edge]] and 200% charge again.
|Adjusted the netherite tier value to match the weapon nerf in Combat Test 5}}
{{History|||snap=Combat Test 8b|Enchantment bonus attack damage are now included in the base damage when calculating critical hits (they were excluded before). Due to this change, enchanted swords critical attacks are now way more powerful (especially with high enchantments)}}

{{History|pocket alpha}}
{{History||v0.2.0|[[File:Stone Sword JE1 BE1.png|32px]] Added stone swords.}}
{{History||v0.3.0|[[File:Wooden Sword JE1 BE1.png|32px]] Added wooden swords.
|Survival players no longer start out with an infinite durability stone sword in the inventory.}}
{{History||v0.3.2|[[File:Iron Sword JE1 BE1.png|32px]] [[File:Golden Sword JE2 BE1.png|32px]] [[File:Diamond Sword JE1 BE1.png|32px]] Added iron, gold, and diamond swords.}}
{{History||v0.4.0|Iron swords have replaced stone swords in the creative inventory.}}
{{History||v0.9.0|snap=build 1|Iron swords can now be found in [[stronghold]] altar [[chest]]s and inside blacksmith chests.}}
{{History||v0.11.0|snap=build 11|Wooden, stone, golden and diamond swords are now available in the [[creative]] [[inventory]].}}
{{History||v0.11.0|snap=build 12|Wooden, stone, golden and diamond swords have been removed from creative.}}
{{History||v0.11.0|snap=build 13|All swords are available in creative mode again.}}
{{History||v0.12.1|snap=build 1|Instead of replacing the barehanded [[damage]] ({{hp|1}}), swords now add their damage onto the barehanded damage, which results in all swords doing {{hp|1}} more damage than before.|In [[creative]] mode, swords are no longer able to break [[block]]s, and no [[sound]] plays when they're hit with one.|Golden swords can now be found in [[nether fortress]] chests.
|[[Zombie]]s now rarely spawn holding an iron sword that have a chance to [[drops|dropped]].
|Golden swords are now rarely dropped by [[zombie pigmen]].
|Stone swords are now rarely dropped by [[wither skeleton]]s.}}
{{History||v0.15.0|snap=build 1|Iron swords are now sometimes dropped by [[husk]]s that spawn holding an iron sword.}}
{{History|pocket}}
{{History||1.0.0|snap=alpha 0.17.0.1|Enchanted iron and diamond swords can now be found in [[end city]] [[chest]]s.}}
{{History||1.0.4|snap=alpha 1.0.4.0|Iron swords and enchanted diamond swords are now sold by weaponsmith [[villager]]s.}}
{{History||1.1.0|snap=alpha 1.1.0.0|Iron and golden swords are now [[smelting|smeltable]].
|Added [[vex]]es, which rarely drop an iron sword if killed using [[Looting]] enchantment.}}
{{History|bedrock}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Wooden Sword JE2 BE2.png|32px]] [[File:Stone Sword JE2 BE2.png|32px]] [[File:Iron Sword JE2 BE2.png|32px]] [[File:Golden Sword JE3 BE2.png|32px]] [[File:Diamond Sword JE2 BE2.png|32px]] The textures of all swords have been changed.
|Iron swords are now found in [[plains]] [[village]] weaponsmiths.}}
{{History||1.11.0|snap=beta 1.11.0.1|Iron swords can now be found in [[savanna]], [[snowy taiga]], [[taiga]] and [[desert]] village weaponsmiths.}}
{{History|||snap=beta 1.11.0.4|[[Pillager]]s and [[vindicator]]s that spawn in [[raid]]s can now drop iron swords upon [[death]].
|[[Trading]] has been changed. Iron swords [[trading|sold]] by weaponsmith [[villager]]s now cost 2 [[emerald]]s while diamond swords cost 8 emeralds as part of their fourth tier trades.}}
{{History||1.16.0|snap=beta 1.16.0.51|[[File:Netherite Sword BE1.png|32px]] Added netherite swords.
|Netherite swords are obtained by combining one diamond sword and one [[netherite ingot]] in a [[crafting table]].
|[[File:Diamond Sword JE3 BE3.png|32px]] The texture of diamond swords has been changed.
|Golden swords are now sometimes [[drops|dropped]] by [[piglin]]s that spawn holding a golden sword.}}
{{History|||snap=beta 1.16.0.57|Netherite swords can no longer be [[crafting|crafted]].
|Netherite swords are now obtained by combining one diamond sword and one [[netherite ingot]] in a [[smithing table]].
|Stone swords can now be crafted using [[blackstone]].
|Golden and netherite swords now generate in [[bastion remnant]] chests.
|Golden swords now generate randomly enchanted in [[ruined portal]] chests.}}
{{History|||snap=beta 1.16.0.63|Diamonds swords now generate in place of netherite swords in bastion remnant [[chest]]s.}}
{{History||1.17.30|snap=beta 1.17.20.20|Swords now break [[bamboo]] instantly.}}

{{History|console}}
{{History||xbox=TU1|xbone=CU1|ps=1.0|wiiu=Patch 1|switch=1.0.1|[[File:Wooden Sword JE1 BE1.png|32px]] [[File:Stone Sword JE1 BE1.png|32px]] [[File:Iron Sword JE1 BE1.png|32px]] [[File:Golden Sword JE2 BE1.png|32px]] [[File:Diamond Sword JE1 BE1.png|32px]] Added swords (all five types).}}
{{History||xbox=TU5|The ability to block with swords has been added, giving the [[player]] more options in combat.}}
{{History||xbox=TU53|xbone=CU43|ps=1.49|wiiu=Patch 23|switch=1.0.3|Iron and golden swords are now [[smelting|smeltable]].}}
{{History||xbox=none|xbone=none|ps=1.90|wiiu=none|switch=none|[[File:Wooden Sword JE2 BE2.png|32px]] [[File:Stone Sword JE2 BE2.png|32px]] [[File:Iron Sword JE2 BE2.png|32px]] [[File:Golden Sword JE3 BE2.png|32px]] [[File:Diamond Sword JE2 BE2.png|32px]] The textures of all swords have been changed.}}
{{History||ps=1.92|The ability to block with swords has been removed.}}

{{History|New Nintendo 3DS Edition}}
{{History||0.1.0|[[File:Wooden Sword JE1 BE1.png|32px]] [[File:Stone Sword JE1 BE1.png|32px]] [[File:Iron Sword JE1 BE1.png|32px]] [[File:Golden Sword JE2 BE1.png|32px]] [[File:Diamond Sword JE1 BE1.png|32px]] Added swords.
|Swords cannot block attacks.}}
{{History|foot}}

== Issues ==
{{issue list}}

== Trivia ==
*The sword's traditional [[texture]] came from [[Notch]]'s abandoned RPG, ''[[Legend of the Chambered]]''. The iron sword's texture was created first, as it was from the game, and the other swords followed.
*In ''Java Edition'', with the introduction of netherite swords, it is possible to one-hit kill undead [[mob]]s in the game (except [[wither]]s and [[zombie]]s/[[skeleton]]s with random armor) using a sword with the [[Smite]] V enchantment, without the need to perform a critical hit (this was previously possible only with a [[Smite]] V stone, iron, or diamond axe).
*Plastic diamond and enchanted swords are official ''[[Minecraft]]'' merchandise.<ref>https://shop.minecraft.net/products/minecraft-sword?_pos=1&_psq=sword&_ss=e&_v=1.0</ref><ref>https://shop.minecraft.net/products/minecraft-enchanted-purple-sword?_pos=4&_psq=sword&_ss=e&_v=1.0</ref>
*In the game [[wikipedia:Transformice|''Transformice'']], a diamond sword can be found in the shop.

== Gallery ==
=== Enchanted swords ===
<gallery>
Enchanted Wooden Sword.gif|Enchanted wooden sword.
Enchanted Stone Sword.gif|Enchanted stone sword.
Enchanted Iron Sword.gif|Enchanted iron sword.
Enchanted Golden Sword.gif|Enchanted golden sword.
Enchanted Diamond Sword.gif|Enchanted diamond sword.
Enchanted Netherite Sword.gif|Enchanted netherite sword.
</gallery>

=== Texture packs ===
<gallery>
File:Wood sword TP.png|Wooden sword in the [[Texture Pack DLC|Plastic Pack]].
Stone Sword SDGP.png|Stone sword in the [[Super Duper Graphics Pack]].
File:Gold sword Natural.png|Gold sword in the [[Texture Pack DLC|Natural Pack]].
</gallery>

=== In other media ===
<gallery>
File:Alex Fighting in Nether.jpeg|Pixel art of [[Alex]] fighting with a diamond sword in the [[Nether]].
File:Alex Retrieving Diamond Sword.jpeg|Alex retrieving another diamond sword from a [[chest]].
File:Sinister Sword Sprite MCD.png|The [[MCD:Sinister Sword|Sinister Sword]], a unique sword featured in ''Minecraft Dungeons''.
File:Sword GUI.png|A nondescript [[MCD:Sword|sword]] as it appears in ''[[Minecraft Dungeons]]''.
File:Sword (item).png|A sword as it appears in ''[[Legend of the Chambered]]''.
File:Sword Shirt.png|Officially licensed T-Shirt of a diamond sword.
File:IronSword replica.jpg|Foam replica of an iron sword.
</gallery>

== References ==
{{reflist}}

{{Items}} 
[[Category:Tools]]
[[Category:Combat]]

[[de:Schwert]]
[[es:Espada]]
[[fr:Épée]]
[[hu:Kard]]
[[ja:剣]]
[[ko:검]]
[[nl:Zwaard]]
[[pl:Miecz]]
[[pt:Espada]]
[[ru:Меч]]
[[tr:Kılıç]]
[[uk:Меч]]
[[zh:剑]]</li></ul>
Added survival mode in Survival Test. During this time, death was permanent, meaning players could not respawn and the level needed to be restarted unless a save file had been created.
Until mid-Alpha, survival single-player was the only available mode besides Classic creative mode.
indev
0.31
{{Extension DPL}}<ul><li>[[Minecart with Chest|Minecart with Chest]]<br/>{{ItemEntity
|image=Minecart with Chest.png
|renewable=Yes
|stackable=No
|size=Height: 0.7 Blocks<br>Width: 0.98 Blocks
|networkid='''[[JE]]''': 10
|drops=1 {{ItemLink|Minecart with Chest}}<br> plus contents
|health={{hp|6}}
}}

A '''minecart with chest''' is a single [[chest]] inside a [[minecart]], and functions as such.

== Natural generation ==
Minecarts with chests containing loot naturally generate in [[mineshaft]]s, each on top of a piece of [[rail]].

== Obtaining ==
=== Crafting ===
{{Crafting|Chest|Minecart|Output=Minecart with Chest|type=Transportation}}

Minecarts with chests can be retrieved by attacking them. By doing so it drops as an [[item]] and any other contents of the chest are dropped as well.

==Usage==
[[File:Minecart with Chest GUI.png|thumb|176px|The GUI of a minecart with chest.]]
Minecarts with chests can be placed by {{control|use item|text=using its item}} on any type of [[rail]].

Chest minecarts' contents can be accessed by pressing {{control|use item}} button on them. The interaction makes no sounds and the chest does not show the opening or closing animation, unlike regular chests.

The boost that minecarts with chests gain from [[powered rail]]s is dependent on their load. For example, from a 1 powered rail starter track, an empty minecart with chest travels 64 blocks, but a full minecart with chest travels only 16 blocks (opposed to 80 blocks for an occupied normal minecart and 8 blocks for an empty normal minecart).

Another physical property of chest minecarts is their ability to be stacked. While three chests can fit in an area three blocks tall, up to four chest minecarts can fit in the same area. Like other minecarts, an unlimited number of minecarts with chests can exist in the same block space.

Minecarts with chests are also able to interact with [[hopper]]s. Hoppers can take items out from the minecart chest if they are below the track as the minecart rolls over it or put them in if the minecart rolls under a downward facing hopper. Hoppers can also input items if they are facing into the side of the minecart.

Opening or destroying a minecart with chest angers [[piglin]]s.

{{See also|Tutorials/Storage minecarts}}

When on top of [[detector rail]]s, nearby [[redstone comparators]] will give out redstone signals based on how full the minecarts with chests are.

== Sounds ==
{{Edition|Java}}:<br>
Minecarts with chests use the Friendly Creatures sound category for entity-dependent sound events.<ref group=sound name=rollsource>{{bug|MC-42132}}</ref>
{{Sound table
|sound=Minecart rolling.ogg
|subtitle=Minecart rolls
|source=Friendly Creatures <ref group=sound name=rollsource/>
|overridesource=1
|description=While a minecart with chest is moving
|id=entity.minecart.riding
|translationkey=subtitles.entity.minecart.riding
|volume=0.0-0.35 <ref group=sound>Relates linearly with horizontal velocity (max 0.5)</ref>
|pitch=0.0-1.0 <ref group=sound>Will increase by 0.0025 per tick if the minecart's horizontal velocity is more than 0.01</ref>
|distance=16
|foot=1}}

{{Edition|Bedrock}}:
{{Sound table
|type=bedrock
|sound=Minecart rolling.ogg
|source=neutral
|description=While a minecart with chest is moving
|id=minecart.base
|foot=1}}

==Data values==
===ID===
{{edition|java}}:
{{ID table
|edition=java
|firstcolumnname=Item
|showforms=y
|generatetranslationkeys=y
|displayname=Minecart with Chest
|spritetype=item
|nameid=chest_minecart
|form=item
|foot=1}}
{{ID table
|edition=java
|firstcolumnname=Entity
|generatetranslationkeys=y
|displayname=Minecart with Chest
|spritetype=entity
|nameid=chest_minecart
|foot=1}}

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|firstcolumnname=Item
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Minecart with Chest
|spritetype=item
|nameid=chest_minecart
|id=389
|form=item
|foot=1}}
{{ID table
|edition=bedrock
|firstcolumnname=Entity
|shownumericids=y
|generatetranslationkeys=y
|displayname=Minecart with Chest
|spritetype=entity
|nameid=chest_minecart
|id=98
|foot=1}}

===Entity data===
Minecarts with chests have entity data associated with them that contain various properties of the entity.

{{el|java}}:
{{main|Entity format}}
{{/ED}}

{{el|bedrock}}:
: See [[Bedrock Edition level format/Entity format]].

==Achievements==
{{load achievements|Freight Station}}

== Video==

<div style="text-align:center">{{yt|2yVVMiQrCwo}}</div>

==History ==
[[File:Minecart with Chest BE3.png|thumb|The Minecart models in the Bedrock Edition were north or south on the sides. In the latest version, the front and rear sides are north or south. But the absolute orientation of the chest was not changed.]]
{{info needed section|In bedrock edition 1.16.100 it seems that chests in minecarts face sideways instead of forward - when was this changed?}}
{{History|java alpha}}
{{History||v1.0.14|[[File:Minecart with Chest JE1.png|32px]] [[File:Minecart with Chest (item) JE1 BE1.png|32px]] Minecarts with chests have been added.
|At this point, they are either called "chest minecarts" or "storage minecarts" because no in-game name was indicated.}}
{{History|java beta}}
{{History||1.0|"Minecart with Chest" has been first indicated as its name, via the new item tooltips.}}
{{History||1.8|snap=Pre-release|[[File:Minecart with Chest JE2.png|32px]] The [[model]] of the minecart with chest has been changed to match the new [[chest]] model. However, the [[chest]] is incorrectly offset.<ref>[[mcw:Issues/Beta 1.8pre2#Graphical]]</ref>}}
{{History|||snap=release|[[File:Minecart with Chest JE3 BE1.png|32px]] The model of minecarts with chests has been fixed.}}
{{History|java}}
{{History||1.5|snap=13w02a|Minecarts with chests now generate in [[mineshaft]]s in place of normal chests.}}
{{History||1.9|snap=15w43a|[[Loot table]]s have been added; minecarts with chests now use loot tables, and those in generated in [[mineshaft]]s now use loot tables.}}
{{History||1.9.1|snap=pre2|The title of the [[inventory]] has been changed from 'Chest minecart' to 'Minecart with Chest'.}}
{{History||1.11|snap=16w32a|The [[entity]] ID has been changed from <code>MinecartChest</code> to <code>chest_minecart</code>.}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 342.}}
{{History||1.14|snap=18w43a|[[File:Minecart with Chest JE4 BE2.png|32px]] [[File:Minecart with Chest (item) JE2 BE2.png|32px]] The textures of minecarts with chests have been changed.}}
{{History||1.16.2|snap=Pre-release 1|[[Piglin]]s now become angry with players who open or destroy a chest minecart.}}
{{History||1.19|snap=22w13a|The crafting recipe for a minecart with chest is now shapeless.
|Breaking a minecart with chest will now drop the item instead of the minecart and chest separately, though the contents of the chest are still dropped.<ref>{{bug|MC-249493|||Fixed}}</ref>}}

{{History|pocket alpha}}
{{History||v0.14.0|snap=build 1|[[File:Minecart with Chest JE3 BE1.png|32px]] [[File:Minecart with Chest (item) JE1 BE1.png|32px]] Added minecarts with chests.}}
{{History|||snap=build 3|Minecarts with chests now drop [[item]]s when destroyed in [[Creative]] mode.}}
{{History|pocket}}
{{History||1.1.0|snap=alpha 1.1.0.0|The [[entity]] ID has been changed from <code>minecartchest</code> to <code>chest_minecart</code>.}}
{{History|bedrock}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Minecart with Chest JE4 BE2.png|32px]] [[File:Minecart with Chest (item) JE2 BE2.png|32px]] The textures of minecarts with chests have been changed.}}
{{History||1.19.0|snap=beta 1.19.0.30|Breaking a minecart with chest will now drop the item instead of the minecart and chest separately, though the contents of the chest are still dropped.}}

{{History|console}}
{{History||xbox=TU1|xbone=CU1|ps=1.0|wiiu=Patch 1|switch=1.0.1|[[File:Minecart with Chest JE3 BE1.png|32px]] [[File:Minecart with Chest (item) JE1 BE1.png|32px]] Added minecarts with chests.}}
{{History||xbox=none|xbone=none|ps=1.90|wiiu=none|switch=none|[[File:Minecart with Chest JE4 BE2.png|32px]] [[File:Minecart with Chest (item) JE2 BE2.png|32px]] The textures of minecarts with chests have been changed.}}

{{History|new 3ds}}
{{History||0.1.0|[[File:Minecart_with_Chest_JE3_BE1.png|32px]] [[File:Minecart_with_Chest_(item)_JE1_BE1.png|32px]] Added minecarts with chests.
|Minecarts with chests emit smoke [[particles]] when destroyed.}}
{{History|foot}}

==Issues==
{{issue list}}

==Gallery ==
<gallery>
Compact Minecart Storage.png|A compact storage using chest minecarts (left) compared to chest storage in the same volume. Notice how chests cannot be placed next to each other, which is no longer the case after Java Edition 1.13.
GlitchedMinecartChest.png|This minecart with chest is trapped inside a block, due to a [[stronghold]] and a [[mineshaft]] that generated partially overlapping.
Minecartportal.png|A minecart with chest generated on top of an [[end portal frame]], because there is a mineshaft behind the wall.
Chest Minecart Stack.png|A large stack of chest minecarts.
</gallery>

==References==
{{Reflist}}

{{items}}
{{entities}}

[[Category:Mechanics]]
[[Category:Storage]]

[[cs:Nákladní vozík]]
[[de:Güterlore]]
[[es:Vagoneta con cofre]]
[[fr:Wagonnet de stockage]]
[[hu:Tárolócsille]]
[[it:Carrello da miniera]]
[[ja:チェスト付きのトロッコ]]
[[ko:상자가 실린 광산 수레]]
[[nl:Mijnkar met kist]]
[[pl:Wagonik ze skrzynią]]
[[pt:Carrinho de mina com baú]]
[[ru:Вагонетка с сундуком]]
[[uk:Вагонетка зі скринею]]
[[zh:运输矿车]]</li><li>[[La Baguette|La Baguette]]<br/>{{Exclusive|Java}}
{{Joke feature}}
{{WIP}}

{{Item
| rarity = Common
| renewable = Yes
| durability = 59
| stackable = No
}}

'''La Baguette''' is a joke weapon from [[Java Edition 23w13a_or_b]]. Its stats are identical to a wooden [[sword]], though La Baguette cannot be used to fuel furnaces.

== Obtaining ==
One [[Le Tricolore|tricolore]] and one baguette is given to all players when [[French mode]] gets activated.

=== Repairing ===
==== Grinding ====
{{Grinding
|showdescription=1
|ingredients=2x La Baguette
|La Baguette
|La Baguette
|La Baguette
|description=The durability of the two baguettes is added together, plus an extra 5% durability. Any enchantments, besides curses, would be removed.
}}

====Unit repair====
Strangely, La Baguette can be repaired using planks rather than bread, just like a wooden sword.
{{Anvil|Input1=Damaged La Baguette|Input2=Damaged La Baguette; Any Planks|Output=La Baguette}}

==Usage==
La Baguette functions identically to a wooden sword.

===Attacking===
It can be used to damage mobs for {{hp|4}} health points. La Baguette has an attack speed of 1.6 and takes 0.625 seconds to [[Damage#Attack cooldown|recover]].

=== Breaking ===
La Baguette, just like other swords, can be used to break certain blocks 50% faster. See [[Sword#Sword breaking times]] for more.

=== Enchantments ===
La Baguette, like other swords, can receive the following [[enchantment]]s:

{| class="wikitable sortable col-2-center col-3-right"
|+
!Name
!Max Level
![[Enchanting|Method]]
!Weight
|-
|[[Fire Aspect]]
|II
|{{Inventory slot|Enchanting Table}}{{Inventory slot|Anvil}}
|2
|-
|[[Looting]]
|III
|{{Inventory slot|Enchanting Table}}{{Inventory slot|Anvil}}
|2
|-
|[[Unbreaking]]
|III
|{{Inventory slot|Enchanting Table}}{{Inventory slot|Anvil}}
|5
|-
|[[Sharpness]]<ref group=note name=note1>Sharpness, Smite, and Bane of Arthropods are mutually exclusive.</ref>
|V
|{{Inventory slot|Enchanting Table}}{{Inventory slot|Anvil}}
|10
|-
|[[Smite]]<ref group=note name=note1/>
|V
|{{Inventory slot|Enchanting Table}}{{Inventory slot|Anvil}}
|5
|-
|[[Bane of Arthropods]]<ref group="note" name=note1/>
|V
|{{Inventory slot|Enchanting Table}}{{Inventory slot|Anvil}}
|5
|-
|[[Knockback]]
|II
|{{Inventory slot|Enchanting Table}}{{Inventory slot|Anvil}}
|5
|-
|[[Mending]]
|I
|{{Inventory slot|Anvil}}
|2
|-
|[[Curse of Vanishing]]
|I
|{{Inventory slot|Anvil}}
|1
|-
|[[Sweeping Edge]]{{Only|java|short=1}}
|III
|{{Inventory slot|Enchanting Table}}{{Inventory slot|Anvil}}
|2
|}

{{Notelist}}

==Trivia==
This item is simply called "Baguette" in the official French translation, without an article.

{{Items}}
{{Jokes}}

[[Category:Tools]]
[[Category:Combat]]

[[ja:La Baguette]]
[[pt:La Baguette]]
[[Category:Joke items]]</li></ul>
20100129Crafting is introduced.
infdev
20100227
{{Extension DPL}}<ul><li>[[Glow Stick|Glow Stick]]<br/>{{stub}}
{{education feature}}
{{Item
| image = White Glow Stick.png
| extratext = View [[#Gallery|all renders]]
| renewable = No
| durability = 95
| stackable = No
}}
'''Glow sticks''' are [[Chemistry Update|chemistry]]-related [[item]]s, which can be lit up in the player's hand for a limited time.

== Obtaining ==
{{iN|be}}, glow sticks cannot be obtained by the {{cmd|give}} command. They also cannot be obtained in [[Survival]]. Cheats must be enabled to obtain glow sticks in [[Survival]] mode, or in [[Education Edition]].

=== Crafting ===

{{Crafting
|showdescription=1
|ingredients=[[Polyethylene]] +<br>[[Hydrogen Peroxide]] +<br>Matching [[Dye]] +<br>[[Luminol]]
|A1= Polyethylene
|B1= Hydrogen Peroxide
|C1= Polyethylene
|A2= Polyethylene
|B2= White Dye; Orange Dye; Magenta Dye; Light Blue Dye; Yellow Dye; Lime Dye; Pink Dye; Gray Dye; Cyan Dye; Purple Dye; Blue Dye; Brown Dye; Green Dye; Red Dye
|C2= Polyethylene
|A3= Polyethylene
|B3= Luminol
|C3= Polyethylene
|Output= Matching Glow Stick
|description={{only|bedrock|education}}
|type= Miscellaneous
}}

<div style="display:none">

<!--
    This is so the pre-Village & Pillage dyes can have dye-related crafting recipes show on their respective pages.
    They don't need to be displayed on this page because they already intuitively list "Any Matching Dye".
-->

{{Crafting
|showdescription=1
|ingredients=[[Polyethylene]] +<br>[[Hydrogen Peroxide]] +<br>Matching [[Dye]] +<br>[[Luminol]]
|A1= Polyethylene
|B1= Hydrogen Peroxide
|C1= Polyethylene
|A2= Polyethylene
|B2= Bone Meal; Lapis Lazuli; Cocoa Beans  
|C2= Polyethylene
|A3= Polyethylene
|B3= Luminol
|C3= Polyethylene
|Output= White Glow Stick; Blue Glow Stick; Brown Glow Stick
|description={{only|bedrock|Education}}
|type= Miscellaneous
}}
</div>

== Usage ==

While equipped, [[player]]s can {{control|use}} glow sticks to shake them, causing them to appear bright regardless of the [[light]] level. This is only an aesthetic change, as no light is emitted to the surrounding area. A particle effect is visible until the durability runs out. The glowstick's durability depletes while lit{{Info needed}}, in both Survival and Creative modes.

== Sounds ==
{{Sound table
|type=bedrock
|sound=Flint and steel click.ogg
|source=block
|description=While a glowstick is being activated
|id=fire.ignite
|volume=1.0
|pitch=0.5/0.7
|foot=1}}

== Data values ==
=== ID ===
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Glow Stick
|spritename=glow-sticks
|spritetype=item
|nameid=glow_stick
|id=601
|form=item
|translationkey=item.glow_stick.black.name,item.glow_stick.red.name,item.glow_stick.green.name,item.glow_stick.brown.name,item.glow_stick.blue.name,item.glow_stick.purple.name,item.glow_stick.cyan.name,item.glow_stick.silver.name,item.glow_stick.gray.name,item.glow_stick.pink.name,item.glow_stick.lime.name,item.glow_stick.yellow.name,item.glow_stick.lightBlue.name,item.glow_stick.magenta.name,item.glow_stick.orange.name,item.glow_stick.white.name
|foot=1}}

===Metadata===
{{/DV}}

===Item data===

See [[Bedrock Edition level format/Item format]].

== History ==

{{History|bedrock}}
{{History||1.4.0|snap=beta 1.2.20.1|[[File:White Glow Stick.png|32px]] [[File:Orange Glow Stick.png|32px]] [[File:Magenta Glow Stick.png|32px]] [[File:Light Blue Glow Stick.png|32px]] [[File:Yellow Glow Stick.png|32px]] [[File:Lime Glow Stick.png|32px]] [[File:Pink Glow Stick.png|32px]] [[File:Gray Glow Stick.png|32px]] [[File:Cyan Glow Stick.png|32px]] [[File:Purple Glow Stick.png|32px]] [[File:Blue Glow Stick.png|32px]] [[File:Brown Glow Stick.png|32px]] [[File:Green Glow Stick.png|32px]] [[File:Red Glow Stick.png|32px]] Added glow sticks.}}
{{History||1.14.60|snap=?|Making a glow stick results in an edible item called {{code|item.glow_stick.black.name}}.}}
{{History||?|Making a glow stick results in correct items again.
|Making a glow stick with dye has been made an upgrade{{info needed|what is this supposed to mean?}}
|Putting 2 glow sticks in a Crafting Table now outputs a correct glow stick.}}
{{History||1.17.0|snap=?|[[File:Missing Glow Stick.png|32px]] Two black glow sticks, using the [[missing texture]] if Education Edition is disabled, now generate in fake end portal rooms in [[mansion]]s instead of [[ender pearl]]s.}}
{{h||1.18.0|snap=beta 1.18.0.21|Glow sticks no longer generate in [[woodland mansion]]s.}}

{{History|education}}
{{History||1.0.27|[[File:White Glow Stick.png|32px]] [[File:Orange Glow Stick.png|32px]] [[File:Magenta Glow Stick.png|32px]] [[File:Light Blue Glow Stick.png|32px]] [[File:Yellow Glow Stick.png|32px]] [[File:Lime Glow Stick.png|32px]] [[File:Pink Glow Stick.png|32px]] [[File:Gray Glow Stick.png|32px]] [[File:Cyan Glow Stick.png|32px]] [[File:Purple Glow Stick.png|32px]] [[File:Blue Glow Stick.png|32px]] [[File:Brown Glow Stick.png|32px]] [[File:Green Glow Stick.png|32px]] [[File:Red Glow Stick.png|32px]] Added glow sticks.}}
{{History|foot}}

== Gallery ==
<gallery>
White Glow Stick.png|
Orange Glow Stick.png|
Magenta Glow Stick.png|
Light Blue Glow Stick.png|
Yellow Glow Stick.png|
Lime Glow Stick.png|
Pink Glow Stick.png|
Gray Glow Stick.png|
Cyan Glow Stick.png|
Purple Glow Stick.png|
Blue Glow Stick.png|
Brown Glow Stick.png|
Green Glow Stick.png|
Red Glow Stick.png|
</gallery>

== Trivia ==
* The glowing reaction of [[Wikipedia:Luminol|Luminol]] during oxidation exists in real life. It is used for detecting blood in crime scenes.
* Players cannot enchant glowsticks with Unbreaking or Mending, despite it having durability.
* The black and light gray glow sticks use the same texture as the red glow stick.{{verify|It seems they use the missing texture instead. Was this the case beforehand, and they only started using the missing texture later?}}

== Issues ==
{{issue list}}

{{items}}
{{Education Edition}}

[[Category:Non-renewable resources]]
[[Category:Education Edition items]]

[[de:Knicklicht]]
[[ja:ケミカルライト]]
[[ko:발광봉]]
[[pt:Graveto Brilhante]]
[[ru:Химический источник света]]
[[zh:荧光棒]]</li><li>[[Pink Dye|Pink Dye]]<br/>{{Item
| image = Pink Dye.png
| renewable = Yes
| stackable = Yes (64)
}}

'''Pink dye''' is a [[Dyeing#Quasi-Primary|quasi-primary color dye]].

== Obtaining ==

=== Crafting ===

{{Crafting
  |head=1
  |showname=0
  |showdescription=1
  |Peony;Pink Tulip;Pink Petals
  |Output=Pink Dye,2;Pink Dye;Pink Dye
  |type=Material
}}
{{Crafting
  |Red Dye
  |White Dye
  |Output=Pink Dye,2
  |type=Material
}}
{{Crafting
  |Red Dye
  |Bone Meal
  |Output=Pink Dye,2
  |type=Material
  |foot=1
  |description={{only|bedrock|education}}
}}

=== Trading ===

[[Wandering trader]]s sell 3 pink dye for an [[emerald]].

== Usage ==

{{dye usage}}

=== Crafting ingredient ===

{{crafting usage|ignore=Banner|continue=1}}
{{banner crafting usage}}

=== Loom ingredient ===
{{Banner loom usage|Pink Dye}}

== Data values ==
=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|showforms=y
|generatetranslationkeys=y
|displayname=Pink Dye
|spritetype=item
|nameid=pink_dye
|form=item
|foot=1}}

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|showaliasids=y
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Pink Dye
|spritetype=item
|nameid=pink_dye
|aliasid=dye / 9
|id=404
|form=item
|translationkey=item.dye.pink.name
|foot=1}}

== Video ==
{{yt|pPq-Hs9ZPx4}}

== History ==

{{History|java beta}}
{{History||1.2|[[File:Pink Dye JE1 BE1.png|32px]] Added pink dye.}}
{{History|java}}
{{History||1.4.2|snap=12w34a|Added the ability to [[Armor#Dyeing|dye]] leather [[armor]] and [[wolf]] collars.}}
{{History||1.4.6|snap=12w49a|Pink dye can now be [[crafting|crafted]] with [[gunpowder]] to create a [[firework star]].}} 
{{History||1.6.1|snap=13w19a|[[Stained clay]] can now be crafted.}}
{{history||1.7.2|snap=13w36a|With the addition of new [[flower]]s, many secondary and tertiary dyes are now primary [[dye]]s.}}
{{History|||snap=13w41a|[[Stained glass]] can now be crafted.}}
{{History||1.8|snap=14w30a|Added [[banner]]s, which can be dyed.}}
{{History||1.11|snap=16w39a|Added the ability to dye [[shulker box]]es.}}
{{History||1.12|snap=17w15a|Added the ability to dye [[bed]]s.}}
{{History||1.13|snap=17w47a|The different data values for the <code>dye</code> ID have now been split up into their own IDs.
|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 351.}}
{{History||1.14|snap=18w43a|Pink dye is now crafted using [[white dye]], instead of [[bone meal]].
|[[File:Pink Dye JE2 BE2.png|32px]] The texture of pink dye has now been changed.}}
{{History|||snap=18w44a|Pink dye can now change the text color on [[sign]]s to pink.}}
{{History|||snap=19w05a|Added the [[wandering trader]], which sells pink dye.}}
{{History|||snap=19w11a|Pink dye can now be [[trading|bought]] by shepherd villagers.}}
{{History||1.17|snap=20w45a|Pink dye can now be used to craft [[pink candle]]s.}}
{{History|||snap=21w19a|Pink dye can no longer be used to craft pink candles.}}
{{History|||snap=Pre-release 1|Pink dye can now once again be used to craft pink candles.}}
{{History||1.20<br>(Experimental)|link=1.19.3|snap=22w42a|Pink dye can now change the text color on [[hanging sign]]s to pink.}}
{{History||1.20<br>(Experimental)|link=1.19.4|snap=23w07a|[[Pink petals]] can now be crafted into pink dye.}}

{{History|pocket alpha}}
{{History||v0.3.0|[[File:Pink Dye JE1 BE1.png|32px]] Added pink dye.}}
{{History||v0.4.0|Pink dye is now craftable with [[rose red]] and [[bone meal]].
|Pink dye can now be used to craft pink wool.}}
{{History||v0.6.0|Pink dye can now be used to dye [[sheep]].}}
{{History||v0.8.0|snap=build 1|Pink dye can now be used to craft [[magenta dye]].}}
{{History||v0.9.0|snap=build 11|Pink dye can now be used to craft colored [[terracotta]].}}
{{History||v0.11.0|snap=build 1|Pink dye can now be used to dye tamed [[wolf]] collars.}}
{{History||v0.14.0|snap=build 1|Pink dye can now be used to dye [[water]] in [[cauldron]]s.}}
{{History|pocket}}
{{History||1.0.0|snap=alpha 0.17.0.1|Pink dye can now be used to dye [[shulker]]s.}}
{{History||1.1.0|snap=alpha 1.1.0.0|Pink dye can now be used to craft [[concrete powder]], colored [[bed]]s and dyed [[shulker box]]es.}}
{{History|bedrock}}
{{History||1.2.0|snap=beta 1.2.0.2|Pink dye can now be used to craft [[firework star]]s, [[stained glass]] and patterns on [[banner]]s.}}
{{History||1.4.0|snap=beta 1.2.20.1|Pink dye can now be used to craft [[balloon]]s and [[glow stick]]s.}}
{{History||1.8.0|snap=beta 1.8.0.8|Pink dye can now be used to dye tamed [[cat]] collars.}}
{{History||1.10.0|snap=beta 1.10.0.3|Pink dye is now [[trading|sold]] by [[wandering trader]]s.
|Pink dye can now be used to dye white [[carpet]]s and undyed [[glass pane]]s.
|[[File:Pink Dye JE2 BE2.png|32px]] The texture of pink dye has now been changed.}}
{{History||1.16.100|snap=beta 1.16.100.56|The ID of pink dye has been changed from <code>dye/9</code> to <code>pink_dye</code>.}}

{{History|console}}
{{History||xbox=TU1|xbone=CU1|ps=1.00|switch=1.0.1|wiiu=Patch 1|[[File:Pink Dye JE1 BE1.png|32px]] Added pink dye.}}
{{History|PS4}}
{{History||1.90|[[File:Pink Dye JE2 BE2.png|32px]] The texture of pink dye has now been changed.}}

{{History|new 3ds}}
{{History||0.1.0|[[File:Pink Dye JE1 BE1.png|32px]] Added pink dye.}}
{{History|foot}}

== Issues ==

{{issue list}}


{{Items}}

[[Category:Dyes]]




[[cs:Růžové barvivo]]
[[de:Rosa Farbstoff]]
[[es:Tinte rosa]]
[[fr:Teinture rose]]
[[hu:Rózsaszín festék]]
[[ja:桃色の染料]]
[[ko:분홍색 염료]]
[[nl:Roze kleurstof]]
[[pl:Różowy barwnik]]
[[pt:Corante rosa]]
[[ru:Розовый краситель]]
[[zh:粉红色染料]]
[[Category:Renewable resources]]</li></ul>
Death is no longer permanent; the player is now able to respawn.
alpha
v1.0.15
{{Extension DPL}}<ul><li>[[Enchanted Book|Enchanted Book]]<br/>{{About|the book that can give items enchantments when used on an anvil|the artifact that can enchant allied mobs in Minecraft Dungeons|Enchanter's Tome}}
{{Item
| image = Enchanted Book.gif
|imagesize=160px
| stackable = No
| renewable =  '''Swift Sneak''': No<br>'''All others''': Yes
| rarity = Uncommon 
}}

An '''enchanted book''' is an [[item]] that lets players add [[enchantments]] to certain items using an [[anvil]].

== Obtaining ==

=== Chest loot ===

==== Level-30 books ====
{{LootChestItem|enchanted-book}}

==== Random enchantment books ====
{{LootChestItem|enchanted-book-rnd}}

==== Soul Speed books ====
{{LootChestItem|enchanted-book-rnd-soul-speed}}

==== Swift Sneak books ====
{{LootChestItem|enchanted-book-rnd-swift-sneak}}

===Fishing===
Enchanted books can be obtained as a "treasure" item from [[fishing]] with a [[fishing rod]] as part of the "treasure" category. The book has the equivalent of a level 30 enchantment from an enchantment table, but treasure enchantments are available and the chance of multiple enchantments is not reduced.

=== Trading ===

{{IN|bedrock}}, librarian [[villager]]s have a 50% chance to sell enchanted books as part of their trades at novice, apprentice, and journeyman-level, and have {{frac|1|3}} chance to sell enchanted books at expert-level as part of their trades, meaning each librarian villager can sell up to four books. The price ranges between 5-64 [[emerald]]s per book. Based on the level of the enchantment and whether it is classified as a "[[Enchanting mechanics|treasure enchantment]]" (meaning they are not obtainable by enchanting, e.g. [[Mending]]), which doubles the cost, or not a price is determined.

{{IN|java}}, librarian villagers have a {{frac|2|3}} chance to sell an enchanted book as part of their trades at the novice, apprentice, and journeyman level, and have a 50% chance to sell an enchanted book at the expert level, meaning each librarian can sell up to four books. The price ranges from 5-64 [[emerald]]s per book, depending on the enchantment's level as well as whether or not it is a [[Enchanting mechanics|treasure enchantment]].
{| class="fandom-table"
|+Cost of Enchanted Books based on their level
!Level
!Lowest Price
!Highest Price
|-
|I (1)
|5
|19
|-
|II (2)
|8
|32
|-
|III (3)
|11
|45
|-
|IV (4)
|14
|58
|-
|V (5)
|17
|71 (capped at 64)
|}
They may contain any available enchantment (except Soul Speed and Swift Sneak) at any available level. See [[Trading#cite_note-enchanted-book-10|trading notes]] for more information on enchantments and prices.

===Drops ===
Vindicators and pillagers that spawn from raids have a small chance to drop an enchanted book with a level 30 enchantment, which may be a treasure enchantment.{{only|bedrock}}

===Enchanting===

[[File:Enchanted Book 4x.png|thumb|An enchanted book with multiple high level enchantments.]]
[[File:Similar enchantments.png|thumb|An enchanted book with multiple enchantments that can be applied to the same item.]]

Players can create an enchanted book by enchanting a [[book]] on an [[enchantment table]]. Books have a decreased chance of getting multiple enchantments (specifically, if multiple enchantments would be added, then one is removed at random), and have a lower "enchantability level" than most other items. Treasure enchantments such as Mending cannot be obtained from an enchantment table.

=== Bartering ===
Players can barter with [[piglin]]s by using or throwing [[gold ingot]]s, and doing so has a {{frac|5|459}} chance for piglins to give the player an enchanted book with any level of [[Soul Speed]]. Soul Speed enchanted books are only obtainable through [[bartering]], [[chest]] loot inside a bastion remnant, and [[fishing]]. They cannot be obtained through [[enchanting]] or [[trading]].

== Usage ==
{{see also|Anvil mechanics}}

In Survival, enchanted books are the only method to obtain certain enchantments on certain tools, such as Unbreaking on [[shield]]s. Enchanted books have a shine effect on their sprite.

To use an enchanted book, the player must place an item in the first slot in an [[anvil]], and a book in the next. In order to complete the enchantment, the player must have the required amount of [[experience]]. Note that using an enchanted book gets significant discounts at the anvil. Enchanted books themselves can be combined to create a single book with increased or multiple enchantments, similar to combining tools or weapons.  

When combining items, the compatible enchantments from the book in the second slot are transferred to the item from the first slot, keeping the highest level of any type. If two enchantments have the same level and a higher level is available, they combine into the next level. If a book is applied to an item that can't take all of its spells, the appropriate spells are transferred, while the unusable ones are lost. Enchanted books are single-use. 

Enchanted books do not exhibit their enchantment. For example, a book with Sharpness IV as an enchantment does no more damage than an un-enchanted book, or any non-weapon item, would when used as a weapon. An exception is the Fire Aspect book which can ignite TNT and light campfires and the Mending book if the block mined can be broken by fist.{{only|bedrock}}

=== Available items ===
{{See also|Enchantments}}

Enchanted books can enchant the usual items that can be enchanted at an [[enchanting table]], but ''unlike an enchanting table'', they are able to boost enchantments such as Sharpness or Thorns to their maximum power, and may apply the following enchantments to items (the table displays only netherite tools and armor, but any type can be enchanted):
<!-- do not change the items listed in this table. It is supposed to show the items that can receive these enchantments from an enchanted book, but are NOT possible through an enchanting table. -->
{| class="wikitable" style="text-align: center;" data-description="Secondary enchantments"
|-
!Enchantment
!Items not enchantable<br>at an enchanting table
!Note
|-
|[[Efficiency]]
|{{simpleGrid|Shears}}{{simpleGrid|Netherite Pickaxe}}{{simpleGrid|Netherite Shovel}}{{simpleGrid|Netherite Axe}}{{simpleGrid|Netherite Hoe}}
|Increases mining speed
|-
|[[Thorns]]||{{simpleGrid|Netherite Helmet}}{{simpleGrid|Netherite Chestplate}}{{simpleGrid|Netherite Leggings}}{{simpleGrid|Netherite Boots}}
|Inflicts damage on attacker
|-
|[[Unbreaking]]
|{{simpleGrid|Shears}}{{simpleGrid|Flint and Steel}}{{simpleGrid|Fishing Rod}}{{simpleGrid|Carrot on a Stick}}{{simpleGrid|Warped Fungus on a Stick}}{{simpleGrid|Trident}}{{simpleGrid|Shield}}{{simpleGrid|Elytra}}<br>
{{simpleGrid|Netherite Pickaxe}}{{simpleGrid|Netherite Shovel}}{{simpleGrid|Netherite Axe}}{{simpleGrid|Netherite Hoe}}{{simpleGrid|Netherite Sword}}{{simpleGrid|Bow}}{{simpleGrid|Crossbow}}<br>
{{simpleGrid|Netherite Helmet}}{{simpleGrid|Netherite Chestplate}}{{simpleGrid|Netherite Leggings}}{{simpleGrid|Netherite Boots}}
|Increasing durability on enchanted tools/armors
|-
|[[Frost Walker]]
|{{simpleGrid|Netherite Boots}}
|Creates walkable ice layer over water

|-
|[[Mending]]
|{{simpleGrid|Netherite Helmet}}{{simpleGrid|Netherite Chestplate}}{{simpleGrid|Netherite Leggings}}{{simpleGrid|Netherite Boots}}<br>
{{simpleGrid|Netherite Pickaxe}}{{simpleGrid|Netherite Shovel}}{{simpleGrid|Netherite Axe}}{{simpleGrid|Netherite Hoe}}{{simpleGrid|Netherite Sword}}{{simpleGrid|Bow}}{{simpleGrid|Crossbow}}<br>
{{simpleGrid|Shears}}{{simpleGrid|Flint and Steel}}{{simpleGrid|Fishing Rod}}{{simpleGrid|Carrot on a Stick}}{{simpleGrid|Warped Fungus on a Stick}}{{simpleGrid|Trident}}{{simpleGrid|Shield}}{{simpleGrid|Elytra}}
|Uses XP Orbs to repair damaged tools/weapons/armors
|-
|[[Curse of Binding]]
|{{simpleGrid|Netherite Helmet}}{{simpleGrid|Netherite Chestplate}}{{simpleGrid|Netherite Leggings}}{{simpleGrid|Netherite Boots}}<br>{{simpleGrid|Elytra}}{{simpleGrid|Carved Pumpkin}}{{simpleGrid|Head}}
|Prevents removal of cursed item
|-
|[[Curse of Vanishing]]
|{{simpleGrid|Netherite Helmet}}{{simpleGrid|Netherite Chestplate}}{{simpleGrid|Netherite Leggings}}{{simpleGrid|Netherite Boots}}<br>
{{simpleGrid|Netherite Pickaxe}}{{simpleGrid|Netherite Shovel}}{{simpleGrid|Netherite Axe}}{{simpleGrid|Netherite Hoe}}{{simpleGrid|Netherite Sword}}{{simpleGrid|Bow}}{{simpleGrid|Crossbow}}<br>
{{simpleGrid|Shears}}{{simpleGrid|Flint and Steel}}{{simpleGrid|Fishing Rod}}{{simpleGrid|Carrot on a Stick}}{{simpleGrid|Warped Fungus on a Stick}}{{simpleGrid|Trident}}{{simpleGrid|Shield}}<br>{{simpleGrid|Elytra}}{{simpleGrid|Carved Pumpkin}}{{simpleGrid|Head}}<br>{{simpleGrid|Compass}}{{simpleGrid|Recovery Compass}}
|Cursed item is destroyed upon death
|-
|[[Soul Speed]]
|{{simpleGrid|Netherite Boots}}
|The wearer's speed is increased when walking on [[soul sand]] or [[soul soil]].
|-
|[[Swift Sneak]]
|{{simpleGrid|Netherite Leggings}}
|The wearer's sneaking speed is increased.
|}

=== Creative mode ===

The player can enchant any item with any enchantment in [[Creative]] mode, allowing any applied effects to exhibit themselves.{{only|java}} For example, a [[stick]] can be enchanted with [[Silk Touch]] to allow the player to successfully dig [[grass block]]s. The enchanted item can still be used in Survival mode without any loss of enchantments.

Enchantments that are normally incompatible are still incompatible; for example, Piercing and Multishot cannot be both applied to the same item, even in Creative mode.

If a block is enchanted, it loses the enchantment upon being placed in the world.

=== Disenchanting ===
Disenchanting an enchanted book at a [[grindstone]] yields a normal [[book]] and some experience depending on the quality of the book.

=== Chiseled bookshelf ===
{{control|Use|text=Using}} the [[chiseled bookshelf]] while having an enchanted book in the main hand will put the book inside the chiseled bookshelf.

== Sounds ==
{{edition|java}}:
{{Sound table
|sound=Chiseled bookshelf insert enchanted1.ogg
|sound2=Chiseled bookshelf insert enchanted2.ogg
|sound3=Chiseled bookshelf insert enchanted3.ogg
|sound4=Chiseled bookshelf insert enchanted4.ogg
|subtitle=Enchanted Book placed
|source=block
|description=When an enchanted book is placed in a chiseled bookshelf
|id=block.chiseled_bookshelf.insert.enchanted
|translationkey=subtitles.chiseled_bookshelf.insert_enchanted
|volume=0.8
|pitch=''varies'' <ref group=sound name=insertvaries>Can be 1.0, 0.85, or 1.1 for each sound</ref>
|distance=16}}
{{Sound table
|sound=Chiseled bookshelf pickup enchanted1.ogg
|sound2=Chiseled bookshelf pickup enchanted2.ogg
|sound3=Chiseled bookshelf pickup enchanted3.ogg
|subtitle=Enchanted Book taken
|source=block
|description=When an enchanted book is removed from a chiseled bookshelf
|id=block.chiseled_bookshelf.pickup.enchanted
|translationkey=subtitles.chiseled_bookshelf.take_enchanted
|volume=0.8
|pitch=''varies'' <ref group=sound name=pickupvaries>Can be 1.0, 0.8, or 1.1 for each sound</ref>
|distance=16
|foot=1}}

{{edition|bedrock}}:
{{Sound table
|type=bedrock
|sound=Chiseled bookshelf insert enchanted1.ogg
|sound2=Chiseled bookshelf insert enchanted2.ogg
|sound3=Chiseled bookshelf insert enchanted3.ogg
|sound4=Chiseled bookshelf insert enchanted4.ogg
|source=block
|description=When an enchanted book is placed in a chiseled bookshelf
|id=insert_enchanted.chiseled_bookshelf
|volume=0.8
|pitch=''varies'' <ref group=sound name=insertvaries>Can be 1.0, 0.85, or 1.1 for each sound</ref>}}
{{Sound table
|sound=Chiseled bookshelf pickup enchanted1.ogg
|sound2=Chiseled bookshelf pickup enchanted2.ogg
|sound3=Chiseled bookshelf pickup enchanted3.ogg
|source=block
|description=When an enchanted book is removed from a chiseled bookshelf
|id=pickup_enchanted.chiseled_bookshelf
|volume=0.8
|pitch=''varies'' <ref group=sound name=pickupvaries>Can be 1.0, 0.8, or 1.1 for each sound</ref>
|foot=1}}

== Data values ==
=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|showforms=y
|generatetranslationkeys=y
|displayname=Enchanted Book
|spritetype=item
|nameid=enchanted_book
|form=item
|foot=1}}

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|showitemtags=y
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Enchanted Book
|spritetype=item
|nameid=enchanted_book
|id=521
|itemtags=minecraft:bookshelf_books</code>
|form=item
|foot=1}}

=== Item data ===

{{el|java}}:
{{main|Player.dat format}}
Enchanted books use an NBT tag <code>StoredEnchantments</code> to indicate the enchantment. 
The allowed sub-tags are <code>id</code> and <code>lvl</code>, equivalent to the format of the <code>Enchantments</code> tag that is used for enchantments applied to items.

''The following NBT structure is provided to show how the <code>StoredEnchantments</code> tag is organized, and is not comprehensive above the <code>tag</code> tag. The full NBT for an item can be found [[Chunk format#Items_and_XP_Orbs|here]].''

<div class="treeview" style="margin-top: 0;">
*{{nbt|compound|tag}}: The tag tag.
**{{nbt|list|StoredEnchantments}}: The list of enchantments on this book.
***{{nbt|compound}} An enchantment
****{{nbt|string|id}}: The enchantment name ID
****{{nbt|short|lvl}}: The enchantment level
</div>

{{el|bedrock}}:
:See [[Bedrock Edition level format/Item format]].

==Advancements==
{{load advancements|Enchanter}}

==History==
{{History|java}}
{{History||November 24, 2012|link=none|[[Dinnerbone]] stated that he wanted to add a way to [[enchanting|enchant]] items in an [[anvil]] using [[paper]] at [[MINECON 2012]].}}
{{History||December 6, 2012|link={{tweet|Dinnerbone|276777823996366848}}|Dinnerbone released the first image of enchanting a diamond [[sword]] using an enchanted book that has [[Looting]] II for 6 levels. He also stated that "this is the reason I originally added the anvil."}}
{{History||1.4.6|snap=12w49a|[[File:Enchanted Book JE1 BE1.png|32px]] Added enchanted books. 
|The enchantments of enchanted books can be applied to any [[item]].}}
{{History|||snap=12w50a|In [[Survival]] mode, enchanted books can now be used with limited kind of items. In [[Creative]] mode, they can still be used with any item. It was stated that the remaining functionality in Creative mode is intentional.<ref>{{Tweet|Dinnerbone|277084371146665984|Also enchanted books + items they're not intended for are a little broken and I kindly ask you to not exploit it too badly thanks.|December 7, 2012}}</ref><ref>{{bug|MC-4203}}</ref>
|Librarian [[villager]]s now [[trading|sell]] enchanted books at a cost of 1 [[book]] at 5–64 [[emerald]]s. The cost depends on the [[enchanting|enchantment]] level, and the cost can occasionally go above 64 emeralds; see [[Trading/Before 1.8]] for more details.
|Enchanted books now spawn in [[dungeon]], [[mineshaft]], [[desert temple|desert]] and [[jungle temple|jungle]] temple, [[stronghold]] and [[village]] blacksmith [[chest]]s.}}
{{History|||snap=pre|Enchanted books have been added to the [[Creative inventory]]. All levels for each enchanted book can be found in the search tab, and only the maximum level in the ''Tools'' and ''Combat'' tabs.}}
{{History||1.5.1|snap=13w11a|The [[player]] can now combine enchanted books of the same level to create a higher level variation.}}
{{History||1.7.2|snap=13w36a|Enchanted books can now be obtained by [[fishing]] as a "treasure" [[item]]. It is possible for the book to have multiple enchantments.}}
{{History|||snap=13w39a|When [[enchanting]] books, [[book]]s can now gain multiple enchantments.}}
{{History||1.8|snap=14w02a|[[Trading]] for enchanted books has been changed: the [[emerald]] cost has been doubled for [[treasure enchantment]]s, and cost has been capped at 64.}}
{{History|||snap=14w25a|Enchanted book [[Depth Strider]] added, which can go up to Level III and allows for faster underwater moving.}}
{{History||1.9|snap=15w42a|Enchanted book [[Frost Walker]] added, which can go up to Level II and turns water into [[frosted ice]].
|Enchanted book [[Mending]] added, which repairs [[tools]]/[[armor]] upon receiving [[experience]].}}
{{History|||snap=15w43a|The average yield of enchanted books found in [[stronghold]] library [[chest]]s has now more than tripled.}}
{{History|||snap=15w44a|The average yield from [[desert temple]], [[mineshaft]] and [[dungeon]] chests has been substantially increased. The enchantments on these books are now fully random, rather than enchanted only at level 30.}}
{{History||1.11|snap=16w39a|Enchanted books are now found in the new [[woodland mansion]] chests, with fully random enchantments.
|Enchanted book [[Curse of Binding]] added, which prevents removal of cursed [[armor]].
|Enchanted book [[Curse of Vanishing]] added, which destroys cursed items upon [[death]].}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 403.}}
{{History|||snap=18w09a|Enchanted books now have a chance of generating in [[underwater ruins]] chests.}}
{{History||1.14|snap=18w43a|[[File:Enchanted Book JE2 BE2.png|32px]] The texture of enchanted books has been changed.}}
{{History|||snap=18w47a|Enchanted books now have a chance of generating in [[pillager outpost]] chests.}}
{{History||1.16|snap=20w11a|Added [[Soul Speed]] enchanted book, which increases player's speed on [[soul sand]] and [[soul soil]]. It can be obtained only via the [[bartering]].}}
{{History|||snap=20w16a|Soul Speed enchanted books now generate in [[bastion remnants]] chests.}}
{{History||1.19|snap=Deep Dark Experimental Snapshot 1|Added [[Swift Sneak]] enchanted book, which increases player's speed while sneaking. It can be obtained only in [[ancient city]] chests.
|Enchanted books now generate in [[ancient city]] chests.}}
{{History||1.20<br>(Experimental)|link=1.19.3|snap=22w42a|Enchanted books can now interact with [[chiseled bookshelves]].}}

{{History|pocket alpha}}
{{History||v0.12.1|snap=build 1|[[File:Enchanted Book JE1 BE1.png|32px]] Added enchanted books. 
|All levels of each enchanted book can be obtained in the Creative inventory.}}
{{History||v0.13.0|snap=build 1|Enchanted books now generate in [[desert temple]]s.}}
{{History||v0.14.0|snap=build 1|Enchanted books now generate in [[mineshaft]]s.}} 
{{History||v0.15.0|snap=build 1|Enchanted books now generate in [[jungle pyramid]]s.}}
{{History|pocket}}
{{History||1.0.0|snap=alpha 0.17.0.1|Enchanted books now generate in [[end city|end cities]].}}
{{History||1.0.4|snap=alpha 1.0.4.0|Enchanted books can now be [[trading|bought]] from librarian villagers for 5-64 emeralds as part of their tier 1, 4 and 5 trades.}}
{{History||1.1.0|snap=alpha 1.1.0.0|Enchanted books now generate in [[woodland mansion]]s.
|Enchanted books [[Mending]] and [[Frost Walker]] added.}}
{{History|bedrock}}
{{History||1.2.13|snap=beta 1.2.13.5|Added Curse of Binding and Curse of Vanishing [[enchanting|enchantments]], but they are obtainable only via [[trading]] with librarian [[villager]]s.}}
{{History||1.4.0|snap=beta 1.2.20.1|Enchanted books can now be found in [[underwater ruins]].}}
{{History||1.4.0|snap=beta 1.2.20.2|Curse enchantments are no longer obtainable via trading.}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Enchanted Book JE2 BE2.png|32px]] The texture of enchanted books has been changed.
|Enchanted books can now be found in [[pillager outpost]]s.}}
{{History||1.11.0|snap=beta 1.11.0.4|[[Vindicator]]s and [[pillager]]s that spawn in [[raid]]s can now [[drops|drop]] enchanted books.
|[[Trading]] has been changed, enchanted books [[trading|bought]] from librarian [[villager]]s now cost 15-64 [[emerald]]s.
|Librarian villagers now have a 50% chance to [[trading|sell]] enchanted books as part of their first, second, and third tier trade, and {{frac|1|3}} chance to sell enchanted books as part of their fourth tier trades.}}
{{History||1.16.0|snap=beta 1.16.0.57|Added [[Soul Speed]] enchanted book, which can be obtained only via [[bartering]] and at [[bastion remnants]] chests.}}
{{History||1.20.0<br>(Experimental)|link=Bedrock Edition 1.19.50|snap=beta 1.19.50.21|Enchanted books can now interact with [[chiseled bookshelves]].}}

{{History|console}}
{{History||xbox=TU14|xbone=CU1|ps=1.04|wiiu=Patch 1|[[File:Enchanted Book JE1 BE1.png|32px]] Added enchanted books.
|Only the maximum level of each enchanted book can be obtained within the Creative inventory.}}
{{History|PS4}}
{{History||1.90|[[File:Enchanted Book JE2 BE2.png|32px]] The texture of enchanted books has been changed.}}

{{History|new 3ds}}
{{History||0.1.0|[[File:Enchanted Book JE1 BE1.png|32px]] Added enchanted books.
|All levels of each enchanted book can be obtained in the Creative inventory.}}
{{History|foot}}

== Issues ==

{{Issue list}}

==Trivia==

*When obtained through the {{cmd|give}} command with no stored enchantments, the enchanted book has no attached enchantments, but still shines as if it is enchanted.
*A book enchanted with [[Unbreaking]] III appears in both the tools tab and combat tab of the [[Creative]] [[inventory]].

==Gallery==

<gallery>
File:Dinnerbones_enchanted_Books.png|First image of an enchanted book, released by Dinnerbone.
File:DungeonBook.png|An enchanted book found in a dungeon chest.
File:Enchanted_Book.gif|An animation of an enchanted book.
</gallery>

==References ==

{{reflist}}

{{Items}}

[[Category:Renewable resources]]

[[de:Verzaubertes Buch]]
[[es:Libro encantado]]
[[fr:Livre enchanté]]
[[hu:Varázskönyv]]
[[ja:エンチャントの本]]
[[ko:마법이 부여된 책]]
[[nl:Betoverd boek]]
[[pl:Zaklęta książka]]
[[pt:Livro encantado]]
[[ru:Зачарованная книга]]
[[th:หนังสือร่ายมนตร์]]
[[uk:Зачарована книга]]
[[zh:附魔书]]</li><li>[[Painting|Painting]]<br/>{{ItemEntity
|title=Painting
|image=Painting JE2 BE2.png
|extratext=View [[#Renders|all renders]]
|renewable=Yes
|stackable=Yes (64)
|drops=1 {{ItemLink|Painting}}
}}
'''Paintings''' are decorative [[entity|entities]] that hang on walls.

== Obtaining ==
=== Crafting ===
{{Crafting
|A1= Stick |B1= Stick    |C1= Stick
|A2= Stick |B2= Any Wool |C2= Stick
|A3= Stick |B3= Stick    |C3= Stick
|Output= Painting
|type= Decoration block
}}

Paintings can be crafted with any color of [[wool]]. The color of the wool used does not influence the picture chosen when the painting is placed.
Once placed, it displays a random painting.

=== Breaking ===
To remove a painting from a wall, the player can {{control|attack}} it, break one of its supporting blocks, cover one square of it with a block, hit it with an arrow, egg, ender pearl, snowball, or fire charge, or subject it to an explosion. The painting then drops as an item. Arrows that hit paintings disappear.

=== Trading ===
Master-level shepherd [[villager]]s sell 3 paintings for 2 [[emerald]]s.

== Usage ==
=== Placement ===
Paintings can be placed on the sides of [[solid block]]s, [[sign]]s, [[banner]]s, or [[sculk vein]]s . A small gap is visible between the painting and attachment surface. There are several different sizes of paintings (see below). When placed, a painting checks for the largest amount of space it has. It then chooses a random painting of that size. The player can add blocks around the painting to ensure it is the size wanted. When the supporting blocks are removed, the painting breaks after 20 game [[tick]]s (1 second) if no supporting blocks are replaced during that interval.

=== Properties ===
Being an entity, paintings can simultaneously exist in the same space as blocks such as water or torches. Specifically, they can share the space with any block whose collision box does not intersect its hitbox.

Players and mobs are able to walk through paintings, as long as the blocks supporting the painting allow it. Secret doorways can be created this way. [[Light]] propagates through paintings as well.

If a player is concealed behind a painting, the player's name is also concealed from other players.{{verify|Is this true in Bedrock?}}

Paintings are non-flammable.

== Canvases ==
There are 26 paintings in the game. These are mostly based on paintings by [[Kristoffer Zetterstrand]], who also created the ''Minecraft'' versions.

{| class="wikitable stikitable" style="text-align: center" data-description="Paintings"
! style="min-width:150px" |Canvas
! style="min-width:3em;max-width:4em" |Size
! style="min-width:3em" |Original
! style="min-width:3em" |Name
! style="min-width:3em;max-width:4.5em" |[[Resource location]]
! style="min-width:10em" |Description
! Java Edition version added
|-
! [[File:Alban (texture).png|64px]]
| rowspan="7" | 1×1 blocks<br>16×16 pixels || [https://zetterstrand.com/work/pictures/archive/alban.jpeg "Albanian"] || Albanian || <code>alban</code> || A man wearing a fez next to a house and a bush. As the name of the painting suggests, it may be a landscape in [[Wikipedia:Albania|Albania]]. || rowspan="9" | [[Indev 20100223]]
|-
! [[File:Aztec (texture).png|64px]]
|[https://zetterstrand.com/eventz/wp-content/uploads/2aztbig.jpg "de_aztec"]|| de_aztec || <code>aztec</code> || [[Wikipedia:Noclip mode|Free-look]] perspective of the map [[w:c:counterstrike:Aztec|de_aztec]] from the video game ''[[Wikipedia:Counter-Strike (video game)|Counter-Strike]]''. 
|-
! [[File:Aztec2 (texture).png|64px]]
|[https://zetterstrand.com/eventz/wp-content/uploads/11aztec_for_print.jpg "de_aztec"]|| de_aztec || <code>aztec2</code> || [[Wikipedia:Noclip mode|Free-look]] perspective of the map [[w:c:counterstrike:Aztec|de_aztec]] from the video game ''[[Wikipedia:Counter-Strike (video game)|Counter-Strike]]''. 
|-
! [[File:Bomb (texture).png|64px]]
|[https://zetterstrand.com/eventz/wp-content/uploads/12bomb.jpg "Target successfully bombed"]|| Target Successfully Bombed || <code>bomb</code> || The map [[w:c:counterstrike:Dust II|de_dust2]] from the video game ''[[Wikipedia:Counter-Strike (video game)|Counter-Strike]]'', named “target successfully bombed" in reference to the game. 
|-
! [[File:Kebab (texture).png|64px]]
|[https://zetterstrand.com/work/pictures/archive/kebab2.jpg "Kebab med tre pepperoni"] || Kebab med tre pepperoni || <code>kebab</code> || A kebab with three green chili peppers. 
|-
! [[File:Plant (texture).png|64px]]
|[https://zetterstrand.com/work/pictures/archive/paradistrad.jpeg "Paradisträd"] || Paradisträd || <code>plant</code> || Still life of two plants in pots. "Paradisträd" is Swedish for "[[Wikipedia:Crassula ovata|money tree]]", which is a common name for the depicted species in Scandinavia. 
|-
! [[File:Wasteland (texture).png|64px]]
|[https://zetterstrand.com/eventz/wp-content/uploads/Wasteland_1920.jpg "Wasteland"]|| Wasteland || <code>wasteland</code> || A view of some wastelands; a small animal (presumably a rabbit) is sitting on the window ledge. 
|-
! [[File:Courbet (texture).png|128px]]
| rowspan="5" | 2×1 blocks<br>32×16 pixels ||[https://zetterstrand.com/eventz/wp-content/uploads/bonjourmonsieurcourbet_BIG.jpg "Bonjour monsieur Courbet"]|| Bonjour Monsieur Courbet || <code>courbet</code> || Two hikers with pointy beards seemingly greeting each other. Based on Gustave Courbet's painting ''[[Wikipedia:La rencontre|The Meeting or "Bonjour, Monsieur Courbet"]]''. 
|-
! [[File:Pool (texture).png|128px]]
|[https://zetterstrand.com/eventz/wp-content/uploads/thepool_1920.jpg "The pool"]|| The Pool || <code>pool</code> || Some men and women skinny-dipping in a pool over a cube of sorts. Also there is an old man resting in the lower-right edge. 
|-
! [[File:Sea (texture).png|128px]]
| rowspan=2 |[https://zetterstrand.com/eventz/wp-content/uploads/SeaSide_1920.jpg "Seaside"]
| Seaside
| <code>sea</code>
| Mountains and a lake, with a small photo of a mountain and a bright-colored plant on the window ledge. || [[Indev 20100223]] / [[Alpha v1.1.1]]
|-
! [[File:Creebet (texture).png|128px]]
| Creebet || <code>creebet</code> || Mountains and a lake, with a small photo of a mountain and a creeper looking at the viewer through a window. || [[Alpha v1.1.1]]
|-
! [[File:Sunset (texture).png|128px]]
|[https://zetterstrand.com/eventz/wp-content/uploads/sunset_dense.jpg "sunset_dense"]|| sunset_dense || <code>sunset</code> || A view of mountains at sunset. || [[Indev 20100223]]
|-
! [[File:Graham (texture).png|64px]]
| rowspan="2" | 1×2 blocks<br>16×32 pixels ||[https://zetterstrand.com/eventz/wp-content/uploads/graham.jpg "Graham"]|| Graham || <code>graham</code> || King Graham, the player character in the video game series ''[[Wikipedia:King's Quest|King's Quest]]''. The original is based on ''[[Wikipedia:File:Sánchez_Cotán_(Bodegón_con_membrillo,_repollo,_melón_y_pepino).jpg|Still Life with Quince, Cabbage, Melon, and Cucumber]]'' by Juan Sánchez Cotán.|| [[Alpha v1.1.1]]
|-
! [[File:Wanderer (texture).png|64px]]
|[https://zetterstrand.com/eventz/wp-content/uploads/wanderer_1920.jpg "Wanderer"]|| Wanderer || <code>wanderer</code> || A version of Caspar David Friedrich's famous painting ''[[Wikipedia:Wanderer above the Sea of Fog|Wanderer above the Sea of Fog]]''. || rowspan="4" | [[Indev 20100223]]
|-
! [[File:Bust (texture).png|128px]]
| rowspan="6" | 2×2 blocks<br>32×32 pixels ||[https://zetterstrand.com/eventz/wp-content/uploads/bust_1915.jpg "Bust"]|| Bust || <code>bust</code> || A bust of [[Wikipedia:Marcus Aurelius|Marcus Aurelius]] surrounded by fire. 
|-
! [[File:Match (texture).png|128px]]
|[https://zetterstrand.com/eventz/wp-content/uploads/Match_rgb_1918.jpg "Match"]|| Match || <code>match</code> || A hand holding a match, causing fire on a white cubic gas fireplace. 
|-
! [[File:Skull and Roses (texture).png|128px]]
|[https://zetterstrand.com/eventz/wp-content/uploads/moonlight-installation_1920.jpg "Moonlight Installation"]|| Skull and Roses || <code>skull_and_roses</code> || A skeleton at night with red flowers in the foreground. The original painting was different, depicting a woman sitting in a couch, while the skull is in the middle of a body of glacial water of sorts. 
|-
! [[File:Stage (texture).png|128px]]
|[https://zetterstrand.com/eventz/wp-content/uploads/The-stage-is-set-1.jpg "The stage is set"]
| The Stage Is Set
| <code>stage</code>
| Scenery from ''[[Wikipedia:Space Quest I|Space Quest I]]'', with the character Graham from the video game series ''[[Wikipedia:King's Quest|King's Quest]]'' appearing twice. || [[Indev 20100223]] / [[Alpha v1.1.1]]
|-
! [[File:Void (texture).png|128px]]
|[https://zetterstrand.com/eventz/wp-content/uploads/the-void_1920.jpg "The Void"]|| The void || <code>void</code> || An angel praying into a void with fire below. || [[Indev 20100223]]
|-
! [[File:Wither (painting texture).png‎|128px]]
| – || Wither || <code>wither</code> || The creation of a [[wither]]. 
This is the only painting not based on a real painting. Made by Jens Bergensten.<ref>{{Citation|url=https://www.youtube.com/watch?v=kK5Y4k-vVXc|title=Who Made Minecraft’s LAST Painting?!|author=AntVenom|website=YouTube|date=29 October 2022}}</ref><ref>https://www.reddit.com/r/Minecraft/comments/1tzav2/comment/cedagcy/</ref>
|| [[Java Edition 1.4.2]] ([[12w36a]])
|-
! [[File:Fighters (texture).png|128px]]
| 4×2 blocks<br>64×32 pixels ||[https://zetterstrand.com/eventz/wp-content/uploads/fighters.jpg "Fighters"]|| Fighters || <code>fighters</code> || Two men poised to fight. Paper versions of fighters from the game ''[[Wikipedia:International Karate +|International Karate +]]''. || [[Indev 20100223]]
|-
! [[File:Donkey Kong (texture).png|128px]]
| rowspan="2" | 4×3 blocks<br>64×48 pixels ||[https://zetterstrand.com/eventz/wp-content/uploads/kong.jpg "Kong"]|| Kong || <code>donkey_kong</code> || A paper-looking screenshot of the level [https://www.mariowiki.com/100m 100m] from the arcade game ''[[Wikipedia:Donkey Kong (arcade game)|Donkey Kong]]''. || rowspan="2" | [[Alpha v1.1.1]]
|-
! [[File:Skeleton (painting texture).png|128px]]
|[https://zetterstrand.com/eventz/wp-content/uploads/mortal_coil.jpg "Mortal Coil"]|| Mortal Coil || <code>skeleton</code> || [[w:c:grim-fandango:Bruno Martinez|Bruno Martinez]] from the adventure game ''[[Wikipedia:Grim Fandango|Grim Fandango]]''. 
|-
! [[File:Burning Skull (texture).png‎|128px]]
| rowspan="3" | 4×4 blocks<br>64×64 pixels ||[https://zetterstrand.com/eventz/wp-content/uploads/skull_on_fire_framed_c_1910.jpg "Skull on Fire"]|| Skull On Fire || <code>burning_skull</code> || A Skull on fire; in the background there is a moon in a clear night sky.<br>This painting is based on a Minecraft screenshot,<ref>{{Citation|url=https://web.archive.org/web/20220928041338/https://imgur.com/HVhrbnH|website=Imgur|date=22 August 2020|title=https://web.archive.org/web/20220928041338/https://imgur.com/HVhrbnH}}</ref> with the grass block and a 3D skull added on top.<ref>{{Citation|url=https://web.archive.org/web/20200906184721/https://imgur.com/AwqQFS6|title=https://web.archive.org/web/20200906184721/https://imgur.com/AwqQFS6|website=Imgur|date=23 August 2020}}</ref>
(See the [[:en:Painting#Trivia|trivia]] section for more info.)
| [[Java Edition Beta 1.2 01|Beta 1.2_01]] / [[Java Edition Beta 1.3|Beta 1.3]]
|-
! [[File:Pigscene (texture).png|128px]]
|[https://zetterstrand.com/eventz/wp-content/uploads/rgb_1914.jpg "RGB"]|| Pigscene || <code>pigscene</code> <!-- yes, without an underscore --> || A girl pointing to a pig on a canvas. In the original version, the canvas showed red, green and blue blocks, representing the three colors of the [[Wikipedia:RGB color model|RGB color model]] that is typically used by computer displays. It is based on the painting ''[[Wikipedia:File:Jacob van Oost (I) - The Artist's Studio - WGA16654.jpg|The Artist's Studio]]'' by Jacob van Oost.|| [[Alpha v1.1.1]]
|-
! [[File:Pointer (texture).png|128px]]
|[https://zetterstrand.com/eventz/wp-content/uploads/pointer_1920.jpg "Pointer"]|| Pointer || <code>pointer</code> || The main character of the game ''[[Wikipedia:International Karate +|International Karate +]]'' in a fighting stance touching a large hand. It could also be interpreted as a play on Michelangelo's famous painting ''[[Wikipedia:The Creation of Adam|The Creation of Adam]]''. || [[Indev 20100223]]
|}

=== Unused paintings ===
In [[Pocket Edition v0.5.0 alpha|v0.5.0 alpha]], with the addition of paintings to Pocket Edition, four unused 32×32 paintings were present in <samp>[[kz.png]]</samp> which remained unused. See {{slink|Bedrock Edition unused features|Paintings}} for more information. They were also added to Java Edition in snapshot [[Java Edition 22w16a|22w16a]]. They cannot be placed by default, but can be summoned by [[commands]] (such as {{cmd|/summon painting ~ ~ ~ {variant:"water"} }}) or through a [[datapack]].

According to [[Helen Zbihlyj]],<ref>https://old.reddit.com/r/Minecraft/comments/u8hpnx/thoughts_on_the_new_paintings/i5olue6/?context=3 ([https://web.archive.org/web/20220422115723/https://old.reddit.com/r/Minecraft/comments/u8hpnx/thoughts_on_the_new_paintings/i5olue6/?context=3 archived])</ref> these paintings were originally added "as part of a Pocket Edition promo map" (no footage found) which was planned to be a part of [[Pocket Edition]] promotion at [[MINECON 2012]] [[MINECON 2013|or 2013]] and have never been used in game. The artist of these paintings remains unknown.

{| class="wikitable stikitable" style="text-align: center" data-description="Paintings"
! style="min-width:100px" |Canvas
! style="min-width:3em;max-width:4em" |Size
! style="min-width:6em" |Name
! style="min-width:10em" |[[Resource location]]
! style="min-width:10em" |Description
! style="min-width:5em;max-width:10em" |Bedrock Edition version added
! style="min-width:5em;max-width:8em" |Java Edition version added
|-
! [[File:Earth (texture) BE2.png|128px]]
| rowspan="4" | 2×2 blocks<br>32×32 pixels || Earth || <code>earth</code> || One of the four {{Wikipedia|Classical element|classical elements}}: Earth. || rowspan="4" | [[Pocket Edition v0.5.0 alpha|v0.5.0 alpha]] || rowspan="4" | [[Java Edition 22w16a|22w16a]]
|-
! [[File:Fire (texture) BE2.png|128px]]
| Fire || <code>fire</code> || One of the four classical elements: Fire. 
|-
! [[File:Water (texture) BE2.png|128px]]
| Water || <code>water</code> || One of the four classical elements: Water. 
|-
! [[File:Wind (texture) BE2.png|128px]]
| Wind || <code>wind</code> || One of the four classical elements: Air. 
|}

==Sounds==
{{Edition|Java}}:
{{Sound table
|sound=Painting break1.ogg
|sound2=Painting break2.ogg
|sound3=Painting break3.ogg
|subtitle=Painting breaks<ref>{{Cite bug|MC|194948|Painting, item frame and lead breaking subtitles inconsistent with block breaking subtitle|date=July 14, 2020}}</ref>
|source=neutral
|description=When a painting is broken or pops off
|id=entity.painting.break
|translationkey=subtitles.entity.painting.break
|volume=1.0
|pitch=1.0
|distance=16}}
{{Sound table
|sound=Painting place1.ogg
|sound2=Painting place2.ogg
|sound3=Painting place3.ogg
|sound4=Painting place4.ogg
|subtitle=Painting placed
|source=neutral
|description=When a painting is placed
|id=entity.painting.place
|translationkey=subtitles.entity.painting.place
|volume=1.0
|pitch=1.0
|distance=16
|foot=1}}

{{Edition|Bedrock}}:
{{Sound table
|type=bedrock
|sound=Item Frame break1.ogg
|sound2=Item Frame break2.ogg
|sound3=Item Frame break3.ogg
|source=block
|description=When a painting is broken or pops off
|id=block.itemframe.break
|volume=1.0
|pitch=1.0}}
{{Sound table
|sound=Item Frame add item1.ogg
|sound2=Item Frame add item2.ogg
|soumd3=Item Frame add item3.ogg
|sound4=Item Frame add item4.ogg
|source=block
|description=When a painting is placed
|id=block.itemframe.add_item
|volume=1.0
|pitch=1.0
|foot=1}}

== Data values ==
=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|firstcolumnname=Item
|showforms=y
|generatetranslationkeys=y
|displayname=Painting
|spritetype=item
|nameid=painting
|form=item
|foot=1}}
{{ID table
|edition=java
|firstcolumnname=Entity
|generatetranslationkeys=y
|displayname=Painting
|spritetype=entity
|nameid=painting
|foot=1}}

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|firstcolumnname=Item
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Painting
|spritetype=item
|nameid=painting
|id=357
|form=item
|foot=1}}
{{ID table
|edition=bedrock
|firstcolumnname=Entity
|shownumericids=y
|generatetranslationkeys=y
|displayname=Painting
|spritetype=entity
|nameid=painting
|id=83
|foot=1}}

=== Entity data ===

Paintings have entity data that defines various properties of the entity.

{{el|java}}:
{{main|Entity format}}
{{/ED}}

{{el|bedrock}}:
: See [[Bedrock Edition level format/Entity format]].

== Video ==
<div style="text-align:center">{{yt|M3vWDirTMek}}</div>

== History ==
{{History|java indev}}
{{History||20100223|[[File:Painting JE1 BE1.png|32px]] Added paintings.
|There are currently 19 canvases, which can be viewed at [[Java Edition history of textures/Paintings]].
|The [[crafting]] recipe of paintings uses eight [[planks]].
{{{!}} class{{=}}"collapsible collapsed"
! Recipe
{{!}}-
{{!}}
{{Crafting Table
  |A1=Oak Planks
  |B1=Oak Planks
  |C1=Oak Planks
  |A2=Oak Planks
  |B2=Light Gray Wool
  |C2=Oak Planks
  |A3=Oak Planks
  |B3=Oak Planks
  |C3=Oak Planks
  |Output=Painting
}}
{{!}}}
|Painting textures are currently stored on a [[texture atlas]] called <samp>[[kz.png]]</samp>.}}
{{History|java infdev}}
{{History||20100227-1|The [[crafting]] recipe has of paintings has been changed, so that it now uses [[stick]]s, rather than [[planks]].
{{{!}} class{{=}}"collapsible collapsed"
! Recipe
{{!}}-
{{!}}
{{Crafting Table
  |A1=Stick
  |B1=Stick
  |C1=Stick
  |A2=Stick
  |B2=Light Gray Wool
  |C2=Stick
  |A3=Stick
  |B3=Stick
  |C3=Stick
  |Output=Painting
}}
{{!}}}
}}
{{History|java alpha}}
{{History||v1.1.1|Added five more painting canvases, for a total of 24.
|The textures of two paintings have been changed.}}
{{History|java beta}}
{{History||1.2_01|Added a new painting, although it uses an untextured part of <samp>kz.png</samp> due to the painting texture not yet being implemented.}}
{{History||1.3|The texture of the new painting, has been added to the part of <samp>kz.png</samp> displayed by the new painting.}}
{{History||April 27, 2011|link=https://web.archive.org/web/20201111211000/https://notch.tumblr.com/post/4988431144/the-maps|Custom paintings are mentioned by [[Notch]].}}
{{History||1.7.3|Paintings pushed by [[piston]]s now pop off.}}
{{History|java}}
{{History||1.4.2|snap=12w36a|Added new painting canvas 'Wither'.
|Paintings can now be placed overlapping one another.}}
{{History||1.8|snap=14w10a|Paintings can no longer be placed directly inside of each other.}}
{{History||1.9|snap=15w49a|Paintings can no longer be destroyed by [[lightning]].}}
{{History|||snap=15w50a|Added [[sound]]s for placing and breaking paintings: <code>entity.painting.place</code> and <code>entity.painting.break</code>.}}
{{History||1.11|snap=16w32a|The [[entity]] ID for paintings has been changed from <code>Painting</code> to <code>painting</code>.}}
{{History||1.12|snap=17w06a|Paintings now have a more intuitive placement system. When placed, a painting always uses the maximum possible amount of available space.}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 321.}}
{{History|||snap=18w02a|Paintings now use a [[resource location]] for their motive.}}
{{History||1.14|snap=18w43a|[[File:Painting JE2 BE2.png|32px]] The [[item]] texture of paintings has been changed.}}
{{History|||snap=19w07a|Paintings are now stored as individual image files instead of parts of a single large image file, and now support animations.}}
{{History|||snap=19w11a|Shepherd [[villager]]s now [[trading|sell]] paintings.}}
{{History||1.17|snap=21w11a|The painting back texture has been updated to be in line with the texture update.}}
{{History||1.19|snap=22w16a|Added the four unused paintings from Bedrock Edition: "Earth", "Wind", "Fire", and "Water".|These paintings can only be added through a [[data pack]], or with the {{cmd|summon}} command.}}
{{History||1.19.4|snap=23w06a|Added [[painting]] variants to "Functional Blocks" tab.|Paintings with pre-defined variant will now display author, title and size in description when hovered over.|The "Operator Utilities" tab now contains the four paintings that are not available in Survival mode.}}

{{History|pocket alpha}}
{{History||v0.5.0|[[File:Painting JE1 BE1.png|32px]] Added paintings.
|There are currently 25 canvases, which can be viewed at [[Bedrock Edition history of textures/Paintings]].}}
{{History||v0.8.0|snap=build 3|A new painting rendering has been added.{{info needed|What exactly changed?}}}}
{{History||v0.12.1|snap=build 1|Paintings are no longer available from the [[nether reactor]].}}
{{History||v0.15.0|snap=build 1|Paintings now have [[sound]]s when placed and broken.}}
{{History|pocket}}
{{History||1.0.7|Added new painting canvas 'Wither'.}}
{{History|bedrock}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Painting JE2 BE2.png|32px]] The [[item]] texture of paintings has been changed.}}
{{History||1.11.0|snap=beta 1.11.0.4|Paintings can now be [[trading|bought]] from shepherd [[villager]]s.}}
{{History||1.17.0|snap=beta 1.17.0.50|The painting back texture has been updated to be in line with the texture update.}}

{{History|console}}
{{History||xbox=TU1|xbone=CU1|ps=1.0|wiiu=Patch 1|switch=1.0.1|[[File:Painting JE1 BE1.png|32px]] Added paintings.
|There are currently 25 canvases, which can be viewed at [[Legacy Console Edition history of textures/Paintings]].}}
{{History||xbox=TU11|The limit for paintings in a world has been increased. 
|A message is now displayed when the maximum paintings are reached.}}
{{History||xbox=TU14|ps=1.04|Added new painting canvas 'Wither'.}}
{{History||xbox=TU43|xbone=CU33|ps=1.36|wiiu=Patch 13|Added [[sound]]s for paintings.}}
{{History||xbox=none|xbone=none|ps=1.90|wiiu=none|switch=none|[[File:Painting JE2 BE2.png|32px]] The [[item]] texture of paintings has been changed.}}

{{History|3ds}}
{{History||0.1.0|[[File:Painting JE1 BE1.png|32px]] Added paintings.
|There are currently 25 canvases, which can be viewed at [[New Nintendo 3DS Edition history of textures/Paintings]].}}
{{History|foot}}

== Issues ==
{{issue list}}

== Trivia ==
* On April 26, 2011, Notch stated that the automapping code can be used to share custom paintings and books in the future.<ref>{{tweet|notch|62970142207913984|The auto mapping code can be used to share custom paintings and books in the future. There's a hard cap on 65536 of each/world, though|April 26, 2011}}</ref>
* The texture on the back of a painting is the same as the wooden planks texture, but with a yellowish color similar to that of [[chests]] (but slightly darker).
* The "Skull on Fire" painting contains a Minecraft world in the background, which is based on a screenshot taken by the artist in [[Java Edition Alpha v1.1.2 01|Alpha 1.1.2_01]] (or earlier) on October 12, 2010, at 13:22:49 (UTC+2).<ref>{{cite|url=https://web.archive.org/web/20220928041338/https://imgur.com/HVhrbnH|title=The original (never publicly shared before) screenshot that Kristoffer Zetterstrand took and based his painting on.|website=Imgur}}</ref>
**The seeds for this world are -1044887956651363087 and -6984854390176336655 (both are the same), standing at X=-249.65, Y=91, Z=-29.04.<ref>https://pastebin.com/fzAY9ES4</ref><ref>https://www.reddit.com/r/Minecraft/comments/iqg3ey/the_original_screenshot_seed_of_the_minecraft/</ref>
* The "Skull on Fire" painting's texture was added in [[Java Edition Beta 1.3|Beta 1.3]]. However, the code for paintings to randomly display the part of the [[Kz.png]] texture that was to be occupied by the Burning Skull painting was added earlier, in [[Java Edition Beta 1.2_01|Beta 1.2_01]]. As there was nothing on this part of the texture except for a purple background grid, this is what would be displayed if the painting was randomly chosen, until the Burning Skull painting texture was actually added.
* The original "Skull on Fire" painting was given to the winner of an official texture pack competition by Mojang.<ref>https://web.archive.org/web/20110110003612/http://www.webhallen.com:80/minecraft/</ref>

== Gallery ==
<gallery>
File:Notch Painting Screenshot.png|The first image of paintings released by [[Notch]].
File:Skull on Fire world.jpg|The original screenshot behind the "Skull on Fire" painting.
File:Burning Skull Render.jpg|A render of the "Skull on Fire" painting that [[Kristoffer Zetterstrand]] used as a reference image.
File:Skull on Fire IRL.jpg|The original "Skull on Fire" painting being painted.
File:Burning Skull JE1.png|The "Skull on Fire" painting as it appeared between versions [[Java Edition Beta 1.2_01|Beta 1.2_01]] and [[Java Edition Beta 1.2_02|Beta 1.2_02]], prior to its texture being added in [[Java Edition Beta 1.3|Beta 1.3]].
</gallery>

=== Renders ===
<gallery>
Alban.png | Albanian
Aztec.png | de_aztec
Aztec2.png | de_aztec
Bomb.png | Target Successfully Bombed
Kebab.png | Kebab med tre pepperoni
Plant.png | Paradisträd
Wasteland.png | Wasteland
Courbet.png | Bonjour Monsieur Courbet
Creebet.png | Creebet
Pool.png | The Pool
Sea.png | Seaside
Sunset.png | sunset_dense
Graham.png | Graham
Wanderer.png | Wanderer
Bust.png | Bust
Match.png | Match
Skull and Roses.png | Skull and Roses
Stage.png | The Stage Is Set
Void.png | The void
Wither (painting).png | Wither
Fighters.png | Fighters
Donkey Kong.png | Kong
Skeleton (painting).png | Mortal Coil
Burning Skull.png | Skull On Fire
Pigscene.png | Pigscene
Pointer.png | Pointer
Earth BE2.png | Earth
Fire BE2.png | Fire
Water BE2.png | Water
Wind BE2.png | Wind
</gallery>

== See also ==
* [[Item Frame]]
* [[Bedrock Edition unused features#Paintings|Unused paintings]]
* [[Kz.png]]
* [[Kristoffer Zetterstrand]]

== References ==
{{reflist}}

== External links ==
*[https://www.minecraft.net/en-us/article/taking-inventory-painting Taking Inventory: Painting] – Minecraft.net on January 18, 2019

{{items}}
{{entities}}

[[cs:Obraz]]
[[de:Gemälde]]
[[es:Cuadro]]
[[fr:Tableau]]
[[hu:Festmény]]
[[it:Quadro]]
[[ja:絵画]]
[[ko:그림]]
[[nl:Schilderij]]
[[pl:Obraz]]
[[pt:Quadro]]
[[ru:Картина]]
[[th:ภาพวาด]]
[[uk:Картина]]
[[zh:画]]</li></ul>
Added multiplayer. Originally, Notch had only allowed a limited number of people from the Minecraft IRC channel to participate in the first tests of multiplayer. These invitees could invite other people to test out this mode; however, the password was leaked and the server was quickly filled up. Notch released the first version of the multiplayer server software on the 4th of August, 2010. The client was updated so that players could enter the IP of a server to join it.
Pocket Edition Alpha
0.2.0
{{Extension DPL}}<ul><li>[[Reality Vision|Reality Vision]]<br/>{{Joke feature}}
{{Item
| title = Reality Vision
| image = Reality Vision.png
| renewable = No
| stackable = Yes (64)
}}

The '''Reality vision''' was a joke [[helmet]].

== Usage ==
Reality vision was equipped via the [[helmet]] slot. When equipped, it showed a [[wikipedia:Mini-map|minimap]] in the bottom-center of the screen (which moved when the [[player]]'s camera moves). The minimap showed all [[chunk]]s that were currently rendered. The player's location was represented by a green [[beacon]] beam marker on the map.

It displayed a vision overlay (similar to the [[pumpkin]] overlay). The overlay would change to a new overlay if the player went into third person (unlike the pumpkin overlay), which made the screen appear like an old [[wikipedia:Television|television]] screen. The overlay was called <code>cantseeshit<!-- Do not change this; this is that word that is actually used-->captain.png</code> in the assets folder. It activated a [[Shaders|shader]] when equipped (<code>scan_pincushion</code>).

== Sounds ==

{{Sound table
|sound=Equipvr.ogg
|subtitle=''None''
|source=player
|description=When equipped
|id=item.reality_vision.use
|translationkey=''None''
|volume=1.0
|pitch=1.0
|distance=16
|foot=1}}

== Data values ==
=== ID ===
{{ID table
|edition=java
|shownumericids=y
|showforms=y
|generatetranslationkeys=y
|displayname=Reality Vision
|spritetype=item
|nameid=reality_vision
|id=500
|form=item
|translationkey=item.realityVision.name
|foot=1}}

== History ==
{{History|java}}
{{History||1.RV-Pre1|[[File:Reality_Vision_(item).png|32px]] [[File:Reality Vision.png|32px]] Added reality vision.}}
{{History|foot}}

== Issues ==
Reality Vision is an unsupported item due to being an [[Wikipedia:April Fools' Day|April Fools']] joke, and therefore such issues relating to them will not be fixed.

== Trivia ==
* [[Sign]]s display the text "OBEY" while equipped, a reference to the movie [[wikipedia:They Live|''They Live'']].

== Gallery ==

<gallery>
Sign2.png|The [[sign]] texture found in the game files.
OBEY.png|OBEY seen in a sign.
OBEY sign in 1.RV-Pre1..png|OBEY seen in a sign, but seen from a better perspective. 
TechGear.png|A [[player]] wearing reality vision, featured in this [[wikipedia:April Fools' Day|April Fools']] joke version.
</gallery>

{{Items}}
{{Jokes}}

[[Category:Non-renewable resources]]
[[Category:Joke items]]

[[pt:Visão da realidade]]
[[es:Reality Vision]]</li><li>[[String|String]]<br/>{{Block
| image = <gallery>
String JE2 BE2.png  | String
Tripwire (NESW).png | Tripwire
</gallery>
| extratext = View [[#Gallery|all renders]]
| transparent = Yes
| light = No
| tool = any
| renewable = Yes
| stackable = Yes (64)
| flammable = No
| lavasusceptible = No
}}
'''String''' is an item used in [[crafting]] recipes such as [[bow]]s, [[fishing rod]]s and [[lead]]s. When placed as a [[block]], string becomes '''tripwire''', which can be combined with [[Tripwire Hook|tripwire hooks]] to form a tripwire circuit.

== Obtaining==
String can be obtained from [[drop]]s, breaking [[cobweb]]s, [[fishing]], [[bartering]], and as gifts from [[cat]]s. String can be looted from [[jungle temple]]s, [[desert pyramid]] chests, and [[dungeon]]s.

===Breaking ===
Tripwire can be {{control|mine|text=mined}} instantly with any [[tool]], dropping string. Tripwire is also removed and drops string as an [[item]] when:
*[[Water]] flows into its space
* A [[piston]] pushes it or moves a [[block]] into its space
Tripwire is destroyed without dropping string if [[lava]] flows into its space.

A [[cobweb]] drops string when it is broken in these ways (see also {{section link|Cobweb|Usage}}):
*Breaking a cobweb with a [[sword]]
*Pushing a cobweb with a [[piston]]
*[[Water]] breaking a cobweb by flowing over it (flowing [[lava]] destroys cobwebs without leaving string)

===Natural generation===
Five pieces of tripwire generate naturally in every [[jungle temple]]. 

===Mob loot ===
[[Spider]]s and [[cave spider]]s drop 0–2 string upon death. The maximum is increased by 1 per level of [[Looting]], for a maximum of 0–5 string with Looting III.

[[Strider]]s drop 2–5 string upon death. The maximum is increased by 1 per level of [[Looting]], for a maximum of 2–8 string with Looting III.{{only|Java|short=1}}

[[Cat]]s drop 0–2 string upon death, unaffected by Looting.<ref>{{bug|MC-200707||Looting does not increase drops for iron golems and cats}}</ref>

===Chest loot===
{{LootChestItem|string}}

===Fishing===
String has a 0.6% ({{frac|3|500}}) chance of being caught when [[fishing]] with an unenchanted fishing rod. The chance decreases to 0.5% ({{frac|1|200}}), 0.4% ({{frac|1|250}}), and 0.3% ({{frac|3|1000}}) if the fishing rod is enchanted with [[Luck of the Sea]] at enchantment levels I, II, and III, respectively.

===Cat gifts===
{{main|Cat#Gifts}}

Tamed [[cat]]s have a 70% chance of giving the [[player]] a gift when they wake up from a [[bed]], and the gift has a 16.13% chance to be a string.

===Bartering ===
[[Piglin]]s may [[barter]] 3-9 string when given a [[gold ingot]].

== Usage==
String can be used as a crafting ingredient and tripwire can be used as a [[redstone circuit]] component. It can also be used to keep [[player]]s from ender-pearling through that space.

=== Crafting ingredient===
{{crafting usage}}

===Redstone component===
{{redirect|Tripwire|tripwire hooks|Tripwire Hook}}
{{see also|Redstone circuits}}

String can be placed as tripwire, which can be used to detect [[entity|entities]] as part of a tripwire circuit. [[Observer]]s can also be used with a tripwire to generate redstone signals. 

;Placement

To place tripwire, {{control|use}} string while pointing at a surface facing the space the tripwire should occupy.

{{Schematic | caption =
'''Tripwire Circuit'''
|SB|th-$w|tw-$ew|th-$e|SB
}}
:In order to activate [[tripwire hook]]s, tripwire must be part of a "tripwire circuit": a straight line of [[block]]s consisting of a block with a tripwire hook attached to it, a "tripwire line" (1 to 40 blocks of tripwire), and a second tripwire hook attached to another block. 

;Activation
Tripwire activates if almost any [[entity]] ([[player]]s, [[mob]]s, [[minecart]]s, [[boat]]s, [[item]]s, [[arrow]]s, etc.) intersects its collision mask. The tripwire remains active until there are no entities intersecting its collision mask. Thrown [[potion]]s, some arrows, thrown [[ender pearl]]s, and thrown [[eyes of ender]] do not activate tripwire.

;Behavior
An active tripwire updates adjacent [[block]]s (for example, it can activate a [[Tutorials/Block update detector|BUD circuit]]). Additionally, active tripwires that are part of valid tripwire circuits cause the attached tripwire hooks to activate (producing [[redstone]] power). Active tripwires do ''not'' themselves produce redstone power.

When tripwire is broken (including by being washed away by spreading [[water]] {{in|java}}) after being part of a valid tripwire circuit, it activates the attached tripwire hooks for 5 redstone ticks (10 game [[tick]]s, or 0.5 seconds barring lag). It does not produce the signal if it is broken using [[shear]]s.

===Trading===
Novice-level fisherman [[villager]]s have a 50% chance to buy 20 string as part of their first-tier trade.

Journeyman-level fletcher villagers buy 14 string for 1 [[emerald]] as part of their trade.

==Sounds==
=== Generic===
{{Sound table/Block/Normal}}

===Unique===
{{edition|java}}:
{{Sound table
|rowspan=3
|sound=Click.ogg
|subtitle=Tripwire attaches
|source=block
|description=When a tripwire line is completed
|id=block.tripwire.attach
|translationkey=subtitles.block.tripwire.attach
|volume=0.4
|pitch=0.7
|distance=16}}
{{Sound table
|subtitle=Tripwire clicks
|source=block
|description=When a tripwire line deactivates
|id=block.tripwire.click_off
|translationkey=subtitles.block.tripwire.click
|volume=0.4
|pitch=0.5
|distance=16}}
{{Sound table
|subtitle=Tripwire clicks
|source=block
|description=When a tripwire line activates
|id=block.tripwire.click_on
|translationkey=subtitles.block.tripwire.click
|volume=0.4
|pitch=0.6
|distance=16}}
{{Sound table
|sound=Arrow hit1.ogg
|sound2=Arrow hit2.ogg
|sound3=Arrow hit3.ogg
|sound4=Arrow hit4.ogg
|subtitle=Tripwire detaches
|source=block
|description=When a tripwire hook in a tripwire line is destroyed
|id=block.tripwire.detach
|translationkey=subtitles.block.tripwire.detach
|volume=0.4
|pitch={{frac|12|11}}-{{frac|4|3}}
|distance=16
|foot=1}}

{{edition|bedrock}}:
{{Sound table
|type=bedrock
|rowspan=3
|sound=Click.ogg
|source=block
|description=When a tripwire line is completed
|id=block.click
|volume=0.2
|pitch=0.7}}
{{Sound table
|type=bedrock
|source=block
|description=When a tripwire line deactivates
|id=random.click
|volume=0.2
|pitch=0.5}}
{{Sound table
|source=block
|description=When a tripwire line activates
|id=random.click
|volume=0.2
|pitch=0.6}}
{{Sound table
|sound=Arrow hit1.ogg
|sound2=Arrow hit2.ogg
|sound3=Arrow hit3.ogg
|sound4=Arrow hit4.ogg
|source=block
|description=When a tripwire hook in a tripwire line is destroyed
|id=block.bowhit
|volume=0.4
|pitch=1.1-1.33
|foot=1}}

==Data values==
===ID===
{{edition|java}}:
{{ID table
|edition=java
|showblocktags=y
|showforms=y
|generatetranslationkeys=y
|displayname=Tripwire
|spritetype=block
|nameid=tripwire
|blocktags=wall_post_override
|form=block}}
{{ID table
|displayname=String
|spritetype=item
|nameid=string
|form=item
|foot=1}}

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showaliasids=y
|showforms=y
|generatetranslationkeys=y
|displayname=Tripwire
|spritetype=block
|nameid=trip_wire
|aliasid=tripWire
|id=132
|form=block
|itemform=trip_wire
|translationkey=tile.tripWire.name}}
{{ID table
|displayname=String
|spritetype=item
|nameid=string
|id=326
|form=item
|foot=1}}

===Block states===
{{see also|Block states}}

{{/BS}}

==Video==
<div style="text-align:center">
<span style="display:inline-block">{{yt|WUlhmu3JbcQ}}</span>
<span style="display:inline-block">{{yt|-7jEtrETxwc}}</span>
</div>

==History==
{{History|java indev}}
{{History||0.31|snap=20100129|[[File:String JE1 BE1.png|32px]] Added string.}}
{{History|||snap=20100130|[[Bow]]s can now be [[crafting|crafted]] using string.}}
{{History|||snap=20100201-2|[[Wool|Cloth]] can now be crafted using nine string.}}
{{History||20100219|[[Spider]]s now [[drops|drop]] string.}}
{{History|java infdev}}
{{History||20100625-2|String can now be found inside [[chest]]s in the new [[dungeon]]s.}}
{{History|java alpha}}
{{History||v1.1.1|String can now be used to craft [[fishing rod]]s.}}
{{History|java beta}}
{{History||1.5|Introduced [[cobweb]]s, which [[drops|drop]] string when [[breaking|broken]] with a [[sword]].}}
{{History||1.6.6|Wool is now crafted from four string rather than nine.}}
{{History||1.7|Cobwebs now drop string when broken using [[shears]].}}
{{History||1.8|snap=Pre-release|Cobwebs now generate naturally, making them a viable method to obtain string.}}
{{History|java}}
{{History||May 28, 2012|link=none|Tripwire was first revealed on [[Dinnerbone]]'s [[wikipedia:Twitter|Twitter]].<ref>{{tweet|Dinnerbone|207154562711289856|It's a tripwire, yeah.|May 28, 2012}}</ref><ref>{{tweet|Dinnerbone|207155073023868928|You place it yourself. String is now placeable|May 28, 2012}}</ref> Dinnerbone released a [{{ytl|mWuvXIzYcTc}} video] showing him experimenting with tripwire before its release.}}
{{History||1.3.1|snap=12w22a|String can now be placed on the ground as tripwire.}}
{{History|||snap=12w23a|Tripwire can now activated by most [[entity|entities]] (including [[arrow]]s).
|The max distance of tripwire has now been increased from 18 to 40 [[block]]s.
|Tripwire now has a translucent texture.}}
{{History||1.6.1|snap=13w18a|String can now be used to craft [[lead]]s.}}
{{History||1.8|snap=14w02a|String can now be [[trading|sold]] to fletcher and fisherman [[villager]]s, at 15–20 string for 1 [[emerald]].}}
{{History|||snap=release|Tripwire is now translucent.}}
{{History||1.9|snap=15w44a|String now generates in [[desert temple]] [[chest]]s.
|The average yield of string in [[dungeon]] chests has now more than doubled.}}
{{History|||snap=15w49a|The <code>suspended</code> block state has now been removed from tripwire.}}
{{History||1.11|snap=16w39a|String can now be found in [[woodland mansion]] [[chest]]s.}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], this [[block]]'s numeral ID was 132 and the [[item]]'s was 287.
|Tripwire can now be disarmed.}}
{{History||1.14|snap=18w43a|String can now be used to craft [[crossbow]]s and a [[loom]].
|[[File:String JE2 BE2.png|32px]] The texture of string has now been changed.}}
{{History|||snap=18w44a|[[Cat]]s now drop 0-2 string upon death.
|Cats now offer string as [[Cat#Gifts|gift]]s.}}
{{History|||snap=18w45a|String can now be used to craft [[scaffolding]].}}
{{History|||snap=18w47a|String can now be found inside [[pillager outpost]] [[chest]]s.}}
{{History||1.16|snap=20w09a|String can now be obtained through [[bartering]] with [[piglin]]s.}}
{{History|||snap=20w13a|[[Strider]]s now [[drops|drop]] string upon [[death]].}}
{{History|||snap=20w16a|String now generates in [[bastion remnant]] chests.}}
{{History||1.17|snap=20w45a|String can now be used to craft [[bundle]]s and [[candle]]s.}}
{{History|||snap=21w13a|The model of the tripwire has been tweaked that the underside texture is mirrored.}}
{{History|||snap=21w19a|String can no longer be used to craft bundles and candles.}}
{{History|||snap=Pre-release 1|String can once again used to craft candles.}}
{{History||1.18|snap=Experimental Snapshot 1|String can now once again be used to craft bundles.}}
{{History|||snap=21w37a|String once again can no longer be used to craft bundles.}}
{{History||1.20<br>(Experimental)|link=1.19.3|snap=22w42a|String can now once again be used to craft bundles.}}
{{History||1.20<br>(Experimental)|link=1.19.4|snap=23w07a|String can now be used to craft [[brush]]es.}}
{{History|||snap=1.19.4-pre1|String can no longer be used to craft [[brush]]es.}}
{{History||1.20|snap=23w12a|String can now be found in [[suspicious gravel]] and [[suspicious sand]] in [[trail ruins]].}}
{{History|||snap=23w16a|String no longer generates in [[suspicious sand]] in [[trail ruins]].|Due to the split of the archaeological loot tables for the suspicious gravel within the [[trail ruins]]; string now is in the common loot.}}

{{History|pocket alpha}}
{{History||v0.2.0|[[File:String JE1 BE1.png|32px]] Added string. It is currently unobtainable and serves no purpose.}}
{{History||v0.3.3|Added spiders, which drop string when they die.
|String can now be used to [[crafting|craft]] [[bow]]s.}}
{{History||v0.4.0|String can now be crafted into [[wool]].}}
{{History||v0.11.0|snap=build 1|String can now be used to craft [[fishing rod]]s.
|String can now be caught as a junk [[item]] from [[fishing]].}}
{{History||v0.13.0|snap=build 1|String can now be placed on the ground as a tripwire.
|String can now be found in [[desert temple]] [[chest]]s.}}
{{History||v0.15.0|snap=build 1|String can now be used to craft [[lead]]s.
|Tripwire now generates in [[jungle temple]]s.}}
{{History|pocket}}
{{History||1.0.4|snap=alpha 1.0.4.0|15-20 String can now be [[trading|sold]] to fletcher and fisherman [[villager]]s for an [[emerald]].}}
{{History||1.1.0|snap=alpha 1.1.0.0|String can now be found in [[woodland mansion]] [[chest]]s.
|[[Cobweb]]s can now be used to [[crafting|craft]] 9 string.}}
{{History|bedrock}}
{{History||1.8.0|snap=beta 1.8.0.8|Tamed [[cat]]s can now give the [[player]] string as gifts.
|String can now be used to craft [[scaffolding]].
|[[Cat]]s now [[drops|drop]] 0–2 string.}}
{{History|||snap=beta 1.8.0.10|String can now be used to craft [[crossbow]]s.}}
{{History||1.9.0|snap=beta 1.9.0.0|Tripwire string that is broken now activates, unless broken with [[shears]].}}
{{History||1.10.0|snap=beta 1.10.0.3|String can now be found in [[pillager outpost]] chests.
|String can now be used to craft a [[loom]].
|[[File:String JE2 BE2.png|32px]] The texture of string has now been changed.}}
{{History||1.11.0|snap=beta 1.11.0.4|[[Trading]] has now been changed, fisherman [[villager]]s now have a 50% chance to [[trading|buy]] 20 string as part of their first-tier trade.
|Fletcher villagers now buy 14 string for an [[emerald]] as their third-tier trade.}}
{{History||1.16.0|snap=beta 1.16.0.57|String can now be obtained through [[bartering]] with [[piglin]]s.
|Added [[strider]]s, which [[drops|drop]] string upon [[death]].
|String can now be found in [[bastion remnant]] chests.}}
{{History||1.17.10|snap=beta 1.17.10.22|String can now be used to craft [[candles]].}}
{{History||1.18.30|snap=beta 1.18.30.26|The ID of tripwire block is changed from <code>tripWire</code> to <code>trip_wire</code>}}
{{History||1.20.10|snap=beta 1.20.10.20|String can no longer be crafted from cobwebs.}}

{{History|console}}
{{History||xbox=TU1|xbone=CU1|ps=1.0|wiiu=Patch 1|switch=1.0.1|[[File:String JE1 BE1.png|32px]] Added string.}}
{{History||xbox=TU14|ps=1.04|String can now be placed on the ground as [[tripwire]].}}
{{History||xbox=none|xbone=none|ps=1.88|wiiu=none|switch=none|Tripwires are now activated when [[breaking|broken]], unless broken with [[shears]].}}
{{History||xbox=none|xbone=none|ps=1.90|wiiu=none|switch=none|[[File:String JE2 BE2.png|32px]] The texture of string has now been changed.}}

{{History|new 3ds}}
{{History||0.1.0|[[File:String JE1 BE1.png|32px]] Added string.}}
{{History|foot}}

===Tripwire "item"===
{{:Technical blocks/Tripwire}}

== Issues ==
{{Issue list}}

== Gallery ==
<gallery>
Tripwire (NS).png|
Tripwire (N).png|
Tripwire (E).png|
Tripwire (S).png|
Tripwire (W).png|
Tripwire (EW).png|
Tripwire (NE).png|
Tripwire (ES).png|
Tripwire (SW).png|
Tripwire (NW).png|
Tripwire (ESW).png|
Tripwire (NSW).png|
Tripwire (NEW).png|
Tripwire (NES).png|
</gallery>

=== Screenshots ===
<gallery>
DinnerboneTripwireDev3.png|The first image of tripwires [[dinnerbonetweet:207154292593917952|released]] by Mojang.
DinnerboneTripwireDev4.png|An image [[dinnerbonetweet:207294114398605312|released]] by Mojang testing visibility of tripwires from a distance at night.
DinnerboneTripwireDev5.png|The same room viewed from the same angle, in daytime.
Dinnerbone String.png|Power lines made of suspended string blocks.
</gallery>

==References==
{{Reflist}}

== External Links ==
*[https://www.minecraft.net/en-us/article/taking-inventory--string Taking Inventory: String] – Minecraft.net on May 14, 2020

{{Redstone}}
{{Items}}
{{Blocks|Utility}}

[[Category:Redstone mechanics]]
[[Category:Mechanics]]
[[Category:Mechanisms]]
[[Category:Generated structure blocks]]
[[Category:Non-solid blocks]]

[[cs:Vlákno]]
[[de:Faden]]
[[es:Hilo]]
[[fr:Ficelle]]
[[hu:Fonál]]
[[it:Cordicella]]
[[ja:糸]]
[[ko:실]]
[[nl:Draad]]
[[pl:Nić]]
[[pt:Linha]]
[[ru:Нить]]
[[th:เส้นใย]]
[[uk:Нитка]]
[[zh:线]]</li></ul>
Added Survival mode.
0.3.0
{{Extension DPL}}<ul><li>[[Heart of the Sea|Heart of the Sea]]<br/>{{Item
| image = Heart of the Sea.png
| stackable = Yes (64)
| rarity = Uncommon
| renewable = No
}}

A '''heart of the sea''' is a rare [[item]] that can be crafted into a [[conduit]].

== Obtaining ==
The heart of the sea must be found. It cannot be crafted or obtained by trading, making it a [[non-renewable resource]].

A heart of the sea is obtained from a [[buried treasure]]. The location is marked with a noticeable red X on a [[Explorer Map|buried treasure map]], which is found in [[Ocean_Ruins|ocean ruins]] and [[Shipwreck|shipwrecks]]. Feeding [[raw cod]] or [[raw salmon]] to a [[dolphin]] causes the dolphin to swim toward the nearest [[buried treasure]], [[shipwreck]], or [[ocean ruins]].

=== Chest loot ===

{{LootChestItem|heart-of-the-sea}}

== Usage ==
=== Crafting===

{{crafting usage}}

== Data values ==
=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|showforms=y
|generatetranslationkeys=y
|displayname=Heart of the Sea
|spritetype=item
|nameid=heart_of_the_sea
|form=item
|foot=1}}

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Heart of the Sea
|spritetype=item
|nameid=heart_of_the_sea
|id=571
|form=item
|foot=1}}

== History ==

{{History|java}}
{{History||1.13|snap=18w15a|[[File:Heart of the Sea JE1 BE2.png|32px]] Added heart of the sea.}}
{{History|||snap=18w19a|Heart of the sea now generates in all [[buried treasure]] [[chest]]s in a stack of 1.}}

{{History|bedrock}}
{{History||1.4.0|snap=beta 1.2.14.2|An entry in the [[buried treasure]] loot table has been added named <code>nautilus_core</code>. It is unobtainable though since the <code>nautilus_core</code> has not been added into the game yet.}}
{{History|||snap=beta 1.2.20.1|[[File:Heart of the Sea BE1.png|32px]] Added heart of the sea as an [[item]] obtainable in buried treasure [[chest]]s. It cannot be used to craft [[conduit]]s yet.}}
{{History|||snap=beta 1.2.20.2|[[File:Heart of the Sea JE1 BE2.png|32px]] The texture of heart of the sea has been changed.}}
{{History||1.5.0|snap=beta 1.5.0.1|Heart of the sea can now be used to craft [[conduit]]s.}}

{{History|console}}
{{History||xbox=TU69|ps=1.76|wiiu=Patch 38|[[File:Heart of the Sea JE1 BE2.png|32px]] Added heart of the sea.}}

{{History|education}}
{{History||1.4.0|[[File:Heart of the Sea JE1 BE2.png|32px]] Added heart of the sea. It generates in all [[buried treasure]] [[chest]]s in a stack of 1.}}
{{History|foot}}

== Issues ==
{{issue list}}

== Trivia ==
* Before the heart of the sea was added to {{el|be}}, there was an entry found in the buried treasure chest loot table named <code>nautilus_core</code>, which was later revealed to be the heart of the sea. Despite the name change, the heart of the sea continues to be referred to as the <code>nautilus_core</code> in most game files.

== External Links ==
*[https://www.minecraft.net/en-us/article/heart-sea Taking Inventory: Heart of the Sea] – Minecraft.net on August 31, 2023

{{items}}

[[Category:Non-renewable resources]]

[[de:Herz des Meeres]]
[[fr:Cœur de la mer]]
[[es:Corazón del mar]]
[[it:Cuore del mare]]
[[ja:海洋の心]]
[[ko:바다의 심장]]
[[nl:Hart van de zee]]
[[pl:Serce oceanu]]
[[pt:Coração do mar]]
[[ru:Сердце моря]]
[[uk:Серце моря]]
[[zh:海洋之心]]</li><li>[[Tag (item)|Tag (item)]]<br/>{{About|the April Fools item|the standard item used to rename mobs|Name Tag}}
{{wip}}
{{joke feature}}
{{exclusive|java}}
{{Item
| title = Tag
| image = Tag.png
| renewable = Yes
| stackable = Yes (64)
}}
Tags and Bits are items exclusive to the [[Java Edition 23w13a or b|23w13a_or_b]] [[Easter eggs#April Fools|April Fools' joke]] snapshot from 2023. They are used to craft in-game representations of [[NBT format|NBT tags]].

==Obtaining==
A [[stonecutter]] can be used to cut a [[Name Tag|name tag]] into either 16 "Name" or 16 "Tag" items. These can be cut into 16 Bit items each.

{{Stonecutting
|head=1
|showdescription=1
|Name Tag
|Name, 16; Tag, 16
|description=The resulting "Name" items must be named in an [[anvil]].
}}
{{Stonecutting
|showdescription=
|Name; Tag
|Bit, 16
|foot=1
}}

To be able to proceed from here the <code>nbt_crafting</code> vote must be approved. Bits can be used in a crafting table to craft Left Curly, Right Curly, Left Square, and Right Square. In appears like these are the only tag items that can be crafted from Bits.

A [[Crafting Table|crafting table]] can be used to convert a "Tag" item into a "Byte Tag." The amount of [[stick]]s added to the crafting recipe specifies the value of the Byte, as a [[wikipedia:Signed number representations#Two's complement|signed 8-bit value]]. For example, a "Tag" and a full stack of sticks make a Byte with the value <code>64b</code>, while 255 sticks result in <code>-1b</code>. Only one of the sticks is consumed. Two Bytes can be crafted into a "Short Tag" (equivalent to 16 bit), two Shorts into an "Int Tag" (equivalent to 32 bit), and two Ints into a "Long Tag" (equivalent to 64 bit). Many other combinations that form either 16, 32, or 64 bit are possible. For example, two Shorts and an Int make a Long. When combining values, their digits are stuck together in the given order, e.g. <code>1b</code> and <code>0b</code> make <code>256s</code> (equivalent to 0100<sub>16</sub> in [[wikipedia:Hexadecimal|hexadecimal]]). Undoing any of these crafting actions in e.g. a stonecutter is not possible.

"Float" and "Double Tags" can be crafted by adding one or two [[boat]]s to any numeric tag. A "String Tag" is crafted with a "Tag" and a piece of [[string]].

{{Crafting
|head=1
|showdescription=1
|A1= Bit;    ; Bit; Bit |B1=    ; Bit; Bit; Bit
|A2=    ; Bit; Bit;     |B2= Bit;    ;    ; Bit
|A3= Bit;    ; Bit; Bit |B3=    ; Bit; Bit; Bit
|Output= Right Curly; Left Curly; Left Square; Right Square
|ignoreusage=1
}}
{{Crafting
|Tag
|String
|Output= String Tag
|description=String tags must be named in an [[anvil]] to set their value.
|ignoreusage=1
}}
{{Crafting
|Tag; Tag;   Tag
|;    Stick; Stick, 64
|;    ;      Stick, 63
|Output= Byte Tag; Byte Tag; Byte Tag
|description=Only 1 stick is consumed. 128 and more sticks make [[wikipedia:Signed number representations#Two's complement|two's complements]]:
128 sticks = <code>-128b</code><br>
129 sticks = <code>-127b</code><br>
⋮<br>
254 sticks = <code>-2b</code><br>
255 sticks = <code>-1b</code>
|ignoreusage=1
}}
{{Crafting
|Byte Tag; Byte Tag; Byte Tag
|Byte Tag; Byte Tag; Byte Tag
|        ; Byte Tag; Byte Tag
|        ; Byte Tag; Byte Tag
|        ;         ; Byte Tag
|        ;         ; Byte Tag
|        ;         ; Byte Tag
|        ;         ; Byte Tag
|Output= Short Tag; Int Tag; Long Tag
|description=Shorts and Ints can be combined the same way, even mixed.

Digits are appended, e.g. two <code>1b</code> tags make <code>257b</code> (0101<sub>16</sub> in [[wikipedia:Hexadecimal|hexadecimal]]).
|ignoreusage=1
}}
{{Crafting
|Byte Tag; Short Tag; Int Tag; Long Tag
|Any Boat; Any Boat; Any Boat; Any Boat
|Output= Float Tag; Float Tag; Float Tag; Float Tag
|ignoreusage=1
}}
{{Crafting
|Byte Tag; Short Tag; Int Tag; Long Tag
|Any Boat; Any Boat; Any Boat; Any Boat
|Any Boat; Any Boat; Any Boat; Any Boat
|Output= Double Tag; Double Tag; Double Tag; Double Tag
|ignoreusage=1
}}
{{Crafting
|Left Curly;  Left Curly
|Name;        Name
|Byte Tag;    Byte Tag
|Right Curly; Name |; Byte Tag | |; Name |; Byte Tag |; Right Curly
|Output= Compound Tag; Compound Tag
|description=Instead of Bytes any other tag can be used, including other compound tags.
|ignoreusage=1
}}
{{Crafting
|Left Square;  Left Square
|Byte Tag;     Byte Tag
|Right Square; Byte Tag |; Byte Tag |; Byte Tag |; Byte Tag |; Byte Tag |; Byte Tag |; Right Square
|Output= List Tag; List Tag
|description=Instead of Bytes any other tag can be used, including other list tags.
|ignoreusage=1
}}
{{Crafting
|Compound Tag; List Tag
|Compound Tag; List Tag
|Output= Compound Tag; List Tag
|description=Up to 9 can be combined.

When compound tags contain identical names, only the latest of the corresponding values is used.
|ignoreusage=1
|foot=1
}}

"Name" and "String Tags" must be named in an [[anvil]] before they can be used. Unnamed Names and Strings always produce a "Sssyntax Error". None of the other tag items can be named.

All these items can be combined in a crafting table to form a short sequence of JSON code, as long as the resulting syntax is valid. For example: 
*A pair of Curlies that enclose a named "Name" item and some value, e.g. a Byte, create a "Compound Tag" with the content <code>{Example:0b}</code>.
**Because of the limited size of the crafting table only 3 name-value pairs can be put between Curlies at a time. Compound Tags of any length can be created by concatenating two or more Compound Tags.
**An empty pair of Curlies produces an empty Compound Tag with the content <code>{}</code>.
*A pair of Square brackets that enclose any number of values, e.g. 7 Bytes, create a "List Tag" with the content <code>[0b,0b,0b,0b,0b,0b,0b]</code>.
**Because of the limited size of the crafting table only 7 values can be put between Square brackets at a time. List Tags of any length can be created by concatenating two or more List Tags.
**An empty pair of Square brackets produces an empty List with the content <code>[]</code>.
**"Name" items cannot be used in a List.

The resulting Compound and List Tags can be used as values in other Compound and List Tags, as deeply nested as you want.

==Usage==
Tags appear to have no further functionality. They cannot be eaten or placed in the world, except in an item frame, as each other item can. However, Compound Tags with values like <code>{Enchantments:[{id:"minecraft:sharpness",lvl:127b}]}</code> will show the [[Enchanting|enchantment]] glint and actually act accordingly when used.<ref>https://www.reddit.com/r/Minecraft/comments/129xdyl/i_figure_out_how_the_nbtcrafting_in_the_vote/</ref> This appears to work with many weapon and tool [[Enchanting#Summary of enchantments by item|enchantments]].

In theory, an extremely lucky <code>replace_recipe_output</code> vote can change the crafting recipe for compound tags to output something else. When cheats are enabled you can test this with a command like <code>/vote rule minecraft:replace_recipe_output approve {key:"minecraft:compound_tag",value:"minecraft:netherite_sword"}</code>. However, as long as this vote is approved no other compound tag can be crafted. Use <code>/vote rule minecraft:replace_recipe_output repeal *</code> to undo all recipe replacements.

In combination with the <code>midas_touch</code> vote tag items can be converted into [[Gold Ingot|gold ingots]]. These retain their NBT data. When the world is loaded in another version of the game tag items disappear, but gold ingots persist.

==Trivia==
*This implies that a [[Name Tag|name tag]] is 128 bit.
*Compound and list tags are special in so far that the value they show in their [[tooltip]] is not merely a property of the item, but their ''actual'' [[NBT format|NBT data]]. This is also the reason why naming them is disabled as that would mess up the NBT data.
*The snapshot also contains an [[History of textures/Unused textures|unused texture]] for an {{ItemLink|End Tag}}.

==History==
{{History|java}}
{{History||23w13a_or_b|[[File:Tag.png|32px]] Added tags.}}
{{History|foot}}

==Gallery==
<gallery>
Tag.png|Tag
Bit.png|Bit
Byte Tag.png|Byte Tag
Double Tag.png|Double Tag
End Tag.png|End Tag
Float Tag.png|Float Tag
Int Tag.png|Int Tag
Left Curly.png|Left Curly
Left Square.png|Left Sqaure
List Tag.png|List Tag
Long Tag.png|Long Tag
Name (23w13a or b).png|Name
Right Curly.png|Right Curly
Right Square.png|Right Square
Short Tag.png|Short Tag
Sssyntax Error.png|Sssyntax Error
String Tag.png|String Tag
</gallery>

== References ==
{{reflist}}

{{items}}
{{jokes}}

[[pt:Tag (item)]]
[[Category:Joke items]]</li></ul>
Crafting was introduced.
Legacy Console Edition
TU1CU1 1.0 Patch 1Added Survival mode.
Advertisement