Minecraft Wiki
Advertisement

A daylight detector[a] is a block that outputs a redstone signal based on sunlight.

Obtaining

Breaking

Daylight detectors can be broken fairly easily by hand, but can be broken faster by using an axe. Inverted daylight detectors cannot be collected directly; they drop a regular daylight detector. In Bedrock Edition the inverted sensor may be obtained via inventory editing or add-ons.‌[Bedrock Edition only]

Block Daylight Detector
Hardness 0.2
Tool
Breaking time[A]
Default 0.3
Wooden 0.15
Stone 0.1
Iron 0.05
Diamond 0.05
Netherite 0.05
Golden 0.05
  1. Times are for unenchanted tools as wielded by players with no status effects, measured in seconds. For more information, see Breaking § Speed.

Crafting

Ingredients Crafting recipe
Glass +
Nether Quartz +
Any wood Slab

Usage

Redstone component

Daylight sensor output clear

Graphed daylight detector output in clear weather.

See also: Redstone circuit

A daylight detector can be used to produce redstone power in proportion to the daylight or night time.

A daylight detector is 0.375 blocks high (3/8ths of a block). Daylight detectors can be moved by pistons.‌[Bedrock Edition only] Water and lava flows around daylight detectors without affecting them.

Placement
To place a daylight detector, use the "Use Item/Place Block" control.
A daylight detector can be "inverted", which reverses the power levels produced by the daylight detector. To invert a daylight detector, aim at the placed daylight detector and use the "Use Item/Place Block" control.
Activation
A daylight detector activates when exposed to sufficient daylight (daylight detector mode) or when exposure to daylight is low enough (inverted daylight detector mode).
Sources of block light (torches, glowstone, etc.) cannot activate a daylight detector.
Behavior
An active daylight detector:
A daylight detector has no effect on other adjacent blocks (for example, it cannot power a block the way a repeater can).
The output signal of daylight detectors in the loaded chunk is updated every 20 gametime‌[JE only]/daytime‌[BE only]. Block update have no effect on daylight detectors.

Daylight Detector

The daylight detector power level depends on the time of day, the weather, and the internal sky light level.

Daylight detector power levels when sky light level is 15
Power Clear Rain or Snowfall Thunder
Time ↓ Time ↑ Time ↓ Time ↑ Time ↓ Time ↑
0 13670–22330 13670–22330 13670–22330
1 22331–22781 13219–13669 22331–22798 13203–13669 22331–22943 13058–13669
2 22782–23069‌[JE only]/23070‌[BE only] 12931–13218 22799–23231 12769‌[JE only]/12770‌[BE only]-13202 22944–23352 12648–13057
3 23070‌[JE only]/23071‌[BE only]-23296 12705–12930 23232–23504 12497–12768‌[JE only]/12769‌[BE only] 23353–23700 12300–12647
4 23297–23529 12471–12704 23505–23745 12256–12496 23701–59 11941‌[JE only]/11942‌[BE only]-12299
5 23530–23767 12233–12470 23746–23991 12010–12255 60–441 11560–11940‌[JE only]/11941‌[BE only]
6 23768–23960 12041–12232 23992–394 11607–12009 442–1039 10962–11559
7 23961–166 11835–12040 395–882 11119–11606 1040–1735 10266–10961
8 167–535 11465‌[JE only]/11466‌[BE only]-11834 883–1429‌[JE only]/1430‌[BE only] 10571–11118 1736–2608 9392–10265
9 536–933 11067–11464‌[JE only]/11465‌[BE only] 1430‌[JE only]/1431‌[BE only]-2069 9931–10570 2609–3942 8059–9391
10 934–1371 10629–11066 2070–2875 9125‌[JE only]/9126‌[BE only]-9930 3943–8058
11 1372–1865 10136–10628 2876–4108 7892–9124‌[JE only]/7893–9125‌[BE only] N/A N/A
12 1866–2444 9557–10135 4109–7891‌[JE only]/7892‌[BE only] N/A N/A
13 2445–3175 8826–9556 N/A N/A N/A N/A
14 3176–4294 7706–8825 N/A N/A N/A N/A
15 4295–7705 N/A N/A N/A N/A

Inverted Daylight Detector

Using a daylight detector inverts it. However, the output of the inverted detector is not a simple inversion of the daylight detector's output; it uses a much simpler algorithm that depends only on the internal sky light level. Specifically, it outputs a signal strength of 15 minus the current internal sky light level, where values over 15 or below 0 are taken as 15 or 0 respectively. This means that an inverted daylight detector actually outputs a strength of 11 at midnight when it's clear weather, if it has line of sight with the sky. The effects of shade are applied before inverting, so shade increases the signal strength when it isn't already full, and prevents it from reaching zero.

The inverted daylight detector cannot be obtained as an item in Java Edition. Mining an inverted daylight detector simply drops a regular daylight detector.

Fuel

Daylight detectors can be used as a fuel in furnaces, smelting 1.5 items per block.

Note Blocks

Daylight detectors can be placed under note blocks to produce "bass" sound.

Sounds

Java Edition:

SoundSubtitlesSourceDescriptionResource locationTranslation keyVolumePitchAttenuation
distance
Block brokenBlocksOnce the block has brokenblock.wood.breaksubtitles.block.generic.break1.00.816
Block placedBlocksWhen the block is placedblock.wood.placesubtitles.block.generic.place1.00.816
Block breakingBlocksWhile the block is in the process of being brokenblock.wood.hitsubtitles.block.generic.hit0.250.516
None[sound 1]Entity-DependentFalling on the block with fall damageblock.wood.fallNone[sound 1]0.50.7516
FootstepsEntity-DependentWalking on the blockblock.wood.stepsubtitles.block.generic.footsteps0.151.016
  1. a b MC-177082

Bedrock Edition:

SoundSourceDescriptionResource locationVolumePitch
BlocksOnce the block has brokendig.wood1.00.8-1.0
BlocksWhen the block is placeddig.wood1.00.8
BlocksWhile the block is in the process of being brokenhit.wood0.230.5
PlayersFalling on the block with fall damagefall.wood0.41.0
PlayersWalking on the blockstep.wood0.31.0
PlayersJumping from the blockjump.wood0.121.0
PlayersFalling on the block without fall damageland.wood0.181.0

Data values

ID

Java Edition:

NameIdentifierFormTranslation key
Daylight Detectordaylight_detectorBlock & Itemblock.minecraft.daylight_detector
NameIdentifier
Block entitydaylight_detector

Bedrock Edition:

NameIdentifierNumeric ID FormTranslation key
Daylight Sensordaylight_detector151Block & Giveable Item[i 1]tile.daylight_detector.name
Inverted Daylight Sensordaylight_detector_inverted178Block & Ungiveable Item[i 2]tile.daylight_detector_inverted.name
  1. Available with /give command.
  2. Unavailable with /give command
NameSavegame ID
Block entityDaylightDetector

Metadata

See also: Data values

In Bedrock Edition, a daylight sensor's block data stores its power level:

Bits Values
0x1
0x2
0x4
0x8
Four bits storing a value from 0 to 15 representing the daylight sensor's current redstone power level.

Block states

See also: Block states

Java Edition:

Name Default value Allowed values Description
invertedfalsefalse
true
If true, the daylight detector is inverted.
power00
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
The current redstone power level produced by the daylight sensor.

Bedrock Edition:

NameMetadata Bits Default value Allowed valuesValues for
Metadata Bits
Description
redstone_signal0x1
0x2
0x4
0x8
00
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
The current redstone power level produced by the daylight sensor.

Block data

A daylight detector has a block entity associated with it which stores only its entity ID and position (the minimum data for a block entity). Although the daylight detector's block entity stores no additional data, the block entity ensures that the daylight detector is updated every game tick.

  • Block entity data
    • Tags common to all block entities

History

July 6, 2010Notch suggests that he may implement daylight sensors (in the blog post mentioning Alpha 1.0.2_01).
November 24, 2012Jeb stated that there may be a daylight sensor.
January 2, 2013Jeb tweeted an image of the daylight sensor.
Java Edition
1.5
{{Extension DPL}}<ul><li>[[Elytra|Elytra]]<br/>{{Item
| image = Elytra.png
| rarity = Uncommon
| renewable = No
| durability = 432
| stackable = No
}}
'''Elytra''' ({{Audio|ElytraPronunciation.mp3|/ˈɛl ɪ trə/|link2=''ᴇʟ-i-trə''}}<ref>“Elytron.” ''Merriam-Webster.com Dictionary'', Merriam-Webster, https://www.merriam-webster.com/dictionary/elytron. Accessed 22 May. 2022.</ref>)<!--"Elytra" is the plural of "elytron," a single half of a beetle's protective wing covers. Verbs should agree accordingly (e.g. "Elytra allow flight"). https://www.merriam-webster.com/dictionary/elytron--> are rare wings found in [[end ship]]s that are a source of flight in [[Survival]] mode.

== Obtaining ==
=== Natural generation ===
Elytra are found only in [[end city|end cities]] in [[item frame|item frames]] in the treasure room of the [[end ship]]. A [[shulker]] guards the elytra and the ship's two loot chests.

=== Repairing ===

Elytra can be enchanted with [[Mending]] so that they get [[Item repair|repaired]] as the player collects [[experience]] orbs while wearing/holding them.

Elytra can also be repaired in the player crafting grid, by combining two damaged pairs of elytra together. 

{{crafting
|showname=0
|showdescription=1
|ignoreusage=1
|Damaged Elytra
|Damaged Elytra
|Output= Elytra
|description= The durability of the two pairs is added together, plus an extra 5% durability, but removes any enchantments.
|type= Transportation
}}

Similarly, two damaged elytra pairs can be combined on a [[grindstone]].

{{Grinding
|showdescription=1
|ingredients=2x Damaged [[Elytra]]
|Damaged Elytra
|Damaged Elytra
|Elytra
|description=The durability of the two pairs is added together, plus an extra 5% durability, but removes any enchantments.
}}

Elytra can also be repaired at an anvil using [[phantom membrane]]s, which has the advantage that it preserves [[enchantments]] on elytra. Each phantom membrane restores 108 durability points, exactly 25% of the elytra's total durability. 

{| class="wikitable" data-description="Repairing elytra"
! scope="col" style="width:64px;" | Name
! Ingredients
! [[Anvil]] usage
|-
! scope="row" style="text-align: center;" | '''Elytra'''
| [[Elytra]] +<br>[[Phantom Membrane]]
| style="width: 260px; padding: 1px;" | {{Anvil| title = Elytra|Input1=Damaged Elytra|Input2=Phantom Membrane, 2|Output=Elytra}}
|-
|}
Each repair on the anvil, however, also increases the [[Anvil mechanics|prior work]] penalty for the Elytra, making every subsequent repair increasingly expensive and eventually reaching an upper limit where repairs are no longer allowed because they are "too expensive" (even if the player has many xp levels to spare). However, the prior work penalty can be reset to 0 for an enchanted elytra pair when it is disenchanted on a grindstone. Unenchanted elytra cannot be used on the grindstone alone.

== Usage ==
[[File:Steve in elytra.png|75px]] [[File:Alex in elytra.png|75px]]

Elytra are equipped in the [[chestplate]] slot, either by placing the item directly in the slot, by pressing {{ctrl|use item}} while [[hotbar|held in hand]], or by firing a point-blank [[dispenser]] at a target. They are gray in color by default, but they adopt the design of any [[cape]] the player is wearing. They maintain their in-world texture design even when they're [[#Repair|broken]] or [[enchanted]].

=== Flying ===
To fly, the player must press the {{ctrl|jump}} key while falling, and the elytra spread apart like a beetle's elytra. The player can aim their view around to turn or adjust their pitch. Losing altitude increases speed, and gaining altitude decreases speed. [[Firework rocket]]s can be used to increase speed. Additionally, speed is quickly lost from sharp changes in direction.

Directly hitting any surface while gliding too fast causes damage to the player and their armor proportional to flight speed (although this may be calculated from another factor). When a player dies in this way, they receive the [[death messages|death message]] "'''<player> experienced kinetic energy'''". The player does not take [[fall damage]] from colliding at a shallow angle or a low enough speed. The critical, damaging angle is about 50° with the collision surface, and the calculation for damage seems to be as if the player had fallen from their maximum potential glide height to the height of the struck surface. 

A safe and simple cruise with the highest travel distance can be achieved by aiming directly at the horizon while at the glide's altitude limit. The player's speed is slow enough to allow them time to do other things during a long flight, like sort out their inventory.

In [[Creative]] mode or when the "mayfly" [[ability]] has been given, the player can alternatively hold the {{ctrl|jump}} key to fly up,{{only|bedrock}} or double press the jump key to move around freely. 

Flight can be stopped by pressing the [[jump]] key.{{only|bedrock}} 

==== Speed and altitude ====
Elytra have a minimum speed of about 7.2 m/s (obtained by gliding at the altitude cap with a strong upward pitch of 30°). If the diver drops to 0 speed, they quickly get accelerated back up to at least this minimum. The diver can increase speed by choosing to descend faster, but afterward, they do not regain nearly as much altitude. In the real world, drag increases with speed, and drag, in turn, slows the aircraft; Minecraft mimics this. To glide from cliff to cliff, a player's best bet is to aim slightly above the horizon.

Sharp turns are a fast way to lose speed. Quicker turns cause greater losses, while gentle movements have small effects. Making a hairpin turn can actually be used for making high-speed landings safe as well as for precise landings on small targets like rooftops. The player aims to glide just above the target, then as they're right over it they immediately reverse directions, then they make readjustments as necessary.

The lowest rate of altitude loss is about 1.5 m/sec, obtained by gliding at the altitude cap with a slight upward pitch (12° or 15°).

To get the best possible glide ratio (and thus the furthest distance out of their altitude), the diver pilot should aim directly at the horizon. This ratio is about 9.47 to 1.

[[Slow Falling]] potions greatly decrease the player's vertical (fall) speed, which also greatly decreases their ''horizontal'' speed (clearly, it depends on the vertical fall rate, as one might expect from flight modeling). The net result is that the player flies extremely slowly - but their Elytra still takes durability damage at the usual rate (1 durability per second without Unbreaking, etc.). Due to this combination, Elytra plus Slow Falling is largely a novelty that most players won't use. The [[Feather Falling]] enchantment does not affect Elytra speed and does not reduce fall damage from hitting things with elytra.

It is possible to calculate the glide range by dividing the altitude by tan of the glide angle (altitude/tan(glide angle)). For example, if the player glides from an altitude of 64 blocks above ground with a glide angle of 15 degrees, they can glide for 237 blocks (assume that they are on superflat), since floor(64 / tan(15)) is 237.

==== Stalling ====
Trying for too high a pitch reduces the player's lift. At a pitch of 30° above the horizon, the player has the lowest possible airspeed of 7.2 m/sec. Above that, the player might be considered to be in a stall. Increasing the pitch gets closer to a free-fall, and stalled flight at 60° is enough to cause fall damage. Stalling at 90° is a true free-fall.

Recovering from a stall is done by readjusting to any safe pitch as quickly as the player likes. This can be just changing to look at the horizon.

==== Powered flight ====
{{fakeImage|{{invSprite|Firework Rocket}}|Firework rockets are used for speed boosts while gliding.}}

[[Firework rocket]]s can be used for propulsion during flight by placing it in either hand and {{ctrl|using}}. Using a firework rocket while gliding quickly maximizes the player's speed for a time similar to the rocket's flight duration.

If the rocket is equipped with [[firework star]]s, it explodes at the end of its flight, inflicting damage based on the number of stars.

It is possible to gain altitude during powered flight. This makes it possible to glide for extreme distances and had been used extensively by [[far lands]]/[[World Border]] challenges.

=== Durability and Repair ===
{{fakeImage|{{invSprite|Broken Elytra}}|A broken pair of elytra.}}

[[Durability]] decreases by one point each second when gliding. A pair of elytra has 432 durability, allowing 7 minutes and 12 seconds of gliding time without enchantments, providing more than 10,000 blocks of transport distance. It is possible to apply the [[Unbreaking]] enchantment using an [[anvil]] and an [[enchanted book]], which affects the elytra, in the same way it does to [[tool]]s. Unbreaking III increases elytra's flight time to about four seconds per durability point, a total of 28 minutes and 44 seconds.

When the durability reaches 1, elytra stop working until they are repaired, adopting a tattered texture in the inventory. The damage ends at durability 1, so they can never fully break. A pair may be repaired by either using the [[Mending]] enchantment, combining two pairs in a [[grindstone]], or combining it in an anvil with [[phantom membrane]]s. In an anvil, each piece of membrane repairs elytra by 108 durability points, requiring 4 pieces to fully repair them.

Each repair on the anvil will also increase the [[Anvil mechanics|prior work]] penalty for the Elytra, making every subsequent repair increasingly expensive, with an upper limit where repairs are no longer allowed because they are "too expensive". However, the prior work penalty can be reset to 0 for an enchanted elytra pair when it is disenchanted on a grindstone (by adding nothing to it). Unenchanted elytra cannot be used on the grindstone alone.

=== Enchantments ===
Elytra can receive the following [[enchantments]] by combining in an anvil:
{| class="wikitable sortable"
|-
! Enchantment 
! Max Level
![[Enchanting|Method]]
|-
| [[Unbreaking]]
| III
|{{Inventory slot|Anvil}}
|-
| [[Mending]]
| I
|{{Inventory slot|Anvil}}
|-
| [[Curse of Vanishing]] 
| I
|{{Inventory slot|Anvil}}
|-
| [[Curse of Binding]] 
| I
|{{Inventory slot|Anvil}}
|}
{{notelist|columns=1}}

== Sounds ==
{{edition|java}}:
{{Sound table
|sound=Equip leather1.ogg
|sound2=Equip leather2.ogg
|sound3=Equip leather3.ogg
|sound4=Equip leather4.ogg
|sound5=Equip leather5.ogg
|sound6=Equip leather6.ogg
|subtitle=Elytra rustles
|source=player
|description=When a pair of elytra is equipped
|id=item.armor.equip_elytra
|translationkey=subtitles.item.armor.equip_elytra
|volume=1.0
|pitch=1.0
|distance=16}}
{{Sound table
|sound=Elytra loop.ogg
|subtitle=MC-177084
|source=player
|description=While flying with a pair of elytra
|id=item.elytra.flying
|translationkey=-
|volume=0.0-1.0 <ref group=sound>Is a quarter of the player's velocity. If flying for less than 1 second, it is 0.0; otherwise, if flying for less than 2 seconds, it is between 0.0 and a quarter of the player's velocity (scaling up with time until 2 seconds)</ref>
|pitch=1.0 <ref group=sound>If the volume is greater than 0.8, 0.8-volume is added to the pitch</ref>
|distance=16}}
{{Sound table
|sound=Random break.ogg
|subtitle=Item breaks
|source=dependent
|description=When a pair of elytra'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=Equip leather1.ogg
|sound2=Equip leather2.ogg
|sound3=Equip leather3.ogg
|sound4=Equip leather4.ogg
|sound5=Equip leather5.ogg
|sound6=Equip leather6.ogg
|source=player
|description=When a pair of elytra is equipped
|id=armor.equip_leather
|volume=1.0
|pitch=1.0}}
{{Sound table
|sound=Elytra loop.ogg
|source=player
|description=While flying with a pair of elytra
|id=elytra.loop
|volume=''Depends'' {{checkthecode}}
|pitch=1.0}}
{{Sound table
|sound=Random break.ogg
|source=player
|description=When a pair of elytra'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=Elytra
|spritetype=item
|nameid=elytra
|form=item
|foot=1}}

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Elytra
|spritetype=item
|nameid=elytra
|id=564
|form=item
|foot=1}}

== Achievements ==
{{Load achievements|Super Sonic}}

== Advancements ==
{{load advancements|Sky's the Limit}}

== History ==
{{History|java}}
{{History||1.9|snap=October 5, 2015|slink=https://twitter.com/_tomcc/status/651042141397979136|[[Tommaso Checchi]] tweets that [[Jeb]] is working on a secret feature for Minecraft Java Edition, saying "it's like [[W:c:Mario:Super Mario 64|Mario 64]]."}}
{{History|||snap=October 6, 2015|slink=https://twitter.com/jeb_/status/651416814791081984|[[Jeb]] tweets a [https://web.archive.org/web/20230820173231/https://gfycat.com/serpentinehighlevelamurminnow-minecraftsuggestions-ethoslab animated GIF] revealing a [[player]] gliding around an [[end city]]. Elytra have a dragon-wing texture.}}
{{History|||snap=October 6, 2015|slink=https://twitter.com/jeb_/status/651419480187346944|Jeb tweets an [https://web.archive.org/web/20230219045525/https://i.imgur.com/LBgZCyW.png image] of folded wings, which replace the cape the player is wearing.}}
{{History|||snap=October 6, 2015|slink=https://twitter.com/jeb_/status/651423700777074688|Jeb tweets another [https://web.archive.org/web/20230820083025/https://gfycat.com/leadingindolentgangesdolphin animated GIF] of his character with Mojang-themed elytra, gliding along a [[river]] through a [[taiga]] forest.}}
{{History|||snap=15w41a|[[File:Elytra JE1 BE1.png|32px]] <br>[[File:Elytra (item) JE1 BE1.png|32px]] [[File:Broken Elytra (item) JE1 BE1.png|32px]] Added elytra.
|Elytra are currently repaired with [[leather]] when using [[anvil]].}}
{{History|||snap=15w42a|Elytra now spread slightly when the [[player]] crouches.
|The player can now take [[damage]] from gliding into walls, and crashing into a wall now has its own [[Health#Death messages|death message]].
|When flying with elytra, players are only 0.6 blocks tall. They, therefore, can now fit through 1-block gaps while gliding.
|The [[player]] can no longer go higher than the starting point of the glide.}}
{{History|||snap=15w43a|The player's point of view now shifts while gliding.}}
{{History|||snap=16w06a|Elytra now recognize the [[player]]'s [[cape]] and adopt a different elytron design for every official cape (see [[#Gallery|Gallery]]). In addition, Jeb is working on a feature to allow players to change the elytron design like regular player skins.}}
{{History|||snap=16w07a|Elytra are now activated by jumping mid-air. The player no longer glides automatically when falling.
|The cape option in the [[options|options menu]] now also disables custom elytra textures.
|Added the [[game rule]] {{cd|disableElytraMovementCheck}}.}}
{{History||1.9.1|snap=pre1|[[Sound]]s while gliding with elytra have been added.}}
{{History||1.11|snap=16w32a|Elytra can now be placed on [[armor stand]]s, just like any other [[chestplate]].}}
{{History|||snap=16w38a|Elytra are now visible on [[zombie]]s, [[skeleton]]s, and armor stands.}}
{{History|||snap=16w41a|Elytra now have their own [[sound]] when equipped.}}
{{History||1.11.1|snap=16w50a|Elytra can now be propelled through the [[air]] by using [[firework rocket]]s.}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 443.}}
{{History|||snap=18w14a|Elytra now require [[phantom membrane]] to be repaired, instead of [[leather]].}}
{{History||1.14|snap=18w43a|[[File:Elytra JE2 BE2.png|32px]] <br>[[File:Elytra (item) JE2 BE2.png|32px]] [[File:Broken Elytra (item) JE2 BE2.png|32px]] The textures of the elytra have been changed.}}
{{History||1.15|snap=19w39a|The deployment animation of elytra causes [[player]] blinks when the deployment events has overlapped.}}
{{History|||snap=19w42a|The deployment and folding animations of elytra have been improved and become smoother.
|Elytra can now start to glide immediately after a jump, not only during falls.}}
{{History||1.18|snap=experimental snapshot 7|Elytra no longer use up durability when gliding regularly. Durability is now only consumed when a [[firework rocket]] is used.
|Speed boosts from firework rockets are slightly weaker.
|Now break when the item reaches 0 durability.}}
{{History|||snap=21w37a|The elytra changes in experimental snapshot 7 have been reverted.}}
{{History||1.19|snap=Pre-release 1|Equipping elytra through the inventory now plays a sound.<ref>{{bug|MC-94060||Equipping armor/elytra through inventory or dispenser doesn't play sounds|Fixed}}</ref>}}
{{History||1.19.4|snap=23w05a|Equipping elytra while held with an item already in the chestplate slot now swaps the two items.}}

{{History|pocket}}
{{History||1.0.0|snap=alpha 0.17.0.1|[[File:Elytra JE1 BE1.png|32px]] <br>[[File:Elytra (item) JE1 BE1.png|32px]] [[File:Broken Elytra (item) JE1 BE1.png|32px]] Added elytra. In-game, they are known as ''elytra wings''.}}
{{History|bedrock}}
{{History||1.2.0|snap=beta 1.2.0.2|Elytra can now be propelled through the [[air]] by using [[firework rocket]]s.}}
{{History||1.2.3|snap=beta 1.2.3.3|''Elytra Wings'' have been renamed to ''Elytra''.}}
{{History||1.6.0|snap=beta 1.6.0.5|Elytra can now be repaired in an [[anvil]] using [[phantom membrane]], instead of [[leather]].}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Elytra JE2 BE2.png|32px]] <br>[[File:Elytra (item) JE2 BE2.png|32px]] [[File:Broken Elytra (item) JE2 BE2.png|32px]] The textures of elytra have been changed.}}

{{History|console}}
{{History||xbox=TU46|xbone=CU36|ps=1.38|wiiu=Patch 15|switch=1.0.1|[[File:Elytra JE1 BE1.png|32px]] <br>[[File:Elytra (item) JE1 BE1.png|32px]] [[File:Broken Elytra (item) JE1 BE1.png|32px]] Added elytra.}}
{{History||xbox=TU53|xbone=CU43|ps=1.49|wiiu=Patch 23|switch=1.0.3|Elytra can now be propelled through the [[air]] by using [[firework rocket]]s.}}
{{History||xbox=TU69|xbone=none|ps=1.76|wiiu=Patch 38|switch=none|Elytra are now repaired on the [[anvil]] using [[phantom membrane]] instead of [[leather]].}}
{{History||xbox=none|xbone=none|ps=1.90|wiiu=none|switch=none|[[File:Elytra JE2 BE2.png|32px]] <br>[[File:Elytra (item) JE2 BE2.png|32px]] [[File:Broken Elytra (item) JE2 BE2.png|32px]] The textures of elytra have been changed.}}

{{History|new 3ds}}
{{History||1.7.10|[[File:Elytra JE1 BE1.png|32px]] <br>[[File:Elytra (item) JE1 BE1.png|32px]] [[File:Broken Elytra (item) JE1 BE1.png|32px]] Added elytra.}}
{{History|foot}}

== Issues ==
{{issue list}}

== Trivia ==
* The singular form of elytra is an {{w|elytron}}.
* In reality, elytra are not used for flight. They are the tough forewings of beetles and earwigs that cover the wings they actually use for flight. However, like ''Minecraft'' elytra, beetles can use them for gliding.
* A flying player has a shorter hitbox than usual: A 0.6 block cube centered on the player's feet.
* It is possible to glide while on a [[ladder]], by pressing {{key|shift}} followed by {{key|space}}, causing the player to fall with a speed determined by the player's visual angle. This means that the player can descend fast on a ladder, but if the speed is too fast when hitting the ground, they can take fatal fall damage. Using a [[firework rocket]] can also speed up the player's descent. 
* {{IN|java}} if the player glides into deep [[water]] with elytra equipped, the animation does not stop, giving it the appearance of a [[swimming]] animation.<ref name="MC-97190">{{bug|MC-97190||While gliding into water or lava, player continues gliding|WAI}}</ref> The animation stops once the player touches the ground. Additionally, [[firework rocket]]s can be used with elytra underwater with a short boost duration.
* Elytra do not deactivate when the player flies into [[lava]].<ref name="MC-97190"/>
* Elytra can be equipped onto some [[mob]]s using [[command]]s. This has no effect unless the mob has the {{cd|FallFlying}} tag set to {{cd|1b}}. Mobs glide forward, unable to control the movement before landing, at which time they regain their AI. 
** Exceptions to this are [[squid]]s as the squid's AI causes it to attempt swimming in midair, making it fall straight down because it conflicts with the elytra mechanics.
**Because [[chicken]]s fall slowly, they can move more distance.
** [[Enderman|Endermen]], tamed [[wolf|wolves]] and tamed [[cat]]s that are not sitting cannot teleport until they hit the ground.
** Because mobs do not regain control until they hit the ground, [[vex]]es fall until they die or despawn as they cannot touch the ground. 
** Mobs capable of flying, such as [[parrot]]s or vexes can steer in air, though they cannot travel up or down. Dolphins also have this ability.
* [[4J Studios]] created an elytron-centered tutorial map for console edition when elytra were first introduced to this platform, this map is themed as "ruins of an ancient civilization of ''[[Minecraft]]'' worshipers" and showcases the new amplified terrain generation. This map can be seen behind the scenes.<ref>{{Mcnet|learning-fly|Learning To Fly}}</ref> On 28 March 2017, 4J Studios added an elytron-themed [[Mini Games]] for console edition called "Glide;" it consists of Time Attack and Score Attack mode.<ref>{{Mcnet|glide-mini-game-consoles-tomorrow|Glide Mini Game on Consoles Tomorrow|March 23, 2017}}</ref><ref>{{Mcnet|mini-game-masters-glide-console|Mini Game Masters Glide onto Console|March 28, 2017}}</ref>
* A player who jumps with both elytra and the [[Slow Falling]] effect travels slightly upward, which is a cheap but time-consuming alternative to [[fireworks]] and [[Riptide]]-enchanted [[trident]]s.
* On May 5, 2019, [[Mojang]] tweeted '[[The End]] never yields enough adequate resources, sadly,' along with a sad emoji.<ref>{{tweet|Minecraft|1125053038757068802|The End never yields enough adequate resources, sadly. 😔}}</ref> The first letter of each word spells 'T E n y e a r s' (Ten Years). Attached was a picture of [[player|Steve and Alex]] wearing both a [[chestplate]] and elytra. The next day, they tweeted, "Have you noticed something ''suspic10us'' here lately?"<ref>{{tweet|Minecraft|1125415169495064576|Have you noticed something suspic10us here lately?}}</ref>
* Mojang has considered the suggestion of combining elytra with a chestplate, but eventually decided against it, stating that elytra taking up armor is an intentional decision of game balancing.<ref>
{{cite
|url=https://feedback.minecraft.net/hc/en-us/articles/360005029872-Previously-Considered-Suggestions
| title = Part of the tradeoff of having an Elytra is it takes up half your armor.
|website=Minecraft Feedback
|date=July 12, 2018}}
</ref>

== Gallery ==
<gallery>
ElytraFlight.gif|The first image of elytra, tweeted by [[Jeb]]. Click to play.
FoldedWings.png|Folded elytra, which resembles the [[cape]] the user is wearing.
Minecon2015Alternative.png|The minecon 2015 cape elytra.
Dinnerbone Elytra.png|[[Dinnerbone]] flying upside down.
ElytraEnd.png|Elytra in an [[end ship]].
PlayerElytraBack.png|A [[player]] wearing elytra.
PlayerElytraFront.png|A player using elytra.
Broken Elytra.png|Elytra with only 1 [[item durability|durability]].
UpcomingElytras.jpg|Elytra designs fitting to the official capes, posted by Jeb on {{w|Reddit}}.
FlyBlock.png|A player gliding while blocking with a [[shield]].
Suspic10us.jpg|An image of players using elytra.
Steve Gliding with Elytra.png|Steve gliding with elytra.
Alex Gliding with Elytra.png|Alex gliding with elytra.
Enchanted Elytra (item).gif|A pair of  enchanted elytra.
</gallery>

=== Console exclusive ===
<gallery>
Glide Score Cavern 2.png|Screenshot of Glide mini-games.
Glide Time Cavern 2.png|Another screenshot of Glide mini-games.
GLIDE Official.jpg|''Glide'' launch poster.
Elytra Tutorial Map.jpg|Official elytra themed tutorial map.
</gallery>(These maps can be found for a price on the Microsoft Store)

=== Designs when wearing capes ===
<blockquote>Designs that are not listed here have default elytron texture or don't have any.</blockquote><gallery>
File:Mojang employees Elytra.png|Old [[Mojang]] cape
File:Mojang employees 2015 Elytra.png|New Mojang cape
File:Mojang Studios employees 2021 Elytra.png|Mojang Studios cape
File:Crowdin Translator Elytra.png|[[Crowdin]] Translator cape
File:DannyBstyle's Elytra.png|dannyBstyle's cape
File:JulianClark's Elyrtra.png|JulianClark's cape
File:Millionth Customer Elytra.png|Millionth Customer cape
File:MINECON 2011 Attendees Elytra.png|[[MINECON 2011]] Attendees cape
File:MINECON 2012 Attendees Elytra.png|[[MINECON 2012]] Attendees cape
File:MINECON 2013 Attendees Elytra.png|[[MINECON 2013]] Attendees cape
File:MINECON 2015 Attendees Elytra.png|[[MINECON 2015]] Attendees cape
File:MINECON 2016 Attendees Elytra.png|[[MINECON 2016]] Attendees cape
File:MINECON LIVE 2019 Founder's Elytra.png|[[MINECON Live 2019]] Founder's cape
File:Mojira Moderator Elytra.png|[[bug tracker|Mojira]] Moderator cape
File:MrMessiah's Elytra.png|MrMessiah's cape
File:Prismarine Elytra.png|[[Prismarine]] cape
File:Realms Mapmaker Elytra.png|[[Realms]] mapmaker's cape
File:Cobalt Elytra.png|[[Cobalt (game)|Cobalt]] cape
File:Scrolls Elytra.png|[[Scrolls]] cape
File:Turtle Elytra.png|[[Turtle]] cape
File:PancapeElyR.png|Pancape cape
File:MSCapeElyR.png|Migrator cape
File:Gr8 Escape's elytra.png|Gr8_Escape's cape
File:Valentine Elytra.png|Valentine cape
File:Vanilla Cape Elytra JE.png|Vanilla cape{{only|java}}
File:Vanilla cape elytra BE.png|Vanilla cape{{only|bedrock}}
</gallery>

== References ==
{{reflist}}

== External Links ==
*[https://www.minecraft.net/en-us/article/taking-inventory--elytra Taking Inventory: Elytra] – Minecraft.net on December 14, 2019

{{Items}}

[[de:Elytren]]
[[es:Élitros]]
[[fr:Élytres]]
[[ja:エリトラ]]
[[ko:겉날개]]
[[nl:Dekschild]]
[[pl:Elytry]]
[[pt:Élitros]]
[[ru:Элитры]]
[[tr:Elitra]]
[[zh:鞘翅]]
[[Category:Non-renewable resources]]</li><li>[[Shield|Shield]]<br/>{{Item
| image = Shield.png
| image2 = White Shield.png
| extratext = View [[#Gallery|all renders]]
| durability = 336
| renewable = Yes
| stackable = No
}}
A '''shield''' is a tool used for protecting the [[player]] against attacks.

== Obtaining ==
=== Crafting ===
{{Crafting
|head=1
|showname=0
|A1=Any Planks <!-- the recipe changed in 15w37a, do not change it to the old recipe without reason -->
|B1=Iron Ingot
|C1=Any Planks
|A2=Any Planks
|B2=Any Planks
|C2=Any Planks
|B3=Any Planks
|Output=Shield
|type=Combat
}}
{{Crafting
|ignoreusage=1
|Shield
|Matching Banner
|A2=Shield
|B2=Banner
|Output=Matching Shield
|type=combat
|foot=1
}}

=== Repairing ===
{{Crafting
|ignoreusage=1
|showdescription=1
|Damaged Shield
|Damaged Shield
|Output=Shield
|description= The durability of the two shields is added together, plus an extra 5% durability. The repaired shield has no pattern.
|type= Combat
}}

Shields may also be repaired on an [[anvil]] by using [[planks]] or another shield. Shields repaired on anvils retain their pattern.

=== Trading ===
Journeyman-level armorer [[villager]]s have {{frac|1|3}}{{only|Bedrock|short=1}}/{{frac|2|5}}{{only|Java|short=1}} chance of selling a shield for 5 [[emerald]]s as their sixth trade.

== Usage ==
Despite using iron in its crafting recipe, it cannot be smelted into [[iron nugget]]s.<ref>{{bug|MC-111738}}</ref>

=== Defense ===
Shields are used for [[blocking]] incoming attacks. {{control|Using}}{{Only|Java|short=1}} or {{Control|sneaking}}{{Only|Bedrock|short=1}} causes a player to slow to a [[sneaking]] pace, and after {{convert|5|ticks|seconds}}<ref>{{bug|MC-100949||Shield blocking is delayed}}</ref>, attacks coming from in front of the player are blocked, dealing no damage. When the shield blocks an attack of {{hp|3}} or stronger, it takes durability damage equal to the strength of the attack rounded up.  

Most blocked projectiles that carry status effects (such as [[Shulker#Shulker bullet|shulker bullets]]{{only|java|short=1}}, flaming [[arrow]]s, or tipped arrows) do not affect the blocker. [[Trident]]s & arrows can be deflected into other targets. Knockback from melee attacks and projectiles is prevented, while knockback from [[explosion]]s, [[hoglin]], and [[ravager]] attacks are significantly reduced.

The shield directionally blocks all attacks coming from within the FOV of the direction the wielder is facing, providing a full hemisphere of coverage to them. If the wielder faces straight up, they are likely to miss their blocks.<ref>{{bug|MC-109101||Shields do not block damage while the player faces straight up}}</ref><!--straight down fix: MC-92019-->

Mobs that deal continuous contact damage such as the slime, magma cube, and blaze rapidly drain the shield's durability for as long as the shielded player remains within the mob's hitbox.<ref>{{bug|MC-169167}}</ref><ref>{{bug|MCPE-119451}}</ref>

Blockable attacks include:
*Melee attacks, except by a warden, axe-wielding mobs or by a sprinting player wielding an axe, however even without sprinting an axe still greatly decreases the durability 
** Status effects do not carry through to the blocker{{only|java|short=1}}.
*Normal, tipped, and spectral [[arrow]]s
** Arrows other than [[Piercing]] are totally deflected and can hit other targets.
** Status effects do not carry through to the blocker{{only|java|short=1}}.
***This can be used to damage the attacker or another mob down there.
*[[Flame|Flaming arrows]]
** Burning does not carry through to the blocker{{only|java|short=1}}.
*[[Trident]]s
*[[Snowball]]s and [[egg]]s
*Spines from [[pufferfish]]
*Bullets from [[shulker]]s
** The levitation effect does not carry through to the blocker{{only|java|short=1}}.
*Spit from [[llama]]s
*[[Fireball]]s, such as from [[blaze]]s and [[fire charge]]s
** Burning does not carry through to the blocker.
*Direct hits from [[ghast]] [[fireball]]s
** These still cause environmental damage.
*All explosions{{only|JE|short=1}}
*Explosion damage from [[creeper]]s
*[[TNT]] that another player lit
*[[Ravager]] headbutts
** These still knock the blocker back by about 3 blocks.
** Blocking these strikes can stun the ravager for a moment, and it roars afterward.
*Ravager roars are blocked but still knock back the blocker.
*[[Bee]] stings are blocked, but bees continuously attack until the player stops blocking and the player is stung.
*Beam attacks from [[guardian]]s or [[elder guardian]]s (only reduces damage by 50%).
*Damage reflected from [[Thorns]] enchantment / [[Guardian|guardians]].

They cannot block:
*Arrows from a [[crossbow]] enchanted with [[Piercing]]
** This does not reduce the shield's durability.
*[[Status effect]]s from tipped arrows or shulker bullets {{only|bedrock|short=1}} <ref>{{bug|MCPE-52904}}</ref>
** Direct projectile damage is blocked, but the effect still carries through.
*Status effects from splash/lingering [[potion]]s, [[evoker]]s' fangs, or breath from the [[ender dragon]]
*Beam attacks from [[guardian]]s or [[elder guardian]]s, or the [[warden]]'s sonic boom attack
*TNT that the blocking player lit themselves{{only|BE|short=1}}
*TNT that a [[Redstone (disambiguation)|redstone mechanism]] lit{{only|BE|short=1}}
*[[Fall damage]], including that from [[ender pearl]]s
** This also includes when the player rides an [[entity]] that died due to fall damage.
*Strikes from a warden or any [[axe]]-wielding mob (e.g., [[vindicator]]s, [[piglin brute]]s, [[zombie]]s after disabling players shield they attack another time immediately)
** Such strikes disable being able to use shields for 5 seconds.

=== Applying patterns ===
[[File:Cyan Shield Screenshot.png|250px|thumb|A custom shield.]]
Shields can be decorated by applying a [[banner]].

{{Crafting
|showdescription=1
|Shield
|Matching Banner
|Output=Matching Shield; Ominous Shield
|B2link=Banner
|Olink=Shield
|type=Combat
|description=Applies the banner pattern to the shield. The banner is consumed.<br>The shield must have no preexisting patterns.<br>Does not change existing durability or enchantments on the shield.
}}

Unlike with [[banner]]s, shields cannot be repainted or washed in a [[cauldron]]. Shields have only half the resolution of banners, making patterns look slightly different. In the game files, the pattern textures can be found in a separate directory called entity/shield.

{{IN|java}}, shields with patterns can also be obtained using the same commands as banners, except <code>banner</code> has to be replaced with <code>shield</code>.

=== Enchantments ===
A shield can receive the following [[enchantments]], but only through an [[anvil]]:

{| class="wikitable col-2-center"
|+
!Name
!Max Level
![[Enchanting|Method]]
|-
|[[Unbreaking]]
|III
|{{Inventory slot|Anvil}}
|-
|[[Mending]]
|I
|{{Inventory slot|Anvil}}
|-
|[[Curse of Vanishing]]
|I
|{{Inventory slot|Anvil}}
|-
|}

== Sounds ==
{{edition|java}}:
{{Sound table
|sound=Shield block1.ogg
|sound2=Shield block2.ogg
|sound3=Shield block3.ogg
|sound4=Shield block4.ogg
|sound5=Shield block5.ogg
|subtitle=Shield blocks
|source=player
|description=When an attack is blocked using a shield
|id=item.shield.block
|translationkey=subtitles.item.shield.block
|volume=1.0
|pitch=0.8-1.2
|distance=16}}
{{Sound table
|sound=Equip generic1.ogg
|sound2=Equip generic2.ogg
|sound3=Equip generic3.ogg
|sound4=Equip generic4.ogg
|sound5=Equip generic5.ogg
|sound6=Equip generic6.ogg
|subtitle=Gear equips
|source=player
|description=When a shield is placed in the offhand slot
|id=item.armor.equip_generic
|translationkey=subtitles.item.armor.equip
|volume=1.0
|pitch=1.0
|distance=16}}
{{Sound table
|sound=Random break.ogg
|subtitle=Item breaks
|source=player
|description=When a shield's durability is exhausted
|id=item.shield.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=Shield block1.ogg
|sound2=Shield block2.ogg
|sound3=Shield block3.ogg
|sound4=Shield block4.ogg
|sound5=Shield block5.ogg
|source=player
|description=When an attack is blocked using a shield
|id=item.shield.block
|volume=0.7
|pitch=1.0}}
{{Sound table
|sound=Equip generic1.ogg
|sound2=Equip generic2.ogg
|sound3=Equip generic3.ogg
|sound4=Equip generic4.ogg
|sound5=Equip generic5.ogg
|sound6=Equip generic6.ogg
|source=player
|description=When a shield is placed in the offhand slot<wbr>{{Upcoming|BE 1.20.30}}<wbr><ref group=sound>{{Bug|MCPE-168039}}</ref>
|id=armor.equip_generic
|volume=1.0
|pitch=1.0}}
{{Sound table
|sound=Random break.ogg
|source=player
|description=When a shield'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=Shield
|spritetype=item
|nameid=shield
|form=item
|translationkey=item.minecraft.shield, item.minecraft.shield.white, item.minecraft.shield.orange, item.minecraft.shield.magenta, item.minecraft.shield.light_blue, item.minecraft.shield.yellow, item.minecraft.shield.lime, item.minecraft.shield.pink, item.minecraft.shield.gray, item.minecraft.shield.light_gray, item.minecraft.shield.cyan, item.minecraft.shield.purple, item.minecraft.shield.blue, item.minecraft.shield.brown, item.minecraft.shield.green, item.minecraft.shield.red, item.minecraft.shield.black
|foot=1}}

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Shield
|spritetype=item
|nameid=shield
|id=355
|form=item
|translationkey=item.shield.name, item.shield.white.name, item.shield.orange.name, item.shield.magenta.name, item.shield.lightBlue.name, item.shield.yellow.name, item.shield.lime.name, item.shield.pink.name, item.shield.gray.name, item.shield.silver.name, item.shield.cyan.name, item.shield.purple.name, item.shield.blue.name, item.shield.brown.name, item.shield.green.name, item.shield.red.name, item.shield.black.name
|foot=1}}

== Advancements ==
{{load advancements|Not Today}}

== History ==
{{History||July 10, 2011|link=http://minetimes.wordpress.com/2011/07/10/interview-mit-jeb-ihr-konntet-die-fragen-stellen/|During an interview, [[Jeb]] says that "shields for the left arm" might be added.}}
{{History|java}}
{{History||1.9|snap=15w33c|[[File:White Shield.png|22px]] [[File:Light Gray Shield.png|22px]] [[File:Gray Shield.png|22px]] [[File:Black Shield.png|22px]] [[File:Brown Shield.png|22px]] [[File:Red Shield.png|22px]] [[File:Orange Shield.png|22px]] [[File:Yellow Shield.png|22px]] [[File:Lime Shield.png|22px]] [[File:Green Shield.png|22px]] [[File:Cyan Shield.png|22px]] [[File:Light Blue Shield.png|22px]] [[File:Blue Shield.png|22px]] [[File:Purple Shield.png|22px]] [[File:Magenta Shield.png|22px]] [[File:Pink Shield.png|22px]] Added shields.
|Shields replace the [[blocking]] functionality of [[sword]]s, although blocking more [[damage]].
|The current [[crafting]] recipe of shields includes [[wool]], producing 16 possible colored shields. There currently isn't a blank, uncolored shield.
{{{!}} class{{=}}"collapsible collapsed" data-description{{=}}"Recipe"
! Recipe
{{!}}-
{{!}}
{{Crafting
|A1=Matching Wool |B1=Any Planks
|A2=Matching Wool |B2=Any Planks |C2=Iron Ingot
|A3=Matching Wool |B3=Any Planks
|Output=Matching Shield
|ignoreusage=1
}}
{{!}}}
|Any of the colored base shields can be [[crafting|crafted]] with a [[banner]] of the same base color, to produce a patterned shield.
}}
{{History|||snap=15w34c|When an attack is blocked by a shield, the attacker now may be knocked back.
|Being attacked with an [[axe]] now may disable shield use for 5 seconds.}}
{{History|||snap=15w37a|The [[crafting]] recipe of shields has been changed to 6 [[planks]] and 1 [[iron ingot]].
{{{!}} class{{=}}"collapsible collapsed" data-description{{=}}"Recipe"
! Recipe
{{!}}-
{{!}}
{{Crafting
|A1=Any Planks |B1=Iron Ingot |C1=Any Planks
|A2=Any Planks |B2=Any Planks |C2=Any Planks
|B3=Any Planks
|Output=Shield
|ignoreusage=1
}}
{{!}}}
|[[File:Shield JE1.png|22px]] Crafting a shield now produces a base wooden shield that can be crafted together with any [[banner]].
|The cooldown of shields has been reduced from 0.5s to 0.25s.
|Blocking with shields now prevents some side effects.{{verify}}
|[[Arrow]]s now ricochet off shields.}}
{{History|||snap=15w44a|Shields can now be repaired by combining with other shields. This removes any [[banner]] that had been applied.}}
{{History|||snap=15w45a|Crafting a banner onto a shield now consumes the banner.}}
{{History|||snap=15w47b|Added shield blocking [[sound]]s.}}
{{History|||snap=16w07a|Added more variation of shield blocking sounds.}}
{{History|||snap=pre1|The [[durability]] of shields has been increased from 181 to 337.}}
{{History||1.10|snap=16w21a|Shields can now be equipped by [[dispenser]]s.}}
{{History||1.11|snap=16w33a|[[Crafting]] a shield with a banner no longer changes the durability, nor does it remove [[enchanting|enchantments]] from it.}}
{{History|||snap=16w35a|Shields now block 100% of [[damage]]/[[knockback]]/debuffs dealt in melee combat.}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 442.}}
{{History||1.13.2|snap=release|Shields now properly block attacks when the player is facing down.<ref>{{bug|MC-92019|||Fixed}}</ref>}}
{{History||1.14|snap=18w43a|[[File:Shield JE2 BE1.png|22px]] The texture of shields has been changed.
|Shields no longer knockback attackers when they block due to a bug with rework of the blocking mechanic with the introduction of the ravager.<ref>{{bug|MC-147694}}</ref>}}
{{History|||snap=19w11a|Shields can now be [[trading|bought]] from armorer [[villager]]s.}}
{{History||1.14.3|snap=Pre-Release 3|Shields blocking flaming [[arrow]]s no longer put the [[player]] on [[fire]].}}
{{History||1.16|snap=20w06a|[[Crimson planks]] and [[warped planks]] can now be used to craft shields.}}
{{History||1.19|snap=22w11a|[[Mangrove planks]] can now be used to craft shields.}}
{{History||1.19.3|snap=22w43a|Shields can now properly block all explosions.}}
{{History||1.19.4|snap=23w06a|A sound is now played when a shield is placed into the offhand slot.}}

{{History|upcoming java}}
{{History||Combat Tests|snap=1.14.3 - Combat Test|Critical hits now bypass shields.
|The warm-up delay has been removed from shields.
|When in the off-hand, shields now activate when [[sneaking]].}}
{{History|||snap=Combat Test 2|Shields now protect against critical attacks again.
|Shields can only be activated when the weapon is charged to 200%.}}
{{History|||snap=Combat Test 3|A "Shield Indicator" option that displays when the shield is active, similar to the attack indicator, has been added.
|An option to hide shields when active has been added.
|The arc of available protection of shields has been decreased to 100 degrees instead of 180 degrees.}}
{{History|||snap=Combat Test 4|An option to disable shields being activated by pressing {{ctrl|crouch}} has been added.
|The option to hide the shield has been removed.}}
{{History|||snap=Combat Test 6|Shields now protect up to 5 [[damage]] for melee attacks (still 100% against projectiles).
|Shields activate instantly regardless if the weapon is charged, similar to Combat test 1.
|Shields now recover faster after an attack.}}
{{History|||snap=Combat Test 7c|Shields now add a 50% knockback resistance when active.
|Shields now protect against 100% [[explosions|explosion]] damage.}}
{{History|||snap=Combat Test 8c|The knockback calculations for shields have been fixed.{{Info needed}}
|Crouch-shielding while jumping has been disabled.
|Shields with [[banner]]s are now temporarily stronger than normal shields (10 absorption instead of 5, and better knockback resistance) to test different shield types.}}

{{History|bedrock}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Shield JE2 BE1.png|22px]] Added shields.
|Shields cannot be customized with [[banner]]s.
|Shields are activated by [[sneaking|crouching]] or mounting [[mob]]s.}}
{{History||1.11.0|snap=beta 1.11.0.4|Shields can now be [[trading|bought]] from armorer [[villager]]s.}}
{{History||1.16.210|snap=beta 1.16.210.51|Now grants partial knockback protection from the [[goat]] ram attack.}}
{{History||1.16.220|snap=beta 1.16.220.50|[[Mob]]s that pick up shields now place them to their off-hand.}}
{{History||1.18.30|snap=beta 1.18.30.26|Being attacked with an [[axe]] now may disable shield use. This was not mentioned in the official changelog.<ref>{{tweet|kingbdogz|1504505321884196872|We missed a change in recent changelogs for the Bedrock beta that you may like - we have now made a parity fix that makes shields get disabled for 5 seconds when attacked by an Axe-wielding mob or player. We will make sure to list this properly in the next beta :)|March 17, 2022}}</ref>}}
{{History||1.20.0|snap=beta 1.20.0.20|[[File:White Shield.png|22px]] [[File:Light Gray Shield.png|22px]] [[File:Gray Shield.png|22px]] [[File:Black Shield.png|22px]] [[File:Brown Shield.png|22px]] [[File:Red Shield.png|22px]] [[File:Orange Shield.png|22px]] [[File:Yellow Shield.png|22px]] [[File:Lime Shield.png|22px]] [[File:Green Shield.png|22px]] [[File:Cyan Shield.png|22px]] [[File:Light Blue Shield.png|22px]] [[File:Blue Shield.png|22px]] [[File:Purple Shield.png|22px]] [[File:Magenta Shield.png|22px]] [[File:Pink Shield.png|22px]] Shields can now be customized using a banner.}}

{{History|PS4}}
{{History||1.90|[[File:Shield JE1.png|22px]] Added shields.
|Shields do not have [[banner]] application features.}}
{{History|foot}}

== Issues ==
{{issue list|-wither}}

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

=== Screenshots ===
<gallery>
JebShield.png|One of the first images of shields. [[Jeb]] wearing diamond armor while holding a creeper-emblazoned shield during [[MineCon]] 2015.
Jeb Crafting Shield.png|Jeb crafting a shield.
Player with Shield.png|Player holding the default shield.
Shield Block.png|A player blocking with a shield.
ShieldFirstPerson.png|Blocking with a shield as seen in first person.
Enchanted Shield (item).gif|An enchanted shield as seen in the [[inventory]].
-ominous- shield.png|A shield with the [[ominous banner]] on it as seen in the inventory.
Kai-Shield.jpg|An image of [[Kai]] wielding a banner with a shield, used to announce the feature on [[Bedrock Edition]].
Bedrock-Shields.jpg
</gallery>

== References ==
{{reflist}}

== External Links ==
* [https://www.minecraft.net/en-us/article/taking-inventory--shield Taking Inventory: Shield] – Minecraft.net on July 25, 2019

{{Items}}

[[Category:Combat]]
[[Category:Renewable resources]]

[[de:Schild (Kampf)]]
[[fr:Bouclier]]
[[it:Scudo]]
[[ja:盾]]
[[ko:방패]]
[[nl:Schild]]
[[pl:Tarcza]]
[[pt:Escudo]]
[[ru:Щит]]
[[th:โล่]]
[[zh:盾牌]]</li></ul>
13w01aDaylight Detector JE1 BE1 Added daylight sensors.
1.8
{{Extension DPL}}<ul><li>[[Dried Kelp|Dried Kelp]]<br/>{{about|the item|the block|Dried Kelp Block}}
{{Item
| title = Dried Kelp
| image = Dried Kelp.png
| renewable = Yes
| heals = {{hunger|1}}
| stackable = Yes (64)
}}

'''Dried kelp''' is a [[food]] item that can be quickly eaten by the [[player]]. It can also be crafted into [[Dried Kelp Block|dried kelp blocks]].

== Obtaining ==

=== Cooking ===
[[Kelp]] can be cooked in a [[furnace]], [[smoker]], or [[campfire]]. Each piece of dried kelp removed from a furnace output slot gives 0.1 [[experience]] (6.4 experience per stack).
{{Smelting
|Kelp
|Dried Kelp
|0,1
}}

=== Crafting ===
{{Crafting
 |Dried Kelp Block
 |Output= Dried Kelp,9
 |type= Foodstuff
}}

== Usage ==

=== Food ===
[[File:Eating dried kelp.png|thumb|A player eating dried kelp.]]
To eat dried kelp, press and hold {{control|use}} while it is selected in the hotbar. Eating one restores {{hunger|1}} [[hunger]] and 0.6{{only|je|short=1}} / 0.2{{only|be|short=1}} hunger [[Hunger#Mechanics|saturation]].

A player can consume dried kelp about twice as fast as any other food item in the game.

=== Crafting ingredient ===

{{Crafting usage}}

=== Composting ===
Dried kelp placed into a [[composter]] has a 30% chance of raising the compost level by 1.

==Sounds==
{{Sound table/Entity/Food}}

== Achievements ==

{{load achievements|Castaway}}

== Advancements ==

{{load advancements|Husbandry;A Balanced Diet}}

== Data values ==
=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|showforms=y
|generatetranslationkeys=y
|displayname=Dried Kelp
|spritetype=item
|nameid=dried_kelp
|form=item
|foot=1}}

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Dried Kelp
|spritetype=item
|nameid=dried_kelp
|id=270
|form=item
|foot=1}}

== History ==

{{History|java}}
{{History||1.13|snap=18w07a|[[File:Dried Kelp JE1.png|32px]] Added dried kelp.}}
{{History|||snap=18w08b|Dried kelp can now be used to craft [[dried kelp block]]s.}}
{{History||1.14|snap=19w03a|Placing dried kelp into the new [[composter]] has a 10% chance of raising the compost level by 1.}}
{{History|||snap=19w05a|Dried kelp now has a 30% chance of increasing the compost level in a composter.}}

{{History|bedrock}}
{{History||1.4.0|snap=beta 1.2.14.2|[[File:Dried Kelp BE1.png|32px]] Added dried kelp.}}
{{H||1.11.0|snap=beta 1.11.0.1|Dried kelp can now be used to fill up [[composter]]s.}}
{{History||1.17.10|snap=beta 1.17.10.20|[[FIle:Dried Kelp JE1.png|32px]] The texture of dried kelp has been changed to match ''Java Edition''.}}

{{History|console}}
{{History||xbox=TU69|ps=1.76|wiiu=Patch 38|[[File:Dried Kelp BE1.png|32px]] Added dried kelp.}}
{{History|foot}}

== Issues ==

{{issue list}}

{{Items}}

[[Category:Food]]
[[Category:Renewable resources]]

[[de:Getrockneter Seetang]]
[[es:Algas secas]]
[[fr:Algue séchée]]
[[ja:乾燥した昆布]]
[[ko:말린 켈프]]
[[lzh:乾海帶]]
[[nl:Gedroogde kelp]]
[[pl:Suszone wodorosty]]
[[pt:Algas secas]]
[[ru:Сушёная ламинария]]
[[th:สาหร่ายทะเลแห้ง]]
[[zh:干海带]]</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 ===
[[Piglin]]s are attracted to golden swords, run toward any golden swords on the ground and inspect it for 6 to 8 seconds before putting it in their [[inventory]] slot.

== 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>
14w31aInverted Daylight Detector JE1 BE1 Daylight sensors can now be toggled between day and night by using them.
1.9
{{Extension DPL}}<ul><li>[[Camera|Camera]]<br/>{{about|the entity|the command|commands/camera}}
{{exclusive|edu}} 
{{unobtainable|edition=be}}
{{ItemEntity
|imagesize=80px
|renewable=No
|stackable=Yes (64)
|health={{hp|4}}
|image=Camera.png}}
{{Block
| title = Camera Block
| image = Camera (block).png
| invimage = none
| transparent = No
| light = 0
| tool = any
| stackable = Yes (64)
| flammable = No
| lavasusceptible = No
| renewable = No
}}

The '''camera''' is an [[entity]] that is capable of capturing and storing images. {{IN|edu}}, it works together with the [[portfolio]] item to create collections of [[photo]]s.<ref>https://education.minecraft.net/support/knowledge-base/using-cameras-portfolios/</ref>

== Obtaining ==
The camera can be obtained in the [[Creative inventory]] in ''Minecraft Education''. It can be obtained either by NBT editors, inventory editors, or glitches in Bedrock Edition.

To get the block form of the camera in Bedrock Edition using an NBT editor, you need to set the item name of the block in the inventory slot (<code>name:</code> ) to <code>item.camera</code>, then you need to add a compound tag called <code>Block</code> and inside of that put the int tag <code>version: 18040335</code> and the text tag <code>name: minecraft:camera</code> into the block compound tag. For the usable "[[spawn egg]]" form of the camera, you only need to set the item name of the block in the inventory slot (<code>name:</code> ) to <code>camera</code>; you do not need to add the block compound for this form of the camera. 

== Usage ==
Using a camera from the [[inventory]] captures a first-person screenshot. It can also be placed, creating a camera [[entity]] that can track the user, and take pictures from the camera's perspective. Photos that are taken using the camera appear in the [[portfolio]].

Close-up snapshots of an [[item]] on the ground can be taken by holding the Shift key while right-clicking.

Photos that are taken with the camera block are stored in <code>%localappdata%\Packages\MinecraftUWP_8wekyb3d8bbwe\LocalState\screenshots</code>.

== Sounds ==
=== Generic ===
{{Sound table/Block/Normal/BE}}
=== Unique ===
{{Sound table
|sound=Camera1.ogg
|sound2=Camera2.ogg
|sound3=Camera3.ogg
|type=bedrock
|description=When a picture is taken with a camera
|source=Players
|id=camera.take_picture
|volume=1.0
|pitch=1.0
|foot=1}}

== Data values ==
=== ID ===
{{ID table
|edition=bedrock
|firstcolumnname=Camera
|shownumericids=y
|showforms=y
|generatetranslationkeys=y
|displayname=Block
|spritename=camera
|spritetype=block
|nameid=camera
|id=242
|form=block
|itemform=item.camera}}
{{ID table
|displayname=Item
|spritename=camera
|spritetype=item
|translationtype=item
|nameid=camera
|id=593
|form=item
|foot=1}}
{{ID table
|edition=bedrock
|firstcolumnname=Camera
|shownumericids=y
|generatetranslationkeys=y
|displayname=Entity
|spritename=camera
|spritetype=entity
|nameid=tripod_camera
|id=62
|foot=1}}

=== Entity data ===

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

== Video ==
{{yt|1XLRGFibFNQ}}

== History ==
{{History|pocket alpha}}
{{History||v0.1.0|[[File:Camera BE1.png|50px]] [[File:Camera (item texture) BE1.png|32px]] The textures and model of the camera can be found in the game apk file.<ref name="found">[{{Reddit|jkkmr/found_image_file_for_camera_in_minecraft_portable}} Reddit - Found image file for camera in Minecraft Portable Edition Demo APK file.]</ref><ref>https://web.archive.org/web/20160604161800/https://twitter.com/Kappische/status/103548954368679936</ref>}}
{{History||v0.2.0|[[File:Camera BE2.png|50px]] [[File:Music Disc Blocks JE1 BE1.png|32px]] Added cameras
|Changed item and tripod textures.
|To use a camera, equip it in the [[player]]'s hand, then look in the direction the player wants the picture to be taken. Long-press the screen, and a camera [[drops]] to the ground where the player are standing. Step back, then press on the camera until it starts emitting smoke [[particles]]. The smoke means a picture has been taken, and the camera may disappear immediately afterward.
|Cameras have infinite uses.
|Entity id 62 and item id 456.<ref>https://www.minecraftforum.net/topic/1233138-i-found-the-camera-id/</ref>}}
{{History||v0.5.0|The camera is now invisible and makes the standard player [[damage]] [[sound]].}}
{{History||v0.7.0|Added the "F1" feature (Hide GUI), which has now made the camera obsolete.}}
{{History||v0.8.0|snap=build 2|[[File:Egg JE1 BE1.png|32px]] Item form now uses [[egg]] texture.}}
{{History||v0.9.0|snap=build 1|The camera [[entity]] has been removed. [[Tommaso]] also stated: ''"It doesn't mean that it's dead forever, in fact I have a lot of ideas for it! I think it will be back when have [[shader]]s, sharing and [[redstone]]."''<ref>{{Reddit|sub=MCPE|281sep/camera|ci6znr8}}</ref>}}
{{History||v0.14.0|snap=build 1|[[File:Camera BE3.png|32px]] [[File:Camera (item) BE2.png|32px]] Re-added the camera. It is accessible only with [[inventory]] editors.
|In this version, if the player spawns a camera, leaves the [[world]] and joins back, it summons [[lightning]].}}
{{History||v0.14.2|The camera [[item]] ID has been changed to 498, but it cannot be used at the moment. The [[entity]] can now be spawned with a [[spawn egg]] with a [[damage]] value of 62.
|According to the language files of the game, the empty label that shows up whenever hovering a finger to a camera would now say "Take Picture". However, the button doesn't do anything.}}
{{History||v0.15.0|snap=build 1|The previous empty label on the camera mentioned above now displays the words "Take Picture".
|The [[health]] of the camera [[entity]] is now {{hp|2}} instead {{hp|4}}.
|The camera no longer summons [[lightning]].}}
{{History||v0.16.0|snap=build 1|The camera now has a [[block]] form in [[inventory]], but still spawns the entity. However, the block can be placed only with [[commands]] and editing.
|"Take picture" button on the camera works now, but no image files are created.
|The oldest ID for camera (456) now refers to [[portfolio]].}}
{{History|||snap=build 2|[[File:Camera Block.png|32px]] The camera now has an [[item]] form and the [[block]] has been removed. However, it is still obtainable in servers.
|[[Portfolio]], which works together with the camera to create collections of pictures, has been removed.}}
{{History|||snap=build 4|Camera item form has been removed, and the camera can no longer be obtained or placed using any [[commands|command]].}}
{{History|bedrock}}
{{History||1.8.0|snap=beta 1.8.0.8|[[File:Camera BE3.png|32px]] [[File:Camera Block.png|32px]] The camera has been reimplemented.
|The camera [[entity]] can now be spawned with a [[spawn egg]] with [[damage]] value 258.}}
{{History||1.12.0|snap=beta 1.12.0.2|The camera can now be obtained with the {{cmd|give}} [[commands|command]].}}
{{History||1.13.0|snap=beta 1.13.0.1|The camera can no longer be obtained with the {{cmd|give}} command.
|Functionality has been added to the camera. Screenshots that are taken by the camera can now be saved into the {{cd|screenshots}} folder.
|Cameras are now a part of the {{el|ee}} toggle as a hidden feature.
|Cameras no longer have a [[death]] animation when killed by the [[player]] and instead, instantly emit smoke [[particles]].}}
{{History||1.16.100|snap=beta 1.16.100.50|The camera can now be obtained with the {{cmd|give}} [[commands|command]] once again.}}
{{History|||snap=beta 1.16.100.55|The camera can no longer be obtained with the {{cmd|give}} command.}}
{{History|education}}
{{History||1.0|[[File:Camera BE3.png|32px]] [[File:Camera Block.png|32px]] Added cameras.}}
{{History||1.4.0|Cameras no longer have a [[death]] animation when killed by the [[player]] and instead instantly emit smoke [[particles]].}}
{{History|foot}}

=== Future ===
At the Minecraft [[Pocket Edition]] panel at [[MineCon 2012]], as well as one of [[Johan Bernhardsson|Jbernhardsson]]'s livestreams, it was stated that future plans include trying to have a proper use for cameras, perhaps an easier way to take screenshots and share them with others.<ref>{{ytl|YMhyX_lKWV4}}</ref> In the BlockTalk Q&A, the camera was briefly mentioned as part of a broader "sharing" theme planned for {{el|be}} in the future.<ref>{{ytl|Ruf6tvqsD84}}</ref>
It later got implemented into {{el|ee}}, using the camera to make screenshots and share them in a special book.

== Issues ==
{{Issue list}}

== Trivia ==
* A camera prevents a [[Book and Quill]] from working. Attempting to craft it or obtain it by commands gives a regular book instead, due to non-implementation of photo attaching to written books.
* The camera can take a screenshot, which appears a bit smaller with a thick paper outline having cuts on its edges, making it look like an old photograph.
* This feature is hidden from the Creative inventory and from the /give command item menu.

== Gallery ==
<gallery>
PEcameras030.jpg|A row of cameras, as seen in [[Pocket Edition v0.3.0 alpha|v0.3.0]].
PEcameraphoto.jpg|Example image taken by the camera [[entity]].
CameraUse-1.png|The first method of using cameras.
CameraUse-2.png|The second method of using cameras.
Dinnerbone Camera.png|A camera spawned using a [[spawn egg]] named "[[Dinnerbone]]" in the v0.15.0 beta.
Cam2.png|A camera falling from a [[tree]]. This shows that cameras are entities.
Education Edition Exclusive Features.png|The camera and camera block placed in a world along with other Education Edition features.
Screenshot by camera.jpg|An example of the screenshot taken by a camera in [[Bedrock Edition beta 1.13.0.1|beta 1.13.0.1]].
File:Say Cheese.jpeg|[[Steve]], [[Alex]], [[Jesse]], and an [[Agent]] getting their picture taken.
</gallery>

== See also ==
* [[Portfolio]]
* [[Screenshot]]

== References ==
{{Reflist}}

{{Items}}
{{Entities}}
{{Education Edition}}

[[Category:Education Edition entities]]
[[Category:Education Edition items]]
[[Category:Tools]]

[[cs:Kamera]]
[[de:Kamera]]
[[el:Camera]]
[[es:Cámara]]
[[fr:Appareil photo]]
[[hu:Kamera]]
[[ja:カメラ]]
[[ko:카메라]]
[[nl:Camera]]
[[pl:Kamera]]
[[pt:Câmera]]
[[ru:Камера]]
[[uk:Камера]]
[[zh:相机]]</li><li>[[Trial Key|Trial Key]]<br/>{{Item|
|image=Trial Key .webp
|renewable=Yes
|stackable=Yes (64)
}}
{{Stub}}
{{in dev|java|bedrock|1.21|1.21.0}}

A '''Trial Key''' is an item found in [[Trial Chambers]].

Its functionality remained a mystery for a pretty good time, but on the Minecraft Monthly of January 2024, it has been revealed to open vaults, which once opened will drop an item. It's still unknown what will the loot be, but was seen dispensing the following:
Enchanted iron helmet, enchanted iron leggings, enchanted crossbow, enchanted diamond chestplate, iron, gold and diamond horse armour, enchanted golden apple, saddle, enchanted diamond axe, enchanted iron pickaxe and enchanted iron Shovel. 

The trial key can currently be obtained from trial spawners (50%), or from pots and chests (8%).

[[Category:Items]]

[[ja:Trial Key]]
[[lzh:煉管]]</li></ul>
15w47aDaylight sensors no longer emit signal during the night when sufficiently shaded.
Inverted daylight sensors now emit a variable signal at night.
1.11
{{Extension DPL}}<ul><li>[[Explorer Map|Explorer Map]]<br/>{{about|the map used to find rare structures|the craftable map|Map|others|Map (disambiguation)}}{{Needs updating|Add info on the new jungle, swamp, and village maps in Java 1.20.2 Pre-Release 1}}{{Item
| image = <gallery>
Ocean Explorer Map.png | Ocean
Woodland Explorer Map.png | Woodland
Buried Treasure Map.png | Buried Treasure
</gallery>
|image2 = <gallery>
Ocean Explorer Map BE.png | Ocean (BE)
Woodland Explorer Map BE.png | Woodland (BE)
Buried Treasure Map BE.png | Buried in Treasure (BE)
</gallery>
| renewable = 
* '''Buried Treasure''': No
* '''Woodland and Ocean''': Yes
| stackable = Yes (64)
}}
An '''explorer map''' is a special [[map]] used to aid in finding rare [[generated structures]], including [[woodland mansion]]s, [[ocean monument]]s, and [[buried treasure]]s.

== Obtaining ==
=== Trading ===
Apprentice-level [[cartographer]] villagers sell ocean explorer maps for 13 emeralds and a compass. Journeyman-level cartographer villagers sell woodland explorer maps for 14 emeralds and a compass.

{{IN|java}}, if the cartographer is in [[the Nether]] or [[the End]], either spawned or transported, the trades for the map do not unlock. However, {{in|bedrock}}, the cartographer trades for the map are unlocked, but the purchased map shows the same layout as in the corresponding dimension and shows no destination structure, but if cartographer trades are unlocked in an old world type (prior-1.11.0), the game stops ticking.

In ''Java Edition'', each cartographer sells its own unique explorer map that points to a different location than other cartographers. Purchasing another explorer map from the same cartographer results in the same explorer map. In Bedrock Edition, a cartographer sells an explorer map that points to the nearest location, regardless of whether it is explored or previously mapped by another cartographer.<!-- start to glitched out-->

=== Chest loot ===
Treasure maps, in contrast to explorer maps, generate in underwater ruins or in shipwrecks.
{{LootChestItem|buried-treasure-map}}

== Usage ==
[[File:Explorer Map Comparison.gif|thumb|217px|Unexplored and partially explored maps.]]

{{See also|Map#Mapping|Map#Map content}}

=== Locating structures ===
There are three types of explorer maps: woodland, [[ocean]], and buried treasure. The maps differ from a normal map, in that it shows the area's land-water outline, with an orange striated (striped) texture for water<ref>Specifically, biomes in the "water_on_map_outlines" [[Tag#Biomes|biome tag]].</ref>, and the blank map texture for land. The maps show a section of land that contains a [[woodland mansion]], [[monument]] or [[buried treasure]] respectively. This may not be the nearest such [[structure]] to the [[player]]. The structures are displayed as a small icon. If the player icon is smaller than it would be on a normal map, that means the player is a great distance away. When the player is less than 1027 blocks away from the map border, the icon returns to the proper size. When the player reaches the map's area of land (512×512), the [[map]] fills in like a normal map.

The basic functions of a buried treasure explorer map are similar to that of the other two. However, instead of showing the structure icon on the map, it shows a red X instead. The [[buried treasure]] structure is located on the same X and Z coordinates as the middle of the X (the player marker may need to be aligned with the bottom of the middle 2×2 pixel square of the X). To locate the [[chest]] spot, hold the treasure map with both hands, not in the offhand slot.

=== Cloning ===
{{Crafting
|showdescription=1
|shapeless=1
|name=[[Explorer Map]]<br>(cloned)
|;;;Empty Map;Empty Map;Empty Map;Empty Map;Empty Map 
|;;;;Empty Map;Empty Map;Empty Map;Empty Map
|;;;;;Empty Map;Empty Map;Empty Map
|Ocean Explorer Map; Woodland Explorer Map; Buried Treasure Map; Ocean Explorer Map; Woodland Explorer Map; Buried Treasure Map; Ocean Explorer Map; Woodland Explorer Map
|Empty Map
|;;;;;;Empty Map;Empty Map 
|;Empty Map;Empty Map;Empty Map;Empty Map;Empty Map;Empty Map;Empty Map 
|;;Empty Map;Empty Map;Empty Map;Empty Map;Empty Map;Empty Map
|;;;;;;;Empty Map
|Output= Ocean Explorer Map,2; Woodland Explorer Map,3; Buried Treasure Map,4; Ocean Explorer Map,5; Woodland Explorer Map,6; Buried Treasure Map,7; Ocean Explorer Map,8; Woodland Explorer Map,9
|type= Miscellaneous
|description=The output has the same map center as the input map, and the same [[monument]], [[woodland mansion]] or [[buried treasure]] marker. Cloned maps are stackable.
}}

The parts of the world that have already been explored and mapped are copied, and newly explored areas appear on both instances. In Creative mode, cloned explorer maps can be obtained by pick blocking on the explorer map displayed on [[item frames]] (the map needs to be out of the [[player]]'s inventory when using pick block, or else that map moves into the active hotbar slot).

== Sounds ==
{{edition|java}}:
{{Sound table
|sound=Drawmap1.ogg
|sound2=Drawmap2.ogg
|sound3=Drawmap3.ogg
|subtitle=Map drawn
|source=block
|description=When an explorer map is edited using a cartography table
|id=ui.cartography_table.take_result
|translationkey=subtitles.ui.cartography_table.take_result
|volume=1.0
|pitch=1.0
|distance=16
|foot=1}}

{{edition|bedrock}}: ''None''

== Data values ==
=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|showforms=y
|generatetranslationkeys=y
|displayname=Map
|spritetype=item
|nameid=filled_map
|form=item
|translationkey=filled_map.mansion,filled_map.ocean,filled_map.buried_treasure
|foot=1}}

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|showaliasids=y
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Map
|spritetype=item
|nameid=filled_map
|aliasid=map
|id=358
|form=item
|translationkey=item.map.exploration.monument.name,item.map.exploration.mansion.name,item.map.exploration.treasure.name
|foot=1}}

=== Metadata ===
{{see also|Bedrock Edition data values}}
{{IN|bedrock}}, the item [[Data value]] distinguishes explorer maps from one another:

{{:Map/DV}}

=== Item data ===
An explorer map differs from a map in that its <code>display</code> tag is set, which includes a <code>Mapcolor</code> and a <code>LocName</code>; also its <code>Decorations</code> list includes an entry for its target monument, mansion or buried treasure. Its [[Map item format#map_<#>.dat format|map item entry]] is identical to that of a normal map, except that by the time the player sees it, its <code>colors</code> byte array is pre-filled with explorer maps' characteristic land-water boundary lines and water shading.

<div class="treeview">
It should be noted that this additional data is stored in the Cartographer's NBT data and in the inventory item's NBT data, and not in the map file (e.g. <samp>map_0.dat</samp>). If the [[player]] were to use the {{cmd|give}} command to give themselves a map with the same map ID as an existing explorer map, it would still have the Ocean Monument or the Woodland Mansion icon on the map, but it would simply be named "Map" instead of, for example, "Ocean Explorer Map".
* {{nbt|compound}} Item data
** {{nbt|compound|tag}}: 
*** {{nbt|compound|display}}: How the map looks in an item slot. See also [[Player.dat_format#Display Properties]].
**** {{nbt|string|Name}}: The name the map is given. In this case, they are localized strings: either <code>{"translate":"filled_map.monument"}</code>,<code>{"translate":"filled_map.mansion"}</code> or <code>{"translate":"filled_map.buried_treasure"}</code>.
**** {{nbt|int|MapColor}}: Color codes are calculated from the Red, Green and Blue components using this formula:<br>'''<span style="color:red">Red</span>[[wikipedia:Logical shift|<<]]16 + <span style="color:green">Green</span><<8 + <span style="color:blue">Blue</span>'''.<ref group=note>For positive values larger than 0x00FFFFFF, the top byte is ignored. All negative values produce white.</ref> Monument maps use 3830373, which is {{color swatch|58|114|101}}. Mansion maps use 5393476, which is {{color swatch|82|76|68}}. Buried treasure explorer maps do not use a color code.
*** {{nbt|list|Decorations}}:
**** {{nbt|compound}}: One of these for each icon on the map. Explorer maps always have at least one representing their target.
***** {{nbt|string|id}}: An arbitrary unique string identifying the decoration. For explorer map target structures, this is "+".
***** {{nbt|double|rot}}: The rotation of the icon. For explorer map target structures, this is always 180.
***** {{nbt|byte|type}}: The ID of the [[Map#Map icons|map icon]]: 8 for a mansion map, 9 for a monument map, 26 for a treasure map.
***** {{nbt|double|x}}: The world x-coordinate of the target structure icon.
***** {{nbt|double|z}}: The world z-coordinate of the target structure icon.
</div>
; Notes
{{notelist}}

== Achievements ==
{{load achievements|Treasure Hunter}}

== History ==
{{History|java}}
{{History||1.11|snap=16w39a|[[File:Woodland Explorer Map JE1 BE1.png|32px]] [[File:Ocean Explorer Map JE1 BE1.png|32px]] Added woodland and ocean explorer maps.}}
{{History|||snap=16w41a|Explorer maps can now no longer be zoomed out.}}
{{History||1.13|snap=18w10a|[[File:Map (item) JE1 BE1.png|32px]] Added buried treasure explorer maps.}}
{{History|||snap=18w11a|Buried treasure explorer maps now generate in the [[chest]]s of [[shipwreck]]s.}}
{{History||1.14|snap=18w43a|[[File:Woodland Explorer Map JE2 BE2.png|32px]] [[File:Ocean Explorer Map JE2 BE2.png|32px]] [[File:Map (item) JE2 BE2.png|32px]] The textures for explorer maps have now been changed.}}
{{History||1.20.2|snap=1.20.2 Pre-release 1|Updated structure icons on explorer maps sold by cartographers.}}
{{History||Villager Trade Rebalance<br>(Experimental)|link=Java Edition 1.20.2|snap=1.20.2 Pre-release 1|Added seven new maps which cartographers can sell.}}

{{History|pocket}}
{{History||1.1.0|snap=alpha 1.1.0.0|[[File:Woodland Explorer Map JE1 BE1.png|32px]] [[File:Ocean Explorer Map JE1 BE1.png|32px]] Added explorer maps.<ref>{{Mcnet|discovery-update-pocket-and-win-10-soon|The Discovery Update: on Pocket and Win 10 soon|March 29, 2017}}</ref>
|Explorer maps are not yet obtainable in [[survival]] mode.}}
{{History|||snap=alpha 1.1.0.3|Explorer maps are now obtainable as [[trading|trades]] from [[cartographer]] [[villager]]s.}}
{{History|bedrock}}
{{History||1.4.0|snap=beta 1.2.14.2|[[File:Map (item) JE1 BE1.png|32px]] Added buried treasure explorer maps.}}
{{History|||snap=beta 1.2.20.1|Treasure maps now generate in [[underwater ruins]] [[chest]]s.}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Woodland Explorer Map JE2 BE2.png|32px]] [[File:Ocean Explorer Map JE2 BE2.png|32px]] [[File:Map (item) JE2 BE2.png|32px]] The textures for explorer maps have now been changed.}}
{{History||1.11.0|snap=beta 1.11.0.4|[[Trading]] has now been changed, woodland and ocean explorer maps now cost a [[compass]] and 12 [[emerald]]s.
|Journeyman-level [[cartographer]] [[villager]]s no longer [[trading|sell]] 2 type of explorer map as they now have {{frac|1|3}} chance to sell woodland explorer maps, {{frac|1|3}} chance to sell ocean explorer maps, or {{frac|1|3}} chance to sell other [[item]]s<!-- empty locator map--> as part of their [[trading|trades]].
|Woodland explorer maps can now be [[trading|bought]] from fletcher [[villager]]s.}}
{{History||1.12.0|snap=beta 1.12.0.3|Journeyman-level fletcher villagers no longer [[trading|sell]] woodland explorer maps.}}
{{History||1.13.0|snap=beta 1.13.0.1|[[File:Woodland Explorer Map BE3.png|32px]] [[File:Ocean Explorer Map BE3.png|32px]] [[File:Buried Treasure Map BE3.png|32px]] The textures of explorer maps have now been changed.}}
{{History||1.16.100|snap=beta 1.16.100.56|The ID of maps has been changed from <code>map</code> to <code>filled_map</code>.}}

{{History|console}}
{{History||xbox=TU54|xbone=CU44|ps=1.52|wiiu=Patch 24|switch=1.0.4|[[File:Woodland Explorer Map JE1 BE1.png|32px]] [[File:Ocean Explorer Map JE1 BE1.png|32px]] Added explorer maps.}}
{{History|PS4}}
{{History||1.90|[[File:Woodland Explorer Map JE2 BE2.png|32px]] [[File:Ocean Explorer Map JE2 BE2.png|32px]] The textures for explorer maps have now been changed.}}

{{History|new3ds}}
{{History||1.9.19|[[File:Woodland Explorer Map JE1 BE1.png|32px]] [[File:Ocean Explorer Map JE1 BE1.png|32px]] Added explorer maps.}}
{{History|foot}}

== Issues ==
{{Issue list}}

== Trivia ==
* When a [[cartographer]] generates the trade offers for the explorer maps, it chooses the location of one of the nearest structures of the respective type ([[monument]] or [[woodland mansion]]).
* For the reason above, explorer maps obtained from one cartographer are always the same. Also, if two cartographers unlock the explorer map trades approximately at the same place and at the same time, the map locations are usually identical. This sometimes also happens when finding multiple treasure maps from [[ocean ruins]].
* Explorer maps fill as the [[chunk]]s are generated, rather than when the [[player]] holds them while in the area; leaving an explorer map while exploring the area still fills the map.
* Buried treasure explorer maps are named ''Buried Treasure Map'' {{in|java}} while {{in|bedrock}}, they are named ''Treasure Map''.
* It is possible for a cartographer to give a monument or woodland mansion explorer map for areas where the [[generated structures|structures]] would have spawned in the world, but were unable to as a result of terrain generation. As a result, explorer maps, unfortunately, don't always guarantee that a structure exists at the purported location. This is most common with woodland mansion explorer maps, due to its generation algorithm.
* On [[Bedrock Edition]], inventory editors and add-ons can be used to create Explorer Maps that lead to any structure.

== Gallery ==
<gallery>
File:Explorer Maps.png|An ocean explorer map in the [[off-hand]], a woodland explorer map in the main hand, and a [[cartographer]] [[villager]] in between them.
File:Partial Explorer Map.png|A partially-explored explorer map.
File:ExplorerToNormal Map Comparison.png|Two fully-explored maps of the same place, one of which is a woodland explorer map.
File:Buried Treasure Explorer Map.png|An [[item frame]] holding a buried treasure explorer map. The player can see the red X on the left side of the map.
File:Purchase.png|Purchasing explorer maps from a cartographer.
</gallery>

== See also ==
* [[Map]]
* [[Woodland Mansion]]
* [[Ocean Monument]]
* [[Shipwreck]]
* [[Buried treasure]]

== References ==
{{reflist}}

== External Links ==
*[https://www.minecraft.net/en-us/article/taking-inventory--explorer-map Taking Inventory: Explorer Map] – Minecraft.net on November 13, 2019

{{Items}}

[[de:Schatzkarte]]
[[es:Mapa (localización de estructura)]]
[[fr:Carte d'exploration]]
[[ja:探検家の地図]]
[[ko:탐험 지도]]
[[pl:Mapa eksploracyjna]]
[[pt:Mapa de exploração]]
[[ru:Карта сокровищ]]
[[zh:探险家地图]]</li><li>[[Pumpkin Pie|Pumpkin Pie]]<br/>{{redirect|Pie|the other craftable dessert|Cake|the terrain features|Pile}}
{{Item
| title = Pumpkin Pie
| image = Pumpkin Pie.png
| renewable = Yes
| heals = {{hunger|8}}
| stackable = Yes (64)
}}

'''Pumpkin pie''' is a [[food]] item that can be eaten by the [[player]].

== Obtaining ==
{{see also
 | Tutorials/Pumpkin and melon farming |title1= Pumpkin and melon farming
 | Tutorials/Sugar Cane farming |title2= Sugar cane farming
 | Tutorials/Egg farming |title3= Egg farming
}}

=== Crafting ===

{{Crafting
|Pumpkin
|Sugar
|Egg
|Output= Pumpkin Pie
|type=Foodstuff
}}

=== Trading ===

Apprentice-level farmer [[villager]]s have a 50%{{only|bedrock}} or {{frac|2|3}}{{only|java}} chance to sell 4 pumpkin pies for an emerald as part of their trades.

{{in|java}}, farmer villagers throw pumpkin pies at players under the [[Hero of the Village]] effect.

=== Natural generation ===

{{LootChestItem|pumpkin-pie}}

== Usage ==

=== Food ===

{{see also|Tutorials/Hunger management|title1=Hunger management}}

To eat pumpkin pie, press and hold {{control|use}} while it is selected in the hotbar. Eating one restores {{hunger|8}} [[hunger]] and 4.8 [[:en:Hunger#Mechanics|saturation]].

=== Composting ===
Placing pumpkin pie into a [[composter]] raises the compost level by 1.

==Sounds==
{{Sound table/Entity/Food}}

== Advancements ==
{{load advancements|Husbandry;A Balanced Diet}}

== Data values ==
=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|showforms=y
|generatetranslationkeys=y
|displayname=Pumpkin Pie
|spritetype=item
|nameid=pumpkin_pie
|form=item
|foot=1}}

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Pumpkin Pie
|spritetype=item
|nameid=pumpkin_pie
|id=284
|form=item
|foot=1}}

== Video ==

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

== History ==

{{History|java}}
{{History||September 11, 2012|link=http://twitter.com/jeb_/status/245503714167750656|The first screenshot of pumpkin pie was posted on [[Jens Bergensten|Jeb's]] Twitter.<ref>{{Tweet|jeb|245503714167750656}}</ref><ref>{{Tweet|jeb|245506498099298305}}</ref>}}
{{History||1.4.2|snap=12w37a|[[File:Pumpkin Pie JE1 BE1.png|32px]] Added pumpkin pies.}}
{{History||1.8|snap=14w02a|Pumpkin pie can now be [[trading|bought]] from farmer [[villager]]s, at 2–3 pumpkin pies for 1 [[emerald]].}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 400.}}
{{History||1.14|snap=18w43a|[[File:Pumpkin Pie JE2 BE2.png|32px]] The texture of pumpkin pie has been changed.}}
{{History|||snap=18w50a|Pumpkin pies now generate in chests in taiga [[village]] houses.}}
{{History|||snap=19w03a|Placing pumpkin pie into the new [[composter]] raises the compost level by 1.}}
{{History|||snap=19w13a|Farmer villagers now give pumpkin pies to players under the [[Hero of the Village]] effect.}}

{{History|pocket alpha}}
{{History||v0.8.0|snap=build 1|[[File:Pumpkin Pie JE1 BE1.png|32px]] Added pumpkin pie.}}
{{History||v0.12.1|snap=build 1|Pumpkin pie now restores [[hunger]] instead of [[health]].}}
{{History|bedrock}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Pumpkin Pie JE2 BE2.png|32px]] The texture of pumpkin pie has been changed.}}
{{History||1.11.0|snap=beta 1.11.0.1|Pumpkin pie can now be found in [[taiga]] and [[snowy taiga]] [[village]] house [[chest]]s.
|Pumpkin pie can now be used to fill up [[composter]]s.}}
{{History|||snap=beta 1.11.0.4|Farmer [[villager]]s now have a 50% chance to [[trading|sell]] 4 pumpkin pies for an [[emerald]].}}

{{History|console}}
{{History||xbox=TU14|xbone=CU1|ps=1.04|wiiu=Patch 1|switch=1.0.1|[[File:Pumpkin Pie JE1 BE1.png|32px]] Added pumpkin pie.}}
{{History||xbox=none|xbone=none|ps=1.90|wiiu=none|switch=none|[[File:Pumpkin Pie JE2 BE2.png|32px]] The texture of pumpkin pie has been changed.}}

{{History|New 3DS}}
{{History||0.1.0|[[File:Pumpkin Pie JE1 BE1.png|32px]] Added pumpkin pie.}}
{{History|foot}}

== Issues ==

{{issue list}}

== Gallery ==

<gallery>
File:Twitter Pumpkin Pie.png|The first screenshot of pumpkin pies, posted on Jeb's twitter.
</gallery>

== References ==

{{reflist}}


{{Items}}

[[cs:Dýňový koláč]]
[[de:Kürbiskuchen]]
[[es:Tarta de calabaza]]
[[fr:Tarte à la citrouille]]
[[it:Torta di zucca]]
[[ja:パンプキンパイ]]
[[ko:호박 파이]]
[[lzh:南瓜餅]]
[[nl:Pompoentaart]]
[[pl:Placek dyniowy]]
[[pt:Torta de abóbora]]
[[ru:Тыквенный пирог]]
[[zh:南瓜派]]
[[Category:Food]]
[[Category:Renewable resources]]</li></ul>
16w32aThe block entity ID has now been changed from DLDetector to daylight_detector.
1.13
{{Extension DPL}}<ul><li>[[:Category:Joke items|Category:Joke items]]<br/>[[Category:Joke features|Items]]
[[Category:Items]]</li><li>[[Flower Pot|Flower Pot]]<br/>{{more images|The potted cherry sapling texture has been change in 1.19.4-pre2.}}
{{For|other uses|Pot}}
{{Block
| image = Flower Pot.png
| image2 = Potted Poppy.png
| extratext = View [[#Gallery|all renders]]
| transparent = Yes
| light = No
| tool = any
| renewable = Yes
| stackable = Yes (64)
| flammable = No
| lavasusceptible = No
}}

A '''flower pot''' is a decorative [[block]] that can contain flowers, bamboo, saplings, cacti, mushrooms, fungi, and other reasonably small plants.

== Obtaining ==
=== Natural generation ===
Flower pots naturally generate in [[witch hut]]s where they contain a red [[mushroom]], the basement of [[igloo]]s where they contain a [[cactus]], and in [[woodland mansion]]s, where they contain birch [[sapling]]s, dark oak saplings, dandelions, poppies, blue orchids, alliums, azure bluets, red and white tulips, and oxeye daisies.

Flower pots containing a dandelion can be found in some [[plains]] and [[savanna]] [[village]] houses. Flower pots containing a cactus or a dead bush can be found in some [[desert]] village houses. Flower pots containing a spruce sapling can be found in [[taiga]] village mason houses. Flower pots containing a poppy can be found in taiga village churches.

=== Breaking ===
Flower pots can be mined instantly using any [[tool]] or without a tool.

A flower pot drops itself as an [[item]] (any [[plant]] or [[mushroom]] in it separately) when pushed by a [[piston]] or washed away with [[water]].

[[Lava]] can flow into the space of a flower pot, destroying it.

=== Chest loot ===
{{LootChestItem|flower-pot}}

=== Crafting ===
{{Crafting
|A2= Brick
|C2= Brick
|B3= Brick
|Output= Flower Pot
|type= Decoration block
}}

== Usage ==
A flower pot can be used to hold [[mushroom]]s, [[Fungus|fungi]], and various [[plant]]s. Plants that can be {{control|placed}} in a pot include any one block high [[flower]]s, [[sapling]]s, [[fern]]s, [[dead bush]]es, [[cacti]], [[bamboo]], [[azalea]]s, [[mangrove propagule]], and [[roots]].

Plants can be removed by using the interact button.

{{IN|je}}, flower pots can be placed on any block, or over [[air]].<ref>{{bug|MC-127036|||WAI}}</ref>

{{IN|be}}, they must be placed on top of a full-[[block]] top surface, or the top of a [[fence]], stone [[wall]], or [[hopper]]. They cannot be placed on [[slab]]s and [[stairs]] unless those blocks are upside-down. Pots may also be placed on an upward facing trapdoor. If the trapdoor is opened, the pot will break.

Flower pots are {{frac|3|8}} of a block high and can be stepped on. It is not possible to walk from the top of a flower pot onto a full sized block without jumping. It is possible to jump from a flower pot onto a fence.
 
The plant or fungus can be removed from the flower pot by pressing the {{control|use}} control. This places the item directly back into the player's inventory.<ref>{{bug|MC-169496|||WAI}}</ref>

They can be used to display cacti and wither roses without inheriting their damaging properties.<ref>{{bug|MC-2241|||WAI}}</ref><ref>{{bug|MC-138024|||WAI}}</ref>

Potted [[Fungus|warped fungus]] can be used to repel [[hoglin]]s.

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

== Data values ==
=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|showblocktags=y
|showforms=y
|generatetranslationkeys=y
|displayname=Flower Pot
|spritetype=block
|nameid=flower_pot
|blocktags=flower_pots
|translationkey=block.minecraft.flower_pot,item.minecraft.flower_pot}}
{{ID table
|displayname=Potted Dandelion
|spritetype=block
|nameid=potted_dandelion
|blocktags=flower_pots
|form=block}}
{{ID table
|displayname=Potted Poppy
|spritetype=block
|nameid=potted_poppy
|blocktags=flower_pots
|form=block}}
{{ID table
|displayname=Potted Blue Orchid
|spritetype=block
|nameid=potted_blue_orchid
|blocktags=flower_pots
|form=block}}
{{ID table
|displayname=Potted Allium
|spritetype=block
|nameid=potted_allium
|blocktags=flower_pots
|form=block}}
{{ID table
|displayname=Potted Azure Bluet
|spritetype=block
|nameid=potted_azure_bluet
|blocktags=flower_pots
|form=block}}
{{ID table
|displayname=Potted Red Tulip
|spritetype=block
|nameid=potted_red_tulip
|blocktags=flower_pots
|form=block}}
{{ID table
|displayname=Potted Orange Tulip
|spritetype=block
|nameid=potted_orange_tulip
|blocktags=flower_pots
|form=block}}
{{ID table
|displayname=Potted White Tulip
|spritetype=block
|nameid=potted_white_tulip
|blocktags=flower_pots
|form=block}}
{{ID table
|displayname=Potted Pink Tulip
|spritetype=block
|nameid=potted_pink_tulip
|blocktags=flower_pots
|form=block}}
{{ID table
|displayname=Potted Oxeye Daisy
|spritetype=block
|nameid=potted_oxeye_daisy
|blocktags=flower_pots
|form=block}}
{{ID table
|displayname=Potted Cornflower
|spritetype=block
|nameid=potted_cornflower
|blocktags=flower_pots
|form=block}}
{{ID table
|displayname=Potted Lily of the Valley
|spritetype=block
|nameid=potted_lily_of_the_valley
|blocktags=flower_pots
|form=block}}
{{ID table
|displayname=Potted Wither Rose
|spritetype=block
|nameid=potted_wither_rose
|blocktags=flower_pots
|form=block}}
{{ID table
|displayname=Potted Oak Sapling
|spritetype=block
|nameid=potted_oak_sapling
|blocktags=flower_pots
|form=block}}
{{ID table
|displayname=Potted Spruce Sapling
|spritetype=block
|nameid=potted_spruce_sapling
|blocktags=flower_pots
|form=block}}
{{ID table
|displayname=Potted Birch Sapling
|spritetype=block
|nameid=potted_birch_sapling
|blocktags=flower_pots
|form=block}}
{{ID table
|displayname=Potted Jungle Sapling
|spritetype=block
|nameid=potted_jungle_sapling
|blocktags=flower_pots
|form=block}}
{{ID table
|displayname=Potted Acacia Sapling
|spritetype=block
|nameid=potted_acacia_sapling
|blocktags=flower_pots
|form=block}}
{{ID table
|displayname=Potted Dark Oak Sapling
|spritetype=block
|nameid=potted_dark_oak_sapling
|blocktags=flower_pots
|form=block}}
{{ID table
|displayname=Potted Red Mushroom
|spritetype=block
|nameid=potted_red_mushroom
|blocktags=flower_pots
|form=block}}
{{ID table
|displayname=Potted Brown Mushroom
|spritetype=block
|nameid=potted_brown_mushroom
|blocktags=flower_pots
|form=block}}
{{ID table
|displayname=Potted Fern
|spritetype=block
|nameid=potted_fern
|blocktags=flower_pots
|form=block}}
{{ID table
|displayname=Potted Dead Bush
|spritetype=block
|nameid=potted_dead_bush
|blocktags=flower_pots
|form=block}}
{{ID table
|displayname=Potted Cactus
|spritetype=block
|nameid=potted_cactus
|blocktags=flower_pots
|form=block}}
{{ID table
|displayname=Potted Bamboo
|spritetype=block
|nameid=potted_bamboo
|blocktags=flower_pots
|form=block}}
{{ID table
|displayname=Potted Azalea
|spritetype=block
|nameid=potted_azalea_bush
|blocktags=flower_pots
|spritename=potted azalea bush
|form=block}}
{{ID table
|displayname=Potted Flowering Azalea
|spritetype=block
|nameid=potted_flowering_azalea_bush
|blocktags=flower_pots
|spritename=potted flowering azalea bush
|form=block}}
{{ID table
|displayname=Potted Crimson Fungus
|spritetype=block
|nameid=potted_crimson_fungus
|blocktags=flower_pots
|form=block}}
{{ID table
|displayname=Potted Warped Fungus
|spritetype=block
|nameid=potted_warped_fungus
|blocktags=flower_pots, hoglin_repellents
|form=block}}
{{ID table
|displayname=Potted Crimson Roots
|spritetype=block
|nameid=potted_crimson_roots
|blocktags=flower_pots
|form=block}}
{{ID table
|displayname=Potted Warped Roots
|spritetype=block
|nameid=potted_warped_roots
|blocktags=flower_pots
|form=block}}
{{ID table
|displayname=Potted Mangrove Propagule
|spritetype=block
|nameid=potted_mangrove_propagule
|blocktags=flower_pots
|form=block
|foot=1}}

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|firstcolumnname=Flower Pot
|shownumericids=y
|showforms=y
|generatetranslationkeys=y
|displayname=Block
|spritename=flower-pot
|spritetype=block
|nameid=flower_pot
|id=140
|form=block
|itemform=item.flower_pot
|translationkey=-}}
{{ID table
|displayname=Item
|spritename=flower-pot
|spritetype=item
|nameid=flower_pot
|id=514
|form=item
|foot=1}}

=== Block states ===
{{see also|Block states}}
{{IN|be}}, flower pots use the following block states:

{{/BS}}

=== Block data ===
{{IN|bedrock}}, flower pot has a block entity associated with it that holds additional data about the block.

See [[Bedrock Edition level format/Block entity format]].

== Achievements ==
{{load achievements|Pot Planter}}

== History ==
{{History||August 16, 2012|link={{tweet|Dinnerbone|236062188555624448}}|[[Dinnerbone]] tweeted the first image of flower pots.}}
{{History|java}}
{{History||1.4.2|snap=12w34a|[[File:Flower Pot JE1.png|32px]] [[File:Potted Dandelion JE1.png|32px]] [[File:Potted Rose JE1.png|32px]] [[File:Potted Red Mushroom JE1.png|32px]] [[File:Potted Brown Mushroom JE1.png|32px]] [[File:Potted Oak Sapling JE1.png|32px]] [[File:Potted Birch Sapling JE1.png|32px]] [[File:Potted Spruce Sapling JE1.png|32px]] [[File:Potted Jungle Sapling JE1.png|32px]] [[File:Potted Cactus JE1.png|32px]] [[File:Potted Fern JE1.png|32px]] [[File:Potted Dead Bush JE1.png|32px]]<br>[[File:Flower Pot (item) JE1 BE1.png|32px]] Added flower pots.
|At this point, plants inside of pots rendered much like they do outside of flower pots, not being subject to directional shading.}}
{{History|||snap=12w40a|A potted [[red mushroom]] can now be found on one window of a [[witch hut]]. This changed to an empty pot in a far later unknown version,{{info needed}} but returned again afterward.{{info needed}}}}
{{History||1.7.2|snap=13w36a|[[File:Potted Allium JE1.png|32px]] [[File:Potted Azure Bluet JE1.png|32px]] [[File:Potted Oxeye Daisy JE1.png|32px]] [[File:Potted Blue Orchid JE1.png|32px]] [[File:Potted Red Tulip JE1.png|32px]] [[File:Potted Orange Tulip JE1.png|32px]] [[File:Potted White Tulip JE1.png|32px]] [[File:Potted Pink Tulip JE1.png|32px]] Allium, azure bluet, oxeye daisies, blue orchids, red tulips, orange tulips, white tulips and pink tulips can now be placed in flower pots.
|[[File:Potted Poppy JE1.png|32px]] As the rose has been replaced with the poppy, the potted rose is also now replaced with the potted poppy as a result.
|Flower pots can no longer use data values because more than 15 plants can be potted, it now has a [[block entity]] instead.
|[[File:Potted Green Shrub.png|32px]] [[File:Potted Cobweb JE1.png|32px]] Due to the tile entity handling, it is now possible to place any [[block]] inside of a flower pot via NBT editors. However, at this point, with the ones possible in vanilla [[survival]] aside, only [[grass]], [[shrub|green shrub]]s, and [[cobweb]]s actually render.
|[[File:Potted Grass JE1.png|32px]] Potted grass now exists can be placed in flower pots using [[commands]].
|[[File:Potted Grass (no tint) JE1.png|32px]] [[File:Potted Fern (no tint) JE1.png|32px]] Potted shrubs, grass, and ferns must now have block data value 11 to display biome colors, otherwise rendering as default/gray.}}
{{History|||snap=13w37a|Added {{cmd|setblock}}, allowing for the aforementioned potted plants to be obtained without map editing.}}
{{History|||snap=13w43a|[[File:Potted Acacia Sapling JE1.png|32px]] [[File:Potted Dark Oak Sapling JE1.png|32px]] Acacia sapling and dark oak saplings can now be placed in flower pots.}}
{{History||1.8|snap=14w06a|Many more blocks (almost all full cubes) placed into a flower pot by modifying the block entity now render, if in somewhat buggy fashion, as the texture is in a cross shape. {{LoadPage|Flower Pot/1.8 development gallery/14w06a|Click show to display all of the applicable blocks.|b}}
|[[File:Potted Cactus JE2.png|32px]] Potted cacti now appear as a cross formed of their bottom texture inside of a pot.<ref>{{bug|MC-47469}}</ref>}}
{{History|||snap=14w06b|Further blocks now render in flower pots than did in the previous snapshot. {{LoadPage|Flower Pot/1.8 development gallery/14w06b|Click show to display all of the applicable blocks.|b}}
|[[File:Potted Cactus JE3.png|32px]] The accidental potted cactus model change has been reverted.}}
{{History|||snap=14w07a|[[File:Potted Iron Trapdoor.png|32px]] The newly added [[iron trapdoor]] also renders in flower pots when created with commands.}}
{{History|||snap=14w17a|[[File:Flower Pot JE2.png|32px]] [[File:Potted Dandelion JE2.png|32px]] [[File:Potted Allium JE2.png|32px]] [[File:Potted Azure Bluet JE2.png|32px]] [[File:Potted Oxeye Daisy JE2.png|32px]] [[File:Potted Blue Orchid JE2.png|32px]] [[File:Potted Poppy JE2.png|32px]] [[File:Potted Red Tulip JE2.png|32px]] [[File:Potted Orange Tulip JE2.png|32px]] [[File:Potted White Tulip JE2.png|32px]] [[File:Potted Pink Tulip JE2.png|32px]] [[File:Potted Red Mushroom JE2.png|32px]] [[File:Potted Brown Mushroom JE2.png|32px]] [[File:Potted Oak Sapling JE2.png|32px]] [[File:Potted Birch Sapling JE2.png|32px]] [[File:Potted Spruce Sapling JE2.png|32px]] [[File:Potted Jungle Sapling JE2.png|32px]] [[File:Potted Acacia Sapling JE2.png|32px]] [[File:Potted Dark Oak Sapling JE2.png|32px]] [[File:Potted Cactus JE4.png|32px]] [[File:Potted Fern JE2.png|32px]] [[File:Potted Dead Bush JE2.png|32px]] The flower pot model and rendering has changed. The insides are now subject to directional shading, rather than being fully lit, much like the changes made to [[hopper]]s and [[cauldron]]s in 14w10a. In addition, the outer face (as well as the cuboids comprising the cactus in potted cactus) are no longer subject to ambient occlusion. The potted cactus also now uses the side texture on the top face, rather than the top texture.
|Invalid blocks no longer render inside flower pots. This also includes cobweb and grass.}}
{{History|||snap=14w25a|[[File:Potted Dandelion JE3.png|32px]] [[File:Potted Allium JE3.png|32px]] [[File:Potted Azure Bluet JE3.png|32px]] [[File:Potted Oxeye Daisy JE3.png|32px]] [[File:Potted Blue Orchid JE3.png|32px]] [[File:Potted Poppy JE3.png|32px]] [[File:Potted Red Tulip JE3.png|32px]] [[File:Potted Orange Tulip JE3.png|32px]] [[File:Potted White Tulip JE3.png|32px]] [[File:Potted Pink Tulip JE3.png|32px]] [[File:Potted Red Mushroom JE3.png|32px]] [[File:Potted Brown Mushroom JE3.png|32px]] [[File:Potted Oak Sapling JE3.png|32px]] [[File:Potted Birch Sapling JE3.png|32px]] [[File:Potted Spruce Sapling JE3.png|32px]] [[File:Potted Jungle Sapling JE3.png|32px]] [[File:Potted Acacia Sapling JE3.png|32px]] [[File:Potted Dark Oak Sapling JE3.png|32px]] [[File:Potted Fern JE3.png|32px]] [[File:Potted Dead Bush JE3.png|32px]] Potted cross shaped objects are now affected by directional shading.<ref>{{bug|MC-129826}}</ref>}}
{{History||1.9|snap=15w43a|A potted cactus can now be found on a table in [[igloo]] basements.}}
{{History||1.11|snap=16w32a|The block entity ID of flower pots has been changed from <code>FlowerPot</code> to <code>flower_pot</code>.}}
{{History|||snap=16w39a|Potted plants can now be removed from flower pots by pressing {{control|use}}.
|Flower pots now generate in [[woodland mansion]]s.}}
{{History||1.13|snap=17w47a|The different block states for the <code>flower_pot</code> ID have been split up into their own IDs.
|Flower pots are no longer block entities.
|Prior to [[1.13/Flattening|''The Flattening'']], this block's numeral ID was 140, and the item's was 390.}}
{{History||1.14|snap=18w43a|[[File:Flower Pot JE3.png|32px]] [[File:Potted Dandelion JE4.png|32px]] [[File:Potted Poppy JE4.png|32px]] [[File:Potted Allium JE4.png|32px]] [[File:Potted Azure Bluet JE4.png|32px]] [[File:Potted Oxeye Daisy JE4.png|32px]] [[File:Potted Blue Orchid JE4.png|32px]] [[File:Potted Red Tulip JE4.png|32px]] [[File:Potted Orange Tulip JE4.png|32px]] [[File:Potted White Tulip JE4.png|32px]] [[File:Potted Pink Tulip JE4.png|32px]] [[File:Potted Red Mushroom JE4.png|32px]] [[File:Potted Brown Mushroom JE4.png|32px]] [[File:Potted Oak Sapling JE4.png|32px]] [[File:Potted Birch Sapling JE4.png|32px]] [[File:Potted Spruce Sapling JE4.png|32px]] [[File:Potted Jungle Sapling JE4.png|32px]] [[File:Potted Acacia Sapling JE4.png|32px]] [[File:Potted Dark Oak Sapling JE4.png|32px]] [[File:Potted Cactus JE5.png|32px]] [[File:Potted Fern JE4.png|32px]] [[File:Potted Dead Bush JE4.png|32px]] <br>[[File:Flower Pot (item) JE2 BE2.png|32px]] The textures of flower pots and their contained plants have been changed.
|[[File:Potted Cornflower JE1 BE1.png|32px]] [[File:Potted Lily of the Valley JE1 BE1.png|32px]] [[File:Potted Wither Rose JE1 BE1.png|32px]] [[File:Potted Bamboo JE1 BE1.png|32px]] Cornflower, lily of the valley, wither rose and [[bamboo]] can now be placed in flower pots.}}
{{History|||snap=18w44a|[[File:Potted Cactus JE6.png|32px]] The texture of potted cacti has been changed.}}
{{History|||snap=18w47b|[[File:Potted Poppy JE5.png|32px]] The texture of potted poppies has been changed.}}
{{History|||snap=18w49a|Flower pots can now be found in [[chest]]s in [[village]] mason houses.}}
{{History|||snap=19w11a|Flower pots have become [[renewable resource|renewable]], as mason [[villager]]s now [[trading|sell]] [[brick]]s.}}
{{History||1.16|snap=20w06a|The model of flower pots has been fixed and has been given an underside, which has changed the model from [[File:Flower Pot UNKVER2 (facing NWU).png|32px]] to [[File:Flower Pot UNKVER3 (facing NWU).png|32px]].}}
{{History|||snap=20w09a|[[File:Potted Crimson Fungus JE1 BE1.png|32px]] [[File:Potted Warped Fungus JE1 BE1.png|32px]] [[File:Potted Crimson Roots JE1 BE1.png|32px]] [[File:Potted Warped Roots JE1 BE1.png|32px]] Crimson and warped [[fungi]] and crimson and warped [[roots]] can now be placed in flower pots.
|The model for potted plants has been fixed, so the bottom face now renders,<ref>{{bug|MC-170842}}</ref> which has changed the model from [[File:Potted Dandelion UNKVER1 (facing NWU).png|32px]] [[File:Potted Poppy UNKVER1 (facing NWU).png|32px]] [[File:Potted Allium UNKVER1 (facing NWU).png|32px]] [[File:Potted Azure Bluet UNKVER1 (facing NWU).png|32px]] [[File:Potted Oxeye Daisy UNKVER1 (facing NWU).png|32px]] [[File:Potted Blue Orchid UNKVER1 (facing NWU).png|32px]] [[File:Potted Red Tulip UNKVER1 (facing NWU).png|32px]] [[File:Potted Orange Tulip UNKVER1 (facing NWU).png|32px]] [[File:Potted White Tulip UNKVER1 (facing NWU).png|32px]] [[File:Potted Pink Tulip UNKVER1 (facing NWU).png|32px]] [[File:Potted Red Mushroom UNKVER1 (facing NWU).png|32px]] [[File:Potted Brown Mushroom UNKVER1 (facing NWU).png|32px]] [[File:Potted Oak Sapling UNKVER1 (facing NWU).png|32px]] [[File:Potted Birch Sapling UNKVER1 (facing NWU).png|32px]] [[File:Potted Spruce Sapling UNKVER1 (facing NWU).png|32px]] [[File:Potted Jungle Sapling UNKVER1 (facing NWU).png|32px]] [[File:Potted Acacia Sapling UNKVER1 (facing NWU).png|32px]] [[File:Potted Dark Oak Sapling UNKVER1 (facing NWU).png|32px]] [[File:Potted Cactus UNKVER1 (facing NWU).png|32px]] [[File:Potted Fern UNKVER1 (facing NWU).png|32px]] [[File:Potted Dead Bush UNKVER1 (facing NWU).png|32px]] [[File:Potted Cornflower UNKVER1 (facing NWU).png|32px]] [[File:Potted Lily of the Valley UNKVER1 (facing NWU).png|32px]] [[File:Potted Wither Rose UNKVER1 (facing NWU).png|32px]] [[File:Potted Bamboo UNKVER1 (facing NWU).png|32px]] to [[File:Potted Dandelion UNKVER2 (facing NWU).png|32px]] [[File:Potted Poppy UNKVER2 (facing NWU).png|32px]] [[File:Potted Allium UNKVER2 (facing NWU).png|32px]] [[File:Potted Azure Bluet UNKVER2 (facing NWU).png|32px]] [[File:Potted Oxeye Daisy UNKVER2 (facing NWU).png|32px]] [[File:Potted Blue Orchid UNKVER2 (facing NWU).png|32px]] [[File:Potted Red Tulip UNKVER2 (facing NWU).png|32px]] [[File:Potted Orange Tulip UNKVER2 (facing NWU).png|32px]] [[File:Potted White Tulip UNKVER2 (facing NWU).png|32px]] [[File:Potted Pink Tulip UNKVER2 (facing NWU).png|32px]] [[File:Potted Red Mushroom UNKVER2 (facing NWU).png|32px]] [[File:Potted Brown Mushroom UNKVER2 (facing NWU).png|32px]] [[File:Potted Oak Sapling UNKVER2 (facing NWU).png|32px]] [[File:Potted Birch Sapling UNKVER2 (facing NWU).png|32px]] [[File:Potted Spruce Sapling UNKVER2 (facing NWU).png|32px]] [[File:Potted Jungle Sapling UNKVER2 (facing NWU).png|32px]] [[File:Potted Acacia Sapling UNKVER2 (facing NWU).png|32px]] [[File:Potted Dark Oak Sapling UNKVER2 (facing NWU).png|32px]] [[File:Potted Cactus UNKVER2 (facing NWU).png|32px]] [[File:Potted Fern UNKVER2 (facing NWU).png|32px]] [[File:Potted Dead Bush UNKVER2 (facing NWU).png|32px]] [[File:Potted Cornflower UNKVER2 (facing NWU).png|32px]] [[File:Potted Lily of the Valley UNKVER2 (facing NWU).png|32px]] [[File:Potted Wither Rose UNKVER2 (facing NWU).png|32px]] [[File:Potted Bamboo UNKVER2 (facing NWU).png|32px]].}}
{{History|||snap=20w11a|[[File:Potted Bamboo UNKVER3 (facing NWU).png|32px]] An unneeded face has been removed from potted bamboo to solve a z-fighting issue.<ref>{{bug|MC-173156}}</ref>}}
{{History|||snap=Pre-release 3|[[File:Potted Cactus JE7.png|32px]] [[File:Potted Cactus UNKVER3 (facing NWU).png|32px]] The model of the potted cacti has been changed. The top face now uses the top texture of cactus, rather than the side texture and the bottom face has been changed to the top texture of the flower pot.}}
{{History||1.16.2|snap=20w28a|[[File:Potted Cactus UNKVER4 (facing NWU).png|32px]] The model of the potted cactus no longer has a hole in the bottom, although the texture is stretched.}}
{{History||1.17|snap=Pre-release 1|[[File:Potted Azalea JE1 BE1.png|32px]] [[File:Potted Flowering Azalea JE1 BE1.png|32px]][[Azalea]] and flowering azalea can now be placed in flower pots.
|[[File:Potted Flowering Azalea (plant texture) JE1.png|32px]] Potted flowering azalea has own unused plant texture but uses normal variant for consistency with flowering azalea: [[File:Potted Flowering Azalea (bottom) JE1 BE1.png|32px]] [[File:Flowering Azalea (bottom) JE2 BE2.png|32px]]}}
{{History||1.19|snap=22w11a|[[File:Potted Mangrove Propagule JE1.png|32px]] [[Mangrove propagule]]s can now be placed in flower pots.}}
{{History|||snap=22w18a|[[File:Potted Mangrove Propagule JE2.png|32px]] The western element of the flower pot in potted mangrove propagules has been deleted.<ref name="mc-251355">{{bug|MC-251355}}</ref>}}
{{History|||snap=Pre-release 1|[[File:Potted Mangrove Propagule JE1.png|32px]] The aforementioned western element has been restored.<ref name="mc-251355"/>}}
{{History||1.20<br>(Experimental)|link=1.19.4|snap=23w07a|[[File:Potted Torchflower JE1.png|32px]] [[File:Potted Cherry Sapling JE1.png|32px]] [[Torchflower]]s and [[cherry sapling]]s can now be placed in flower pots.}}
{{History|||snap=1.19.4-pre2|Changed the texture of potted cherry saplings.}}
{{History||1.20|snap=23w12a|Potted torchflower and cherry sapling are now available without using the "Update 1.20" experimental datapack.|Flower pot can now be found in [[suspicious gravel]] and [[suspicious sand]] in [[trail ruins]].}}
{{History|||snap=23w13a|[[File:Potted Flowering Azalea JE2.png|32px]] Flowering azalea now uses own plant texture, changing appearance from [[File:Potted Flowering Azalea (bottom) JE1 BE1.png|32px]] to [[File:Potted Flowering Azalea (bottom) JE2.png|32px]] and breaking consistency with flowering azalea.<ref>{{bug|MC-230916}}</ref>}}
{{History|||snap=23w16a|Flower pot 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]]; flower pot now is in the common loot.}}

{{History|pocket alpha}}
{{History||v0.12.1|snap=build 1|[[File:Flower Pot JE1.png|32px]] [[File:Potted Dandelion JE1.png|32px]] [[File:Potted Red Mushroom JE1.png|32px]] [[File:Potted Brown Mushroom JE1.png|32px]] [[File:Potted Oak Sapling JE1.png|32px]] [[File:Potted Birch Sapling JE1.png|32px]] [[File:Potted Spruce Sapling JE1.png|32px]] [[File:Potted Jungle Sapling JE1.png|32px]] [[File:Potted Cactus JE1.png|32px]] [[File:Potted Fern JE1.png|32px]] [[File:Potted Allium JE1.png|32px]] [[File:Potted Azure Bluet JE1.png|32px]] [[File:Potted Oxeye Daisy JE1.png|32px]] [[File:Potted Blue Orchid JE1.png|32px]] [[File:Potted Poppy JE1.png|32px]] [[File:Potted Red Tulip JE1.png|32px]] [[File:Potted Orange Tulip JE1.png|32px]] [[File:Potted White Tulip JE1.png|32px]] [[File:Potted Pink Tulip JE1.png|32px]] [[File:Potted Acacia Sapling JE1.png|32px]] [[File:Potted Dark Oak Sapling JE1.png|32px]]{{verify|Are these models the ones used in this version?}}<br>[[File:Flower Pot (item) JE1 BE1.png|32px]] Added flower pots.}}
{{History||v0.14.0|snap=build 1|Flower pots now generate in [[witch hut]]s.}}
{{History|pocket}}
{{History||1.0.0|snap=alpha 0.17.0.1|Flower pots now generate in [[igloo]] basements.}}
{{History||1.1.0|snap=alpha 1.1.0.0|Flower pots now generate naturally in [[woodland mansion]]s.}}
{{History|bedrock}}
{{History||1.8.0|snap=beta 1.8.0.8|[[File:Potted Bamboo JE1 BE1.png|32px]]{{verify|Is this how they really look in BE?}} [[Bamboo]] can now be placed in flower pots.}}
{{History||1.9.0|snap=beta 1.9.0.0|[[File:Potted Cornflower BE.jpg|32px]] [[File:Potted Lily of the Valley BE.jpg|32px]] Cornflower and lily of the valley can now be placed in flower pots.}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Flower Pot BE.jpg|32px]] [[File:Potted Dandelion BE.jpg|32px]] [[File:Potted Poppy BE.jpg|32px]] [[File:Potted Allium BE.jpg|32px]] [[File:Potted Azure Bluet BE.jpg|32px]] [[File:Potted Oxeye Daisy BE.jpg|32px]] [[File:Potted Blue Orchid BE.jpg|32px]] [[File:Potted Red Tulip BE.jpg|32px]] [[File:Potted Orange Tulip BE.jpg|32px]] [[File:Potted White Tulip BE.jpg|32px]] [[File:Potted Pink Tulip BE.jpg|32px]] [[File:Potted Red Mushroom BE.jpg|32px]] [[File:Potted Brown Mushroom BE.jpg|32px]] [[File:Potted Oak Sapling BE.jpg|32px]] [[File:Potted Birch Sapling BE.jpg|32px]] [[File:Potted Spruce Sapling BE.jpg|32px]] [[File:Potted Jungle Sapling BE.jpg|32px]] [[File:Potted Acacia Sapling BE.jpg|32px]] [[File:Potted Dark Oak Sapling BE.jpg|32px]] [[File:Potted Cactus BE.png|32px]] [[File:Potted Fern BE.jpg|32px]]<br>[[File:Flower Pot (item) JE2 BE2.png|32px]] The textures of flower pots have been changed.
|Flower pots now generate in the new [[village]]s.}}
{{History||1.11.0|snap=beta 1.11.0.1|Flower pots can now be found in [[village]] mason [[chest]]s.}}
{{History||1.13.0|snap=beta 1.13.0.9|[[File:Potted Wither Rose JE1 BE1.png|32px]] [[Wither rose]]s can now be placed in flower pots.}}
{{History||1.16.0|snap=beta 1.15.0.51|Potted plants can now be removed from flower pots by pressing {{control|use}}.}}
{{History|||snap=beta 1.16.0.51|[[File:Potted Crimson Fungus JE1 BE1.png|32px]] [[File:Potted Warped Fungus JE1 BE1.png|32px]] [[File:Potted Crimson Roots JE1 BE1.png|32px]] [[File:Potted Warped Roots JE1 BE1.png|32px]] Crimson and warped [[fungi]] and crimson and warped [[roots]] can now be placed in flower pots.}}
{{History||1.17.10|snap=beta 1.17.10.21|[[File:Potted Azalea JE1 BE1.png|32px]] [[File:Potted Flowering Azalea JE1 BE1.png|32px]] [[Azalea]] and flowering azalea can now be placed in flower pots.}}

{{History|console}}
{{History||xbox=TU14|xbone=CU1|ps=1.04|wiiu=Patch 1|switch=1.0.1|[[File:Flower Pot JE1.png|32px]] [[File:Potted Dandelion JE1.png|32px]] [[File:Potted Red Mushroom JE1.png|32px]] [[File:Potted Brown Mushroom JE1.png|32px]] [[File:Potted Oak Sapling JE1.png|32px]] [[File:Potted Birch Sapling JE1.png|32px]] [[File:Potted Spruce Sapling JE1.png|32px]] [[File:Potted Jungle Sapling JE1.png|32px]] [[File:Potted Cactus JE1.png|32px]] [[File:Potted Fern JE1.png|32px]] [[File:Potted Allium JE1.png|32px]] [[File:Potted Azure Bluet JE1.png|32px]] [[File:Potted Oxeye Daisy JE1.png|32px]] [[File:Potted Blue Orchid JE1.png|32px]] [[File:Potted Poppy JE1.png|32px]] [[File:Potted Red Tulip JE1.png|32px]] [[File:Potted Orange Tulip JE1.png|32px]] [[File:Potted White Tulip JE1.png|32px]] [[File:Potted Pink Tulip JE1.png|32px]] [[File:Potted Acacia Sapling JE1.png|32px]] [[File:Potted Dark Oak Sapling JE1.png|32px]] [[File:Potted Dead Bush JE3.png|32px]]{{verify|Are these models the ones used in this version?}}<br>[[File:Flower Pot (item) JE1 BE1.png|32px]] Added flower pots.}}
{{History||xbox=none|xbone=none|ps=1.90|wiiu=none|switch=none|[[File:Flower Pot BE.png|32px]] [[File:Potted Dandelion BE.png|32px]] [[File:Potted Poppy BE.png|32px]] [[File:Potted Allium BE.png|32px]] [[File:Potted Azure Bluet BE.png|32px]] [[File:Potted Oxeye Daisy BE.png|32px]] [[File:Potted Blue Orchid BE.png|32px]] [[File:Potted Red Tulip BE.png|32px]] [[File:Potted Orange Tulip BE.png|32px]] [[File:Potted White Tulip BE.png|32px]] [[File:Potted Pink Tulip BE.png|32px]] [[File:Potted Red Mushroom BE.png|32px]] [[File:Potted Brown Mushroom BE.png|32px]] [[File:Potted Oak Sapling BE.png|32px]] [[File:Potted Birch Sapling BE.png|32px]] [[File:Potted Spruce Sapling BE.png|32px]] [[File:Potted Jungle Sapling BE.png|32px]] [[File:Potted Acacia Sapling BE.png|32px]] [[File:Potted Dark Oak Sapling BE.png|32px]] [[File:Potted Cactus BE.png|32px]] [[File:Potted Fern BE.png|32px]]<br>[[File:Flower Pot (item) JE2 BE2.png|32px]] The textures of flower pots have been changed.}}

{{History|new 3ds}}
{{History||0.1.0|[[File:Flower Pot JE1.png|32px]] [[File:Potted Dandelion JE1.png|32px]] [[File:Potted Red Mushroom JE1.png|32px]] [[File:Potted Brown Mushroom JE1.png|32px]] [[File:Potted Oak Sapling JE1.png|32px]] [[File:Potted Birch Sapling JE1.png|32px]] [[File:Potted Spruce Sapling JE1.png|32px]] [[File:Potted Jungle Sapling JE1.png|32px]] [[File:Potted Cactus JE1.png|32px]] [[File:Potted Fern JE1.png|32px]] [[File:Potted Allium JE1.png|32px]] [[File:Potted Azure Bluet JE1.png|32px]] [[File:Potted Oxeye Daisy JE1.png|32px]] [[File:Potted Blue Orchid JE1.png|32px]] [[File:Potted Poppy JE1.png|32px]] [[File:Potted Red Tulip JE1.png|32px]] [[File:Potted Orange Tulip JE1.png|32px]] [[File:Potted White Tulip JE1.png|32px]] [[File:Potted Pink Tulip JE1.png|32px]] [[File:Potted Acacia Sapling JE1.png|32px]] [[File:Potted Dark Oak Sapling JE1.png|32px]]{{verify|Are these models the ones used in this version?}}<br>[[File:Flower Pot (item) JE1 BE1.png|32px]] Added flower pots.}}
{{History|foot}}

<gallery>
Suggestion for itemframes.png|Original Reddit image suggesting item frames and flower pots.
FlowerPot.png|The first image of flower pots, released by [[Dinnerbone]].
Pots 1-100.png|An [[Java Edition 14w06a|14w06a]] example of some of the blocks that can be placed inside of flower pots, and their rendering.
Pots 1-100b.png|The same arrangement as prior in [[Java Edition 14w06b|14w06b]].
</gallery>

=== Flower pot "item" ===
{{:Technical blocks/Flower Pot}}

== Gallery ==
=== Renders ===
; Flowers
<gallery>
Potted Dandelion.png | 
Potted Poppy.png | 
Potted Blue Orchid.png | 
Potted Allium.png | 
Potted Azure Bluet.png | 
Potted Red Tulip.png | 
Potted Orange Tulip.png | 
Potted White Tulip.png | 
Potted Pink Tulip.png | 
Potted Oxeye Daisy.png | 
Potted Cornflower.png | 
Potted Lily of the Valley.png | 
Potted Wither Rose.png | 
Potted Torchflower.png
</gallery>

; Saplings
<gallery>
Potted Oak Sapling.png | 
Potted Spruce Sapling.png | 
Potted Birch Sapling.png | 
Potted Jungle Sapling.png | 
Potted Acacia Sapling.png | 
Potted Dark Oak Sapling.png | 
Potted Azalea.png | 
Potted Flowering Azalea.png | 
Potted Mangrove Propagule.png | 
Potted Cherry Sapling.png
</gallery>

; Mushrooms
<gallery>
Potted Red Mushroom.png | 
Potted Brown Mushroom.png | 
Potted Crimson Fungus.png | 
Potted Warped Fungus.png |
</gallery>

; Roots and bushes
<gallery>
Potted Crimson Roots.png | 
Potted Warped Roots.png | 
Potted Fern.png | 
Potted Dead Bush.png | 
Potted Cactus.png | 
Potted Cactus BE.png | 
Potted Bamboo.png
</gallery>
=== Other ===
<gallery>
FiveFlowerPots.png | Five flower pots in a player-created village.
</gallery>
== Issues ==

{{issue list}}

== Trivia ==

* The flower pot is based on a suggestion from Reddit, like [[ender chest]]s and [[item frame]]s.<ref>{{tweet|dinnerbone|235747041286975488|My next task is going to be flower pots.|August 15, 2012}}</ref>
* Flower pots break [[falling block]]s.
* If a plant that has been [[Name Tag|named]] is put in a flower pot, the plant loses its name.
* The inside of the flower pot in ''Java Edition'' uses the center 4x4 pixels of the dirt texture while Bedrock Edition uses the center 6x6.

==References==

{{Reflist}}

{{Blocks|Utility}}
{{items}}

[[Category:Manufactured blocks]]
[[Category:Storage]]
[[Category:Generated structure blocks]]
[[Category:Non-solid blocks]]
[[Category:Utility blocks]]

[[cs:Květináč]]
[[de:Blumentopf]]
[[es:Maceta]]
[[fr:Pot de fleurs]]
[[hu:Virágcserép]]
[[it:Vaso da fiori]]
[[ja:植木鉢]]
[[ko:화분]]
[[nl:Bloempot]]
[[pl:Doniczka]]
[[pt:Vaso]]
[[ru:Цветочный горшок]]
[[zh:花盆]]
[[uk:Квітковий горщик]]</li></ul>
17w47a"Daylight Sensor" has now been renamed to "Daylight Detector".
The different block IDs for the daylight detector have now been merged into one ID.
Added an inverted block state to daylight detectors.
Prior to The Flattening, these blocks' numeral IDs were 151 and 178.
Pocket Edition Alpha
v0.13.0
{{Extension DPL}}<ul><li>[[Minecart with Furnace|Minecart with Furnace]]<br/>{{ItemEntity
|image=Minecart with Furnace.png
|renewable=Yes
|stackable=No
|size=Height: 0.7 Blocks<br>Width: 0.98 Blocks
|networkid=10
|drops= 1 {{ItemLink|Minecart with Furnace}}
|health={{Hp|6}}
}}

A '''minecart with furnace''' is a [[furnace]] inside a [[minecart]]. It can be powered with [[coal]] or [[charcoal]] to propel it across a [[rail]] line for a limited time, which can be used to move other minecarts.

==Obtaining==
Minecarts with furnace can be retrieved by attacking them, and by doing so it drops as an [[item]].

===Crafting===
{{Crafting
|Output= Minecart with Furnace
|type= Transportation
|Furnace|Minecart}}

==Usage==
Minecarts with furnaces are placed in the same way as other minecarts. It does not have a graphical user interface, unlike a [[furnace]].

Minecarts with furnaces can be powered, done by feeding fuel ([[coal]] or [[charcoal]]) into the furnace minecart with the {{Control|use}} button. The fuel is consumed immediately and it starts to move in the same direction the player clicked toward. Pressing {{Control|use}} always turns it to that direction, even when not holding coal.

Any piece of fuel, added at any time, increases the total range by an additional 3600 ticks (equal to 180 seconds or 3 minutes).  The upper limit is 32767 ticks, approximately 27 minutes.

When powered, minecarts with furnaces cover 240m per minute (about 4 m/s, slightly slower than walking speed) or 720m per piece of coal. They do not accelerate beyond this speed when going downhill or on active [[powered rail]]s, and as long as they remain powered, they do not slow down when going uphill, on inactive powered rails, or when pushing or pulling other minecarts.

If a powered furnace minecart is derailed and then pushed back onto a rail, it starts moving again in the direction it came from, so they are not easily turned around in this state unless a player is nearby to redirect it with {{Control|use}}.

Minecarts with furnaces can climb up steep inclines while pushing other minecarts as long as they have fuel. If a minecart with furnace reaches a slope while pulling another minecart, the pulled minecart is switched to the forward position so that it can be pushed along the slope instead of pulled.

When a minecart with furnace bumps into another minecart or multiple minecarts, the other minecarts are pushed forward with great speed. The furnace minecart continues on with its own speed. Because of this speed difference, some of the minecarts may end up inside unloaded chunks on straight tracks.

===Train mechanics===
{{Schematic
|caption=weakly-shunted 1-cart train, one cart was used only to push the train together and is left behind
|AB|mc-$ew|mc-$ew|mc/Fu-$ew|-
|AB|ra-$wu|ra-$ew|ra-$ew|ra-$ew|ellipsis-ew
}}
{{Schematic
|caption=Creating a strongly-shunted 1-cart train.  The sloped rail must be replaced with a horizontal rail before powering.
|AB|mc-$ew||mc/Fu-$ew|-
|AB|ra-$ew|ra-$ew|ra-$eu|ra-$ew|ra-$ew|ellipsis-ew
}}

[[File:FurnaceMinecartTrain.png|thumb|right|A Minecart train powered by furnace [[Minecart|minecarts.]]|alt=]]
A furnace minecart can be made to pull up to four other minecarts. All minecarts in this train move at the constant speed of the furnace minecart.  Trains are formed when a minecart is pushed into the back of a powered furnace minecart or a short-enough train.  These shunts are fragile at best and easily come undone, but some methods are stronger than others.  For example, pushing a minecart into a furnace minecart and then powering the furnace gives a weaker shunt than pushing the furnace minecart into the other minecart against a wall, and then powering the furnace in the other direction.

A high-speed minecart running into the back of a furnace minecart going in the same direction automatically creates a weak shunt with it, pulling it along.

Pulling a minecart with TNT causes it to explode.

{| class="wikitable"
|+Pulled minecart/Shunt behavior
!Condition
!Result
|-
|Furnace loses power/speed||Shunt comes undone
|-
|Entity bumping besides those part of the train||Jettisoned forward
|-
|Upward sloped track||Jettisoned forward
|-
|Downward sloped track||Jettisoned forward (strong shunt) or shunt comes undone (weak shunt)
|-
|90° turn in track||Jettisoned backward
|-
|Turn toward north/south or east/west that is not the direction the train was shunted in||Train derails
|}

When a train comes to a turn, the shunt comes undone with the pulled minecart jettisoned backward. The correct way to make such a turn is having the shunt undone before a turn, and then make the two rejoin on a straight rail later by having the pulled cart catch up with the minecart with furnace.<ref name=mango/>

Since the train runs slower on a fully powered track than a normal minecart (~5 m/s compared to 8m/s), a train pulled by an unpowered furnace minecart is ideal for AFK farms involving breaking or placing blocks like [[nether wart]].<ref name=mango>{{YouTubeLink|1=pRLiAQfhTG8|2=Why The Furnace Minecart Isn't As Useless As You Think|3=ilmango}}</ref>

==Properties==
The coal is not stored as an item in the entity, but in the object data in the fuel property as a time in ticks. ''Fuel'' is a short value, i.e. a maximum of 32767 ticks, which is about 27 minutes. However, {{cmd|/summon furnace_minecart ~ ~ ~ {Fuel:32000} }} alone doesn't make it go since it doesn't have a direction. It can be right-clicked on a track to give it a direction, or it can be summoned with the properties ''PushX'' and ''PushZ'' set, which are responsible for the direction. The <code>Motion</code> property of every entity allows for movement of the minecart, but it does not direct the minecart to move on its own.

==Sounds==
{{Edition|Java}}:<br>
Minecarts with furnaces 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 furnace 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 furnace is moving
|id=minecart.base
|foot=1}}

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

===Entity data===
Minecarts with furnace 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]].

==History==
{{History|java alpha}}
{{History||v1.0.14|[[File:Minecart with Furnace JE1.png|32px]] [[File:Minecart with Furnace (item) JE1.png|32px]] Minecarts with furnace were added.
|Since no in-game name was indicated, they were referred to by names such as "powered minecart" or "furnace minecart".
|No matter how much fuel was added to the minecart, it would never move for more than 3 minutes after the last fuel.}}
{{History|java beta}}
{{History||1.0|When tooltips were added to items in inventory, this was named "Minecart with Furnace".}}
{{History||1.2|[[File:Minecart with Furnace JE2.png|32px]] The texture of the minecart with furnace has been changed.}}
{{History|java}}
{{History||1.0.0|snap=?|Each piece of [[coal]] now powers a [[minecart]] with furnace for {{convert|3|minutes|ticks}}, so that adding another piece of coal at any time increases the total range by another 3 minutes.  A full stack of 64 coal now powers it for {{convert|192|minutes|ticks}}.
|Minecarts with furnace on a level track cover 204 meters per minute.}}
{{History||1.8|snap=14w11a|Minecarts with furnace now give a much greater boost to other minecarts.
|When powered, minecarts with furnace now move on non-powered rails without decelerating.}}
{{History|||snap=14w17a|Minecarts with furnace's behavior has been reverted, so that no change was released in [[Java Edition 1.8]].}}
{{History||1.11|snap=16w32a|The entity ID of the minecart with furnace has been changed from <code>MinecartFurnace</code> to <code>furnace_minecart</code>.}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 343.}}
{{History||1.14|snap=18w43a|[[File:Minecart with Furnace JE3.png|32px]] [[File:Minecart with Furnace (item) JE2.png|32px]] The texture of the minecart with furnace has been changed.}}
{{History||1.15|snap=19w38a|[[File:Minecart with Furnace 19w38a.png|32px]] The furnace now appears dark, like suffocating mobs.}}
{{History|||snap=19w39a|The furnace texture is now colored correctly.}}
{{History||1.15.2|snap=Pre-Release 1|Furnace minecarts can now navigate around any corner.}}
{{History||1.19|snap=22w13a|The crafting recipe for a minecart with furnace is now shapeless.
|Breaking a minecart with furnace will now drop the item instead of the minecart and furnace separately.<ref>{{bug|MC-249493|||Fixed}}</ref>}}

{{History|console}}
{{History||xbox=TU1|xbone=CU1|ps=1.0|wiiu=Patch 1|switch=1.0.1|[[File:Minecart with Furnace JE2.png|32px]] [[File:Minecart with Furnace (item) JE1.png|32px]] Added minecart with furnace.}}
{{History|Ps4}}
{{History||1.90|[[File:Minecart with Furnace JE3.png|32px]] [[File:Minecart with Furnace (item) JE2.png|32px]] The texture of the minecart with furnace has been changed.}}
{{History|foot}}

==Issues==
{{issue list}}

==Trivia==
*The minecart with furnace is excluded from {{els|be|3ds}} on purpose. In a tweet, [[Jeb]] considered removing it from {{el|je}}.<ref>{{tweet|jeb|699241247391772672|I think we will phase out the furnace minecraft ''(sic)''|15 Feb 2016}}</ref>
**When converting a [[Legacy Console Edition]] world to a [[Bedrock Edition]] world, any present minecarts with furnaces are converted into a normal minecart.
**Despite the above-described poor standing of the minecart, it was most recently briefly featured in an animation in the [[Minecraft Live 2022]], where one was depicted as moving a train of about 20 minecarts at a higher than normal speed.

==Gallery==
<gallery>
Running Powered Minecart.png|A powered minecart in action.
</gallery>

==References==
{{reflist}}

{{Items}}
{{Entities}}

[[Category:Mechanics]]

[[cs:Parní vozík]]
[[de:Antriebslore]]
[[es:Vagoneta con horno]]
[[fr:Wagonnet motorisé]]
[[hu:Gőzmeghajtású csille]]
[[ja:かまど付きのトロッコ]]
[[ko:화로가 실린 광산 수레]]
[[nl:Mijnkar met oven]]
[[pl:Wagonik z piecem]]
[[ru:Вагонетка с печью]]
[[uk:Вагонетка з піччю]]
[[zh:动力矿车]]</li><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></ul>
build 1Daylight Detector JE1 BE1 Inverted Daylight Detector JE1 BE1 Added daylight sensors.
v0.15.0
{{Extension DPL}}<ul><li>[[:Category:Tools|Category:Tools]]<br/>[[Category:Items]]

[[fr:Catégorie:Outil]]
[[it:Categoria:Attrezzi]]</li><li>[[Minecart with Command Block|Minecart with Command Block]]<br/>{{ItemEntity
|renewable=No
|stackable=No
|size=Height: 0.7 Blocks<br>Width: 0.98 Blocks
|image=Minecart with Command Block.gif
|image2=Minecart with Command Block BE.gif
|invimage1=Minecart with Command Block
|networkid=10
|drops={{drop|Item|Minecart|1}}
|health={{hp|6}}
|rarity=Epic
}}

A '''minecart with command block''' is an impulse{{only|java|short=y}} or repeating{{only|bedrock|education|short=y}} [[command block]] inside a [[minecart]].

== Obtaining ==

The minecart with command block is obtainable only using the [[command]] {{cmd|give @s command_block_minecart}}, as it does not appear in the creative inventory{{only|BE}} and has no [[crafting]] recipe. It can also be summoned using the command {{cmd|summon command_block_minecart}}. It can be broken like any other minecart, but only the minecart is retained, while the command block is lost.

== Usage ==
{{main|Command Block}}
The minecart with command block combines the functionalities of both minecarts and command blocks. Although the minecart visually contains an impulse command block, it functions more similarly to a repeating command block, and runs its command once every four game [[tick]]s when on an active [[activator rail]]. When it passes over a [[detector rail]] with a [[comparator]] connected next to it, it outputs the command block's result.

== Sounds ==
{{Edition|Java}}:<br>
Minecarts with command blocks 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 command block 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 command block 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 Command Block
|spritetype=item
|nameid=command_block_minecart
|form=item
|foot=1}}
{{ID table
|edition=java
|firstcolumnname=Entity
|generatetranslationkeys=y
|displayname=Minecart with Command Block
|spritetype=entity
|nameid=command_block_minecart
|foot=1}}

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|firstcolumnname=Item
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Minecart with Command Block
|spritetype=item
|nameid=command_block_minecart
|id=563
|form=item
|foot=1}}
{{ID table
|edition=bedrock
|firstcolumnname=Entity
|shownumericids=y
|generatetranslationkeys=y
|displayname=Minecart with Command Block
|spritename=minecart-with-repeating-command-block
|spritetype=entity
|nameid=command_block_minecart
|id=100
|foot=1}}

=== Entity data ===
Minecarts with command blocks 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]].

== History ==
{{History|java}}
{{History||1.7.2|snap=13w39a|[[File:Minecart with Command Block JE1.png|32px]] [[File:Minecart with Command Block (item) JE1 BE2.png|32px]] Added minecart with command block.}}
{{History||1.9|snap=15w34a|[[File:Minecart with Command Block JE2.png|32px]] The texture of the [[command block]] in the [[minecart]] has been removed due to the new texture and types for the command block.}}
{{History|||snap=15w35a|[[File:Minecart with Command Block JE3.png|32px]] The texture of the command block has been changed.}}
{{History||1.11|snap=16w32a|The [[entity]] ID has been changed from <code>MinecartCommandBlock</code> to <code>commandblock_minecart</code>.}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 422.}}
{{History|||snap=pre5|The entity ID has been changed to <code>command_block_minecart</code>.}}
{{History||1.14|snap=18w43a|[[File:Minecart with Command Block JE4.png|32px]] [[File:Minecart with Command Block (item) JE2 BE3.png|32px]] The textures of the minecart with command block has been changed.}}
{{History||1.17|snap=21w20a|Minecart with command block [[Rarity|rarity color]] was changed from common to epic.}}
{{History||1.19.3|snap=22w44a|Minecart with command block is now available in the creative inventory, but only if cheats are enabled.}}
{{History|||snap=22w45a|Moved the minecart with command block behind the Operator Utilities tab in the creative inventory. The tab is only available if cheats are enabled and the "Operator Items Tab" option in the controls menu is turned on.}}

{{History|pocket}}
{{History||1.0.5|snap=alpha 1.0.5.0|[[File:Minecart with Command Block BE1.png|32px]] [[File:Minecart with Command Block (item) BE1.png|32px]] Added minecart with command block. The [[minecart]] has a [[repeating command block]] in it, instead of an impulse command block.}}
{{History||1.1.0|snap=alpha 1.1.0.0|The entity ID has been changed from <code>minecartcommandblock</code> to <code>command_block_minecart</code>.}}
{{History|bedrock}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Minecart with Command Block BE2.png|32px]] [[File:Minecart with Command Block (item) JE2 BE3.png|32px]] The texture of the minecart with command block has been changed. Also the item texture has been changed to match {{el|je}}'s.<ref>{{bug|MCPE-42990}}</ref>}}
{{History|console}}
{{History||xbox=?|xbone=?|ps=?|wiiu=?|switch=?|Added minecart with command blocks. This only exists as an item, as placing it will result in a normal minecart being placed. The command block in the minecart cannot be modified via NBT editing and it has an unused tooltip stating "Used to execute commands on the move!".}}
{{History|foot}}

== Issues ==

{{issue list}}

== Gallery ==
<gallery>
File:Minecart with command block 13w39b.png|A minecart with command block in [[1.16.4]].
File:A minecart command block testing the block in the red bucket with air.png|A minecart command block testing the block in the red area with [[air]].
</gallery>

==References==
{{Reflist}}

{{Items}}

{{Entities}}

[[de:Befehlsblocklore]]
[[fr:Wagonnet à bloc de commande]]
[[it:Carrello da miniera]]
[[ja:コマンドブロック付きのトロッコ]]
[[nl:Mijnkar met opdrachtblok]]
[[pl:Wagonik z blokiem poleceń]]
[[pt:Carrinho de mina com bloco de comando]]
[[ru:Вагонетка с командным блоком]]
[[uk:Вагонетка з командним блоком]]
[[zh:命令方块矿车]]</li></ul>
build 1Daylight sensors can now be moved by pistons.
Legacy Console Edition
TU19CU7 1.12 Patch 1Daylight Detector JE1 BE1 Added daylight sensors.
TU25CU14 1.17 Inverted Daylight Detector JE1 BE1 Daylight sensors can now be toggled between day and night by using them.
New Nintendo 3DS Edition
0.1.0
{{Extension DPL}}<ul><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><li>[[Sugar Cane|Sugar Cane]]<br/>{{Block
|image=Sugar Cane.png
|image2=Sugar Cane (item) JE3.png
|extratext = View all [[#Gallery|renders]]
|transparent=Yes
|light=No
|tool=any
|renewable=Yes
|stackable=Yes (64)
|flammable=No
|lavasusceptible=No
}}

'''Sugar cane''' is a block found as 1–4-block-tall. It plants near water in the [[Overworld]]. As an item, it is an important crafting ingredient.

==Obtaining==
Sugar cane can be mined instantly with anything.

When the spot a sugar cane block is placed in becomes unsuitable, such as when the supporting block is removed, the sugar cane block uproots and drops as an item. {{IN|be}}, sugar cane uproots immediately after all adjacent water is removed. {{IN|je}}, sugar cane uproots on the next block update or [[Tick#Random tick|random tick]].

A sugar cane block drops itself as an item if a piston tries to push it (trying to pull it does nothing) or moves a block into its space.

===Natural generation===
[[File:Sugar Canez.png|thumb|250px|Naturally-occurring sugar cane near a river.]]
Sugar cane can generate naturally near [[water]] and [[ice]], as two ({{frac|11|18}} chance), three ({{frac|5|18}} chance), or four ({{frac|2|18}} chance) blocks tall. Rare taller sugar canes can be found if the world generator places two smaller canes on top of each other. It generates in approximately 0.8 sugar cane per chunk seeing as how they only generate near bodies of water.

Sugar canes attempt to generate 10 times in any Overworld biome, which requires water. An extra 10 attempts are made in [[swamp]] biomes, and 50 in [[desert]] biomes, which makes sugar cane twice as frequent in swamps and six times as frequent in desert biomes, making the banks of [[river]]s that cut through deserts lined with sugar canes.  Sugar canes do not grow faster in swamps or deserts they only spawn a increased amount.

Sugar cane cannot generate in caves {{in|je}}.<ref>{{bug|MC-214959||Sugar cane generated in cave|Fixed}}</ref>

===Trading===
[[Wandering trader]]s can sell sugar cane for an [[emerald]].

==Usage==
Due to its water-displacing properties, sugar cane can interestingly be used to create underwater paths, allowing [[player]]s to move at normal speed and breathe if it is two blocks in height.{{only|java}}<ref>{{bug|MC-929||Sugar cane can be placed underwater|WAI}}</ref>

Sugar cane takes on a different shade of green depending on the biome in which it is placed.

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

===Farming===
{{main|Tutorials/Sugar cane farming}}
[[File:Underground Sugar Farm.png|200px|thumb|An underground sugar cane farm.]]

Sugar cane can generate naturally up to any number of blocks tall, but ''grow'' only to a height of three blocks, adding a block of height when the top sugar cane block has received 16 random [[Tick#Block tick|block tick]]s (i.e. on average every 18 minutes on ''Java Edition''<!-- Average 68.27 seconds/tick * 16 ticks/growth = 18.2 minutes --> or 54 minutes on Bedrock Edition, but the actual rate can vary widely). 
Sugar cane must be planted on a [[grass block]], [[dirt]], [[coarse dirt]], [[rooted dirt]], [[podzol]], [[mycelium]], [[sand]], [[red sand]], [[suspicious sand]], [[moss block]], or [[mud]] that is directly adjacent to [[water]], [[waterlogged]] block, or [[frosted ice]] (not merely above or diagonal to water), or on top of another sugar cane block. The adjacent water block can be covered with another block, whether [[opacity|opaque or transparent]], and sugar cane can still be placed and grow next to it. Sugar cane grows regardless of light level, even in complete darkness.
[[File:4blockcane.png|thumb|A natural 4-block-high sugar cane plant.]]
{{IN|bedrock}}, [[bone meal]] can be used to instantly grow sugar cane to three blocks. Only one bone meal is consumed. {{IN|java}}, bone meal cannot be used on sugar cane.<ref>{{bug|MC-73963||Can't use bonemeal on cacti or sugar cane|WAI}}</ref>

On average, it takes [[Tutorials/Sugar_cane_farming#Mechanics|18 minutes]] for a single block of sugar cane to grow 3 blocks tall.

=== Composting ===
Placing sugar cane into a [[composter]] has a 50% chance of raising the compost level by 1.

== List of colors ==
{{Missing information|Bedrock Edition colors (see [[Water#Color]]{{verify|it's there?}})}}

=== ''Java Edition'' ===
These values are generated by the biome dyeing algorithm. See [[Color#Biome colors|Biome colors]] for more information.
<div class="mw-collapsible mw-collapsed" style="float: left">
{| class="wikitable sortable" style="text-align:center" data-description="Java edition biome colors"
!Biome !! Category !! Rainfall !! Sugarcane Color !! Temperature Affects !! Render
|-
| {{BiomeLink|Badlands}} || Mesa || No || #90814d || No || [[File:Badlands Sugar Cane.png|32px]]
|-
| {{BiomeLink|Beach}} || Beach || Rain || #91bd59 || || [[File:Plains Sugar Cane.png|32px]]
|-
| {{BiomeLink|Birch Forest}} || Forest || Rain || #88bb67 || || [[File:Birch Forest Sugar Cane.png|32px]]
|-
| {{BiomeLink|Cold Ocean}} || Ocean || Rain || #8eb971 || || [[File:Ocean Sugar Cane.png|32px]]
|-
| {{BiomeLink|Dark Forest}} || Forest || Rain || #507a32 || || [[File:Dark Forest Sugar Cane.png|32px]]
|-
| {{BiomeLink|Deep Cold Ocean}} || Ocean || Rain || #8eb971 || || [[File:Ocean Sugar Cane.png|32px]]
|-
| {{BiomeLink|Deep Frozen Ocean}} || Ocean || Rain || #8eb971 || || [[File:Ocean Sugar Cane.png|32px]]
|-
| {{BiomeLink|Deep Lukewarm Ocean}} || Ocean || Rain || #8eb971 || || [[File:Ocean Sugar Cane.png|32px]]
|-
| {{BiomeLink|Deep Ocean}} || Ocean || Rain || #8eb971 || || [[File:Ocean Sugar Cane.png|32px]]
|-
| {{BiomeLink|Desert}} || Desert || No || #bfb755 || || [[File:Desert Sugar Cane.png|32px]]
|-
| {{BiomeLink|End Barrens}} || The End || No || #8eb971 || || [[File:Ocean Sugar Cane.png|32px]]
|-
| {{BiomeLink|End Highlands}} || The End || No || #8eb971 || || [[File:Ocean Sugar Cane.png|32px]]
|-
| {{BiomeLink|End Midlands}} || The End || No || #8eb971 || || [[File:Ocean Sugar Cane.png|32px]]
|-
| {{BiomeLink|Eroded Badlands}} || Mesa || No || #90814d || No || [[File:Badlands Sugar Cane.png|32px]]
|-
| {{BiomeLink|Flower Forest}} || Forest || Rain || #79c05a || || [[File:Forest Sugar Cane.png|32px]]
|-
| {{BiomeLink|Forest}} || Forest || Rain || #79c05a || || [[File:Forest Sugar Cane.png|32px]]
|-
| {{BiomeLink|Frozen Ocean}} || Ocean || Snow || #80b497 || || [[File:Snowy Plains Sugar Cane.png|32px]]
|-
| {{BiomeLink|Frozen River}} || River || Snow || #80b497 || || [[File:Snowy Plains Sugar Cane.png|32px]]
|-
| {{BiomeLink|Old Growth Spruce Taiga}} || Taiga || Rain || #86b783 || || [[File:Taiga Sugar Cane.png|32px]]
|-
| {{BiomeLink|Old Growth Pine Taiga}} || Taiga || Rain || #86b87f || || [[File:Old Growth Pine Taiga Sugar Cane.png|32px]]
|-
| {{BiomeLink|Ice Spikes}} || Icy || Snow || #80b497 || || [[File:Snowy Plains Sugar Cane.png|32px]]
|-
| {{BiomeLink|Jungle}} || Jungle || Rain || #59c93c || || [[File:Jungle Sugar Cane.png|32px]]
|-
| {{BiomeLink|Sparse Jungle}} || Jungle || Rain || #64c73f || || [[File:Sparse Jungle Sugar Cane.png|32px]]
|-
| {{BiomeLink|Lukewarm Ocean}} || Ocean || Rain || #8eb971 || || [[File:Ocean Sugar Cane.png|32px]]
|-
| {{BiomeLink|Windswept Hills}} || Extreme Hills || Rain || #8ab689 || || [[File:Windswept Hills Sugar Cane.png|32px]]
|-
| {{BiomeLink|Mushroom Fields}} || Mushroom || Rain || #55c93f || || [[File:Mushroom Fields Sugar Cane.png|32px]]
|-
| {{BiomeLink|Nether}} || Nether || No || #bfb755 || || [[File:Desert Sugar Cane.png|32px]]
|-
| {{BiomeLink|Ocean}} || Ocean || Rain || #8eb971 || || [[File:Ocean Sugar Cane.png|32px]]
|-
| {{BiomeLink|Plains}} || Plains || Rain || #91bd59 || || [[File:Plains Sugar Cane.png|32px]]
|-
| {{BiomeLink|River}} || River || Rain || #8eb971 || || [[File:Ocean Sugar Cane.png|32px]]
|-
| {{BiomeLink|Savanna}} || Savanna || No || #bfb755 || || [[File:Desert Sugar Cane.png|32px]]
|-
| {{BiomeLink|Savanna Plateau}} || Savanna || No || #bfb755 || || [[File:Desert Sugar Cane.png|32px]]
|-
| {{BiomeLink|Windswept Savanna}} || Savanna || No || #bfb755 || || [[File:Desert Sugar Cane.png|32px]]
|-
| {{BiomeLink|Small End Islands}} || The End || No || #8eb971 || || [[File:Ocean Sugar Cane.png|32px]]
|-
| {{BiomeLink|Snowy Beach}} || Beach || Snow || #83b593 || || [[File:Snowy Beach Sugar Cane.png|32px]]
|-
| {{BiomeLink|Snowy Taiga}} || Taiga || Snow || #80b497 || || [[File:Snowy Plains Sugar Cane.png|32px]]
|-
| {{BiomeLink|Snowy Plains}} || Icy || Snow || #80b497 || || [[File:Snowy Plains Sugar Cane.png|32px]]
|-
| {{BiomeLink|Stony Shore}} || None || Rain || #8ab689 || || [[File:Windswept Hills Sugar Cane.png|32px]]
|-
| {{BiomeLink|Sunflower Plains}} || Plains || Rain || #91bd59 || || [[File:Plains Sugar Cane.png|32px]]
|-
| {{BiomeLink|Swamp}} || Swamp || Rain || #6A7039 || If temperature below -0.1, used #4C763C. || [[File:Swamp Sugar Cane.png|32px]] / [[File:Swamp Sugar Cane (Cold).png|32px]]
|-
| {{BiomeLink|Taiga}} || Taiga || Rain || #86b783 || || [[File:Taiga Sugar Cane.png|32px]]
|-
| {{BiomeLink|Old Growth Birch Forest}} || Forest || Rain || #88bb67 || || [[File:Birch Forest Sugar Cane.png|32px]]
|-
| {{BiomeLink|The End}} || The End || No || #8eb971 || || [[File:Ocean Sugar Cane.png|32px]]
|-
| {{BiomeLink|The Void}} || None || No || #8eb971 || || [[File:Ocean Sugar Cane.png|32px]]
|-
| {{BiomeLink|Warm Ocean}} || Ocean || Rain || #8eb971 || || [[File:Ocean Sugar Cane.png|32px]]
|-
| {{BiomeLink|Wooded Badlands}} || Mesa || No || #90814d || No || [[File:Badlands Sugar Cane.png|32px]]
|-
| {{BiomeLink|Windswept Forest}} || Extreme Hills || Rain || #8ab689 || || [[File:Windswept Hills Sugar Cane.png|32px]]
|}
</div>
{{clear}}
=== Bedrock Edition ===
{{empty section}}

== Sounds ==
{{Sound table/Block/Grass}}

== Data values ==
=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|showforms=y
|generatetranslationkeys=y
|displayname=Sugar Cane
|spritetype=block
|nameid=sugar_cane
|foot=1}}

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|firstcolumnname=Sugar Cane
|shownumericids=y
|showforms=y
|showaliasids=y
|generatetranslationkeys=y
|displayname=Block
|spritename=sugar-cane
|spritetype=block
|nameid=reeds
|id=83
|form=block
|itemform=item.reeds}}
{{ID table
|displayname=Item
|spritename=sugar-cane
|spritetype=item
|nameid=sugar_cane
|id=385
|form=item
|aliasid=reeds
|translationkey=item.reeds.name
|foot=1}}

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

{{/BS}}

== Video ==
{{Video note|This video was made before sugar cane had a different shade of green depending on the biome.|minor}}
<div style="text-align:center">{{yt|zlOnwn3PH5o}}</div>

== History ==
{{more images|Appearance when affected by {{bug|MC-48831}}}}
{{History|java alpha}}
{{History||v1.0.11|[[File:Sugar Cane JE1 BE1.png|32px]] [[File:Sugar Cane (item) JE1 BE1.png|32px]] Added reeds in the [[Seecret Updates|Seecret Friday Update 6]].
|Reeds are informally referred to as "bamboo" or "papyrus" by many [[player]]s. 
|Since reeds can be washed away with [[water]] currents or instantly destroyed by removing the water adjacent to them, automated reed farms can be made. 
|Reeds can be used to craft [[paper]].}}
{{History|java beta}}
{{History||1.2|[[Notch]] has [[wikipedia:Retroactive continuity|retconned]] reeds into sugar cane so that it can now be [[crafting|crafted]] into [[sugar]], included in the recipe for the [[cake]]s.}}
{{History||1.6|snap=Test Build 3|[[Arrow]]s no longer stick to sugar cane, and instead, they pass through. However, [[snowball]]s still come into contact with any sugar cane blocks, as if they are solid.}}
{{History||1.8|snap=Pre-release|Sugar cane can now grow and be placed onto [[sand]] as long as they are adjacent to [[water]]. This update allows sugar canes to appear next to [[water]] ponds in [[desert]] biomes.
|Sugar cane is now available in the [[creative]] [[inventory]] in both block and item forms.}}
{{History|java}}
{{History||1.0.0|snap=?|The sugar cane block has been removed from the creative inventory.}}
{{History||1.7.2|snap=13w36a|[[File:Sugar Cane JE2 BE2.png|32px]] Sugar cane is now [[tint]]ed depending on the [[biome]] it's in.
|The item texture remained unchanged, however, and still used the color palette from Alpha to 1.6.4.<ref name="Bug">{{bug|MC-216227}}</ref>}}
{{History||1.9|snap=15w43a|Sugar cane no longer breaks if its adjacent [[water]] is turned to [[frosted ice]].}}
{{History||1.13|snap=17w47a|The ID of sugar cane has now been changed from <code>reeds</code> to <code>sugar_cane</code>.
|"Sugar Canes" have now been renamed to "Sugar Cane".
|Prior to [[1.13/Flattening|''The Flattening'']], this [[block]]'s numeral ID was 83, and the [[item]]'s 338.}}
{{History||1.14|snap=18w43a|[[File:Sugar Cane (item) JE2 BE2.png|32px]] The texture of the sugar cane item has been changed.}}
{{History|||snap=19w03a|Placing sugar cane into a [[composter]] has a 20% chance of raising the compost level by 1.}}
{{History|||snap=19w05a|Sugar cane now has a 50% chance of increasing the compost level in a composter by 1.
|Added [[wandering trader]]s, which sell sugar cane.}}
{{History||1.16|snap=20w13a|Sugar cane has been moved from the Miscellaneous tab to the Decoration Blocks tab in the [[Creative inventory]].<ref name="misc decoration">https://bugs.mojang.com/browse/MC-174434</ref>}}
{{History||1.17|snap=21w11a|[[File:Sugar Cane (item) JE3.png|32px]] The texture of the sugar cane item has been changed, so that it actually matches the color it uses when placed again.<ref name="Bug"/>}}
{{History|||snap=Pre-release 1|Sugar cane now generates in mushroom fields.<ref>{{bug|MC-226683}}</ref>}}
{{History||1.19|snap=22w15a|Sugar cane can now be planted on mud.}}
{{History||1.20|snap=23w14a|Sugar cane can now be planted on [[suspicious sand]].}}

{{History|pocket alpha}}
{{History||Pre-release|[[File:Sugar Cane JE1 BE1.png|32px]] [[File:Sugar Cane (item) JE1 BE1.png|32px]] Added sugar cane.}}
{{History||v0.2.0|Despite being visible in the inventory, sugar cane does not drop anything when mined, making it unobtainable in Survival mode.}}
{{History||v0.2.1|Survival players now start with an infinite stack of sugar cane in the inventory.}}
{{History||v0.3.0|Sugar cane now drops its item form when mined.
|Survival players no longer start with an infinite stack of sugar cane in the inventory.}}
{{History||v0.5.0|Sugar cane can now be grown on [[sand]].
|Sugar cane can now be obtained after activating the [[nether reactor]].}}
{{History||v0.8.0|snap=build 5|[[Bone meal]] can now grow sugar cane to maximum height.}}
{{History||v0.9.0|snap=build 1|[[File:Sugar Cane JE2 BE2.png|32px]] The color of sugar cane now changes depending on the [[biome]] they are in.
|Using bone meal on sugar cane is no longer able to break blocks above it.}}
{{History||v0.12.1|snap=build 1|Sugar cane is no longer available from the [[nether reactor]].}}
{{History|pocket}}
{{History||1.0.0|snap=alpha 0.17.0.1|[[File:Sugar Cane JE1 BE1.png|32px]] Due to a bug, sugar canes no longer change color depending on the [[biome]].}}
{{History|bedrock}}
{{History||1.2.13|snap=beta 1.2.13.5|[[File:Sugar Cane JE2 BE2.png|32px]] The color of sugar canes now changes depending on the [[biome]], once again.}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Sugar Cane (item) JE2 BE2.png|32px]] The texture of the sugar cane [[item]] has been changed.
|Sugar cane can now be [[trading|bought]] from [[wandering trader]]s.}}
{{History||1.11.0|snap=beta 1.11.0.1|Sugar canes can now be used to fill up [[composter]]s.}}
{{History||1.17.0|snap=beta 1.17.0.50|[[File:Sugar Cane (item) JE3.png|32px]] The texture of the sugar cane item has been changed, so that it actually matches the color it uses when placed again.}}

{{History|console}}
{{History||xbox=TU1|xbone=CU1|ps=1.0|wiiu=Patch 1|switch=1.0.1|[[File:Sugar Cane JE1 BE1.png|32px]] [[File:Sugar Cane (item) JE1 BE1.png|32px]] Added sugar canes.
|Sugar canes are solid, making it useful for growable walls. Unlike on Java Edition, they were never renamed to Sugar Cane.}}
{{History||xbox=TU2|Sugar canes are no longer solid, and arrows pass through them.}}
{{History||xbox=TU31|xbone=CU19|ps=1.22|wiiu=Patch 3|[[File:Sugar Cane JE2 BE2.png|32px]] The color of sugar cane now changes depending on the [[biome]] they're in.}}
{{History||xbox=TU60|xbone=CU51|ps=1.64|wiiu=Patch 30|switch=1.0.11|Sugar cane can now be grown with [[bonemeal]].}}
{{History||xbox=none|xbone=none|ps=1.90|wiiu=none|switch=none|[[File:Sugar Cane (item) JE2 BE2.png|32px]] The texture of the sugar cane [[item]] has been changed.}}
{{History||xbox=none|xbone=none|ps=1.91|wiiu=none|switch=none|Sugar cane can now be [[trading|bought]] from [[wandering trader]]s.
|Sugar canes can now be used to fill up [[composter]]s.}}

{{History|New Nintendo 3DS Edition}}
{{History||0.1.0|[[File:Sugar Cane JE1 BE1.png|32px]] [[File:Sugar Cane (item) JE1 BE1.png|32px]] Added sugar cane.}}
{{History|foot}}

=== Sugar cane "item" ===
{{:Technical blocks/Sugar Cane}}

== Issues ==
{{Issue list}}

== Trivia ==
*When a sugar cane is broken at the second level, the time resets (for example, if a two-block high sugar cane is broken, but is just about to grow to the third stage, it would reset that time).
*By placing more sugar canes on top of a sugar cane plant, it is possible to create tall sugar canes (up to y=319, the maximum height for building), although they do not naturally grow this high.
*Before sugar cane received an official name, they were sometimes referred to as [[bamboo]], a block added 9 years later. Other names were "reeds" and "papyrus".

== Gallery ==
=== Renders ===
<gallery>
Plains Sugar Cane.png|Plains
Taiga Sugar Cane.png|Taiga
Snowy Plains Sugar Cane.png|Snowy plains
Jungle Sugar Cane.png|Jungle
Desert Sugar Cane.png|Desert
Swamp Sugar Cane (Cold).png|Swamp (cold)
Swamp Sugar Cane.png|Swamp
Badlands Sugar Cane.png|Badlands
</gallery>

=== In-game ===
<gallery>
Huge Sugar Farm.png|A large sugar cane farm using 2×2 [[water]] holes.
Sugar Cane Waterfall.png|Water flowing over sugar cane.
UnderwaterSugarCane.png|Naturally generated sugar cane found underwater.
Sugar and Cactus.png|A [[cactus]] and sugar cane stalk generated next to each other.
SugarCaneRavine.png|Sugar cane found in the [[ravine]].
Reeds in Winter mode.png|Reeds generated in the [[winter mode]].
Sugar Cane Naturally Growing.png|Sugar cane growing between [[biome]]s.
Mesa Sugar Cane.jpg|Sugar cane growing on [[red sand]] in a [[badlands]] biome.
Sugarcanenowaterglitch.png|Sugar cane generated without a water source.
SwampCane.png|Sugar cane generated in a [[swamp]] biome.
Sugar cane savanna.png|Sugar cane growing in a [[savanna]] biome.
ForestSugarcane.png|Sugar cane growing in a [[forest]] biome.
Lava cane.png|Sugar cane growing with lava flowing around it.
Before breaking.png|Sugar canes few seconds before breaking because the water is frozen.
Undergroundreed.png|A sugar cane plant that generated in an underground [[water lake]].
Cave Sugar.png|Another example.
</gallery>

=== Heights ===
<gallery>
Tall Sugar Cane.png|Four-block tall sugar cane.
4RiverCane.png|Four-block tall sugar cane.
4-block tall sugar cane.png|Four-block tall sugar cane in a [[plains]] biome.
</gallery>

== References ==
{{Reflist}}

{{Blocks|vegetation}}

{{Items}}

[[Category:Plants]]
[[Category:Natural blocks]]
[[Category:Non-solid blocks]]

[[cs:Cukrová třtina]]
[[de:Zuckerrohr]]
[[es:Caña de azúcar]]
[[fr:Canne à sucre]]
[[hu:Cukornád]]
[[it:Canna da zucchero]]
[[ja:サトウキビ]]
[[ko:사탕수수]]
[[nl:Suikerriet]]
[[pl:Trzcina cukrowa]]
[[pt:Cana-de-açúcar]]
[[ru:Сахарный тростник]]
[[th:อ้อย]]
[[uk:Цукрова тростина]]
[[zh:甘蔗]]</li></ul>
Daylight Detector JE1 BE1 Inverted Daylight Detector JE1 BE1 Added daylight detectors.

Gallery

Issues

Issues relating to "Daylight Sensor" or "Daylight Detector" are maintained on the bug tracker. Report issues there.

Notes

  1. Known as Daylight Detector in Java Edition and Daylight Sensor in Bedrock Edition.

References


Advertisement