The Minecraft launcher is the login and downloader front-end to the stand-alone client. It is responsible for downloading the main Java packages, including minecraft.jar, which holds the code and resources of the game such as textures, and LWJGL. It also acts somewhat like a basic and easily bypassable copy-restriction by forcing the user to login to a paid account when running for the first time. It is possible to use the launcher to run all release versions of Minecraft, most Beta versions, and a small fraction of Classic, Indev, Infdev and Alpha. Contrary to popular belief, not every version of the game is included (to see a list of all versions not included in the launcher, see missing launcher versions). The current launcher is the seventh launcher for Minecraft, and the third that was built to automatically update itself.
The login screen for launchers without being previously logged-in.
Every time the launcher is executed, it checks a specific directory where Minecraft stores its files called ".minecraft". It checks a file called "launcher_profiles.json" for login credentials. If the file does not exist, is corrupt, or no user is logged in, the user must login with a valid premium account, otherwise the user will be directed to play the Demo version or purchase the game.
When logging in, the launcher will first try to verify the login. If a valid "launcher_profiles.json" file exists but there is no Internet connection, the launcher will offer a "Play offline" mode if a player was logged in when it was last closed. If the connection is successful, the launcher will then, depending on profile options, compare the latest version in the latest "versions" directory to the latest version reported by the server. If the selected version does not exist or the latest installed version is outdated when "Use latest version" is selected in the profile, the launcher will download all Minecraft components and Java binary files. It will also synchronize everything in the "assets" folder (see Resource pack).
Finally, upon a successful update or installation, the launcher will execute the Minecraft jar (via "javaw.exe", Oracle's Java Virtual Machine executable.) It is possible however for there to be missing ".jar" files, in which case the launcher will attempt to replace the missing files automatically but will stop if there is no connection.
Currently, the Minecraft launcher supports 57 languages.
Features
Launcher
Manage multiple profiles (stored in "launcher_profiles.json"). Each profile can control:
Game version. Includes access to outdated development builds and previous releases. Older/custom versions can also be added manually.[1]
Mojang account used to play the game
Command line arguments for Java (such as heap size)
Game directory (where the game files are saved on disk)
Edit profile pictures or custom made ones
The launcher doesn't store the password locally. Instead of this, it uses a 'refresh token'
The launcher supports multiple instances (as the game also does)
Crashes are indexed through a database for information on how to fix the issue
Launcher Settings
Switching accounts or logging off
Changing skins
Downloads servers on versions
Help button
Shows the player the launcher version information when the player clicks the launcher version
Backward compatibility
A profile with Alpha and Beta versions enabled
The Minecraft launcher has the ability to play old Alpha and Beta versions of the game. Currently snapshots, Alpha, Beta, and all release versions are available to play. Four Pre-classic versions, four Classic versions, and one Infdev version are available under the name "old_alpha".[2] No Indev versions are currently available from the launcher.
These versions are very out of date and may be unstable. Any bugs, glitches, missing features, or crashes that result from instability will never be resolved as only later versions are supported. Mojang strongly recommends backing up any save data and playing through a separate directory in the case of corruption.[3]
To enable the old versions, click the "Installations", turn the "Historical Versions", make a new profile, select any of the versions in the "Version" box, then click "Save".
Skins
Skin library
Skin options in the launcher
The player can change or add there custom skin within the Minecraft launcher. To change or add there skin, the player must click the "Skins" button, than click the "Browse" button to navigate through there file system for there skin file. The file must have a resolution of 64×64 in order for the launcher to accept it as a skin file. Additionally, the skin file must be in a .png format. After the player has found the skin file, they must click the "Save" button to confirm there in-game skin.
The player can reset there skin to the Steve or Alex defaults by clicking "Click to reset".
The player can choose between player models - either Classic (Steve) or Slim (Alex).
Installations
When the player opens the launcher for the first time, it creates a profile that selects the latest version of Minecraft - it cannot be removed.
However, the player may create a game profile of their own in the launcher. In order to do so, they must click on the "Installations" button, then click "New..." to create one. After this, the player can name their profile as they want it. If the player leaves it, it will be named "<unnamed installation>". Then, optionally, the player can select a profile picture from the launcher or a custom one. However, it must be a 128×128 .png picture. After, the player can select the version they wish to play, and click "Create" to confirm their profile. If the player wants to edit a profile, they can just click it. The same applies if the player wishes to delete a profile. Simply click the three dots button and press Delete. A popup appears; press Delete.
Installations settings in the launcher
The player can download server versions by clicking "Server".
If the player wants to resize the game, they can turn "Resolution" on to change the game window size.
The player can turn "More options" on to show more profile options.
If the player wants to change the .minecraft file path, they can turn on the "Game directory" option. Now, navigate to the folder where the player wishes to relocate the .minecraft folder. The player can also open the Minecraft profile by clicking the green arrow-shaped "Go to folder" button.
If the player turned "Snapshots" check on, it creates a "Latest snapshot" profile automatically.
The player can also duplicate a profile by clicking the stacked 3 dots button while hovering a profile.
Command Line usage
As of 2.1.1432, the launcher has 9 command-line options available:
--clean - This option deletes the game and runtime folders, including their contents, from the working directory.
--launcherui
--workDir - This option, followed by a path (relative or absolute), will change the location (and/or name) of the .minecraft folder.
--nativeLauncherVersion
--tmpDir - This option, followed by a path (relative or absolute), will change the location (and/or name) of the tmp folder.
--lockDir
--winTen - This option adds support for Windows 10. Since the launcher now supports Windows 10 fully, this option is unnecessary and seems to have no effect.
--proxyHost
--proxyPort
The --workDir option can be used to create a portable installation of the game. For example, --workDir . (or --workDir=.) can be used to make the launcher use the current directory (no matter what the current folder is called).
{{Extension DPL}}<ul><li>[[Flint and Steel|Flint and Steel]]<br/>{{Item
| image = Flint and Steel.png
| rarity = Common
| renewable = Yes
| durability = 64
| stackable = No
}}
'''Flint and steel''' is a [[tool]] used to create [[fire]] or to ignite certain blocks, structures and mobs.
== Obtaining ==
=== Crafting ===
{{Crafting
|head=1
|showname=0
|showdescription=1
|Iron Ingot
|Flint
|Output=Flint and Steel
|type=Tool
}}
{{crafting
|foot=1
|ignoreusage=1
|Damaged Flint and Steel
|Damaged Flint and Steel
|Output= Flint and Steel
|description= The durability of the two tools is added together, plus an extra 5% durability.
|type= Tool
}}
=== Chest loot ===
{{LootChestItem|flint-and-steel}}
== Usage ==
=== Igniting ===
When {{control|use|text=used}} on the space above any solid top surface, on any side of any flammable block or any side of any [[obsidian]] block within a valid unlit [[nether portal]] frame regardless of if there is a solid top surface available, the flint and steel places a [[fire]] there.
Flint and steel can be used to light unlit [[campfire]]s, [[candle]]s and [[cake|cakes with candles]].
Flint and steel can be used to light [[nether portal]]s, as any fire existing within an appropriate [[obsidian]] frame will instantly be replaced with [[Nether Portal (block)|nether portal blocks]] that occupy the entirety of the frame.
Using flint and steel on [[TNT]] ignites it. The explosion damage dealt by TNT ignited with flint and steel in this specific way counts as the player's attack. If the player is {{Control|sneak|text=sneaking}} a fire is instead placed on the side of the TNT the flint and steel was used on.
A flint and steel can be used on a [[creeper]] to force it to explode. Explosions initiated in this way cannot be cancelled.
When powered, a [[dispenser]] containing flint and steel can place fires or ignite relevant blocks such as TNT or campfires in the space directly in front of it. This reduces the flint and steel's durability. A dispenser containing a flint and steel cannot detonate creepers.
=== Enchantments ===
Flint and steel can receive the following [[enchantment]]s:
{|class="wikitable col-2-center col-3-right"
|+
!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
|rowspan=2
|sound=Flint and steel click.ogg
|subtitle=Flint and Steel click
|source=block
|description=When a flint and steel is used to place fire
|id=item.flintandsteel.use|idnote=<ref name=incorrecteventnames group=sound>{{Cite bug|MC|177457|Fire charge and flint and steel sound event names do not follow item IDs|date=April 5, 2020}}</ref>
|translationkey=subtitles.item.flintandsteel.use|translationkeynote=<ref name=incorrecteventnames group=sound/>
|volume=1.0
|pitch=0.8-1.2
|distance=16}}
{{Sound table
|subtitle=Flint and Steel click
|source=hostile
|description=When a flint and steel is used to light a creeper
|id=item.flintandsteel.use|idnote=<ref name=incorrecteventnames group=sound/>
|translationkey=subtitles.item.flintandsteel.use|translationkeynote=<ref name=incorrecteventnames group=sound/>
|volume=1.0
|pitch=0.8-1.2
|distance=16}}
{{Sound table
|sound=Random break.ogg
|subtitle=Item breaks
|source=player
|description=When a flint and steel's durability is exhausted
|id=entity.item.break
|translationkey=subtitles.entity.item.break
|volume=0.8
|pitch=0.8-1.2
|distance=16
|foot=1}}
{{edition|bedrock}};
{{Sound table
|type=bedrock
|sound=Flint and steel click.ogg
|source=block
|description=When a flint and steel is used to place fire
|id=fire.ignite
|volume=1.0
|pitch=0.8-1.2}}
{{Sound table
|sound=Random break.ogg
|source=player
|description=When a flint and steel'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=Flint and Steel
|spritetype=item
|nameid=flint_and_steel
|form=item
|foot=1}}
{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Flint and Steel
|spritetype=item
|nameid=flint_and_steel
|id=299
|form=item
|foot=1}}
== Achievements ==
{{Load achievements|Into the Nether}}
== Advancements ==
{{load advancements|We Need To Go Deeper}}
== Video ==
<div style="text-align:center">{{yt|caz8BBG48VU}}</div>
== History ==
{{more sounds|type=old|There is within the possible realm a different use sound from 2015-era Pocket Edition, can this be uploaded?}}
{{History|java indev}}
{{History||0.31|snap=20100110|[[File:Flint and Steel JE1.png|32px]] Added flint and steel.
|Flint and steel can be used to set [[fire]].}}
{{History|||snap=20100129|[[File:Flint and Steel JE2.png|32px]] The steel part of the texture has been brightened.
|Flint and steel can be used alongside [[lava]] to [[smelting|smelt]] [[ores]] and cook [[food]].<ref>http://www.youtube.com/watch?v=OpmK7rDU5bA</ref>}}
{{History|||snap=20100201-2|Flint and steel can now sometimes be dropped as loot from killing [[mobs]].}}
{{History||20100219|[[File:Flint and Steel JE3 BE1.png|32px]] The texture of flint and steel has been changed, due to its new crafting recipe.
|Flint and steel can no longer drop from mobs.
|Flint and steel can now be crafted from an [[iron ingot]] and the newly added [[flint]].
|[[Furnace]]s have been added to replace the cooking and [[smelting]] function of flint and steel.}}
{{History|java beta}}
{{History||1.7|Flint and steel, along with [[fire]] itself, [[explosion]]s and [[Mechanics/Redstone/Circuit|redstone]] are now the only ways to activate [[TNT]].<ref>{{tweet|jeb_|78154891637436416}}</ref>}}
{{History|java}}
{{History||1.3.1|snap=12w21a|The [[player]] can now [[trading|buy]] 1 flint and steel from farmer [[villager]]s for 3 [[emerald]]s, making flint and steel [[renewable]].}}
{{History||1.4.2|snap=12w38a|The [[sound]] when using flint and steel has been changed.}}
{{History||1.5|snap=13w04a|[[Dispenser]]s are now able to use flint and steel on the [[block]] in front of them.}}
{{History||1.6.1|snap=13w18a|Flint and steel can now be found in the new [[chest]]s in [[nether fortress]]es.}}
{{History|||snap=13w25a|Flint and steel now loses [[durability]] when igniting [[TNT]].}}
{{History||1.7.2|snap=13w36a|Flint and steel now has a shapeless crafting recipe.
{{{!}} class{{=}}"collapsible collapsed" data-description{{=}}"Old recipe"
! Old recipe
{{!}}-
{{!}}
{{Crafting
|A1=Iron Ingot
|B2=Flint
|Output=Flint and Steel
|ignoreusage=1
}}
{{!}}}
|Using flint and steel on a [[creeper]] now causes it to [[explosion|explode]].}}
{{History||1.8|snap=14w02a|[[Villager]]s no longer [[trading|sell]] flint and steel, making it no longer renewable. However, if a villager selling flint and steel already exists in the world, it can be continuously traded with to obtain flint and steel renewably.}}
{{History||1.9|snap=15w43a|The average yield of flint and steel in [[nether fortress]] [[chest]]s has been slightly reduced.}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 259.}}
{{History||1.14|snap=18w43a|[[File:Flint and Steel JE4 BE2.png|32px]] The texture of flint and steel has been changed.}}
{{History||1.16|snap=20w07a|[[Gravel]] now can be given by the [[piglin]]s when [[bartering]], making flint and steel renewable again.}}
{{History|||snap=20w16a|Flint and steel can now be found inside [[ruined portal]] chests.}}
{{History|pocket alpha}}
{{History||v0.4.0|[[File:Flint and Steel JE3 BE1.png|32px]] Added flint and steel.}}
{{History||v0.7.0|Flint and steel can now be used to set [[fire]].}}
{{History||v0.7.4|Using flint and steel on a [[creeper]] now causes it to [[explosion|explode]].}}
{{History||v0.8.0|snap=build 1|Added flint and steel to the [[creative]] [[inventory]].}}
{{History||v0.12.1|snap=build 1|Flint and steel can now be used to activate a [[nether portal]].
|Flint and steel can now be found in [[nether fortress]]es.
|Flint and steel can now be [[enchanted]] in [[anvil]]s.}}
{{History||v0.14.0|snap=build 1|Flint and steel can now be used inside [[dispenser]]s when powered.}}
{{History|bedrock}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Flint and Steel JE4 BE2.png|32px]] The texture of flint and steel has been changed.}}
{{History||1.16.0|snap=beta 1.16.0.51|Flint and steel can now be obtained by [[bartering]] with [[piglin]]s.|Flint and steel can now be enchanted with [[Curse of Vanishing]] through an [[anvil]].}}
{{History|||snap=beta 1.16.0.57|Flint and steel are no longer obtainable from [[bartering]].
|Flint and steel can now be found inside [[ruined portal]] chests.}}
{{History|console}}
{{History||xbox=TU1|xbone=CU1|ps=1.0|wiiu=Patch 1|switch=1.0.1|[[File:Flint and Steel JE3 BE1.png|32px]] Added flint and steel.}}
{{History||xbox=TU3|Flint and steel, along with [[fire]] itself, [[explosion]]s and [[redstone (disambiguation)|redstone]] are now the only ways to activate [[TNT]].}}
{{History||xbox=TU31|xbone=CU19|ps=1.22|wiiu=Patch 3|Flint and steel now makes [[sound]]s when igniting [[block]]s.}}
{{History||xbox=none|xbone=none|ps=1.90|wiiu=none|switch=none|[[File:Flint and Steel JE4 BE2.png|32px]] The texture of flint and steel has been changed.}}
{{History|New 3DS}}
{{History||0.1.0|[[File:Flint and Steel JE3 BE1.png|32px]] Added flint and steel.}}
{{History|foot}}
Historical sounds:
{| class="wikitable"
! Sound
! From
! to
! Pitch
|-
| {{sound||Flint and Steel old.ogg}}
| ?
| ?
| ?
|}
== Issues ==
{{issue list}}
== Trivia ==
* In [[Adventure mode]], flint and steel cannot light fires, nor can it ignite nether portals (unless it has the tag {{cd|CanPlaceOn:obsidian}}). However, it can still ignite TNT and creepers.
* The name "Flint and Steel" may be misleading and is inaccurate considering the game doesn’t have and possibly will have [[Java Edition mentioned features#Steel|steel]] in the game and it's crafted with iron instead. This is similar to the [[Old Growth Taiga|Old Growth Pine Taiga]], as there are no pines in the game and they have [[Spruce|Spruce Trees]] instead.
**In real life, Iron can’t be used as a fire striker, so Mojang had to rename it to Flint and Steel so it makes more sense. This explains why it is called Flint and Steel, but there is no steel in the game.
**Steel was mentioned by Mojang, as a “stronger” iron, but shortly rejected, and there are no currently no plans to add it to the game.
* Flint and steel cannot light end portals.
* Flint and Steel is the first item to mention another item that is not in the game.
*In the April Fools Snapshot, [[Java Edition 23w13a or b]], one of the possible voted was “Flint and Steel can ignite any block”.
==References==
{{Reflist}}
{{Items}}
[[Category:Renewable resources]]
[[cs:Křesadlo]]
[[de:Feuerzeug]]
[[es:Mechero]]
[[fr:Briquet]]
[[hu:Kovakő acéllal]]
[[ja:火打石と打ち金]]
[[ko:부싯돌과 부시]]
[[nl:Vuursteen en staal]]
[[pl:Krzesiwo]]
[[pt:Pederneira]]
[[ru:Огниво]]
[[zh:打火石]]</li><li>[[Beetroot Soup|Beetroot Soup]]<br/>{{for|other uses|Soup}}
{{Item
| title = Beetroot Soup
| image = Beetroot Soup.png
| renewable = Yes
| heals = {{hunger|6}}
| stackable = No
}}
'''Beetroot soup''' is an unstackable [[food]] item.
== Obtaining ==
=== Crafting ===
{{Crafting
|Beetroot
|Beetroot
|Beetroot
|Beetroot
|Beetroot
|Beetroot
|Bowl
|Output=Beetroot Soup
|type=Foodstuff
}}
=== Natural generation ===
{{LootChestItem|beetroot-soup}}
== Usage ==
Beetroot soup can be eaten to restore {{hunger|6}} [[hunger]] points and 7.2 [[Hunger#Mechanics|saturation]], the same as [[cooked chicken]] and [[mushroom stew]]. After eating, the empty [[bowl]] remains, similarly to mushroom stew and [[rabbit stew]].
== Sounds ==
{{Sound table/Entity/Food}}
== Data values ==
=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|showforms=y
|generatetranslationkeys=y
|displayname=Beetroot Soup
|spritetype=item
|nameid=beetroot_soup
|form=item
|foot=1}}
{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Beetroot Soup
|spritetype=item
|nameid=beetroot_soup
|id=286
|form=item
|foot=1}}
== Advancements ==
{{load advancements|Husbandry;A Balanced Diet}}
== History ==
{{History|java}}
{{History||1.9|snap=15w31a|[[File:Beetroot Soup JE1 BE1.png|32px]] Added beetroot soup.}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 436.}}
{{History||1.14|snap=18w43a|[[File:Beetroot Soup JE2 BE2.png|32px]] The texture of beetroot soup has been changed.
|The recipe for beetroot soup is now shapeless.}}
{{History|||snap=18w49a|Beetroot soup can now be found in [[chest]]s in [[snowy tundra]] [[village]] houses.}}
{{History|pocket alpha}}
{{History||November 14, 2013|link={{tweet|jbernhardsson|400902957782147072}}|[[Johan Bernhardsson]] posts an image of beetroot soup.}}
{{History||v0.8.0|snap=build 2|[[File:Beetroot Soup JE1 BE1.png|32px]] Added beetroot soup. It is not obtainable in the Creative inventory.}}
{{History||v0.9.0|snap=build 1|Beetroot soup now requires 6 [[beetroot]]s instead of 4.}}
{{History||v0.12.1|snap=build 12|Beetroot soup now restores {{hunger|6}} instead of {{health|8}}.}}
{{History||v0.13.0|snap=build 3|Beetroot soup can now be stacked.}}
{{history|pocket}}
{{History||1.0.0|snap=alpha 0.17.0.1|Beetroot soup has been added to the Creative inventory.<ref name="missing beetroot soup">{{Bug|MCPE-13804}}</ref>}}
{{History|bedrock}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Beetroot Soup JE2 BE2.png|32px]] The texture of beetroot soup has been changed.
|The recipe for beetroot soup is now shapeless.}}
{{History||1.11.0|snap=beta 1.11.0.1|Beetroot soup can now be found in [[snowy tundra]] [[village]] house [[chest]]s.}}
{{History|console}}
{{History||xbox=TU43|xbone=CU33|ps=1.36|switch=1.0.1|wiiu=Patch 13|[[File:Beetroot Soup JE1 BE1.png|32px]] Added beetroot soup.}}
{{History||xbox=none|xbone=none|ps=1.90|wiiu=none|switch=none|[[File:Beetroot Soup JE2 BE2.png|32px]] The texture of beetroot soup has been changed.
|The recipe for beetroot soup is now shapeless.}}
{{History|new 3ds}}
{{History||0.1.0|[[File:Beetroot Soup JE1 BE1.png|32px]] Added beetroot soup.
|Beetroot soup is not available within the [[Creative inventory]].}}
{{History||?|Added beetroot soup to the Creative inventory.{{info needed|Which update did this occur?}}}}
{{History|foot}}
== Issues ==
{{issue list}}
== References ==
{{reflist}}
{{Items}}
[[Category:Food]]
[[Category:Renewable resources]]
[[de:Borschtsch]]
[[es:Estofado de remolacha]]
[[fr:Soupe de betteraves]]
[[it:Zuppa di barbabietole]]
[[ja:ビートルートスープ]]
[[ko:비트 수프]]
[[nl:Bietensoep]]
[[pl:Barszcz]]
[[pt:Ensopado de beterraba]]
[[ru:Свекольный суп]]
[[th:ซุปบีทรูท]]
[[uk:Борщ]]
[[zh:甜菜汤]]</li></ul>
Initial release. In this version users can choose not only the current version but also Infdev.
The client requires an internet connection on the first run and for updates, but after that the game supports playing offline.
Command line arguments are accepted to launch the game. Using the format java -cp Minecraft.jar net.minecraft.LauncherFrame usernamepassword will allow login without joining a server, while the format java -cp minecraft.jar net.minecraft.LauncherFrame usernamepasswordserveraddress:portnumber allows joining a server.
v1.2.2
{{Extension DPL}}<ul><li>[[End Crystal|End Crystal]]<br/>{{ItemEntity
|image=End Crystal.gif
|imagesize=150px
|invimage=End Crystal
|renewable=Yes
|stackable=Yes (64)
|rarity=Rare
|drops=None
|size=
Height: 2 Blocks<br>Width: 2 Blocks
}}
An '''end crystal''' is an [[entity]] that can be [[Crafting|crafted]] or found on [[the End]]'s main island, where it heals the [[Ender Dragon|ender dragon]]. It can only be placed on [[obsidian]] or [[bedrock]] and [[Explosion|explodes]] instantly when attacked or damaged in most ways.
== Spawning ==
=== Natural generation ===
An end crystal is found atop each [[obsidian pillar]] on the central island of the End, each on top of a piece of [[bedrock]]. There are 10 end crystals in total, of which two are protected in "cages" of [[iron bars]]. All end crystals respawn one after another as the respawning process of the [[ender dragon]] starts.
== Obtaining ==
=== Crafting ===
{{Crafting
|A1=Glass
|B1=Glass
|C1=Glass
|A2=Glass
|B2=Eye of Ender
|C2=Glass
|A3=Glass
|B3=Ghast Tear
|C3=Glass
|Output= End Crystal
|type= Decoration block
}}
== Usage ==
=== Healing the ender dragon ===
Their primary purpose is to recharge the health of the ender dragon, who gains a charge from the nearest crystal within a cuboid extending 32 blocks from the dragon in all directions. The dragon is healed {{hp|1}} each half-second. If multiple ender dragons are spawned, an end crystal can affect multiple dragons at the same time. The healing beam is neither obstructed nor is its power diminished by entities or blocks.
=== Respawning the ender dragon ===
[[File:End Crystals on the Exit portal.png|right|thumb|How to arrange end crystals on the exit portal to respawn the ender dragon.]]
As items, end crystals may be placed on bedrock and [[obsidian]], if the two blocks above the bedrock or obsidian block are air or replaceable blocks and no other entities intersect the area. When an end crystal is placed in [[the End]], a [[fire]] block is created at the end crystal location. If four are placed on the end [[exit portal]], one on each of the flat sides, the crystals respawn the original end crystals on the obsidian pillars, as well as resurrect the dragon itself, before exploding. The top of each pillar also explodes, destroying any player-placed blocks. This happens even if TNT explosions are turned off in settings.
If the exit portal is ever broken for any reason, end crystals can still be placed on obsidian blocks with the same location as the exit portal.
=== Explosions ===
End crystals explode when attacked or damaged in most ways, even by attacks that normally do zero damage. They are not affected by exploding fireworks, and if damaged by an explosion, they disappear instead of exploding.{{Only|Java}}<ref>{{bug|MC-118429||End crystals don't explode when destroyed by nearby explosions}}</ref> The end crystal's [[explosion]] has an [[Explosion#Explosion strength|explosion strength]] of 6, the same as a [[charged creeper]]. The end crystal's fire often remains after the crystal explodes. Any ender dragon charging from the crystal when it is destroyed takes {{hp|10}} damage.
{{IN|java}}, an end crystal's explosion can be [[blocking|blocked]] by a [[shield]].
Although an ender dragon damages most blocks and entities in its path, it cannot destroy end crystals simply by going near them.
Placing [[water]] on the end crystal will neutralize the blast effect, but not the [[damage]] or knockback.
End crystals with obsidian or bedrock below them will not damage blocks below them when they explode.
{{IN|bedrock}}, having the game rule {{cd|mobGriefing}} to {{cd|false}} will prevent the End Crystal from destroying any blocks. While {{in|java}} the same game rule will not prevent the End Crystal from destroying any blocks.
=== Beams ===
The end crystal naturally shoots a beam at the ender dragon and heals it when the dragon is within range. This beam can be manually created using the command {{cmd|data merge entity @e[type{{=}}end_crystal,limit{{=}}1] {BeamTarget:{X:0, Y:0, Z:0<nowiki>}}}}. The beam can be pointed in any direction, allowing it to mark locations or objects.
=== Properties ===
[[File:End Crystal (Slateless).gif|thumb|A base-less end crystal.]]
End crystals are of two kinds: the ones with a base beneath them are created either by game mechanism or by the {{cmd|summon}} command; while the base-less ones are created by players by manually placing the crystal items on top of [[obsidian]] or [[bedrock]].
The base appears to be made of bedrock, with a crystal hovering over it. While in the End, a crystal continually generates fire at its current position, one block above the base (directly on top of the block the base is embedded in), replacing any other block at that location. This fire is capable of spreading.
The end crystal entity is not solid and can be walked through freely. End crystals can be pushed by [[piston]]s, but they explode if moved while on fire. Because fire is checked only when an entity moves, end crystals do not normally take damage from their own fire unless moved.
== Sounds ==
{{edition|java}}:
{{Sound table
|sound=Explosion1.ogg
|sound2=Explosion2.ogg
|sound3=Explosion3.ogg
|sound4=Explosion4.ogg
|subtitle=Explosion
|source=block
|description=When an end crystal explodes
|id=entity.generic.explode
|translationkey=subtitles.entity.generic.explode
|volume=4.0
|pitch=0.56-0.84
|distance=16
|foot=1}}
{{edition|bedrock}}:
{{Sound table
|type=bedrock
|sound=Explosion1.ogg
|sound2=Explosion2.ogg
|sound3=Explosion3.ogg
|sound4=Explosion4.ogg
|source=block
|description=When an end crystal explodes
|id=random.explode
|volume=4.0
|pitch=1.0
|foot=1}}
== Data values ==
=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|firstcolumnname=Item
|showforms=y
|generatetranslationkeys=y
|displayname=End Crystal
|spritetype=item
|nameid=end_crystal
|form=item
|foot=1}}
{{ID table
|edition=java
|firstcolumnname=Entity
|generatetranslationkeys=y
|displayname=End Crystal
|spritetype=entity
|nameid=end_crystal
|foot=1}}
{{edition|bedrock}}:
{{ID table
|edition=bedrock
|firstcolumnname=Item
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=End Crystal
|spritetype=item
|nameid=end_crystal
|id=637
|form=item
|foot=1}}
{{ID table
|edition=bedrock
|firstcolumnname=Entity
|shownumericids=y
|generatetranslationkeys=y
|displayname=End Crystal
|spritetype=entity
|nameid=ender_crystal
|id=71
|foot=1}}
=== Entity data ===
End crystals 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]].
== Achievements ==
{{load achievements|The End... Again...}}
== Advancements ==
{{load advancements|The End... Again...}}
== History ==
[[File:End Crystal 19w38a.gif|thumb|Java Edition 19w38a]]
{{History|java}}
{{History||1.0.0|snap=Beta 1.9 Prerelease 6|[[File:End Crystal JE1 BE1.png|32px]] Added ender crystals.}}
{{History||1.2.1|snap=12w04a|Previously, ender crystals could be spawned using [[spawn egg]]s with ID 200 (in a [[server]], these were created using {{cmd|give 383 1 200}}). The spawned crystal would be positioned where a natural crystal would be if there was a bedrock block at the location. It was still possible until 1.9 to obtain an end crystal spawn egg, but it would not spawn anything.}}
{{History||1.7.2|snap=13w36a|Ender crystals can now be spawned with the {{cmd|summon}} command.}}
{{History||1.8|snap=14w06a|Ender crystals now generate one [[block]] lower. The fire they generate destroys the [[bedrock]] block that is supposed to be underneath (see {{bug|MC-47526}}).}}
{{History||1.9|snap=15w31a|Ender crystals generate at the correct Y-level again.}}
{{History|||snap=15w33c|Respawning the ender dragon now also respawns the ender crystals on the obsidian pillars.
|Ender crystals now have a compound BeamTarget tag that hold the X, Y, Z block location the beam points to.}}
{{History|||snap=15w44a|"Ender crystals" have been renamed to "end crystals".
|[[File:End Crystal (item) JE1 BE1.png|32px]] End crystals can now be obtained as an item.
|End crystals now drop from [[skeleton trap]] horses and can be placed only on [[obsidian]] or bedrock. Placing several of them atop the end exit portal respawns the ender dragon.}}
{{History|||snap=15w44b|End crystals are no longer dropped by [[skeleton horse]]s.
|Added crafting recipe for end crystals, making end crystals [[renewable]].}}
{{History|||snap=15w49a|End crystals now require [[air]]/replaceable [[block]]s and lack of [[entity|entities]] for placement.}}
{{History|||snap=15w51a|End crystals can no longer be placed in [[Adventure mode]].}}
{{History||1.11|snap=16w32a|The entity ID has been changed from <code>EnderCrystal</code> to <code>ender_crystal</code>.}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 426.}}
{{History|||snap=18w20b|Renamed to "End Crystal".}}
{{History|||snap=pre5|Entity ID has been changed to <code>end_crystal</code>.}}
{{History||1.14|snap=18w43a|[[File:End Crystal JE2.png|32px]][[File:End Crystal (item) JE2 BE2.png|32px]] The textures of end crystals and the end crystal [[item]] have been changed.}}
{{History||1.19.3|snap=22w43a|End crystal explosions can now be [[blocking|blocked]] by [[shield]]s.<ref>{{bug|MC-188247|||Fixed}}</ref>}}
{{History|pocket}}
{{History||1.0.0|snap=alpha 0.17.0.1|[[File:End Crystal JE1 BE1.png|32px]][[File:End Crystal (item) JE1 BE1.png|32px]] Added end crystals.}}
{{History|bedrock}}
{{History||1.6.0|snap=?|[[File:End Crystal BE2.png|32px]] [[File:End Crystal BE2.gif|32px]] The model of the end crystals has been changed. It has now two cubes instead of three.}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:End Crystal BE3.png|32px]][[File:End Crystal (item) JE2 BE2.png|32px]] The textures of end crystals and the end crystal item have been changed.}}
{{History||1.17.10|snap=beta 1.17.10.20|[[File:End Crystal JE2.png|32px]] The model of the end crystals has been changed to have three cubes again, and to match ''Java Edition''.}}
{{History||1.19.70|snap=beta 1.19.70.20|Increased end crystal collision box size to match ''Java Edition''.|End crystals with obsidian or bedrock below them now will not damage blocks below them when they explode.}}
{{History|console}}
{{History||xbox=TU9|xbone=CU1|ps=1.0|wiiu=Patch 1|[[File:End Crystal JE1 BE1.png|32px]] Added ender crystals.}}
{{History||xbox=TU31|xbone=CU19|ps=1.22|wiiu=Patch 3|Ender crystals now generate one block lower. The fire they generate destroys the [[bedrock]] block that is supposed to be underneath.}}
{{History||xbox=TU46|xbone=CU36|ps=1.38|wiiu=Patch 15|"Ender crystals" have been renamed to "end crystals".
|[[File:End Crystal (item) JE1 BE1.png|32px]] End crystals can now be obtained as an [[item]].
|End crystals now drop from [[skeleton trap]] horses and can be placed only on [[obsidian]] or bedrock. Placing several of them atop the [[end portal|end exit portal]] respawns the ender dragon.
|Added a crafting recipe for end crystals.}}
{{History||xbox=none|xbone=none|ps=1.90|wiiu=none|switch=none|[[File:End Crystal JE2.png|32px]][[File:End Crystal (item) JE2 BE2.png|32px]] The textures of end crystals and the end crystal item have been changed.}}
{{History|new 3ds}}
{{History||1.7.10|[[File:End Crystal JE1 BE1.png|32px]][[File:End Crystal (item) JE1 BE1.png|32px]] Added end crystals.}}
{{History|foot}}
== Issues ==
{{issue list}}
== Trivia ==
* According to [[Jens Bergensten|Jeb]], the reason behind the current crafting recipe using glass as opposed to [[Chorus Fruit|chorus fruit]] or any materials introduced in [[Java Edition 1.9|1.9]] is as a means for players to craft end crystals in older worlds that the dragon has already been killed in.<ref>{{tweet|jeb_|667000226524372992|The problem is that you need to be able to craft the crystals on worlds in which the dragon has been destroyed already|November 18, 2015}}</ref>
* A historical rendition of the [[beacon]] block featured an animated entity within it, which resembled a yellow miniaturized end crystal. The bedrock platform of the end crystal entity would also render below the beacon, though this would normally be hidden within the block below.
* Using a [[piston]] to push an end crystal's fire into an end portal block deletes the end portal block. However, natural portal blocks regenerate if the end crystal is moved.
== Gallery ==
<gallery>
End Crystal Usage.png|Using end crystals to respawn the ender dragon.
Crystal Link.png|An ender dragon being hit with the "healing beam" of an end crystal.
Ender Crystal.png|An end crystal.
EnderCrystalOverworld.png|An end crystal in the Overworld spawned using {{cmd|summon}} {{code|end_crystal}}.
Ender Dragon Revival.png|End crystals respawning the ender dragon.
CagedEnderCrystal.png|A caged end crystal.
Respawn ender dragon.png|A [[player]] trying to respawn the ender dragon.
End Crystal (item).gif|An animation of the item of the end crystal.
</gallery>
== References ==
{{reflist}}
{{Entities}}
{{Items}}
[[de:Enderkristall]]
[[el:Κρύσταλλος του Ender]]
[[es:Cristal del End]]
[[fr:Cristal de l'End]]
[[ja:エンドクリスタル]]
[[ko:엔드 수정]]
[[nl:Endkristal]]
[[pl:Kryształ Endu]]
[[pt:Cristal do End]]
[[ru:Кристалл Края]]
[[th:คริสตัลเอนด์]]
[[uk:Кристал Енду]]
[[zh:末影水晶]]</li><li>[[Eye of Ender|Eye of Ender]]<br/>{{redirect|Ender Eye|the boss|Ender Dragon}}
{{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></nowiki>
{{Extension DPL}}<ul><li>[[Bleach|Bleach]]<br/>{{education feature}}
{{Item
| image = Bleach.png
| renewable = No
| stackable = Yes (64)
}}
'''Bleach''' is an [[item]] used to [[dye]] things white. It is also known as a [[compound]], as it is made using a [[lab table]].
== Obtaining ==
=== Lab Table ===
Bleach is not obtainable in the creative inventory or {{cmd|give}}. The only way to obtain it is using a lab table.
{| class="wikitable"
! Result
! Materials Needed
|-
!rowspan=2|{{slot|Bleach}}<br>[[Bleach]]
|{{slot|Water (compound)|link=Compound}}{{slot|Water (compound)|link=Compound}}{{slot|Water (compound)|link=Compound}}{{slot|Sodium Hypochlorite|link=Compound}}{{slot|Sodium Hypochlorite|link=Compound}}{{slot|Sodium Hypochlorite|link=Compound}}
|-
|<center>[[Water (compound)|Water]] x3, [[Compound|Sodium Hypochlorite]] x3</center>
|}
== Usage ==
=== Crafting ingredient ===
{{crafting usage}}
== Sounds ==
{{Sound table
|type=bedrock
|sound=Fire.ogg
|source=sound
|description=When bleach is created by a lab table
|id=lt.reaction.fire
|volume=6.0
|pitch=0.7/0.9
|foot=1}}
== Data values ==
=== ID ===
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Bleach
|spritetype=item
|nameid=bleach
|id=596
|form=item
|foot=1}}
== History ==
{{History|bedrock}}
{{History||1.4.0|snap=beta 1.2.20.1|[[File:Bleach BE1.png|32px]] Added bleach.}}
{{History|education}}
{{History||1.0.27|[[File:Bleach BE1.png|32px]] Added bleach.}}
{{History|foot}}
== Trivia ==
*[[File:Bleach (compound).png|32px]] There is an [[History of textures/Unused textures#Unused compounds|unused bleach texture]] in the compounds folder of the chemistry resource pack, which is slightly different from the one used in the game.
== Issues ==
{{issue list}}
{{Items}}
{{Education Edition}}
[[Category:Dyes]]
[[Category:Non-renewable resources]]
[[Category:Education Edition items]]
[[de:Bleichmittel]]
[[es:Lejía]]
[[ja:漂白剤]]
[[ko:표백제]]
[[pl:Wybielacz]]
[[pt:Alvejante]]
[[zh:漂白剂]]
[[lzh:素精]]</li><li>[[:Category:Combat|Category:Combat]]<br/>[[Category:Items]]
[[fr:Catégorie:Combat]]
[[zh:Category:武器]]</li></ul>
Released in February 21, 2011.[4] A technical sneak preview was published by Notch on February 18, 2011.[5]
Added capability of automatic login to the game and/or server by command line arguments.
Added smarter update system that only updates changed files, prompts the user to update, allows HTTPS logins for a more secure connection, and offers general UI improvements.
Link to the Minecraft install directory for easy access.
Add Force Update button under the Options dialog.
The launcher also featured an inline "changelog" via a Tumblr called MCUpdate, and supports command-line arguments.[6]
Added the new Minecraft logo.
Added official links, community links and Mojang on Twitter links.
{{Extension DPL}}<ul><li>[[Compass|Compass]]<br/>{{About|the item used to point to the world spawn or to a lodestone|the item used to point to the location of the player's last death|Recovery Compass}}
{{Item
| image = Compass.gif
| image2 = Lodestone Compass.gif
| renewable = Yes
| stackable = '''Compass:''' Yes (64)<br>'''Lodestone Compass:''' No
}}
A '''compass''' is an item used to point to the world spawn or to a [[lodestone]].
== Obtaining ==
=== Crafting ===
{{Crafting
|B1= Iron Ingot
|A2= Iron Ingot |B2= Redstone Dust |C2= Iron Ingot
|B3= Iron Ingot
|Output= Compass
|type= Tool
}}
=== Chest loot ===
{{LootChestItem|compass}}
=== Trading ===
{{IN|java}}, expert-level librarian [[villager]]s have a 50% chance to sell a single compass for 4 [[emerald]]s.
{{IN|bedrock}}, expert-level librarian villagers have a {{frac|1|3}} chance to sell a single compass for 4 emeralds.
== Usage ==
Normally, the compass' needle points toward the world [[Spawn#World spawn|spawn point]]. The compass points to spawn when viewed in any way, including as a dropped [[Item (entity)|item]], in a player's hand, in an inventory or the crafting table, or in an [[item frame]]. The direction the needle points to is relative to the player who is viewing it.
In [[the Nether]] or [[the End]], the compass' needle spins and points in random directions.
The compass can be used on a [[lodestone]], after which it is named lodestone compass by default and points to that lodestone as long as the compass is in the same dimension as the lodestone, but if the compass is taken to a different dimension, it spins randomly, as a normal compass would in the Nether or the End. If the lodestone is destroyed, it also spins randomly, even if the lodestone is replaced afterward. However, if a lodestone compass is placed in storage, the lodestone can be broken and replaced without the compass losing the attunement, as long as the compass remains in storage while the lodestone is missing.
A lodestone compass appears [[enchanting|enchanted]], similar to the [[Enchanted Golden Apple|enchanted golden apple]].
Using {{cmd|setworldspawn}} to change the world spawn also changes where the compass points.
=== Crafting ingredient ===
{{crafting usage|Compass, Compass.gif}}
=== Anvil usage ===
{{:Map/BE|position}}
=== Trading ===
A single compass can be sold to a journeyman-level cartographer villager for 1 [[emerald]].{{only|java}}
A single compass can be sold to an expert-level cartographer villager for 1 emerald as their sixth trade.{{only|bedrock}}
A compass is also part of the cost of [[explorer map]]s:
* An ocean explorer map and{{only|java|short=1}}/or{{only|bedrock|short=1}} a woodland explorer map can be bought from a journeyman-level cartographer for 12 emeralds and one compass, as part of their fifth trade.{{only|bedrock}}
* {{IN|java}}, apprentice-level cartographer villagers offer to sell an ocean explorer map for 13 emeralds and a compass, and journeyman-level cartographer villagers offer to sell a woodland explorer map for 14 emeralds and one compass.
=== Enchantments ===
A compass can receive the following [[enchantment]]s:
{|class="wikitable col-2-center col-3-right"
|+
!Name
!Max Level
![[Enchanting|Method]]
|-
|[[Curse of Vanishing]]
|I
|{{Inventory slot|Anvil}}
|-
|}
== Sounds ==
{{edition|java}}:
{{Sound table
|sound=Lodestone lock1.ogg
|sound2=Lodestone lock2.ogg
|source=player
|subtitle=Lodestone Compass locks onto Lodestone
|description=When a compass is used on a lodestone
|id=item.lodestone_compass.lock
|translationkey=subtitles.item.lodestone_compass.lock
|volume=1.0
|pitch=''varies'' <ref group=sound>Can be 0.85 or 0.95 for each sound</ref>
|distance=16
|foot=1}}
{{edition|bedrock}}:
{{Sound table
|type=bedrock
|sound=Lodestone lock1.ogg
|sound2=Lodestone lock2.ogg
|source=block
|description=When a compass is used on a lodestone
|id=lodestone_compass.link_compass_to_lodestone
|volume=1.0
|pitch=0.85-0.95
|foot=1}}
== Data values ==
=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|showforms=y
|generatetranslationkeys=y
|displayname=Compass
|spritetype=item
|nameid=compass
|form=item
|translationkey=item.minecraft.compass,item.minecraft.lodestone_compass
|foot=1}}
{{edition|bedrock}}:
{{ID table
|edition=bedrock
|showaliasids=y
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Compass
|spritetype=item
|nameid=compass
|id=391
|form=item}}
{{ID table
|displayname=Lodestone Compass
|spritename=lodestone-compass-be
|spritetype=item
|nameid=lodestone_compass
|aliasid=lodestonecompass
|id=602
|form=item
|translationkey=item.lodestonecompass.name
|foot=1}}
=== Item data ===
{{el|java}}:
{{main|Player.dat format}}
<div class="treeview">
* {{nbt|compound|tag}}: The item's '''tag''' tag.
{{:Player.dat_format/Compasses}}
</div>
{{el|bedrock}}:
: See [[Bedrock Edition level format/Item format]].
== Advancements ==
{{load advancements|Country Lode}}
== History ==
{{History|java alpha}}
{{History||v1.1.0|[[File:Compass JE1.gif|32px]] Added compasses.
|They have 102 visually distinct frames due to how the texture is generated - see the section below.}}
{{History|java beta}}
{{History||1.8|snap=Pre-release|Compasses can now be found in library [[chest]]s in the new [[strongholds]].}}
{{History|java}}
{{History||1.3.1|snap=12w21a|Librarian [[villager]]s now [[trading|sell]] 1 compass for 10–11 [[emerald]]s, making them [[renewable]].}}
{{History||1.4.2|snap=12w34a|Since the mapping system has been changed, a compass can now be used to [[crafting|craft]] an empty [[map]].}}
{{History||1.5|snap=13w02a|[[File:Compass JE2 BE2.gif|32px]] Compasses now, instead of splitting two textures, use the new animation feature included in texture packs. As a result, they are considerably less precise, having only 29 visually distinct frames. }}
{{History||1.8|snap=14w02a|Librarian villagers now sell 1 compass for 10–12 emeralds.}}
{{History||1.9|snap=15w31a|Compasses are now broken up into individual textures, instead of having every individual frame on one vertical strip like with animated textures.}}
{{History|||snap=15w43a|The average yield of compasses in [[stronghold]] library [[chest]]s has been increased.}}
{{History||1.11|snap=16w39a|Cartographer [[villager]]s have been added, who [[trading|buy]] compasses as their tier 2 trade.}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 345.}}
{{History|||snap=18w11a|Compasses can now generate in [[shipwreck]] [[chest]]s.}}
{{History||1.14|snap=18w48a|Compasses can now generate in chests in [[village]] cartographer houses.}}
{{History||1.16|snap=20w13a|[[File:Lodestone Compass JE1.gif|32px]] Compasses can now be used on [[lodestone]]s to make them point to the stones.
|Compasses now point to the center of the spawn point block, instead of its north-west corner.}}
{{History|||snap=20w14a|Compasses now have the <code>LodestonePos</code>, <code>LodestoneDimension</code>, and <code>LodestoneTracked</code> data fields. If <code>LodestoneTracked</code> is zero, the game skips checking for a lodestone in the specified position.
|Compasses can now have the [[Curse of Vanishing]] [[enchantment]] on them.}}
{{History|||snap=20w19a|Compasses no longer work in the [[recipe book]].<ref>{{bug|MC-116293}}</ref>}}
{{History|||snap=20w22a|Compasses no longer work in the villager trading GUI.<ref>{{bug|MC-182888}}</ref>}}
{{History||1.17|snap=20w48a|[[File:Compass JE3.gif|32px]] [[File:Lodestone Compass JE2.gif|32px]] The textures of compass and lodestone compass have been changed.}}
{{History||1.19|snap=22w13a|Compasses may now be found in [[ancient city]] [[chest]]s.}}
{{History|||snap=22w14a|Compasses can now used to craft [[recovery compass]]es.}}
{{History|pocket alpha}}
{{History||v0.2.0|[[File:Compass BE1.png|32px]] Added compasses.
|Compasses currently have no function or legitimate method of obtaining them.}}
{{History||v0.8.0|snap=build 1|[[File:Compass JE2 BE2.gif|32px]] Added animated texture to compasses.
|Compasses are now functional and [[crafting|craftable]]. They have been added into the Creative Inventory.}}
{{History||v0.14.0|snap=build 1|Compasses must now be added to a [[map]] using an [[anvil]] to add the location marker.}}
{{History|pocket}}
{{History||1.0.0|snap=?|[[Windows 10 Edition]] can now use the [[anvil]], as well as the [[crafting table]], to apply position markers, with compasses just as [[Pocket Edition]] can in general.}}
{{History||1.0.4|snap=alpha 1.0.4.0|Librarian [[villager]]s now [[trading|sell]] 1 compass for 10–12 [[emerald]]s.}}
{{History||1.1.0|snap=alpha 1.1.0.3|Cartographer villagers have been added, who [[trading|buy]] compasses as part of their tier 2 trade.
|Compasses used with emeralds can be used to buy explorer maps as part of cartographer villagers' fourth tiers trade.}}
{{History|bedrock}}
{{History||1.4.0|snap=beta 1.2.14.2|Compasses can now be found inside map room [[chest]]s in [[shipwreck]]s.}}
{{History||1.10.0|snap=beta 1.10.0.3|Compasses can now be found in [[village]] cartographer house chests.}}
{{History||1.11.0|snap=beta 1.11.0.4|[[Trading]] has been changed, cartographer [[villager]]s now [[trading|buy]] compassess as part of their fourth tier trades.
|Compasses used with [[emerald]]s can now be used to buy explorer maps as part of cartographer and fletcher villagers' third tier trades.
|Librarian villagers now have a {{frac|1|3}} chance to [[trading|sell]] compasses for 4 emeralds as part of their fourth tier trades.}}
{{History||1.16.0|snap=beta 1.16.0.57|[[File:Lodestone Compass BE1.gif|32px]] Compasses can now be used on [[lodestone]]s to make them point to the stones.
|Compasses now have the <code>LodestonePos</code>, <code>LodestoneDimension</code>, and <code>LodestoneTracked</code> data fields. If <code>LodestoneTracked</code> is zero, the game skips checking for a lodestone in the specified position.
|Compasses can now have the [[Curse of Vanishing]] [[enchantment]] on them.}}
{{History||1.16.100|snap=beta 1.16.100.56|Changed the ID {{code|lodestonecompass}} to {{code|lodestone_compass}}.}}
{{History||1.17.0|snap=beta 1.17.0.54|[[File:Compass JE3.gif|32px]] The texture of compass has been changed.}}
{{History||1.18.10|snap=beta 1.18.10.20|[[File:Lodestone Compass JE2.gif|32px]] The texture of lodestone compass has been changed.}}
{{History|console}}
{{History||xbox=TU1|xbone=CU1|ps=1.0|wiiu=Patch 1|switch=1.0.1|[[File:Compass JE2 BE2.gif|32px]] Added compasses.}}
{{History|New Nintendo 3DS Edition}}
{{History||0.1.0|[[File:Compass JE2 BE2.gif|32px]] Added compasses.}}
{{History|foot}}
=== Texture generation prior to Java Edition 13w02a ===
{{:Procedural animated texture generation/Compasses}}
== Issues ==
{{issue list}}
== Gallery ==
<gallery>
12w21a CompassPurchase.png|Purchasing a compass from a librarian [[villager]].
</gallery>
== See also ==
*[[Clock]]
*[[Tutorials/Navigation|Navigation]]
== External Links ==
*[https://www.minecraft.net/en-us/article/taking-inventory--compass Taking Inventory: Compass] – Minecraft.net on August 15, 2019
{{Items}}
[[Category:Tools]]
[[Category:Renewable resources]]
[[cs:Kompas]]
[[de:Kompass]]
[[es:Brújula]]
[[fr:Boussole]]
[[hu:Iránytű]]
[[it:Bussola]]
[[ja:コンパス]]
[[ko:나침반]]
[[nl:Kompas]]
[[pl:Kompas]]
[[pt:Bússola]]
[[ru:Компас]]
[[uk:Компас]]
[[zh:指南针]]</li><li>[[Cooked Mutton|Cooked Mutton]]<br/>{{Item
| title = Cooked Mutton
| heals = {{hunger|6}}
| renewable = Yes
| stackable = Yes (64)
| rarity = Common}}
{{redirect|Mutton|the raw version|Raw Mutton}}
'''Cooked mutton''' is a [[food]] item obtained from cooking [[raw mutton]].
== Obtaining ==
=== Mob loot ===
==== Sheep ====
Adult [[sheep]] drop 1–2 cooked mutton if killed while on fire. The maximum amount is increased by 1 per level of [[looting]], for a maximum of 1-5 with Looting III.
=== Cooking ===
Cooked mutton can be obtained by cooking raw mutton in a [[furnace]], [[smoker]], or [[campfire]].
{{Smelting
|showname=1
|Raw Mutton
|Cooked Mutton
|0,35
}}
=== Trading ===
{{IN|bedrock}}, apprentice-level butcher [[villager]]s have a 25% chance to sell 4 cooked mutton for one [[emerald]] as part of their trades.
{{IN|java}}, butcher villagers may give the players with the [[Hero of the Village]] effect cooked mutton.
== Usage ==
=== Food ===
To eat cooked mutton, press and hold {{control|use}} while it is selected in the hotbar. Eating one restores {{hunger|6}} [[hunger]] and 9.6 [[Hunger#Mechanics|saturation]], the same as [[cooked salmon]].
=== Wolves ===
Cooked mutton 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.
==Sounds==
{{Sound table/Entity/Food}}
== Data values ==
=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|showforms=y
|generatetranslationkeys=y
|displayname=Cooked Mutton
|spritetype=item
|nameid=cooked_mutton
|form=item
|foot=1}}
{{edition|bedrock}}:
{{ID table
|edition=bedrock
|showaliasids=y
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Cooked Mutton
|spritetype=item
|nameid=cooked_mutton
|aliasid=muttoncooked
|id=551
|form=item
|translationkey=item.muttonCooked.name
|foot=1}}
== Advancements ==
{{load advancements|Husbandry;A Balanced Diet}}
== Video ==
<div style="text-align:center">{{yt|PXlW-sZygTs}}</div>
== History ==
{{History|java}}
{{History||1.8|snap=June 30, 2014|slink=https://twitter.com/TheMogMiner/status/483636993780232192|[[Ryan Holtz]] tweeted images of cooked mutton and some other new [[item]]s.}}
{{History|||snap=14w27a|[[File:Cooked Mutton JE1.png|32px]] Added cooked mutton.}}
{{History|||snap=14w33b|[[File:Cooked Mutton JE2 BE1.png|32px]] The texture of raw mutton has been changed. The new texture was created by [[wikipedia:Reddit|Reddit]] user [http://www.reddit.com/u/zeldahuman zeldahuman].<ref>{{reddit|2bjzes/a_reminder_of_the_blocks_and_items_added_in_18_so|cj69zie|context=3}}</ref>}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 424.}}
{{History||1.14|snap=18w43a|[[File:Cooked Mutton JE3 BE2.png|32px]] The texture of cooked mutton has been changed.}}
{{History|||snap=19w13a|Butcher villagers now give cooked mutton to players under the [[Hero of the Village]] effect.}}
{{History|pocket alpha}}
{{History||v0.15.0|snap=build 1|[[File:Cooked Mutton JE2 BE1.png|32px]] Added cooked mutton.}}
{{History|bedrock}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Cooked Mutton JE3 BE2.png|32px]] The texture of cooked mutton has been changed.}}
{{History||1.11.0|snap=beta 1.11.0.4|Cooked mutton can now be [[trading|bought]] from butcher [[villager]]s.}}
{{History||1.16.100|snap=beta 1.16.100.56|The ID of cooked mutton has been changed from <code>muttoncooked</code> to <code>cooked_mutton</code>.}}
{{History|console}}
{{History||xbox=TU31|xbone=CU19|ps=1.22|wiiu=Patch 3|[[File:Cooked Mutton JE2 BE1.png|32px]] Added cooked mutton.}}
{{History|PS4}}
{{History||1.90|[[File:Cooked Mutton JE3 BE2.png|32px]] The texture of cooked mutton has been changed.}}
{{History|3ds}}
{{History||0.1.0|[[File:Cooked Mutton JE2 BE1.png|32px]] Added cooked mutton.}}
{{History|foot}}
== Issues ==
{{issue list}}
== Gallery ==
<gallery>
File:Rabbit Items 3 Ryan Holtz.png|First image of the item by [[Ryan Holtz]].
</gallery>
== References ==
{{reflist}}
{{items}}
[[Category:Food]]
[[Category:Renewable resources]]
[[de:Gebratenes Hammelfleisch]]
[[es:Cordero asado]]
[[fr:Mouton cuit]]
[[it:Carne ovina cotta]]
[[ja:焼き羊肉]]
[[ko:익힌 양고기]]
[[nl:Gebraden schapenvlees]]
[[pl:Pieczona baranina]]
[[pt:Carneiro assado]]
[[ru:Жареная баранина]]
[[zh:熟羊肉]]</li></ul>
Properly selects 64-bit Java installations for macOS users.[7]
{{Extension DPL}}<ul><li>[[Snowball|Snowball]]<br/>{{about|the throwable item|the enchantment in ''Minecraft Dungeons''|MCD:Snowball}}
{{ItemEntity
|image=Snowball.png
|renewable=Yes
|stackable=Yes (16)<br>
Yes (64){{upcoming|java Combat Tests}}
|size=Height: 0.25 Blocks<br>Width: 0.25 Blocks
}}
'''Snowballs''' are throwable combat items that hit but do not damage most [[Mob|mobs]] on impact.
== Obtaining ==
{{see also|Tutorials/Snow farming}}
=== Mining ===
A [[shovel]] without the [[Silk Touch]] enchantment can get 4 snowballs by breaking a [[snow block]], and 1–8 snowballs by breaking or blasting [[snow layer]]s – one per layer. The [[Fortune]] enchantment does not affect these amounts.
{{IN|bedrock}}, snowballs are dropped from snow layers even when mined with a Silk Touch shovel.<ref>{{bug|MCPE-59729||Snow layers don't drop themselves when mined with a silk touch enchanted shovel}}</ref>
==== Explosions ====
Creeper and TNT [[explosion]]s leave snowballs in the resulting debris field if near snow.
==== Ravagers ====
{{IN|BE}}, Ravagers destroy snow layers, dropping snowballs.
==== Pistons ====
{{IN|BE}}, a block or piston head pushed into the position of snow layers destroys the snow layers, dropping snowballs. 1-3 layers drops 1 snowball, 4-5 layers drops 2 snowballs, 6-7 layers drops 3 snowballs and 8 layers drops 4 snowballs.
=== Mob loot ===
[[Snow golem]]s drop 0–15 snowballs upon death, unaffected by [[Looting]].
=== Chest loot ===
{{LootChestItem|snowball}}
== Usage ==
=== Crafting ingredient ===
{{crafting usage}}
=== Combat ===
[[File:Throwing a snowball on a pig.gif|300px|thumbnail|right|Throwing a snowball on a pig animation.]]
Snowballs can be thrown by {{control|using}} them. There is no charging time or cooldown for firing them,{{Until|java Combat Tests}} meaning they can be thrown as fast as the player can click.
Like other projectiles, snowballs are affected by gravity: their range is the same as those of [[egg]]s and [[ender pearl]]s, less than that of [[arrow]]s fired from [[bow]]s, and more than that of [[splash potion]]s. In [[Bedrock Edition]], players will receive damage and will be knockbacked.
Snowballs deal {{hp|3}} each to [[blaze]]s but they deal no damage to other mobs. Mobs still receive knockback and act the same as if they were being damaged (for example, [[zombified piglin]]s who are hit by snowballs become aggressive). Players {{in|BE}} receive knockback, while players {{in|JE}} are unaffected.<ref>{{bug|MC-3179|||WAI}}</ref>{{Until|java Combat Tests}}
When fighting the [[ender dragon]], [[end crystal]]s are able to be destroyed by snowballs being thrown at them.
Snowball, like other projectiles, can be used to distract the [[warden]]. A warden walks towards the location where the snowball lands to inspect it, giving the player time to escape. However, if snowballs are fired too frequently (at least twice in 5 seconds), the warden walks straight to the player instead.
In the new versions they can hit players but just only in bedrock
=== Dispenser ===
Snowballs can be fired from [[dispenser]]s.
== Sounds ==
{{Edition|Java}}:<br>
Thrown snowballs use the Friendly Creatures sound category for entity-dependent sound events.
{{Sound table
|rowspan=3
|sound=Bow shoot.ogg
|subtitle=Snowball flies
|source=neutral
|description=When a player throws a snowball
|id=entity.snowball.throw
|translationkey=subtitles.entity.snowball.throw
|volume=0.5
|pitch={{frac|1|3}}-0.5
|distance=16}}
{{Sound table
|subtitle=Snowball flies
|source=neutral
|description=When a snow golem shoots a snowball
|id=entity.snow_golem.shoot
|translationkey=subtitles.entity.snowball.throw
|volume=1.0
|pitch={{frac|1|3}}-0.5
|distance=16}}
{{Sound table
|subtitle=Dispensed item
|source=block
|description=When a dispenser shoots a snowball
|id=block.dispenser.launch
|translationkey=subtitles.block.dispenser.dispense
|volume=1.0
|pitch=1.2
|distance=16
|foot=1}}
{{Edition|Bedrock}}:
{{Sound table
|type=bedrock
|rowspan=3
|sound=Bow shoot.ogg
|source=player
|description=When a player throws a snowball
|id=random.bow
|volume=0.5
|pitch=0.33-0.5}}
{{Sound table
|source=neutral
|description=When a snow golem shoots a snowball
|id=mob.snowgolem.shoot
|volume=1.0
|pitch=0.8-1.2}}
{{Sound table
|source=player
|description=When a dispenser shoots a snowball
|id=random.bow
|volume=1.0
|pitch=0.83-1.25
|foot=1}}
== Data values ==
=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|firstcolumnname=Item
|showforms=y
|generatetranslationkeys=y
|displayname=Snowball
|spritetype=item
|nameid=snowball
|form=item
|foot=1}}
{{ID table
|edition=java
|firstcolumnname=Entity
|showentitytags=y
|generatetranslationkeys=y
|displayname=Snowball
|spritetype=entity
|nameid=snowball
|entitytags=impact_projectiles
|foot=1}}
{{edition|bedrock}}:
{{ID table
|edition=bedrock
|firstcolumnname=Item
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Snowball
|spritetype=item
|nameid=snowball
|id=374
|form=item
|foot=1}}
{{ID table
|edition=bedrock
|firstcolumnname=Entity
|shownumericids=y
|generatetranslationkeys=y
|displayname=Snowball
|spritetype=entity
|nameid=snowball
|id=81
|foot=1}}
=== Entity Data ===
Snowballs 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|Bullseye}}
== Video ==
<div style="text-align:center">{{yt|2E-c9P8kyfg}}</div>
==History==
{{History|java alpha}}
{{History||v1.0.5|[[File:Snowball JE1 BE1.png|32px]] Added snowballs.
|Snowballs are used to craft [[snow block]]s.
|Snowballs could stack up to 64.}}
{{History||v1.0.5_01|Snowballs now stack to 8.
|Added a new snowball [[sound]] effect.
|Harvesting snowballs now requires a [[shovel]].}}
{{History||v1.0.6|Snowballs now stack up to 16.
|Thrown snowballs no longer disappear.}}
{{History||v1.1.1|It is no longer possible to obtain more than four snowballs from a solid [[snow block]] (the [[player]] was previously able to obtain 4-6 snowballs per snow block allowing an infinite number of snowballs to be made).}}
{{History||v1.2.0|snap=preview|[[Fireball]]s use the same texture as the snowball.}}
{{History|java beta}}
{{History||1.2|Snowballs can now be fired by [[dispenser]]s.}}
{{History|java}}
{{History||1.0.0|snap=Beta 1.9 Prerelease|[[Fireball]]s no longer use the snowball texture.}}
{{History|||snap=RC1|Snowball throwing sound was changed.}}
{{History||1.9|snap=15w32a|Snowballs no longer damage the [[ender dragon]].}}
{{History|||snap=15w36b|Snowballs now produce particles when thrown at an entity.}}
{{History|||snap=15w49a|Snowballs, as well as all projectiles, now take the thrower's motion into account when fired.}}
{{History||1.11|snap=16w32a|The entity ID has been changed from <code>Snowball</code> to <code>snowball</code>.}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 332.}}
{{History||1.14|snap=18w43a|[[File:Snowball JE2 BE2.png|32px]] The texture of snowballs has been changed.}}
{{History|||snap=18w49a|Snowballs can now be found in [[chest]]s in [[snowy tundra]] [[village]] houses.}}
{{History|||snap=19w08a|[[File:Snowball JE3 BE3.png|32px]] The texture of snowballs has been changed, once again.}}
{{History||1.16.2|snap=Pre-Release 1|Snowballs are now affected by [[bubble column]]s.}}
{{History||1.19|snap=Deep Dark Experimental Snapshot 1|Snowballs now generate in [[ancient city]] chests.}}
{{History|upcoming java}}
{{History||Combat Tests|snap=Combat Test 4|Snowballs now stack to 64, once again.
|Snowballs now have 4-tick cooldown and are not rendered for the first 2 ticks to prevent screen flickering.}}
{{History|pocket alpha}}
{{History||v0.2.0|[[File:Snowball JE1 BE1.png|32px]] Added snowballs. They are currently unobtainable and serve no purpose.}}
{{History||v0.3.0|Snowballs now drop as an item when mining [[snow block]]s and [[snow layer]]s.
|Snowballs can be used to craft [[snow block]]s.}}
{{History||v0.4.0|Snowballs can now be thrown.}}
{{History||v0.11.0|snap=build 14|Snowballs are now available in the [[creative]] inventory.}}
{{History||v0.12.0|Snowballs now deal [[damage]] to [[blaze]]s.}}
{{History||v0.12.1|snap=build 1|Added [[snow golem]]s, which [[drops|drop]] snowballs.}}
{{History|bedrock}}
{{History||1.2.0|Snowballs now deal knockback to [[player]]s.}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Snowball JE2 BE2.png|32px]] The texture of snowballs has been changed.}}
{{History||1.11.0|snap=beta 1.11.0.1|Snowballs can now be found in some [[snowy tundra]] [[village]] house [[chest]]s.}}
{{History|||snap=beta 1.11.0.5|[[File:Snowball JE3 BE3.png|32px]] The texture of snowballs has been changed, once again.}}
{{History|console}}
{{History||xbox=TU1|xbone=CU1|ps=1.0|switch=1.0.1|wiiu=Patch 1|[[File:Snowball JE1 BE1.png|32px]] Added snowballs.}}
{{History||xbox=none|xbone=none|ps=1.90|switch=none|wiiu=none|[[File:Snowball JE3 BE3.png|32px]] The texture of snowballs has been changed.}}
{{History|3DS}}
{{History||0.1.0|[[File:Snowball JE1 BE1.png|32px]] Added snowballs.}}
{{History|foot}}
== Issues ==
{{issue list}}
== Trivia ==
* A thrown snowball faces the player in the first-person view, while it appears horizontally rotated in third-person view. This is the case for all throwable items ([[ender pearl]]s, [[egg]]s, snowballs, and all throwable [[potion]]s).
== References ==
{{reflist}}
== External Links ==
*[https://www.minecraft.net/en-us/article/taking-inventory--snowball Taking Inventory: Snowball] – Minecraft.net on August 3, 2019
{{Items}}
{{entities}}
[[Category:Combat]]
[[cs:Sněhová koule]]
[[de:Schneeball]]
[[es:Bola de nieve]]
[[fr:Boule de neige]]
[[hu:Hógolyó]]
[[ja:雪玉]]
[[ko:눈덩이]]
[[nl:Sneeuwbal]]
[[pl:Śnieżka]]
[[pt:Bola de neve]]
[[ru:Снежок]]
[[th:บอลหิมะ]]
[[uk:Сніжок]]
[[zh:雪球]]</li><li>[[Cocoa Beans|Cocoa Beans]]<br/>{{Block
|image=<gallery>
Cocoa Age 0.png|Age 0 JE
Cocoa Age 1.png|Age 1 JE
Cocoa Age 2.png|Age 2 JE
</gallery>
|image2=<gallery>
Cocoa Age 0 BE.png|Age 0 BE
Cocoa Age 1 BE.png|Age 1 BE
Cocoa Age 2 BE.png|Age 2 BE
</gallery>
|transparent=Yes
|light=No
|tool=axe
|renewable=Yes
|stackable=Yes (64)
|flammable=No
|lavasusceptible=No
}} '''Cocoa beans''' are items obtained from cocoa pods and are used to plant them, as well as to craft [[dye|brown dye]] and [[cookie|cookies]].
'''Cocoa pods''' are [[Bone Meal|bonemealable]] [[plant]]s placed on [[Log|jungle log]] sides that grow cocoa beans, and can be found naturally in [[Jungle|jungles]].
==Obtaining==
In ''Java Edition'', cocoa beans are only obtained through the natural generation of cocoa pods, while in ''Bedrock Edition'', they can also be gotten in bonus chests, from [[fishing]] inside the jungle, bamboo jungle and sparse jungle biomes and during a [[trading]] with a wandering trader.
Cocoa beans come from cocoa pods, which are found on the trunks of normal-sized naturally-generated [[jungle tree]]s in [[jungle]], [[bamboo jungle]]s and [[sparse jungle]] temperate [[biome]]s.
Cocoa pods can be mined with any item, but [[axe]]s are the quickest. Fully grown cocoa pods drop 3 cocoa beans. Using a tool enchanted with Fortune does not increase the amount of cocoa beans dropped.
{{breaking row|horizontal=1|Cocoa|Axe|sword=1|link=none}}
The block itself can be obtained by inventory editing or [[add-on]]s {{in|bedrock}}.
From one to two cocoa beans can be found in 40% of bonus [[chest]]s {{in|bedrock}}.
{{LootChestItem|cocoa-beans}}
Cocoa beans can be obtained from [[fishing]] in a jungle {{in|bedrock}}.
[[Wandering trader]]s may sell 3 cocoa beans for an [[emerald]] during a [[trading]] {{in|bedrock}}.
==Usage==
===Farming===
{{main|Tutorials/Cocoa bean farming}}
Placing cocoa beans on the side of a jungle [[log]] plants a new cocoa pod. The log does not need to be attached to a tree. A cocoa pod can be placed on jungle logs, jungle [[wood]], stripped jungle logs and stripped jungle wood.
[[File:Cocoaplant farm.png|thumb|left|A somewhat efficient cocoa pod farm, minimizing space and wood use.]]
Cocoa has three stages of growth. During its first stage, the pod is small and green. In the second stage, the plant is bigger and colored tan. In its last stage, the pod is even larger and orange. The cocoa block has a 20% chance to grow a stage when receiving a [[Tick#Random tick|random tick]], giving it an average time of 5 minutes and 41 seconds per stage. When destroyed in the first two stages, the pod yields only one cocoa bean. When destroyed in the third stage, it gives 3 cocoa beans. [[Bone meal]] can be used to force the cocoa pod forward by one growth stage. Cocoa pods burst and drop their beans when struck by flowing water, pushed by a piston or if their [[log]] or wood are removed by any means.
===Composting===
Placing cocoa beans into a [[composter]] has a 65% chance of raising the compost level by 1. {{IN|bedrock}}, cocoa beans are accepted as a direct substitute of brown dye in many recipes.
===Crafting ingredient===
{{crafting usage}}
{{Dye usage}}
{{IN|bedrock}}, cocoa beans can be also used in banner patterns:
{{banner crafting usage}}
{{Banner loom usage|Cocoa Beans}}
==Sounds==
{{Sound table/Block/Wood}}
==Data values==
===ID===
{{edition|java}}:
{{ID table
|edition=java
|showforms=y
|generatetranslationkeys=y
|displayname=Cocoa
|spritetype=block
|nameid=cocoa
|form=block}}
{{ID table
|displayname=Cocoa Beans
|spritetype=item
|nameid=cocoa_beans
|form=item
|foot=1}}
{{edition|bedrock}}:
{{ID table
|edition=bedrock
|showforms=y
|showaliasids=y
|shownumericids=y
|generatetranslationkeys=y
|displayname=Cocoa
|spritetype=block
|nameid=cocoa
|id=127
|form=block}}
{{ID table
|displayname=Cocoa Beans
|spritetype=item
|nameid=cocoa_beans
|aliasid=dye / 3
|id=412
|form=item
|translationkey=item.dye.brown.name
|foot=1}}
===Block states===
{{see also|Block states}}
{{/BS}}
==History==
''For a more in-depth breakdown of changes to textures and models, including a set of renders for each state combination, see [[/Asset history]]''
{{History|java beta}}
{{History||1.2|[[File:Cocoa Beans JE1 BE1.png|32px]] Added cocoa beans.
|Cocoa beans are currently obtainable only through an inventory editor.}}
{{History||1.2_02|Prior to this, Cocoa Beans were misspelled as 'Coco Beans'.}}
{{History||1.4|Cocoa beans have been formally brought into the game as a reward found in [[dungeon]] chests.<ref>{{tweet|notch|53161729990987776}}</ref> (53% chance) Also, brown [[sheep]] now naturally spawn, making brown [[wool]] obtainable without hacking the game.
|Cocoa beans can now be used to craft [[cookie]]s.}}
{{History|java}}
{{History||May 8, 2012|link={{tweet|jeb|199867730927697920}}|[[Jeb]] revealed cocoa with a screenshot.}}
{{History||1.3.1|snap=12w18a|For only this snapshot, cocoa beans have been given a small (0.5%) chance of dropping from destroyed [[jungle tree]] [[leaves]] in a similar fashion to [[apple]]s from oak leaves, which makes cocoa beans [[renewable resource|renewable]] for the first time.}}
{{History|||snap=12w19a|[[File:Cocoa Age 0 (S) JE1.png|32px]] [[File:Cocoa Age 1 (S) JE1.png|32px]] [[File:Cocoa Age 2 (S) JE1.png|32px]] Added cocoa. The top textures of cocoa always keep a completely constant rotation, regardless of what direction they face. They also not shaded.
|[[File:Cocoa Beans JE2.png|32px]] The texture of cocoa beans has been changed.
|Cocoa has replaced jungle [[leaves]] as the main method of finding cocoa beans.
|[[File:Cocoa Age 3 (S) JE1.png|32px]] Cocoa with values 12–15 is inaccessible normally, and use the texture of the [[dragon egg]]. This is due to the dragon egg texture being to the left of the ripe cocoa texture in <samp>[[terrain.png]]</samp>, as cocoa textures are arranged with the oldest on the left and the youngest on the right, resulting in the unusually ripe cocoa reading the dragon egg texture.}}
{{History|||snap=1.3|[[File:Cocoa Beans JE3 BE2.png|32px]] The texture of cocoa beans has been changed.}}
{{History||1.4.2|snap=12w34a|Cocoa beans have been given the ability to [[Armor#Dyeing|dye]] leather [[armor]] and [[wolf]] collars.}}
{{History||1.4.6|snap=12w49a|Cocoa beans can now be [[crafting|crafted]] with [[gunpowder]] to create a [[firework star]].}}
{{History||1.5|snap=13w02a|Due to textures being stored in individual files, cocoa beans with data 12–15 no longer have a texture to use, and now crash the game if a [[chunk]] containing one is loaded.}}
{{History|||snap=13w03a|Cocoa with data values 12–15 now only crash the game if one is directly in the field of view.}}
{{History|||snap=13w04a|[[Bone meal]] now grows cocoa by only one stage.}}
{{History|||snap=13w10a|[[File:Cocoa Age 3 (S) JE2.png|32px]] Cocoa with data 12–15 now use the age 2 texture, resulting in a broken appearance, preventing previously mentioned crashes.}}
{{History||1.6.1|snap=13w18a|Cocoa beans have been removed from [[dungeon]] [[chest]]s.}}
{{History|||snap=13w19a|Brown [[Terracotta|stained clay]] can now be [[crafting|crafted]] using cocoa beans.}}
{{History||1.7.2|snap=13w41a|Brown [[stained glass]] can now be crafted using cocoa beans.}}
{{History||1.8|snap=14w07a|[[File:Cocoa Age 0 (S) JE2.png|32px]] [[File:Cocoa Age 1 (S) JE2.png|32px]] [[File:Cocoa Age 2 (S) JE2.png|32px]] [[File:Missing Model JE1.png|32px]] The top textures of cocoa now rotate with the blocks themselves (cocoa facing north remaining visually unaffected), and cocoa of age 3 has [[Missing model|no model]].}}
{{History|||snap=14w10a|[[File:Cocoa Age 0 (S) JE3.png|32px]] [[File:Cocoa Age 1 (S) JE3.png|32px]] [[File:Cocoa Age 2 (S) JE3.png|32px]] [[File:Missing Model JE2.png|32px]] The large section of cocoa is shaded, and the missing model (which age 3 cocoa uses) has changed.}}
{{History|||snap=14w25a|[[File:Cocoa Age 0 (S) JE4.png|32px]] [[File:Cocoa Age 1 (S) JE4.png|32px]] [[File:Cocoa Age 2 (S) JE4.png|32px]] The connecting region of cocoa is now shaded.}}
{{History|||snap=14w26a|Cocoa with data 12–15 has been effectively removed from the game, as such blocks now convert to a proper value with {{cmd|setblock}}. Loading worlds with existing out of range cocoa crash the game.}}
{{History|||snap=14w30a|Cocoa beans can now be used to dye [[banner]]s.}}
{{History||1.13|snap=17w47a|The different data values for the <code>dye</code> ID have been split up into their own IDs.
|Prior to [[1.13/Flattening|''The Flattening'']], this block's and item's numeral ID were respectively 127 and 351.}}
{{History||1.14|snap=18w43a|Cocoa beans can now be used to craft [[brown dye]].
|Cocoa beans can no longer be used as a [[dye]].
|All of the dye-related functions and crafting recipes of cocoa beans (except cookies) have been transferred to brown dye.
|"Cocoa Beans" item has been renamed to "Cocoa".
|[[File:Cocoa Beans JE4 BE3.png|32px]] The texture of cocoa has been changed.
|[[File:Cocoa Age 0 (S) JE5.png|32px]] [[File:Cocoa Age 1 (S) JE5.png|32px]] [[File:Cocoa Age 2 (S) JE5.png|32px]] The textures of cocoa have been changed.
|[[File:Cocoa Age 0 (texture) JE2 BE2.png|32px]] [[File:Cocoa Age 1 (texture) JE2 BE2.png|32px]] Textures for cocoa age 0 and 1 has palette left, visible only on particles.
|Cocoa now has a placement [[sound]].}}
{{History|||snap=19w03a|Placing cocoa into the new [[composter]] has a 50% chance of raising the compost level by 1.}}
{{History|||snap=19w05a|Cocoa now has a 65% chance of increasing the compost level in a composter by 1.}}
{{History|||snap=19w11b|"Cocoa" item has been renamed back to "Cocoa Beans".{{verify|was this not just one bug that affected other crops as well? if so cite the ticket and add to all other affected pages}}}}
{{History||1.18|snap=Pre-release 5|[[File:Cocoa Age 0 (texture) JE3 BE3.png|32px]] [[File:Cocoa Age 1 (texture) JE3 BE3.png|32px]] Textures for cocoa age 0 and 1 were changed. This visually changes only particles.}}
{{History||1.19|snap=22w11a|[[File:Cocoa Age 2 (S) JE6.png|32px]] The texture and model of cocoa age 2 have been changed.}}
{{History|pocket alpha}}
{{History||v0.3.0|[[File:Cocoa Beans JE1 BE1.png|32px]] Added cocoa beans. They are currently unobtainable and serve no purpose.}}
{{History||v0.8.0|snap=build 1|[[File:Cocoa Beans JE3 BE2.png|32px]] The texture of cocoa beans has been changed.
|Cocoa beans can be [[crafted]] from an [[orange dye]] and an [[ink sac]], or from [[dandelion yellow]], [[rose red]], and an ink sac, despite there being no way of obtaining ink sacs at the time.}}
{{History|||snap=build 3|Cocoa beans are now available in [[creative]].}}
{{History||v0.9.0|snap=build 1|[[File:Cocoa Age 0 (S) JE1.png|32px]] [[File:Cocoa Age 1 (S) JE1.png|32px]] [[File:Cocoa Age 2 (S) JE1.png|32px]] {{info needed|How did 12-16 appear?}} Added cocoa.
|Cocoa provides an additional way of obtaining cocoa beans.
|Cocoa beans are now used to craft [[cookie]]s.}}
{{History||v0.11.0|snap=build 14|Cocoa now grows over time.<ref>{{bug|MCPE-7887}}</ref>}}
{{History||?|[[File:Cocoa Age 0 (S) BE4.png|32px]] [[File:Cocoa Age 1 (S) BE4.png|32px]] [[File:Cocoa Age 2 (S) BE2.png|32px]] Cocoa no longer has a stem connecting it to the log.}}
{{History||v0.15.0|snap=Realms build 4|[[File:Cocoa Age 0 (S) JE1.png|32px]] [[File:Cocoa Age 1 (S) JE1.png|32px]] [[File:Cocoa Age 2 (S) JE1.png|32px]] Cocoa stems now render again.<ref>{{bug|MCPE-13579}}</ref>}}
{{History||v0.16.0|snap=build 1|Cocoa beans can no longer be crafted from [[orange dye]] and an ink sac.
|Cocoa beans can no longer be crafted from rose red, dandelion yellow and ink sacs.}}
{{History|pocket}}
{{History||1.0.0|snap=alpha 0.17.0.1|Cocoa beans can now be used to dye [[shulker]]s.}}
{{History||1.1.0|snap=alpha 1.1.0.0|Cocoa beans can now be used to dye [[shulker box]]es and [[bed]]s.
|Cocoa beans can now be used to craft [[concrete powder]].}}
{{History|bedrock}}
{{History||1.2.0|snap=beta 1.2.0.2|Cocoa beans can now be used to dye [[banner]]s, [[firework star]]s, and [[glass]].
|Cocoa beans can now be found in [[bonus chest]]s.}}
{{History||1.4.0|snap=beta 1.2.20.1|Cocoa beans can now be used to craft brown [[balloon]]s and [[glow stick]]s.}}
{{History||1.8.0|snap=beta 1.8.0.10|Cocoa beans can now be used to craft [[brown dye]].}}
{{History||1.10.0|snap=beta 1.10.0.3|Cocoa beans are now [[trading|sold]] by [[wandering trader]]s.
|[[File:Cocoa Beans JE4 BE3.png|32px]] The texture of cocoa beans has been changed.
|[[File:Cocoa Age 0 (S) BE4.png|32px]] [[File:Cocoa Age 1 (S) BE4.png|32px]] [[File:Cocoa Age 2 (S) BE4.png|32px]] The textures of cocoa have been changed.}}
{{History||1.11.0|snap=beta 1.11.0.1|Cocoa beans can now be used to fill up [[composter]]s.}}
{{History||1.16.100|snap=beta 1.16.100.56|The ID of cocoa beans has been changed from <code>dye/3</code> to <code>cocoa_beans</code>.}}
{{History||1.18.10|snap=beta 1.18.10.22|[[File:Cocoa Age 0 (texture) JE3 BE3.png|32px]] [[File:Cocoa Age 1 (texture) JE3 BE3.png|32px]] Textures for cocoa age 0 and 1 were changed. This visually changes only particles.}}
{{History|console}}
{{History||xbox=TU1|xbone=CU1|ps=1.0|wiiu=Patch 1|switch=1.0.1|[[File:Cocoa Beans JE1 BE1.png|32px]] Added cocoa beans.}}
{{History||xbox=TU9|[[File:Cocoa Beans JE3 BE2.png|32px]] The texture of cocoa beans has been changed.}}
{{History||xbox=TU12|[[File:Cocoa Age 0 (S) JE3.png|32px]] [[File:Cocoa Age 1 (S) JE3.png|32px]] [[File:Cocoa Age 2 (S) JE3.png|32px]]{{verify|Were these the models used?}} Added cocoa.}}
{{History||xbox=none|xbone=none|ps=1.90|wiiu=none|switch=none|[[File:Cocoa Beans JE4 BE3.png|32px]] The texture of cocoa beans has been changed once again.
|[[File:Cocoa Age 0 (S) JE5.png|32px]] [[File:Cocoa Age 1 (S) JE5.png|32px]] [[File:Cocoa Age 2 (S) JE5.png|32px]]{{verify|Were these the models used?}} The textures of cocoa have been changed.}}
{{History|new 3ds}}
{{History||0.1.0|[[File:Cocoa Beans JE3 BE2.png|32px]] Added cocoa beans.
|[[File:Cocoa Age 0 (S) JE3.png|32px]] [[File:Cocoa Age 1 (S) JE3.png|32px]] [[File:Cocoa Age 2 (S) JE3.png|32px]]{{verify|Were these the models used?}} Added cocoa.}}
{{History|foot}}
=== Cocoa "item" ===
{{:Technical blocks/Cocoa}}
== Issues ==
{{issue list|Cocoa Beans|Cocoa Pod}}
== Trivia ==
*Cocoa pods have a different hitbox for each size; however, the top is always 0.25 blocks below the top of the [[log]] it is on.
*If a cocoa pod grows while the player is standing next to it, the player is forced into the appropriate form of [[suffocation prevention]] depending on available space.
*{{IN|be}}, the pixels on top of the fully grown pod are 8/7 the size of those on the side.<ref>{{bug|MC-109055||Fixed}}</ref><ref>{{bug|MCPE-152862}}</ref>
== Gallery ==
<gallery>
CocoaReveal.png|The first screenshot of cocoa pods tweeted by [[Jens Bergensten]], which revealed the plants.
CocoaPlant.png|A screenshot tweeted by Jens Bergensten, showing the pod.
Cocoa Plants in a Jungle Biome (12w19a).png|Naturally generated cocoa pods.
CPlantsJWood.png|A cocoa pod farm.
Cocoa2.jpg|A cocoa farm.
Cocoa beans phases.png|Three growing phases of the cocoa pod.
AreaOptimizedBeanPods.gif|A log and pod layout for optimizing an example area of 14×14 (including walls).
File:CocoaBean15.png|Cocoa beans with values greater than 12 appeared this way
</gallery>
==Literature==
===References===
{{reflist}}
===External Links===
*[https://www.minecraft.net/en-us/article/taking-inventory--cocoa-beans Taking Inventory: Cocoa Beans] – Minecraft.net on December 5, 2019
{{Items}}
{{Blocks|vegetation}}
[[Category:Dyes]]
[[Category:Food]]
[[Category:Plants]]
[[Category:Renewable resources]]
[[Category:Non-solid blocks]]
[[Category:Natural blocks]]
[[cs:Kakaové boby]]
[[de:Kakaobohnen]]
[[es:Semillas de cacao]]
[[fr:Fèves de cacao]]
[[hu:Kakaóbab]]
[[ja:カカオ豆]]
[[ko:코코아 콩]]
[[nl:Cacaobonen]]
[[pl:Ziarna kakaowe]]
[[pt:Sementes de cacau]]
[[ru:Какао-бобы]]
[[uk:Какао-боби]]
[[zh:可可豆]]</li></ul>
Added ability to launch demo mode for non-premium users.
{{Extension DPL}}<ul><li>[[Dye|Dye]]<br/>{{Item
| title = Dyes
| image = White Dye.png
| extratext = View [[#Gallery|all renders]]
| renewable = Yes
| stackable = Yes (64)
}}
'''Dyes''' are a set of sixteen items used to change the color of [[wool]], [[carpet]]s, [[terracotta]], [[concrete powder]], [[glass]], [[shulker box]]es, [[bed]]s, [[candle]]s, the patterns on [[banner]]s, [[firework star]]s, certain mobs, and text on [[sign]]s and [[hanging sign]]s. {{IN|bedrock}} they can also be used to dye water in a [[cauldron]] (which is thereafter used to dye leather [[armor]]); {{in|java}} leather armor can be dyed directly. {{IN|education}} dyes can also be used to dye [[balloon]]s and [[glow stick]]s.
{{IN|bedrock|education}}, [[bone meal]], [[ink sac]]s, [[lapis lazuli]], and [[cocoa bean]]s can generally substitute for [[white dye]], [[black dye]], [[blue dye]], and [[brown dye]], respectively, in crafting recipes and for use in dyeing items or mobs. However, they have other important uses that aren't related to color, and are therefore not considered true dyes. They are mentioned in this article only in regard to their use as dyeing agents; see their individual articles for complete information about them.
== Obtaining ==
<!--[[File:Dye Chart.png|350px|thumb|A guide to crafting all the dyes.{{until|java 1.14}}]]-->
Dyes can be produced by crafting them from plants (mainly flowers), by crafting dyes of different colors together, by smelting plants, or by trading with a [[wandering trader]].
{{loadPage|Crafting/Dye|Crafting|h3}}
=== Smelting ===
{{smelting|head=1|Sea Pickle|Lime Dye|0,2}}
{{smelting|foot=1|Cactus|Green Dye|1|}}
=== Trading ===
[[Wandering trader]]s can sell 3 dyes for an [[emerald]]. {{IN|bedrock}}, they can also sell 3 lapis lazuli, bone meal, cocoa beans, or ink sacs for one emerald.
Apprentice-level cleric [[villager]]s sell one lapis lazuli per emerald.
=== Chest loot ===
{{#invoke:LootChest|base3|blue-dye,green-dye,orange-dye,light-blue-dye,yellow-dye,white-dye}}
=== Other ===
Ink sacs can also be created using 1 iron, 1 sulfur, and 4 oxygen in the [[compound creator]]. {{only|bedrock|education}}
== Usage ==
Similar to their use in crafting, [[bone meal]], [[ink sac]]s, [[lapis lazuli]], and [[cocoa beans]] can be substituted for the corresponding dye in any of the following usages unless otherwise specified.{{only|bedrock}} <!--- sections are ordered by craftable dyeable blocks, dyeable items, version exclusive sections, and non-crafting miscellaneous uses--->
=== Dyeing wool and mobs ===
Players can dye wool by placing [[wool]] and any dye in a crafting grid.
{{Crafting
|nocat=1
|Any Wool
|Matching Dye
|Output=Any Wool
}}
Dyes can be {{control|use|text=used}} on sheep to change the color of the wool. Shearing a colored sheep drops the corresponding color of the wool, and the sheep retains the color when the wool regenerates. [[Breeding]] colored sheep produces a lamb colored as one of the parent sheep, or a color resulting from the combination of both parents' color. The color combining follows the same rules that dyes use – red and yellow sheep produce an orange lamb, but a blue and yellow sheep cannot create a green lamb. The unlimited reproduction of colored sheep makes dyeing and shearing sheep infinitely more efficient than just dyeing wool directly.
Dye can also be used on a tamed [[wolf]] or [[cat]] to change the color of its collar from the default red to the color of the dye.
=== Dyeing carpets ===
Carpets can be dyed.
{{Crafting
|Any Carpet
|Matching Dye
|Output= Matching Carpet
|type= Building block
}}
=== Dyeing terracotta ===
[[Terracotta]] can be dyed by placing 8 blocks around a dye on a crafting table.
{{Crafting
|nocat=1
|A1=Terracotta |B1=Terracotta |C1=Terracotta
|A2=Terracotta |B2=Matching Dye |C2=Terracotta
|A3=Terracotta |B3=Terracotta |C3=Terracotta
|Output=Matching Dyed Terracotta,8
}}
=== Creating concrete powder ===
Dyes can also be used to craft [[concrete powder]], which can then be set into their respective [[concrete]] blocks (they cannot be dyed directly).
{{Crafting
|nocat=1
|Sand |Gravel |Sand
|Gravel |Matching Dye |Gravel
|Sand |Gravel |Sand
|Output=Matching Concrete Powder,8
}}
=== Staining glass ===
[[Stained glass]] can be stained by placing 8 blocks of glass around a dye on a [[crafting table]]. Just like regular glass, stained glass can be crafted into stained glass panes. The recipe for this is the same as with regular glass.
{{Crafting
|nocat=1
|A1=Glass |B1=Glass |C1=Glass
|A2=Glass |B2=Matching Dye |C2=Glass
|A3=Glass |B3=Glass |C3=Glass
|Output=Matching Stained Glass,8
|head=1
}}
{{Crafting
|nocat=1
|A1= Glass Pane
|B1= Glass Pane
|C1= Glass Pane
|A2= Glass Pane
|B2= Matching Dye
|C2= Glass Pane
|A3= Glass Pane
|B3= Glass Pane
|C3= Glass Pane
|Output= Matching Stained Glass Pane,8
|type= Decoration block
|foot=1
}}
=== Dyeing shulker boxes ===
[[Shulker box]]es are generated in a light shade of purple (like the [[purpur block]]), but can be dyed any color. They can also be re-dyed as often as desired.
{{Crafting
|ignoreusage=1
|showname=1
|Any Shulker Box
|Matching Dye
|Output=Matching Shulker Box
}}
=== Dyeing beds ===
Players can dye beds by placing a [[bed]] and any color dye in a crafting grid.
{{Crafting
|nocat=1
|Any Bed
|Matching Dye
|Output=Matching Bed
}}
=== Dyeing candles ===
Players can dye [[candles]] by placing an undyed candle and any color dye in a crafting grid.
{{Crafting
|ignoreusage=1
|Candle
|Matching Dye
|Output=Matching Dyed Candle
}}
=== Banner patterns ===
{{main|Banner#Patterns}}
Dyes are used in most banner patterns to determine the pattern and color displayed.
=== Dyeing armor ===
[[File:DyeGraph2.png|200px|thumb|A graph showing all combinations of two dyes on a [[tunic]].]]
Leather [[armor]] can be dyed by:
* Crafting dyes with a piece of leather armor or leather [[horse armor]].{{Only|java}}
* Dousing the leather armor or leather [[horse armor]] in a [[cauldron]] to which dyes have been added.{{Only|bedrock}}
There are 5,713,438<ref>https://anrar4.github.io/DyeLeatherArmor/</ref> (34.1% of sRGB) colors leather armor can be, as it is possible to put more than one dye on the crafting bench alongside the leather armor. Armor can be dyed multiple times with previous colors affecting the final outcome. Colored armor can be reverted to their original color using a [[cauldron]] with undyed water.
The game has a specific formula for calculating the color of dyed armor: each color, in the RGB color model, has a red value, green value, and blue value. For each dye in the crafting grid, and the armor itself (if it is already dyed), the red, green, and blue values are added to running totals. In addition, a running total of the highest value (be it red, green, or blue) is also kept. After this, each total is divided by the number of colors used. This effectively produces the average red, green, blue, and maximum values. The maximum value of the average RGB values is also calculated. Finally, each average RGB value is multiplied by the average maximum value and divided by the maximum of the average RGB values. The modified average RGB values are then used as the final color. This procedure can be summed up with the following equations:
for each color (all "total" variables start at 0 before counting):
totalRed = totalRed + redValue
totalGreen = totalGreen + greenValue
totalBlue = totalBlue + blueValue
totalMaximum = totalMaximum + max(redValue, greenValue, blueValue)
numberOfColors = numberOfColors + 1
averageRed = totalRed / numberOfColors
averageGreen = totalGreen / numberOfColors
averageBlue = totalBlue / numberOfColors
averageMaximum = totalMaximum / numberOfColors
maximumOfAverage = max(averageRed, averageGreen, averageBlue)
gainFactor = averageMaximum / maximumOfAverage
resultRed = averageRed * gainFactor
resultGreen = averageGreen * gainFactor
resultBlue = averageBlue * gainFactor
Due to the way this formula works, the resulting color can never be darker than the average of the input colors and is often lighter and more saturated. Of course, the resulting color can never be lighter or more saturated than the lightest or most saturated input color. In addition, this formula never creates an RGB value higher than 255 (which would be invalid in the 8-bit RGB color model).
If leather armor is renamed on an [[anvil]], it retains its name when dyed or undyed.
;Mixing Samples
: {{ItemSprite|Yellow Dye}} + {{ItemSprite|Yellow Dye}} = {{Tint|leather-chestplate| #{{CalcDye| yellow=2 }} | code=1}}
: {{ItemSprite|Red Dye}} + {{ItemSprite|Blue Dye}} + {{ItemSprite|White Dye}} = {{Tint|leather-chestplate| #{{CalcDye| red=1 | blue=1 | white=1}} | code=1}}
: {{ItemSprite|Green Dye}} + {{ItemSprite|Red Dye}} + {{ItemSprite|Pink Dye}} = {{Tint|leather-chestplate| #{{CalcDye| green=1 | red=1 | pink=1}} | code=1}}
=== Dyeing firework stars ===
A [[firework star]] can have a single color or a combination of up to eight colors when crafted with dyes. Adding one or more dyes to a crafted firework star adds a "fade to color" effect to it, overwriting any existing fade colors.
{{Crafting
|head=1
|ignoreusage=1
|ingredients=[[Gunpowder]] +<br>Any Dye (1–8) +<br>Extra ingredient (optional)
|Gunpowder
|Matching Dye
|Diamond;Glowstone Dust;Head;Gold Nugget;Feather;Fire Charge;
|Output=Matching Firework Star
}}
{{Crafting
|ignoreusage=1
|Matching Firework Star
|Any Dye
|Output=Matching Firework Star
|foot=1
}}
=== Creating balloons ===
Dye can be used to craft balloons.{{only|education}}
{{Crafting
|nocat=1
|A1= Latex
|B1= Matching Dye
|C1= Latex
|A2= Latex
|B2= Helium
|C2= Latex
|A3= Latex
|B3= Lead
|C3= Latex
|Output= Matching Balloon
}}
=== Creating glow sticks ===
Dye can also be used to craft glow sticks.{{only|education}}
{{Crafting
|nocat=1
|A1= Polyethylene
|B1= Hydrogen Peroxide
|C1= Polyethylene
|A2= Polyethylene
|B2= Matching Dye
|C2= Polyethylene
|A3= Polyethylene
|B3= Luminol
|C3= Polyethylene
|Output= Matching Glow Stick
}}
=== Dyeing water inside cauldrons ===
Water can be dyed in a cauldron by holding any dye in the hand and pressing {{Ctrl|use}} on a cauldron filled with water.{{only|bedrock}}
=== Signs ===
Dye can be {{control|used}} on a [[sign]] or a [[hanging sign]] to change the text color. {{IN|bedrock}}, [[ink sac]]s cannot be used for this purpose; black dye must be used to change the text to black.
=== Trading ===
Apprentice, journeyman and expert-level shepherd [[villager]]s buy any of the 12 dyes for an [[emerald]].
== Color values ==
The "color codes" are used to determine the color imparted on sheep, wolf and cat collars, firework stars, [[beacon]] beams, and dyed leather armor. The hex value is shown in the extended tooltips of dyed leather armor; however, to set the color using an NBT data tag in a [[command]], the decimal value must be used instead. The color values for firework stars are slightly different from the ones listed below, and use [[Item colors#Firework stars|these values]] instead.
{| class="wikitable" style="margin:2px; border: 1px solid silver; text-align: left;" data-description="Data values"
! rowspan=2 | Description
! colspan=2 style="text-align:center" | Color Code
|-
! Dec
! <abbr title="Hexadecimal color code">Hex</abbr>
|-
| style="text-align:center" | White || 16383998 || {{color|#F9FFFE}}
|-
| style="text-align:center" | Light gray || 10329495 || {{color|#9D9D97}}
|-
| style="text-align:center" | Gray || 4673362 || {{color|#474F52}}
|-
| style="text-align:center" | Black || 1908001|| {{color|#1D1D21}}
|-
| style="text-align:center" | Brown || 8606770 || {{color|#835432}}
|-
| style="text-align:center" | Red || 11546150 || {{color|#B02E26}}
|-
| style="text-align:center" | Orange || 16351261 || {{color|#F9801D}}
|-
| style="text-align:center" | Yellow || 16701501 || {{color|#FED83D}}
|-
| style="text-align:center" | Lime || 8439583 || {{color|#80C71F}}
|-
| style="text-align:center" | Green || 6192150 || {{color|#5E7C16}}
|-
| style="text-align:center" | Cyan || 1481884|| {{color|#169C9C}}
|-
| style="text-align:center" | Light blue || 3847130 || {{color|#3AB3DA}}
|-
| style="text-align:center" | Blue || 3949738 || {{color|#3C44AA}}
|-
| style="text-align:center" | Purple || 8991416 || {{color|#8932B8}}
|-
| style="text-align:center" | Magenta || 13061821 || {{color|#C74EBD}}
|-
| style="text-align:center" | Pink || 15961002 || {{color|#F38BAA}}
|}
== Sounds ==
{{edition|java}}:
{{Sound table
|rowspan=2
|sound=Dye.ogg
|subtitle=Dye stains
|source=block
|description=When dye is used on a [[sign]]
|id=item.dye.use
|translationkey=subtitles.item.dye.use
|volume=1.0
|pitch=1.0/0.9/0.95/1.1
|distance=16}}
{{Sound table
|subtitle=Dye stains
|source=player
|description=When dye is used on a [[sheep]]
|id=item.dye.use
|translationkey=subtitles.item.dye.use
|volume=1.0
|pitch=1.0/0.9/0.95/1.1
|distance=16
|foot=1}}
{{edition|bedrock}}:
{{Sound table
|type=bedrock
|sound=Dye.ogg
|source=sound
|description=When dye is used on a sign
|id=sign.dye.use
|volume=1.0
|pitch=1.0}}
{{Sound table
|rowspan=3
|sound=Water Splash Old.ogg
|source=block
|description=When dye is added to a cauldron
|id=cauldron.adddye
|volume=0.1
|pitch=1.0}}
{{Sound table
|source=block
|description=When armor is dyed using a cauldron
|id=cauldron.dyearmor
|volume=0.1
|pitch=1.0}}
{{Sound table
|source=block
|description=When dye is removed from armor using a cauldron
|id=cauldron.cleanarmor
|volume=0.1
|pitch=1.0
|foot=1}}
== Achievements ==
{{load achievements|Rainbow Collection;Tie dye outfit}}
== Video ==
{{Video note|These videos are outdated, as it does not include details of the [[Java Edition 1.7.2|1.7.2]] update's changes to the dyeing system/production chain.}}
<div style="text-align:center">
<span style="display:inline-block">{{yt|8YD7oauNZHE}}</span>
<span style="display:inline-block">{{yt|7tETaRt7STM}}</span>
</div>
== History ==
{{History|java beta}}
{{History||January 3, 2011|link=https://web.archive.org/web/0/http://notch.tumblr.com/post/2582321901/2011-here-we-go|Notch mentions adding a "paint" feature if he can figure out how.}}
{{History||January 10, 2011<ref group="n">Supposed time when fragment was filmed. Based on modified date of client.jar/gui/trap.png in [[Beta 1.2]].</ref>|link=https://www.youtube.com/watch?v=cBF2ugTzXqQ&t=181s|[[File:Red Dye (pre-release).png|32px]] Shown rose red in development as part of [[Minecraft: The Story of Mojang]].}}
{{History||1.2|[[File:Ink Sac JE1 BE1.png|32px]] [[File:Red Dye JE1 BE1.png|32px]] [[File:Green Dye JE1 BE1.png|32px]] [[File:Cocoa Beans JE1 BE1.png|32px]] [[File:Lapis Lazuli JE1 BE1.png|32px]] [[File:Purple Dye JE1 BE1.png|32px]] [[File:Cyan Dye JE1 BE1.png|32px]] [[File:Light Gray Dye JE1 BE1.png|32px]] [[File:Gray Dye JE1 BE1.png|32px]] [[File:Pink Dye JE1 BE1.png|32px]] [[File:Lime Dye JE1 BE1.png|32px]] [[File:Yellow Dye JE1 BE1.png|32px]] [[File:Light Blue Dye JE1 BE1.png|32px]] [[File:Magenta Dye JE1 BE1.png|32px]] [[File:Orange Dye JE1 BE1.png|32px]] [[File:Bone Meal JE1 BE1.png|32px]] Added dyes.
|[[File:Black Dye (Recreated).png|32px]] [[File:Red Dye (pre-release).png|32px]] [[File:Green Dye (Recreated).png|32px]] [[File:Brown Dye (Recreated).png|32px]] [[File:Blue Dye (Recreated).png|32px]] [[File:Purple Dye (Recreated).png|32px]] [[File:Cyan Dye (Recreated).png|32px]] [[File:Light Gray Dye (Recreated).png|32px]] [[File:Gray Dye (Recreated).png|32px]] [[File:Pink Dye (Recreated).png|32px]] [[File:Lime Dye (Recreated).png|32px]] [[File:Yellow Dye (Recreated).png|32px]] [[File:Light Blue Dye (Recreated).png|32px]] [[File:Magenta Dye (Recreated).png|32px]] [[File:Orange Dye (Recreated).png|32px]] [[File:White Dye (Recreated).png|32px]] Leftovers of old textures can be seen in [[items.png]] with 100% opacity. The white dye texture was reused for [[Sugar]].
| The colors were as follows:{{verify|Did the color codes remain the same between Beta 1.2 and Java 1.11.2?}}
{{:Color/Java Edition dye colors before 17w06a}}
}}
{{History|java}}
{{History||1.1|snap=11w49a|[[Sheep]] can now regrow their [[wool]] by eating [[grass block|grass]]. Dyed sheep regrow wool in their new color.}}
{{History||1.3.1|snap=12w19a|[[File:Cocoa Beans JE2.png|32px]] The texture of [[cocoa beans]] has been changed.}}
{{History|||snap=1.3|[[File:bone meal changes.gif|32px]] The textures of [[bone meal]], [[cactus green]], cocoa beans and [[rose red]] have been changed. The textures have been lowered one pixel.}}
{{History||1.4.2|snap=12w34a|Added the ability to dye leather [[armor]] and [[wolf]] collars.}}
{{History||1.4.4|snap=1.4.3|Color codes have been changed. The colors of red, brown, blue, purple, cyan, pink, light blue, magenta and orange were adjusted a little vividly.}}
{{History||1.6.1|snap=13w19a|[[Stained clay]] can now be crafted using dyes.}}
{{history||1.7.2|snap=13w36a|With the addition of new [[flower]]s, many secondary and tertiary dyes are now primary dyes.}}
{{History|||snap=13w41a|[[Stained glass]] can now be crafted using dyes.}}
{{History||1.8|snap=14w02a|As cleric [[villager]]s now sell lapis lazuli, all dyes have become fully renewable.}}
{{History|||snap=14w30a|Added [[banner]]s, which can be dyed.}}
{{History||1.9|snap=15w34a|Added [[shield]]s, which can be dyed indirectly by applying a matching [[banner]].}}
{{History||1.11|snap=16w39b|Dyes are now used to change the color of [[shulker box]]es.}}
{{History||1.12|snap=17w06a|Dyes are now used to craft [[concrete powder]].
|Color codes have been changed. All colors are adjusted more vividly. The changes were as follows:
{{:Color/Java Edition dye color changes in 17w06a}}
|Light blue dye, stained glass, and stained glass panes, did not change colors in this update. This means that they still use old colors.<ref name="unchanged dyes">{{Bug|MC-214643}}<br>{{Bug|MC-214641}}</ref>
}}
{{History|||snap=17w15a|Dyes can now apply color to white [[bed]]s.}}
{{History||1.13|snap=17w47a|The different data values for the <code>dye</code> ID have been split up into their own IDs.}}
{{History||1.14|snap=18w43a|[[Bone meal]], [[ink sac]]s, [[cocoa beans]] and [[lapis lazuli]] are no longer considered dyes.
|[[File:White Dye JE1 BE1.png|32px]] [[File:Black Dye JE1 BE1.png|32px]] [[File:Brown Dye JE1 BE1.png|32px]] [[File:Blue Dye JE1 BE1.png|32px]] Added [[white dye|white]], [[black dye|black]], [[brown dye|brown]] and [[blue dye]]s.
|"Rose Red", "Dandelion Yellow" and "Cactus Green" have been renamed to "Red Dye", "Yellow Dye" and "Green Dye", respectively.
|[[Glass pane]]s and [[carpet]]s can now be dyed.
|[[File:Light Gray Dye JE2 BE2.png|32px]] [[File:Gray Dye JE2 BE2.png|32px]] [[File:Red Dye JE2 BE2.png|32px]] [[File:Orange Dye JE2 BE2.png|32px]] [[File:Yellow Dye JE2 BE2.png|32px]] [[File:Lime Dye JE2 BE2.png|32px]] [[File:Green Dye JE2 BE2.png|32px]] [[File:Cyan Dye.png|32px]] [[File:Light Blue Dye JE2 BE2.png|32px]] [[File:Purple Dye JE2 BE2.png|32px]] [[File:Magenta Dye JE2 BE2.png|32px]] [[File:Pink Dye JE2 BE2.png|32px]] The textures of light gray, gray, red, orange, yellow, lime, green, cyan, light blue, purple, magenta, and pink dyes, have been changed. The color texture for light blue dye was not changed to reflect the updated colors from 1.12.<ref name="unchanged dyes"></ref>}}
{{History|||snap=18w44a|The color of the text on [[sign]]s can now be changed with dye.}}
{{History|||snap=18w49a|Yellow dyes can now be found in [[chest]]s in [[village]] mason houses.}}
{{History|||snap=18w50a|Green dyes can now be found in [[chest]]s in [[desert]] [[village]] houses.}}
{{History|||snap=19w05a|Added the [[wandering trader]], which can sell any type of dye.}}
{{History|||snap=19w11a|All 16 types of dyes can now be [[trading|bought]] by shepherd villagers.}}
{{History||1.16.2|snap=Pre-release 2|Reversed the order of dyes to match other colored items in the [[Creative inventory]].<ref name="reverse dye">{{Bug|MC-136553}}</ref>
|Regrouped dyes in the Creative inventory such that white, blue, brown, and black dyes are within and not [[cocoa beans]], [[ink sacs]], [[lapis lazuli]], and [[bone meal]].<ref name="regroup dye">{{Bug|MC-177684}}</ref>}}
{{History||1.17|snap=20w45a|Added [[candle]]s, which can be dyed.}}
{{History|||snap=21w03a|Added a sound for applying dyes.}}
{{History|||snap=21w19a|Candles can no longer be dyed.}}
{{History|||snap=Pre-release 1|Candles can now once again be dyed.}}
{{History||1.20<br>(Experimental)|link=1.19.3|snap=22w42a|The color of the text on [[hanging sign]]s can now be changed with dye.}}
{{History||1.20<br>(Experimental)|link=1.19.4|snap=23w07a|[[Torchflower]]s can now be crafted into orange dye.|[[Pink petals]] can now be crafted into pink dye.}}
{{History||1.20|snap=23w12a|[[Pitcher plant]]s can now be crafted into cyan dye.|Blue, light blue, orange, white, and yellow dye can now be found in [[suspicious gravel]] and [[suspicious sand]] in [[trail ruins]].}}
{{History|||snap=23w14a|Pitcher plants can now craft two [[cyan dye]] instead of one.}}
{{History|||snap=23w16a|Blue, light blue, orange, white, and yellow dye 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]]; blue, light blue, orange, white, and yellow dye now are in the common loot.}}
{{History|pocket alpha}}
{{History||v0.3.0|[[File:Bone Meal JE1 BE1.png|32px]] [[File:Light Gray Dye JE1 BE1.png|32px]] [[File:Gray Dye JE1 BE1.png|32px]] [[File:Ink Sac JE1 BE1.png|32px]] [[File:Cocoa Beans JE1 BE1.png|32px]] [[File:Red Dye JE1 BE1.png|32px]] [[File:Orange Dye JE1 BE1.png|32px]] [[File:Yellow Dye JE1 BE1.png|32px]] [[File:Lime Dye JE1 BE1.png|32px]] [[File:Green Dye JE1 BE1.png|32px]] [[File:Cyan Dye JE1 BE1.png|32px]] [[File:Light Blue Dye JE1 BE1.png|32px]] [[File:Lapis Lazuli JE1 BE1.png|32px]] [[File:Purple Dye JE1 BE1.png|32px]] [[File:Magenta Dye JE1 BE1.png|32px]] [[File:Pink Dye JE1 BE1.png|32px]] Added dyes. Only [[dandelion yellow]] and [[lapis lazuli]] are currently obtainable and have functionality.}}
{{History||v0.3.2|[[Cactus green]] is now obtainable by smelting [[cacti]].}}
{{History||v0.3.3|[[Bone meal]] is now obtainable via [[crafting]].}}
{{History||v0.4.0|[[Cyan dye]], [[light blue dye]], [[lime dye]], [[magenta dye]], [[orange dye]], [[pink dye]], and [[purple dye]] are now obtainable via crafting.
|[[Rose red]] is now obtainable by smelting red [[mushroom]]s.
|All available dyes, excluding bone meal, can now be used to craft their respective [[wool]] color.}}
{{History||v0.8.0|snap=build 1|[[File:Cocoa Beans JE3 BE2.png|32px]] The texture of cocoa beans has been changed.}}
{{History|||snap=build 3|[[Ink sac]]s, [[cocoa bean]]s, [[gray dye]], and [[light gray dye]] are now available in the [[creative]] [[inventory]].
|Rose red can now be obtained from [[beetroot]]s.}}
{{History||v0.9.0|snap=build 1|Cocoa beans can now be obtained from [[cocoa pod]]s.
|The [[rose]] has been removed and replaced with a new poppy [[flower]] that can be crafted into rose red.}}
{{History|||snap=build 3|All new [[flower]]s can now be [[crafting|crafted]] into dyes. Because of this, many secondary and tertiary dyes are now primary dyes.
|[[Gray dye]] and [[light gray dye]] can now be obtained in [[survival]].}}
{{History|||snap=build 11|[[Terracotta|Stained clay]] can now be crafted using dyes.}}
{{History||v0.11.0|snap=build 1|[[Ink sac]]s can now be obtained from [[squid]].
|Added the ability to dye [[wolf]] collars.}}
{{History||v0.12.1|snap=build 1|Red [[mushroom]]s can no longer be smelted to obtain [[rose red]].}}
{{History||v0.14.0|snap=build 1|[[Cauldron]]s now used for leather dyeing, by applying a dye to a [[water]]-filled cauldron.}}
{{History||v0.16.0|snap=build 1|[[Cocoa bean]]s can no longer be crafted.}}
{{History|pocket}}
{{History||1.0.0|snap=alpha 0.17.0.1|Added a ''Dye'' button for [[sheep]].
|Added [[shulker]]s, which can be dyed.
|Added [[stained glass]]. Stain glass cannot be [[crafting|crafted]], but purple glass generates in [[end city|end cities]].}}
{{History||1.1.0|snap=alpha 1.1.0.0|Dyes can now apply color to a white [[bed]]s.
|Dyes are now used to craft [[concrete powder]].
|The color palette has been changed.}}
{{History|bedrock}}
{{History||1.2.0|snap=beta 1.2.0.2|Dyes can now be used for [[banner]] crafting.
|Dyes can now be used to craft [[firework star]]s.
|[[Stained glass]] is now [[crafting|craftable]], using dyes.}}
{{History||1.4.0|snap=beta 1.2.20.1|[[Lime dye]] can now be obtained from smelting [[sea pickle]]s.
|Dyes can now used to craft [[glow stick]]s and [[balloon]]s.}}
{{History||1.8.0|snap=beta 1.8.0.8|Dyes can now be used to dye [[cat]] collars.}}
{{History|||snap=beta 1.8.0.10|[[File:White Dye JE1 BE1.png|32px]] [[File:Black Dye JE1 BE1.png|32px]] [[File:Brown Dye JE1 BE1.png|32px]] [[File:Blue Dye JE1 BE1.png|32px]] Added [[white dye|white]], [[brown dye|brown]], [[black dye|black]] and [[blue dye]]s, which can be crafted from [[lapis lazuli]], [[bone meal]], [[cocoa beans]] and [[ink sac]]s. This, however, the later four still use as dyes.<ref>{{Bug|MCPE-42473}}</ref>
|"Rose Red", "Dandelion Yellow" and "Cactus Green" have been renamed to "Red Dye", "Yellow Dye" and "Green Dye", respectively.}}
{{History||1.9.0|snap=beta 1.9.0.0|Blue and white dye can now be obtained from [[cornflower]]s and [[lily of the valley]]s.}}
{{History||1.10.0|snap=beta 1.10.0.3|[[Glass pane]]s and [[carpet]]s can now be dyed.
|Only a single dye is now required to apply a banner pattern in a [[loom]].
|Various dyes except black dye, white dye, brown dye and blue dye are now [[trading|sold]] by [[wandering trader]]s.
|[[File:Bone Meal JE2 BE2.png|32px]] [[File:Light Gray Dye JE2 BE2.png|32px]] [[File:Gray Dye JE2 BE2.png|32px]] [[File:Ink Sac JE2 BE2.png|32px]] [[File:Cocoa Beans JE4 BE3.png|32px]] [[File:Red Dye JE3 BE3.png|32px]] [[File:Orange Dye JE2 BE2.png|32px]] [[File:Yellow Dye JE2 BE2.png|32px]] [[File:Lime Dye JE2 BE2.png|32px]] [[File:Green Dye JE2 BE2.png|32px]] [[File:Cyan Dye.png|32px]] [[File:Light Blue Dye JE2 BE2.png|32px]] [[File:Lapis Lazuli JE2 BE2.png|32px]] [[File:Purple Dye JE2 BE2.png|32px]] [[File:Magenta Dye JE2 BE2.png|32px]] [[File:Pink Dye JE2 BE2.png|32px]] The textures of bone meal, light gray, gray, ink sac, cocoa beans, red, orange, yellow, lime, green, cyan, light blue, lapis lazuli, purple, magenta, and pink dyes have been changed.}}
{{History||1.11.0|snap=beta 1.11.0.4|Dye can now be [[trading|sold]] to shepherd [[villager]]s.}}
{{History||1.16.210|snap=beta 1.16.210.59|The color of the text on [[sign]]s can now be changed with dye.}}
{{History|||snap=beta 1.16.210.60|The ability to dye the color of the text on [[sign]]s was temporarily removed.}}
{{History||1.16.220|snap=beta 1.16.220.50|The color of the text on [[sign]]s can now be changed with dye again.}}
{{History||1.17.10|snap=beta 1.17.10.22|Added [[candles]], which can be dyed.}}
{{History|console}}
{{History||xbox=TU1|xbone=CU1|ps=1.0|wiiu=Patch 1|switch=1.0.1|[[File:Bone Meal JE1 BE1.png|32px]] [[File:Light Gray Dye JE1 BE1.png|32px]] [[File:Gray Dye JE1 BE1.png|32px]] [[File:Ink Sac JE1 BE1.png|32px]] [[File:Cocoa Beans JE1 BE1.png|32px]] [[File:Red Dye JE1 BE1.png|32px]] [[File:Orange Dye JE1 BE1.png|32px]] [[File:Yellow Dye JE1 BE1.png|32px]] [[File:Lime Dye JE1 BE1.png|32px]] [[File:Green Dye JE1 BE1.png|32px]] [[File:Cyan Dye JE1 BE1.png|32px]] [[File:Light Blue Dye JE1 BE1.png|32px]] [[File:Lapis Lazuli JE1 BE1.png|32px]] [[File:Purple Dye JE1 BE1.png|32px]] [[File:Magenta Dye JE1 BE1.png|32px]] [[File:Pink Dye JE1 BE1.png|32px]] Added dyes.}}
{{History||xbox=TU9|[[File:Cocoa Beans JE3 BE2.png|32px]] The texture of cocoa beans has been changed.}}
{{History||xbox=none|xbone=none|ps=1.83|wiiu=none|switch=none|[[File:White Dye JE1 BE1.png|32px]] [[File:Black Dye JE1 BE1.png|32px]] [[File:Brown Dye JE1 BE1.png|32px]] [[File:Blue Dye JE1 BE1.png|32px]] Added [[white dye|white]], [[black dye|black]], [[brown dye|brown]], and [[blue dye|blue]] dyes, which can crafted from [[bone meal]], [[ink sac]], [[cocoa beans]], and [[lapis lazuli]].
|"Rose Red", "Dandelion Yellow" and "Cactus Green" have been renamed to "Red Dye", "Yellow Dye" and "Green Dye", respectively.}}
{{History||ps=1.90|[[File:Bone Meal JE2 BE2.png|32px]] [[File:Light Gray Dye JE2 BE2.png|32px]] [[File:Gray Dye JE2 BE2.png|32px]] [[File:Ink Sac JE2 BE2.png|32px]] [[File:Cocoa Beans JE4 BE3.png|32px]] [[File:Red Dye JE2 BE2.png|32px]] [[File:Orange Dye JE2 BE2.png|32px]] [[File:Yellow Dye JE2 BE2.png|32px]] [[File:Lime Dye JE2 BE2.png|32px]] [[File:Green Dye JE2 BE2.png|32px]] [[File:Cyan Dye.png|32px]] [[File:Light Blue Dye JE2 BE2.png|32px]] [[File:Lapis Lazuli JE2 BE2.png|32px]] [[File:Purple Dye JE2 BE2.png|32px]] [[File:Magenta Dye JE2 BE2.png|32px]] [[File:Pink Dye JE2 BE2.png|32px]] The textures of bone meal, light gray, gray, ink sac, cocoa beans, red, orange, yellow, lime, green, cyan, light blue, lapis lazuli, purple, magenta, and pink dyes have been changed.}}
{{History|3ds}}
{{History||0.1.0|[[File:Bone Meal JE1 BE1.png|32px]] [[File:Light Gray Dye JE1 BE1.png|32px]] [[File:Gray Dye JE1 BE1.png|32px]] [[File:Ink Sac JE1 BE1.png|32px]] [[File:Cocoa Beans JE3 BE2.png|32px]] [[File:Red Dye JE1 BE1.png|32px]] [[File:Orange Dye JE1 BE1.png|32px]] [[File:Yellow Dye JE1 BE1.png|32px]] [[File:Lime Dye JE1 BE1.png|32px]] [[File:Green Dye JE1 BE1.png|32px]] [[File:Cyan Dye JE1 BE1.png|32px]] [[File:Light Blue Dye JE1 BE1.png|32px]] [[File:Lapis Lazuli JE1 BE1.png|32px]] [[File:Purple Dye JE1 BE1.png|32px]] [[File:Magenta Dye JE1 BE1.png|32px]] [[File:Pink Dye JE1 BE1.png|32px]] Added dyes from [[Pocket Edition v0.15.4 alpha]].}}
{{History|foot}}
<gallery>
Pre-release dyes.png|Pre-release dye textures hidden within [[Items.png]].
</gallery>
;Notes
{{reflist|group=n}}
== Gallery ==
<gallery>
White Dye.png|White Dye
Light Gray Dye.png|Light Gray Dye
Gray Dye.png|Gray Dye
Black Dye.png|Black Dye
Brown Dye.png|Brown Dye
Red Dye.png|Red Dye
Orange Dye.png|Orange Dye
Yellow Dye.png|Yellow Dye
Lime Dye.png|Lime Dye
Green Dye.png|Green Dye
Cyan Dye.png|Cyan Dye
Light Blue Dye.png|Light Blue Dye
Blue Dye.png|Blue Dye
Purple Dye.png|Purple Dye
Magenta Dye.png|Magenta Dye
Pink Dye.png|Pink Dye
</gallery>
==Issues==
{{issue list}}
== Trivia ==
* Players can obtain each one of every color with 1 cocoa bean, 2 yellow dye, 2 ink sac, 3 green dye, 4 lapis lazuli, 4 red dye, and 6 bone meal (2 bones).
* The dyed sheep breeding behavior mirrors [[wikipedia:Lamarckism|Lamarck's theory]], in which the organisms evolve inheriting the external changes and adaptations of the previous generation, transmitting them to their offspring.
* In ''Bedrock Edition'', tertiary colors, along with their regular crafting recipes, can be crafted with primary colors. E.g.: Magenta can be crafted with one rose red and two bone meals.
* The colors of the dyes match the chat colors in [[color codes]] except for brown (dye only), light aqua, and gold (color codes only).
* The texture for light blue dye still uses the color from prior to the 1.12 World of Color update.<ref name="unchanged dyes"></ref>
== References ==
{{reflist}}
== External Links ==
* Tools for calculating leather dye combination: [https://minecraft.tools/en/armor.php minecraft.tools] (webapp); [https://github.com/pudquick/pyMCdyes/ pyMCDyes] (open-source Python script, outdated); [https://anrar4.github.io/DyeLeatherArmor/ DyeLeatherArmor]: a tool for calculating an exact crafting recipe for any sRGB color
{{Items}}
[[Category:Dyes]]
[[Category:Renewable resources]]
[[cs:Barvivo]]
[[de:Farbstoff]]
[[es:Tinte]]
[[fr:Teinture]]
[[hu:Színezés]]
[[it:Colorante]]
[[ja:染料]]
[[ko:염료]]
[[nl:Kleurstof]]
[[pl:Barwniki]]
[[pt:Corante]]
[[ru:Красители]]
[[th:สีย้อม]]
[[uk:Барвники]]
[[zh:染料]]</li><li>[[Minecart|Minecart]]<br/>{{about|the rideable minecart in Minecraft|other uses|Minecart (disambiguation)|}}
{{distinguish|Minecraft}}
{{ItemEntity
|image=Minecart.png
|renewable=Yes
|stackable=No
|size=Height: 0.7 Blocks<br>Width: 0.98 Blocks
|networkid='''[[JE]]''': 10
|drops={{ItemLink|Minecart}} (1)
|health={{hp|6}}
}}
A '''minecart''' is a train-like vehicle [[entity]] that runs on [[Rail (disambiguation)|rail]]s.
== Obtaining ==
Minecarts can be retrieved by {{control|attack|text=attacking}} them for some time. Minecarts can also be retrieved with one attack from a [[pickaxe]] provided the player's attack cooldown is reset. A minecart is also destroyed if it makes contact with a [[cactus]], or if shot with a [[bow]] and arrow.
=== Crafting ===
{{Crafting
|A2= Iron Ingot
|C2= Iron Ingot
|A3= Iron Ingot
|B3= Iron Ingot
|C3= Iron Ingot
|Output= Minecart
|type= Transportation
}}
=== Entity loot ===
[[Minecart with command block]]s can be given to the player with the {{cmd|/give}} command or through the creative inventory under certain conditions{{only|java}}; [[minecart with spawner]]s{{only|java}} are available only via the {{cmd|/summon}} command. Each drop 1 minecart when broken.
== Usage ==
[[File:RideableMinecart.png|thumb|right|A rideable minecart on rails surrounded by wood slabs]]
A minecart can be placed in the same manner as most blocks but can be placed only on top of a [[rail]]. Once placed, it may be derailed by pushing it off the end of the track. After this, it can be railed again by placing a rail directly below it or pushing it onto a track.
=== Crafting ingredient ===
{{crafting usage}}
=== Transportation ===
[[File:Steve Riding a Minecart.png|thumb|right|upright|[[Steve]] riding a minecart]]
{{see also|Transportation|Riding}}
Minecarts can be ridden by {{control|use|text=pressing the "use" control}} on them. Once inside, an external impulse may be needed to make the minecart start moving. The player can slowly move the minecart forward while riding it, by pressing {{control|forward}}. If a mob walks in front of an empty minecart, it is pulled into the cart.
After rolling off of the end of a track, a minecart can be pushed around on open blocks. If a minecart is pushed onto or falls onto tracks, it "snaps" to those tracks. When riding a minecart, if the minecart lands on a rail, the player does not take any fall damage. <!--Minecarts and arrows don't interact anymore.-->
Unlike with [[bed]]s, there is no message above the hotbar for attempting to enter a fully occupied minecart.<ref>{{Cite bug|MC|161251|Attempting to enter an occupied bed displays a message over the hotbar, but attempting to enter an occupied vehicle does not|date=September 18, 19|resolution=Works as Intended}}</ref>
=== Dismounting ===
Players can exit the minecart by pressing {{control|sneak}}. When a player or mob dismounts a minecart, either by choice, by breaking the minecart, or by passing over an [[activator rail]], the minecart tries to find a safe ejection destination one block away. First it checks the eight horizontally adjacent blocks in the following order of priority relative to direction of travel: right, left, rear right, rear left, front right, front left, rear, front. A valid destination has a block underneath with a solid (not necessarily full) top surface and a space with enough headroom and width for the passenger to fit in when standing at the center. The space can even contain liquid or have open trapdoors if the mob is slim enough, and presence of other mobs doesn't matter. If no valid destination exists on same horizontal level, the minecart then checks the blocks one above, then one below. For a player, the minecart also checks for crawlable destinations. If still none, the minecart chooses its own location. Once the minecart picks a destination, it actually ejects the passenger one block up in the air and the passenger settles down on its own. Under a low ceiling this may cause one tick of suffocation damage. The air drop exists to allow passengers to land on carpet or bottom slabs.
== Behavior ==
=== Speed ===
Minecarts have a predefined speed limit of exactly 8 blocks per second ''per axis of travel''. A minecart traveling diagonally can, therefore, travel up to 11.314 blocks per second.<ref>The square root of 8<sup>2</sup> + 8<sup>2</sup>. See [[wikipedia:Pythagorean theorem|Pythagorean theorem]].</ref> When a minecart comes to a turn it moves diagonally across that turn.
[[Powered rail]]s powered by redstone give minecarts a boost of speed. Speed is gradually decreased if there are no powered rails to assist its movement, and an unpowered powered rail slows down a minecart rapidly. The speed decreases at a faster rate when going uphill, compared to when moving horizontally. A minecart does not need powered rails to assist its movement down a hill.
<!-- Is this comparison to real-life physics necessary? - One unit of kinetic energy could be defined as the energy gained by a cart going down a one-block slope and lost by a cart when it goes up a one-block slope. If a 45-degree downward slope is connected directly into an upward slope, an initial height of 60 blocks results in a final height of 40 blocks, a loss of 20 units of potential energy. But if 20 sections of flat track are inserted between the slopes, the final height is 35. This implies that one unit of energy is lost for every 4 sections of horizontal track traveled with an initial stored energy of between 60 and 40. At much lower speeds, much less energy is lost, implying that the energy lost is a percentage of the cart's current energy. The above gives about 0.5% energy loss per section of track. One implication of this is that more energy lost when the cart has more energy, so a gradual slope should allow you to travel much farther distances than a steep slope followed by a long flat section. (This is different from real-life physics, where friction does not increase with velocity. However, it may be an attempt to mirror air resistance, which ''does'' increase with velocity.) -->
Anything in the way of the minecart brings it to a stop. Once a minecart has left the track, it rapidly decelerates within one or two blocks. When mobs touch a minecart, they affect it in the same way a player would, i.e. mobs that move up against a still cart set it in motion.
If a minecart is moving fast enough, it can skip across one block without a track and reattach to track on the other side, at significantly reduced energy and speed. A minecart's hitbox can skip turns if the minecart is boosted using enough powered rails.<ref>{{Cite bug|MC|179971|Minecart skips turns if too fast|date=April 22, 2020}}</ref>
The speed and momentum of a minecart can differ depending on whether or not it is empty, and in the case where a minecart has a container, the speed can differ depending on the quantity and type of items inside.
=== Merged minecarts ===
{{IN|java}}, two or more minecarts can be merged by pushing them into each other so that they overlap. Merged minecarts move as a collective, like a train, and can be useful for long-distance transport because while moving in a straight line, they ''do not need powered rails to keep their speed''.
To summarize:
* Minecarts can also be merged by ''dropping'' a minecart on another minecart.
* Merged minecarts do not lose speed while traveling on straight rails
* ''Corners'' in the rails might cause merged minecarts to unmerge.
* Minecarts with ''chest'' (even fully filled) can also be merged and also do ''not'' require powered rails.
=== Distance traveled by empty carts starting on a downward slope ===
This table shows the distance traveled by an unoccupied minecart on a downward slope, with a boost (or no boost). The most efficient way is to use only 1 boost at the bottom of the incline on the flat surface. Using 2 increases distance by about 20% or 1.5 blocks. All distance trends based on the height seem to be logarithmic.
The carts started from rest, on a slope Height blocks up.
{| class="wikitable" data-description="Distance traveled"
|-
! Height !! No Boost !! Bottom !! Bottom and Top !! All boosts on incline and bottom
|-
| 1 || 2.77m || 8.77 || 10.8 || 10.8
|-
| 2 || 4.59m || 9.59 || 10.83 || 13.37
|-
| 3 || 5.81m || 9.81 || 11.66 || 15.12
|-
| 4 || 7.04m || 10.04 || 12.46 || 16.95
|-
| 5 || 7.87m || 10.87 || 12.29<!--(Yes, it did actually travel less)--> || 17.95
|-
| 10 || 11.65m || 13.38 || 15.12 || 21.68
|-
| 100 || 15.87m || 17.05 || 17.54 || 25.34
|}
=== Collision ===
Minecarts are about the same size as a block (1×1). Because of this, a ladder, door, or trapdoor prevents it from falling down a 1×1 hole. Carts on [[rail]]s also ignore collision in certain situations. A cart traveling uphill, downhill, or on a curve with a block placed in front of it, goes through the block.<ref>{{Cite bug|MC|8004|Minecarts glitch through the stop block of a track that ends with a turn or a downward slope|date=January 20, 2013}}</ref>
A minecart that reaches the end of a rail up against an opaque solid block bounces back, but if the block is transparent then it stops. The minecart can even bounce against an opaque block from a standstill if the rail underneath is powered. A player or mob riding in a minecart does not collide with or suffocate in any transparent blocks but suffocates inside opaque blocks.
Minecarts are completely unaffected by [[ice]], [[packed ice]], and [[blue ice]]<ref>{{Cite bug|MC|8265|Minecarts don't slide on any sort of ice|date=January 25, 2013}}</ref>; they can also be destroyed by coming in contact with [[lava]] or [[fire]].
=== Mobs ===
{{missing information|section|some other mobs that cannot be picked up by minecarts}}
[[File:Minecart shake.gif|thumb|right|Minecart shaking due to being on top of an activator rail.]]
Mobs can ride minecarts, but cannot control them. Mobs cannot exit the minecart unless the minecart is destroyed or moves onto an active [[activator rail]].<ref>{{bug|MC-3866||Endermen, Tamed Wolves and Ocelots cannot teleport when in a Minecart|WAI}}</ref> However, {{in|bedrock}}, [[endermen]] are able to teleport out of minecarts.<ref>{{bug|MCPE-31761||Endermen can still teleport out of the boats and minecarts}}</ref>
A mob can ride a minecart when pushing by a moving minecart on rails {{in|java}} or when colliding with a minecart {{in|bedrock}}. It is easier to pick up a mob when a minecart is turning. {{IN|bedrock}}, [[armor stand]]s can also be picked up.
Most mobs can be picked up by minecarts, except [[ender dragon]]s, [[warden]]s, and [[wither]]s. {{IN|java}}, [[iron golem]]s cannot be picked up either.
A [[jockey]] riding a minecart automatically accelerates the minecart.<ref>{{bug|MC-71998||Minecarts that have passengers within them riding mobs can move automatically when not on rails}}</ref> Mobs in minecarts don't despawn, and don't count towards the mob cap.{{only|java}}<ref>{{bug|MC-182897||Some passenger mobs don't count to the mob cap|WAI}}</ref>
=== Boats ===
{{exclusive|java|section=yes}}
{{UsesBug|section=yes}}
Due to the bug {{bug|MC-113871}}, [[boat]]s can be captured by minecarts. When a boat is placed in a minecart, the minecart travels faster on rails, approximately as fast as on powered rails. The movement in the boat minecart is glitchy and moving forward with the W key moves the cart backward relative to the player, and vice versa for moving backward with the S key. The minecart also moves on the rail-less ground at a crawling speed, but it does not float in the water despite being in a boat.
Using this glitch can be far more resource-efficient since the boat minecart can move at the speed of a powered rail track on flat ground and on slopes. Another physics glitch with the boat minecart is the extreme reduction in friction when the minecart is on rails, which is similar to the lack of friction when a boat is riding on ice. This glitch can be done in Survival without cheats simply by pushing a minecart into a boat on the track. This bug is now patched.
== Sounds ==
{{Edition|Java}}:<br>
Minecarts use the Friendly Creatures sound category for entity-dependent sound events.<ref group="sound" name="oddcats" />
{{Sound table
|sound=Minecart inside.ogg
|subtitle=MC-177078
|source=Friendly Creatures <ref group="sound" name="oddcats">{{Cite bug|MC|42132|The sounds of minecarts aren't controlled by the correct sound slider|date=December 13, 2013}}</ref>
|overridesource=1
|description=While the player is inside of a moving minecart
|id=entity.minecart.inside
|translationkey=-
|volume=0.0-0.75 <ref group=sound name=insidevolume>Based on horizontal speed; it is clamped between 0.0 and 0.75 and will not play if speed is less than 0.01</ref>
|pitch=1.0
|distance=16 (technical) / rider only (effective)}}
{{Sound table
|sound=Minecart inside underwater1.ogg
|sound2=Minecart inside underwater2.ogg
|sound3=Minecart inside underwater3.ogg
|subtitle=MC-204124
|source=Friendly Creatures <ref group="sound" name="oddcats"/>
|overridesource=1
|description=While inside of a moving minecart when the player's eye level is underwater
|id=entity.minecart.inside.underwater
|translationkey=-
|volume=0.0-0.75 <ref group=sound name=insidevolume/>
|pitch=1.0
|distance=16 (technical) / rider only (effective)}}
{{Sound table
|sound=Minecart rolling.ogg
|subtitle=Minecart rolls <ref group="sound">Shows far less often than it should - see {{bug|MC-181831}}</ref>
|source=Friendly Creatures <ref group="sound" name="oddcats"/>
|overridesource=1
|description=While a minecart is moving
|id=entity.minecart.riding
|translationkey=subtitles.entity.minecart.riding
|volume=0.0-0.35 <ref group=sound>Relates linearly with horizontal velocity (max 0.5)</ref>
|pitch=0.0-1.0 <ref group=sound>Will increase by 0.0025 per tick if the minecart's horizontal velocity is more than 0.01</ref>
|distance=16
|foot=1}}
{{Edition|Bedrock}}:
{{Sound table
|type=bedrock
|sound=Minecart inside.ogg
|source=neutral
|description=While the player is inside of a moving minecart
|id=minecart.inside}}
{{Sound table
|sound=Minecart rolling.ogg
|source=neutral
|description=While a minecart is moving
|id=minecart.base
|foot=1}}
== Data values ==
=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|firstcolumnname=Item
|showforms=y
|generatetranslationkeys=y
|displayname=Minecart
|spritetype=item
|nameid=minecart
|form=item
|foot=1}}
{{ID table
|edition=java
|generatetranslationkeys=y
|firstcolumnname=Entity
|displayname=Minecart
|spritetype=entity
|nameid=minecart
|foot=1}}
{{edition|bedrock}}:
{{ID table
|edition=bedrock
|firstcolumnname=Item
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Minecart
|spritetype=item
|nameid=minecart
|id=370
|form=item
|foot=1}}
{{ID table
|edition=bedrock
|firstcolumnname=Entity
|shownumericids=y
|generatetranslationkeys=y
|displayname=Minecart
|spritetype=entity
|nameid=minecart
|id=84
|foot=1}}
=== Entity data ===
Minecarts have entity data associated with them that contain various properties of the entity.
{{el|java}}:
{{main|Entity format}}
{{/ED}}
{{el|bedrock}}:
: See [[Bedrock Edition level format/Entity format]]
== Achievements ==
{{load achievements|On A Rail}}
== History ==
{{History|java infdev}}
{{History||20100618|[[File:Minecart JE1.png|32px]] [[File:Minecart (item) JE1.png|32px]] Added minecarts.
|Minecarts are not rideable but instead are used to store things in.
|Right-clicking minecarts opens them like a [[chest]] (with the container called "Minecart". Filling them up makes the [[dirt]] layer inside them rise.}}
{{History||20100624|[[File:Minecart JE2.png|32px]] [[File:Minecart (item) JE2 BE1.png|32px]] The entity model and item texture of minecarts have been changed.
|The minecart mechanics have been changed to being rideable, removing their ability to store items.
| Minecarts now render a chest inside for unknown reasons.}}
{{History|java alpha}}
{{History||v1.0.4|[[File:Minecart JE3 BE1.png|32px]] Removed the phantom chest from minecarts.
|A [[sitting]] animation for riding minecarts has been added.}}
{{History||v1.0.14|Minecarts are now used to craft [[minecart with furnace]] and [[minecart with chest]].}}
{{History||v1.2.2|Minecarts now appear to other players and can be ridden in multiplayer.
|Minecarts are no longer fully solid - they no longer block movement, and can no longer be stood on top of.}}
{{History|java beta}}
{{History||1.5|Minecarts now break faster with hands.
|[[Powered rail]]s have been introduced, which enables minecarts to move automatically, although previous methods of boosting no longer works, or does not work as effectively.
|The [[detector rail]]s have been introduced for use in detecting minecarts. Prior to this update, carts were detected by using [[pressure plate]]s in line with cart tracks. This had the often undesirable effect of dramatically slowing or even stopping the minecart, which limited the use of this design mostly to boosters.}}
{{History||1.6|snap=Test Build 3|A minecart now transfers any [[Damage#Fall damage|fall damage]] it suffers onto its rider and is not destroyed upon impact.}}
{{History||1.8|snap=Pre-release|If the [[player]] punches a minecart when descending from a jump, it shows the [[Damage#Critical hit|critical hit]] animation. This also happens if the player punches the cart while still in it.}}
{{History|java}}
{{History||1.0.0|snap=Beta 1.9 Prerelease|[[Daniel Rosenfeld|C418]] posted a [[sound]] showing the sound that minecarts make.}}
{{History|||snap=Beta 1.9 Prerelease 6|The texture of minecarts has changed slightly.}}
{{History||1.3.1|snap=12w15a|Minecarts can now be shot out from [[dispenser]]s.}}
{{History|||snap=12w21b|The [[player]] no longer spawns on top/inside of the minecart after getting out. Instead, the player gets out a few [[block]]s away. Also, the player can nudge a stationary minecart while inside it to move onto a [[Powered Rail|powered rail]], etc.}}
{{History||1.4.2|snap=12w38b|[[Sound]]s for minecarts have been added.}}
{{History||1.5|snap=13w02a|Minecarts can now be edited with a third-party program to show any [[block]] inside of it (it does not take on the characteristics of this block), as well as make it take on the characteristics of any cart.
|Minecart types no longer all share the same [[entity]] ID – <code>Minecart</code> – and are no longer distinguished by a <code>Type</code> field. They have been given separate entity IDs.
|Minecarts are now used to craft [[TNT minecart]]s.}}
{{History|||snap=13w03a|Minecarts are now used to craft [[hopper minecart]]s.}}
{{History|||snap=13w06a|Added [[minecart with spawner]].}}
{{History||1.6.2|snap=release|A [[player]] in a moving minecart no longer turns with the minecart.}}
{{History||1.7.2|snap=13w39a|Added [[minecart with command block]].}}
{{History||1.8|snap=14w11a|Minecart physics have been changed - they now go faster and further, can derail at corners if going too fast and refuse to go uphill and they can also (if going fast enough) go over 1 [[block]].
|The collision and position handling of minecarts have been improved.}}
{{History|||snap=14w17a|All changes to old minecart physics used before 14w11a have been reverted.}}
{{History||1.9.1|snap=pre2|Extreme typos in minecarts with hoppers and chests, reading "''container.minecart'''' have been fixed.}}
{{History||1.11|snap=16w32a|The [[entity]] ID has been changed from <code>MinecartRideable</code> to <code>minecart</code>.
|The player's [[hunger]] bar is now visible when riding in a minecart.}}
{{History||1.13|snap=17w47a|Prior to [[Java Edition 1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 328.}}
{{History||1.14|snap=18w43a|[[File:Minecart JE4 BE2.png|32px]] [[File:Minecart (item) JE3 BE2.png|32px]] The textures of minecarts have been changed.}}
{{History|||snap=19w13a|Minecarts now move much slower when pushed along standard [[rail]]s using the W key, even slower on unpowered golden rails, and cannot be pushed off of unpowered golden rails without the [[player]] looking at a certain angle.}}
{{History||1.16|snap=20w09a|Minecart now checks dismount position height against entity height.}}
{{History|||snap=20w16a<!--cannot confirm due to how assets are handled - assuming this due to MC-91163 fix version-->|Minecarts no longer have subtitles for movement.}}
{{History|||snap=20w18a|Mobs in minecarts no longer [[Spawn#Despawning|despawn]].}}
{{History||1.17|snap=20w45a|Minecarts can now move in [[water]].}}
{{History||1.19|snap=22w13a|Minecarts no longer drop when breaking a [[Minecart with Chest|minecart with chest]], [[Minecart with Hopper|hopper]], [[Minecart with Furnace|furnace]], or [[Minecart with TNT|TNT]].<ref>{{bug|MC-249493|||Fixed}}</ref>}}
{{History||1.20|snap=23w16a|Sniffers can now enter [[minecart]]s.}}
{{History|pocket alpha}}
{{History||v0.8.0|snap=build 2|[[File:Minecart JE3 BE1.png|32px]] [[File:Minecart (item) JE2 BE1.png|32px]] Added minecarts.}}
{{History|||snap=build 3|Minecarts now ride smoother.}}
{{History||v0.13.0|snap=build 1|[[Sound]]s for minecarts have been added.}}
{{History|||snap=build 2|Minecarts now stack on top of each other.}}
{{History||v0.14.0|snap=build 1|Minecarts can now be used to craft [[Minecart with Chest|storage]], [[Minecart with TNT|TNT]], and [[Minecart with Hopper|hopper minecart]]s.}}
{{History|bedrock}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Minecart JE4 BE2.png|32px]] [[File:Minecart (item) JE3 BE2.png|32px]] The textures of minecarts have been changed.}}
{{History|console}}
{{History||xbox=TU1|xbone=CU1|ps=1.0|wiiu=Patch 1|switch=1.0.1|[[File:Minecart JE3 BE1.png|32px]] [[File:Minecart (item) JE2 BE1.png|32px]] Added minecarts.}}
{{History||xbox=TU1|xbone=CU1|ps=1.0|wiiu=Patch 1|Minecarts are now twice the speed than in other editions.}}
{{History||xbox=TU12|Minecarts are now slower.}}
{{History||xbox=TU13|ps=1.0|Minecarts are now faster again.}}
{{History||xbox=TU21|xbone=CU9|ps=1.14|The minecart limit has been increased.}}
{{History||xbox=TU31|xbone=CU19|ps=1.22|wiiu=Patch 3|Minecart [[sound]]s have been updated.}}
{{History||xbox=none|xbone=none|ps=1.90|wiiu=none|switch=none|[[File:Minecart JE4 BE2.png|32px]] [[File:Minecart (item) JE3 BE2.png|32px]] The texture of minecarts has been changed.}}
{{History|new 3DS}}
{{History||0.1.0|[[File:Minecart JE3 BE1.png|32px]] [[File:Minecart_(item)_JE2_BE1.png|32px]] Added minecarts.}}
{{History|foot}}
== Issues ==
{{issue list}}
== Trivia ==
* Minecarts appear to float above the track, as their model has no wheels.
* If the player views their inventory while riding in a minecart, they appear sitting down in mid-air.
* The player can teleport to another minecart while sitting in a minecart by right-clicking a minecart in their range. This can be used as an elevator to quickly rise up when minecarts are placed on top of each other.
* If the sound is muted in the options while riding a minecart, and then turned back up, the minecart no longer makes noise in the client until the player exits the minecart.
* If a saddled pig is riding a minecart, the player can ride the pig. Doing so causes the minecart to be able to ride freely at the player's walking speed. It is unknown whether this is a glitch.
* It seems that hunger does not deplete while inactive in a minecart (at least in normal difficulty).
* A minecart (alongside rails and powered rails) are used as Steve's Side-Special in the crossover fighting game Super Smash Bros. Ultimate.
== Gallery ==
<gallery>
Minecart fire pig.png|A pig inside a burning minecart
MinecartInfdev1.png|A Minecart opened in Minecraft Infdev
MinecartInfdev2.png|A Minecart filled in Minecraft Infdev
2ed Spawner Minecart Image and 1st Dispenser cart image.jpg|An image of two [[Minecart with Spawner]]s and unimplemented Minecart with Dispensers.
Minecart with chest and head thing.png|The first image [[Jens Bergensten|Jeb]] released.<ref>{{Tweet|jeb|289000646210904064}}</ref>
Pocket Edition v0.8.0 alpha Development minecarts.png|The first image of minecarts in {{edition|PE}}.
Minecart Booster.png|Minecart booster.
MinecartStack.png|Minecarts being stacked on each other.
Villager minecart.png|Villager in a minecart.
Minecartride.jpg|Player in minecart.
Blocks in Invisible Minecarts.png|Minecarts can be edited to show any block inside, and can also be edited to be invisible.
File:Minecart (Trails and Tales Summer Event) Render.png|A wooden minecart, featured in the [[Trails & Tales Event]].
File:Minecoins 5.png|Two minecarts, as depicted on [[Minecraft Marketplace|Minecoin]] gift cards.
</gallery>
== References ==
{{reflist}}
== External Links ==
*[https://www.minecraft.net/en-us/article/taking-inventory--minecart Taking Inventory: Minecart] – Minecraft.net on September 6, 2019
{{Items}}
{{entities}}
[[Category:Mechanics]]
[[cs:Vozík]]
[[de:Lore]]
[[es:Vagoneta]]
[[fr:Wagonnet]]
[[hu:Csille]]
[[it:Carrello da miniera]]
[[ja:トロッコ]]
[[ko:광산 수레]]
[[nl:Mijnkar]]
[[pl:Wagonik]]
[[pt:Carrinho de mina]]
[[ru:Вагонетка]]
[[th:รถราง]]
[[uk:Вагонетка]]
[[zh:矿车]]</li></ul>
The second Minecraft launcher. The old Minecraft logo can be seen.
The third Minecraft launcher.
The fourth Minecraft launcher.
The fifth Minecraft launcher, version 1.6.
The sixth Minecraft launcher, version 2.0.
The seventh and current Minecraft launcher.
2010–16
The Launcher Log tab after the Launcher starts
The Local Version Editor (NYI) tab (replaced by Time Machine)
Error message that is displayed if a development launcher is outdated
Error message that is displayed if an old launcher is opened after using the 2.0 launcher
2016–19
Profile icons selection from launcher.
Launcher in offline mode
The Help page
Game crash
Launcher warning about running another copy of Minecraft if it is already running.
Skin editor
2019–present
The News tab of the launcher.
The "Java Edition" tab of the launcher.
Launcher login screen.
Default installations.
Editing an installation.
The "About" section of the launcher.
Backgrounds
The background when logging in to an account.
The background for Java Edition.
The background for Minecraft Dungeons.
The background for Dungeons when purchased.
Trivia
In the top left corner of the 2016–19 launcher, a barely visible button could be found which randomly shows either a creeper face or a shrug kaomoji ¯\_(ツ)_/¯. It glowed white when clicked, but had no use at all. This was removed in the 2019 redesign of the launcher.
The creeper face as well as shrug were used for the language selection menu during the beta phase of the launcher, but when a globe was added instead both were simply moved downwards to be kept as an Easter egg.
Hovering long enough over the "Play" button in the 2016–19 launcher will cause random mobs to appear on the right side of the window.