Minecraft Wiki
Register
(Created page with "{{:commands/infobox |setworldspawn |op |1.7.2|13w43a |PE Alpha 0.16.0|PE Alpha 0.16.0 build 1 }} Sets the world spawn. ;Syntax * '''Java Edition''...")
 
m (info)
(28 intermediate revisions by 18 users not shown)
Line 1: Line 1:
  +
{{Infobox command
{{:commands/infobox
 
|setworldspawn
+
|name=setworldspawn
  +
|oplevel=2{{only|java|short=1}}<br>1{{only|bedrock|short=1}}
|op
 
  +
|others=[[Options|Cheat]] only{{only|bedrock|short=1}}
|1.7.2|13w43a
 
|PE Alpha 0.16.0|PE Alpha 0.16.0 build 1
 
 
}}
 
}}
 
 
Sets the [[Spawn#Player spawning|world spawn]].
 
Sets the [[Spawn#Player spawning|world spawn]].
   
;Syntax
+
== Syntax ==
 
 
* '''Java Edition'''
 
* '''Java Edition'''
: <code>setworldspawn</code>
+
: <code>setworldspawn [<pos>] [<angle>]</code>
  +
: <code>setworldspawn <''x''> <''y''> <''z''></code>
 
 
* '''Bedrock Edition'''
<!-- 1.8 Usage: <code>setworldspawn [<''x''> <''y''> <''z''>]</code> -->
 
 
: <code>setworldspawn [spawnPoint: x y z]</code>
  +
 
== Arguments ==
  +
{{argument|pos|block_pos|spawnPoint: x y z|CommandPositionFloat}}
  +
: Specifies the coordinates of the [[Spawn#Player spawning|world spawn]]. If not specified, defaults to the block position of the command's execution. {{IN|bedrock}}, <code>x</code> and <code>z</code> that are greater than 30,000,000 or less than -30,000,000 revert to 30,000,000 and -30,000,000 respectively. <code>y</code> values which are greater than 256 and less than 0 revert to 256 and 0 respectively.
  +
: {{IN|java}}, {{lcfirst:{{arg desc|je=block_pos}}}}
  +
: {{IN|bedrock}}, {{lcfirst:{{arg desc|be=CommandPositionFloat}}}}
  +
  +
{{el|je|short=1}}: {{argument|angle|angle}}
  +
: Specified the yaw angle to spawn with. Defaults to the direction the executor is facing.
  +
: {{arg desc|je=angle}}
  +
 
== Result ==
   
  +
{{Result table}}
* '''Pocket Edition'''
 
 
{{Result table|the arguments are not specified correctly|unparseable|fail}}
: <code>setworldspawn [''spawnPoint: x y z'']</code>
 
 
{{Result table|succeed|Sets the world spawn to the specified coordinate.}}
  +
{{Result table}}
   
  +
== Output ==
;Arguments
 
   
  +
{{Output table}}
: ''x y z'' (PE: ''spawnPoint: x y z'') (optional)
 
  +
{{Output table|edition=je|On fail|0|0|0}}
:: Specifies the coordinates of the [[Spawn#Player spawning|world spawn]]. ''x'' and ''z'' must be within the range [[World boundary|-30,000,000 to 30,000,000]] (inclusive). ''y'' must be between 0 and 256 (inclusive). May use [[#Tilde notation|tilde notation]] to specify coordinates relative to the command's execution. If not specified, defaults to the position of the command's execution. Not optional in command blocks.
 
  +
{{Output table|On success|1|1|1}}
  +
{{Output table|edition=be|On fail|0}}
  +
{{Output table|On success|1}}
  +
{{Output table}}
   
  +
== Note ==
:: If the server is not in [[adventure]] mode, players will always spawn on the topmost block near (''x'',''z'') — ''y'' is effectively ignored. If the server is in adventure mode, then the new spawnpoint will be the coordinates given exactly, including the ''y'' coordinate (even if underground and even if there is no block there) -- if the ''y'' level given does not have space for the player then it will move up on the y axis until it does, at most y level 256.
 
  +
On success, [[spawn chunk]]s are also changed along with the world spawn {{in|java}}.
   
  +
Normal spawn spreading still applies, and can be set with a [[Commands/gamerule|gamerule]].
:: Although [[spawn chunk]]s are usually kept loaded at all times, new spawn chunks won't be loaded by this command until a player moves within range. [[Compass]]es (which in ''Minecraft'' point to the world spawn rather than north) will also not update to the change until the world is reloaded.
 
   
  +
== History ==
;Result
 
  +
{{History|java}}
  +
{{History||1.7.2|snap=13w43a|Added {{cmd|setworldspawn|link=none}}.}}
  +
{{History||1.16.2|snap=20w29a|Added {{cd|angle}} parameter for setting the default facing angle of a respawning player.}}
   
  +
{{History|pocket alpha}}
: Fails if the arguments are not specified correctly.
 
  +
{{History||v0.16.0|snap=build 1|Added {{cmd|setworldspawn|link=none}}.}}
  +
{{History|foot}}
   
  +
== See also ==
: On success, sets the world spawn to the specified coordinate.
 
  +
* {{cmd|spawnpoint}}
  +
*{{cmd|clearspawnpoint}}
   
  +
{{Commands}}
   
  +
[[de:Befehl/setworldspawn]]
<!-- please retain double newline above for section differentiation -->
 
  +
[[ru:Команды консоли/setworldspawn]]
  +
[[uk:Команди консолі/setworldspawn]]
  +
[[zh:命令/setworldspawn]]

Revision as of 06:06, 8 February 2021

Sets the world spawn.

Syntax

  • Java Edition
setworldspawn [<pos>] [<angle>]
  • Bedrock Edition
setworldspawn [spawnPoint: x y z]

Arguments

JE<pos>: block_pos
BE: spawnPoint: x y z: CommandPositionFloat

Specifies the coordinates of the world spawn. If not specified, defaults to the block position of the command's execution. In Bedrock Edition, x and z that are greater than 30,000,000 or less than -30,000,000 revert to 30,000,000 and -30,000,000 respectively. y values which are greater than 256 and less than 0 revert to 256 and 0 respectively.
In Java Edition, must be a block position composed of <x>, <y> and <z>, each of which must be an integer or a tilde and caret notation.
In Bedrock Edition, must be a three-dimensional coordinates with floating-point number elements. Accepts tilde and caret notations.

JE: <angle>: angle

Specified the yaw angle to spawn with. Defaults to the direction the executor is facing.
Must be a yaw angle, measured in degrees with float number. -180.0 for due north, -90.0 for due east, 0.0 for due south, 90.0 for due west, to 179.9 for just west of due north, before wrapping back around to -180.0. Tilde notation can be used to specify a rotation relative to the execution yaw angle.

Result

CommandTriggerJava EditionBedrock Edition
anythe arguments are not specified correctly Unparseable Failed
OtherwiseSets the world spawn to the specified coordinate.

Output

CommandEditionSituationSuccess Count/execute store success .../execute store result ...
anyJava EditionOn fail000
On success111
Bedrock EditionOn fail0N/AN/A
On success1N/AN/A

Note

On success, spawn chunks are also changed along with the world spawn in Java Edition.

Normal spawn spreading still applies, and can be set with a gamerule.

History

Java Edition
1.7.2
{{Extension DPL}}<ul><li>[[Raw Chicken|Raw Chicken]]<br/>{{about|a food item|the mob "chicken"|Chicken}}{{About|a food item|the cooked version|Cooked Chicken}}{{Item
| title = Raw Chicken
| image = Raw Chicken.png
| heals = {{hunger|2}}
| effects = {{EffectLink|Hunger}} (0:30) (30% chance)
| renewable = Yes
| stackable = Yes (64)
}}

'''Raw chicken''' is a [[food]] item that can be eaten by the [[player]]. It can be cooked in a [[furnace]], [[smoker]], or a [[campfire]] to make [[cooked chicken]].

==Obtaining==

===Mob loot ===

Upon death, an adult [[chicken]] drops 1 raw chicken. The maximum is increased by 1 per level of [[Looting]], for a maximum of 1-4 with Looting III. Chickens that die while on [[fire]] drop [[cooked chicken]] instead.

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

Tamed [[cat]]s have a 70% chance to give the [[player]] a gift as they wake up from a [[bed]], and the gift has a 16.13% chance to be raw chicken.

==Usage==

=== Food===

To eat raw chicken, press and hold {{control|use}} while it is selected in the hotbar. Eating one restores {{hunger|2}} hunger and 1.2 hunger [[Hunger#Mechanics|saturation]], but has a 30% chance of inflicting food poisoning (the {{EffectLink|link=Hunger (status effect)|Hunger}} effect for 30 seconds).

<nowiki>*This has a similar effect as [[Rotten Flesh]].

===Smelting ingredient===

{{Smelting
|showname=1
|Raw Chicken
|Cooked Chicken
|0.35
}}

===Wolves===

Raw chicken can be used to [[breed]] and heal tamed [[wolves]], lead them around, and make baby tamed wolves grow up faster by 10% of the remaining time.

Wolves are at no risk of food poisoning.

===Trading===
Novice-level Butcher villagers have a {{frac|1|3}} chance to buy 14 raw chicken for an emerald.{{only|bedrock}}

Novice-level Butcher villagers have a 50% chance of offering to buy 14 raw chicken for an emerald.{{only|java}}

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

==Data values==

===ID ===
{{edition|java}}:
{{ID table
|edition=java
|showforms=y
|generatetranslationkeys=y
|displayname=Raw Chicken
|spritetype=item
|nameid=chicken
|form=item
|foot=1}}

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Raw Chicken
|spritetype=item
|nameid=chicken
|id=275
|form=item
|foot=1}}

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

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

==History==

{{History|java beta}}
{{History||July 19, 2011|link=https://twitter.com/jeb_/status/93330811608240128|A teaser image for [[cooked chicken]] is revealed by [[Jeb]].}}
{{History||July 19, 2011|link=https://twitter.com/jeb_/status/93946593748852736|[[File:Raw Chicken (pre-release).png|32px]] Jens reveals raw chicken with changed texture based on feedback, saying "the chicken may be too smooth compared to other MC [[item]]s."<ref>https://twitter.com/jeb_/status/93335976298033152</ref>}}
{{History||1.8|snap=Pre-release|[[File:Raw Chicken JE1 BE1.png|32px]] Added raw chicken. 
|Raw chicken is a new [[drops|drop]], obtained by killing a [[chicken]], usually along with a [[feather]].}}
{{History|java}}
{{History||1.2.1|snap=12w03a|Raw chicken can now be used to [[breeding|breed]] wolves.}}
{{History||1.3.1|snap=12w21a|Raw chicken can now be [[trading|sold]] to farmer [[villager]]s, at 14–17 raw chicken for 1 [[emerald]].}}
{{History||1.4.2|snap=12w37a|[[File:Raw Chicken JE2 BE2.png|32px]] The texture of raw chicken has been changed, so that it no longer has a dark outline.}}
{{History||1.8|snap=14w02a|Trading has been changed: butcher [[villager]]s now [[trading|buy]] 14–18 raw chicken for 1 [[emerald]].
|Farmer villagers no longer [[trading|trade]] raw chicken.}}
{{History||1.9|snap=15w43a|[[Chicken]]s can now [[drops|drop]] several raw chickens, if killed with a [[Looting]]-[[enchanting|enchanted]] [[weapon]].}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 365.}}
{{History||1.14|snap=18w43a|[[File:Raw Chicken JE3 BE3.png|32px]] The texture of raw chicken has been changed.}}
{{History|||snap=18w44a|[[Cat]]s now offer raw chicken as [[Cat#Gifts|gift]]s.}}

{{History|pocket alpha}}
{{History||v0.4.0|[[File:Raw Chicken JE1 BE1.png|32px]] Added raw chicken.}}
{{History||v0.5.0|Raw chicken now restores {{hp|2}} instead of {{hp|1}}.}}
{{History||v0.8.0|snap=build 1|[[File:Raw Chicken JE2 BE2.png|32px]] The texture of raw chicken has been changed, so that it no longer has a dark outline.}}
{{History||v0.11.0|snap=build 1|Raw chicken now sometimes inflicts the [[hunger]] effect, despite the hunger bar not existing yet.}}
{{History||v0.12.1|snap=build 1|Raw chicken now restores [[hunger]] instead of [[health]].}}
{{History|pocket}}
{{History||1.0.4|snap=alpha 1.0.4.0|Butcher [[villager]]s now [[trading|buy]] 14-18 raw chicken for one [[emerald]].}}
{{History|bedrock}}
{{History||?|[[Chicken]]s can now [[drops|drop]] several raw chicken, if killed with a [[Looting]]-[[enchanting|enchanted]] [[weapon]].}} 
{{History||1.8.0|snap=beta 1.8.0.8|Tamed [[cat]]s can now give the [[player]] raw chicken as a gift.}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Raw Chicken JE3 BE3.png|32px]] The texture of raw chicken has been changed.}}
{{History||1.11.0|snap=beta 1.11.0.4|Butcher [[villager]]s now have {{frac|1|3}} of a chance to [[trading|buy]] 14 raw chicken.}}

{{History|console}}
{{History||xbox=TU5|xbone=CU1|ps=1.0|wiiu=Patch 1|[[File:Raw Chicken JE1 BE1.png|32px]] Added raw chicken.}}
{{History||xbox=TU12|[[File:Raw Chicken JE2 BE2.png|32px]] The texture of raw chicken has been changed, so that it no longer has a dark outline.}}
{{History|PS4}}
{{History||1.90|[[File:Raw Chicken JE3 BE3.png|32px]] The texture of raw chicken has been changed.}}

{{History|new3DS}}
{{History||0.1.0|[[File:Raw Chicken JE2 BE2.png|32px]] Added raw chicken.}}
{{History|foot}}

==Issues==

{{issue list}}

==Gallery ==
<gallery>
Beta 1.8 Dev Chicken 2.png|First image of raw chicken.
</gallery>

==References==
{{reflist}}

{{Items}}

[[de:Rohes Hühnchen]]
[[es:Pollo crudo]]
[[fr:Poulet cru]]
[[hu:Nyers csirkehús]]
[[ja:生の鶏肉]]
[[ko:익히지 않은 닭고기]]
[[nl:Rauwe kip]]
[[pl:Surowy kurczak]]
[[pt:Frango cru]]
[[ru:Сырая курятина]]
[[th:ไก่ดิบ]]
[[zh:生鸡肉]]
[[Category:Food]]
[[Category:Renewable resources]]</li><li>[[Door|Door]]<br/>{{About|the block|the music track|Minecraft - Volume Alpha}}
{{See also|Trapdoor}}
{{Block
| image = <gallery>
Iron Door.png|Java Edition
Iron Door BE.png|Bedrock Edition
</gallery>
| extratext = View [[#Gallery|all renders]]
| transparent = Partial
| light = No
| tntres = {{Blast resistance values|Wooden Door}} <small>(Wood)</small><br>{{Blast resistance values|Iron Door}}<small> (Iron)</small>
| hardness = {{Hardness values|Wooden Door}} <small>(Wood)</small><br>{{Hardness values|Iron Door}}<small> (Iron)</small>
| tool = axe
| tool2 = wooden pickaxe
| renewable = Yes
| stackable = Yes (64)
| flammable = No
| lavasusceptible = '''Overworld wood''': Yes<br>'''Nether wood''','''iron''': No
}}
A '''door''' is a block that can be used as a barrier that can be opened by hand or with [[redstone]].

== Obtaining ==
Doors can be found in any Overworld biome, and can also be crafted from any type of [[wood]] as well as materials found in [[the Nether]]. Some have built-in openings that are useful for determining the time of day.

=== Breaking ===
Wooden doors can be broken with anything, but [[axe]]s are fastest. An iron door can be broken with anything if the top half of the door is broken.<ref>{{bug|MC-189739}}</ref><ref>{{bug|MCPE-126620}}</ref> All doors drop themselves if they no longer have a block beneath them that can support them.
{{breaking row
|Oak Door, Spruce Door, Birch Door, Jungle Door, Acacia Door, Dark Oak Door, Mangrove Door, Cherry Door, Bamboo Door, Crimson Door, Warped Door; Iron Door
|textTrim=Door
|Axe;Pickaxe
|;
|item=1;1
|link=none;none
}}

A door is removed and drops itself as an item:

* if the block beneath the door is moved, removed, or destroyed
* if a [[piston]] tries to push the door (trying to pull a door does nothing) or moves a block into its space

=== Natural generation ===
Doors generate in some generated structures, forming the entrances to the majority of buildings. Doors do not generate in [[zombie village]]s.

;{{BlockSprite|Oak Door|text=Oak}}

Oak doors generate as part of:

* Plains [[village]]s
* [[Stronghold]]s
* Right-side-up [[shipwreck]]s

;{{BlockSprite|Spruce Door|text=Spruce}}

Spruce doors generate as part of:

* Taiga, snowy tundra and snowy taiga [[village]]s
* Right-side-up [[shipwreck]]s

;{{BlockSprite|Jungle Door|text=Jungle}}

Jungle doors generate as part of:

* Desert [[village]]s
* Right-side-up [[shipwreck]]s

;{{BlockSprite|Acacia Door|text=Acacia}}

Acacia doors generate as part of:

* Savanna [[village]]s
<!-- * Right-side-up [[shipwreck]]s{{only|BE}}{{need testing}} -->

;{{BlockSprite|Dark Oak Door|text=Dark oak}}

Dark oak doors generate as part of:

* Master bedroom closets in [[woodland mansion]]s
* Right-side-up [[shipwreck]]s

;{{BlockSprite|Iron Door|text=Iron}}

Iron doors generate as part of:

* Prison rooms in [[woodland mansion]]s
* [[Stronghold]]s with a stone [[button]] to open{{only|JE}}

=== Crafting ===
{{Crafting
|head=1
|name=[[Wood Door]]
|A1= Matching Planks
|B1= Matching Planks
|A2= Matching Planks
|B2= Matching Planks
|A3= Matching Planks
|B3= Matching Planks
|Output= Matching wood Door,3
|type= Redstone
}}
{{Crafting
|A1= Iron Ingot
|B1= Iron Ingot
|A2= Iron Ingot
|B2= Iron Ingot
|A3= Iron Ingot
|B3= Iron Ingot
|Output= Iron Door,3
|type= Redstone
|foot=1
}}

== Usage ==
Wooden doors can be opened and closed by players, [[villager]]s, [[wandering trader]]s{{only|bedrock|short=1}}<!--Wandering traders cannot open doors in java edition. -->, [[vindicator]]s{{only|java|short=1}}, and [[piglin]]s. Wooden doors can be broken by all variants of [[zombie]]s (except [[drowned]]) and [[vindicator]]s in Hard difficulty.

Iron doors can be opened only with redstone power.

=== Placement ===
Doors must be "attached" to a block beneath them. To place a door, {{control|use}} a door item while pointing at the top of the block it should be attached to. A door can be attached to:
* the '''top''' of any full solid [[opaque]] block ([[stone]], [[dirt]], [[blocks of gold]], etc.)
* the '''top''' of an upside-down [[slab]] or upside-down [[stairs]]
* the '''top''' of a [[slime block]] or downward-facing [[piston]]

More information about placement on transparent blocks can be found at [[Opacity/Placement]].

When placed, a door occupies the side of the block facing the player, or behind a player if placed in the player's own space.

By default, a door's "hinge" appears on the side of the half of the block that the player pointed at when placing and its "handle" on the opposite side{{only|java}}, but the hinge is forced to other side by:
* Placing a door besides another door (creating a double door where both doors open away from each other)
* Placing a door between a full solid and any opaque block (top or bottom), making the hinge appear to attach to the solid block.

=== Behavior ===
[[Water]] and [[lava]] flow around doors. Lava can create [[fire]] in air blocks next to wooden doors as if the wooden doors were flammable, but the doors do not burn (and cannot be burned by other methods either, except throwing them into lava).

[[Mob]]s can spawn in a space occupied by a door.

The sound of opening and closing of a door can be heard up to 16 blocks away, like most mob sounds.

When placed using the {{cmd|setblock}} command, only one half of a door is placed, because doors are actually two separate blocks. The lower half still works, but with graphical bugs, and the upper half does not. Redstone cannot be used because it updates the half, breaking it. The upper half does not drop anything when broken, the lower half drops a normal door. This implies that the upper half is dependent on the lower.

=== Barrier ===
A door can be used as a switchable barrier to entity movement. Although primarily used to block movement by mobs and players, a door can also be used to control the movement of boats (for example, a door placed in a two-wide water flow stops a boat when perpendicular to the flow, but allow it to move again when parallel), items and minecarts (a door can stop a falling item or minecart, then allow it to drop again when the door moves), etc.

{{IN|Java}}, doors provide a breathable space if placed underwater. {{IN|bedrock}}, doors in water source blocks are [[waterlogging|waterlogged]] and do not displace water source blocks.

Doors are 0.1875 ({{frac|3|16}}) blocks thick (0.1825 {{in|bedrock}}). The rest of a door's space can be moved through freely. A door occupies two block spaces and both halves normally act as a single barrier, although doors can be opened or closed with a player or mob occupying the bottom block of the door,<ref>{{bug|MC-54255}} – "You can stand on the bottom block of a door, allowing you to climb it like a ladder" resolved as "Won't Fix"</ref> in which case the player can jump up to land on the bottom half of the door and then again to land on top of the door.

To open or close a wooden door, use the {{control|use|text=Use Item/Place Block}} [[control]]. When a door opens or closes, it immediately changes its orientation without affecting anything in the space it "swings through". Moving doors do not push entities the way that pistons do.

[[Villager]]s, [[wandering trader]]s,{{only|bedrock|short=1}} [[vindicator]]s{{only|java|short=1}}, [[piglin]]s and [[piglin brute]]s can open and close wooden doors when pathfinding.

Some [[zombie]]s can break wooden doors in [[Hard]] [[difficulty]]. Zombies have a 5% chance to spawn with the ability to break doors. Vindicators spawned from a [[raid]] in [[Normal]] and Hard difficulty can also break wooden doors, but they do so only to reach targeted players, villagers, or wandering traders. Some vindicators may sometimes open a wooden door instead of breaking it.{{only|java}} Both zombies and vindicators attempt to break wooden doors only when in their "closed" state, even if a door is placed so that its "open" state blocks access (for example, by facing sideways when placing a door so that it allows passage when closed and blocks passage when open).

Iron doors can be opened only with redstone power (a [[button]], a [[redstone circuit]], etc.). Any mob can activate an iron door by stepping on a pressure plate or by triggering a tripwire.

=== Redstone component ===
{{see also|Redstone circuit}}

Both wood and iron doors can be controlled with redstone power.

A door is a redstone [[mechanism component]] and can be activated by:
* an adjacent active '''[[power component]]''', including above or below: for example, a [[redstone torch]], a [[block of redstone]], a [[daylight sensor]], etc.
* an adjacent '''powered block''' (for example, a block with an active redstone torch under it), including above or below
* a powered '''[[redstone comparator]]''' or '''[[redstone repeater]]''' facing the door
* powered '''[[redstone dust]]''' configured to point at the door or a directionless "dot" next to it; a door is ''not'' activated by adjacent powered redstone dust that is configured to point in another direction.

All methods of activating a door can be applied to either the top or bottom parts of a door.

When activated, a door immediately rotates around its hinge side to its open state. When deactivated, a door immediately returns to its closed state.

An activated wood door can still be closed by a player or villager and does not re-open until it receives a new activation signal (if a door has been closed "by hand", it still needs to be deactivated and then reactivated to open by redstone).

=== Fuel ===
Overworld wooden doors can be used as a [[Smelting#Fuel|fuel]] in [[furnace]]s, smelting 1 item per door.

=== Note blocks ===
Wooden doors can be placed under [[note block]]s to produce "bass" sound.

== Sounds ==
=== Generic ===
==== Iron ====
{{Sound table/Block/Metal}}

==== Normal wood ====
{{Sound table/Block/Wood}}

==== Cherry wood ====
{{Sound table/Block/Cherry wood}}

==== Bamboo wood ====
{{Sound table/Block/Bamboo wood}}

==== Nether wood ====
{{Sound table/Block/Nether wood}}

=== Unique ===
{{el|java}}:
{{Sound table
|sound=Iron Door open1.ogg
|sound2=Iron Door open2.ogg
|sound3=Iron Door open3.ogg
|sound4=Iron Door open4.ogg
|subtitle=Door creaks
|source=block
|description=When an iron door opens
|id=block.iron_door.open
|translationkey=subtitles.block.door.toggle
|volume=0.9
|pitch=0.9-1.0
|distance=16}}
{{Sound table
|sound=Iron Door close1.ogg
|sound2=Iron Door close2.ogg
|sound3=Iron Door close3.ogg
|sound4=Iron Door close4.ogg
|subtitle=Door creaks
|source=block
|description=When an iron door closes
|id=block.iron_door.close
|translationkey=subtitles.block.door.toggle
|volume=0.9
|pitch=0.9-1.0
|distance=16}}
{{Sound table
|sound=Wooden Door open3.ogg
|sound2=Wooden Door open4.ogg
|subtitle=Door creaks
|source=block
|description=When a wooden door opens
|id=block.wooden_door.open
|translationkey=subtitles.block.door.toggle
|volume=0.9
|pitch=0.9-1.0
|distance=16}}
{{Sound table
|sound=Wooden Door close2.ogg
|sound2=Wooden Door close5.ogg
|sound3=Wooden Door close6.ogg
|subtitle=Door creaks
|source=block
|description=When a wooden door closes
|id=block.wooden_door.close
|translationkey=subtitles.block.door.toggle
|volume=0.9
|pitch=0.9-1.0
|distance=16}}
{{Sound table
|rowspan=2
|sound=Cherry door toggle1.ogg
|sound2=Cherry door toggle2.ogg
|sound3=Cherry door toggle3.ogg
|sound4=Cherry door toggle4.ogg
|subtitle=Door creaks
|source=block
|description=When a cherry wood door opens
|id=block.cherry_wood_door.open
|translationkey=subtitles.block.door.toggle
|volume=0.9
|pitch=0.9-1.0
|distance=16}}
{{Sound table
|subtitle=Door creaks
|source=block
|description=When a cherry wood door closes
|id=block.cherry_wood_door.close
|translationkey=subtitles.block.door.toggle
|volume=0.9
|pitch=0.9-1.0
|distance=16}}
{{Sound table
|rowspan=2
|sound=Bamboo Door toggle1.ogg
|sound2=Bamboo Door toggle2.ogg
|sound3=Bamboo Door toggle3.ogg
|sound4=Bamboo Door toggle4.ogg
|subtitle=Door creaks
|source=block
|description=When a bamboo wood door opens
|id=block.bamboo_wood_door.open
|translationkey=subtitles.block.door.toggle
|volume=0.9
|pitch=0.9-1.0
|distance=16}}
{{Sound table
|subtitle=Door creaks
|source=block
|description=When a bamboo wood door closes
|id=block.bamboo_wood_door.close
|translationkey=subtitles.block.door.toggle
|volume=0.9
|pitch=0.9-1.0
|distance=16}}
{{Sound table
|rowspan=2
|sound=Nether Door toggle1.ogg
|sound2=Nether Door toggle2.ogg
|sound3=Nether Door toggle3.ogg
|sound4=Nether Door toggle4.ogg
|subtitle=Door creaks
|source=block
|description=When a Nether wood door opens
|id=block.nether_wood_door.open
|translationkey=subtitles.block.door.toggle
|volume=1.0
|pitch=0.9-1.0
|distance=16}}
{{Sound table
|subtitle=Door creaks
|source=block
|description=When a Nether wood door closes
|id=block.nether_wood_door.close
|translationkey=subtitles.block.door.toggle
|volume=1.0
|pitch=0.9-1.0
|distance=16}}
{{Sound table
|sound=Zombie hit wood1.ogg
|sound2=Zombie hit wood2.ogg
|sound3=Zombie hit wood3.ogg
|sound4=Zombie hit wood4.ogg
|subtitle=Door shakes
|source=hostile
|description=When a [[zombie]] attacks a door
|id=entity.zombie.attack_wooden_door
|translationkey=subtitles.entity.zombie.attack_wooden_door
|volume=2.0
|pitch=0.8-1.2
|distance=16}}
{{Sound table
|sound=Zombie hit metal1.ogg
|sound2=Zombie hit metal2.ogg
|sound3=Zombie hit metal3.ogg
|subtitle=Block broken <ref group=sound name=ironsubtitle>{{Bug|MC-226770}}</ref>
|source=None
|description=''Unused sound event''<ref group=sound>{{bug|MC-218122}}</ref>
|id=entity.zombie.attack_iron_door
|translationkey=subtitles.block.generic.break|translationkeynote=<ref group=sound name=ironsubtitle/>
|volume=''None''
|pitch=''None''
|distance=''None''}}
{{Sound table
|sound=Zombie breaks door.ogg
|subtitle=Door breaks
|source=hostile
|description=When a zombie breaks a door
|id=entity.zombie.break_wooden_door
|translationkey=subtitles.entity.zombie.break_wooden_door
|volume=2.0
|pitch=0.8-1.2
|distance=16
|foot=1}}

{{el|bedrock}}:
{{Sound table
|type=bedrock
|sound=Iron Door open1.ogg
|sound2=Iron Door open2.ogg
|sound3=Iron Door open3.ogg
|sound4=Iron Door open4.ogg
|source=block
|description=When an iron door opens
|id=open.iron_door
|volume=0.9
|pitch=0.9-1.0}}
{{Sound table
|sound=Iron Door close1.ogg
|sound2=Iron Door close2.ogg
|sound3=Iron Door close3.ogg
|sound4=Iron Door close4.ogg
|source=block
|description=When an iron door closes
|id=close.iron_door
|volume=0.9
|pitch=0.9-1.0}}
{{Sound table
|sound=Wooden Door open3.ogg
|sound2=Wooden Door open4.ogg
|source=block
|description=When a wooden door opens
|id=open.wooden_door
|volume=0.9
|pitch=0.9-1.0}}
{{Sound table
|sound=Wooden Door close2.ogg
|sound2=Wooden Door close5.ogg
|sound3=Wooden Door close6.ogg
|source=block
|description=When a wooden door closes
|id=close.wooden_door
|volume=0.9
|pitch=0.9-1.0}}
{{Sound table
|rowspan=2
|sound=Cherry door toggle1.ogg
|sound2=Cherry door toggle2.ogg
|sound3=Cherry door toggle3.ogg
|sound4=Cherry door toggle4.ogg
|source=block
|description=When a cherry wood door opens
|id=open.cherry_wood_door
|volume=1.0
|pitch=0.9-1.0}}
{{Sound table
|source=block
|description=When a cherry wood door closes
|id=close.cherry_wood_door
|volume=1.0
|pitch=0.9-1.0}}
{{Sound table
|rowspan=2
|sound=Bamboo Door toggle1.ogg
|sound2=Bamboo Door toggle2.ogg
|sound3=Bamboo Door toggle3.ogg
|sound4=Bamboo Door toggle4.ogg
|source=block
|description=When a bamboo wood door opens
|id=open.bamboo_wood_door
|volume=0.9
|pitch=0.9-1.0}}
{{Sound table
|source=block
|description=When a bamboo wood door closes
|id=close.bamboo_wood_door
|volume=0.9
|pitch=0.9-1.0}}
{{Sound table
|rowspan=2
|sound=Nether Door toggle1.ogg
|sound2=Nether Door toggle2.ogg
|sound3=Nether Door toggle3.ogg
|sound4=Nether Door toggle4.ogg
|source=block
|description=When a Nether wood door opens
|id=open.nether_wood_door
|volume=1.0
|pitch=0.9-1.0}}
{{Sound table
|source=block
|description=When a Nether wood door closes
|id=close.nether_wood_door
|volume=1.0
|pitch=0.9-1.0}}
{{Sound table
|sound=Zombie hit wood1.ogg
|sound2=Zombie hit wood2.ogg
|sound3=Zombie hit wood3.ogg
|sound4=Zombie hit wood4.ogg
|source=hostile
|description=While a zombie is breaking a wooden door
|id=mob.zombie.wood
|volume=1.0
|pitch=1.0}}
{{Sound table
|sound=Zombie breaks door.ogg
|source=hostile
|description=When a zombie breaks a wooden door
|id=mob.zombie.woodbreak
|volume=1.0
|pitch=1.0
|foot=1}}

== Data values ==
=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|showblocktags=y
|showitemtags=y
|showforms=y
|generatetranslationkeys=y
|displayname=Iron Door
|spritetype=block
|nameid=iron_door
|blocktags=doors
|itemtags=doors}}
{{ID table
|displayname=Oak Door
|spritetype=block
|nameid=oak_door
|blocktags=doors, wooden_doors
|itemtags=doors, wooden_doors}}
{{ID table
|displayname=Spruce Door
|spritetype=block
|nameid=spruce_door
|blocktags=doors, wooden_doors
|itemtags=doors, wooden_doors}}
{{ID table
|displayname=Birch Door
|spritetype=block
|nameid=birch_door
|blocktags=doors, wooden_doors
|itemtags=doors, wooden_doors}}
{{ID table
|displayname=Jungle Door
|spritetype=block
|nameid=jungle_door
|blocktags=doors, wooden_doors
|itemtags=doors, wooden_doors}}
{{ID table
|displayname=Acacia Door
|spritetype=block
|nameid=acacia_door
|blocktags=doors, wooden_doors
|itemtags=doors, wooden_doors}}
{{ID table
|displayname=Dark Oak Door
|spritetype=block
|nameid=dark_oak_door
|blocktags=doors, wooden_doors
|itemtags=doors, wooden_doors}}
{{ID table
|displayname=Mangrove Door
|spritetype=block
|nameid=mangrove_door
|blocktags=doors, wooden_doors
|itemtags=doors, wooden_doors}}
{{ID table
|displayname=Cherry Door
|spritetype=block
|nameid=cherry_door
|blocktags=doors, wooden_doors
|itemtags=doors, wooden_doors}}
{{ID table
|displayname=Bamboo Door
|spritetype=block
|nameid=bamboo_door
|blocktags=doors, wooden_doors
|itemtags=doors, wooden_doors}}
{{ID table
|displayname=Crimson Door
|spritetype=block
|nameid=crimson_door
|blocktags=doors, non_flammable_wood, wooden_doors
|itemtags=doors, non_flammable_wood, wooden_doors}}
{{ID table
|displayname=Warped Door
|spritetype=block
|nameid=warped_door
|blocktags=doors, non_flammable_wood, wooden_doors
|itemtags=doors, non_flammable_wood, wooden_doors
|foot=1}}

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|showitemtags=y
|firstcolumnname=Door
|shownumericids=y
|showforms=y
|generatetranslationkeys=y
|spritename=iron-door
|displayname=Iron block
|spritetype=block
|nameid=iron_door
|id=71
|form=block
|itemform=item.iron_door}}
{{ID table
|spritename=oak-door
|displayname=Oak block
|spritetype=block
|nameid=wooden_door
|id=64
|form=block
|itemform=item.wooden_door
|translationkey=-}}
{{ID table
|spritename=spruce-door
|displayname=Spruce block
|spritetype=block
|nameid=spruce_door
|id=193
|form=block
|itemform=item.spruce_door
|translationkey=-}}
{{ID table
|spritename=birch-door
|displayname=Birch block
|spritetype=block
|nameid=birch_door
|id=194
|form=block
|itemform=item.birch_door
|translationkey=-}}
{{ID table
|spritename=jungle-door
|displayname=Jungle block
|spritetype=block
|nameid=jungle_door
|id=195
|form=block
|itemform=item.jungle_door
|translationkey=-}}
{{ID table
|spritename=acacia-door
|displayname=Acacia block
|spritetype=block
|nameid=acacia_door
|id=196
|form=block
|itemform=item.acacia_door
|translationkey=-}}
{{ID table
|spritename=dark-oak-door
|displayname=Dark Oak block
|spritetype=block
|nameid=dark_oak_door
|id=197
|form=block
|itemform=item.dark_oak_door
|translationkey=-}}
{{ID table
|spritename=mangrove-door
|displayname=Mangrove block
|spritetype=block
|nameid=mangrove_door
|id=-493
|form=block
|itemform=item.mangrove_door
|translationkey=-}}
{{ID table
|displayname=Cherry Door
|spritetype=block
|nameid=cherry_door
|id=-531
|itemtags=minecraft:door
|translationkey=item.cherry_door.name}}
{{ID table
|displayname=Bamboo Door
|spritetype=block
|nameid=bamboo_door
|id=-517
|itemtags=minecraft:door
|translationkey=item.bamboo_door.name}}
{{ID table
|spritename=crimson-door
|displayname=Crimson block
|spritetype=block
|nameid=crimson_door
|id=499
|form=block
|itemform=item.crimson_door}}
{{ID table
|spritename=warped-door
|displayname=Warped block
|spritetype=block
|nameid=warped_door
|id=500
|form=block
|itemform=item.warped_door}}
{{ID table
|spritename=iron-door
|displayname=Iron item
|spritetype=item
|nameid=iron_door
|id=372
|form=item
|itemtags=minecraft:door}}
{{ID table
|spritename=oak-door
|displayname=Oak item
|spritetype=item
|nameid=wooden_door
|id=359
|form=item
|itemtags=minecraft:door}}
{{ID table
|spritename=spruce-door
|displayname=Spruce item
|spritetype=item
|nameid=spruce_door
|id=553
|form=item
|itemtags=minecraft:door}}
{{ID table
|spritename=birch-door
|displayname=Birch item
|spritetype=item
|nameid=birch_door
|id=554
|form=item
|itemtags=minecraft:door}}
{{ID table
|spritename=jungle-door
|displayname=Jungle item
|spritetype=item
|nameid=jungle_door
|id=555
|form=item
|itemtags=minecraft:door}}
{{ID table
|spritename=acacia-door
|displayname=Acacia item
|spritetype=item
|nameid=acacia_door
|id=556
|form=item
|itemtags=minecraft:door}}
{{ID table
|spritename=dark-oak-door
|displayname=Dark Oak item
|spritetype=item
|nameid=dark_oak_door
|id=557
|form=item
|itemtags=minecraft:door}}
{{ID table
|spritename=mangrove-door
|displayname=Mangrove item
|spritetype=item
|nameid=mangrove_door
|id=641
|form=item
|itemtags=minecraft:door}}
{{ID table
|spritename=crimson-door
|displayname=Crimson item
|spritetype=item
|nameid=crimson_door
|id=616
|form=item
|itemtags=minecraft:door}}
{{ID table
|spritename=warped-door
|displayname=Warped item
|spritetype=item
|nameid=warped_door
|id=617
|form=item
|itemtags=minecraft:door
|foot=1}}

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

{{/BS}}

== Video ==
Note: The videos do not mention or state Crimson, Warped, Bamboo, or Cherry doors, since the videos were uploaded before 1.16.
<div style="text-align:center">
<span style="display:inline-block">{{yt|7jlIQcbHFts}}</span>
<span style="display:inline-block">{{yt|CC6ujEdvzQY}}</span>
</div>

== History ==
''For a history of changes to textures and models for each block state, see [[/Asset history]]''
{{History||3 June 2010|link=https://notch.tumblr.com/post/659506746/asynchronous-saving-and-loading-and-slightly-more|Notch states plans to implement doors.}}
{{History|java infdev}}{{History||20100607|[[File:Oak Door JE1.png|32px]] [[File:Oak Door (Right) JE1.png|32px]] [[File:Oak Door (item) JE1.png|32px]] Added wooden doors.}}
{{History||20100608|Doors have been given smarter rotation logic.}}
{{History||20100611|[[File:Oak Door JE2.png|32px]] [[File:Oak Door (Right) JE2.png|32px]] The models of doors have been changed to use door bottom half texture on sides instead of the wooden [[planks]] texture.}}
{{History||20100618|[[File:Oak Door JE3 BE1.png|32px]] [[File:Oak Door (Right) JE3.png|32px]] The textures of doors have been changed.}}
{{History||20100624|[[File:Oak Door (Right) JE4 BE1.png|32px]] The model of door with right hinge has been changed to mirror and use textures of door with left hinge.}}
{{History|java alpha}}
{{History||v1.0.1|[[File:Iron Door JE1 BE1.png|32px]] [[File:Iron Door (Right) JE1 BE1.png|32px]] [[File:Iron Door (item) JE1 BE1.png|32px]] Added iron doors.
|[[File:Oak Door (item) JE2 BE1.png|32px]] The texture of wooden doors in [[item]] form has been changed.
|Doors can now be controlled by redstone power.}}
{{History|java beta}}
{{History||1.7|Punching the back face of a left-hinge oak or iron door or the front face of a right-hinge door, as well as destroying a door, would [[Java Edition placeholder texture uses|create]] particles using the [[Placeholder texture#Texture atlas blank spaces|block placeholder texture]].}}
{{History||1.7.3|Doors no longer produce placeholder texture particles.}}
{{History||1.8|snap=Pre-release|Doors now occur naturally in [[village]]s and [[stronghold]]s.}}
{{History|java}}
{{History||1.0.0|snap=Beta 1.9 Prerelease 6|Wooden doors are now broken faster using an [[axe]].
|Iron doors are broken much faster using a [[pickaxe]], and the [[mining]] speed is now [[tier]] dependent.}}
{{History|||snap=RC1|The opening and closing [[sound]]s for doors have been changed.}}
{{History||1.1|snap=11w47a|Double doors now open correctly.}}
{{History||1.2.1|snap=12w05b|[[Villager]]s can now open and close doors.}}
{{History|||snap=12w06a|[[File:Oak Door JE4 BE3.png|32px]] [[File:Iron Door JE2 BE5.png|32px]] Changed top model of door.
|[[Zombie]]s can now break wooden doors.
|Doors have been changed to properly detect if they are open or closed. Placing two [[pressure plate]]s directly in front of doors and stepping on them now opens them correctly.}}
{{History|||snap=12w07a|Zombies can no longer break iron doors.}}
{{History||1.4.2|snap=12w40a|Wooden doors can no longer be opened by attacking (left-click).}}
{{History||1.8|snap=December 13, 2013|slink=https://twitter.com/jeb_/status/411425952338808832|[[Jens Bergensten|Jeb]] tweeted an image showing that the crafting recipes for doors are changed so that 3 doors are crafted at once. Doors are also stackable to 64.}}
{{History|||snap=14w02a|Doors are now stackable to 64.
|The [[crafting]] recipes of doors now yield 3 doors instead of 1.}}
{{History|||snap=14w10a|[[File:Oak Door JE5.png|32px]] [[File:Iron Door JE3.png|32px]] The models of doors have been changed.}}
{{History|||snap=August 8, 2014|slink=https://twitter.com/TheMogMiner/status/497751889102905344|[[Ryan Holtz|TheMogMiner]] tweeted an image showing new types of [[wood]] doors.}}
{{History|||snap=14w32d|[[File:Spruce Door JE1 BE1.png|32px]] [[File:Birch Door JE1 BE1.png|32px]] [[File:Jungle Door JE1.png|32px]] [[File:Acacia Door JE1.png|32px]] [[File:Dark Oak Door JE1 BE1.png|32px]] [[File:Spruce Door (item) JE1.png|32px]] [[File:Birch Door (item) JE1.png|32px]] [[File:Jungle Door (item) JE1.png|32px]] [[File:Acacia Door (item) JE1.png|32px]] [[File:Dark Oak Door (item) JE1.png|32px]] New types of wood doors have been added: spruce, birch, jungle, acacia and dark oak.}}
{{History|||snap=14w33a|[[File:Jungle Door JE2 BE1.png|32px]] [[File:Acacia Door JE2 BE1.png|32px]] The models of jungle and acacia doors no longer have inner faces in the holes in their models.
|[[File:Spruce Door (item) JE2.png|32px]] [[File:Birch Door (item) JE2.png|32px]] [[File:Jungle Door (item) JE2.png|32px]] [[File:Acacia Door (item) JE2.png|32px]] [[File:Dark Oak Door (item) JE2.png|32px]] [[Item]] textures of new doors have been changed to match the dimensions of oak and iron doors.
|The wooden door (''Door'') has been renamed to ''Oak Door''.}}
{{History|||snap=14w33b|[[File:Oak Door (item) JE3 BE2.png|32px]] [[File:Spruce Door (item) JE3 BE1.png|32px]] [[File:Birch Door (item) JE3 BE1.png|32px]] [[File:Jungle Door (item) JE3 BE1.png|32px]] [[File:Acacia Door (item) JE3 BE1.png|32px]] [[File:Dark Oak Door (item) JE3 BE1.png|32px]][[File:Iron Door (item) JE2 BE2.png|32px]] All [[item]] textures for all doors have been changed. Doors now have hinges on the left and handles on the right, existing wooden doors & iron doors have a slight item textures change as well.}}
{{History||1.9|snap=15w31a|[[File:Birch Door JE2.png|32px]] [[File:Jungle Door JE3.png|32px]] [[File:Acacia Door JE3.png|32px]] [[File:Dark Oak Door JE2.png|32px]] Shading on the [[block]] textures of birch, jungle, acacia, and dark oak doors have been changed, so that the shadow is in the upper left and the highlight is in the lower right.}}
{{History|||snap=15w43a|Iron doors now have different [[sound]]s than wooden doors.
|Doors now have [[sound]]s for placing and different sounds for opening and closing - see sounds section.}}
{{History|||snap=15w47a|Doors now make [[sound]]s when placed,<ref>{{bug|MC-2844}} – "Doors have no placement sound." resolved as "Fixed"</ref> despite these apparently already being added in 15w43a.}}
{{History|||snap=15w49a|Doors are now placed facing left/right depending on which half of the [[block]] the [[player]] clicks on, unless neighboring doors or solid/opaque blocks cause them to place a certain way.}}
{{History||1.10|snap=16w20a|Acacia and spruce doors now generate in [[savanna]] and [[taiga]] [[villages]].}}
{{History||1.11|snap=16w33a|Wooden doors can now be used to fuel [[furnace]]s.|Iron doors no longer have a right-click action - previously they would result in the hand swinging, and would override other valid right click actions such as snowball throwing.}}
{{History|||snap=16w39a|Dark oak doors and iron doors now generate in [[woodland mansion]]s.}}
{{History||July 19, 2017|link=https://twitter.com/jeb_/status/887599625045250048|[[Jeb]] tweets image of a new jungle [[wood planks]], jungle doors, [[cauldron]], and [[dandelion]] textures.}}
{{History||1.13|snap=17w47a|The oak door ID has been changed from <code>wooden_door</code> to <code>oak_door</code>.
|Prior to [[1.13/Flattening|''The Flattening'']], these [[block]]s' numeral IDs were 64, 71, 193, 194, 195, 196 and 197, and the [[item]]s' 324, 330, 427, 428, 429, 430 and 431.}}
{{History|||snap=18w11a|Doors now generate as part of the newly added [[shipwreck]]s.}}
{{History||1.14|snap=18w43a|[[File:Oak Door JE6.png|32px]] [[File:Spruce Door JE2.png|32px]] [[File:Birch Door JE3.png|32px]] [[File:Jungle Door JE4.png|32px]] [[File:Acacia Door JE4.png|32px]] [[File:Dark Oak Door JE3.png|32px]] [[File:Iron Door JE4.png|32px]] The textures of all doors have been changed.
|[[Vindicator]]s can now break doors.}}
{{History|||snap=18w47b|[[File:Spruce Door JE3.png|32px]] The textures of spruce doors have been changed.}}
{{History|||snap=18w49a|Added [[snowy tundra]] villages, which generate with spruce doors.}}
{{History|||snap=18w50a|The updated [[desert]] villages now generate with jungle doors instead of oak doors.}}
{{History|||snap=19w08a|[[File:Oak Door JE7.png|32px]] The texture of oak doors has been changed.}}
{{History|||snap=19w12b|Doors can now be placed on glass, ice, glowstone and sea lanterns.}}
{{History|||snap=19w13a|[[Evoker]]s and [[pillager]]s can now open doors during [[raid]]s.}}
{{History|||snap=19w14a|Pillagers can no longer open doors.}}
{{History||1.15|snap=19w39a|Iron doors must now be mined with a [[pickaxe]] for it to be dropped as an [[item]].}}
{{History||1.16|snap=20w06a|[[File:Crimson Door JE1.png|32px]] [[File:Warped Door JE1.png|32px]] [[File:Crimson Door (item) JE1 BE1.png|32px]] [[File:Warped Door (item) JE1 BE1.png|32px]] Added crimson and warped doors.}}
{{History|||snap=20w07a|Added [[piglin]]s, which can open and close doors.}}
{{History|||snap=20w19a|[[File:Crimson Door JE2.png|32px]] [[File:Warped Door JE2.png|32px]] [[File:Crimson Door (item) JE2 BE2.png|32px]] [[File:Warped Door (item) JE2 BE2.png|32px]] The textures of crimson and warped doors have been changed.}}
{{History||1.17|snap=21w11a|[[File:Jungle Door (item) JE4 BE2.png|32px]] Changed the texture of the jungle door item.}}
{{History||1.18|snap=21w41a|[[File:Oak Door (item) JE4 BE3.png|32px]] [[File:Spruce Door (item) JE4 BE2.png|32px]] [[File:Birch Door (item) JE4 BE2.png|32px]] [[File:Jungle Door (item) JE5 BE3.png|32px]] [[File:Acacia Door (item) JE4 BE2.png|32px]] [[File:Dark Oak Door (item) JE4 BE2.png|32px]][[File:Iron Door (item) JE3 BE3.png|32px]] All [[item]] textures for all doors except crimson and warped have been changed.}}
{{History|||snap=Pre-release 5|[[File:Oak Door JE8.png|32px]] [[File:Spruce Door JE4.png|32px]] [[File:Birch Door JE4.png|32px]] [[File:Jungle Door JE5.png|32px]] [[File:Acacia Door JE5.png|32px]] [[File:Dark Oak Door JE4.png|32px]] [[File:Crimson Door JE3.png|32px]] [[File:Warped Door JE3.png|32px]] [[File:Iron Door JE5.png|32px]] Changed top and bottom models of door. Changed oak and iron doors textures.}}
{{History||1.19|snap=22w11a|[[File:Mangrove Door JE1.png|32px]][[File:Mangrove Door (item) JE1 BE1.png|32px]] Added mangrove door.}}
{{History|||snap=22w14a|Due to the addition of the [[mangrove tree]] and [[mangrove swamp]], mangrove doors are now obtainable and renewable.}}
{{History||October 15, 2022|link={{ytl|https://youtu.be/iM9KtHaDcUg?t=5659}}|[[File:Bamboo Door JE1.png|32px]] Bamboo doors were shown on [[Minecraft Live 2022]].}}
{{History||1.20<br>(Experimental)|link=1.19.3|snap=22w42a|[[File:Bamboo Door JE1.png|32px]] [[File:Bamboo Door (item) JE1 BE1.png|32px]] Added bamboo doors behind the [[Java Edition 1.20|Update 1.20 experimental datapack]].}}
{{History||1.20<br>(Experimental)|link=1.19.4|snap=23w07a|[[File:Cherry Door JE1.png|32px]] [[File:Cherry Door (item) JE1.png|32px]] Added cherry doors behind the [[Java Edition 1.20|Update 1.20 experimental datapack]].}}
{{History|||snap=1.19.4-pre2|[[File:Cherry Door JE2.png|32px]] [[File:Cherry Door (item) JE2.png|32px]] Changed the texture of cherry doors.}}
{{History||1.20|snap=23w12a|Bamboo and cherry doors are now available without using the "Update 1.20" experimental datapack.}}

{{History|pocket alpha}}
{{History||v0.1.0|[[File:Oak Door JE3 BE1.png|32px]] [[File:Iron Door JE1 BE1.png|32px]] Added doors.
[[File:Oak Door (bottom texture) JE2 BE1.png|32px]] [[File:Iron Door (bottom texture) JE1 BE1.png|32px]] These are the textures defined for the door blocks in <samp>[[gui_blocks.png]]</samp>. The door items exist, but due to a bug in the code that renders items in the hotbar, they cannot be used.}}
{{History||v0.1.3|[[File:Oak Door BE2.png|32px]] [[File:Iron Door BE2.png|32px]] The models of doors have been changed to not display transparency on upper half.}}
{{History||v0.2.0|[[File:Oak Door (item) JE2 BE1.png|32px]] [[File:Iron Door (item) JE1 BE1.png|32px]] Added door inventory icons.
|[[File:Oak Door JE3 BE1.png|32px]] [[File:Iron Door JE1 BE1.png|32px]] The models of doors have been changed to display transparency on upper half.
|Wooden doors are now available in the inventory, including in [[Creative]].}}
{{History||v0.2.1 alpha2|link=Pocket Edition v0.2.1 alpha2|[[File:Iron Door BE3.png|32px]] The textures of iron doors have been changed.}}
{{History||v0.3.0|A crafting recipe for wooden doors has been added.
|Survival players no longer start out with an infinite stack of wooden doors in the inventory.}}
{{History||v0.3.2|Wooden doors now drop their item form when broken.}}
{{History||v0.5.0|[[File:Oak Door JE4 BE3.png|32px]] [[File:Iron Door BE4.png|32px]] The models of doors have been changed.
|Wooden doors can now be obtained after activating the [[nether reactor]].}}
{{History||v0.8.0|snap=build 2|[[File:Iron Door JE2 BE5.png|32px]] The textures of iron doors have been changed to before v0.2.1 alpha2.}}
{{History||v0.11.0|snap=build 1|''Door'' has been now renamed to ''Oak Door''.}}
{{History||v0.12.1|snap=build 1|Doors are now stackable to 64.
|The [[crafting]] recipes of doors now yield 3 doors instead of 1.
|[[Zombie]]s can now break down wooden doors.
|Oak doors can now be opened by [[villager]]s.
|Oak doors are no longer available from the [[nether reactor]].}}
{{History||v0.13.0|snap=build 1|[[File:Spruce Door JE1 BE1.png|32px]] [[File:Birch Door JE1 BE1.png|32px]] [[File:Jungle Door JE2 BE1.png|32px]] [[File:Acacia Door JE2 BE1.png|32px]] [[File:Dark Oak Door JE1 BE1.png|32px]] [[File:Spruce Door (item) JE3 BE1.png|32px]] [[File:Birch Door (item) JE3 BE1.png|32px]] [[File:Jungle Door (item) JE3 BE1.png|32px]] [[File:Acacia Door (item) JE3 BE1.png|32px]] [[File:Dark Oak Door (item) JE3 BE1.png|32px]] Added spruce, birch, jungle, acacia and dark oak doors.
|Iron doors are now available in the [[Creative]] [[inventory]].
|A [[crafting]] recipe for iron doors has been added.
|Redstone mechanics added, making iron doors able to function normally.}}
{{History|||snap=build 2|Spruce, birch, jungle, acacia, and dark oak doors can now be opened by [[villager]]s.}}
{{History|||snap=build 4|[[File:Oak Door (item) JE3 BE2.png|32px]] [[File:Iron Door (item) JE2 BE2.png|32px]] The [[item]] textures of oak and iron door has been changed.}}
{{History||v0.15.0|snap=build 1|Acacia doors now generate in [[savanna]] [[village]]s.
|Spruce doors now generate in [[taiga]] and [[snowy tundra]] villages.}}
{{History|pocket}}
{{History||1.1.0|snap=alpha 1.1.0.0|Dark oak doors and iron doors now generate in [[woodland mansion]]s.
|Doors now have [[sound]]s when placed.<ref>{{bug|MCPE-10079}} – "Doors don't have a placement sound" resolved as "Fixed"</ref>}}
{{History|bedrock}}
{{History||1.4.0|snap=beta 1.2.14.2|Various wooden doors now generate in [[shipwreck]]s.}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Oak Door BE4.png|32px]] [[File:Spruce Door BE2.png|32px]] [[File:Birch Door BE2.png|32px]] [[File:Jungle Door BE2.png|32px]] [[File:Acacia Door BE2.png|32px]] [[File:Dark Oak Door BE2.png|32px]] [[File:Iron Door BE6.png|32px]] The textures of all doors have been changed.
|Jungle doors now generate in the new [[desert]] [[village]]s.
|Added [[wandering trader]]s, which can open and close wooden doors.}}
{{History||1.11.0|snap=beta 1.11.0.7|[[Vindicator]]s can now break doors during [[raid]]s.}}
{{History||1.16.0|snap=beta 1.15.0.51|Zombies can no longer break iron doors.<ref>{{bug|MCPE-43725}}</ref>}}
{{History|||snap=beta 1.16.0.51|[[File:Crimson Door BE1.png|32px]] [[File:Warped Door BE1.png|32px]] [[File:Crimson Door (item) JE1 BE1.png|32px]] [[File:Warped Door (item) JE1 BE1.png|32px]] Added crimson and warped doors.
|Added [[piglin]]s, which can open and close doors.}}
{{History|||snap=beta 1.16.0.63|[[File:Crimson Door BE2.png|32px]] [[File:Warped Door BE2.png|32px]] [[File:Crimson Door (item) JE2 BE2.png|32px]] [[File:Warped Door (item) JE2 BE2.png|32px]] The textures of crimson and warped doors have been changed.}}
{{History||1.17.0|snap=beta 1.17.0.50|[[File:Jungle Door (item) JE4 BE2.png|32px]] Changed the texture of the jungle door item.}}
{{History||1.18.10|snap=beta 1.18.10.20|[[File:Oak Door (item) JE4 BE3.png|32px]] [[File:Spruce Door (item) JE4 BE2.png|32px]] [[File:Birch Door (item) JE4 BE2.png|32px]] [[File:Jungle Door (item) JE5 BE3.png|32px]] [[File:Acacia Door (item) JE4 BE2.png|32px]] [[File:Dark Oak Door (item) JE4 BE2.png|32px]][[File:Iron Door (item) JE3 BE3.png|32px]] All [[item]] textures for all doors except crimson and warped have been changed.}}
{{History||1.19.0|snap=beta 1.19.0.20|[[File:Mangrove Door BE1.png|32px]] [[File:Mangrove Door (item) JE1 BE1.png|32px]] Added mangrove doors.}}
{{History||Next Major Update<br>(Experimental)|link=Bedrock Edition 1.19.50|snap=beta 1.19.50.21|[[File:Bamboo Door BE1.png|32px]] [[File:Bamboo Door (item) JE1 BE1.png|32px]] Added bamboo doors behind the "[[Bedrock Edition 1.20|Next Major Update]]" [[experimental]] toggle.
|The doors now use the same opening and closing [[sound]] effects as ''[[Java Edition]]''.}}
{{History||Next Major Update<br>(Experimental)|link=Bedrock Edition 1.19.80|snap=beta 1.19.80.20|[[File:Cherry Door JE2.png|32px]] [[File:Cherry Door (item) JE2.png|32px]] Added cherry doors behind the "[[Bedrock Edition 1.20|Next Major Update]]" [[experimental]] toggle.}}
{{History||1.20.0|snap=beta 1.20.0.21|Bamboo and cherry doors are now available without using the "Next Major Update" experimental toggle.}}

{{History|console}}
{{History||xbox=TU1|xbone=CU1|ps=1.0|wiiu=Patch 1|switch=1.0.1|[[File:Oak Door JE3 BE1.png|32px]] [[File:Iron Door JE1 BE1.png|32px]] [[File:Oak Door (item) JE2 BE1.png|32px]] [[File:Iron Door (item) JE1 BE1.png|32px]] Added doors.}}
{{History||xbox=TU5|Doors can be found in the Redstone & Transportation tab in the [[Creative inventory]].}}
{{History||xbox=TU14|ps=1.04|Doors being broken by [[zombie]]s now show [[damage]].
|Moved doors to the Building Blocks tab in the Creative inventory.}}
{{History||xbox=TU25|xbone=CU14|ps=1.17|[[File:Spruce Door JE1 BE1.png|32px]] [[File:Birch Door JE1 BE1.png|32px]] [[File:Jungle Door JE2 BE1.png|32px]] [[File:Spruce Door (item) JE3 BE1.png|32px]] [[File:Birch Door (item) JE3 BE1.png|32px]] [[File:Jungle Door (item) JE3 BE1.png|32px]] Added spruce, birch, and jungle door variants.
|The [[crafting]] recipes of doors now yield 3 doors instead of 1.
|The original wooden door (''Door'') has been renamed to ''Oak Door''.}}
{{History||xbox=TU27|xbone=CU15|ps=1.18|[[File:Acacia Door JE2 BE1.png|32px]] [[File:Dark Oak Door JE1 BE1.png|32px]] [[File:Acacia Door (item) JE3 BE1.png|32px]] [[File:Dark Oak Door (item) JE3 BE1.png|32px]] Acacia and dark oak doors have been added to the [[Creative]] [[inventory]].}}
{{History||xbox=TU31|xbone=CU19|ps=1.22|wiiu=Patch 3|Acacia doors and dark oak doors are now obtainable in [[survival]] mode.}}
{{History||?| [[File:Oak Door (item) JE3 BE2.png|32px]] [[File:Iron Door (item) JE2 BE2.png|32px]] Oak and iron door's inventory textures have been changed to match Java Edition}}
{{History||xbox=none|xbone=none|ps=1.90|wiiu=none|switch=none|[[File:Oak Door BE4.png|32px]] [[File:Spruce Door BE2.png|32px]] [[File:Birch Door BE2.png|32px]] [[File:Jungle Door BE2.png|32px]] [[File:Acacia Door BE2.png|32px]] [[File:Dark Oak Door BE2.png|32px]] [[File:Iron Door BE6.png|32px]] The textures of all doors have been changed.}}

{{History|new 3ds}}
{{History||0.1.0|[[File:Oak Door JE2.png|32px]] [[File:Spruce Door JE1 BE1.png|32px]] [[File:Birch Door JE1 BE1.png|32px]] [[File:Jungle Door JE2 BE1.png|32px]] [[File:Acacia Door JE2 BE1.png|32px]] [[File:Dark Oak Door JE1 BE1.png|32px]] [[File:Iron Door JE2 BE5.png|32px]] [[File:Oak Door (item) JE3 BE2.png|32px]] [[File:Spruce Door (item) JE3 BE1.png|32px]] [[File:Birch Door (item) JE3 BE1.png|32px]] [[File:Jungle Door (item) JE3 BE1.png|32px]] [[File:Acacia Door (item) JE3 BE1.png|32px]] [[File:Dark Oak Door (item) JE3 BE1.png|32px]] [[File:Iron Door (item) JE1 BE1.png|32px]] Added doors.}}
{{History|foot}}

<gallery>
Beta 1.7 punching oak door.png|From [[Java Edition Beta 1.7]] to Beta 1.7.2, doors produced [[placeholder texture]] particles when broken or punched on some sides.
</gallery>

Historical sounds:
{| class="wikitable"
! Sound
! From
! to
! Pitch
|-
| {{sound||Door closing old.ogg|Door opening old.ogg}}
| ?
| Sound Update
| ?
|-
| {{sound||Door open.ogg|Door close.ogg}}
| Sound Update
| 15w43a
| ?
|}

=== Door "items" ===
{{:Technical blocks/Doors}}

== Issues ==
{{Issue list}}

== Trivia ==

* Door models have an extra hinge on the opposite side of the actual functional hinge.<ref>{{bug|MC-106697|||WAI}}</ref>

== Gallery ==
<gallery>
Oak Door.png|Oak Door
Spruce Door.png|Spruce Door
Birch Door.png|Birch Door
Jungle Door.png|Jungle Door
Acacia Door.png|Acacia Door
Dark Oak Door.png|Dark Oak Door
Mangrove Door.png|Mangrove Door
Cherry Door.png|Cherry Door
Bamboo Door.png|Bamboo Door
Crimson Door.png|Crimson Door
Warped Door.png|Warped Door
Iron Door.png|Iron Door
Oak Door (item) JE4 BE3.png|Oak Door (item)
Spruce Door (item) JE4 BE2.png|Spruce Door (item)
Birch Door (item) JE4 BE2.png|Birch Door (item)
Jungle Door (item) JE5 BE3.png|Jungle Door (item)
Acacia Door (item) JE4 BE2.png|Acacia Door (item)
Dark Oak Door (item) JE4 BE2.png|Dark Oak Door (item)
Mangrove Door (item) JE1 BE1.png|Mangrove Door (item)
Cherry Door (item) JE2.png|Cherry Door (item)
Bamboo Door (item) JE1 BE1.png|Bamboo Door (item)
Crimson Door (item) JE2 BE2.png|Crimson Door (item)
Warped Door (item) JE2 BE2.png|Warped Door (item)
Iron Door (item) JE3 BE3.png|Iron Door (item)
</gallery>

=== Screenshots ===
<gallery>
Iron Door in Stronghold.png|Naturally occurring iron door in a [[stronghold]].
Wooden Doors 1.8.png|First picture of brand-new 1.8 variants of doors.
Door Creeper.png|A creeper behind some dark oak doors.
Doortypes.png|All types of doors with their respective trapdoors.
FloatingDoorArrows.jpg|Arrows shot into a door that was opened, causing a floating bug.
Jeb Crafting Doors.png|First image of three doors being crafted at once.
Jappa Closet.jpg|A closet made from oak doors.
</gallery>

=== Concept Art ===
<gallery>
Bamboo Wood and Door Concept Art.png|Bamboo door concept art.
Bamboo Door Prototype Textures.png|Bamboo door prototype textures.
</gallery>

== References ==
{{Reflist}}

== External Links ==
*[https://www.minecraft.net/en-us/article/taking-inventory--door Taking Inventory: Door] – Minecraft.net on September 29, 2022

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

[[Category:Manufactured blocks]]
[[Category:Generated structure blocks]]
[[Category:Utility blocks]]
[[Category:Mechanics]]
[[Category:Redstone mechanics]]
[[Category:Mechanisms]]

[[cs:Dveře]]
[[de:Tür]]
[[el:Door]]
[[es:Puerta]]
[[fr:Porte]]
[[hu:Ajtók]]
[[it:Porta]]
[[ja:ドア]]
[[ko:문]]
[[nl:Deur]]
[[pl:Drzwi]]
[[pt:Porta]]
[[ru:Дверь]]
[[th:ประตู]]
[[uk:Двері]]
[[zh:门]]</li></ul></nowiki>
13w43aAdded /setworldspawn.
1.16.2
{{Extension DPL}}<ul><li>[[Enchanted Golden Apple|Enchanted Golden Apple]]<br/>{{Item
| image = Enchanted Golden Apple.png
| rarity = Epic
| heals = {{hunger|4}}
| effects = 
* {{EffectLink|Absorption}} IV (2:00)
* {{EffectLink|Regeneration}} II (0:20){{only|java|short=yes}}/V (0:30){{only|bedrock|short=yes}}
* {{EffectLink|Fire Resistance}} (5:00)
* {{EffectLink|Resistance}} (5:00)
| renewable = No
| stackable = Yes (64)
}}

An '''enchanted golden apple''' ({{in|je}}), notch apple, or '''enchanted apple''' ({{in|be}}), is a rare, uncraftable variant of the [[golden apple]] that grants much more powerful effects when consumed.

== Obtaining ==
=== Chest loot ===
{{LootChestItem|enchanted-golden-apple}}

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

To eat an enchanted golden apple, press and hold {{control|use}} while it is selected in the hotbar. It restores {{hunger|4}} points of hunger and 9.6 [[Hunger#Mechanics|saturation]].

The enchanted golden apple provides: 
* [[Absorption]] IV for 2 minutes (providing {{hp|16|absorption=1}} points of absorption health)
* [[Regeneration]] level II {{in|java}} or V {{in|bedrock}} for 30 seconds ({{in|java}}, {{hp|1}} is restored every 25 ticks, {{hp|2|notag=1}} × 0.4 per second) for 20 seconds (long enough to heal {{hp|16}} points of damage; {{in|bedrock}}, {{hp|1}} is restored every 6 ticks, {{hp|2|notag=1}} × 1.66 per second for 30 seconds, which is long enough to heal up to {{hp|100}} points of damage.
* [[Fire Resistance]] I for 5 minutes
* [[Resistance]] I (20% reduced damage from all sources except the [[void]]) for 5 minutes

=== Horses ===
Enchanted golden apples can be used for improving the chances of taming a [[horse]] by 10%, for [[breeding]] and leading horses, and for speeding up the growth of [[baby]] horses by 4 minutes.

=== Crafting ingredient ===
{{crafting usage|Enchanted Golden Apple|match=start}}
===Piglins===
{{EntityLink|Piglin|Piglins}} are attracted to enchanted golden apples and run toward any enchanted golden apples on the ground, and inspect it for 6 to 8 seconds before putting it in their inventory. However, piglins do not eat enchanted golden apples (or any [[food]]).

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

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

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|showaliasids=y
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Enchanted Golden Apple
|spritetype=item
|nameid=enchanted_golden_apple
|aliasid=appleenchanted
|id=259
|form=item
|translationkey=item.appleEnchanted.name
|foot=1}}

== Achievements ==
{{load achievements|Overpowered;Fruit on the Loom;Oooh, shiny!}}

== Advancements ==
{{load advancements|Oh Shiny;A Furious Cocktail;How Did We Get Here;Husbandry;A Balanced Diet}}

== History ==
{{History|java}}
{{History||1.3.1|snap=12w21a|[[File:Enchanted Golden Apple JE1 BE1.gif|32px]] Added enchanted golden apples.
|Enchanted golden apples highly resemble the golden apple prior to [[Java Edition 1.1|1.1]]. 
|Enchanted golden apples have [[Regeneration]] IV (30 seconds), [[Resistance]] (5 minutes) and [[Fire Resistance]] (5 minutes). 
|Enchanted golden apples can be [[crafted]] with 8 [[blocks of gold]] and one apple, making them [[renewable]]. 
|Enchanted golden apples shine like an [[enchanting|enchanted]] [[item]] and have a purple tooltip while the standard golden apple's tooltip changed to blue. However, the standard golden apple's effects remain unchanged.}}
{{History|||snap=12w21b|Added Enchanted Golden Apples to the Creative inventory.}}
{{History||1.6.1|snap=13w24b|Enchanted golden apples now give the player Absorption as well, and Regeneration IV has been increased to Regeneration V.}}
{{History|||snap=?|Enchanted golden apples can now be used to tame, breed and heal horses and donkeys.}}
{{History||1.8|snap=14w06a|[[Crafting]] an enchanted golden apple now gives the [[player]] the [[Achievements/Java_Edition|''achievement'']] "Overpowered."}}
{{History||1.9|snap=15w37a|Enchanted golden apples now give Regeneration II (down from V) and [[Absorption]] IV (up from I), in addition to the unchanged [[Resistance]] and [[Fire Resistance]] effects. The duration of the Regeneration effect has now also been decreased to 20 seconds.}}
{{History|||snap=15w44a|Enchanted golden apples are now uncraftable, making them no longer renewable.
|Enchanted golden apples have been added to [[dungeon]], [[desert temple]] and [[mineshaft]] chests.}}
{{History||1.11|snap=16w39a|Enchanted golden apples are now found in the new [[woodland mansion]] chests.}}
{{History||1.13|snap=17w47a|The names and IDs have been split into golden apple and enchanted golden apple.
|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 322.}}
{{History||1.14|snap=18w43a|[[File:Enchanted Golden Apple JE2 BE2.gif|32px]] The texture for enchanted golden apples has been changed.}}
{{History||1.16|snap=20w16a|Enchanted golden apples can now be found inside [[ruined portal]] chests.}}
{{History||1.16.2|snap=20w30a|Enchanted golden apples can now be found inside [[bastion remnant]] chests.}}
{{History||1.18|snap=experimental snapshot 6|Horses, donkeys and mules now follow players holding enchanted golden apples.}}
{{History||1.19|snap=22w13a|Enchanted golden apples may now be found in [[ancient city]] [[chest]]s.}}

{{History|pocket alpha}}
{{History||v0.12.1|snap=build 1|[[File:Enchanted Golden Apple JE1 BE1.gif|32px]] Added enchanted golden apples.}}
{{History|||snap=build 4|A crafting recipe has been added for enchanted golden apples.}}
{{History|pocket}}
{{History||1.1.0|snap=alpha 1.1.0.0|Enchanted golden apples are now known as "Enchanted Apple."}}
{{History|bedrock}}
{{History||1.2.0|snap=?|Enchanted apples now give [[Absorption]] IV rather than Absorption I.}}
{{History||1.2.13|snap=?|Enchanted golden apples are now uncraftable, making them no longer [[renewable resource|renewable]].}}
{{History||?|Enchanted apples now give [[Regeneration]] V rather than IV.}}
{{History||1.10.0|snap=beta 1.10.0.3|Enchanted apples are no longer used to [[crafting|craft]] patterns on [[banner]]s directly, but are now used to craft Thing [[banner pattern]]s.
|[[File:Enchanted Golden Apple JE2 BE2.gif|32px]] The texture for the enchanted golden apple has been changed.}}
{{History||1.16.0|snap=beta 1.16.0.57|Enchanted golden apples can now be found inside [[ruined portal]] chests.}}
{{History||1.16.100|snap=beta 1.16.100.56|The ID of enchanted apples has been changed from <code>appleenchanted</code> to <code>enchanted_golden_apple</code>.}}

{{History|console}}
{{History||xbox=TU14|xbone=CU1|ps=1.04|wiiu=Patch 1|switch=1.0.1|[[File:Enchanted Golden Apple JE1 BE1.gif|32px]] Added enchanted golden apples.}}
{{History||xbox=none|xbone=none|ps=1.90|wiiu=none|switch=none|[[File:Enchanted Golden Apple JE2 BE2.gif|32px]] The texture for the enchanted golden apple has been changed.}}

{{History|New 3DS}}
{{History||0.1.0|[[File:Enchanted Golden Apple JE1 BE1.gif|32px]] Added enchanted golden apples.}}
{{History|foot}}

== Issues ==
{{issue list}}

== Trivia ==
* The damage tag of an enchanted apple obtained {{in|be}} is 1, although setting it to 0 makes no difference.

== Gallery ==
<gallery>
GoldenAppleComparison.png|A comparison of the two golden apple variations.
EnchantedGoldenAppleEffects.png|The effects of consuming an enchanted golden apple.
Notch Apple In Mansion Chest.png|An extremely rare occasion where a regular golden apple and an enchanted apple being found in the same woodland mansion chest {{in|ee}}.
GoldenAppleDungeonChest.png|Golden apple in a [[dungeon]] chest, prior to 1.3.1. It resembles the enchanted golden apple.
GodPortal.png|An enchanted golden apple found in a ruined portal chest.
GodSpawner.png|An enchanted golden apple found in a monster room chest.
</gallery>

{{Items}}

[[Category:Non-renewable resources]]
[[Category:Food]]

[[de:Verzauberter goldener Apfel]]
[[es:Manzana dorada encantada]]
[[fr:pomme dorée enchantée]]
[[ja:エンチャントされた金のリンゴ]]
[[pt:Maçã dourada encantada]]
[[th:แอปเปิ้ลทองร่ายมนตร์]]
[[zh:附魔金苹果]]</li><li>[[Carrot|Carrot]]<br/>{{about|the natural food item|the golden food|Golden Carrot|the item for controlling saddled pigs|Carrot on a Stick}}
{{Item
| group = Age 0-1
| 1-1 = Carrots Age 0-1.png
| 1-2 = Carrots Age 0-1 BE.png
| group2 = Age 2-3
| 2-1 = Carrots Age 2-3.png
| 2-2 = Carrots Age 2-3 BE.png
| group3 = Age 4-6
| 3-1 = Carrots Age 4-6.png
| 3-2 = Carrots Age 4-6 BE.png
| group4 = Age 7
| 4-1 = Carrots Age 7.png
| 4-2 = Carrots Age 7 BE.png
| image2 = Carrot JE3 BE2.png
| renewable = Yes
| heals = {{hunger|3}}
| stackable = Yes (64)
}}
A '''carrot''' is a [[food]] [[item]] obtained from carrot crops that can be used to plant them, eaten or used as a crafting ingredient.

'''Carrot crops''' are planted in [[farmland]] and used to grow carrots.

== Obtaining ==

=== Breaking ===
{{See also|Fortune#Seeds}}
Fully grown carrot crops drop 2 to 5 carrots ({{frac|3|5|7}} per crop harvested on average). Yield can be increased using a tool enchanted with [[Fortune]], with Fortune III harvesting an average of {{frac|5|3|7}} carrots.

The yield is calculated by a binomial distribution: 2 drops are fixed, then a drop is attempted three times with a success rate of 57.14286% to yield the extra 0–3 drops. Each level of Fortune enchantment increases the number of attempts by one.

=== Natural generation ===
[[Village]] farm plots have a chance of having carrots. The exact chance depends on the style of the village:

{| class="wikitable"
! Village style !! Chance
|-
| {{EnvSprite|plains-village}} Plains || 30%
|-
| {{EnvSprite|snowy-village}} Snowy || 10%
|}

=== Mob loot ===
[[Zombie]]s, [[husk]]s, and [[zombie villager]]s have a 2.5% ({{frac|1|40}}) chance of dropping either an [[iron ingot]], carrot, or [[potato]] when killed by a player or tamed wolf. This is increased by 1% ({{frac|1|100}}) per level of looting. This gives carrots the following chances of dropping:
* {{frac|1|120}} (about 0.83%)
* {{frac|7|600}} (about 1.17%) with Looting I
* {{frac|9|600}} (about 1.50%) with Looting II
* {{frac|11|600}} (about 1.83%) with Looting III

=== Chest loot ===
{{LootChestItem|carrot}}

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

To eat a carrot, press and hold {{control|use}} while the carrot is selected in the [[hotbar]]. Eating a carrot restores {{hunger|3}} [[hunger]] and 3.6 hunger [[Hunger#Mechanics|saturation]].

=== Farming ===
{{see also|Tutorials/Crop farming|title1 = Crop farming }}

Carrots can be [[farming|farmed]] and harvested on [[farmland]]. Planted carrots take 8 [[Block tick|stages]] to grow, and go through 4 visually distinct stages. Planted carrots require a light level of 9 or greater to continue growing. If the light level is 7 or below, the crops instantly un-plant themselves ("pop off"). It is not possible to plant carrots if the light level is too low.

Crops grow faster if the farmland they are planted in is [[Farmland#Hydration|hydrated]]. Using [[bone meal]] on crops also increases the speed of growth by randomly increasing their growth stage by 2 to 5.

Crops break if pushed by a [[piston]] or if their supporting farmland breaks or turns to dirt (i.e. by being trampled), dropping their usual drops.

If {{cmd|gamerule mobGriefing}} is <code>true</code>, rabbits will find mature carrot [[crops]]{{only|je}} / carrot crops with growth stage greater than 1{{only|be}}. This reduces the growth stages by one, removing the crop completely when the growth stage reaches 0.

=== Breeding ===
Carrots can also be used to [[breed]] and attract [[pig]]s and [[rabbit]]s.

Villagers can pick up carrot items to become willing, which allow them to breed. Villagers require 12 carrots to become willing.

=== Trading ===
Novice-level Farmer villagers have a 25% ({{frac|1|4}}){{only|bedrock}} or 40% ({{frac|2|5}}){{only|java}} chance to buy 22 carrots for an emerald.

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

=== Composting ===
Placing a carrot into a [[composter]] has a 65% chance of raising the compost level by 1.

== Sounds ==

=== Block ===
{{Sound table/Block/Crop}}

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

== Data values ==

=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|showblocktags=y
|showforms=y
|generatetranslationkeys=y
|displayname=Carrots
|spritetype=block
|nameid=carrots
|blocktags=bee_growables, crops
|form=block}}
{{ID table
|displayname=Carrot
|spritetype=item
|nameid=carrot
|form=item
|foot=1}}

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|showforms=y
|shownumericids=y
|generatetranslationkeys=y
|displayname=Carrots
|spritetype=block
|nameid=carrots
|id=141
|form=block
|translationkey=-}}
{{ID table
|displayname=Carrot
|spritetype=item
|nameid=carrot
|id=279
|form=item
|foot=1}}

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

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

== History ==
{{History|java}}
{{History||1.4.2|snap=12w34a|[[File:Carrot JE1.png|32px]] Added carrots. 
|[[File:Carrots Age 0-1 JE1.png|32px]] [[File:Carrots Age 2-3 JE1.png|32px]] [[File:Carrots Age 4-6 JE1.png|32px]] [[File:Carrots Age 7 JE1.png|32px]] Added carrot crops.
|Carrots can be obtained only as a rare [[drop]] from [[zombie]]s.}}
{{History|||snap=August 28, 2012|slink={{tweet|Dinnerbone|240428477856231424}}|[[Dinnerbone]] released an image of a [[saddle]]d [[pig]] being controlled with a [[carrot on a stick]]. [[Wheat]] was considered as a "fuel" along with carrots,<ref>{{Tweet|Dinnerbone|240188453789257728}}</ref> but Dinnerbone eventually decided on carrots.<ref>{{Tweet|Dinnerbone|240355810650247168}}</ref>}}
{{History|||snap=12w34a|Carrots can now be used to craft [[golden carrot]]s.}}
{{History|||snap=12w36a|Carrots can now be found in [[village]]s.
|Carrots are now used to breed [[pig]]s.
|Carrots are now used to craft [[carrot on a stick]].}}
{{History|||snap=12w37a|[[File:Carrot JE2 BE1.png|32px]] The texture of carrots has now been changed. The texture has been changed to singular carrot, with the tooltip changed to reflect this.}}
{{History||1.5|snap=13w04a|[[Bone meal]] now grows carrots by 1 stage instead of fully growing it. The [[player]] might not see it grow, because some stages look the same.}}
{{History||1.8|snap=14w02a|Carrots now restore {{hunger|3}} points and 3.6 hunger [[saturation]], instead of {{hunger|4}} and 4.8 hunger saturation.
|Farmer [[villager]]s now [[trading|buy]] 15–19 carrots for 1 [[emerald]].}}
{{History|||snap=14w04a|[[Farmer]] (profession) [[villager]]s now harvest fully grown carrots.
|Villagers can now be made willing using 12 carrots.}}
{{History|||snap=14w06a|[[File:Carrots Age 0-1 JE2.png|32px]] [[File:Carrots Age 2-3 JE2.png|32px]] [[File:Carrots Age 4-6 JE2.png|32px]] [[File:Carrots Age 7 JE2.png|32px]] Carrot crops are now a pixel higher - previously they were offset one pixel down as to match farmland's sunken model. This is likely an accidental result of model conversion.}}
{{History|||snap=14w10a|[[File:Missing Model JE2.png|32px]] [[File:Missing Model JE2.png|32px]] [[File:Missing Model JE2.png|32px]] [[File:Missing Model JE2.png|32px]]<br>[[File:Missing Model (anisotropic filtering) JE2.png|32px]] [[File:Missing Model (anisotropic filtering) JE2.png|32px]] [[File:Missing Model (anisotropic filtering) JE2.png|32px]] [[File:Missing Model (anisotropic filtering) JE2.png|32px]]<br>Carrot crops of all stages [[Missing model|no longer have a model]].}}
{{History|||snap=14w10b|[[File:Carrots Age 0-1 JE4.png|32px]] [[File:Carrots Age 2-3 JE4.png|32px]] [[File:Carrots Age 4-6 JE4.png|32px]] [[File:Carrots Age 7 JE4.png|32px]] Carrot crops now have models again.<ref>{{bug|MC-50232}}</ref> In addition, they are now offset downwards by one pixel once more.<ref>{{bug|MC-50155}}</ref>}}
{{History|||snap=14w25a|[[File:Carrots Age 0-1 JE5.png|32px]] [[File:Carrots Age 2-3 JE5.png|32px]] [[File:Carrots Age 4-6 JE5.png|32px]] [[File:Carrots Age 7 JE5.png|32px]] Carrot crops are now darker and subject to directional shading.}}
{{History|||snap=14w27a|[[File:Carrots Age 0-1 JE6.png|32px]] [[File:Carrots Age 2-3 JE6.png|32px]] [[File:Carrots Age 4-6 JE6.png|32px]] [[File:Carrots Age 7 JE6.png|32px]] Carrot crops are no longer subject to directional shading.
|Added [[rabbit]]s, which can be [[breeding|bred]] and/or tamed using carrots. Rabbits also grief carrot crops.
|Carrots are now used to craft [[rabbit stew]].}}
{{History|||snap=14w34a|Rabbits can no longer be tamed.}}
{{History||1.9|snap=15w38a|The [[drops|drop]] chances have now been slightly improved from an average of {{frac|2|3|5}} per [[crops|crop]] harvested to {{frac|2|5|7}}.}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], this block's numeral ID was 141, and the item's 391.}}
{{History|||snap=18w11a|Carrots can now generate in the chests of [[shipwreck]]s.}}
{{History||1.14|snap=18w43a|[[File:Carrot JE3 BE2.png|32px]] The texture of carrots has now been changed.
|[[File:Carrots Age 0-1 JE7.png|32px]] [[File:Carrots Age 2-3 JE7.png|32px]] [[File:Carrots Age 4-6 JE7.png|32px]] [[File:Carrots Age 7 JE7.png|32px]] The textures of carrot crops have now been changed.}}
{{History|||snap=18w47a|Carrots can now generate in the [[chest]]s of [[pillager outpost]]s.}}
{{History|||snap=19w03a|Placement and breaking [[sound]]s have now been added to carrots.
|Placing a carrot into the new [[composter]] has a 50% chance of raising the compost level by 1.}}
{{History|||snap=19w05a|Carrots now have a 65% chance of increasing the compost level in a composter by 1.}}
{{History||1.15|snap=19w34a|[[Bee]]s can now pollinate carrot crops.}}
{{History||1.17|snap=21w13a|[[File:Carrots Age 0-1 JE8.png|32px]] [[File:Carrots Age 2-3 JE8.png|32px]] [[File:Carrots Age 4-6 JE8.png|32px]] [[File:Carrots Age 7 JE8.png|32px]] The "crop" template model has changed such that pixels appear in the same physical positions on opposite sides of texture planes, changing the carrot crop's appearance in the process.<ref>{{bug|MC-199242}}</ref>}}
{{History||1.18|snap=Pre-release 5|[[File:Carrots Age 7 JE9.png|32px]] A stray dark pixel has been removed from the texture of fully-grown carrots.<ref>{{bug|MC-226711}}</ref>}}

{{History|pocket alpha}}
{{History||v0.8.0|snap=build 1|[[File:Carrot JE2 BE1.png|32px]] Added carrots.
|[[File:Carrots Age 0-1 JE6 BE1.png|32px]] [[File:Carrots Age 2-3 JE6 BE1.png|32px]] [[File:Carrots Age 4-6 JE6 BE1.png|32px]] [[File:Carrots Age 7 JE6 BE1.png|32px]]{{verify|Correct models?}} Added carrot crops.
|Carrots can be obtained by killing [[zombie]]s.}}
{{History|||snap=build 3|Carrots now have a chance to [[drops|drop]] when tilling [[grass block]]s.}}
{{History|||snap=build 4|Carrots are no longer dropped by tilling [[grass block]]s.}}
{{History||v0.9.0|snap=build 1|Carrot crops now naturally spawn in [[village]]s.
|Carrot now used to breed [[pig]]s.}}
{{History||v0.12.1|snap=build 1|Carrots now restore [[hunger]] instead of [[health]].
|Brown robed [[villager]]s can now harvest fully grown carrot crops.
|Carrots can now be used to craft [[golden carrot]]s.}}
{{History||v0.13.0|snap=build 1|Carrots can now be used to breed [[rabbit]]s.
|Carrots can now be used to craft [[rabbit stew]].}}
{{History||v0.15.0|snap=build 1|Carrots are now used to craft [[carrot on a stick]].}}
{{History||v0.16.2|Carrots can now be found in a [[chest]] inside the large house in [[snowy tundra]] and [[snowy taiga]] [[village]]s.}}
{{History|pocket}}
{{History||1.0.4|snap=alpha 1.0.4.0|Farmer [[villager]]s now [[trading|buy]] 15–19 carrots for 1 [[emerald]].
|Carrots can now be picked up by villagers and become willing.}}
{{History|bedrock}}
{{History||1.2.0|snap=beta 1.2.0.2|Carrots can now be found inside of [[bonus chest]]s.}}
{{History||1.4.0|snap=beta 1.2.14.2|Carrots can now be found inside [[shipwreck]] chests.}}
{{History||1.10.0|snap=beta 1.10.0.3|Carrots can be found in the new [[pillager outpost]]s.
|[[File:Carrot JE3 BE2.png|32px]] The texture of carrots has now been changed.
|[[File:Carrots Age 0-1 JE7.png|32px]] [[File:Carrots Age 2-3 JE7.png|32px]] [[File:Carrots Age 4-6 JE7.png|32px]] [[File:Carrots Age 7 JE7.png|32px]]{{verify|Correct models?}} The textures of carrot crops have now been changed.}}
{{History||1.11.0|snap=beta 1.11.0.1|Carrots can now be used to fill up [[composter]]s.}}
{{History|||snap=beta 1.11.0.4|[[Trading]] has now been changed, farmer [[villager]]s now have a 25% chance to [[trading|buy]] 22 carrots for an [[emerald]].}}
{{History||1.14.0|snap=beta 1.14.0.1|[[Bee]]s can now pollinate carrot crops.}}
{{History||?|[[File:Carrots Age 0-1 BE.png|32px]] [[File:Carrots Age 2-3 BE.png|32px]] [[File:Carrots Age 4-6 BE.png|32px]] [[File:Carrots Age 7 BE.png|32px]] Carrot crop planes use a mapping that results in very unnatural mirroring when viewed from certain angles, such as northwest.<ref>{{bug|MCPE-146936}}</ref>}}

{{History|console}}
{{History||xbox=TU14|xbone=CU1|ps=1.04|wiiu=Patch 1|switch=1.0.1|[[File:Carrot JE2 BE1.png|32px]] Added carrots.
|[[File:Carrots Age 0-1 JE6 BE1.png|32px]] [[File:Carrots Age 2-3 JE6 BE1.png|32px]] [[File:Carrots Age 4-6 JE6 BE1.png|32px]] [[File:Carrots Age 7 JE6 BE1.png|32px]]{{verify|Correct models?}} Added carrot crops.}}
{{History||xbox=none|xbone=none|ps=1.90|wiiu=none|switch=none|[[File:Carrot JE3 BE2.png|32px]] The texture of carrots has now been changed.
|[[File:Carrots Age 0-1 JE7.png|32px]] [[File:Carrots Age 2-3 JE7.png|32px]] [[File:Carrots Age 4-6 JE7.png|32px]] [[File:Carrots Age 7 JE7.png|32px]]{{verify|Correct models?}} The textures of carrot crops have now been changed.}}
{{History||xbox=none|xbone=none|ps=1.91|wiiu=none|switch=none|Carrots can now be used to fill up [[composter]]s.}}

{{History|New 3DS}}
{{History||0.1.0|[[File:Carrot JE2 BE1.png|32px]] Added carrots.
|[[File:Carrots Age 0-1 JE6 BE1.png|32px]] [[File:Carrots Age 2-3 JE6 BE1.png|32px]] [[File:Carrots Age 4-6 JE6 BE1.png|32px]] [[File:Carrots Age 7 JE6 BE1.png|32px]]{{verify|Correct models?}} Added carrot crops.}}
{{History|foot}}

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

== Issues ==
{{issue list}}

== Gallery ==
<gallery>
AllSeeds.png|All the seeds that exist in the game (except [[nether wart]] and [[cocoa beans]]).
VillageGrowingCarrotsAndPotatoes.png|Carrots and [[potato]]es found growing naturally in a [[village]].
Carrots Growing.png|Carrots in multiple stages of growth.
Carrot Dungeon.jpg|A carrot that dropped from a zombie, just to the right of the [[spawner]].
Carrot SDGP.png|Carrot in the [[Super Duper Graphics Pack]].
</gallery>

== References ==
{{reflist}}

{{Items}}
{{blocks|vegetation}}

[[Category:Plants]]
[[Category:Food]]
[[Category:Renewable resources]]
[[Category:Non-solid blocks]]
[[Category:Generated structure blocks]]

[[cs:Mrkev]]
[[de:Karotte]]
[[es:Zanahoria]]
[[fr:Carotte]]
[[hu:Sárgarépa]]
[[ja:ニンジン]]
[[ko:당근]]
[[lzh:胡蘿蔔]]
[[nl:Wortel]]
[[pl:Marchewka]]
[[pt:Cenoura]]
[[ru:Морковь]]
[[th:แคร์รอต]]
[[uk:Морква]]
[[zh:胡萝卜]]</li></ul>
20w29aAdded angle parameter for setting the default facing angle of a respawning player.
Pocket Edition Alpha
v0.16.0
{{Extension DPL}}<ul><li>[[Reality Vision|Reality Vision]]<br/>{{Joke feature}}
{{Item
| title = Reality Vision
| image = Reality Vision.png
| renewable = No
| stackable = Yes (64)
}}

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

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

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

== Sounds ==

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

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

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

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

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

== Gallery ==

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

{{Items}}
{{Jokes}}

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

[[pt:Visão da realidade]]
[[es:Reality Vision]]</li><li>[[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>
build 1Added /setworldspawn.

See also