Minecraft Wiki
No edit summary
(→‎Result: 1.17)
(22 intermediate revisions by 14 users not shown)
Line 1: Line 1:
 
{{exclusive|java}}
 
{{exclusive|java}}
  +
{{Infobox command
{{:commands/infobox
 
|worldborder
+
|name=worldborder
  +
|oplevel=2
|op
 
|Java Edition 1.8|Java Edition 14w17a
 
 
}}
 
}}
   
Line 10: Line 9:
 
==Syntax==
 
==Syntax==
   
  +
<code>worldborder add <distance> [&lt;time&gt;]</code>
 
  +
: Increases or decreases the world border diameter.
 
<code>worldborder center <pos></code>
  +
: Recenters the world boundary.
  +
<code>worldborder damage amount <damagePerBlock></code>
 
: Sets the world border damage amount to the specified value. Any player outside the world border buffer takes this amount of damage per second per block past the world border buffer distance.
  +
<code>worldborder damage buffer <distance></code>
 
: Sets the world border buffer distance to the specified value. Players won't take damage until they move past this distance from the world border.
  +
<code>worldborder get</code>
 
: Returns the current world border diameter.
  +
<code>worldborder set <distance> [&lt;time&gt;]</code>
  +
: Sets the world border diameter.
  +
<code>worldborder warning distance <distance></code>
 
: Sets the world border warning distance to the specified value.
  +
<code>worldborder warning time &lt;time&gt;</code>
  +
: Sets the world border warning time to the specified value.
   
 
==Arguments==
 
==Arguments==
   
<code><distance></code>
+
{{argument|distance|double}} (in <code>add</code> mode)
: Specifies a distance in blocks:
+
: Specifies the number of blocks to add to the world border diameter.
  +
: {{arg desc|je=double|min=-59,999,968|max=59,999,968}}
:* <code>add</code> – Specifies the number of blocks to add to the world border diameter.
 
:* <code>damage buffer</code> – Specifies the distance outside the world buffer a player must be before they start taking damage. Must be at least 0.0. Initially set to 5.0.
 
:* <code>set</code> – Specifies the new diameter for the world border. Must be between 1.0 and 60,000,000 (inclusive, without the commas).
 
:* <code>warning distance</code> – Specifies the distance from the world border at which players begins to see a visual warning of the world border's proximity. Must be at least 0. Initially set to 5.
 
   
<code><nowiki><time></nowiki></code>
+
{{argument|time|integer}} (in <code>add</code> and <code>set</code> mode)
 
: Specifies the number of seconds it should take for the world border to move from its current diameter to the new diameter. If not specified, defaults to 0.
: Specifies a time in seconds:
 
  +
: {{arg desc|je=integer|min=0}}
:* <code>add</code> – Specifies the number of seconds it should take for the world border to move from its current diameter to the new diameter. Must be at least 0. If not specified, defaults to 0.
 
:* <code>set</code> – Specifies the number of seconds it should take for the world border to move from its current diameter to the new diameter. Must be at least 0. If not specified, defaults to 0.
 
:* <code>warning time</code> – Specifies the number of seconds that a player begins to see a visual warning before a moving world border passes their position. Must be at least 0. Initially set to 15.
 
   
  +
{{argument|pos|vec2}}
<code><pos></code>
 
: Specifies the horizontal coordinates of the world border's center in form of<code><x> <z></code>. Must be between [[World border|-30,000,000 and 30,000,000]] (inclusive, without the commas). May use [[Commands#Tilde and caret notation|tilde and caret notation]] to specify coordinates relative to the command's execution.
+
: Specifies the horizontal coordinates of the world border's center.
  +
: {{arg desc|je=vec2}}
   
<code><damagePerBlock></code>
+
{{argument|damagePerBlock|float}}
: Specifies the damage a player takes per second per block past the world border buffer. For example, if <code><damagePerBlock></code> is 0.1, a player 5 blocks outside the world border buffer takes 0.5 damage per second (damage less than half a heart might not change the visual health display, but still accumulates). Must be at least 0.0. Initially set to 0.2.
+
: Specifies the damage a player takes per second per block past the world border buffer. For example, if <code><damagePerBlock></code> is 0.1, a player 5 blocks outside the world border buffer takes 0.5 damage per second (damage less than half a heart might not change the visual health display, but still accumulates). Initially set to 0.2.
  +
: {{arg desc|je=float|min=0.0}}
  +
  +
{{argument|distance|double}} (in <code>damage buffer</code> mode)
 
: Specifies the distance outside the world buffer a player must be before they start taking damage. Initially set to 5.0.
  +
: {{arg desc|je=double|min=0.0}}
  +
  +
{{argument|distance|double}} (in <code>set</code> mode)
  +
: Specifies the new diameter for the world border.
  +
: {{arg desc|je=double|min=-29,999,984|max=29,999,984}}
  +
  +
{{argument|distance|integer}} (in <code>warning distance</code> mode)
 
: Specifies the distance from the world border at which players begins to see a visual warning of the world border's proximity. Initially set to 5.
  +
: {{arg desc|je=integer|min=0}}
  +
  +
{{argument|time|integer}} (in <code>warning time</code> mode)
 
: Specifies the number of seconds that a player begins to see a visual warning before a moving world border passes their position. Initially set to 15.
  +
: {{arg desc|je=integer|min=0}}
   
 
==Result==
 
==Result==
   
  +
{{Result table|onlyje=1}}
Fails if the arguments are not specified correctly.
+
{{Result table|the arguments are not specified correctly|unparseable}}
  +
{{Result table|cmd=/worldborder add ...<br>/worldborder set ...|the size is unchanged|fail}}
  +
{{Result table|the new size is less than 1.0 or greater than 59,999,968}}
  +
{{Result table|cmd=/worldborder center ...|the center is unchanged}}
  +
{{Result table|cmd=/worldborder damage amount ...|the damage amount is unchanged}}
  +
{{Result table|cmd=/worldborder damage buffer ...|the damage buffer is unchanged}}
  +
{{Result table|cmd=/worldborder warning distance ...|the warning distance is unchanged}}
  +
{{Result table|cmd=/worldborder warning time ...|the warning time is unchanged}}
  +
{{Result table|cmd=|succeed|Manages the world border.}}
  +
{{Result table}}
   
  +
== Output ==
On success:
 
   
  +
{{Output table}}
* <code>add</code> The world border begins changing its diameter by the specified amount. If <code><distance></code> is positive, the world border turns green and start increasing; if negative, the world border turns red and start decreasing. If <code>&lt;time&gt;</code> is 0 or unspecified, the change occurs immediately; otherwise the change proceeds at a rate of (''distance''/2)/''time'' blocks per second.
 
  +
{{Output table|edition=je|On fail|0|0|0}}
* <code>center</code> The center of the world border immediately moves to the specified coordinates.
 
  +
{{Output table|cmd=/worldborder add ...|On success|1|1|the specified {{cd|<distance>}}}}
* <code>damage amount</code> – Sets the world border damage amount to the specified value. Any player outside the world border buffer takes this amount of damage per second per block past the world border buffer distance.
 
  +
{{Output table|cmd=/worldborder center ...|On success|1|1|0}}
* <code>damage buffer</code> – Sets the world border buffer distance to the specified value. Players won't take damage until they move past this distance from the world border.
 
  +
{{Output table|cmd=/worldborder damage amount ...|On success|1|1|the specified {{cd|<damagePerBlock>}}}}
* <code>get</code> – Shows the current world border diameter in the chat.
 
  +
{{Output table|cmd=/worldborder damage buffer ...|On success|1|1|the specified {{cd|<distance>}}}}
* <code>set</code> – The world border begins changing its diameter to the specified value. If <code><distance></code> is bigger than the current diameter, the world border turns green and start increasing; if smaller, the world border turns red and start decreasing. If <code>&lt;time&gt;</code> is 0 or unspecified, the change occurs immediately; otherwise the change proceeds at a rate of ((''distance''-<current diameter>)/2)/''time'' blocks per second.
 
* <code>warning distance</code> Sets the world border warning distance to the specified value.
+
{{Output table|cmd=/worldborder get|On success|1|1|the size of the world border after rounding to the nearest integer}}
  +
{{Output table|cmd=/worldborder set ...|On success|1|1|the amount of change in the width of the world border<br>(a positive number means an increase, a negative number means a decrease).}}
* <code>warning time</code> – Sets the world border warning time to the specified value.
 
  +
{{Output table|cmd=/worldborder warning distance ...|On success|1|1|the specified {{cd|<distance>}}}}
  +
{{Output table|cmd=/worldborder warning time ...|On success|1|1|the specified {{cd|<<nowiki/>time>}}}}
  +
{{Output table}}
   
== History ==
+
==Notes==
   
 
In <code>add</code> or <code>set</code> mode, if successful, the world border begins changing its diameter by the specified amount. If diameter is increasing, the world border turns green; if decreasing, the world border turns red. If <code>&lt;time&gt;</code> is 0 or unspecified, the change occurs immediately; otherwise the change proceeds at a rate of (Distance difference/2)/time blocks per second.
{{History|java}}
 
   
 
In <code>center</code> mode, if successful, the center of the world border immediately moves to the specified coordinates.
  +
  +
== History ==
  +
{{info needed section|the upcoming update for the world border's radius that [[Java Edition distance effects|controlled by float replaced by double]] }}
 
{{History|java}}
 
{{History||1.8|snap=14w17a|Added {{cmd|worldborder|link=none}}.}}
 
{{History||1.8|snap=14w17a|Added {{cmd|worldborder|link=none}}.}}
 
{{History|||snap=14w19a|Added {{cmd|worldborder|damage|link=none}}.
 
{{History|||snap=14w19a|Added {{cmd|worldborder|damage|link=none}}.
Line 62: Line 107:
   
 
[[de:Befehl/worldborder]]
 
[[de:Befehl/worldborder]]
  +
[[ja:コマンド/worldborder]]
 
[[zh:命令/worldborder]]
 
[[zh:命令/worldborder]]

Revision as of 07:41, 27 June 2021

Information icon
This feature is exclusive to Java Edition. 

These commands control the world border.

Syntax

worldborder add <distance> [<time>]

Increases or decreases the world border diameter.

worldborder center <pos>

Recenters the world boundary.

worldborder damage amount <damagePerBlock>

Sets the world border damage amount to the specified value. Any player outside the world border buffer takes this amount of damage per second per block past the world border buffer distance.

worldborder damage buffer <distance>

Sets the world border buffer distance to the specified value. Players won't take damage until they move past this distance from the world border.

worldborder get

Returns the current world border diameter.

worldborder set <distance> [<time>]

Sets the world border diameter.

worldborder warning distance <distance>

Sets the world border warning distance to the specified value.

worldborder warning time <time>

Sets the world border warning time to the specified value.

Arguments

<distance>: double (in add mode)

Specifies the number of blocks to add to the world border diameter.
Must be a Double-precision floating-point format number. It must be between -59,999,968 and 59,999,968 (inclusive).

<time>: integer (in add and set mode)

Specifies the number of seconds it should take for the world border to move from its current diameter to the new diameter. If not specified, defaults to 0.
Must be a 32-bit integer number. And it must be between 0 and 2147483647 (inclusive).

<pos>: vec2

Specifies the horizontal coordinates of the world border's center.
Must be a two-dimensional coordinates with floating-point number elements. Accepts tilde and caret notations.

<damagePerBlock>: float

Specifies the damage a player takes per second per block past the world border buffer. For example, if <damagePerBlock> is 0.1, a player 5 blocks outside the world border buffer takes 0.5 damage per second (damage less than half a heart might not change the visual health display, but still accumulates). Initially set to 0.2.
Must be a Single-precision floating-point format number. And it must be greater than or equal to 0.0.

<distance>: double (in damage buffer mode)

Specifies the distance outside the world buffer a player must be before they start taking damage. Initially set to 5.0.
Must be a Double-precision floating-point format number. It must be greater than or equal to 0.0.

<distance>: double (in set mode)

Specifies the new diameter for the world border.
Must be a Double-precision floating-point format number. It must be between -29,999,984 and 29,999,984 (inclusive).

<distance>: integer (in warning distance mode)

Specifies the distance from the world border at which players begins to see a visual warning of the world border's proximity. Initially set to 5.
Must be a 32-bit integer number. And it must be between 0 and 2147483647 (inclusive).

<time>: integer (in warning time mode)

Specifies the number of seconds that a player begins to see a visual warning before a moving world border passes their position. Initially set to 15.
Must be a 32-bit integer number. And it must be between 0 and 2147483647 (inclusive).

Result

CommandTriggerJava Edition
anythe arguments are not specified correctly Unparseable
/worldborder add ...
/worldborder set ...
the size is unchanged Failed
the new size is less than 1.0 or greater than 59,999,968
/worldborder center ...the center is unchanged
/worldborder damage amount ...the damage amount is unchanged
/worldborder damage buffer ...the damage buffer is unchanged
/worldborder warning distance ...the warning distance is unchanged
/worldborder warning time ...the warning time is unchanged
anyOtherwiseManages the world border.

Output

CommandEditionSituationSuccess Count/execute store success .../execute store result ...
anyJava EditionOn fail000
/worldborder add ...On success11the specified <distance>
/worldborder center ...On success110
/worldborder damage amount ...On success11the specified <damagePerBlock>
/worldborder damage buffer ...On success11the specified <distance>
/worldborder getOn success11the size of the world border after rounding to the nearest integer
/worldborder set ...On success11the amount of change in the width of the world border
(a positive number means an increase, a negative number means a decrease).
/worldborder warning distance ...On success11the specified <distance>
/worldborder warning time ...On success11the specified <time>

Notes

In add or set mode, if successful, the world border begins changing its diameter by the specified amount. If diameter is increasing, the world border turns green; if decreasing, the world border turns red. If <time> is 0 or unspecified, the change occurs immediately; otherwise the change proceeds at a rate of (Distance difference/2)/time blocks per second.

In center mode, if successful, the center of the world border immediately moves to the specified coordinates.

History

This section is missing information about the upcoming update for the world border's radius that controlled by float replaced by double. 
Please expand the section to include this information. Further details may exist on the talk page.
Java Edition
1.8
{{Extension DPL}}<ul><li>[[Coal|Coal]]<br/>{{About|the fuel item that can be mined|the ore|Coal Ore|the block|Block of Coal|the smelted wood|Charcoal}}
{{Item
| image = Coal.png
|type=
| renewable = Yes
| stackable = Yes (64)
}}
'''Coal''' is a mineral [[item]] mainly obtained from [[Coal Ore|coal ore]]. It is primarily used for crafting [[torches]] and [[Campfire|campfires]], as well as [[fuel]].

== Obtaining ==

=== Chest loot ===
{{see also|Coal Ore#Natural generation}}
{{LootChestItem|coal}}

=== Mining ===

[[Coal ore]] are mined using a [[pickaxe]] and drops 1 piece of coal. If the pickaxe is enchanted with [[Fortune]], it may drop an extra piece per level of Fortune, up to a maximum of 4 with Fortune III.

=== Mob loot ===

[[Wither skeleton]]s have a {{Frac|1|3}} chance of dropping a single coal upon death. The maximum amount of coal is increased by 1 per level of [[Looting]]. The chance of a wither skeleton ''not'' dropping any coal can be found using the formula <code>2 / (Looting Level + 3)</code>. For example, Looting III gives a {{frac|1|3}} chance of not dropping any coal. All other amounts have an equal chance of occurring.

=== Crafting ===

{{Crafting
 |showname=1
 |Block of Coal
 |Output=Coal,9
 |type=Material
}}

=== Smelting ===

{{Smelting
 |head=1
 |Coal Ore

 |Coal
 |0,1
|foot=1
}}

== Usage ==

=== Crafting ingredient ===

{{crafting usage|Coal}}

=== Fuel ===

When used in a [[furnace]] as a fuel, a piece of coal lasts 80 seconds (smelting up to 8 items), like [[charcoal]]. Coal used as fuel lasts more than 5 times longer than [[wood planks]] or [[wood]] logs used as fuel, being more efficient than any other use of wood for smelting {{in|je}}, but outstripped by [[wooden slabs]] {{in|be}}. 

Coal and charcoal are also the only fuels accepted by [[Minecart with Furnace|furnace minecart]]s. They provide approximately four minutes of transit each.

=== Trading ===

Novice-level fisherman [[villager]]s have a 50% chance to buy 10 coal for one [[emerald]].

{{IN|java}}, novice-level armorer and toolsmith villagers have a 40% chance of offering to buy 15 coal for one emerald. Novice-level weaponsmith villagers and apprentice-level butcher villagers have {{frac|2|3}} chance of offering to buy 15 coal for one emerald.

{{IN|bedrock}}, novice-level armorer, toolsmith, and weaponsmith villagers and apprentice-level butcher villagers buy 15 coal for one emerald.

[[trading|Trade]]s that involve coal cannot be substituted by [[charcoal]].

== Data values ==
=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|showitemtags=y
|showforms=y
|generatetranslationkeys=y
|displayname=Coal
|spritetype=item
|nameid=coal
|itemtags=coals
|form=item
|foot=1}}

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|showitemtags=y
|showaliasids=y
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Coal
|spritetype=item
|nameid=coal
|aliasid=coal / 0
|id=302
|itemtags=minecraft:coals
|form=item
|foot=1}}

== History ==

{{History|java classic}}
{{History||May 21, 2009|link=https://web.archive.org/web/0/http://notch.tumblr.com/post/110762705/my-list-on-tile-types-so-far|[[Notch]] shows interest in adding coal, commenting that it might be combined with [[iron ore]] to make steel.}}
{{History|java indev}} 
{{History||0.31|snap=20100128|[[File:Coal JE1.png|32px]] Added coal. 
|Mining [[coal ore]] blocks [[drops]] 2-5 pieces of coal.}}
{{History||0.31|snap=20100129|Coal can be used to craft [[torch]]es.}}
{{History||?|Mining [[coal ore]] now drops 1 piece of coal (down from 2-5).}}
{{History||20100219|[[File:Coal JE2 BE1.png|32px]] The texture of coal has been changed. It is now more centered.}}
{{History|java beta}}
{{History||1.8|snap=Pre-release|Coal can now be found in the new [[mineshaft]] [[chest]]s and [[stronghold]] storeroom chests.}}
{{History|java}}
{{History||1.0.0|snap=?|Coal can be now obtained by [[smelting]] [[coal ore]].}}
{{History||1.2.1|snap=12w04a|Coal can now be used to craft [[fire charge]]s.}}
{{History||1.3.1|snap=12w21a|Blacksmith and butcher [[villager]]s now [[trading|buy]] 16–23 of either coal or charcoal for 1 [[emerald]].}}
{{History|||snap=1.3|[[File:Coal JE3 BE2.png|32px]] The texture of coal has been changed.}}
{{History||1.4.2|snap=12w36a|Coal is now dropped by [[wither skeleton]]s, making it [[renewable resource|renewable]].}}
{{History||1.6.1|snap=13w18a|Coal can now be used to craft [[block of coal|coal block]]s.}}
{{History||1.8|snap=14w02a|Fisherman, armorer, tool smith, weapon smith and butcher [[villager]]s now [[trading|buy]] 16–24 coal for 1 [[emerald]].}}
{{History||1.9|snap=15w43a|Coal may now be found in [[igloo]] basement [[chest]]s.}}
{{History|||snap=15w44a|The average yield of coal from [[mineshaft]] chests has been decreased, and added to [[dungeon]] chests.}}
{{History||1.11|snap=16w39a|Coal can now be found in the new [[woodland mansion]] [[chest]]s.}}
{{History||1.13|snap=17w47a|The different data values for the <code>coal</code> ID have been split up into their own IDs.
|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 263.}}
{{History|||snap=18w09a|Coal can now be found in the loot [[chest]]s of [[underwater ruins]].}}
{{History|||snap=18w11a|Coal now generates in [[shipwreck]] [[chest]]s.}}
{{History||1.14|snap=18w43a|[[File:Coal JE4 BE3.png|32px]] The texture of coal has been changed.}}
{{History|||snap=18w48a|Coal can now be found in [[chest]]s in [[village]] fishing cottages.}}
{{History|||snap=18w49a|Coal can now be found in [[chest]]s in [[village]] butcher shops and [[snowy tundra|snowy]] village houses.}}
{{History|||snap=18w50a|Coal can now be found in [[chest]]s in [[village]] toolsmith houses.}}
{{History|||snap=19w02a|Coal can now be used to craft [[campfire]]s. Destroying a campfire returns 2 charcoal.}}
{{History||1.16|snap=20w06a|Coal can now be used to craft [[torch|soul torches]].}}
{{History||1.19|snap=22w13a|Coal may now be found in [[ancient city]] [[chest]]s.}}
{{History||1.20|snap=23w12a|Coal can now be found in [[suspicious gravel]] and [[suspicious sand]] in cold and warm [[ocean ruins]] and in [[trail ruins]].}}
{{History|||snap=23w16a|Coal no longer generates in [[suspicious sand]] in [[trail ruins]].|Due to the split of the archaeological loot tables for the suspicious gravel within the [[trail ruins]]; coal now is in the common loot.}}

{{History|pocket alpha}}
{{History||v0.3.0|[[File:Coal JE2 BE1.png|32px]] Added coal.
|Coal can be used to craft [[torch]]es.}}
{{History||v0.8.0|snap=build 1|[[File:Coal JE3 BE2.png|32px]] The texture of coal has been changed.
|Coal can now be crafted to make a [[block of coal]].}}
{{History||v0.12.1|snap=build 1|Coal is now [[drops|dropped]] by [[wither skeleton]]s.}}
{{History||v0.14.0|snap=build 1|Coal can now be found inside [[minecart with chest|chest minecarts]] in [[mineshaft]]s.}}
{{History||v0.15.0|snap=build 1|Coal is now used to craft [[fire charge]]s.}}
{{History|pocket}}
{{History||1.0.0|snap=alpha 0.17.0.1|Coal can now be found in the [[stronghold]] storeroom [[chest]]s.
|Coal may now be found in [[igloo]] basement chests.}}
{{History||1.0.4|snap=alpha 1.0.4.0|Fisherman, armorer, toolsmith, weaponsmith and butcher [[villager]]s now [[trading|buy]] 16–24 coal for 1 [[emerald]].}}
{{History||1.1.0|snap=alpha 1.1.0.0|Coal is now found in [[woodland mansion]] [[chest]]s.}}
{{History|bedrock}}
{{History||1.4.0|snap=beta 1.2.14.2|Coal can now be found inside [[shipwreck]] [[chest]]s.}}
{{History|||snap=beta 1.2.20.1|Coal can now be found inside [[underwater ruins]] [[chest]]s.}}
{{History||1.10.0|snap=beta 1.10.0.3|Coal can now be used to craft [[campfire]]s. Destroying a campfire returns 2 charcoal.
|[[File:Coal JE4 BE3.png|32px]] The texture of coal has been changed.}}
{{History||1.11.0|snap=beta 1.11.0.1|Coal can now be found in [[snowy tundra]] [[village]] house [[chest]]s and in village butcher and toolsmith chests.}}
{{History|||snap=beta 1.11.0.4|Armorer, weaponsmith, toolsmith, and butcher [[villager]]s now [[trading|buy]] 15 coal for an [[emerald]].
|Fishermen villagers now have a 50% chance to buy 10 coal for an emerald as part of their first tier [[trading|trade]].}}
{{History||1.16.0|snap=beta 1.16.0.51|Coal can now used to craft [[soul torch]]es.}}

{{History|console}}
{{History||xbox=TU1|xbone=CU1|ps=1.0|wiiu=Patch 1|switch=1.0.1|[[File:Coal JE2 BE1.png|32px]] Added coal.}}
{{History||?|[[File:Coal JE3 BE2.png|32px]] The texture of coal has been changed.}}
{{History||xbox=none|xbone=none|ps=1.90|wiiu=none|switch=none|[[File:Coal JE4 BE3.png|32px]] The texture of coal has been changed.}}

{{History|New 3DS}}
{{History||0.1.0|[[File:Coal JE3 BE2.png|32px]] Added coal.}}
{{History|foot}}

== Issues ==
{{issue list|Coal}}

{{Items}}

[[Category:Renewable resources]]

[[cs:Uhlí]]
[[de:Kohle]]
[[es:Carbón]]
[[fr:Charbon]]
[[hu:Szén]]
[[it:Carbone]]
[[ja:石炭]]
[[ko:석탄]]
[[nl:Steenkool]]
[[pl:Węgiel]]
[[pt:Carvão]]
[[ru:Уголь]]
[[th:ถ่าน]]
[[tr:Kömür]]
[[uk:Вугілля]]
[[zh:煤炭]]</li><li>[[Eye of Ender|Eye of Ender]]<br/>{{redirect|Ender Eye|the boss|Ender Dragon|item that teleports the player to where it lands|Ender Pearl}}
{{ItemEntity
|image=Eye of Ender.png
|stackable=Yes (64)
|renewable=Yes
|size=Height: 0.25 Blocks<br>Width: 0.25 Blocks
|networkid='''[[JE]]''': 72
}}
An '''eye of ender''' is a craftable item used to locate [[stronghold]]s and activate the [[end portal]]s within them.

== Obtaining ==
=== Crafting ===
{{Crafting
  |Blaze Powder
  |Ender Pearl
  |Output=Eye of Ender
  |type=Miscellaneous
}}

== Usage ==
=== Locating strongholds ===
[[File:Eye of Ender (break).gif|thumb|right|An animation of an eye of ender shattering.]]

To locate [[stronghold]]s (and the [[end portal]]s they house):
* Pressing {{control|use}} while holding an eye of ender causes it to fly approximately 12 blocks in the direction of the nearest stronghold, traveling through any blocks necessary, and leave a trail of purple particles, the same particle effect used for [[endermen]] and [[ender chests]]. 
** The eye leads to the [[chunk]] where a spiral staircase, the first room generated in the stronghold, is located.
** The center of this entrance staircase is always exactly at the chunk coordinates 4, ~, 4, although the eye of ender leads to chunk coordinates 0, ~, 0 (the northwest corner of the chunk).
* While over 12 blocks away from the northwest corner of the staircase chunk, the eye will travel upward to offer an easily-visible indication of the horizontal direction the player must travel.
* When closer than 12 blocks to the northwest corner of the staircase chunk, the eye will travel downward, to indicate the player is above a stronghold and must mine downward.
* After two or three seconds of travel, the eye floats in the air briefly, then either falls (becoming collectable again) or shatters in mid-air. The eye has a 20% chance of shattering (80% chance of surviving) per throw, therefore throwing it three times has approximately 50% overall chance to shatter the eye (0.8<sup>3</sup>=51.2%).
* The eye of ender's flying function works only in the [[Overworld]]. It does nothing in [[the Nether]], [[the End]], [[custom dimension]]s{{verify|type=current}}, or in worlds with no strongholds.

Note that the eyes may point to an incorrect location if the target chunks were generated with a different biomes map in an older version or through different generation settings.<ref>See also {{bug|MC-135996}}</ref>

=== Activating end portals ===
[[File:Active End Portal.png|thumb|right|An end portal activated with eyes of ender.]]
Once an end portal is found, the eyes of ender are required to activate it. End portals require a total of 12 eyes of ender in order to activate, though each individual frame-block has a 10% chance of containing an eye of ender when generated. Eyes can be placed in empty [[End portal frame]]s by pressing {{control|use}} on them until the entire ring of 12 is filled, thereby activating the portal. Due to the fact that there is a 10% chance of each individual end portal frame having an eye in it, there is a one out of one trillion chance of every frame having an eye in it thereby activating the portal even if the player doesn't have any eyes of ender.
{| class="wikitable sortable mw-collapsible"
|+End Portal Pre-Filled Eyes
!Eyes
!0
!1
!2
!3
!4
!5-12
|-
|Exactly
|28%
|38%
|23%
|9%
|2%
|<1%
|-
|Or More
|100%
|72%
|34%
|11%
|3%
|<1%
|}

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

== Sounds ==
{{Edition|Java}}:<br>
Eyes of ender use the Friendly Creatures sound category for entity-dependent sound events.
{{Sound table
|sound=Ender Eye death1.ogg
|sound2=Ender Eye death2.ogg
|subtitle=Eye of Ender falls <ref group=sound name=LousyEvents>{{Bug|MC-98316||Wrong subtitles caused by missing distinction}}</ref>
|source=neutral
|description=When an eye of ender drops or breaks
|id=entity.ender_eye.death|idnote=<ref group=sound name=LousyEvents/>
|translationkey=subtitles.entity.ender_eye.death|translationkeynote=<ref group=sound name=LousyEvents/>
|volume=1.3
|pitch=1.0
|distance=16}}
{{Sound table
|sound=Ender Eye launch1.ogg
|sound2=Ender Eye launch2.ogg
|subtitle=Eye of Ender shoots
|source=neutral
|description=When an eye of ender is thrown
|id=entity.ender_eye.launch
|translationkey=subtitles.entity.ender_eye.launch
|volume=0.5
|pitch={{frac|1|3}}-0.5
|distance=16}}
{{Sound table
|sound=End portal eye place1.ogg
|sound2=End portal eye place2.ogg
|sound3=End portal eye place3.ogg
|subtitle=Eye of Ender attaches
|source=block
|description=When an eye of ender is placed in an end portal frame
|id=block.end_portal_frame.fill
|translationkey=subtitles.block.end_portal_frame.fill
|volume=1.0
|pitch=1.0
|distance=16
|foot=1}}

{{Edition|Bedrock}}:
{{Sound table
|type=bedrock
|sound=Item Frame break1.ogg
|sound2=Item Frame break2.ogg
|sound3=Item Frame break3.ogg
|source=block
|description=When an eye of ender breaks <ref group=sound>{{Bug|MCPE-115646}}</ref>
|id=block.itemframe.break}}
{{Sound table
|sound=Bow shoot.ogg
|source=player
|description=When an eye of ender is thrown
|id=random.bow
|volume=0.5
|pitch=0.33-0.5}}
{{Sound table
|sound=End portal eye place1.ogg
|sound2=End portal eye place2.ogg
|sound3=End portal eye place3.ogg
|source=block
|description=When an eye of ender is placed in an end portal frame
|id=block.end_portal_frame.fill
|volume=0.3
|pitch=0.9/1.0/1.1
|foot=1}}

==Data values==
===ID===
{{edition|java}}:
{{ID table
|edition=java
|firstcolumnname=Item
|showforms=y
|generatetranslationkeys=y
|displayname=Eye of Ender
|spritetype=item
|nameid=ender_eye
|form=item
|foot=1}}
{{ID table
|edition=java
|firstcolumnname=Entity
|generatetranslationkeys=y
|displayname=Eye of Ender
|spritetype=entity
|nameid=eye_of_ender
|foot=1}}

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|firstcolumnname=Item
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Eye of Ender
|spritetype=item
|nameid=ender_eye
|id=433
|form=item
|foot=1}} 
{{ID table
|edition=bedrock
|firstcolumnname=Entity
|shownumericids=y
|generatetranslationkeys=y
|displayname=Eye of Ender
|spritetype=entity
|nameid=eye_of_ender_signal
|id=70
|foot=1}}

===Entity data===
The purple particles left by eyes of ender have entity data that define various properties of the entity.

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

{{el|bedrock}}:

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

==Advancements==
{{load advancements|Eye Spy}}

==Video ==
{{Video note|This video does not mention that eyes of ender can be used to craft [[ender chest]]s or [[end crystal]]s.}}

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

==History==
{{History|java}}
{{History||1.0.0|snap=Beta 1.9 Prerelease 3|[[File:Eye of Ender JE1 BE1.png|32px]] Added eyes of ender.
|Eyes of ender can be used on a [[end portal frame|portal block]] to repair them, but repairing them does nothing.}}
{{History|||snap=Beta 1.9 Prerelease 4|Each eye can now be placed in a [[end portal frame|portal block]] or used to hone in on a [[stronghold]]. [[Jens Bergensten|Jeb]] demonstrated the new uses for an eye in his livestream.<ref>http://www.twitch.tv/jebox/b/297000418</ref> An [[end portal]] within a stronghold could be seen in the stream with two eyes inserted into blocks.
|In older worlds with chunks generated before [[Java Edition Beta 1.9 Prerelease 3|Beta 1.9 Prerelease 3]], the eyes may mislead the [[player]] to a place where there isn't a [[stronghold]] at all. This happens because the eyes lead to where a stronghold should be based on the world seed in the current version, but before Beta 1.9 Prerelease 3 strongholds generated differently based on the seed. Therefore, if the player saved the coordinates the eye traveled to in an old world and generated a new world with the same seed, the player could travel to those same coordinates and find a stronghold.}}
{{History|||snap=Beta 1.9 Prerelease 6|Eyes of ender no longer render like a tool in third person.}}
{{History|||snap=RC1|The throwing sound of eyes of ender has been changed.}}
{{History||1.3.1|snap=12w21a|Eyes of ender can now be used to craft [[ender chest]]s.
|Priest [[villager]]s would [[trading|buy]] 2–3 eyes of ender for one [[emerald]].}}
{{History|||snap=12w22a|Priest villagers no longer buy eyes of ender, instead selling them for 7–10 emeralds.}}
{{History||1.6.4|snap=1.6.3-pre|Eyes of ender now lead to [[stronghold]]s based on the structure data saved in the world file instead of calculating their approximate location via the [[seed (level generation)|world seed]]. Therefore, strongholds generated in old versions can still be found even if the distribution of strongholds is changed.}}
{{History||1.7.2|snap=13w41a|Eyes of Ender now lead to the entrance of a stronghold instead of the portal room.}}
{{History||1.8|snap=14w02a|With changes that have been made to villagers and the [[trading]] system, cleric villagers now sell eyes of ender for 7–11 [[emerald]]s, as one of their tier III trades.}}
{{History||1.9|snap=15w41a|Eyes of ender are no longer [[trading|sold]] by cleric [[villager]]s.}}
{{History|||snap=15w44b|An eye of ender is now used to craft an [[end crystal]].}}
{{History|||snap=pre3|Eyes of ender now point to the 125 new strongholds.<ref>{{bug|MC-91173}} resolved as "Fixed"</ref>}}
{{History||1.11|snap=16w32a|The [[entity]] ID has been changed from <code>EyeOfEnderSignal</code> to <code>eye_of_ender_signal</code>.}}
{{History||1.12|snap=17w17a|A new ''pop'' [[sound]] has been added when a thrown eye of ender bursts.}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 381.}}
{{History|||snap=pre5|The [[entity]] ID has been changed to <code>eye_of_ender</code>.}}
{{History||1.14|snap=18w43a|[[File:Eye of Ender JE2 BE2.png|32px]] The texture of eyes of ender has been changed.}}
{{History||1.19|snap=22w11a|Eyes of Ender now lead to the corner of the chunk (0, ~, 0) instead of the center (8-9, ~, 8-9).<ref>{{bug|MC-253394}}</ref>}}

{{History|pocket}}
{{History||1.0.0|snap=alpha 0.17.0.1|[[File:Eye of Ender JE1 BE1.png|32px]] Added eyes of ender.}}
{{History|bedrock}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Eye of Ender JE2 BE2.png|32px]] The texture of eyes of ender has been changed.}}
{{History||1.16.0|snap=beta 1.15.0.51|The [[particles]] of eyes of ender have been changed to match {{el|je}}.}}

{{History|console}}
{{History||xbox=TU7|xbone=CU1|ps=1.0|wiiu=Patch 1|[[File:Eye of Ender JE1 BE1.png|32px]] Added eyes of ender.}}
{{History||xbox=none|xbone=none|ps=1.90|wiiu=none|switch=none|[[File:Eye of Ender JE2 BE2.png|32px]] The texture of eyes of ender has been changed.}}

{{History|new 3ds}}
{{History||1.7.10|[[File:Eye of Ender JE1 BE1.png|32px]] Added eyes of ender.}}
{{History|foot}}


=== Historical images ===
<gallery>
File:Held_Eye_of_Ender.png|The eye of ender used to appear large in third-person view.
</gallery>

==Issues==
{{issue list}}

==Trivia ==
*When thrown in third-person view, the eyes of ender fly out from the player's feet instead of their hand.
*Before [[Java Edition 1.9]], eyes of ender can be purchased from cleric villagers, which means players can find a [[stronghold]] and go to [[the End]] without accessing [[the Nether]] at all.
*{{IN|bedrock}} if the player travels beyond a certain radius (roughly 740,000 blocks), eyes of ender always point to a stronghold near spawn, even though strongholds continue to generate past this limit. If one travels to this limit, they can see eyes of ender suddenly switching direction. A similar phenomenon occurs with the {{cmd|locate}} command.

==Gallery==
===Screenshots===
<gallery>
Stronghold Portal Room.png|An end portal frame containing a few eyes of ender.
EnderChestexample.png|An [[ender chest]] depicting an eye of ender on the front.
</gallery>
===In other media===
<gallery>
File:Eye of Ender JINX.jpg|Official T-shirt artwork "Eye of Ender" sold by JINX.
File:Happy Halloween Eye.jpg|A Halloween T-Shirt design featuring an eye of ender.
</gallery>

==External links==
*[http://www.strongholdfinder.com/ A super-easy stronghold triangulation tool]
*[http://jsfiddle.net/42EDX/40/ JSFiddle Eye of Ender triangulator - can guess the location of other 2 strongholds in the first ring]
*[https://ens-gijs.github.io/minecraft-stronghold-locator/ Minecraft Stronghold Locator Eye of Ender throw plotting visualizer - zoomable to show all possible stronghold rings]
*[https://github.com/winny-/stronghold Python Eye of Ender throw plotting tool]
*[http://www.purplefrog.com/~thoth/MinecraftStronghold/stronghold.html HTML Eye of Ender throw plotting visualizer (not updated after 1.9 stronghold placement changes)]
*[http://chunkbase.com/apps/stronghold-finder Chunk Base Stronghold Finder (seed-based)]
*[https://github.com/toolbox4minecraft/amidst/releases Amidst - File-based world visualizer]
*[http://minecraft.tournier.org/StrongholdLocator/ Find strongholds by analyzing stronghold.dat file]


== References==
{{reflist}}

{{Items}}
{{entities}}

[[cs:Endové oko]]
[[de:Enderauge]]
[[es:Ojo de ender]]
[[fr:Œil de l'Ender]]
[[hu:Végzet szeme]]
[[ja:エンダーアイ]]
[[ko:엔더의 눈]]
[[nl:Enderoog]]
[[pl:Oko Endera]]
[[pt:Olho de ender]]
[[ru:Око Края]]
[[th:ดวงตาแห่งเอนเดอร์]]
[[uk:Око Краю]]
[[zh:末影之眼]]</li></ul>
14w17aAdded /worldborder.
14w19aAdded /worldborder damage <distance>.
Added /worldborder warning (distance|time).
14w26aAdded /worldborder add <distance>.
14w29aAdded /worldborder get.