The current Minecraft launcher
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 and LWJGL, which holds the code and resources of the game such as textures. 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 has been part of the stand-alone client since its inception. It is possible to use the launcher to run versions of Minecraft since Indev.
There have been four different development stages for the launcher, the first for the Alpha version, the second since the release of Minecraft 1.0, the third since 1.2, and the fourth and current 1.6 Launcher. The launcher's design last changed on July 18, 2013.
Behavior
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 game will refuse to run.
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 "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, Minecraft launcher supports only English. Users cannot select their preferred language.
Command-line usage
minecraft.jar (all systems):
java -cp minecraft.jar net.minecraft.LauncherFrame <username> <password> <server:port>
minecraft.exe (Windows executable):
minecraft.exe <username> <password> <server:port>
minecraft.jar (Windows - no CMD window):
javaw -cp minecraft.jar net.minecraft.LauncherFrame <username> <password> <server:port>
As of the new launcher released with Minecraft 1.2.3, username and password options use a prefix.
--username=<username> or -u=<username> --password=<password> or -p=<password>
If using a server:port it must still be the 3rd option. So if not used with username and password, dummy options need to be added in their place.
No update option also added.
--noupdate
1.6 Launcher
The login screen of the 1.1.1 Minecraft launcher
A new version of the launcher was released on April 18, 2013 (with snapshot 13w16a). It lets users choose the version they want to play, downloads all resources before launching the game and updates additional libraries (function previously unavailable). Later it will have more functionality as it currently is in its early development stage. Demo is available to non-premium users after a successful login. The launcher can automatically update itself; the most recent version is 1.2.8.
Features
- Manage multiple profiles. Each profile can control:
- Game version. Includes access to outdated development builds and previous releases. You can also add older/custom versions 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)
- And so on.
- The launcher doesn't store your password locally. Instead of this, it now uses a 'refresh token'.
- Automatic updates for launcher.
- Ability to update libraries, such as LWJGL.
- Offline mode. (The first time launch requires an Internet connection to download required resources)
- Currently only available in English.
- Crashes can be reported to Mojang, through Hopper.
- Crashes are now indexed through a database for information on how to fix the issue.
Time Machine
A profile with Alpha and Beta versions enabled
On August 1, 2013, the Minecraft launcher was updated to include the ability to play old Alpha and Beta versions of the game. Currently, Alpha, Beta, and Minecraft versions 1.0.0-1.6.4 are available to play, and Classic, Indev, and Infdev versions are planned to be added in the near future.[2]
To enable the old versions either click the "Edit Profile" button or, preferably, create a new one. Under the "Version Selection" section choose to allow use of Alpha and/or Beta versions by ticking the appropriate boxes. Next, select the desired version from the drop-down menu and save the profile.
However, these versions are very out of date and some may be unstable. Any bugs, crashes, missing features, or other glitches will never be fixed in those versions. Mojang strongly recommends that you play them in separate directories to your other saves to avoid corruption.
Command-line usage
MinecraftDev.jar (all systems):
java -cp Minecraft.jar net.minecraft.bootstrap.Bootstrap <username> <server:port>
The 1.6 launcher also added some new commands, for the launcher. These are shown if you do
java -jar Minecraft.jar -help
History
| Launcher version | Release date | Summary of changes | ||
|---|---|---|---|---|
| 1.3.1 | October 29, 2013 |
| ||
| 1.2.8 | October 25, 2013[citation needed] |
| ||
| 1.2.7[citation needed] | October 18, 2013 |
| ||
| 1.2.6[citation needed] | October 17, 2013 |
| ||
| 1.2.5[citation needed] | September 23, 2013 |
| ||
| 1.2.4[citation needed] | September 19, 2013 |
| ||
| 1.2.3[3] | September 12, 2013 |
| ||
| 1.2.2[4] | September 3, 2013 |
| ||
| 1.2.1 (Files uploaded)[5] | August 6, 2013 |
| ||
| 1.2.1 (Files uploaded)[6][7] | August 6, 2013 |
| ||
| 1.2.1 | August 2, 2013 | |||
| 1.2 | August 1, 2013 | |||
| 1.1.4 | July 31, 2013 |
| ||
| 1.1.3[8] | July 27, 2013 |
| ||
| 1.1.2 | July 22, 2013 | |||
| 1.1.1 | July 19, 2013 |
| ||
| 1.0.10 | July 12, 2013 |
| ||
| 1.0.9 | July 10, 2013 | |||
| 1.0.8 OS X (Re-upload) [10] | July 9, 2013 |
| ||
| 1.0.8 OS X (Re-upload) [11] | July 8, 2013 |
| ||
| 1.0.8 | July 02, 2013 |
| ||
| 1.0.7 | July 02, 2013 | |||
| 1.0.6 | July 01, 2013 |
| ||
| 1.0.5 | July 01, 2013 | |||
| 1.0.4 | June 28, 2013 |
| ||
| 1.0.3 | June 27, 2013 |
| ||
| 1.0.2 | June 27, 2013 |
| ||
| 1.0.1 | June 26, 2013 | |||
| 1.0.0 | June 26, 2013 |
| ||
| 1.0.1 | June 26, 2013 |
| ||
| 1.0 | June 25, 2013 |
| ||
| 0.9.5 | June 18, 2013 |
| ||
| 0.9.4 | June 18, 2013 |
| ||
| 0.9.3 | June 14, 2013 | |||
| 0.9.2 | June 13, 2013 | |||
| 0.9.1 | June 10, 2013 | |||
| 0.9 | June 10, 2013 |
| ||
| 0.8.3 | June 7, 2013 | |||
| 0.8.2 | May 27, 2013 | |||
| 0.8.1 | May 21, 2013 |
| ||
| 0.8 | May 20, 2013 |
| ||
| 0.7.2 | May 15, 2013 |
| ||
| 0.7 | May 13, 2013 |
| ||
| 0.7.1 | May 4, 2013 |
| ||
| 0.7 | May 2, 2013 | |||
| 0.6 | April 25, 2013 | |||
| 0.5 | April 23, 2013 |
| ||
| 0.4 | April 23, 2013 |
| ||
| 0.3 | April 22, 2013 |
| ||
| 0.2 | April 19, 2013 |
| ||
| 0.1 | April 18, 2013 | * .minecraft directory structure is changed:
|
| a | |||||
|---|---|---|---|---|---|
1.0.0{{Extension DPL}}<ul><li>[[Spawn Egg|Spawn Egg]]<br/>{{distinguish|Egg|Frogspawn|Dragon Egg|Sniffer Egg|Turtle Egg}}
{{Item
| image = Spawn Egg.png
| extratext = View [[#Gallery|all renders]]
| stackable = Yes (64), the same type of spawn egg only
| renewable = No
}}
{{Many images}}
A '''spawn egg'''<ref group=fn>Known as '''''<Mob>'' Spawn Egg''' {{in|java}} and '''Spawn ''<Mob>''''' {{in|bedrock}}, where ''<Mob>'' is the name of the mob it spawns.</ref> is an [[item]] used to spawn [[mobs]] directly.
== Obtaining ==
Spawn eggs can be obtained only in [[Creative]] mode or using [[commands]]. In Creative mode, the [[player]] can press {{control|pick block}} on an existing mob to obtain their respective egg. Spawn eggs are also available in the Creative inventory. There are 77 spawn eggs {{in|bedrock}} and 75 spawn eggs {{in|java}}.
== Usage ==
A spawn egg is used by pressing {{control|use}} on any surface (top, bottom, or side) with the egg. When used on a top surface, the egg's [[mob]] appears with its feet immediately adjacent to the surface, and its ambient sound is played.
Spawn eggs are not thrown (unlike normal [[egg]]s); the player must be within normal range of the block to use the spawn egg. Ocelot and all monster mobs (except [[shulker]]s, [[piglin]]s, [[hoglin]]s; and in Bedrock Edition, also include [[vindicators]], [[evoker]]s, [[zoglin]]s, [[piglin brute]]s) spawned while on Peaceful difficulty get created and immediately deleted from the world.
The surfaces of blocks are prioritized for spawning; if none are within reach, mobs can also be spawned in [[water]].
=== Dispensers ===
A spawn egg fired from a [[dispenser]] spawns the [[mob]] directly in front of the dispenser. The spawn egg is consumed when fired.
=== Baby mobs ===
If the [[player]] {{control|uses}} a spawn egg on the type of [[mob]] it spawns, and that mob has a baby form, the egg spawns a baby version of the mob. In mobs that can breed, the baby is created by breeding the clicked mob to itself. For instance, using a sheep spawn egg on a [[sheep]] makes a baby sheep with the same wool color.{{only|java}}
Other mobs such as [[evoker]]s, [[vindicator]]s, [[vex]]es, [[piglin brute]]s, [[ravager]]s, [[phantom]]s, [[skeleton]]s, [[pillager]]s, [[creeper]]s and [[wither skeleton]]s do not have a baby variant, so the egg still spawns an adult.
=== Monster spawners ===
All spawn eggs can also be {{Control|used}} on a [[monster spawner]] to change the [[mob]] the monster spawner spawns. {{IN|bedrock}}, spawn eggs for any of the fish mobs spawn them only if the monster spawner is waterlogged.
=== Renaming ===
A spawn egg can be renamed on an [[anvil]], and when used it spawns a [[mob]] with that name appearing over its head. The name can be seen only by aiming at the mob from four or fewer blocks away. This name also appears in [[death messages]] from the mob killing a [[player]]. If the player renames a spawn egg by the names described below, the mob appears described below. If the player renames a [[rabbit]] spawn egg "Toast", the secret skin of the rabbit appears when the egg is used. Naming a spawn egg "Dinnerbone" or "Grumm" causes the mob to appear upside down and show the given name above it. Renaming a [[vindicator]] "Johnny" causes it to act hostile to all mobs except for other illagers. Renaming a [[sheep]] "jeb_" makes the sheep's wool color cycle in a rainbow loop. This doesn't change the color of the wool the sheep drops. Renaming a spawn egg of a [[Hostile mob|hostile mob]] with an [[anvil]] and then spawning the hostile mob with the renamed spawn egg does not prevent the hostile mob from despawning, unlike using a [[Name Tag|name tag]] on the mob.
=== Survival mode ===
Mobs can be spawned with spawn eggs in [[Survival]] mode, but spawn eggs are [[Content inaccessible in Survival|not obtainable in Survival]] without cheats; they can be obtained only using the Creative menu or commands. Unlike in creative, spawn eggs are consumed when used in survival.
== List of spawn eggs ==
There is a spawn egg for almost every mob in the game; exceptions are listed below this table.
{| class="wikitable" data-description="Spawn eggs and availability"
! Egg
! Spawns
! Notes
|-
! colspan="4"| Hostile and neutral mobs
|-
| align="center"| {{InvSprite|Bee Spawn Egg}}
| {{EntityLink|Bee}}
| Bees have 5% chance of spawning as a baby.
|-
|align="center"| {{InvSprite|Blaze Spawn Egg}}
| {{EntityLink|Blaze}}
|
|-
|align="center"| {{InvSprite|Cave Spider Spawn Egg}}
| {{EntityLink|Cave Spider}}
| Cave spiders have a 1% chance of spawning a {{EntityLink|Cave Spider Jockey}}. {{only|bedrock}}
|-
|align="center"| {{InvSprite|Creeper Spawn Egg}}
| {{EntityLink|Creeper}}
| Creepers can never spawn [[Creeper#Charged creeper|charged]].
|-
|align="center"| {{InvSprite|Dolphin Spawn Egg}}
| {{EntityLink|Dolphin}}
| {{IN|bedrock}}, dolphins have 10% chance of spawning as a baby.
|-
|align="center" |{{InvSprite|Drowned Spawn Egg}}
| {{EntityLink|Drowned}}
| Drowned can spawn holding [[trident]]s, [[fishing rod]]s, or [[nautilus shell]]s. Drowned have 5% chance of spawning as a baby.<ref name="LazilyCodedSpawnEggs">{{bug|MC-167377}}</ref>
|-
|align="center"| {{InvSprite|Elder Guardian Spawn Egg}}
| {{EntityLink|Elder Guardian}}
|
|-
|align="center"| {{InvSprite|Ender Dragon Spawn Egg}}
| {{EntityLink|Ender Dragon}}
| Only accessible via commands to prevent accidental destruction of player builds.
|-
|align="center"| {{InvSprite|Enderman Spawn Egg}}
| {{EntityLink|Enderman}}
| Endermen spawn neutral and not holding a block.
|-
|align="center"| {{InvSprite|Endermite Spawn Egg}}
| {{EntityLink|Endermite}}
|
|-
|align="center"| {{InvSprite|Evoker Spawn Egg}}
| {{EntityLink|Evoker}}
|
|-
|align="center"| {{InvSprite|Ghast Spawn Egg}}
| {{EntityLink|Ghast}}
|
|-
|align="center"| {{InvSprite|Goat Spawn Egg}}
| {{EntityLink|Goat}}
|Goats spawn with two horns and have a 5% chance spawning as a baby, and a 2% chance of spawning as a screaming goat.
|-
|align="center"| {{InvSprite|Guardian Spawn Egg}}
| {{EntityLink|Guardian}}
|
|-
|align="center"| {{InvSprite|Hoglin Spawn Egg}}
| {{EntityLink|Hoglin}}
| Hoglins have 5% chance of spawning as a baby.
|-
|align="center"| {{InvSprite|Husk Spawn Egg}}
| {{EntityLink|Husk}}
| Husks have a 5% chance of spawning as a baby. Baby husks have a 5%{{only|java|short=1}} or 15%{{only|bedrock|short=1}} chance of spawning as a {{EntityLink|Chicken Husk Jockey|Chicken Jockey}}. There is also a chance of them holding [[Zombie#Armed zombies|tools, weapons or armor]]. Baby variants are randomly spawned.<ref name="LazilyCodedSpawnEggs"/>
|-
|align="center"| {{InvSprite|Iron Golem Spawn Egg}}
| {{EntityLink|Iron Golem}}
|These golems are neutral like the [[village]] golems.
|-
|align="center"| {{InvSprite|Llama Spawn Egg}}
| {{EntityLink|Llama}}
| Llamas spawn untamed and have a 10% chance of spawning as a baby.
|-
|align="center"| {{InvSprite|Magma Cube Spawn Egg}}
| {{EntityLink|Magma Cube}}
| Magma cubes spawn with a random size.
|-
|align="center"| {{InvSprite|Panda Spawn Egg}}
| {{EntityLink|Panda}}
| Pandas spawn with a random personality and have a 5% chance of spawning as a baby.
|-
|align="center"| {{InvSprite|Phantom Spawn Egg}}
| {{EntityLink|Phantom}}
|
|-
|align="center"| {{InvSprite|Piglin Spawn Egg}}
| {{EntityLink|Piglin}}
| Piglins have a 25%{{only|Java|short=1}} or 5%{{only|bedrock|short=1}} chance of spawning as a baby. They may also spawn with an [[enchanted]] [[crossbow]] or [[golden sword]] and [[golden armor]].
|-
|align="center"| {{InvSprite|Piglin Brute Spawn Egg}}
| {{EntityLink|Piglin Brute}}
| Piglin brutes never spawn with armor.
|-
|align="center"| {{InvSprite|Pillager Spawn Egg}}
| {{EntityLink|Pillager}}
| Pillagers have a chance of spawning with an [[enchanted]] [[crossbow]].
|-
|align="center"| {{InvSprite|Polar Bear Spawn Egg}}
| {{EntityLink|Polar Bear}}
| Polar bears have a 10% chance of spawning as a baby.
|-
|align="center"| {{InvSprite|Ravager Spawn Egg}}
| {{EntityLink|Ravager}}
| Ravagers never spawn being ridden by [[illager]]s.
|-
|align="center"| {{InvSprite|Shulker Spawn Egg}}
| {{EntityLink|Shulker}}
| Shulkers spawn undyed. Their orientation is also dependent on where the shulker is placed.
|-
|align="center"| {{InvSprite|Silverfish Spawn Egg}}
| {{EntityLink|Silverfish}}
|
|-
|align="center"| {{InvSprite|Skeleton Spawn Egg}}
| {{EntityLink|Skeleton}}
|[[Skeleton]] eggs used in the [[Overworld]] and [[the End]] always spawn regular [[skeleton]]s.<br>{{IN|bedrock}}, eggs used in [[the Nether]] have an 80% chance to spawn [[wither skeleton]]s.<br>{{IN|bedrock}}, eggs used in [[Snowy Tundra]], [[Ice Spikes]], [[Snowy Mountains]], [[Frozen River]], [[Frozen Ocean]], [[Deep Frozen Ocean]] and [[Legacy Frozen Ocean]] [[biome]]s have an 80% chance to spawn [[stray]]s, if spawned with a clear view of the sky. They may also spawn with an [[enchanted]] [[bow]] and [[armor]].
|-
|align="center"| {{InvSprite|Slime Spawn Egg}}
| {{EntityLink|Slime}}
| Slimes spawn with a random size.
|-
|align="center"| {{InvSprite|Spider Spawn Egg}}
| {{EntityLink|Spider}}
| Spiders have a 1% chance to spawn a {{EntityLink|Spider Jockey}}.
|-
|align="center"| {{InvSprite|Stray Spawn Egg}}
| {{EntityLink|Stray}}
| Strays may spawn with an [[enchanted]] [[bow]] and [[armor]].
|-
|align="center"| {{InvSprite|Trader Llama Spawn Egg}}
| {{EntityLink|Trader Llama}}
|
|-
|align="center"| {{InvSprite|Vex Spawn Egg}}
| {{EntityLink|Vex}}
|
|-
|align="center"| {{InvSprite|Vindicator Spawn Egg}}
| {{EntityLink|Vindicator}}
| Vindicators never spawn as captains.{{only|bedrock}} They may spawn with an [[enchanted]] [[axe]].
|-
|align="center"| {{InvSprite|Warden Spawn Egg}}
| {{EntityLink|Warden}}
|
|-
|align="center"| {{InvSprite|Witch Spawn Egg}}
| {{EntityLink|Witch}}
|
|-
|align="center"| {{InvSprite|Wither Spawn Egg}}
| {{EntityLink|Wither}}
| Only accessible via commands to prevent accidental destruction of player builds.
|-
|align="center"| {{InvSprite|Wither Skeleton Spawn Egg}}
| {{EntityLink|Wither Skeleton}}
|
|-
|align="center"| {{InvSprite|Wolf Spawn Egg}}
| {{EntityLink|Wolf}}
| Wolves spawn untamed and neutral. Wolves have a 5% chance of spawning as a baby.
|-
|align="center"| {{InvSprite|Zoglin Spawn Egg}}
| {{EntityLink|Zoglin}}
|
|-
|align="center"| {{InvSprite|Zombie Spawn Egg}}
| {{EntityLink|Zombie}}
| Zombies do not spawn as [[zombie villager]]s, but they have a 5% chance of spawning as a baby.<ref name="LazilyCodedSpawnEggs"/> There is also a chance of them holding [[Zombie#Geared zombies|tools, weapons or armor]]. A baby zombie has a 5%{{only|java|short=1}} or 15%{{only|bedrock}} chance of spawning as a {{EntityLink|Chicken Jockey}}.
|-
|align="center"| {{InvSprite|Zombie Villager Spawn Egg}}
| {{EntityLink|Zombie Villager}}
| Zombie villagers' professions are randomized.{{only|Java}} Their outfit depends on the biome, and they have a 5% chance of spawning as a baby.<ref name="LazilyCodedSpawnEggs"/> A baby zombie villager has a 5%{{only|java|short=1}} or 15%{{only|bedrock}} chance of spawning as a {{EntityLink|Chicken Zombie Villager Jockey|Chicken Jockey}}.
{{IN|bedrock}}, they never spawn with equipment.
|-
|align="center"| {{InvSprite|Zombified Piglin Spawn Egg}}
| {{EntityLink|Zombified Piglin}}
| Zombified piglins spawn neutral and have a 5% chance of spawning as a baby.<ref name="LazilyCodedSpawnEggs"/> A baby zombified piglin has a 5% chance of spawning as a {{EntityLink|Chicken Zombified Piglin Jockey|Chicken Jockey}}.{{only|java|short=1}} They may also spawn with an [[enchanted]] [[sword]].
|-
!colspan="4"| Passive mobs
|-
|align="center"| {{InvSprite|Spawn Agent}}
| {{EntityLink|Agent}}
|
|-
|align="center"| {{InvSprite|Allay Spawn Egg}}
| {{EntityLink|Allay}}
|
|-
|align="center"| {{InvSprite|Axolotl Spawn Egg}}
| {{EntityLink|Axolotl}}
|Axolotls' skins are randomized and have a 5% chance of spawning as a baby.
|-
|align="center"| {{InvSprite|Bat Spawn Egg}}
| {{EntityLink|Bat}}
| If the player is far enough away when using the spawn egg on the bottom of an opaque block, the bat hangs upside down from it.
|-
|align="center"| {{InvSprite|Camel Spawn Egg}}
| {{EntityLink|Camel}}
|
|-
|align="center"| {{InvSprite|Cat Spawn Egg}}
| {{EntityLink|Cat}}
| Cats' skins are randomized and always spawn stray cats. Cats have a 25% chance of spawning as a baby.
|-
|align="center"| {{InvSprite|Chicken Spawn Egg}}
| {{EntityLink|Chicken}}
| Chickens have a 5% chance of spawning as a baby.
|-
|align="center"| {{InvSprite|Cod Spawn Egg}}
| {{EntityLink|Cod}}
|Cods have a 0% chance of spawning as a baby. Baby cods can only be found naturally.
|-
|align="center"| {{InvSprite|Cow Spawn Egg}}
| {{EntityLink|Cow}}
| Cows have a 5% chance of spawning as a baby.
|-
|align="center"| {{InvSprite|Donkey Spawn Egg}}
| {{EntityLink|Donkey}}
| Donkeys spawn untamed and have a 20% chance of spawning as a baby.
|-
|align="center"| {{InvSprite|Fox Spawn Egg}}
| {{EntityLink|Fox}}
| Foxes spawn untrusting, with their skins depending on the biome. They can spawn holding items and have 5% chance of spawning as a baby.
|-
|align="center"| {{InvSprite|Frog Spawn Egg}}
| {{EntityLink|Frog}}
| Frog skins are biome-dependent.
|-
|align="center"| {{InvSprite|Glow Squid Spawn Egg}}
| {{EntityLink|Glow Squid}}
| {{IN|bedrock}}, glow squids have a 5% chance of spawning as a baby.
|-
|align="center"| {{InvSprite|Horse Spawn Egg}}
| {{EntityLink|Horse}}
| Horses spawn untamed and have a 20% chance of spawning as a baby.
|-
|align="center"| {{InvSprite|Mooshroom Spawn Egg}}
| {{EntityLink|Mooshroom}}
| Mooshrooms always spawn red and have a 5% chance of spawning as a baby.
|-
|align="center"| {{InvSprite|Mule Spawn Egg}}
| {{EntityLink|Mule}}
| Mules have a 20% chance of spawning as a baby.
|-
|align=“center” | {{InvSprite|Spawn NPC}}
| {{EntityLink|NPC}}
|There is an equal chance of spawning each of the 5 variants of this mob from the egg.
|-
|align="center"| {{InvSprite|Ocelot Spawn Egg}}
| {{EntityLink|Ocelot}}
| Ocelots spawn untrusting.<br>{{frac|1|7}} of the time (14.3%), an ocelot spawns with two ocelot kittens.
|-
|align="center"| {{InvSprite|Parrot Spawn Egg}}
| {{EntityLink|Parrot}}
| Parrots spawn untamed and with a random color.
|-
|align="center"| {{InvSprite|Pig Spawn Egg}}
| {{EntityLink|Pig}}
| Pigs spawn without a [[saddle]] and have a 5% chance of spawning as a baby.
|-
|align="center"| {{InvSprite|Pufferfish Spawn Egg}}
| {{EntityLink|Pufferfish}}
|
|-
|align="center"| {{InvSprite|Rabbit Spawn Egg}}
| {{EntityLink|Rabbit}}
| Rabbit skins are random and biome-dependent. The black-and-white rabbit spawns only if the spawn egg is renamed <code>[[Rabbit#Toast|Toast]]</code>. Rabbits have a 25% chance of spawning as a baby.
|-
|align="center"| {{InvSprite|Salmon Spawn Egg}}
| {{EntityLink|Salmon}}
| {{IN|bedrock}}, salmon spawn with a random size.
|-
|align="center"| {{InvSprite|Sheep Spawn Egg}}
| {{EntityLink|Sheep}}
| Sheep spawn with the colors that can appear naturally; see {{slink|Sheep|Spawning}} for details. Sheep have a 5% chance of spawning as a baby.
|-
|align="center"| {{InvSprite|Skeleton Horse Spawn Egg}}
| {{EntityLink|Skeleton Horse}}
| Skeleton horses have a 20% chance of spawning as a baby and never spawn as a skeleton trap.
|-
|align="center"| {{InvSprite|Sniffer Spawn Egg}}
| {{EntityLink|Sniffer}}
|Baby sniffers can also be spawned by the [[Sniffer Egg|Sniffer Egg.]]
|-
|align="center"| {{InvSprite|Snow Golem Spawn Egg}}
| {{EntityLink|Snow Golem}}
|
|-
|align="center"| {{InvSprite|Squid Spawn Egg}}
| {{EntityLink|Squid}}
| {{IN|bedrock}}, squid have a 5% chance of spawning as a baby.
|-
|align="center"| {{InvSprite|Strider Spawn Egg}}
| {{EntityLink|Strider}}
| Striders have a {{frac|1|10}} chance of spawning ridden by a baby strider and a {{frac|1|30}} chance of spawning ridden by a [[zombified piglin]].
|-
|align="center"| {{InvSprite|Tadpole Spawn Egg}}
| {{EntityLink|Tadpole}}
| Also spawned from [[frogspawn]].
|-
|align="center"| {{InvSprite|Tropical Fish Spawn Egg}}
| {{EntityLink|Tropical Fish}}
| Shapes, colors, and patterns are randomized, though 90% of the time the tropical fish will spawn as 1 of the 22 uniquely-named variants.
|-
|align="center"| {{InvSprite|Turtle Spawn Egg}}
| {{EntityLink|Turtle}}
| Turtles have a 10% chance of spawning as a baby.
|-
|align="center"| {{InvSprite|Villager Spawn Egg}}
| {{EntityLink|Villager}}
| Villagers' professions are randomized{{only|bedrock|short=1}}<ref>{{bug|MCPE-46034}}</ref> or unemployed{{only|java|short=1}}, but their outfit is biome-dependent. They have a 5% chance of spawning as a baby.
|-
|align="center"| {{InvSprite|Wandering Trader Spawn Egg}}
| {{EntityLink|Wandering Trader}}
| {{IN|bedrock}}, wandering traders always spawn with two leashed trader llamas.
|-
|align="center"| {{InvSprite|Zombie Horse Spawn Egg}}
| {{EntityLink|Zombie Horse}}
| Zombie horses have a 20% chance of spawning as a baby.
|}
=== Mobs without spawn eggs ===
The following mobs do not have explicitly defined spawn eggs. Custom spawn eggs can be created with a custom NBT tag that changes the spawned entity, however no spawn egg explicitly associated with any of the mobs exist.
{| class="wikitable" data-description="spawn eggs and availability"
! Mob
! Reason
|-
! colspan="2" | Variants
|-
! {{EntityLink|Brown Mooshroom}}
| Shares ID with red variant
|-
! colspan="2" | Other mobs
|-
! {{EntityLink|Giant}}
| Unused<ref>{{bug|MC-257115|||WAI}}</ref>
|-
! {{EntityLink|Illusioner}}
| Unused<ref>{{bug|MC-257115|||WAI}}</ref>
|}
=== Education Edition spawn eggs ===
These spawn eggs exist {{in|education}} and {{in|bedrock}}:
* {{InvSprite|Spawn Agent}} {{EntityLink|Agent}}
* {{InvSprite|Spawn NPC}} {{EntityLink|NPC}}
The NPC and agent can both be spawned {{in|bedrock}}, however, the agent is not visible or interactable in any way, though it still prevents the placing of blocks and entities.
=== Minecraft Earth spawn eggs ===
These unused spawn egg textures existed {{in|earth}}:
* {{InvSprite|Cluckshroom Spawn Egg}} {{EntityLink|Cluckshroom}}
* {{InvSprite|Horned Sheep Spawn Egg}} {{EntityLink|Horned Sheep}}
* {{InvSprite|Jumbo Rabbit Spawn Egg}} {{EntityLink|Jumbo Rabbit}}
* {{InvSprite|Moobloom Spawn Egg}} {{EntityLink|Moobloom}}
=== April Fools spawn eggs ===
* {{InvSprite|Moon Cow Spawn Egg}} {{EntityLink|Moon Cow}}
== Sounds ==
When a mob is spawned, it immediately makes its ambient sound.
== Data values ==
=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|showforms=y
|generatetranslationkeys=y
|displayname=Allay Spawn Egg
|spritetype=item
|nameid=allay_spawn_egg
|form=item}}
{{ID table
|displayname=Axolotl Spawn Egg
|spritetype=item
|nameid=axolotl_spawn_egg
|form=item}}
{{ID table
|displayname=Bat Spawn Egg
|spritetype=item
|nameid=bat_spawn_egg
|form=item}}
{{ID table
|displayname=Bee Spawn Egg
|spritetype=item
|nameid=bee_spawn_egg
|form=item}}
{{ID table
|displayname=Blaze Spawn Egg
|spritetype=item
|nameid=blaze_spawn_egg
|form=item}}
{{ID table
|displayname=Camel Spawn Egg
|spritetype=item
|nameid=camel_spawn_egg
|form=item}}
{{ID table
|displayname=Cat Spawn Egg
|spritetype=item
|nameid=cat_spawn_egg
|form=item}}
{{ID table
|displayname=Cave Spider Spawn Egg
|spritetype=item
|nameid=cave_spider_spawn_egg
|form=item}}
{{ID table
|displayname=Chicken Spawn Egg
|spritetype=item
|nameid=chicken_spawn_egg
|form=item}}
{{ID table
|displayname=Cod Spawn Egg
|spritetype=item
|nameid=cod_spawn_egg
|form=item}}
{{ID table
|displayname=Cow Spawn Egg
|spritetype=item
|nameid=cow_spawn_egg
|form=item}}
{{ID table
|displayname=Creeper Spawn Egg
|spritetype=item
|nameid=creeper_spawn_egg
|form=item}}
{{ID table
|displayname=Dolphin Spawn Egg
|spritetype=item
|nameid=dolphin_spawn_egg
|form=item}}
{{ID table
|displayname=Donkey Spawn Egg
|spritetype=item
|nameid=donkey_spawn_egg
|form=item}}
{{ID table
|displayname=Drowned Spawn Egg
|spritetype=item
|nameid=drowned_spawn_egg
|form=item}}
{{ID table
|displayname=Elder Guardian Spawn Egg
|spritetype=item
|nameid=elder_guardian_spawn_egg
|form=item}}
{{ID table
|displayname=Ender Dragon Spawn Egg
|spritetype=item
|nameid=ender_dragon_spawn_egg
|form=item}}
{{ID table
|displayname=Enderman Spawn Egg
|spritetype=item
|nameid=enderman_spawn_egg
|form=item}}
{{ID table
|displayname=Endermite Spawn Egg
|spritetype=item
|nameid=endermite_spawn_egg
|form=item}}
{{ID table
|displayname=Evoker Spawn Egg
|spritetype=item
|nameid=evoker_spawn_egg
|form=item}}
{{ID table
|displayname=Fox Spawn Egg
|spritetype=item
|nameid=fox_spawn_egg
|form=item}}
{{ID table
|displayname=Frog Spawn Egg
|spritetype=item
|nameid=frog_spawn_egg
|form=item}}
{{ID table
|displayname=Ghast Spawn Egg
|spritetype=item
|nameid=ghast_spawn_egg
|form=item}}
{{ID table
|displayname=Glow Squid Spawn Egg
|spritename=glow-squid-spawn-egg
|spritetype=item
|nameid=glow_squid_spawn_egg
|form=item}}
{{ID table
|displayname=Goat Spawn Egg
|spritetype=item
|nameid=Goat_spawn_egg
|form=item}}
{{ID table
|displayname=Guardian Spawn Egg
|spritetype=item
|nameid=guardian_spawn_egg
|form=item}}
{{ID table
|displayname=Hoglin Spawn Egg
|spritetype=item
|nameid=hoglin_spawn_egg
|form=item}}
{{ID table
|displayname=Horse Spawn Egg
|spritetype=item
|nameid=horse_spawn_egg
|form=item}}
{{ID table
|displayname=Husk Spawn Egg
|spritetype=item
|nameid=husk_spawn_egg
|form=item}}
{{ID table
|displayname=Iron Golem Spawn Egg
|spritetype=item
|nameid=iron_golem_spawn_egg
|form=item}}
{{ID table
|displayname=Llama Spawn Egg
|spritetype=item
|nameid=llama_spawn_egg
|form=item}}
{{ID table
|displayname=Magma Cube Spawn Egg
|spritetype=item
|nameid=magma_cube_spawn_egg
|form=item}}
{{ID table
|displayname=Mooshroom Spawn Egg
|spritetype=item
|nameid=mooshroom_spawn_egg
|form=item}}
{{ID table
|displayname=Mule Spawn Egg
|spritetype=item
|nameid=mule_spawn_egg
|form=item}}
{{ID table
|displayname=Ocelot Spawn Egg
|spritetype=item
|nameid=ocelot_spawn_egg
|form=item}}
{{ID table
|displayname=Panda Spawn Egg
|spritetype=item
|nameid=panda_spawn_egg
|form=item}}
{{ID table
|displayname=Parrot Spawn Egg
|spritetype=item
|nameid=parrot_spawn_egg
|form=item}}
{{ID table
|displayname=Phantom Spawn Egg
|spritetype=item
|nameid=phantom_spawn_egg
|form=item}}
{{ID table
|displayname=Pig Spawn Egg
|spritetype=item
|nameid=pig_spawn_egg
|form=item}}
{{ID table
|displayname=Piglin Spawn Egg
|spritetype=item
|nameid=piglin_spawn_egg
|form=item}}
{{ID table
|displayname=Piglin Brute Spawn Egg
|spritetype=item
|nameid=piglin_brute_spawn_egg
|form=item}}
{{ID table
|displayname=Pillager Spawn Egg
|spritetype=item
|nameid=pillager_spawn_egg
|form=item}}
{{ID table
|displayname=Polar Bear Spawn Egg
|spritetype=item
|nameid=polar_bear_spawn_egg
|form=item}}
{{ID table
|displayname=Pufferfish Spawn Egg
|spritetype=item
|nameid=pufferfish_spawn_egg
|form=item}}
{{ID table
|displayname=Rabbit Spawn Egg
|spritetype=item
|nameid=rabbit_spawn_egg
|form=item}}
{{ID table
|displayname=Ravager Spawn Egg
|spritetype=item
|nameid=ravager_spawn_egg
|form=item}}
{{ID table
|displayname=Salmon Spawn Egg
|spritetype=item
|nameid=salmon_spawn_egg
|form=item}}
{{ID table
|displayname=Sheep Spawn Egg
|spritetype=item
|nameid=sheep_spawn_egg
|form=item}}
{{ID table
|displayname=Shulker Spawn Egg
|spritetype=item
|nameid=shulker_spawn_egg
|form=item}}
{{ID table
|displayname=Silverfish Spawn Egg
|spritetype=item
|nameid=silverfish_spawn_egg
|form=item}}
{{ID table
|displayname=Skeleton Spawn Egg
|spritetype=item
|nameid=skeleton_spawn_egg
|form=item}}
{{ID table
|displayname=Skeleton Horse Spawn Egg
|spritetype=item
|nameid=skeleton_horse_spawn_egg
|form=item}}
{{ID table
|displayname=Slime Spawn Egg
|spritetype=item
|nameid=slime_spawn_egg
|form=item}}
{{ID table
|displayname=Sniffer Spawn Egg
|spritetype=item
|nameid=sniffer_spawn_egg
|form=item}}
{{ID table
|displayname=Snow Golem Spawn Egg
|spritetype=item
|nameid=snow_golem_spawn_egg
|form=item}}
{{ID table
|displayname=Spider Spawn Egg
|spritetype=item
|nameid=spider_spawn_egg
|form=item}}
{{ID table
|displayname=Squid Spawn Egg
|spritetype=item
|nameid=squid_spawn_egg
|form=item}}
{{ID table
|displayname=Stray Spawn Egg
|spritetype=item
|nameid=stray_spawn_egg
|form=item}}
{{ID table
|displayname=Strider Spawn Egg
|spritetype=item
|nameid=strider_spawn_egg
|form=item}}
{{ID table
|displayname=Tadpole Spawn Egg
|spritetype=item
|nameid=tadpole_spawn_egg
|form=item}}
{{ID table
|displayname=Trader Llama Spawn Egg
|spritetype=item
|nameid=trader_llama_spawn_egg
|form=item}}
{{ID table
|displayname=Tropical Fish Spawn Egg
|spritetype=item
|nameid=tropical_fish_spawn_egg
|form=item}}
{{ID table
|displayname=Turtle Spawn Egg
|spritetype=item
|nameid=turtle_spawn_egg
|form=item}}
{{ID table
|displayname=Vex Spawn Egg
|spritetype=item
|nameid=vex_spawn_egg
|form=item}}
{{ID table
|displayname=Villager Spawn Egg
|spritetype=item
|nameid=villager_spawn_egg
|form=item}}
{{ID table
|displayname=Vindicator Spawn Egg
|spritetype=item
|nameid=vindicator_spawn_egg
|form=item}}
{{ID table
|displayname=Wandering Trader Spawn Egg
|spritetype=item
|nameid=wandering_trader_spawn_egg
|form=item}}
{{ID table
|displayname=Warden Spawn Egg
|spritetype=item
|nameid=warden_spawn_egg
|form=item}}
{{ID table
|displayname=Witch Spawn Egg
|spritetype=item
|nameid=witch_spawn_egg
|form=item}}
{{ID table
|displayname=Wither Spawn Egg
|spritetype=item
|nameid=wither_spawn_egg
|form=item}}
{{ID table
|displayname=Wither Skeleton Spawn Egg
|spritetype=item
|nameid=wither_skeleton_spawn_egg
|form=item}}
{{ID table
|displayname=Wolf Spawn Egg
|spritetype=item
|nameid=wolf_spawn_egg
|form=item}}
{{ID table
|displayname=Zoglin Spawn Egg
|spritetype=item
|nameid=zoglin_spawn_egg
|form=item}}
{{ID table
|displayname=Zombie Spawn Egg
|spritetype=item
|nameid=zombie_spawn_egg
|form=item}}
{{ID table
|displayname=Zombie Horse Spawn Egg
|spritetype=item
|nameid=zombie_horse_spawn_egg
|form=item}}
{{ID table
|displayname=Zombie Villager Spawn Egg
|spritetype=item
|nameid=zombie_villager_spawn_egg
|form=item}}
{{ID table
|displayname=Zombified Piglin Spawn Egg
|spritetype=item
|nameid=zombified_piglin_spawn_egg
|form=item
|foot=1}}
{{edition|bedrock}}:
{{ID table
|edition=bedrock
|showaliasids=y
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=item.spawn_egg.name
|spritename=chicken-spawn-egg
|spritetype=item
|nameid=spawn_egg
|aliasid=spawn_egg / 0
|id=718
|form=item
|translationkey=-}}
{{ID table
|displayname=Spawn Agent
|spritetype=item
|nameid=agent_spawn_egg
|aliasid=spawn_egg / 56
|id=489
|form=item
|translationkey=item.spawn_egg.entity.agent.name}}
{{ID table
|displayname=Spawn Allay
|spritename=Allay Spawn Egg
|spritetype=item
|nameid=allay_spawn_egg
|aliasid=spawn_egg / 134
|id=639
|form=item
|translationkey=item.spawn_egg.entity.allay.name}}
{{ID table
|displayname=Spawn Axolotl
|spritename=Axolotl Spawn Egg
|spritetype=item
|nameid=axolotl_spawn_egg
|aliasid=spawn_egg / 130
|id=503
|form=item
|translationkey=item.spawn_egg.entity.axolotl.name}}
{{ID table
|displayname=Spawn Bat
|spritetype=item
|nameid=bat_spawn_egg
|aliasid=spawn_egg / 19
|id=455
|form=item
|translationkey=item.spawn_egg.entity.bat.name}}
{{ID table
|displayname=Spawn Bee
|spritetype=item
|nameid=bee_spawn_egg
|aliasid=spawn_egg / 122
|id=496
|form=item
|translationkey=item.spawn_egg.entity.bee.name}}
{{ID table
|displayname=Spawn Blaze
|spritetype=item
|nameid=blaze_spawn_egg
|aliasid=spawn_egg / 43
|id=458
|form=item
|translationkey=item.spawn_egg.entity.blaze.name}}
{{ID table
|displayname=Spawn Camel
|spritename=Camel Spawn Egg
|spritetype=item
|nameid=camel_spawn_egg
|aliasid=spawn_egg / 138
|id=663
|form=item
|translationkey=item.spawn_egg.entity.camel.name}}
{{ID table
|displayname=Spawn Cat
|spritetype=item
|nameid=cat_spawn_egg
|aliasid=spawn_egg / 75
|id=490
|form=item
|translationkey=item.spawn_egg.entity.cat.name}}
{{ID table
|displayname=Spawn Cave Spider
|spritetype=item
|nameid=cave_spider_spawn_egg
|aliasid=spawn_egg / 40
|id=459
|form=item
|translationkey=item.spawn_egg.entity.cave_spider.name}}
{{ID table
|displayname=Spawn Chicken
|spritetype=item
|nameid=chicken_spawn_egg
|aliasid=spawn_egg / 10
|id=437
|form=item
|translationkey=item.spawn_egg.entity.chicken.name}}
{{ID table
|displayname=Spawn Cod
|spritetype=item
|nameid=cod_spawn_egg
|aliasid=spawn_egg / 112
|id=482
|form=item
|translationkey=item.spawn_egg.entity.cod.name}}
{{ID table
|displayname=Spawn Cow
|spritetype=item
|nameid=cow_spawn_egg
|aliasid=spawn_egg / 11
|id=438
|form=item
|translationkey=item.spawn_egg.entity.cow.name}}
{{ID table
|displayname=Spawn Creeper
|spritetype=item
|nameid=creeper_spawn_egg
|aliasid=spawn_egg / 33
|id=443
|form=item
|translationkey=item.spawn_egg.entity.creeper.name}}
{{ID table
|displayname=Spawn Dolphin
|spritetype=item
|nameid=dolphin_spawn_egg
|aliasid=spawn_egg / 31
|id=486
|form=item
|translationkey=item.spawn_egg.entity.dolphin.name}}
{{ID table
|displayname=Spawn Donkey
|spritetype=item
|nameid=donkey_spawn_egg
|aliasid=spawn_egg / 24
|id=467
|form=item
|translationkey=item.spawn_egg.entity.donkey.name}}
{{ID table
|displayname=Spawn Drowned
|spritetype=item
|nameid=drowned_spawn_egg
|aliasid=spawn_egg / 110
|id=485
|form=item
|translationkey=item.spawn_egg.entity.drowned.name}}
{{ID table
|displayname=Spawn Elder Guardian
|spritetype=item
|nameid=elder_guardian_spawn_egg
|aliasid=spawn_egg / 50
|id=473
|form=item
|translationkey=item.spawn_egg.entity.elder_guardian.name}}
{{ID table
|displayname=Spawn Ender Dragon
|spritetype=item
|nameid=ender_dragon_spawn_egg
|aliasid=spawn_egg / 53
|id=508
|form=item
|translationkey=item.spawn_egg.entity.ender_dragon.name}}
{{ID table
|displayname=Spawn Enderman
|spritetype=item
|nameid=enderman_spawn_egg
|aliasid=spawn_egg / 38
|id=444
|form=item
|translationkey=item.spawn_egg.entity.enderman.name}}
{{ID table
|displayname=Spawn Endermite
|spritetype=item
|nameid=endermite_spawn_egg
|aliasid=spawn_egg / 55
|id=462
|form=item
|translationkey=item.spawn_egg.entity.endermite.name}}
{{ID table
|displayname=Spawn Evoker
|spritetype=item
|nameid=evoker_spawn_egg
|aliasid=spawn_egg / 104
|id=477
|form=item
|translationkey=item.spawn_egg.entity.evocation_illager.name}}
{{ID table
|displayname=Spawn Fox
|spritetype=item
|nameid=fox_spawn_egg
|aliasid=spawn_egg / 121
|id=492
|form=item
|translationkey=item.spawn_egg.entity.fox.name}}
{{ID table
|displayname=Spawn Frog
|spritetype=item
|nameid=frog_spawn_egg
|aliasid=spawn_egg / 132
|id=636
|form=item
|translationkey=item.spawn_egg.entity.frog.name}}
{{ID table
|displayname=Spawn Ghast
|spritetype=item
|nameid=ghast_spawn_egg
|aliasid=spawn_egg / 41
|id=456
|form=item
|translationkey=item.spawn_egg.entity.ghast.name}}
{{ID table
|displayname=Spawn Glow Squid
|spritename=glow-squid-spawn-egg
|spritetype=item
|nameid=glow_squid_spawn_egg
|aliasid=spawn_egg / 129
|id=505
|form=item
|translationkey=item.spawn_egg.entity.glow_squid.name}}
{{ID table
|displayname=Spawn Goat
|spritename=spawn-goat
|spritetype=item
|nameid=goat_spawn_egg
|aliasid=spawn_egg / 128
|id=504
|form=item
|translationkey=item.spawn_egg.entity.goat.name}}
{{ID table
|displayname=Spawn Guardian
|spritetype=item
|nameid=guardian_spawn_egg
|aliasid=spawn_egg / 49
|id=463
|form=item
|translationkey=item.spawn_egg.entity.guardian.name}}
{{ID table
|displayname=Spawn Hoglin
|spritetype=item
|nameid=hoglin_spawn_egg
|aliasid=spawn_egg / 124
|id=498
|form=item
|translationkey=item.spawn_egg.entity.hoglin.name}}
{{ID table
|displayname=Spawn Horse
|spritetype=item
|nameid=horse_spawn_egg
|aliasid=spawn_egg / 23
|id=460
|form=item
|translationkey=item.spawn_egg.entity.horse.name}}
{{ID table
|displayname=Spawn Husk
|spritetype=item
|nameid=husk_spawn_egg
|aliasid=spawn_egg / 47
|id=465
|form=item
|translationkey=item.spawn_egg.entity.husk.name}}
{{ID table
|displayname=Spawn Iron Golem
|spritetype=item
|nameid=iron_golem_spawn_egg
|aliasid=spawn_egg / 20
|id=506
|form=item
|translationkey=item.spawn_egg.entity.iron_golem.name}}
{{ID table
|displayname=Spawn Llama
|spritetype=item
|nameid=llama_spawn_egg
|aliasid=spawn_egg / 29
|id=475
|form=item
|translationkey=item.spawn_egg.entity.llama.name}}
{{ID table
|displayname=Spawn Magma Cube
|spritetype=item
|nameid=magma_cube_spawn_egg
|aliasid=spawn_egg / 42
|id=457
|form=item
|translationkey=item.spawn_egg.entity.magma_cube.name}}
{{ID table
|displayname=Spawn Mooshroom
|spritetype=item
|nameid=mooshroom_spawn_egg
|aliasid=spawn_egg / 16
|id=442
|form=item
|translationkey=item.spawn_egg.entity.mooshroom.name}}
{{ID table
|displayname=Spawn Mule
|spritetype=item
|nameid=mule_spawn_egg
|aliasid=spawn_egg / 25
|id=468
|form=item
|translationkey=item.spawn_egg.entity.mule.name}}
{{ID table
|displayname=Spawn NPC
|spritetype=item
|nameid=npc_spawn_egg
|aliasid=spawn_egg / 51
|id=472
|form=item
|translationkey=item.spawn_egg.entity.npc.name}}
{{ID table
|displayname=Spawn Ocelot
|spritetype=item
|nameid=ocelot_spawn_egg
|aliasid=spawn_egg / 22
|id=453
|form=item
|translationkey=item.spawn_egg.entity.ocelot.name}}
{{ID table
|displayname=Spawn Panda
|spritetype=item
|nameid=panda_spawn_egg
|aliasid=spawn_egg / 113
|id=491
|form=item
|translationkey=item.spawn_egg.entity.panda.name}}
{{ID table
|displayname=Spawn Parrot
|spritetype=item
|nameid=parrot_spawn_egg
|aliasid=spawn_egg / 30
|id=480
|form=item
|translationkey=item.spawn_egg.entity.parrot.name}}
{{ID table
|displayname=Spawn Phantom
|spritetype=item
|nameid=phantom_spawn_egg
|aliasid=spawn_egg / 58
|id=488
|form=item
|translationkey=item.spawn_egg.entity.phantom.name}}
{{ID table
|displayname=Spawn Pig
|spritetype=item
|nameid=pig_spawn_egg
|aliasid=spawn_egg / 12
|id=439
|form=item
|translationkey=item.spawn_egg.entity.pig.name}}
{{ID table
|displayname=Spawn Piglin Brute
|spritetype=item
|nameid=piglin_brute_spawn_egg
|aliasid=spawn_egg / 127
|id=501
|form=item
|translationkey=item.spawn_egg.entity.piglin_brute.name}}
{{ID table
|displayname=Spawn Piglin
|spritetype=item
|nameid=piglin_spawn_egg
|aliasid=spawn_egg / 123
|id=499
|form=item
|translationkey=item.spawn_egg.entity.piglin.name}}
{{ID table
|displayname=Spawn Pillager
|spritetype=item
|nameid=pillager_spawn_egg
|aliasid=spawn_egg / 114
|id=493
|form=item
|translationkey=item.spawn_egg.entity.pillager.name}}
{{ID table
|displayname=Spawn Polar Bear
|spritetype=item
|nameid=polar_bear_spawn_egg
|aliasid=spawn_egg / 28
|id=474
|form=item
|translationkey=item.spawn_egg.entity.polar_bear.name}}
{{ID table
|displayname=Spawn Pufferfish
|spritetype=item
|nameid=pufferfish_spawn_egg
|aliasid=spawn_egg / 108
|id=483
|form=item
|translationkey=item.spawn_egg.entity.pufferfish.name}}
{{ID table
|displayname=Spawn Rabbit
|spritetype=item
|nameid=rabbit_spawn_egg
|aliasid=spawn_egg / 18
|id=461
|form=item
|translationkey=item.spawn_egg.entity.rabbit.name}}
{{ID table
|displayname=Spawn Ravager
|spritetype=item
|nameid=ravager_spawn_egg
|aliasid=spawn_egg / 59
|id=495
|form=item
|translationkey=item.spawn_egg.entity.ravager.name}}
{{ID table
|displayname=Spawn Salmon
|spritetype=item
|nameid=salmon_spawn_egg
|aliasid=spawn_egg / 109
|id=484
|form=item
|translationkey=item.spawn_egg.entity.salmon.name}}
{{ID table
|displayname=Spawn Sheep
|spritetype=item
|nameid=sheep_spawn_egg
|aliasid=spawn_egg / 13
|id=440
|form=item
|translationkey=item.spawn_egg.entity.sheep.name}}
{{ID table
|displayname=Spawn Shulker
|spritetype=item
|nameid=shulker_spawn_egg
|aliasid=spawn_egg / 54
|id=471
|form=item
|translationkey=item.spawn_egg.entity.shulker.name}}
{{ID table
|displayname=Spawn Silverfish
|spritetype=item
|nameid=silverfish_spawn_egg
|aliasid=spawn_egg / 39
|id=445
|form=item
|translationkey=item.spawn_egg.entity.silverfish.name}}
{{ID table
|displayname=Spawn Skeleton Horse
|spritetype=item
|nameid=skeleton_horse_spawn_egg
|aliasid=spawn_egg / 26
|id=469
|form=item
|translationkey=item.spawn_egg.entity.skeleton_horse.name}}
{{ID table
|displayname=Spawn Skeleton
|spritetype=item
|nameid=skeleton_spawn_egg
|aliasid=spawn_egg / 34
|id=446
|form=item
|translationkey=item.spawn_egg.entity.skeleton.name}}
{{ID table
|displayname=Spawn Slime
|spritetype=item
|nameid=slime_spawn_egg
|aliasid=spawn_egg / 37
|id=447
|form=item
|translationkey=item.spawn_egg.entity.slime.name}}
{{ID table
|displayname=Spawn Sniffer
|spritetype=item
|nameid=sniffer_spawn_egg
|aliasid=spawn_egg / 139
|id=502
|form=item
|translationkey=item.spawn_egg.entity.sniffer.name}}
{{ID table
|displayname=Spawn Snow Golem
|spritetype=item
|nameid=snow_golem_spawn_egg
|aliasid=spawn_egg / 21
|id=507
|form=item
|translationkey=item.spawn_egg.entity.snow_golem.name}}
{{ID table
|displayname=Spawn Spider
|spritetype=item
|nameid=spider_spawn_egg
|aliasid=spawn_egg / 35
|id=448
|form=item
|translationkey=item.spawn_egg.entity.spider.name}}
{{ID table
|displayname=Spawn Squid
|spritetype=item
|nameid=squid_spawn_egg
|aliasid=spawn_egg / 17
|id=452
|form=item
|translationkey=item.spawn_egg.entity.squid.name}}
{{ID table
|displayname=Spawn Stray
|spritetype=item
|nameid=stray_spawn_egg
|aliasid=spawn_egg / 46
|id=464
|form=item
|translationkey=item.spawn_egg.entity.stray.name}}
{{ID table
|displayname=Spawn Strider
|spritetype=item
|nameid=strider_spawn_egg
|aliasid=spawn_egg / 125
|id=497
|form=item
|translationkey=item.spawn_egg.entity.strider.name}}
{{ID table
|displayname=Spawn Tadpole
|spritetype=item
|nameid=tadpole_spawn_egg
|aliasid=spawn_egg / 133
|id=637
|form=item
|translationkey=item.spawn_egg.entity.tadpole.name}}
{{ID table
|displayname=Spawn Trader Llama
|spritetype=item
|nameid=trader_llama_spawn_egg
|aliasid=spawn_egg / 157
|id=656
|form=item
|translationkey=item.spawn_egg.entity.trader_llama.name}}
{{ID table
|displayname=Spawn Tropical Fish
|spritetype=item
|nameid=tropical_fish_spawn_egg
|aliasid=spawn_egg / 111
|id=481
|form=item
|translationkey=item.spawn_egg.entity.tropicalfish.name}}
{{ID table
|displayname=Spawn Sea Turtle
|spritetype=item
|nameid=turtle_spawn_egg
|aliasid=spawn_egg / 74
|id=487
|form=item
|translationkey=item.spawn_egg.entity.turtle.name}}
{{ID table
|displayname=Spawn Vex
|spritetype=item
|nameid=vex_spawn_egg
|aliasid=spawn_egg / 105
|id=478
|form=item
|translationkey=item.spawn_egg.entity.vex.name}}
{{ID table
|displayname=Spawn Villager
|spritetype=item
|nameid=villager_spawn_egg
|aliasid=spawn_egg / 15, 115
|id=451
|form=item
|translationkey=item.spawn_egg.entity.villager_v2.name, item.spawn_egg.entity.villager.name}}
{{ID table
|displayname=Spawn Vindicator
|spritetype=item
|nameid=vindicator_spawn_egg
|aliasid=spawn_egg / 57
|id=476
|form=item
|translationkey=item.spawn_egg.entity.vindicator.name}}
{{ID table
|displayname=Spawn Wandering Trader
|spritetype=item
|nameid=wandering_trader_spawn_egg
|aliasid=spawn_egg / 118
|id=494
|form=item
|translationkey=item.spawn_egg.entity.wandering_trader.name}}
{{ID table
|displayname=Spawn Warden
|spritetype=item
|nameid=warden_spawn_egg
|aliasid=spawn_egg / 131
|id=640
|form=item
|translationkey=item.spawn_egg.entity.warden.name}}
{{ID table
|displayname=Spawn Witch
|spritetype=item
|nameid=witch_spawn_egg
|aliasid=spawn_egg / 45
|id=454
|form=item
|translationkey=item.spawn_egg.entity.witch.name}}
{{ID table
|displayname=Spawn Wither
|spritetype=item
|nameid=wither_spawn_egg
|aliasid=spawn_egg / 52
|id=509
|form=item
|translationkey=item.spawn_egg.entity.wither.name}}
{{ID table
|displayname=Spawn Wither Skeleton
|spritetype=item
|nameid=wither_skeleton_spawn_egg
|aliasid=spawn_egg / 48
|id=466
|form=item
|translationkey=item.spawn_egg.entity.wither_skeleton.name}}
{{ID table
|displayname=Spawn Wolf
|spritetype=item
|nameid=wolf_spawn_egg
|aliasid=spawn_egg / 14
|id=441
|form=item
|translationkey=item.spawn_egg.entity.wolf.name}}
{{ID table
|displayname=Spawn Zoglin
|spritetype=item
|nameid=zoglin_spawn_egg
|aliasid=spawn_egg / 126
|id=500
|form=item
|translationkey=item.spawn_egg.entity.zoglin.name}}
{{ID table
|displayname=Spawn Zombie Horse
|spritetype=item
|nameid=zombie_horse_spawn_egg
|aliasid=spawn_egg / 27
|id=470
|form=item
|translationkey=item.spawn_egg.entity.zombie_horse.name}}
{{ID table
|displayname=Spawn Zombified Piglin
|spritetype=item
|nameid=zombie_pigman_spawn_egg
|aliasid=spawn_egg / 36
|id=450
|form=item
|translationkey=item.spawn_egg.entity.zombie_pigman.name}}
{{ID table
|displayname=Spawn Zombie
|spritetype=item
|nameid=zombie_spawn_egg
|aliasid=spawn_egg / 32
|id=449
|form=item
|translationkey=item.spawn_egg.entity.zombie.name}}
{{ID table
|displayname=Spawn Zombie Villager
|spritetype=item
|nameid=zombie_villager_spawn_egg
|aliasid=spawn_egg / 44, 116
|id=479
|form=item
|translationkey=item.spawn_egg.entity.zombie_villager_v2.name, item.spawn_egg.entity.zombie_villager.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/Entity Spawners}}
</div>
{{el|bedrock}}:
: {{IN|bedrock}}, spawn eggs have no additional tags.
: See [[Bedrock Edition level format/Item format]].
== History ==
{{for|information on the historical colors of spawn eggs|Spawn Egg colors}}
{{Info needed|{{Edition|BE}} is outdated}}
{{History|java}}
{{History||1.1|snap=11w49a|[[File:Creeper Spawn Egg JE1.png|32px]] [[File:Spider Spawn Egg JE1.png|32px]] [[File:Skeleton Spawn Egg JE1.png|32px]] [[File:Zombie Spawn Egg JE1.png|32px]] [[File:Slime Spawn Egg JE1.png|32px]] [[File:Ghast Spawn Egg JE1.png|32px]] [[File:Zombie Pigman Spawn Egg JE1.png|32px]] [[File:Enderman Spawn Egg JE1.png|32px]] [[File:Cave Spider Spawn Egg JE1.png|32px]] [[File:Silverfish Spawn Egg JE1.png|32px]] [[File:Blaze Spawn Egg JE1.png|32px]] [[File:Magma Cube Spawn Egg JE1.png|32px]] [[File:Pig Spawn Egg JE1.png|32px]] [[File:Sheep Spawn Egg JE1.png|32px]] [[File:Cow Spawn Egg JE1.png|32px]] [[File:Chicken Spawn Egg JE1.png|32px]] [[File:Squid Spawn Egg JE1.png|32px]] [[File:Wolf Spawn Egg JE1.png|32px]] [[File:Mooshroom Spawn Egg JE1.png|32px]] [[File:Villager Spawn Egg JE1.png|32px]] Added spawn eggs for [[creeper]]s, [[spider]]s, [[skeleton]]s, [[zombie]]s, [[slime]]s, [[ghast]]s, [[zombie pigman|zombie pigmen]], [[endermen]], [[cave spider]]s, [[silverfish]], [[blaze]]s, [[magma cube]]s, [[pig]]s, [[sheep]], [[cow]]s, [[chicken]]s, [[squid]], [[wolf|wolves]], [[mooshroom]]s and [[villager]]s.
|The spawn egg has a single texture file, which is [[tint]]ed different colors.}}
{{History|||snap=12w01a|[[File:Creeper Spawn Egg JE2 BE1.png|32px]] [[File:Spider Spawn Egg JE2 BE1.png|32px]] [[File:Skeleton Spawn Egg JE2 BE1.png|32px]] [[File:Zombie Spawn Egg JE2 BE1.png|32px]] [[File:Slime Spawn Egg JE2 BE1.png|32px]] [[File:Ghast Spawn Egg JE2 BE1.png|32px]] [[File:Zombie Pigman Spawn Egg JE2 BE1.png|32px]] [[File:Enderman Spawn Egg JE2 BE1.png|32px]] [[File:Cave Spider Spawn Egg JE2 BE1.png|32px]] [[File:Silverfish Spawn Egg JE2 BE2.png|32px]] [[File:Blaze Spawn Egg JE2 BE1.png|32px]] [[File:Magma Cube Spawn Egg JE2 BE1.png|32px]] [[File:Pig Spawn Egg JE2 BE1.png|32px]] [[File:Sheep Spawn Egg JE2 BE1.png|32px]] [[File:Cow Spawn Egg JE2 BE1.png|32px]] [[File:Chicken Spawn Egg JE2 BE1.png|32px]] [[File:Squid Spawn Egg JE2 BE1.png|32px]] [[File:Wolf Spawn Egg JE2 BE1.png|32px]] [[File:Mooshroom Spawn Egg JE2 BE1.png|32px]] [[File:Villager Spawn Egg JE2 BE1.png|32px]] The spawn egg and its markings now have their textures separated, allowing them to have entirely different colors. This allows their colors to better match the colors of the [[mob]]s themselves.}}
{{History||1.2.1|snap=12w03a|Spawn eggs can now be placed into a [[dispenser]]. Activating the dispenser spawns the mob, instead of dispensing the egg as an [[item]].
|Spawn eggs are now stackable, which allows dispensers to hold more than nine of them at one time.}}
{{History|||snap=12w04a|[[File:Ocelot Spawn Egg JE1 BE1.png|32px]] Added [[ocelot]] spawn eggs with the addition of the ocelot itself.
|Before 1.2, edited spawn eggs for [[snow golem]]s, [[ender dragon]]s and [[giant]]s (and other "unspawnable" [[mob]]s) produced mobs of their types. Now, this is restricted to those eggs available in the [[creative]] [[inventory]].}}
{{History||1.3.1|snap=12w18a|[[Villager]]s spawned from spawn eggs were always farmers before this update and now their professions are randomized.}}
{{History||1.4.2|snap=12w32a|[[Zombie villager]]s can now be spawned using [[zombie]] spawn eggs.
|[[Sheep]] from spawn eggs can now spawn naturally-colored sheep (white, gray, brown, pink, etc.).}}
{{History|||snap=12w36a|[[Wither skeleton]]s now have a high chance to spawn from a [[skeleton]] spawn egg, if the [[player]] is in [[the Nether]].
|[[Skeleton]]s on [[spider jockey]]s can now be replaced with [[wither skeleton]]s when using [[spider]] spawn eggs in the Nether.}}
{{History|||snap=12w38a|[[File:Witch Spawn Egg JE1 BE1.png|32px]] [[File:Bat Spawn Egg JE1 BE1.png|32px]] Added [[witch]] and [[bat]] spawn eggs.}}
{{History||1.4.4|snap=pre|Baby [[mob]]s are now spawn-able by right-clicking a mob with a corresponding mob egg. Although, this doesn't work with [[zombie]]s.}}
{{History||1.5|snap=January 7, 2013|slink={{tweet|Dinnerbone|288322623916617728}}|[[Dinnerbone]] tweeted the first image of a renamed mob appearing in a [[death messages|death message]].}}
{{History|||snap=13w02a|[[Mob]]s spawned from renamed eggs now have the name of the egg and the names appear in death messages.
|Mobs can now display their custom name as nametag using an NBT tag.}}
{{History||1.6.1|snap=13w16a|[[File:Horse Spawn Egg JE1 BE1.png|32px]] Added [[horse]] spawn eggs.}}
{{History|||snap=13w24a|Spawn eggs now work on [[water]].}}
{{History|||snap=1.6|Renaming a spawn egg "''Dinnerbone''" or "''Grumm''" now cause the [[mob]] to spawn upside-down.}}
{{History||1.7.4|snap=13w48b|Renaming a [[sheep]] or sheep spawn egg "''jeb_''" give it a rainbow wool changing effect. This does not affect the wool dropped after death or [[shear]]ing, however.}}
{{History||1.8|snap=14w11a|[[File:Endermite Spawn Egg JE1 BE1.png|32px]] Added [[endermite]] spawn eggs.}}
{{History|||snap=14w25a|[[File:Guardian Spawn Egg JE1 BE1.png|32px]] Added [[guardian]] spawn eggs.}}
{{History|||snap=14w27a|[[File:Rabbit Spawn Egg JE1 BE1.png|32px]] Added [[rabbit]] spawn eggs.}}
{{History|||snap=14w28b|Spawn eggs can now be used to program [[monster spawner]] blocks.}}
{{History||1.9|snap=15w31a|[[File:Shulker Spawn Egg JE1 BE2.png|32px]] Added [[shulker]] spawn eggs.}}
{{History|||snap=15w33a|Spawn eggs can no longer be addressed by numeric data id, like: <code>give @p spawn_egg 1 50</code>. The spawnable [[entity]] from a spawn egg is now addressed by a datatag: <code>/give @p spawn_egg 1 0 <nowiki>{EntityTag:{id:"Creeper"}}</code>.}}
{{History||1.10|snap=16w20a|[[File:Polar Bear Spawn Egg JE1 BE1.png|32px]] [[File:Wither Skeleton Spawn Egg JE1 BE1.png|32px]] [[File:Stray Spawn Egg JE1 BE2.png|32px]] [[File:Husk Spawn Egg JE1 BE2.png|32px]] [[File:Elder Guardian Spawn Egg JE1 BE1.png|32px]] [[File:Cat Spawn Egg JE1.png|32px]] [[File:Donkey Spawn Egg JE1 BE1.png|32px]] [[File:Mule Spawn Egg JE1 BE1.png|32px]] [[File:Skeleton Horse Spawn Egg JE1 BE1.png|32px]] [[File:Zombie Horse Spawn Egg JE1 BE2.png|32px]] Added spawn eggs for [[polar bear]]s, [[wither skeleton]]s, [[stray]]s, [[husk]]s, [[elder guardian]], [[cat]]s, donkeys, mules, skeleton horses and zombie horses.}}
{{History|||snap=pre2|Removed spawn eggs for wither skeletons, strays, husks, elder guardians, cats, donkeys, mules, skeleton horses and zombie horses that were added in [[16w20a]].}}
{{History||1.11|snap=16w32a|[[File:Polar Bear Spawn Egg JE1 BE1.png|32px]] [[File:Wither Skeleton Spawn Egg JE1 BE1.png|32px]] [[File:Stray Spawn Egg JE1 BE2.png|32px]] [[File:Husk Spawn Egg JE1 BE2.png|32px]] [[File:Elder Guardian Spawn Egg JE1 BE1.png|32px]] [[File:Donkey Spawn Egg JE1 BE1.png|32px]] [[File:Mule Spawn Egg JE1 BE1.png|32px]] [[File:Skeleton Horse Spawn Egg JE1 BE1.png|32px]] [[File:Zombie Horse Spawn Egg JE1 BE2.png|32px]] Re-added the spawn eggs that were removed in [[1.10-pre2]], except the [[cat]] spawn egg.
|[[File:Zombie Villager Spawn Egg JE1 BE1.png|32px]] Added a [[zombie villager]] spawn egg. It can spawn only zombie farmers.
|Using a spawn egg on top of a block such as a [[fence]] no longer cause the spawned [[mob]] to fall inside the fence.<ref>{{bug|MC-88096|| When using spawn eggs on fences the mobs fall through}} – resolved as "Fixed"</ref>}}
{{History|||snap=16w32b|The [[zombie villager]] spawn egg now spawns different zombie professions.}}
{{History|||snap=16w39a|[[File:Evoker Spawn Egg JE1 BE1.png|32px]] [[File:Llama Spawn Egg JE1 BE1.png|32px]] [[File:Vex Spawn Egg JE1 BE1.png|32px]] [[File:Vindicator Spawn Egg JE1 BE1.png|32px]] Added spawn eggs for [[evoker]]s, [[llama]]s, [[vex]]es and [[vindicator]]s.}}
{{History||1.12|snap=17w13a|[[File:Parrot Spawn Egg JE1 BE1.png|32px]] Added spawn egg for [[parrot]]s.}}
{{History||1.13|snap=17w47a|The different {{nbt|compound|EntityTag}} [[entity]] IDs for the <code>spawn_egg</code> ID have now been split up into their own IDs.
|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 383.}}
{{History|||snap=18w07a|[[File:Phantom Spawn Egg JE1.png|32px]] [[File:Turtle Spawn Egg JE1 BE1.png|32px]] Added spawn eggs for [[phantom]]s and [[turtle]]s.}}
{{History|||snap=18w08b|[[File:Cod Spawn Egg JE1 BE2.png|32px]] [[File:Salmon Spawn Egg JE1 BE2.png|32px]] [[File:Pufferfish Spawn Egg JE1 BE2.png|32px]] Added spawn eggs for the 3 [[fish mob]] variants: cod, salmon, and "puffer fish".}}
{{History|||snap=18w10a|[[File:Tropical Fish Spawn Egg JE1 BE2.png|32px]] Added a spawn egg for the new [[tropical fish]].}}
{{History|||snap=18w11a|[[File:Drowned Spawn Egg JE1 BE1.png|32px]] Added [[drowned]] spawn eggs.}}
{{History|||snap=18w15a|[[File:Dolphin Spawn Egg JE1 BE1.png|32px]] Added [[dolphin]] spawn eggs.}}
{{History|||snap=18w19a|[[File:Phantom Spawn Egg JE2 BE1.png|32px]] The [[phantom]] spawn egg has been changed to look more like [[mob]]'s updated texture.}}
{{History|||snap=18w20a|"Spawn ''x''" has been changed to "''x'' Spawn Egg".}}
{{History||1.14|snap=18w43a|[[File:Panda Spawn Egg JE1.png|32px]] [[File:Pillager Spawn Egg JE1 BE1.png|32px]] [[File:Ravager Spawn Egg JE1 BE1.png|32px]] Added [[panda]], [[pillager]] and [[ravager|"illager beast"]] spawn eggs.}}
{{History|||snap=18w44a|[[File:Cat Spawn Egg JE2.png|32px]] Re-added [[cat]] spawn eggs.}}
{{History|||snap=19w05a|The "illager beast" spawn egg has been renamed to "ravager" spawn egg.
|[[File:Wandering Trader Spawn Egg JE1.png|32px]] [[File:Trader Llama Spawn Egg JE1 BE1.png|32px]] Added [[wandering trader]] and [[trader llama]] spawn eggs.}}
{{History|||snap=19w07a|[[File:Fox Spawn Egg JE1 BE1.png|32px]] Added [[fox]] spawn eggs.}}
{{History||1.15|snap=19w34a|[[File:Bee Spawn Egg JE1.png|32px]] Added [[bee]] spawn eggs.}}
{{History|||snap=19w41a|[[File:Bee Spawn Egg JE2 BE1.png|32px]] The texture of the bee spawn egg has been changed.}}
{{History|||snap=19w46a|[[Drowned]], [[husk]], [[zombie]], and [[zombie villager]] spawn eggs can now be used on adult versions of these [[mob]]s to spawn baby variants.}}
{{History|||snap=Pre-release 1|[[Zombie pigmen]] spawn eggs can now be used on adult zombie pigmen to spawn the baby variant.}}
{{History||September 28, 2019|link={{ytl|OZqNaEX8208&t|t=2h17m19s}}|[[File:Hoglin Spawn Egg BE1.png|32px]] [[File:Piglin spawn egg.png|32px]] [[Hoglin]] and [[piglin]] spawn eggs were shown.}}
{{History||1.16|snap=20w06a|[[File:Hoglin Spawn Egg JE1.png|30px]] Added [[hoglin]] spawn eggs.
|Currently, the hoglin spawn egg substitutes the [[zombie pigman]]'s spawn egg texture.}}
{{History|||snap=20w07a|[[File:Piglin Spawn Egg JE1.png|32px]] Added [[piglin]] spawn eggs.
|[[File:Hoglin Spawn Egg JE2.png|30px]] The texture of the hoglin spawn egg has been changed.}}
{{History|||snap=20w09a|"Zombie Pigman Spawn Egg" has been renamed to "Zombified Piglin Spawn Egg".}}
{{History|||snap=20w13a|[[File:Strider Spawn Egg JE1 BE1.png|32px]] Added [[strider]] spawn eggs.}}
{{History|||snap=20w14a|[[File:Zoglin Spawn Egg JE1 BE1.png|32px]] Added [[zoglin]] spawn eggs.}}
{{History||1.16.2|snap=20w27a|[[File:Piglin Brute Spawn Egg JE1 BE1.png|32px]] Added [[piglin brute]] spawn eggs.}}
{{History||October 6, 2020|link={{tweet|kingbdogz|1313451032383574017}}|[[File:Warden Spawn Egg (pre-release).png|32px]] [[Kingbdogz]] showed a warden spawn egg.}}
{{History||1.17|snap=20w51a|[[File:Axolotl Spawn Egg JE1 BE1.png|32px]] Added [[axolotl]] spawn eggs.}}
{{History|||snap=21w03a|[[File:Glow Squid Spawn Egg JE1 BE1.png|32px]] Added [[glow squid]] spawn eggs.}}
{{History|||snap=21w13a|[[File:Goat Spawn Egg BE2.png|32px]] Added [[goat]] spawn eggs.}}
{{History||October 16, 2021|link={{ytl|w6zLprHHZOk&t|t=7447s}}|[[File:Frog Spawn Egg (pre-release).png|32px]] [[File:Tadpole Spawn Egg (pre-release).png|32px]] [[Frog]] and [[tadpole]] spawn eggs were shown.}}
{{History||1.19|snap=Deep Dark Experimental Snapshot 1|[[File:Warden Spawn Egg JE1 BE1.png|32px]] Added [[warden]] spawn eggs.}}
{{History|||snap=22w11a|[[File:Frog Spawn Egg JE1 BE1.png|32px]][[File:Tadpole Spawn Egg JE1 BE1.png|32px]] Added [[frog]] and [[tadpole]] spawn eggs.
|As with the warden itself, warden spawn eggs are not added in this snapshot.}}
{{History|||snap=22w12a|[[File:Warden Spawn Egg JE1 BE1.png|32px]] Re-added [[warden]] spawn eggs.}}
{{History|||snap=22w13a|[[File:Allay Spawn Egg JE1 BE1.png|32px]] Added [[allay]] spawn eggs.}}
{{History||1.20<br>(Experimental)|link=1.19.3|snap=22w42a|[[File:Camel Spawn Egg JE1 BE1.png|32px]] Added [[camel]] spawn eggs behind the [[Java Edition 1.20|Update 1.20 experimental datapack]].}}
{{History|||snap=22w43a|[[File:Camel Spawn Egg JE2 BE2.png|32px]] The texture of the camel spawn egg has been changed.}}
{{History||1.19.3|snap=22w44a|[[File:Iron Golem Spawn Egg JE1 BE1.png|32px]] [[File:Snow Golem Spawn Egg JE2 BE1.png|32px]] [[File:Wither Spawn Egg JE1 BE1.png|32px]] [[File:Ender Dragon Spawn Egg JE2 BE1.png|32px]] Added [[iron golem]], [[snow golem]], [[wither]], and [[ender dragon]] spawn eggs. The wither and ender dragon spawn eggs are only available through [[commands]] to prevent accidental destruction of [[Creative]] builds.
|[[File:Polar Bear Spawn Egg JE2 BE2.png|32px]] The texture of the polar bear spawn egg has been changed.<ref>{{bug|MC-242097||Ghast and Polar Bear Spawn Eggs are nearly indistinguishable|Fixed}}</ref>}}
{{History||1.20<br>(Experimental)|link=1.19.4|snap=23w07a|[[File:Sniffer Spawn Egg JE1 BE1.png|32px]] Added [[sniffer]] spawn eggs behind the [[Java Edition 1.20|Update 1.20 experimental datapack]].}}
{{History|||snap=1.19.4-pre1|[[File:Sniffer Spawn Egg JE2.png|32px]] The texture of the sniffer spawn egg has been changed.}}
{{History||1.20|snap=23w12a|Camel and sniffer spawn eggs are now available without using the "Update 1.20" experimental datapack.}}
{{History|pocket alpha}}
{{History||v0.7.0|[[File:Chicken Spawn Egg JE2 BE1.png|32px]] [[File:Sheep Spawn Egg JE2 BE1.png|32px]] [[File:Cow Spawn Egg JE2 BE1.png|32px]] [[File:Pig Spawn Egg JE2 BE1.png|32px]] Added spawn eggs for [[chicken]]s, [[sheep]], [[pig]]s and [[cow]]s.}}
{{History||v0.7.0|All spawn eggs with damage/metadata values 30 and higher, would display a unique texture.}}
{{History||v0.8.0|snap=build 1|The texture of the default spawn egg is now [[File:Chicken Spawn Egg JE2 BE1.png|32px]], instead of having a completely blank texture.}}
{{History||v0.9.0|snap=build 1|[[File:Mooshroom Spawn Egg JE2 BE1.png|32px]] [[File:Creeper Spawn Egg JE2 BE1.png|32px]] [[File:Enderman Spawn Egg JE2 BE1.png|32px]] [[File:Silverfish Spawn Egg BE1.png|32px]] [[File:Skeleton Spawn Egg JE2 BE1.png|32px]] [[File:Slime Spawn Egg JE2 BE1.png|32px]] [[File:Spider Spawn Egg JE2 BE1.png|32px]] [[File:Zombie Spawn Egg JE2 BE1.png|32px]] [[File:Zombie Pigman Spawn Egg JE2 BE1.png|32px]] [[File:Wolf Spawn Egg JE2 BE1.png|32px]] Added more spawn eggs, including [[mooshroom]], [[creeper]], [[enderman]], [[silverfish]], [[skeleton]], [[slime]], [[spider]], [[zombie]], [[zombie pigman]] and [[wolf]].
|Spawn eggs now have the correct name in the [[inventory]].}}
{{History|||snap=build 2|[[File:Villager Spawn Egg JE2 BE1.png|32px]] Added (Old) [[villager]] spawn eggs.
|Spawn eggs can now be used to program [[monster spawner]] blocks.}}
{{History||v0.11.0|All spawn eggs that are obtained in this version with an invalid damage/metadata value would result in the name of that spawn egg displaying as the following: item.monsterPlacer.name.name.}}
{{History||v0.11.0|snap=build 1|[[File:Squid Spawn Egg JE2 BE1.png|32px]] [[File:Bat Spawn Egg JE1 BE1.png|32px]] Added [[squid]] and [[bat]] spawn eggs.
|[[File:Ghast Spawn Egg JE2 BE1.png|32px]] [[File:Magma Cube Spawn Egg JE2 BE1.png|32px]] [[File:Cave Spider Spawn Egg JE2 BE1.png|32px]] Added [[ghast]], [[magma cube]] and [[cave spider]] spawn eggs, which are currently unobtainable.}}
{{History|||snap=build 3|Added [[cave spider]] spawn eggs to the [[creative]] mode [[inventory]].}}
{{History|||snap=build 8|Added [[magma cube]] spawn eggs to the creative mode inventory.}}
{{History||v0.12.1|snap=build 1|[[File:Blaze Spawn Egg JE2 BE1.png|32px]] [[File:Ocelot Spawn Egg JE1 BE1.png|32px]] [[File:Zombie Villager Spawn Egg JE1 BE1.png|32px]] Added [[blaze]], [[ocelot]], and (Old) [[zombie villager]] spawn eggs.
|Added [[ghast]] spawn eggs to the [[creative]] mode [[inventory]].
|[[Wither skeleton]]s now have a high chance to spawn from an [[skeleton]] spawn egg, if the [[player]] is in [[the Nether]].}}
{{History|||snap=build 9|[[Mob]]s spawned from renamed eggs now have the name of the egg and the names appear in [[death messages]].}}
{{History|||snap=build 12|[[Zombie villager]]s can now be spawned using [[zombie]] spawn eggs.}}
{{History||v0.13.0|snap=build 1|[[File:Rabbit Spawn Egg JE1 BE1.png|32px]] Added [[rabbit]] spawn eggs.}}
{{History||v0.14.0|snap=build 1|[[File:Witch Spawn Egg JE1 BE1.png|32px]] Added [[witch]] spawn eggs.}}
{{History||v0.15.0|snap=build 1|[[File:Horse Spawn Egg JE1 BE1.png|32px]] [[File:Mule Spawn Egg JE1 BE1.png|32px]] [[File:Donkey Spawn Egg JE1 BE1.png|32px]] [[File:Zombie Horse Spawn Egg BE1.png|32px]] [[File:Skeleton Horse Spawn Egg JE1 BE1.png|32px]] [[File:Stray Spawn Egg BE1.png|32px]] [[File:Husk Spawn Egg BE1.png|32px]] [[File:Wither Skeleton Spawn Egg JE1 BE1.png|32px]] Added [[horse]], [[mule]], [[donkey]], [[zombie horse]], [[skeleton horse]], [[stray]], [[husk]] and [[wither skeleton]] spawn eggs to the [[creative]] [[inventory]].}}
{{History||v0.15.1|snap=build 1|The texture of the default spawn egg has been changed from [[File:Chicken Spawn Egg JE2 BE1.png|32px]] to [[File:Spawn Egg.png|32px]].
|The empty spawn egg named "Spawn" is now available through [[inventory]] editing, but crashes the game.{{info needed|How? On use? Simply by being in the inventory?}}}}
{{History||v0.16.0|snap=build 1|[[File:Guardian Spawn Egg JE1 BE1.png|32px]] Added [[guardian]] spawn eggs.
|[[File:Spawn Egg.png|32px]] Added [[elder guardian]] spawn egg without colors, which is currently unavailable in the [[creative]] [[inventory]].
|[[File:NPC Spawn Egg BE1.png|32px]] Added a non-functional [[NPC]] spawn egg.}}
{{History|||snap=build 2|The NPC spawn egg has been removed from the creative inventory.}}
{{History|||snap=build 4|The NPC spawn egg has been removed completely.}}
{{History|||snap=build 5|[[File:Elder Guardian Spawn Egg JE1 BE1.png|32px]] Added [[elder guardian]] spawn eggs to the [[creative]] [[inventory]].}}
{{History|pocket}}
{{History||1.0.0|snap=alpha 0.17.0.1|[[File:Shulker Spawn Egg BE1.png|32px]] [[File:Endermite Spawn Egg JE1 BE1.png|32px]] [[File:Polar Bear Spawn Egg JE1 BE1.png|32px]] Added spawn eggs for [[shulker]]s, [[endermite]]s and [[polar bear]]s.}}
{{History||1.1.0|snap=alpha 1.1.0.0|[[File:Llama Spawn Egg JE1 BE1.png|32px]] [[File:Vindicator Spawn Egg JE1 BE1.png|32px]] [[File:Evoker Spawn Egg JE1 BE1.png|32px]] [[File:Vex Spawn Egg JE1 BE1.png|32px]] Added spawn eggs for [[llama]]s, [[vindicator]]s, [[evoker]]s and [[vex]]es.}}
{{History|||snap=alpha 1.1.0.9|[[File:Husk Spawn Egg JE1 BE2.png|32px]] [[File:Shulker Spawn Egg JE1 BE2.png|32px]] [[File:Silverfish Spawn Egg JE2 BE2.png|32px]] [[File:Stray Spawn Egg JE1 BE2.png|32px]] [[File:Zombie Horse Spawn Egg JE1 BE2.png|32px]] The spawn egg textures for [[husk]]s, [[shulker]]s, [[silverfish]]ses, [[stray]]s and [[zombie horse]]s have been updated; probably due to {{bug|MCPE-18348}}.}}
{{History|bedrock}}
{{History||1.2.0|snap=beta 1.2.0.2|[[File:Parrot Spawn Egg JE1 BE1.png|32px]] [[File:Zombie Villager Spawn Egg JE1 BE1.png|32px]] Added [[parrot]] and [[zombie villager]] spawn eggs.}}
{{History||1.4.0|snap=beta 1.2.13.8|[[File:Drowned Spawn Egg JE1 BE1.png|32px]] Added [[drowned]] spawn eggs.}}
{{History|||snap=beta 1.2.14.2|[[File:Cod Spawn Egg BE1.png|32px]] [[File:Salmon Spawn Egg BE1.png|32px]] [[File:Pufferfish Spawn Egg BE1.png|32px]] [[File:Tropical Fish Spawn Egg BE1.png|32px]] Added spawn eggs for each [[fish]], which have different textures compared to {{JE}}.}}
{{History|||snap=beta 1.2.20.1|[[File:Cod Spawn Egg JE1 BE2.png|32px]] [[File:Salmon Spawn Egg JE1 BE2.png|32px]] [[File:Pufferfish Spawn Egg JE1 BE2.png|32px]] [[File:Tropical Fish Spawn Egg JE1 BE2.png|32px]] The fish spawn egg textures have been made less unique; it matches {{JE}}.
|[[File:Dolphin Spawn Egg JE1 BE1.png|32px]] Added [[dolphin]] spawn eggs.}}
{{History||1.5.0|snap=beta 1.5.0.4|[[File:Turtle Spawn Egg JE1 BE1.png|32px]] Added spawn eggs for [[turtle]]s.}}
{{History||1.6.0|snap=beta 1.6.0.1|[[File:Phantom Spawn Egg JE2 BE1.png|32px]] Added spawn eggs for [[phantom]]s.}}
{{History||1.8.0|snap=beta 1.8.0.8|[[File:Panda Spawn Egg BE1.png|32px]] [[File:Cat Spawn Egg BE1.png|32px]] Added spawn eggs for [[panda]]s and [[cat]]s.
|[[File:NPC Spawn Egg BE1.png|32px]] The NPC spawn egg has been re-added.
|[[File:Agent Spawn Egg BE1.png|32px]] Added spawn eggs for [[agent]]s.
|[[File:Spawn Egg BE2.png|32px]] Unknown spawn eggs now use a completely black spawn egg as the default texture.
|[[File:Mask Spawn Egg BE1.png|32px]] Added mask spawn egg texture.}}
{{History||1.9.0|snap=beta 1.9.0.0|[[File:Pillager Spawn Egg JE1 BE1.png|32px]] Added [[pillager]] spawn eggs.}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Ravager Spawn Egg JE1 BE1.png|32px]] [[File:Wandering Trader Spawn Egg BE1.png|32px]] [[File:Villager Spawn Egg JE2 BE1.png|32px]] [[File:Zombie Villager Spawn Egg JE1 BE1.png|32px]] Added [[wandering trader]], [[Ravager|"illager beast"]], (New) [[villager]] and (New) [[zombie villager]] spawn eggs.}}
{{History||1.11.0|snap=beta 1.11.0.1|The old villager and old zombie villager spawn eggs have been removed.
|"Spawn Illager Beast" has been renamed to "Spawn Ravager".}}
{{History||1.13.0|snap=beta 1.13.0.1|[[File:Fox Spawn Egg JE1 BE1.png|32px]] Added [[fox]] spawn eggs.}}
{{History||1.14.0|snap=beta 1.14.0.1|[[File:Bee Spawn Egg JE2 BE1.png|32px]] Added [[bee]] spawn eggs.}}
{{History||1.16.0|snap=beta 1.16.0.51|[[File:Hoglin Spawn Egg BE1.png|32px]] [[File:Piglin Spawn Egg BE1.png|32px]] Added [[hoglin]] and [[piglin]] spawn eggs.
|"Spawn Zombie Pigman" has been renamed to "Spawn Zombified Piglin".}}
{{History|||snap=beta 1.16.0.57|[[File:Strider Spawn Egg JE1 BE1.png|32px]] [[File:Zoglin Spawn Egg JE1 BE1.png|32px]] Added [[strider]] and [[zoglin]] spawn eggs.}}
{{History|||snap=beta 1.16.0.59|[[File:Piglin Spawn Egg JE1.png|32px]] [[File:Hoglin Spawn Egg JE2.png|30px]] The textures of the piglin and hoglin spawn eggs have been changed to match [[Java Edition]].}}
{{History||1.16.20|snap=beta 1.16.20.50|[[File:Piglin Brute Spawn Egg JE1 BE1.png|32px]] Added [[piglin brute]] spawn eggs.}}
{{History||1.16.100|snap=beta 1.16.100.56|The different [[entity]] IDs for the <code>spawn_egg</code> ID have now been split up into their own IDs.
|Unused spawn eggs (such as [[Iron Golem]], [[End Crystal]] and [[Wither]]) are completely removed. Attempts to put such spawn eggs in an inventory gives the default spawn egg instead.
|The texture of the default spawn egg is now [[File:Chicken Spawn Egg JE2 BE1.png|32px]], instead of having a completely black texture.}}
{{History||1.16.200|snap=beta 1.16.200.52|[[File:Goat Spawn Egg BE1.png|32px]] Added [[goat]] spawn eggs behind the "Caves and Cliffs" experimental toggle.}}
{{History|||snap=beta 1.16.210.51|[[File:Goat Spawn Egg BE2.png|32px]] The texture for [[goat]] spawn eggs has been changed.}}
{{History||1.16.210|snap=beta 1.16.210.59|[[File:Glow Squid Spawn Egg JE1 BE1.png|32px]] Added [[glow squid]] spawn eggs.}}
{{History|||snap=beta 1.16.210.60|[[Glow squid]] spawn egg is temporarily removed.}}
{{History||1.16.220|snap=beta 1.16.220.50|[[File:Glow Squid Spawn Egg JE1 BE1.png|32px]] Re-added [[glow squid]] spawn egg.}}
{{History||1.17.0|snap=beta 1.16.230.52|[[File:Axolotl Spawn Egg JE1 BE1.png|32px]] Added [[axolotl]] spawn eggs.}}
{{History|||snap=beta 1.17.0.52|[[Goat]], [[glow squid]] and [[axolotl]] spawn eggs are now available without enabling [[experimental gameplay]].}}
{{History||1.18.10|snap=beta 1.18.10.24|[[File:Frog Spawn Egg JE1 BE1.png|32px]][[File:Tadpole Spawn Egg JE1 BE1.png|32px]] Added [[frog]] and [[tadpole]] spawn eggs behind the "Wild Update" experimental toggle.}}
{{History||1.18.30|snap=beta 1.18.30.22|[[File:Allay Spawn Egg JE1 BE1.png|32px]] Added [[allay]] spawn eggs behind the "Wild Update" experimental toggle.}}
{{History|||snap=beta 1.18.30.32|[[File:Warden Spawn Egg JE1 BE1.png|32px]] Added [[warden]] spawn eggs behind the "Wild Update" experimental toggle.}}
{{History||1.19.0|snap=beta 1.19.0.20|Both spawn eggs mentioned above are now available without enabling experimental gameplay.}}
{{History||1.19.10|snap=beta 1.19.10.20|[[File:Trader Llama Spawn Egg JE1 BE1.png|32px]] Added the [[trader llama]] spawn egg.}}
{{History||Next Major Update<br>(Experimental)|link=Bedrock Edition 1.19.50|snap=beta 1.19.50.21|[[File:Camel Spawn Egg JE1 BE1.png|32px]] Added [[camel]] spawn eggs behind the "[[Bedrock Edition 1.20|Next Major Update]]" [[experimental]] toggle.}}
{{History|||snap=beta 1.19.50.22|[[File:Camel Spawn Egg JE2 BE2.png|32px]] The texture of the camel spawn egg has been changed.}}
{{History||1.19.60|snap=beta 1.19.60.20|[[File:Iron Golem Spawn Egg JE1 BE1.png|32px]] [[File:Snow Golem Spawn Egg JE2 BE1.png|32px]] [[File:Wither Spawn Egg JE1 BE1.png|32px]] [[File:Ender Dragon Spawn Egg JE2 BE1.png|32px]] Added [[iron golem]], [[snow golem]], [[wither]], and [[ender dragon]] spawn eggs. The wither and ender dragon spawn eggs will only be available through [[commands]] to prevent accidental destruction of [[Creative]] builds.|[[File:Polar Bear Spawn Egg JE2 BE2.png|32px]] The texture of the polar bear spawn egg has been changed.}}
{{History||1.19.60|snap=beta 1.19.60.25|The wither and ender dragon spawn eggs are no longer available in the creative inventory, only via [[command]]s.}}
{{History||Sniffer<br>(Experimental)|link=Bedrock Edition 1.19.70|snap=beta 1.19.70.23|[[File:Sniffer Spawn Egg JE1 BE1.png|32px]] Added [[sniffer]] spawn eggs behind the "[[Bedrock Edition 1.19.70|Sniffer]]" [[experimental]] toggle.}}
{{History||1.20.0|snap=beta 1.20.0.20|Sniffer spawn eggs are now available without using the "Sniffer" experimental toggle.}}
{{History|||snap=beta 1.20.0.21|Camel spawn eggs are now available without using the "Next Major Update" experimental toggle.}}
{{History|console}}
{{History||xbox=TU9|xbone=CU1|ps=1.0|wiiu=Patch 1|switch=1.0.1|[[File:Creeper Spawn Egg JE2 BE1.png|32px]] [[File:Skeleton Spawn Egg JE2 BE1.png|32px]] [[File:Spider Spawn Egg JE2 BE1.png|32px]] [[File:Zombie Spawn Egg JE2 BE1.png|32px]] [[File:Slime Spawn Egg JE2 BE1.png|32px]] [[File:Ghast Spawn Egg JE2 BE1.png|32px]] [[File:Zombie Pigman Spawn Egg JE2 BE1.png|32px]] [[File:Enderman Spawn Egg JE2 BE1.png|32px]] [[File:Cave Spider Spawn Egg JE2 BE1.png|32px]] [[File:Silverfish Spawn Egg JE2 BE2.png|32px]] [[File:Blaze Spawn Egg JE2 BE1.png|32px]] [[File:Magma Cube Spawn Egg JE2 BE1.png|32px]] [[File:Pig Spawn Egg JE2 BE1.png|32px]] [[File:Sheep Spawn Egg JE2 BE1.png|32px]] [[File:Cow Spawn Egg JE2 BE1.png|32px]] [[File:Chicken Spawn Egg JE2 BE1.png|32px]] [[File:Squid Spawn Egg JE2 BE1.png|32px]] [[File:Wolf Spawn Egg JE2 BE1.png|32px]] [[File:Mooshroom Spawn Egg JE2 BE1.png|32px]] [[File:Villager Spawn Egg JE2 BE1.png|32px]] Added spawn eggs for [[creeper]]s, [[skeleton]]s, [[spider]]s, [[zombie]]s, [[slime]]s, [[ghast]]s, [[zombie pigman]]s, [[enderman]]s, [[cave spider]]s, [[silverfish]]s, [[blaze]]s, [[magma cube]]s, [[pig]]s, [[sheep]]s, [[cow]]s, [[chicken]]s, [[squid]], [[wolf]]s, [[mooshroom]] and [[villager]]s.
|Spawn eggs can now be placed into a [[dispenser]]. Activating the dispenser spawns the [[mob]], instead of dispensing the egg as an [[item]].}}
{{History||xbox=TU11|Added a message when the user tries to spawn a [[hostile mob]] from a spawn egg in Peaceful [[difficulty]].}}
{{History||xbox=TU12|[[File:Ocelot Spawn Egg JE1 BE1.png|32px]] Added [[ocelot]] spawn eggs.}}
{{History||xbox=TU19|xbone=CU7|ps=1.12|[[File:Horse Spawn Egg JE1 BE1.png|32px]] [[File:Witch Spawn Egg JE1 BE1.png|32px]] [[File:Bat Spawn Egg JE1 BE1.png|32px]] [[File:Donkey Spawn Egg CE1.png|32px]] [[File:Mule Spawn Egg CE1.png|32px]] Added [[horse]], [[witch]], [[bat]], donkey and mule spawn eggs.}}
{{History||xbox=TU31|xbone=CU19|ps=1.22|wiiu=Patch 3|[[File:Endermite Spawn Egg JE1 BE1.png|32px]] [[File:Guardian Spawn Egg JE1 BE1.png|32px]] [[File:Rabbit Spawn Egg JE1 BE1.png|32px]] Added [[endermite]], [[guardian]] and [[rabbit]] spawn eggs.}}
{{History||xbox=TU46|xbone=CU36|ps=1.38|wiiu=Patch 15|[[File:Shulker Spawn Egg JE1 BE2.png|32px]] Added [[shulker]] spawn eggs.
|[[File:Donkey Spawn Egg JE1 BE1.png|32px]] [[File:Mule Spawn Egg JE1 BE1.png|32px]] Donkey and mule spawn eggs now match the textures of their [[Bedrock Edition|Bedrock]] and [[Java Edition|Java]] edition counterparts.}}
{{History||xbox=TU54|xbone=CU44|ps=1.52|wiiu=Patch 24|switch=1.0.4|[[File:Skeleton Horse Spawn Egg JE1 BE1.png|32px]] [[File:Zombie Horse Spawn Egg JE1 BE2.png|32px]] [[File:Elder Guardian Spawn Egg JE1 BE1.png|32px]] [[File:Stray Spawn Egg JE1 BE2.png|32px]] [[File:Wither Skeleton Spawn Egg JE1 BE1.png|32px]] [[File:Husk Spawn Egg JE1 BE2.png|32px]] [[File:Zombie Villager Spawn Egg JE1 BE1.png|32px]] [[File:Parrot Spawn Egg JE1 BE1.png|32px]] [[File:Llama Spawn Egg JE1 BE1.png|32px]] [[File:Vindicator Spawn Egg JE1 BE1.png|32px]] [[File:Evoker Spawn Egg JE1 BE1.png|32px]] [[File:Vex Spawn Egg JE1 BE1.png|32px]] Added spawn eggs for [[skeleton horse]]s, [[zombie horse]]s, [[elder guardian]]s, [[stray]]s, [[wither skeleton]]s, [[husk]]s, [[zombie villager]]s, [[parrot]]s, [[llama]]s, [[vindicator]]s, [[evoker]]s and [[vex]]es.}}
{{History||xbox=TU69|xbone=none|ps=1.76|wiiu=Patch 38|switch=none|[[File:Drowned Spawn Egg JE1 BE1.png|32px]] [[File:Cod Spawn Egg JE1 BE2.png|32px]] [[File:Salmon Spawn Egg JE1 BE2.png|32px]] [[File:Pufferfish Spawn Egg JE1 BE2.png|32px]] [[File:Tropical Fish Spawn Egg JE1 BE2.png|32px]] [[File:Dolphin Spawn Egg JE1 BE1.png|32px]] [[File:Turtle Spawn Egg JE1 BE1.png|32px]] [[File:Phantom Spawn Egg JE2 BE1.png|32px]] Added spawn eggs for [[drowned]], [[cod]], [[salmon]], [[pufferfish]], [[tropical fish]], [[dolphin]]s, [[sea turtle]]s and [[phantom]]s.}}
{{History||xbox=none|ps=1.83|wiiu=none|[[File:Panda Spawn Egg BE1.png|32px]] [[File:Cat Spawn Egg BE1.png|32px]] Added spawn eggs for [[panda]]s and [[cat]]s.}}
{{History||ps=1.90|[[File:Pillager Spawn Egg JE1 BE1.png|32px]] Added [[pillager]] spawn eggs.}}
{{History||ps=1.91|[[File:Ravager Spawn Egg JE1 BE1.png|32px]] [[File:Wandering Trader Spawn Egg JE1.png|32px]] Added spawn eggs for [[ravager]]s and [[wandering trader]]s.}}
{{History|New 3DS}}
{{History||0.1.0|[[File:Creeper Spawn Egg JE2 BE1.png|32px]] [[File:Skeleton Spawn Egg JE2 BE1.png|32px]] [[File:Spider Spawn Egg JE2 BE1.png|32px]] [[File:Zombie Spawn Egg JE2 BE1.png|32px]] [[File:Slime Spawn Egg JE2 BE1.png|32px]] [[File:Ghast Spawn Egg JE2 BE1.png|32px]] [[File:Zombie Pigman Spawn Egg JE2 BE1.png|32px]] [[File:Enderman Spawn Egg JE2 BE1.png|32px]] [[File:Cave Spider Spawn Egg JE2 BE1.png|32px]] [[File:Silverfish Spawn Egg JE2 BE2.png|32px]] [[File:Blaze Spawn Egg JE2 BE1.png|32px]] [[File:Magma Cube Spawn Egg JE2 BE1.png|32px]] [[File:Pig Spawn Egg JE2 BE1.png|32px]] [[File:Sheep Spawn Egg JE2 BE1.png|32px]] [[File:Cow Spawn Egg JE2 BE1.png|32px]] [[File:Chicken Spawn Egg JE2 BE1.png|32px]] [[File:Squid Spawn Egg JE2 BE1.png|32px]] [[File:Wolf Spawn Egg JE2 BE1.png|32px]] [[File:Mooshroom Spawn Egg JE2 BE1.png|32px]] [[File:Villager Spawn Egg JE2 BE1.png|32px]] [[File:Ocelot Spawn Egg JE1 BE1.png|32px]] [[File:Guardian Spawn Egg JE1 BE1.png|32px]] [[File:Rabbit Spawn Egg JE1 BE1.png|32px]] [[File:Horse Spawn Egg JE1 BE1.png|32px]] [[File:Witch Spawn Egg JE1 BE1.png|32px]] [[File:Bat Spawn Egg JE1 BE1.png|32px]] [[File:Donkey Spawn Egg JE1 BE1.png|32px]] [[File:Mule Spawn Egg JE1 BE1.png|32px]] Added spawn eggs.}}
{{History||1.7.10|[[File:Endermite Spawn Egg JE1 BE1.png|32px]] [[File:Polar Bear Spawn Egg JE1 BE1.png|32px]] [[File:Shulker Spawn Egg JE1 BE2.png|32px]] Added spawn eggs for [[endermite]]s, [[polar bear]]s and [[shulker]]s.}}
{{History||1.9.19|[[File:Llama Spawn Egg JE1 BE1.png|32px]] [[File:Vindicator Spawn Egg JE1 BE1.png|32px]] [[File:Evoker Spawn Egg JE1 BE1.png|32px]] [[File:Vex Spawn Egg JE1 BE1.png|32px]] Added spawn eggs for [[llama]]s, [[vindicator]]s, [[evoker]]s and [[vex]]es.}}
{{History|Education}}
{{History||1.0|[[File:Creeper Spawn Egg JE2 BE1.png|32px]] [[File:Skeleton Spawn Egg JE2 BE1.png|32px]] [[File:Spider Spawn Egg JE2 BE1.png|32px]] [[File:Zombie Spawn Egg JE2 BE1.png|32px]] [[File:Slime Spawn Egg JE2 BE1.png|32px]] [[File:Ghast Spawn Egg JE2 BE1.png|32px]] [[File:Zombie Pigman Spawn Egg JE2 BE1.png|32px]] [[File:Enderman Spawn Egg JE2 BE1.png|32px]] [[File:Cave Spider Spawn Egg JE2 BE1.png|32px]] [[File:Silverfish Spawn Egg JE2 BE2.png|32px]] [[File:Blaze Spawn Egg JE2 BE1.png|32px]] [[File:Magma Cube Spawn Egg JE2 BE1.png|32px]] [[File:Pig Spawn Egg JE2 BE1.png|32px]] [[File:Sheep Spawn Egg JE2 BE1.png|32px]] [[File:Cow Spawn Egg JE2 BE1.png|32px]] [[File:Chicken Spawn Egg JE2 BE1.png|32px]] [[File:Squid Spawn Egg JE2 BE1.png|32px]] [[File:Wolf Spawn Egg JE2 BE1.png|32px]] [[File:Mooshroom Spawn Egg JE2 BE1.png|32px]] [[File:Villager Spawn Egg JE2 BE1.png|32px]] [[File:Ocelot Spawn Egg JE1 BE1.png|32px]] [[File:Guardian Spawn Egg JE1 BE1.png|32px]] [[File:Elder Guardian Spawn Egg JE1 BE1.png|32px]] [[File:Rabbit Spawn Egg JE1 BE1.png|32px]] [[File:Horse Spawn Egg JE1 BE1.png|32px]] [[File:Husk Spawn Egg JE1 BE2.png|32px]] [[File:Stray Spawn Egg JE1 BE2.png|32px]] [[File:Witch Spawn Egg JE1 BE1.png|32px]] [[File:Bat Spawn Egg JE1 BE1.png|32px]] [[File:Wither Skeleton Spawn Egg JE1 BE1.png|32px]] [[File:Donkey Spawn Egg JE1 BE1.png|32px]] [[File:Mule Spawn Egg JE1 BE1.png|32px]] [[File:Skeleton Horse Spawn Egg JE1 BE1.png|32px]] [[File:Zombie Horse Spawn Egg JE1 BE2.png|32px]] [[File:Endermite Spawn Egg JE1 BE1.png|32px]] [[File:Zombie Villager Spawn Egg JE1 BE1.png|32px]] [[File:Polar Bear Spawn Egg JE1 BE1.png|32px]] [[File:Shulker Spawn Egg JE1 BE2.png|32px]] [[File:Llama Spawn Egg JE1 BE1.png|32px]] [[File:Vindicator Spawn Egg JE1 BE1.png|32px]] [[File:Evoker Spawn Egg JE1 BE1.png|32px]] [[File:Vex Spawn Egg JE1 BE1.png|32px]] [[File:Parrot Spawn Egg JE1 BE1.png|32px]] [[File:NPC Spawn Egg BE1.png|32px]] Added spawn eggs.}}
{{History||1.4|[[File:Cod Spawn Egg JE1 BE2.png|32px]] [[File:Salmon Spawn Egg JE1 BE2.png|32px]] [[File:Pufferfish Spawn Egg JE1 BE2.png|32px]] [[File:Tropical Fish Spawn Egg JE1 BE2.png|32px]] [[File:Dolphin Spawn Egg JE1 BE1.png|32px]] Added spawn eggs for [[cod]], [[salmon]], [[pufferfish]], [[tropical fish]] and [[dolphin]]s.}}
{{History||1.7|[[File:Drowned Spawn Egg JE1 BE1.png|32px]] [[File:Turtle Spawn Egg JE1 BE1.png|32px]] [[File:Phantom Spawn Egg JE2 BE1.png|32px]] [[File:Agent Spawn Egg BE1.png|32px]] Added spawn eggs for [[drowned]], [[turtle|sea turtles]], [[phantom]]s and [[agent]]s.}}
{{History||?|[[File:Mask Spawn Egg BE1.png|32px]] Added mask spawn egg texture.}}
{{History||1.9|[[File:Panda Spawn Egg BE1.png|32px]] [[File:Cat Spawn Egg BE1.png|32px]] Added spawn eggs for [[panda]]s and [[cat]]s.}}
{{History||1.12.0|[[File:Pillager Spawn Egg JE1 BE1.png|32px]] [[File:Ravager Spawn Egg JE1 BE1.png|32px]] [[File:Wandering Trader Spawn Egg BE1.png|32px]] Added spawn eggs for [[pillager]]s, [[ravager]]s and [[wandering trader]]s.}}
{{History||1.14.31|[[File:Bee Spawn Egg JE2 BE1.png|32px]] [[File:Fox Spawn Egg JE1 BE1.png|32px]] Added spawn eggs for [[bee]]s and [[fox]]es.}}
{{History||1.17.30|[[File:Piglin Spawn Egg JE1.png|32px]] [[File:Hoglin Spawn Egg JE2.png|30px]] [[File:Strider Spawn Egg JE1 BE1.png|32px]] [[File:Zoglin Spawn Egg JE1 BE1.png|32px]] [[File:Piglin Brute Spawn Egg JE1 BE1.png|32px]] [[File:Goat Spawn Egg BE2.png|32px]] [[File:Axolotl Spawn Egg JE1 BE1.png|32px]] [[File:Glow Squid Spawn Egg JE1 BE1.png|32px]] Added spawn eggs for [[piglin]]s, [[hoglin]]s, [[strider]]s, [[zoglin]]s, [[piglin brute]]s, [[goat]]s, [[axolotl]]s and [[glow squid]]s.}}
{{History|earth}}
{{History||Release|[[File:Cluckshroom Spawn Egg.png|32px]] [[File:Horned Sheep Spawn Egg.png|32px]] [[File:Moobloom Spawn Egg.png|32px]] Added [[cluckshroom]], [[horned sheep]] and [[moobloom]] spawn egg textures.}}
{{History||0.4.0|[[File:Jumbo Rabbit Spawn Egg.png|32px]] Added [[jumbo rabbit]] spawn egg texture.}}
{{History|foot}}
== Issues ==
{{issue list}}
== Gallery ==
{{Hidden begin|View all renders}}
<gallery>
Spawn Egg.png|frame|Uncolored Spawn Egg
Agent Spawn Egg.png|Agent Spawn Egg
Allay Spawn Egg.png|Allay Spawn Egg
Axolotl Spawn Egg.png|Axolotl Spawn Egg
Bat Spawn Egg.png|Bat Spawn Egg
Bee Spawn Egg.png|Bee Spawn Egg
Blaze Spawn Egg.png|Blaze Spawn Egg
Camel Spawn Egg.png|Camel Spawn Egg
Cat Spawn Egg.png|Cat Spawn Egg (Java)
Cat Spawn Egg BE1.png|Cat Spawn Egg (Bedrock)
Cave Spider Spawn Egg.png|Cave Spider Spawn Egg
Chicken Spawn Egg.png|Chicken Spawn Egg
Cod Spawn Egg.png|Cod Spawn Egg
Cow Spawn Egg.png|Cow Spawn Egg
Creeper Spawn Egg.png|Creeper Spawn Egg
Dolphin Spawn Egg.png|Dolphin Spawn Egg
Donkey Spawn Egg.png|Donkey Spawn Egg
Drowned Spawn Egg.png|Drowned Spawn Egg
Elder Guardian Spawn Egg.png|Elder Guardian Spawn Egg
Ender Dragon Spawn Egg.png|Ender Dragon Spawn Egg
Enderman Spawn Egg.png|Enderman Spawn Egg
Endermite Spawn Egg.png|Endermite Spawn Egg
Evoker Spawn Egg.png|Evoker Spawn Egg
Fox Spawn Egg.png|Fox Spawn Egg
Frog Spawn Egg.png|Frog Spawn Egg
Ghast Spawn Egg.png|Ghast Spawn Egg
Glow Squid Spawn Egg.png|Glow Squid Spawn Egg
Goat Spawn Egg.png|Goat Spawn Egg
Guardian Spawn Egg.png|Guardian Spawn Egg
Hoglin Spawn Egg.png|Hoglin Spawn Egg
Horse Spawn Egg.png|Horse Spawn Egg
Husk Spawn Egg.png|Husk Spawn Egg
Iron Golem Spawn Egg.png|Iron Golem Spawn Egg
Llama Spawn Egg.png|Llama Spawn Egg
Magma Cube Spawn Egg.png|Magma Cube Spawn Egg
Mooshroom Spawn Egg.png|Mooshroom Spawn Egg
Mule Spawn Egg.png|Mule Spawn Egg
NPC Spawn Egg.png|NPC Spawn Egg
Ocelot Spawn Egg.png|Ocelot Spawn Egg
Panda Spawn Egg.png|Panda Spawn Egg (Java)
Panda Spawn Egg BE1.png|Panda Spawn Egg (Bedrock)
Parrot Spawn Egg.png|Parrot Spawn Egg
Phantom Spawn Egg.png|Phantom Spawn Egg
Pig Spawn Egg.png|Pig Spawn Egg
Piglin Spawn Egg.png|Piglin Spawn Egg
Piglin Brute Spawn Egg.png|Piglin Brute Spawn Egg
Pillager Spawn Egg.png|Pillager Spawn Egg
Polar Bear Spawn Egg.png|Polar Bear Spawn Egg
Pufferfish Spawn Egg.png|Pufferfish Spawn Egg
Rabbit Spawn Egg.png|Rabbit Spawn Egg
Ravager Spawn Egg.png|Ravager Spawn Egg
Salmon Spawn Egg.png|Salmon Spawn Egg
Sheep Spawn Egg.png|Sheep Spawn Egg
Shulker Spawn Egg.png|Shulker Spawn Egg
Silverfish Spawn Egg.png|Silverfish Spawn Egg
Skeleton Spawn Egg.png|Skeleton Spawn Egg
Skeleton Horse Spawn Egg.png|Skeleton Horse Spawn Egg
Slime Spawn Egg.png|Slime Spawn Egg
Sniffer Spawn Egg.png|Sniffer Spawn Egg
Snow Golem Spawn Egg.png|Snow Golem Spawn Egg
Spider Spawn Egg.png|Spider Spawn Egg
Squid Spawn Egg.png|Squid Spawn Egg
Stray Spawn Egg.png|Stray Spawn Egg
Strider Spawn Egg.png|Strider Spawn Egg
Tadpole Spawn Egg.png|Tadpole Spawn Egg
Trader Llama Spawn Egg.png|Trader Llama Spawn Egg
Tropical Fish Spawn Egg.png|Tropical Fish Spawn Egg
Turtle Spawn Egg.png|Turtle Spawn Egg
Vex Spawn Egg.png|Vex Spawn Egg
Villager Spawn Egg.png|Villager Spawn Egg
Vindicator Spawn Egg.png|Vindicator Spawn Egg
Wandering Trader Spawn Egg.png|Wandering Trader Spawn Egg (Java)
Wandering Trader Spawn Egg BE1.png|Wandering Trader Spawn Egg (Bedrock)
Warden Spawn Egg.png|Warden Spawn Egg
Witch Spawn Egg.png|Witch Spawn Egg
Wither Spawn Egg.png|Wither Spawn Egg
Wither Skeleton Spawn Egg.png|Wither Skeleton Spawn Egg
Wolf Spawn Egg.png|Wolf Spawn Egg
Zoglin Spawn Egg.png|Zoglin Spawn Egg
Zombie Spawn Egg.png|Zombie Spawn Egg
Zombie Horse Spawn Egg.png|Zombie Horse Spawn Egg
Zombie Villager Spawn Egg.png|Zombie Villager Spawn Egg
Zombified Piglin Spawn Egg.png|Zombified Piglin Spawn Egg
Mask Spawn Egg.png|Mask Spawn Egg (texture)
</gallery>
{{Hidden end}}
=== Screenshots ===
<gallery>
Classic eggs.png|Various spawn eggs utilizing their old color scheme before [[12w01a]].
Upsidedownmob.png|An example of an upside-down mob by renaming the spawn egg "Dinnerbone".
UpsideDownMobsEasterEgg.png|Two mobs spawned with the names "Grumm" and "Dinnerbone," respectively.
TheLeadPig.png|First screenshot relating to a named mob shown, through a spawn egg.
</gallery>
== Notes ==
{{notelist|fn}}
== References ==
{{reflist}}
== External Links ==
*[https://www.minecraft.net/en-us/article/taking-inventory--spawn-egg Taking Inventory: Spawn Egg] – Minecraft.net on January 6, 2022
{{Items}}
[[de:Spawn-Ei]]
[[es:Huevo generador]]
[[fr:Œufs d'apparition]]
[[it:Uovo generatore]]
[[ja:スポーンエッグ]]
[[ko:생성 알]]
[[nl:Spawnei]]
[[pl:Jajo przyzywające]]
[[pt:Ovo gerador]]
[[ru:Яйца призывания]]
[[th:ไข่เสก]]
[[zh:刷怪蛋]]
[[Category:Non-renewable resources]]</li><li>[[Baked Potato|Baked Potato]]<br/>{{Item
| title = Baked Potato
| renewable = Yes
| heals = {{hunger|5}}
| stackable = Yes (64)}}
A '''baked potato''' is a [[food]] [[item]] that can be eaten by the [[player]].
== Obtaining ==
Baked potatoes can be obtained by cooking [[potato]]es in a [[furnace]], [[smoker]], or [[campfire]].
{{Smelting
|Potato
|Baked Potato
|0,35
}}
{{IN|JE}}, baked potatoes can also be obtained by killing a zombie or one of its variants while it is on fire. The drop chance is still affected by [[Looting]].
=== Chest loot ===
{{LootChestItem|baked-potato}}
== Usage ==
To eat a baked potato, press and hold {{control|use}} while it is selected in the [[hotbar]]. Eating one restores {{hunger|5}} hunger and 6.0 hunger [[Hunger#Mechanics|saturation]].
=== Crafting ingredient ===
{{crafting usage}}
=== Composting ===
Placing a baked potato into a [[composter]] has an 85% chance of raising the compost level by 1. This is more efficient than composting with raw potatoes.
== Sounds ==
{{Sound table/Entity/Food}}
== Data values ==
=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|showforms=y
|generatetranslationkeys=y
|displayname=Baked Potato
|spritetype=item
|nameid=baked_potato
|form=item
|foot=1}}
{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Baked Potato
|spritetype=item
|nameid=baked_potato
|id=281
|form=item
|foot=1}}
== Advancements ==
{{load advancements|Husbandry;A Balanced Diet}}
== History ==
{{History|java}}
{{History||1.4.2|snap=12w34a|[[File:Baked Potato JE1.png|32px]] Added baked potatoes.}}
{{History|||snap=12w37a|[[File:Baked Potato JE2 BE1.png|32px]] The texture of baked potatoes has been slightly changed.}}
{{History||1.8|snap=14w02a|Baked potatoes now restore {{Hunger|5}} hunger points instead of 6.}}
{{History|||snap=14w27a|Baked potatoes are now used to craft [[rabbit stew]].}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 393.}}
{{History||1.14|snap=18w43a|[[File:Baked Potato JE3.png|32px]] The texture of baked potatoes has been changed.}}
{{History|||snap=18w50a|[[File:Baked Potato JE4 BE2.png|32px]] The texture of baked potatoes has been changed, once again.}}
{{History|||snap=19w03a|Placing a baked potato into the new [[composter]] has an 80% chance of raising the compost level by 1.}}
{{History|||snap=19w05a|Baked potatoes now have an 85% chance of increasing the compost level in a composter by 1.}}
{{History||1.17|snap=21w13a|Baked potatoes can now be dropped by flaming [[zombie]]s.<ref>{{bug|MC-199065}}</ref>}}
{{History||1.19|snap=22w13a|Baked potatoes can now be found in [[ancient city]] ice box [[chest]]s.}}
{{History|upcoming java}}
{{History||Villager Trade Rebalance<br>(Experimental)|link=Java Edition 1.20.2|snap=23w31a|[[Wandering trader]]s now have a chance to [[trading|buy]] baked potatoes from the player.}}
{{History|pocket alpha}}
{{History||v0.8.0|snap=build 1|[[File:Baked Potato JE2 BE1.png|32px]] Added baked potatoes.}}
{{History||v0.12.1|snap=build 1|Baked potatoes now restore [[hunger]] instead of [[health]].}}
{{History||v0.13.0|snap=build 1|Baked potatoes are now used to craft [[rabbit stew]].}}
{{History|bedrock}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Baked Potato JE4 BE2.png|32px]] The texture of baked potatoes has been changed.}}
{{History||1.11.0|snap=beta 1.11.0.1|Baked potatoes can now be used to fill up [[composter]]s.}}
{{History|console}}
{{History||xbox=TU14|xbone=CU1|ps=1.04|wiiu=Patch 1|switch=1.0.1|[[File:Baked Potato JE2 BE1.png|32px]] Added baked potatoes.}}
{{History||ps=1.00|[[File:Baked Potato JE2 BE1.png|32px]] Added baked potatoes to the [[PlayStation 4 Edition|PS4]] and [[PlayStation Vita Edition|PSVita]].}}
{{History||xbox=none|xbone=none|ps=1.90|wiiu=none|switch=none|[[File:Baked Potato JE4 BE2.png|32px]] The texture of baked potatoes has been changed.}}
{{History|new3DS}}
{{History||0.1.0|[[File:Baked Potato JE2 BE1.png|32px]] Added baked potatoes.}}
{{History|foot}}
== Issues ==
{{issue list}}
== See also ==
* {{ItemLink|Poisonous Potato}}
{{Items}}
[[Category:Food]]
[[Category:Renewable resources]]
[[cs:Pečená brambora]]
[[de:Ofenkartoffel]]
[[es:Patata cocida]]
[[fr:Pomme de terre cuite]]
[[hu:Sült burgonya]]
[[it:Patata al forno]]
[[ja:ベイクドポテト]]
[[ko:구운 감자]]
[[nl:Gebakken aardappel]]
[[pl:Pieczony ziemniak]]
[[pt:Batata assada]]
[[ru:Печёный картофель]]
[[th:มันฝรั่งอบ]]
[[zh:烤马铃薯]]</li></ul></nowiki> | Initial release. In this version users can choose not only the current version but also Infdev. | ||||
| b | |||||
1.3{{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>[[Rabbit Hide|Rabbit Hide]]<br/>{{Item
| title = Rabbit Hide
| image = Rabbit Hide.png
| renewable = Yes
| stackable = Yes (64)
}}
'''Rabbit hide''' is an [[item]] dropped by [[rabbit]]s.
== Obtaining ==
===Mob loot===
[[Rabbit]]s drop 0–1 rabbit hide upon death. The maximum number of drops can be increased by 1 per level of [[Looting]] used, for a maximum of 0–4 rabbit hides with Looting III.
Some [[foxes]] spawn holding rabbit hides, which always drop upon death. Alternatively, the player can drop a food item, which causes the fox to drop the rabbit hide.
=== Cat gifts ===
{{main|Cat#Gifts}}
Tamed [[cat]]s have a 70% chance of giving the [[player]] a gift when they wake up from a [[bed]], and the gift has a 16.13% chance to be a rabbit hide.
== Usage ==
Rabbit hide can be crafted into leather, or into bundles to store stacks of items.
=== Crafting ingredient ===
{{crafting usage}}
=== Trading ===
Journeyman-level leatherworker [[villager]]s buy 9 rabbit hide for an [[emerald]] as part of their trades.
== Data values ==
=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|showforms=y
|generatetranslationkeys=y
|displayname=Rabbit Hide
|spritetype=item
|nameid=rabbit_hide
|form=item
|foot=1}}
{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Rabbit Hide
|spritetype=item
|nameid=rabbit_hide
|id=529
|form=item
|foot=1}}
== History ==
{{History|java}}
{{History||1.8|snap=June 30, 2014|slink={{tweet|TheMogMiner|483636993780232192}}|[[Ryan Holtz]] tweeted images of rabbit hide and some other new [[item]]s.}}
{{History|||snap=14w27a|[[File:Rabbit Hide JE1.png|32px]] Added rabbit hide.}}
{{History|||snap=14w33b|[[File:Rabbit Hide JE2 BE1.png|32px]] The texture of rabbit hide has been changed.}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 415.}}
{{History||1.14|snap=18w43a|[[File:Rabbit Hide JE3 BE2.png|32px]] The texture of rabbit hide has been changed.}}
{{History|||snap=18w44a|Cats now offer rabbit hides as [[Cat#Gifts|gifts]].}}
{{History|||snap=19w07a|Added [[fox]]es, which sometimes spawn with rabbit hides in their mouths.}}
{{History|||snap=19w11a|Leatherworker [[villager]]s now [[trading|buy]] rabbit hides.}}
{{History||1.17|snap=20w45a|Rabbit hide can now be used to craft [[bundle]]s.}}
{{History|||snap=21w18a|Rabbit hide can no longer be used to craft bundles.}}
{{History||1.18|snap=Experimental Snapshot 1|Rabbit hide can now once again be used to craft bundles.}}
{{History|||snap=21w37a|Rabbit hide once again can no longer be used to craft bundles.}}
{{History||1.20<br>(Experimental)|link=1.19.3|snap=22w42a|Rabbit hide can now once again be used to craft bundles.}}
{{History|pocket alpha}}
{{History||v0.13.0|snap=build 1|[[File:Rabbit Hide JE2 BE1.png|32px]] Added rabbit hide.}}
{{History|bedrock}}
{{History||1.8.0|snap=beta 1.8.0.8|Tamed [[cat]]s can now give [[player]]s rabbit hide as a gift.}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Rabbit Hide JE3 BE2.png|32px]] The texture of rabbit hide has been changed.}}
{{History||1.11.0|snap=beta 1.11.0.4|Rabbit hide can be [[trading|sold]] to leatherworker [[villager]]s.}}
{{History||1.13.0|snap=beta 1.13.0.1|Added [[fox]]es, which can [[drops|drop]] rabbit hide.}}
{{History|console}}
{{History||xbox=TU31|xbone=CU19|ps=1.22|wiiu=Patch 3|switch=1.0.1|[[File:Rabbit Hide JE2 BE1.png|32px]] Added rabbit hide.}}
{{History||xbox=none|xbone=none|ps=1.90|wiiu=none|switch=none|[[File:Rabbit Hide JE3 BE2.png|32px]] The texture of rabbit hide has been changed.}}
{{History|new 3ds}}
{{History||0.1.0|[[File:Rabbit Hide JE2 BE1.png|32px]] Added rabbit hide.}}
{{History|foot}}
== Issues ==
{{issue list}}
== Gallery ==
<gallery>
File:Rabbit Items 1 Ryan Holtz.png|First image of the item by [[Ryan Holtz]].
</gallery>
{{items}}
[[de:Kaninchenfell]]
[[es:Piel de conejo]]
[[fr:Peau de lapin]]
[[hu:Nyúlbőr]]
[[it:Pelle di coniglio]]
[[ja:ウサギの皮]]
[[ko:토끼 가죽]]
[[nl:Konijnenhuid]]
[[pl:Królicza skóra]]
[[pt:Pele de coelho]]
[[ru:Кроличья шкурка]]
[[zh:兔子皮]]
[[Category:Renewable resources]]</li></ul> | (Client/Launcher Update) Added official links, community links and twitter links. | ||||
| Added command line argument support. | |||||
| r | |||||
1.1{{Extension DPL}}<ul><li>[[Glistering Melon Slice|Glistering Melon Slice]]<br/>{{Item
| image = Glistering Melon Slice.png
| renewable = Yes
| stackable = Yes (64)
}}
A '''glistering melon slice'''{{fn|Known as '''Glistering Melon Slice''' {{in|java}} and '''Glistering Melon''' {{in|bedrock}}.}} is an inedible [[item]] used for brewing [[potion]]s of [[Healing]]. It is also one of the many potion ingredients that can be used to make mundane potions.
== Obtaining ==
=== Chest loot ===
{{LootChestItem|glistering-melon-slice}}
=== Crafting ===
{{Crafting
|A1= Gold Nugget
|B1= Gold Nugget
|C1= Gold Nugget
|A2= Gold Nugget
|B2= Melon Slice
|C2= Gold Nugget
|A3= Gold Nugget
|B3= Gold Nugget
|C3= Gold Nugget
|Output= Glistering Melon Slice
|type= Brewing
}}
=== Trading ===
Master-level farmer [[villager]]s sell 3 glistering melon for 4 [[emerald]]s.
== Usage ==
Despite being crafted with a [[melon slice]], a glistering melon slice cannot be eaten, unlike a [[golden apple]] or [[golden carrot]].
=== Brewing ingredient ===
{{Brewing
|head=1
|Glistering Melon Slice
|Mundane Potion
|base=Water Bottle
}}
{{Brewing
|Glistering Melon Slice
|Potion of Healing
|foot=1}}
===Piglins===
[[Piglin]]s are attracted to glistering melon slices. They run toward any glistering melon slice on the ground, and inspect it for 6 to 8 seconds before putting it in their inventory.
== Achievements ==
{{load achievements|Oooh, shiny!}}
== Advancements ==
{{load advancements|Oh Shiny}}
== Data values ==
=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|showforms=y
|generatetranslationkeys=y
|displayname=Glistering Melon Slice
|spritetype=item
|nameid=glistering_melon_slice
|form=item
|foot=1}}
{{edition|bedrock}}:
{{ID table
|edition=bedrock
|showaliasids=y
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Glistering Melon
|spritetype=item
|nameid=glistering_melon_slice
|aliasid=speckled_melon
|id=434
|form=item
|translationkey=item.speckled_melon.name
|foot=1}}
== History ==
{{History|java}}
{{History||1.0.0|snap=Beta 1.9 Prerelease 4|[[File:Glistering Melon Slice JE1 BE1.png|32px]] Added glistering melons.
|The [[crafting]] recipe of glistering melons is one [[melon slice]] and one [[gold nugget]].
|Glistering melons have replaced [[ghast tear]]s as the ingredient to produce [[potions of Healing]] due to the difficulty in getting tears.<ref>{{tweet|jeb_|123671273904680960}}</ref> They also now brew with [[water bottle]]s to create [[mundane potion]]s.}}
{{History||1.6.1|snap=13w23a|The [[crafting]] recipe of glistering melons is changed from one [[gold nugget]] to eight.}}
{{History||1.9|snap=15w49a|[[File:Glistering Melon Slice JE2.png|32px]] The rotation of glistering melon [[item]]s has been changed to be consistent with [[melon slice]]s.<ref>{{bug|MC-85963}}</ref>}}
{{History|||snap=15w49b|[[File:Glistering Melon Slice JE1 BE1.png|32px]] The rotation of glistering melons has been reverted and is no longer consistent with melon slices.}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 382.}}
{{History|||snap=18w20b|"Glistering Melon" has been renamed to "Glistering Melon Slice".
|The ID of glistering melon slices has been changed from <code>speckled_melon</code> to <code>glistering_melon_slice</code>.}}
{{History||1.14|snap=18w43a|[[File:Glistering Melon Slice JE3 BE2.png|32px]] The texture of glistering melon slices has been changed.}}
{{History|||snap=19w11a|Farmer [[villager]]s now [[trading|sell]] glistering melon slices.}}
{{History||1.16|snap=20w09a|Glistering melon slices are now admired by [[piglin]]s.<ref>{{bug|MC-172363}}</ref>}}
{{History|||snap=20w16a|Glistering melon slices now generate in [[ruined portal]] chests.}}
{{History|pocket alpha}}
{{History||v0.12.1|snap=build 1|[[File:Glistering Melon Slice JE1 BE1.png|32px]] Added glistering melons.}}
{{History|bedrock}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Glistering Melon Slice JE3 BE2.png|32px]] The texture of glistering melons has been changed.}}
{{History||1.11.0|snap=beta 1.11.0.4|Glistering melons can now be [[trading|bought]] from farmer [[villager]]s.}}
{{History||1.13.0|snap=beta 1.13.0.9|[[Trading]] has been changed. Master-level farmer villagers now have a {{frac|1|3}} chance to [[trading|sell]] glistering melon slices.}}
{{History||1.16.0|snap=beta 1.16.0.57|Glistering melons are [[trading|sold]] from farmer villagers under a 50% chance, once again.
|Glistering melons now generate in [[ruined portal]] chests.}}
{{History||1.16.100|snap=beta 1.16.100.54|[[Ruined Portal]]s can now generate with 4–12 glistering melons instead of only one.}}
{{History|||snap=beta 1.16.100.56|The ID of glistering melon slices has been changed from <code>speckled_melon</code> to <code>glistering_melon_slice</code>.}}
{{History|console}}
{{History||xbox=TU7|xbone=CU1|ps=1.0|wiiu=Patch 1|[[File:Glistering Melon Slice JE1 BE1.png|32px]] Added glistering melons.}}
{{History||xbox=none|xbone=none|ps=1.90|wiiu=none|switch=none|[[File:Glistering Melon Slice JE3 BE2.png|32px]] The texture of glistering melons has been changed.}}
{{History|New 3DS}}
{{History||0.1.0|[[File:Glistering Melon Slice JE1 BE1.png|32px]] Added glistering melons.}}
{{History|foot}}
== Issues ==
{{issue list}}
== See also ==
* [[Melon Slice]]
* [[Melon]]
== Notes ==
{{fnlist}}
== References ==
{{reflist}}
{{Items}}
[[Category:Renewable resources]]
[[cs:Zlatavý kousek melounu]]
[[de:Glitzernde Melonenscheibe]]
[[es:Rodaja de sandía reluciente]]
[[fr:Tranche de pastèque scintillante]]
[[hu:Ragyogó dinnye]]
[[ja:きらめくスイカの薄切り]]
[[ko:반짝이는 수박 조각]]
[[nl:Glinsterende meloenschijf]]
[[pl:Błyszczący arbuz]]
[[pt:Fatia de melancia reluzente]]
[[ru:Сверкающий ломтик арбуза]]
[[uk:Блискуча скибка кавуна]]
[[zh:闪烁的西瓜片]]</li><li>[[Sword|Sword]]<br/>{{For|the item in ''Minecraft Dungeons''|MCD:Sword|MCD:Diamond Sword}}
{{Item
| image = <gallery>
Wooden Sword.png | Wooden
Stone Sword.png | Stone
Iron Sword.png | Iron
Golden Sword.png | Golden
Diamond Sword.png | Diamond
Netherite Sword.png | Netherite
</gallery>
| rarity = Common
| renewable =
* '''Netherite''': No
* '''All others''': Yes
| durability =
'''Java Edition'''<br>
Golden: 32<br>
Wood: 59<br>
Stone: 131<br>
Iron: 250<br>
Diamond: 1561<br>
Netherite: 2031<br>
'''Bedrock Edition'''<br>
Golden: 33<br>
Wood: 60<br>
Stone: 132<br>
Iron: 251<br>
Diamond: 1562<br>
Netherite: 2032
| stackable = No
}}
The '''sword''' is a melee [[weapon]] that is mainly used to deal [[damage]] to [[entity|entities]] or for breaking certain blocks faster than by hand. A sword is made from one of six materials, in order of increasing quality and expense: wood, gold, stone, iron, diamond and netherite.
== Obtaining ==
=== Crafting ===
{{Crafting
|showname=0
|showdescription=1
|head=1
|name=[[Swords]]
|B1={Any Planks}; Iron Ingot; Gold Ingot; Diamond
|B2={Any Planks}; Iron Ingot; Gold Ingot; Diamond
|B3=Stick
|Output=Wooden Sword; Iron Sword; Golden Sword; Diamond Sword
|type=Combat
}}
{{Crafting
|name=Stone Sword
|B1=Any stone-tier block
|B2=Any stone-tier block
|B3=Stick
|Output=Stone Sword
|description=Can use cobblestone and its other variants interchangeably.
|type=Combat
}}
{{Crafting
|foot=1
|ignoreusage=1
|name=[[Swords]]
|ingredients=Damaged Matching [[Swords]]
|Damaged Wooden Sword; Damaged Stone Sword; Damaged Iron Sword; Damaged Golden Sword; Damaged Diamond Sword; Damaged Netherite Sword
|Damaged Wooden Sword; Damaged Stone Sword; Damaged Iron Sword; Damaged Golden Sword; Damaged Diamond Sword; Damaged Netherite Sword
|description= The durability of the two swords is added together, plus an extra 5% of the tool type's total durability. Enchantments are removed unless combined on an [[anvil]].<br>'''Example:''' Two wooden swords, each with remaining durability of 20, combine into a wooden sword having 43 durability (20 + 20 + 5% of 60).
|Output=Wooden Sword; Stone Sword; Iron Sword; Golden Sword; Diamond Sword; Netherite Sword
|type=Combat
}}
=== Upgrading ===
{{Smithing
|Netherite Upgrade
|Diamond Sword
|Netherite Ingot
|Netherite Sword
|description=
|tail=1
}}
=== Repairing ===
==== Grinding ====
{{Grinding
|showdescription=1
|ingredients=2x Damaged Wooden Sword or<br>2x Damaged Stone Sword or<br>2x Damaged Iron Sword or<br>2x Damaged Golden Sword or<br>2x Damaged Diamond Sword or <br>2x Damaged Netherite Sword
|Damaged Wooden Sword; Damaged Stone Sword; Damaged Iron Sword; Damaged Golden Sword; Damaged Diamond Sword; Damaged Netherite Sword
|Damaged Wooden Sword; Damaged Stone Sword; Damaged Iron Sword; Damaged Golden Sword; Damaged Diamond Sword; Damaged Netherite Sword
|Wooden Sword; Stone Sword; Iron Sword; Golden Sword; Diamond Sword; Netherite Sword
|description=The durability of the two swords is added together, plus an extra 5% durability. Any enchantments, besides curses, would be removed.
}}
==== Unit repair ====
{{main|Anvil mechanics#Unit repair}}
{{/Repairing with Anvils}}
A sword can be repaired in an [[anvil]] by adding units of the [[tiers]]' repair material, with each repair material restoring 25% of the sword's maximum durability, rounded down.
=== Mob loot ===
{{Main|Drops#Equipped items}}
Some [[mobs]] can spawn with a sword and have an 8.5% chance of dropping them upon death caused by player. This chance is increased by 1% per level of [[Looting]], up to a maximum of 11.5% with Looting III. [[Zombie]]s and [[husk]]s can drop iron swords, [[zombified piglin]]s and [[piglin]]s can drop golden swords, and [[wither skeleton]]s can drop stone swords. The dropped sword is usually badly damaged and may be enchanted. Stone swords dropped by wither skeletons are never enchanted.
A [[vex]] wields an iron sword that normally has a 0% chance of dropping, because their main hand's <code>HandDropChances</code> is 0. However, this chance increases by 1 percentage point per level of Looting. It is never damaged{{only|java}} and may be enchanted.
{{IN|be}}, [[pillager]]s and [[vindicator]]s that spawn from raids have a 4.1% chance (5.12% chance on hard mode) of dropping a damaged iron sword. This sword has a 50% chance of being enchanted.
=== Trading ===
[[File:Weaponsmith Diamond Sword Trade.png|thumb|right|The diamond sword trade of a weaponsmith.]]
{{IN|bedrock}}, an apprentice-level weaponsmith villagers sells enchanted iron swords for at least 7-21 emeralds, and a master-level weaponsmith sells enchanted diamond swords for at least 13-27 emeralds.
{{IN|java}}, a novice-level weaponsmith villager has a {{frac|2|3}} chance of selling an enchanted iron sword for at least 7-22 emeralds. A master-level weaponsmith offers to sell an enchanted diamond sword for at least 11–27 emeralds.
The enchantments of the swords offered by villagers are the same as the ones obtained from an [[enchantment table]] at levels 5–19.
=== Chest loot ===
{{LootChestItem|iron-sword,level-enchanted-iron-sword,damaged-random-enchanted-iron-sword,golden-sword,random-enchanted-golden-sword,diamond-sword,damaged-diamond-sword,level-enchanted-diamond-sword,damaged-random-enchanted-diamond-sword,damaged-random-enchanted-diamond-sword-2}}
== Usage ==
=== Attacking ===
Pressing {{control|attack}} while holding a sword inflicts damage on both mobs and other players. Upon damaging a mob or player, the sword's [[Item Durability|durability]] decreases by 1.
Attacking a [[boat]] or a [[minecart]] with a sword stone tier or higher instantly destroys it {{only|java}}, without decreasing the sword's durability. Otherwise, it requires 2 hits, with neither decreasing durability.
==== Sweeping ====
{{exclusive|Java|section=1}}
If the attack recharge meter is 84.8% or above and the player is on the ground standing or moving slower than the [[sprinting]] speed in a straight line, the sword performs a sweeping attack indicated by a gale [[particle]] that reaches nearby enemies for {{hp|1}} and knocks them back; the amount of knockback is 80% that of the basal knockback and does not benefit from the [[knockback]] enchantment. As result, the player can perform a sweep attack while they are sprinting diagonally but it is impossible to perform a sweep attack at the same time as a critical hit or while riding some [[entity]]. All enemies within an 1 by 0.25 by 1 block area of any part of the attacked mob and whose feet are 3 or less blocks away from player's feet are affected. The [[sweeping edge]] enchantment increases the damage dealt by 50% of the normal hit damage for level I, 67% for level II and 75% for level III.
=== Damage ===
{{Main|Damage}}
==== Java Edition ====
Swords have an attack speed of 1.6 and take 0.625 seconds to [[Damage#Attack cooldown|recover]].
{| class="wikitable" style="text-align:center" data-description="Sword attack damage by type"
! Material
! {{ItemSprite|Wooden Sword|text=Wooden}}
! {{ItemSprite|Golden Sword|text=Gold}}
! {{ItemSprite|Stone Sword|text=Stone}}
! {{ItemSprite|Iron Sword|text=Iron}}
! {{ItemSprite|Diamond Sword|text=Diamond}}
! {{ItemSprite|Netherite Sword|text=Netherite}}
|-
! Attack Damage
| {{hp|4}}
| {{hp|4}}
| {{hp|5}}
| {{hp|6}}
| {{hp|7}}
| {{hp|8}}
|-
! Attack Speed
| 1.6
| 1.6
| 1.6
| 1.6
| 1.6
| 1.6
|-
! Damage/Second (DPS)
| 6.4
| 6.4
| 8
| 9.6
| 11.2
| 12.8
|-
! Durability
| 59
| 32
| 131
| 250
| 1561
| 2031
|-
! Lifetime damage inflicted<ref group="note">The formula to find the total lifetime damage is ''Lifetime damage minimum = Durability × Damage per hit''. It ignores enchantments and [[Damage#Critical_hit|critical hits]], and assumes the sword is at maximum charge</ref>
| {{hp|236}}
| {{hp|128}}
| {{hp|655}}
| {{hp|1500}}
| {{hp|10927}}
| {{hp|16248}}
|}
{{notelist}}
==== Bedrock Edition ====
{{IN|bedrock}}, swords have no attack cooldown or sweep attack, and deal the following damage:
{| class="wikitable" style="text-align:center" data-description="Sword attack damage by type"
! Material
! {{ItemSprite|Wooden Sword|text=Wooden}}
! {{ItemSprite|Golden Sword|text=Gold}}
! {{ItemSprite|Stone Sword|text=Stone}}
! {{ItemSprite|Iron Sword|text=Iron}}
! {{ItemSprite|Diamond Sword|text=Diamond}}
! {{ItemSprite|Netherite Sword|text=Netherite}}
|-
! Attack Damage
| {{hp|5}} <!-- DO NOT CHANGE THESE! The values are correct, '+4 Attack Damage' means 5 total attack damage. -->
| {{hp|5}}
| {{hp|6}}
| {{hp|7}}
| {{hp|8}}
| {{hp|9}}
|-
! Durability
| 60
| 33
| 132
| 251
| 1562
| 2032
|-
! Lifetime damage inflicted<ref group="note">The formula to find the total lifetime damage is ''Durability × Damage per hit = Lifetime damage minimum''. It excludes enchantments and critical hits</ref>
| {{hp|300}}
| {{hp|165}}
| {{hp|792}}
| {{hp|1757}}
| {{hp|12496}}
| {{hp|18288}}
|}
{{notelist}}
The most amount of damage that a sword enchanted with [[Sharpness]] V can do is 11 {{in|java}} and 15.25 {{in|bedrock}}, without critical hits.
=== Sword breaking times ===
{{main|Breaking}}
A sword can also be used to destroy certain blocks 50% quicker, sometimes much quicker than with fists. Using a sword to destroy any block that doesn't break instantly by hand decreases its durability by 2; this includes bamboo, despite that the sword is the fastest tool for breaking it.<ref>{{bug|MC-195168||Swords consume double durability than they normally would when destroying bamboo saplings, bamboo, or cobwebs}}</ref>
If a sword is enchanted with [[Silk Touch]], either using [[Creative]] or [[commands]], cobwebs the sword destroys will drop the cobwebs themselves instead of the usual string. This is due to the sword being classified as the proper tool for cobwebs.
The following table shows the time it takes to break blocks on which swords have any effect. Colors indicate what gets dropped:
* White: an original block.
* Blue: block's normal drop (e.g. seeds, sapling, apple).
* Red: nothing.
{| class="wikitable" style="text-align:center" data-description="Blocks affected by swords"
! Block
! Fists
! Sword
! colspan="2" | Proper/fastest tool
|-
!style="text-align:left"| {{BlockLink|Bamboo}}
| {{tc|no|{{breaking time|Bamboo}} s }} || 0.05 s (instant) <!-- this doesn't work: {{tc|planned|{{breaking time|Bamboo|Sword}} s}} -->
| {{ItemSprite|sword|link=Sword}}
| 0.05 s (instant) <!-- this doesn't work: {{breaking time|Bamboo|Sword}} s -->
|-
!style="text-align:left"| {{BlockLink|Cobweb}}
| {{tc|no|{{breaking time|Cobweb|drop=None}} s}} || {{tc|planned|{{breaking time|Cobweb|Sword}} s}}
| {{ItemSprite|shears|link=Shears}}
| {{breaking time|Cobweb|Shears}} s
|-
!style="text-align:left"| {{BlockLink|Cocoa}}
| {{tc|planned|{{breaking time|Cocoa}}s}} || {{tc|planned|{{breaking time|Cocoa|Sword}}s}}
| {{ItemSprite|wooden-axe|link=Axe}}
| {{tc|planned|{{breaking time|Cocoa|Golden}} – {{breaking time|Cocoa|Wooden}} s}}
|-
! style="text-align:left"|{{BlockLink|Hay Bale}}
| 1s
| 0.8s{{only|bedrock}}
| {{ItemSprite|wooden-hoe|link=Hoe}}
| {{breaking time|Hay Bale|Golden}} – {{breaking time|Hay Bale|Wooden}} s
|-
!style="text-align:left" rowspan="2"| {{BlockLink|Leaves}}
!rowspan="2" {{tc|planned|{{breaking time|Leaves}} s}}
!rowspan="2" {{tc|planned|{{breaking time|Leaves|Sword}} s}}
| {{ItemSprite|shears|link=Shears}}
| {{breaking time|Leaves|Shears}}s
|-
| {{ItemSprite|wooden-hoe|link=Hoe}}
| {{tc|planned|{{breaking time|Leaves|Golden}} – {{breaking time|Leaves|Wooden}} s}}
|-
!style="text-align:left"| {{BlockLink|Jack o'Lantern}}
| {{breaking time|Jack o'Lantern}} s || {{breaking time|Jack o'Lantern|Sword}} s
| {{ItemSprite|wooden-axe|link=Axe}}
| {{breaking time|Jack o'Lantern|Golden}} – {{breaking time|Jack o'Lantern|Wooden}} s
|-
!style="text-align:left"| {{BlockLink|Melon}}
| {{tc|planned|{{breaking time|Melon}} s}} || {{tc|planned|{{breaking time|Melon|Sword}} s}}
| {{ItemSprite|wooden-axe|link=Axe}}
| {{tc|planned|{{breaking time|Melon|Golden}} – {{breaking time|Melon|Wooden}} s}}
|-
!style="text-align:left"| {{BlockLink|Pumpkin}}
| {{breaking time|Pumpkin}}s || {{breaking time|Pumpkin|Sword}} s
| {{ItemSprite|wooden-axe|link=Axe}}
| {{breaking time|Pumpkin|Golden}} – {{breaking time|Pumpkin|Wooden}} s
|-
!style="text-align:left" rowspan="2"| {{BlockLink|Vines}}
| rowspan="2" {{tc|no|{{breaking time|Vines}} s}} || rowspan="2" {{tc|no|{{breaking time|Vines|Sword}} s}}
| {{ItemSprite|wooden-axe|link=Axe}}
| {{tc|no|{{breaking time|Vines|Golden}} – {{breaking time|Vines|Wooden}} s}}
|-
| {{ItemSprite|shears|link=Shears}}
| {{breaking time|Vines|Shears}} s
|}
==== Safety around constructions ====
In Creative mode, swords are unable to break blocks. However, care must still be taken around [[minecart]]s, [[painting]]s, [[item frame]]s,{{only|java}} and [[armor stand]]s; these are entities, thus can be broken with swords in Creative.<ref>{{bug|MC-27140}}</ref><ref>{{bug|MC-18463}}</ref>
=== Enchantments ===
Swords can receive, gathered from mob drops/villager trades or be found in various loot chests (example: End City, Bastion Remnant)with the following [[enchantment]]s:
{| class="wikitable sortable col-2-center col-3-right"
|+
!Name
!Max Level
![[Enchanting|Method]]
!Weight
|-
|[[Fire Aspect]]
|II
|{{Inventory slot|Enchanting Table}}{{Inventory slot|Anvil}}
|2
|-
|[[Looting]]
|III
|{{Inventory slot|Enchanting Table}}{{Inventory slot|Anvil}}
|2
|-
|[[Unbreaking]]
|III
|{{Inventory slot|Enchanting Table}}{{Inventory slot|Anvil}}
|5
|-
|[[Sharpness]]<ref group=note name=note1>Sharpness, Smite, and Bane of Arthropods are mutually exclusive.</ref>
|V
|{{Inventory slot|Enchanting Table}}{{Inventory slot|Anvil}}
|10
|-
|[[Smite]]<ref group=note name=note1/>
|V
|{{Inventory slot|Enchanting Table}}{{Inventory slot|Anvil}}
|5
|-
|[[Bane of Arthropods]]<ref group="note" name=note1/>
|V
|{{Inventory slot|Enchanting Table}}{{Inventory slot|Anvil}}
|5
|-
|[[Knockback]]
|II
|{{Inventory slot|Enchanting Table}}{{Inventory slot|Anvil}}
|5
|-
|[[Mending]]
|I
|{{Inventory slot|Anvil}}
|2
|-
|[[Curse of Vanishing]]
|I
|{{Inventory slot|Anvil}}
|1
|-
|[[Sweeping Edge]]{{Only|java|short=1}}
|III
|{{Inventory slot|Enchanting Table}}{{Inventory slot|Anvil}}
|2
|}
Golden swords have the highest enchantability, yet the least durability{{Notelist}}
=== Fuel ===
Wooden swords can be used as fuel in [[furnace]]s, smelting 1 item per sword.
=== Smelting ingredient ===
{{Smelting|showname=1|Iron Sword;Golden Sword|Iron Nugget;Gold Nugget|0,1}}
=== Piglins ===
If a {{EntityLink|Piglin}} see a golden sword, it will set off to reach it, then stare at it for 120 — 160 ticks, putting it in their inventory, and continue to perform the action it was taking before being attracted by the golden sword.
== Sounds ==
{{Edition|Java}}:
{{Sound table
|sound=Strong attack1.ogg
|sound2=Strong attack2.ogg
|sound3=Strong attack3.ogg
|sound4=Strong attack4.ogg
|sound5=Strong attack5.ogg
|sound6=Strong attack6.ogg
|subtitle=Strong attack
|source=player
|description=When a player deals an attack that does not trigger any other attack sounds
|id=entity.player.attack.strong
|translationkey=subtitles.entity.player.attack.strong
|volume=''varies'' <ref group=sound>0.6 for <code>strong1</code> through <code>strong4</code>, and 0.7 for <code>strong5</code> and <code>strong6</code></ref>
|pitch=1.0
|distance=16}}
{{Sound table
|sound=Critical attack1.ogg
|sound2=Critical attack2.ogg
|sound3=Critical attack3.ogg
|subtitle=Critical attack
|source=player
|description=When a player deals a critical hit
|id=entity.player.attack.crit
|translationkey=subtitles.entity.player.attack.crit
|volume=0.7
|pitch=1.0
|distance=16}}
{{Sound table
|sound=Knockback attack1.ogg
|sound2=Knockback attack2.ogg
|sound3=Knockback attack3.ogg
|sound4=Knockback attack4.ogg
|subtitle=Knockback attack
|source=player
|description=When a player deals a sprinting attack
|id=entity.player.attack.knockback
|translationkey=subtitles.entity.player.attack.knockback
|volume=0.7
|pitch=1.0
|distance=16}}
{{Sound table
|sound=Sweep attack1.ogg
|sound2=Sweep attack2.ogg
|sound3=Sweep attack3.ogg
|sound4=Sweep attack4.ogg
|sound5=Sweep attack5.ogg
|sound6=Sweep attack6.ogg
|sound7=Sweep attack7.ogg
|subtitle=Sweeping attack
|source=player
|description=When a player deals a sweep attack
|id=entity.player.attack.sweep
|translationkey=subtitles.entity.player.attack.sweep
|volume=0.7
|pitch=1.0
|distance=16}}
{{Sound table
|rowspan=2
|sound=Weak attack1.ogg
|sound2=Weak attack2.ogg
|sound3=Weak attack3.ogg
|sound4=Weak attack4.ogg
|subtitle=Weak attack
|source=player
|description=When a player deals an attack with no damage
|id=entity.player.attack.nodamage
|translationkey=subtitles.entity.player.attack.weak
|volume=0.7
|pitch=1.0
|distance=16}}
{{Sound table
|subtitle=Weak attack
|source=player
|description=When a player attempts to attack without sufficient cooldown
|id=entity.player.attack.weak
|translationkey=subtitles.entity.player.attack.weak
|volume=0.7
|pitch=1.0
|distance=16}}
{{Sound table
|sound=Random break.ogg
|subtitle=Item breaks
|source=player
|description=When a sword's durability is exhausted
|id=entity.item.break
|translationkey=subtitles.entity.item.break
|volume=0.8
|pitch=0.8-1.2
|distance=16
|foot=1}}
{{Edition|Bedrock}}:
{{Sound table
|type=bedrock
|sound=Strong attack1.ogg
|sound2=Strong attack2.ogg
|sound3=Strong attack3.ogg
|sound4=Strong attack4.ogg
|sound5=Strong attack5.ogg
|sound6=Strong attack6.ogg
|source=player
|description=When a player deals an attack with damage
|id=game.player.attack.strong
|volume=0.2
|pitch=0.8-1.2}}
{{Sound table
|sound=Weak attack1.ogg
|sound2=Weak attack2.ogg
|sound3=Weak attack3.ogg
|sound4=Weak attack4.ogg
|source=player
|description=When a player deals an attack with no damage
|id=game.player.attack.nodamage
|volume=0.2
|pitch=0.8-1.2}}
{{Sound table
|sound=Random break.ogg
|source=player
|description=When an sword's durability is exhausted
|id=random.break
|volume=1.0
|pitch=0.9
|foot=1}}
== Data values ==
=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|showforms=y
|generatetranslationkeys=y
|displayname=Wooden Sword
|spritetype=item
|nameid=wooden_sword
|form=item}}
{{ID table
|displayname=Stone Sword
|spritetype=item
|nameid=stone_sword
|form=item}}
{{ID table
|displayname=Iron Sword
|spritetype=item
|nameid=iron_sword
|form=item}}
{{ID table
|displayname=Diamond Sword
|spritetype=item
|nameid=diamond_sword
|form=item}}
{{ID table
|displayname=Golden Sword
|spritetype=item
|nameid=golden_sword
|form=item}}
{{ID table
|displayname=Netherite Sword
|spritetype=item
|nameid=netherite_sword
|form=item
|foot=1}}
{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Wooden Sword
|spritetype=item
|nameid=wooden_sword
|id=308
|form=item}}
{{ID table
|displayname=Stone Sword
|spritetype=item
|nameid=stone_sword
|id=312
|form=item}}
{{ID table
|displayname=Iron Sword
|spritetype=item
|nameid=iron_sword
|id=307
|form=item}}
{{ID table
|displayname=Diamond Sword
|spritetype=item
|nameid=diamond_sword
|id=316
|form=item}}
{{ID table
|displayname=Golden Sword
|spritetype=item
|nameid=golden_sword
|id=322
|form=item}}
{{ID table
|displayname=Netherite Sword
|spritetype=item
|nameid=netherite_sword
|id=604
|form=item
|foot=1}}
== Achievements ==
{{load achievements|Time to Strike!;Overkill;Oooh, shiny!}}
== Advancements ==
{{load advancements|Oh Shiny}}
== History ==
=== Blocking ===
{{main|Blocking}}
[[File:Parrying.png|thumb|right|The blocking animation using a sword before and after [[Java Edition 14w30a]] (from the [[Adventure Update|Adventure]] to the [[Bountiful Update|Bountiful]] updates).]]
Previously, since the [[Adventure Update]], all types of swords could be used to parry to block some forms of damage. If the player is blocking with a sword when attacked, the sword deflects 50% of incoming damage from melee, non-magical projectiles like arrows, and explosions, along with minimizing airborne knockback. The sword is held in front of the player and its durability is not reduced by blocking. The player moves at a slower rate than [[sneaking]] if blocking with a sword. Sword blocks could be engaged and disengaged instantly, with no delay between the input and damage mitigation nor cooldown between lowering a block and raising a new one.
After the [[Combat Update]], the sword blocking functionality was replaced by blocking with [[shield]]s and to accommodate the [[dual wield]] system. Shields negate more damage and knockback than sword blocking from "blockable" attacks (they block 100% damage and knockback after [[Java Edition 1.11]]), but, unlike swords, they lose durability, have a 0.25 second startup period before damage can be mitigated and can be temporarily disabled by attacks with an [[axe]].
=== Knockback ===
The knockback dealt by swords used to be higher than while the players are using another melee [[item]]s, like an axe or with the hands. This feature was removed in [[Java Edition 1.9]] and is also no longer used in ''[[Bedrock Edition]]''.
=== Historical changes per version ===
{{History|java indev}}
{{History||0.31|snap=20091231-2|[[File:Iron Sword JE1 BE1.png|32px]] Added iron swords.
|Iron swords cannot be [[craft]]ed yet, but can be added to the [[player]]'s [[inventory]] during world creation.}}
{{History||0.31|snap=?|The iron sword is no longer added to the player's inventory during world creation.}}
{{History||0.31|snap=20100128|[[File:Wooden Sword JE1 BE1.png|32px]] [[File:Stone Sword JE1 BE1.png|32px]] [[File:Diamond Sword JE1 BE1.png|32px]] Swords made from wood, stone, and diamond have been added.
|Swords cannot be crafted yet, but have been added to the [[item]] [[chest]] in the Indev house.|A sword held by the player is now rendered to appear more 3D.}}
{{History||0.31|snap=20100129|Wood, stone, iron, and diamond swords can now be [[craft]]ed.}}
{{History|||snap=20100130|[[File:Golden Sword JE1.png|32px]] Swords can now be made out of gold.}}
{{History|||snap=20100131|Swords now have [[durability]].
|Better swords now last longer.
|Swords now cost 1 durability per hit, and 2 points per block broken.}}
{{History||20100206|[[File:Golden Sword JE2 BE1.png|32px]] The texture of gold swords has been slightly changed.}}
{{History|java alpha}}
{{History||v1.2.0|snap=release|[[Zombie pigmen]] now hold golden swords.}}
{{History|java beta}}
{{History||1.2|Swords, like all [[tool]]s, now have more [[item durability|durability]].
|Prior, diamond swords had 1024 durability, iron swords had 128, stone swords 64 and wood and gold had 32 durability.}}
{{History||1.5|The damages of all swords have increased by 1, due to the player's barehand damage increasing from {{hp|1}} to {{hp|2}}.
|As a result, wooden and golden swords now dealt {{hp|5}}, stone swords {{hp|7}}, iron swords {{hp|9}}, and diamond swords {{hp|11}}.}}
{{History||1.8|snap=Pre-release|Added the ability to block with a sword, giving the [[player]] more options in combat.
|Swords deflect 50% of incoming melee damage, non-magical projectiles like arrows and explosion damage, and a bit of knockback.
|The sword is held in front of the player and its durability is not reduced by blocking.|The player moves at a slower rate than [[sneaking]] when blocking with a sword.
|As barehand damage has been reduced from {{hp|2}} to {{hp|1}}, the damages of all swords have been reduced to their pre Beta 1.5 values.}}
{{History|java}}
{{History||1.0.0|snap=Beta 1.9 Prerelease 3|Sword [[damage]] has been reduced to make way for [[enchanting]]. A diamond sword's damage has been reduced from {{hp|10}} to {{hp|7}}, iron has been reduced from {{hp|8}} to {{hp|6}} and stone has been reduced from {{hp|6}} to {{hp|5}}. Wooden and golden swords still deal {{hp|4}} damage.|Iron swords are now found in the new [[stronghold]] altar [[chest]]s.}}
{{History|||snap=Beta 1.9 Prerelease 4|Swords can now be enchanted in the [[enchantment table]].}}
{{History||1.1|snap=12w01a|Iron swords are now found in [[village]] blacksmith chests.}}
{{History||1.2.1|snap=12w06a|The [[player]] now has a rare chance of obtaining iron swords by killing [[zombie]]s and golden swords from [[zombie pigmen]] from the addition of [[rare drops]]. These swords have a 20% chance of being enchanted.}}
{{History||1.2.4|snap=release|[[Spruce planks]], [[birch planks]], and [[jungle planks]] can now be used to craft wooden swords.}}
{{History||1.3.1|snap=12w18a|Wooden swords can now be used as [[fuel]] in a [[furnace]].}}
{{History|||snap=12w21a|Blacksmith [[villager]]s now [[trading|sell]] diamond swords for 12–13 [[emerald]]s, and iron swords for 7–10 emeralds.
|With the [[trading]] implementation, renewable [[item]]s such as [[wheat]] can now be [[trading|sold]] to buy a diamond sword. This has now made all swords [[Renewable Resource|renewable]].}}
{{History||1.4.2|snap=12w32a|[[Zombie]]s may sometimes wield iron swords, dealing extra [[damage]].}}
{{History|||snap=12w34a|If a [[player]] has dyed leather armor equipped and selected a sword of any kind, it appears in the color of the dye applied to the armor, when switching to second or third person view.}}
{{History|||snap=12w36a|Added [[wither skeleton]]s, which hold stone swords.}}
{{History||1.4.6|snap=12w49a|[[Unbreaking]] can now be applied to a sword with an [[enchanted book]].}}
{{History||1.6.1|snap=13w18a|Golden swords are now found in the new [[chest]]s in [[nether fortress]]es.}}
{{History|||snap=13w21a|Instead of replacing the barehanded [[damage]] ({{hp|1}}), swords now add their damage onto the barehanded damage, which results in all swords doing {{hp|1}} more damage than before.}}
{{History|||snap=13w25b|In [[Creative]] mode, swords are no longer able to break [[block]]s, and no [[sound]] plays when they're hit with one.}}
{{History||1.7.2|snap=1.7.1|[[Acacia planks]] and [[dark oak planks]] can now be used to craft wooden swords.}}
{{History||1.8|snap=14w02a|Weaponsmith [[villager]]s now [[trading|sell]] enchanted diamond swords for 12–15 [[emerald]]s, and iron swords for 9–10 emeralds. Unenchanted swords are no longer sold.}}
{{History|||snap=14w30a|Sword holding position have been tweaked, and the blocking animation has changed. Blocking while mining was made impossible. Blocking immediately after attacking no longer continues the swing animation.}}
{{History||1.9|snap=15w31a|[[Enchanting|Enchanted]] iron and diamond swords can now be found in [[end city]] ship [[chest]]s.}}
{{History|||snap=15w33c|Swords no longer block attacks. Instead, [[shield]]s are used.}}
{{History|||snap=15w34b|Swords now use the attack speed [[attribute]]. The attack speed of a sword is 1.25 or 0.8 seconds.}}
{{History|||snap=15w34c|Nerfed swords, they now do {{hp|1}} less [[damage]] and have an attack speed of 1.45, or 0.69 seconds.
|Swords can now do a sweep attack when moving at walking speed or slower, which knock back [[mob]]s near the one hit. The attack speed meter must be filled for it to work.}}
{{History|||snap=15w36a|Each [[Sharpness]] level now adds {{hp|1}} damage to the base damage at level I and an additional {{hp|0.5}} for each additional level, down from a flat {{hp|1.25}} per level.}}
{{History|||snap=15w37a|Swords now have an attack speed of 1.6, or 0.63 seconds.}}
{{History|||snap=15w43a|The average yield of golden swords in [[nether fortress]] chests has been decreased.}}
{{History|||snap=15w49a|Sweep attack now does {{hp|1}} damage to affected [[mob]]s and players.}}
{{History||1.11.1|snap=16w50a|Golden and iron swords now [[smelt]] down into one of their respective [[nugget]]s.
|Added [[Sweeping Edge]] enchantment.}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], these [[item]]s' numeral IDs were 268, 272, 267, 276 and 283.}}
{{History|||snap=18w10a|Swords can now generate in [[buried treasure]] chests.}}
{{History||September 10, 2018|link={{tweet|JasperBoerstra|1039167196801458176}}|[[File:Wooden Sword JE2 BE2.png|32px]] [[File:Stone Sword JE2 BE2.png|32px]] [[File:Iron Sword JE2 BE2.png|32px]] [[File:Golden Sword JE3 BE2.png|32px]] [[File:Diamond Sword JE2 BE2.png|32px]] [[Jasper Boerstra]] tweets an image of updated sword textures.}}
{{History||1.14|snap=18w43a|[[File:Wooden Sword JE2 BE2.png|32px]] [[File:Stone Sword JE2 BE2.png|32px]] [[File:Iron Sword JE2 BE2.png|32px]] [[File:Golden Sword JE3 BE2.png|32px]] [[File:Diamond Sword JE2 BE2.png|32px]] The textures of all swords have been changed.
|Swords now break [[bamboo]] instantly.}}
{{History||1.16|snap=20w06a|[[File:Netherite Sword JE1.png|32px]] Added netherite swords.
|Netherite swords are obtained by combining one diamond sword and one [[netherite ingot]] in a [[crafting table]].
|[[Crimson planks]] and [[warped planks]] can now be used to craft wooden swords.}}
{{History|||snap=20w09a|[[File:Diamond Sword JE3 BE3.png|32px]] The texture of diamond swords has been changed.}}
{{History|||snap=20w10a|[[File:Netherite Sword JE2 BE2.png|32px]] The texture of netherite swords has been changed.
|Netherite swords can no longer be [[crafted]].
|Netherite swords are now obtained by combining one diamond sword and one [[netherite ingot]] in a [[smithing table]].}}
{{History|||snap=20w15a|Stone swords can now be crafted using [[blackstone]].}}
{{History|||snap=20w16a|Golden and netherite swords now generate in [[bastion remnants]] chests.
|Golden swords now generate randomly enchanted in [[ruined portal]] chests.}}
{{History|||snap=20w17a|Diamonds swords now generate in place of netherite swords in bastion remnant [[chest]]s.}}
{{History||1.16.2|snap=20w30a|Damaged enchanted iron swords can now be found in [[bastion remnant]] chests.}}
{{History||1.17|snap=21w08a|Stone swords can now be crafted using [[cobbled deepslate]].}}
{{History||1.19|snap=22w11a|[[Mangrove planks]] can now be used to craft wooden swords.}}
{{History||1.20<br>(Experimental)|link=1.19.4|snap=23w04a|Upgrading diamond swords to netherite swords now requires the netherite upgrade [[smithing template]].}}
{{History|upcoming java}}
{{History||Combat Tests|snap=1.14.3 - Combat Test|The attack speed for all swords has been increased to 3.
|The base [[damage]] is now {{Hp|2}}, meaning that all swords now do {{Hp|1}} more damage than before}.
|The attack reach of swords has been increased to 3.5 [[block]]s.}}
{{History|||snap=Combat Test 2|The attack speed of all swords has been decreased to 2.5.}}
{{History|||snap=Combat Test 3|The attack speed of all swords has been changed from 2.5 back to 3.0.
|The attack key can now again be held down to automatically attack when the attack meter is full.
|Attacks now happen only when the sword is at 120% charge, slower than if attacks were timed.}}
{{History|||snap=Combat Test 4|Sword can now perform critical, knockback ([[sprint]]) hits on 100% charge.
|The attack reach of all weapons was decreased by 0.5 [[block]]. Sword now have a 3 [[block]]s reach.
|The 200% attack now gives a bonus reach of 1 [[block]].}}
{{History|||snap=Combat Test 5|Weapons have been nerfed. All material tiers have been nerfed by {{Hp|1}} except wood and gold, and the sword tier have been nerfed by {{Hp|1}}. This means that the wooden/stone/golden sword now does {{Hp|4}} damage, the iron sword now does {{Hp|5}} damage and the diamond sword now does {{Hp|6}} damage.}}
{{History|||snap=Combat Test 6|All weapons' attack reach have been buffed by 0.5 [[block]].
|200% attacks have been removed.
|Swords now always do sweep attack, even in the air.
|The cooldown for missed hit is a 4-tick cooldown instead of using the attack speed attribute.}}
{{History|||snap=Combat Test 7c|All weapons' attack reach have been nerfed by 0.5 [[block]]. The sword's attack reach is now 3 [[block]]s again.
|200% attacks have been re-added.
|Swords no longer sweep without [[Sweeping Edge]] and 200% charge again.
|Adjusted the netherite tier value to match the weapon nerf in Combat Test 5}}
{{History|||snap=Combat Test 8b|Enchantment bonus attack damage are now included in the base damage when calculating critical hits (they were excluded before). Due to this change, enchanted swords critical attacks are now way more powerful (especially with high enchantments)}}
{{History|pocket alpha}}
{{History||v0.2.0|[[File:Stone Sword JE1 BE1.png|32px]] Added stone swords.}}
{{History||v0.3.0|[[File:Wooden Sword JE1 BE1.png|32px]] Added wooden swords.
|Survival players no longer start out with an infinite durability stone sword in the inventory.}}
{{History||v0.3.2|[[File:Iron Sword JE1 BE1.png|32px]] [[File:Golden Sword JE2 BE1.png|32px]] [[File:Diamond Sword JE1 BE1.png|32px]] Added iron, gold, and diamond swords.}}
{{History||v0.4.0|Iron swords have replaced stone swords in the creative inventory.}}
{{History||v0.9.0|snap=build 1|Iron swords can now be found in [[stronghold]] altar [[chest]]s and inside blacksmith chests.}}
{{History||v0.11.0|snap=build 11|Wooden, stone, golden and diamond swords are now available in the [[creative]] [[inventory]].}}
{{History||v0.11.0|snap=build 12|Wooden, stone, golden and diamond swords have been removed from creative.}}
{{History||v0.11.0|snap=build 13|All swords are available in creative mode again.}}
{{History||v0.12.1|snap=build 1|Instead of replacing the barehanded [[damage]] ({{hp|1}}), swords now add their damage onto the barehanded damage, which results in all swords doing {{hp|1}} more damage than before.|In [[creative]] mode, swords are no longer able to break [[block]]s, and no [[sound]] plays when they're hit with one.|Golden swords can now be found in [[nether fortress]] chests.
|[[Zombie]]s now rarely spawn holding an iron sword that have a chance to [[drops|dropped]].
|Golden swords are now rarely dropped by [[zombie pigmen]].
|Stone swords are now rarely dropped by [[wither skeleton]]s.}}
{{History||v0.15.0|snap=build 1|Iron swords are now sometimes dropped by [[husk]]s that spawn holding an iron sword.}}
{{History|pocket}}
{{History||1.0.0|snap=alpha 0.17.0.1|Enchanted iron and diamond swords can now be found in [[end city]] [[chest]]s.}}
{{History||1.0.4|snap=alpha 1.0.4.0|Iron swords and enchanted diamond swords are now sold by weaponsmith [[villager]]s.}}
{{History||1.1.0|snap=alpha 1.1.0.0|Iron and golden swords are now [[smelting|smeltable]].
|Added [[vex]]es, which rarely drop an iron sword if killed using [[Looting]] enchantment.}}
{{History|bedrock}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Wooden Sword JE2 BE2.png|32px]] [[File:Stone Sword JE2 BE2.png|32px]] [[File:Iron Sword JE2 BE2.png|32px]] [[File:Golden Sword JE3 BE2.png|32px]] [[File:Diamond Sword JE2 BE2.png|32px]] The textures of all swords have been changed.
|Iron swords are now found in [[plains]] [[village]] weaponsmiths.}}
{{History||1.11.0|snap=beta 1.11.0.1|Iron swords can now be found in [[savanna]], [[snowy taiga]], [[taiga]] and [[desert]] village weaponsmiths.}}
{{History|||snap=beta 1.11.0.4|[[Pillager]]s and [[vindicator]]s that spawn in [[raid]]s can now drop iron swords upon [[death]].
|[[Trading]] has been changed. Iron swords [[trading|sold]] by weaponsmith [[villager]]s now cost 2 [[emerald]]s while diamond swords cost 8 emeralds as part of their fourth tier trades.}}
{{History||1.16.0|snap=beta 1.16.0.51|[[File:Netherite Sword BE1.png|32px]] Added netherite swords.
|Netherite swords are obtained by combining one diamond sword and one [[netherite ingot]] in a [[crafting table]].
|[[File:Diamond Sword JE3 BE3.png|32px]] The texture of diamond swords has been changed.
|Golden swords are now sometimes [[drops|dropped]] by [[piglin]]s that spawn holding a golden sword.}}
{{History|||snap=beta 1.16.0.57|Netherite swords can no longer be [[crafting|crafted]].
|Netherite swords are now obtained by combining one diamond sword and one [[netherite ingot]] in a [[smithing table]].
|Stone swords can now be crafted using [[blackstone]].
|Golden and netherite swords now generate in [[bastion remnant]] chests.
|Golden swords now generate randomly enchanted in [[ruined portal]] chests.}}
{{History|||snap=beta 1.16.0.63|Diamonds swords now generate in place of netherite swords in bastion remnant [[chest]]s.}}
{{History||1.17.30|snap=beta 1.17.20.20|Swords now break [[bamboo]] instantly.}}
{{History|console}}
{{History||xbox=TU1|xbone=CU1|ps=1.0|wiiu=Patch 1|switch=1.0.1|[[File:Wooden Sword JE1 BE1.png|32px]] [[File:Stone Sword JE1 BE1.png|32px]] [[File:Iron Sword JE1 BE1.png|32px]] [[File:Golden Sword JE2 BE1.png|32px]] [[File:Diamond Sword JE1 BE1.png|32px]] Added swords (all five types).}}
{{History||xbox=TU5|The ability to block with swords has been added, giving the [[player]] more options in combat.}}
{{History||xbox=TU53|xbone=CU43|ps=1.49|wiiu=Patch 23|switch=1.0.3|Iron and golden swords are now [[smelting|smeltable]].}}
{{History||xbox=none|xbone=none|ps=1.90|wiiu=none|switch=none|[[File:Wooden Sword JE2 BE2.png|32px]] [[File:Stone Sword JE2 BE2.png|32px]] [[File:Iron Sword JE2 BE2.png|32px]] [[File:Golden Sword JE3 BE2.png|32px]] [[File:Diamond Sword JE2 BE2.png|32px]] The textures of all swords have been changed.}}
{{History||ps=1.92|The ability to block with swords has been removed.}}
{{History|New Nintendo 3DS Edition}}
{{History||0.1.0|[[File:Wooden Sword JE1 BE1.png|32px]] [[File:Stone Sword JE1 BE1.png|32px]] [[File:Iron Sword JE1 BE1.png|32px]] [[File:Golden Sword JE2 BE1.png|32px]] [[File:Diamond Sword JE1 BE1.png|32px]] Added swords.
|Swords cannot block attacks.}}
{{History|foot}}
== Issues ==
{{issue list}}
== Trivia ==
*The sword's traditional [[texture]] came from [[Notch]]'s abandoned RPG, ''[[Legend of the Chambered]]''. The iron sword's texture was created first, as it was from the game, and the other swords followed.
*In ''Java Edition'', with the introduction of netherite swords, it is possible to one-hit kill undead [[mob]]s in the game (except [[wither]]s and [[zombie]]s/[[skeleton]]s with random armor) using a sword with the [[Smite]] V enchantment, without the need to perform a critical hit (this was previously possible only with a [[Smite]] V stone, iron, or diamond axe).
*Plastic diamond and enchanted swords are official ''[[Minecraft]]'' merchandise.<ref>https://shop.minecraft.net/products/minecraft-sword?_pos=1&_psq=sword&_ss=e&_v=1.0</ref><ref>https://shop.minecraft.net/products/minecraft-enchanted-purple-sword?_pos=4&_psq=sword&_ss=e&_v=1.0</ref>
*In the game [[wikipedia:Transformice|''Transformice'']], a diamond sword can be found in the shop.
== Gallery ==
=== Enchanted swords ===
<gallery>
Enchanted Wooden Sword.gif|Enchanted wooden sword.
Enchanted Stone Sword.gif|Enchanted stone sword.
Enchanted Iron Sword.gif|Enchanted iron sword.
Enchanted Golden Sword.gif|Enchanted golden sword.
Enchanted Diamond Sword.gif|Enchanted diamond sword.
Enchanted Netherite Sword.gif|Enchanted netherite sword.
</gallery>
=== Texture packs ===
<gallery>
File:Wood sword TP.png|Wooden sword in the [[Texture Pack DLC|Plastic Pack]].
Stone Sword SDGP.png|Stone sword in the [[Super Duper Graphics Pack]].
File:Gold sword Natural.png|Gold sword in the [[Texture Pack DLC|Natural Pack]].
</gallery>
=== In other media ===
<gallery>
File:Alex Fighting in Nether.jpeg|Pixel art of [[Alex]] fighting with a diamond sword in the [[Nether]].
File:Alex Retrieving Diamond Sword.jpeg|Alex retrieving another diamond sword from a [[chest]].
File:Sinister Sword Sprite MCD.png|The [[MCD:Sinister Sword|Sinister Sword]], a unique sword featured in ''Minecraft Dungeons''.
File:Sword GUI.png|A nondescript [[MCD:Sword|sword]] as it appears in ''[[Minecraft Dungeons]]''.
File:Sword (item).png|A sword as it appears in ''[[Legend of the Chambered]]''.
File:Sword Shirt.png|Officially licensed T-Shirt of a diamond sword.
File:IronSword replica.jpg|Foam replica of an iron sword.
</gallery>
== References ==
{{reflist}}
{{Items}}
[[Category:Tools]]
[[Category:Combat]]
[[de:Schwert]]
[[es:Espada]]
[[fr:Épée]]
[[hu:Kard]]
[[ja:剣]]
[[ko:검]]
[[nl:Zwaard]]
[[pl:Miecz]]
[[pt:Espada]]
[[ru:Меч]]
[[tr:Kılıç]]
[[uk:Меч]]
[[zh:剑]]</li></ul> | Released in February 21, 2011.[14] | ||||
| Now uses new Minecraft logo. | |||||
| 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. A technical sneak preview was published by Notch on February 18, 2011.[15] | |||||
| 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.[16] | |||||
1.2.1{{Extension DPL}}<ul><li>[[Redstone Comparator|Redstone Comparator]]<br/>{{Block
| image =
| image2 =
| transparent = Yes
| light = No
| tool = any
| renewable = Yes
| stackable = Yes (64)
| flammable = No
| lavasusceptible = No
| group = Redstone Comparator
| group2 = Subtracting
| group3 = Powered
| group4 = Powered+Subtracting
| 1-1 = Redstone Comparator.png
| 2-1 = Subtracting Redstone Comparator.png
| 3-1 = Powered Redstone Comparator.png
| 4-1 = Powered Subtracting Redstone Comparator.png
}}
{{Many images}}
A '''redstone comparator''' is a [[block]] that can produce an [[Redstone Dust|output signal]] from its front by reading [[chest]]s, [[lectern]]s, [[beehive]]s and similar blocks, or repeat a signal without changing its strength. It can also be set to either stop outputting a signal when its side input recieves a stronger one (front torch off), or subtract its side input's signal strength from its output (front torch on).
== Obtaining ==
=== Natural generation ===
Redstone comparators generate in [[Ancient City|ancient cities]].
=== Breaking ===
A redstone comparator can be broken instantly with any [[tool]], or by hand, and drops itself as an item.
{{Breaking row|Redstone Comparator|horizontal=y}}
A redstone comparator is removed and dropped as an item if:
* its attachment block is moved, removed, or destroyed;
* [[water]] flows into its space;{{only|java}}
* a [[piston]] tries to push it or moves a block into its space.
If [[lava]] flows into a redstone comparator's space, the redstone comparator is destroyed without dropping as an item.
=== Crafting ===
{{Crafting
|B1=Redstone Torch
|A2=Redstone Torch
|B2=Nether Quartz
|C2=Redstone Torch
|A3=Stone
|B3=Stone
|C3=Stone
|Output= Redstone Comparator
|type=Redstone
}}
== Usage ==
A redstone comparator can be placed on the top of any [[opaque]] block with a solid full-height top surface (including upside-down [[slab]]s and upside-down [[stairs]]). {{IN|be}}, a comparator can also be placed on [[wall]]s and fences. For more information about placement on transparent blocks, see [[Opacity/Placement]].
The redstone comparator has a front and a back — the arrow on the top of the comparator points to the front. When placed, the comparator faces away from the player. The comparator has two miniature redstone torches at the back and one at the front. The back torches turn on when the comparator's output is greater than zero (the arrow on top also turns red). The front torch has two states that can be toggled by {{control|using}} the comparator:
* Down and unpowered (indicating the comparator is in "comparison mode")
* Up and powered (indicating the comparator is in "subtraction mode")
The redstone comparator can take a signal strength input from its rear as well as from both sides. Side inputs are accepted only from [[redstone dust]], [[block of redstone]], [[redstone repeater]]s, other comparators, and [[observer]]s in specific scenarios. The redstone comparator's front is its output.
It takes 1 [[redstone tick]] (2 game ticks, or 0.1 seconds barring lag) for signals to move through a redstone comparator, either from the rear or from the sides. This applies to changing signal strengths as well as simply to turning on and off.
Redstone comparators check their power state before their scheduled ticks update. This results in redstone comparators not usually responding to 1-tick fluctuations of power or signal strength — for example, a [[clock circuit|1-clock]] input is treated as always off from the side, and always on from the rear. This happens because the signal changes back to its original state before the redstone comparator checks its input states. However, certain setups such as powering any input with two separate observer pulses at the same time will cause a redstone comparator to respond to 2 gametick pulses.
The redstone comparator has four functions: maintain signal strength, compare signal strength, subtract signal strength, and measure certain block states (primarily the fullness of containers).
=== Maintain signal strength ===
A redstone comparator with no powered sides outputs the same signal strength as its rear input.
=== Compare signal strength ===
[[File:Comparators Explained.png|Comparators in comparison mode.|thumb]]
A redstone comparator in comparison mode (front torch down and unpowered) compares its rear input to its two side inputs. If either side input is greater than the rear input, the comparator output turns off. If neither side input is greater than the rear input, the comparator outputs the same signal strength as its rear input.
The formula for calculating the output signal strength is as follows:
<code>output = rear × [[Wikipedia:Iverson bracket|[]]'''''left''''' ≤ '''''rear''''' AND '''''right''''' ≤ '''''rear'''''[[Wikipedia:Iverson bracket|<nowiki>]]]</code>
{{-}}
=== Subtract signal strength ===
[[File:Redstone comparator.png|thumb|The greatest of the side inputs A and C is subtracted from the rear input B, outputting 1. If either A or C were greater than B, it would output 0.]]
A redstone comparator in subtraction mode (front torch up and powered) subtracts the signal strength of the higher side input from the signal strength of the rear input.
<code>output = max('''''rear''''' − max('''''left''', '''right'''''), 0)</code>
For example: if the signal strength is 6 at the left input, 7 at the right input and 4 at the rear, the output signal has a strength of ''max(4 − max(6, 7), 0) = max(4−7, 0) = max(−3, 0) = 0''.
If the signal strength is 9 at the rear, 2 at the right input and 5 at the left input, the output signal has a strength of ''max(9 − max(2, 5), 0) = max(9−5, 0) = 4''.
=== Measure block state ===
{{Schematic | caption = A redstone comparator can measure the fullness of a chest, as well as other block states, even through an opaque block.
|rd-ew!|rc-w!|ch|SB|rc-e!|rd-ew!
}}
A redstone comparator treats certain blocks behind it as power sources and outputs a signal strength proportional to the block's state. The comparator may be separated from the measured block by an opaque block. However, {{in|je}}, if the opaque block is powered to signal strength 15, then the comparator outputs 15 no matter the fullness of the container.<ref>{{bug|MC-64394}} (resolved as "Works As Intended")</ref>
[[Category:Java Edition specific information]]
{{-}}
==== Fullness of containers ====
{| class="wikitable floatright" style="margin-left: 0.5em; margin-right: 0; text-align: center;"
|+ Minimum Items for Container Signal Strength
|-
!Containers
!{{BlockSprite|Furnace|link=Furnace}}<br>{{BlockSprite|Blast Furnace|link=Blast Furnace}}<br>{{BlockSprite|Smoker|link=Smoker}}
!{{BlockSprite|Hopper|link=Hopper}}<br>{{EntitySprite|Minecart with Hopper|link=Minecart with Hopper}}<br>{{BlockSprite|Brewing Stand|link=Brewing Stand}}
!{{BlockSprite|Dispenser|link=Dispenser}}<br>{{BlockSprite|Dropper|link=Dropper}}
!{{BlockSprite|Chest|link=Chest}}<br>{{EntitySprite|Minecart with Chest|link=Minecart with Chest}}<br>{{BlockSprite|Shulker Box|link=Shulker Box}}<br>{{BlockSprite|Barrel|link=Barrel}}
![[Double Chest|{{Schematic|size=16|ch-s|-|ch-n}}
]]
!{{BlockSprite|Jukebox|link=Jukebox}}
|-
!Total Slots
!3!!5!!9!!27!!54!!1
|-
!Power Level
! colspan="5" |Number of Items
!Music Disc
|-
|0||0||0||0||0||0||No disc
|-
|1||1||1||1||1||1||"13"
|-
|2||14||23||42||1s 60||3s 55||"cat"
|-
|3||28||46||1s 19||3s 55||7s 46||"blocks"
|-
|4||42||1s 5||1s 60||5s 51||11s 37||"chirp"
|-
|5||55||1s 28||2s 37||7s 46||15s 28||"far"
|-
|6||1s 5||1s 51||3s 14||9s 42||19s 19||"mall"
|-
|7||1s 19||2s 10||3s 55||11s 37||23s 10||"mellohi"
|-
|8||1s 32||2s 32||4s 32||13s 32||27s||"stal"
|-
|9||1s 46||2s 55||5s 10||15s 28||30s 55||"strad"
|-
|10||1s 60||3s 14||5s 51||17s 23||34s 46||"ward"
|-
|11||2s 10||3s 37||6s 28||19s 19||38s 37||"11"
|-
|12||2s 23||3s 60||7s 5||21s 14||42s 28||"wait"
|-
|13||2s 37||4s 19||7s 46||23s 10||46s 19||"Pigstep"
|-
|14||2s 51||4s 42||8s 23||25s 5||50s 10||"Otherside"<br>"Relic"
|-
|15||3s||5s||9s||27s||54s||"5"
|}
A redstone comparator can output a signal indicating how full a container is. (0 for empty, 15 for full, etc.) The table on the right is described more in detail, later in this section.
Containers that can be measured by a comparator include:
* {{BlockLink|Furnace}}
* {{BlockLink|Blast Furnace}}
* {{BlockLink|Smoker}}
* {{BlockLink|Brewing Stand}}
* {{BlockLink|Hopper}}
* {{ItemLink|Minecart with Hopper}} on top of a [[detector rail]]
* {{BlockLink|Dispenser}}
* {{BlockLink|Dropper}}
* {{BlockLink|Chest}}
* {{BlockLink|Trapped Chest}}
* {{ItemLink|Minecart with Chest}} on top of a [[detector rail]]
* {{BlockLink|Barrel}}
* {{SchematicSprite|size=16|ch-e}}{{SchematicSprite|size=16|ch-w}} Large chest
* {{SchematicSprite|size=16|ch-e}}{{SchematicSprite|size=16|ch-w}} Large trapped chest
* {{BlockLink|Shulker Box}} (any color)
Generally speaking, the comparator output signal strength represents the average fullness of the slots, based on how many of that item form a full stack (64, 16, or 1 for non-stackable items).
The ''Minimum Items for Container Signal Strength'' table (right) shows the minimum '''''full-stack-equivalent (FSE)''''' to produce different signal strengths from common containers. A '''''full-stack-equivalent''''' quantifies how many normal 64-stackable items are needed to output a corresponding signal strength. The 's' is a constant 64, with the additional amount needed following after.
One may also consider the terms: '''c''umulative-weight''''' or '''''weighted-sum''''' instead of '''''full-stack-equivalent'''''.
Items that stack to a max of 16 ([[snowball]]s, [[sign]]s, [[ender pearl]]s, etc.), contribute +4 to the ''full-stack-equivalent'' for each unity (count of 1 item). Similarly, items that stack to 1 ([[minecart]], [[boat]], etc.) contribute +64, and items that stack to 64 contribute +1.
Example 1: 3 ender pearls will contribute a 3 x 4 = 12 ''full-stack-equivalent''.
Example 2: 16 ender pearls and 60 redstone dust contributes a 16x4 + 60x1 = 124 ''full-stack-equivalent''.
Example 3: 1 minecart and 60 redstone dust contributes a 1x64 + 60x1 = 124 ''full-stack-equivalent''.
Example 4: To produce a signal strength of 10 from a hopper, one requires a ''full-stack-equivalent'' of at least 3s + 14 = 206 but strictly less than than 3s + 37 = 229. This can be done with 3 minecarts, and 14 dirt.
When a comparator measures a large chest or large trapped chest, it measures the entire large chest (54 slots), not just the half directly behind the comparator. A chest or trapped chest that cannot be opened (either because it has an opaque block, [[ocelot]], or [[cat]] above it) always produces an output of 0 no matter how many items are in the container — shulker boxes can always be measured, even if they cannot open.
;Calculating signal strength from items
:When a container is empty, the output is off.
:When it is not empty, the output signal strength is calculated as follows:
:<code>'''''signal strength''''' = floor(1 + (('''''sum of all slots' fullnesses''''') / ('''''number of slots in container''''')) × 14)</code>
:<code>fullness of a slot = '''''number of items in slot''''' / '''''max stack size for this type of item'''''</code>
:''Example:'' 300 blocks in a dispenser (which has 9 slots), where each block stacks to a maximum of 64 has a 300 ''full-stack-equivalent.'' This produces an output with a signal strength of 8:
<blockquote>
1 + ((300 items / 64 items per slot) / 9 slots) × 14 = 8.292, floored is 8
</blockquote>
;Calculating items from signal strength
:It can be useful in redstone circuits to use containers with comparators to create signals of a specific strength. The number of items required in a container to produce a signal of desired strength is calculated as follows:
:<code>items required = max('''''desired signal strength''''', roundup(('''''total slots in container''''' × 64 / 14) × (desired signal strength − 1)))</code>
:''Example:'' To use a furnace (which has 3 slots) to create a strength 9 signal, players need 110 items:
<blockquote>
max(9, (3×64/14) × (9−1)) = 109.714, rounded up is 110
</blockquote>
{{-}}
==== Miscellaneous ====
[[File:Comparator storage.png|Comparators used to measure containers.|thumb]]
Some non-container blocks can also be measured by a redstone comparator:
;{{BlockLink|Beehive}} and {{BlockLink|Bee nest}}
: A hive or nest outputs a signal strength equal to the amount of honey in the hive/nest.
;{{BlockLink|Cake}}
: A cake outputs a signal strength relative to the amount of cake remaining. Each slice is worth 2 signal strength, with 7 total slices, for an output of 14 for a full cake.
[[File:Cauldron Redstone Strength Values.png|Cauldron signal strength|thumb]]
;{{BlockLink|Cauldron}}
: A cauldron outputs different signal strengths depending on how much water or powdered snow is inside. From completely empty to completely full, the output values are 0, 1, 2, and 3. If lava or powder snow is inside, the strength is always 3.
[[File:Composter Redstone Strength Values.png|Composter signal strength|thumb]]
;{{BlockLink|Composter}}
: A composter outputs different signal strengths depending on the level inside. From completely empty to completely full, the output values are 0, 1, 2, 3, 4, 5, 6, 7 and 8.
;{{Anchor|CommandBlock}}{{BlockLink|Command Block}}
: A command block stores the "success count" of the last command executed, which represents the number of times the most recently used command of this command block succeeded. A "success" is defined by the [[command]]'s success conditions: if a red error message is returned in the chat, the command was not successful.
: Most commands can succeed once per execution, but certain commands (such as those that accept players as arguments) can succeed multiple times, and the comparator outputs the number of times it succeeded (maximum 15 when sent to redstone dust, but in the code it is able to go up to the 32-bit integer limit, and can be used in contraptions with no redstone dust with those values).
: A command block continues to store the success count of the last command executed until it executes its command again, thus the comparator continues to output the same signal strength even after the command block is no longer being activated (it doesn't turn off when the signal to the command block turns off).
;{{BlockLink|End Portal Frame}}
: An end portal frame outputs a full signal of 15 if it contains an [[eye of ender]] and zero otherwise.
[[File:Item frame and comparator.png|A comparator can measure the presence and rotation of an item frame's contents.|thumb]]
;{{EntityLink|Item Frame}}
: A comparator can measure the state of an [[item frame]]'s contents. An item frame comparator outputs 0 if the item frame is empty, or 1 to 8 for any item depending on its rotation: 1 at initial placement, plus 1 for each 45° of rotation for a maximum of 8.
: For an item frame that holds a map, a unit of rotation is 90° instead of 45°, but a comparator still outputs power levels 1 to 8. It takes two full rotations to cycle through all comparator outputs, and each orientation of the map corresponds to two output levels that differ by 4.
: The comparator must be placed behind the block the item frame is attached to, facing away from the item frame. The block must be a full block, and the item frame cannot be submerged in water. Having a sign in the same block as the item frame will prevent the frame from sending a signal as well.{{only|java}}
;{{BlockLink|Jukebox}}
: A jukebox outputs a signal strength indicating which music disc is currently playing. See the ''Minimum Items for Container Signal Strength'' table above.
;{{BlockLink|Lectern}}
: A lectern outputs a signal strength that depends on what page the player is currently on. The calculation used is:
:<code>'''''signal strength''''' = floor(1 + (('''''current page''''' - 1) / ('''''number of pages in book''''' - 1)) × 14)</code>
:This results in page 1 having a signal strength of 1, and the last page having a signal strength of 15. The exception is a single page book, which will output a signal strength of 15.
:For example, a book with 15 pages will output a signal equal to the current page number. A book with 5 pages will output signal strengths of 1, 4, 8, 11 and 15 for the different pages. A book with 100 pages will have the signal strength increase to the next level on pages 1, 9, 16, 23, 30, 37, 44, 51, 58, 65, 72, 79, 86, 93 and 100.
:
;{{BlockLink|Respawn Anchor}}
: A respawn anchor outputs a signal strength of 0, 3, 7, 11, or 15, depending on the "charged" value.
;{{BlockLink|Sculk Sensor}}
: A sculk sensor outputs a signal strength depending on the type of vibration that is detected.
;{{BlockLink|Chiseled Bookshelf}}
: A chisled bookshelf outputs a signal strength between 1 and 6 indicating the last slot interacted with. When no slot has been interacted with yet, it outputs 0.
{{-}}
== Sounds ==
=== Generic ===
{{Edition|Java}}:
{{Sound table/Block/Stone/JE}}
{{Edition|Bedrock}}:
{{Sound table/Block/Wood/BE}}
=== Unique ===
{{edition|java}}:
{{Sound table
|rowspan=2
|sound=Click.ogg
|subtitle=Comparator clicks
|source=block
|description=When a comparator is set to subtraction mode
|id=block.comparator.click
|translationkey=subtitles.block.comparator.click
|volume=0.3
|pitch=0.55
|distance=16}}
{{Sound table
|subtitle=Comparator clicks
|source=block
|description=When a comparator is set to comparison mode
|id=block.comparator.click
|translationkey=subtitles.block.comparator.click
|volume=0.3
|pitch=0.5
|distance=16
|foot=1}}
{{edition|bedrock}}:
{{Sound table
|type=bedrock
|rowspan=2
|sound=Click.ogg
|source=block
|description=When a comparator is set to subtraction mode
|id=block.click
|volume=0.2
|pitch=0.55}}
{{Sound table
|source=block
|description=When a comparator is set to comparison mode
|id=block.click
|volume=0.2
|pitch=0.5
|foot=1}}
== Data values ==
=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|showforms=y
|generatetranslationkeys=y
|displayname=Redstone Comparator
|spritetype=block
|nameid=comparator
|foot=1}}
{{ID table
|displayname=Block entity
|spritename=redstone-comparator
|spritetype=block
|nameid=comparator
|foot=1}}
{{edition|bedrock}}:
{{ID table
|edition=bedrock
|firstcolumnname=Redstone Comparator
|shownumericids=y
|showforms=y
|generatetranslationkeys=y
|displayname=Unpowered block
|spritename=unpowered-comparator
|spritetype=block
|nameid=unpowered_comparator
|id=149
|form=block
|translationkey=-}}
{{ID table
|displayname=Powered block
|spritename=powered-comparator
|spritetype=block
|nameid=powered_comparator
|id=150
|form=block
|translationkey=-}}
{{ID table
|displayname=Item
|spritename=redstone-comparator
|spritetype=item
|nameid=comparator
|id=522
|form=item
|foot=1}}
{{ID table
|notnamespaced=y
|displayname=Block entity
|spritename=redstone-comparator
|spritetype=block
|nameid=Comparator
|foot=1}}
=== Block states ===
{{see also|Block states}}
{{/BS}}
=== Block data ===
A redstone comparator has a block entity associated with it that holds additional data about the block.
{{el|je}}:
{{see also|Block entity format}}
{{/BE}}
{{el|be}}:
: See [[Bedrock Edition level format/Block entity format]].
== Advancements ==
{{Load advancements|the power of books}}
== Video ==
<div style="text-align:center">{{yt|J7Z20Zzz3yU}}</div>
== History ==
{{info needed section|If {{bug|MC-50242}} also affected comparators?}}
''For a more in-depth breakdown of changes to repeater textures and models, including a set of renders for each state combination, see [[/Asset history]]''
{{History|java}}
{{History||November 24, 2012|link=https://youtube.com/watch?v=YG9RNyRhIow&t=6m56s|[[Jeb]] stated that there may be a "capacitor" in [[Minecraft]]. }}
{{History||December 27, 2012|link={{tweet|Dinnerbone|284388625595125760}}|[[Dinnerbone]] released [https://web.archive.org/web/20190710120115/https://imgur.com/a/FBKed pictures] of the first version of the "comparator", stating it was a replacement for the "capacitor" idea that has variable, alternate inputs.}}
{{History||January 2, 2013|link={{tweet|Dinnerbone|286428595423965184}}|Dinnerbone released one more [http://dinnerbone.com/media/uploads/2013-01/screenshots/2013-01-02_12.06.47.png picture] of the comparator. The picture itself showing a digital-to-analog converter, using the comparator as the main [[block]].}}
{{History||1.5|snap=13w01a|[[File:Redstone Comparator (S) JE1.png|32px]] [[File:Powered Redstone Comparator (S) JE1.png|32px]] [[File:Subtracting Redstone Comparator (S) JE1.png|32px]] [[File:Powered Subtracting Redstone Comparator (S) JE1.png|32px]] [[File:Redstone Comparator (item) JE1 BE1.png|32px]] Added redstone comparators.
|Redstone comparators have 0 delay.
At this point, block ID 149 was used for unpowered comparators, and block ID 150 for powered comparators.}}
{{History|||snap=13w01b|A delay of 1 game tick ({{frac|1|2}} redstone tick) has now been added to redstone comparators to fix bugs.
|The ability to measure containers to redstone comparators has now been added.}}
{{History|||snap=13w02a|[[File:Redstone Comparator (S) JE2.png|32px]] [[File:Powered Redstone Comparator (S) JE2.png|32px]] [[File:Subtracting Redstone Comparator (S) JE2.png|32px]] [[File:Powered Subtracting Redstone Comparator (S) JE2.png|32px]] The appearance of redstone comparators has now been changed - the top texture has changed to show [[quartz]] in the middle and the sides now use the [[smooth stone]] texture rather than the smooth stone slab side texture.
|The algorithm for measuring containers has now been changed so that redstone comparators output a signal with as few as 1 [[item]] in the container.}}
{{History|||snap=13w02b|Redstone comparators now treat large [[chest]]s as a single container.}}
{{History|||snap=13w03a|Redstone comparators now output success count of [[command block]]s.
|Redstone comparators now measure container [[minecart]]s on [[detector rail]]s.}}
{{History|||snap=13w04a|Redstone comparators now measure [[jukebox]]es.}}
{{History|||snap=13w05a|Redstone comparators no longer cause constant [[block]] updates. The delay has now been made consistent, and side input no longer causes a pulse output.
|Block 150 (later <code>powered_comparator</code>) is no longer used; powered state is now represented by the 8s bit on block 149 (later <code>unpowered_comparator</code>).}}
{{History|||snap=13w05b|Redstone comparator delay has now been changed from 1 game tick (1/2 [[redstone]] tick) to 2 game ticks (1 redstone tick).}}
{{History|||snap=13w09c|The redstone signal strength from a redstone comparator next to a [[brewing stand]] with 3 [[water bottle]]s in it is now the same as one with 3 water bottles and 1 ingredient in it.}}
{{History||1.6.1|snap=13w18a|Redstone comparators now measure [[cauldron]]s and [[end portal frame]]s.}}
{{History||1.8|snap=14w04a|Redstone comparators now measure [[item frame]]s.}}
{{History|||snap=14w10a|The torches under redstone comparators have now been shortened, which has changed the underside appearance from [[File:Redstone Comparator UNKVER1 (facing NWU).png|32px]] [[File:Powered Redstone Comparator UNKVER1 (facing NWU).png|32px]] [[File:Subtracting Redstone Comparator UNKVER1 (facing NWU).png|32px]] [[File:Powered Subtracting Redstone Comparator UNKVER1 (facing NWU).png|32px]] to [[File:Redstone Comparator UNKVER2 (facing NWU).png|32px]].}}
{{History|||snap=14w25a|[[File:Redstone Comparator (S) JE3.png|32px]] [[File:Powered Redstone Comparator (S) JE3.png|32px]] [[File:Subtracting Redstone Comparator (S) JE3.png|32px]] [[File:Powered Subtracting Redstone Comparator (S) JE3.png|32px]] The torches on comparators are now subject to ambient occlusion.
|Comparators set to subtract mode appear to be powered as well regardless of incoming power. The subtracting-only model still exists and can be achieved through {{cmd|setblock}}.}}
{{History|||snap=14w25b|[[File:Subtracting Redstone Comparator (S) JE4.png|32px]] [[File:Powered Subtracting Redstone Comparator (S) JE4.png|32px]] The powered front torch when in subtraction mode is now lower.
|Comparators set to subtract by hand now appear normally again.}}
{{History|||snap=14w28a|Redstone comparators now measure [[cake]]s.}}
{{History||1.9|snap=15w42a|With the addition of the [[blaze powder]] fuel slot, [[brewing stand]]s now have 5 slots instead of 4. Their original comparative power values from redstone comparators are listed below:
{{{!}} class{{=}}"wikitable collapsible collapsed" data-description{{=}}"Original values"
! Original values
{{!}}-
{{!}}
*0: 0
*1: 1
*2: 19
*3: 37
*4: 55
*5: 1s 10
*6: 1s 28
*7: 1s 46
*8: 2s
*9: 2s 19
*10: 2s 37
*11: 2s 55
*12: 3s 10
*13: 3s 28
*14: 3s 46
*15: 4s
{{!}}}
}}
{{History|||snap=15w47a|Redstone comparators' side inputs now take power from [[redstone block]]s.}}
{{History||1.13|snap=17w47a|All 3 IDs for the redstone comparator have now been merged into one ID: <code>comparator</code>.
|Redstone comparators now render their underside, which has changed their undersides from [[File:Redstone Comparator UNKVER2 (facing NWU).png|32px]] to [[File:Redstone Comparator UNKVER3 (facing NWU).png|32px]].
|Prior to [[1.13/Flattening|''The Flattening'']], these blocks' numeral IDs were 149 and 150, and the [[item]]'s 404.
|As a result, the formerly unused comparator ID is now technically used again, due to both unpowered and powered versions being merged into a single comparator block ID.}}
{{History||1.14|snap=18w43a|[[File:Redstone Comparator (S) JE4.png|32px]] [[File:Powered Redstone Comparator (S) JE4.png|32px]] [[File:Subtracting Redstone Comparator (S) JE5.png|32px]] [[File:Powered Subtracting Redstone Comparator (S) JE5.png|32px]] [[File:Redstone Comparator (item) JE2 BE2.png|32px]] The textures of redstone comparators have now been changed.}}
{{History|||snap=19w02a|Redstone comparators now measure [[lectern]]s.}}
{{History|||snap=19w03a|Redstone comparators now measure [[composter]]s.}}
{{History|||snap=19w12b|Redstone comparators can now be placed on [[glass]], [[ice]], [[glowstone]] and [[sea lantern]]s.}}
{{History||1.15|snap=19w34a|Redstone comparators now measure how much honey is inside [[beehive|bee hive]]s and [[bee nest]]s.}}
{{History||1.16|snap=20w06a|The way to calculate the input signals of redstone comparators has now been changed.}}
{{History|||snap=20w11a|The changes to the way of calculating the input signals of redstone comparators from [[Java Edition 20w06a|20w06a]] have now been reverted.}}
{{History|||snap=20w16a|Redstone comparators now measure [[Pigstep music disc]]s in [[jukebox]]es.}}
{{History||1.17|snap=20w45a|Redstone comparators now measure [[lava cauldron]]s.}}
{{History|||snap=20w46a|Redstone comparators now measure [[Cauldron#Holding powder snow|powder snow cauldron]]s.}}
{{History||1.18|snap=21w41a|[[File:Powered Redstone Comparator (S) JE5.png|32px]] [[File:Powered Subtracting Redstone Comparator (S) JE6.png|32px]] The texture of powered redstone comparator have now been changed.}}
{{History||1.19|snap=22w13a|Redstone comparators now generate as part of [[ancient cities]].}}
{{History||1.20<br>(Experimental)|link=1.19.3|snap=22w42a|Redstone comparators now measure [[chiseled bookshelves]].}}
{{History||1.20.2|snap=23w33a|Redstone comparators now use stone sounds instead of wood sounds.<ref>{{bug|MC-182820|||Fixed}}</ref>}}
{{History|pocket alpha}}
{{History||v0.14.0|snap=build 1|[[File:Redstone Comparator (S) JE2 BE1.png|32px]] [[File:Powered Redstone Comparator (S) JE2 BE1.png|32px]] [[File:Subtracting Redstone Comparator (S) JE2 BE1.png|32px]] [[File:Powered Subtracting Redstone Comparator (S) JE2 BE1.png|32px]]{{verify|Was this the model used?}} [[File:Redstone Comparator (item) JE1 BE1.png|32px]] Added redstone comparators.}}
{{History|pocket}}
{{History||1.0.0|snap=alpha 0.17.0.1|Redstone comparators now measure [[end portal frame]]s.}}
{{History||1.0.5|snap=alpha 1.0.5.0|Redstone comparators now output success count of [[command block]]s.}}
{{History||1.1.0|snap=alpha 1.1.0.0|Redstone comparators now measure [[shulker box]]es.}}
{{History|bedrock}}
{{History||1.2.0|snap=beta 1.2.0.2|Redstone comparators now measure [[jukebox]]es.
|Redstone comparators now render their underside, which has changed their undersides from [[File:Redstone Comparator UNKVER1 (facing NWU).png|32px]] to [[File:Redstone Comparator UNKVER3 (facing NWU).png|32px]]}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Redstone Comparator (S) BE.png|32px]] [[File:Powered Redstone Comparator (S) BE.png|32px]] [[File:Subtracting Redstone Comparator (S) BE.png|32px]] [[File:Powered Subtracting Redstone Comparator (S) BE.png|32px]] [[File:Redstone Comparator (item) JE2 BE2.png|32px]] The textures of redstone comparators have now been changed.}}
{{History||1.11.0|snap=beta 1.11.0.1|Redstone comparators now measure [[smoker]]s, [[blast furnace]]s, [[lectern]]s and [[composter]]s.}}
{{History||1.18.10|snap=beta 1.18.10.20|[[File:Powered Redstone Comparator (S) JE5.png|32px]] [[File:Powered Subtracting Redstone Comparator (S) JE6.png|32px]] The texture of powered redstone comparator have now been changed.}}
{{History||1.20.30|snap=beta 1.20.30.20|Redstone comparators now use the <code>minecraft:cardinal_direction</code> [[block state]] instead of <code>direction</code>.}}
{{History|console}}
{{History||xbox=TU19|xbone=CU7|ps=1.12|wiiu=Patch 1|switch=1.0.1|[[File:Redstone Comparator (S) JE2 BE1.png|32px]] [[File:Powered Redstone Comparator (S) JE2 BE1.png|32px]] [[File:Subtracting Redstone Comparator (S) JE2 BE1.png|32px]] [[File:Powered Subtracting Redstone Comparator (S) JE2 BE1.png|32px]]{{verify|Was this the model used?}} [[File:Redstone Comparator (item) JE1 BE1.png|32px]] Added redstone comparators.}}
{{History||xbox=TU31|xbone=CU19|ps=1.22|wiiu=Patch 3|switch=1.0.1|Redstone comparators can now measure [[item frame]]s.}}
{{History||xbox=none|xbone=none|ps=1.90|wiiu=none|switch=none|[[File:Redstone Comparator (S) BE.png|32px]] [[File:Powered Redstone Comparator (S) BE.png|32px]] [[File:Subtracting Redstone Comparator (S) BE.png|32px]] [[File:Powered Subtracting Redstone Comparator (S) BE.png|32px]]{{verify|Was this the model used?}} [[File:Redstone Comparator (item) JE2 BE2.png|32px]] The textures of redstone comparators have now been changed.}}
{{History|3ds}}
{{History||0.1.0|[[File:Redstone Comparator (S) JE2 BE1.png|32px]] [[File:Powered Redstone Comparator (S) JE2 BE1.png|32px]] [[File:Subtracting Redstone Comparator (S) JE2 BE1.png|32px]] [[File:Powered Subtracting Redstone Comparator (S) JE2 BE1.png|32px]]{{verify|Was this the model used?}} [[File:Redstone Comparator (item) JE2 BE2.png|32px]] Added redstone comparators.}}
{{History|foot}}
=== Redstone comparator "items" ===
{{:Technical blocks/Redstone Comparator}}
== Issues ==
{{issue list}}
== Trivia ==
* Comparators do not emit redstone particles when powered, unlike redstone torches and repeaters.<ref>{{bug|MC-51692|||WAI}}</ref>
== Gallery ==
<gallery>
Dinnerbone Comparator 1.png|Dinnerbone showing how comparators work.
Dinnerbone Comparator 2.png|Dinnerbone showing how comparators work.
Dinnerbone Comparator 3.png|Dinnerbone showing how comparators work.
Dinnerbone Comparators 1.png|A contraption incorporating comparators.
Dinnerbone Comparators 2.png|Comparators in action.
Dinnerbone Comparators 3.png|Output specific signals.
Dinnerbone Comparator Thing.png|Another comparator in use.
Item Frame Comparator.png|Rotating the torch in the item frame adjusts the comparator's output.
</gallery>
== References ==
{{reflist}}
{{Redstone}}
{{Blocks|Utility}}
{{Items}}
[[Category:Mechanics]]
[[Category:Block entities]]
[[Category:Redstone mechanics]]
[[Category:Mechanisms]]
[[Category:Manufactured blocks]]
[[Category:Non-solid blocks]]
[[de:Redstone-Komparator]]
[[es:Comparador de redstone]]
[[fr:Comparateur de redstone]]
[[hu:Redstone-komparátor]]
[[ja:レッドストーンコンパレーター]]
[[ko:레드스톤 비교기]]
[[nl:Redstonevergelijker]]
[[pl:Komparator]]
[[pt:Comparador de redstone]]
[[ru:Компаратор]]
[[uk:Редстоуновий компаратор]]
[[zh:红石比较器]]</li><li>[[Key|Key]]<br/>{{About|the joke item|the golem|Key Golem|in-game control keys|Controls}}
{{Exclusive|Java}}
{{Joke feature}}
{{Item
| image = <gallery>
Red Key.gif | Red
Yellow Key.gif | Yellow
Blue Key.gif | Blue
</gallery>
| renewable =
* Blue: No
* Red, Yellow: Yes
| stackable = Yes
}}
'''Keys''' were a joke item from [[Java Edition 3D Shareware v1.34]].
There are three different keys: '''red''', '''yellow''', and '''blue'''.
== Obtaining ==
=== Mobs ===
The red key was dropped by the [[wither]], the yellow key was dropped by [[ravager]]s, and the blue key was dropped by the [[elder guardian]].
=== Cheat codes ===
These keys were also obtainable by using the cheat code "IDKFA" when typing in chat.
=== Natural generation ===
{{LootChestItem|red-key,yellow-key,blue-key}}
== Data values ==
=== ID ===
{{ID table
|showforms=y
|generatetranslationkeys=java
|displayname=Red Key
|spritetype=item
|nameid=red_key
|form=item}}
{{ID table
|displayname=Yellow Key
|spritetype=item
|nameid=yellow_key
|form=item}}
{{ID table
|displayname=Blue Key
|spritetype=item
|nameid=blue_key
|form=item
|foot=1}}
== History ==
{{History|java}}
{{History||3D Shareware v1.34|[[File:Red Key.gif|32px]] [[File:Yellow Key.gif|32px]] [[File:Blue Key.gif|32px]] Added red, yellow, and blue keys.}}
{{History|foot}}
== Trivia ==
*[[File:Green Key.png|32px]] A key with a similar appearance is present in ''The Europa Arcology Incident'', a game made by [[Notch]] in 2009.
{{Items}}
{{Jokes}}
[[Category:Joke items]]
[[pt:Chave]]</li></ul></nowiki> | Properly selects 64-bit Java installations for Mac OS X users.[17] | ||||
1.3.2{{Extension DPL}}<ul><li>[[Green Dye|Green Dye]]<br/>{{redirect|Cactus Green|the plant|Cactus}}{{Item
| title = Green Dye
| renewable = Yes
| stackable = Yes (64)
}}
'''Green dye''' is a [[primary color dye]].
== Obtaining ==
=== Chest loot ===
{{LootChestItem|green-dye}}
=== Smelting ===
{{Smelting
|head=1
|showdescription=1
|Cactus
|Green Dye
|1
|description={{only|Java}}<ref>{{bug|MC-210211||Smelting cactus gives too much experience since 1.13}}</ref>
}}
{{Smelting
|head=0
|showdescription=1
|Cactus
|Green Dye
|0,2
|description={{only|Bedrock}}
|foot=1
}}
=== Trading ===
[[Wandering trader]]s sell 3 green dye for an [[emerald]].
== Usage ==
{{dye usage}}
=== Crafting ingredient ===
{{crafting usage|ignore=Banner|continue=1}}
{{banner crafting usage}}
=== Loom ingredient ===
{{Banner loom usage|Green Dye}}
=== Trading ===
Expert level shepherd villagers have {{frac|1|6}} chance to buy 12 green dye for an emerald.{{only|bedrock}} Expert level shepherds have a {{frac|2|7}} chance to buy 12 green dye for 1 emerald.{{only|java}}
== Data values ==
=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|showforms=y
|generatetranslationkeys=y
|displayname=Green Dye
|spritetype=item
|nameid=green_dye
|form=item
|foot=1}}
{{edition|bedrock}}:
{{ID table
|edition=bedrock
|showaliasids=y
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Green Dye
|spritetype=item
|nameid=green_dye
|aliasid=dye / 2
|id=397
|form=item
|translationkey=item.dye.green.name
|foot=1}}
== Video ==
<div style="text-align:center">{{yt|O4KVTPI4qIc}}</div>
== History ==
{{History|java beta}}
{{History||1.2|[[File:Green Dye JE1 BE1.png|32px]] Added cactus green, together with all other dyes.}}
{{History|java}}
{{History||1.3.1|snap=1.3|[[File:Green Dye JE2 BE2.png|32px]] The texture of cactus green has been changed.}}
{{History||1.4.2|snap=12w34a|Added the ability to [[Armor#Dyeing|dye]] leather [[armor]] and [[wolf]] collars.}}
{{History||1.4.6|snap=12w49a|Cactus green can be crafted with [[gunpowder]] to create a [[firework star]].}}
{{History||1.6.1|snap=13w19a|[[Stained clay]] can now be [[crafting|crafted]].}}
{{History||1.7.2|snap=13w41a|[[Stained glass]] can now be crafted.}}
{{History||1.8|snap=14w30a|Added [[banner]]s, which can be dyed.}}
{{History||1.11|snap=16w39a|Added the ability to dye [[shulker box]]es.}}
{{History||1.12|snap=17w06a|Cactus green can now be used to craft green [[concrete powder]].}}
{{History||1.12|snap=17w15a|Added the ability to dye [[bed]]s.}}
{{History||1.13|snap=17w47a|The different data values for the <code>dye</code> ID have now been split up into their own IDs.
|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 351.}}
{{History||1.14|snap=18w43a|"Cactus Green" has been renamed to "Green Dye".
|[[File:Green Dye JE3 BE3.png|32px]] The texture of green dye has been changed.}}
{{History|||snap=18w44a|Green dye can now change the text color on [[sign]]s to green.}}
{{History|||snap=18w50a|Green dye can now be found in [[chest]]s in [[desert]] [[village]] houses.}}
{{History|||snap=19w05a|Added the [[wandering trader]], which sells green dye.}}
{{History|||snap=19w11a|Green dye can now be [[trading|bought]] by shepherd villagers.}}
{{History||1.17|snap=20w45a|Green dye can now be used to craft [[green candle]]s.}}
{{History|||snap=21w19a|Green dye can no longer be used to craft green candles.}}
{{History|||snap=Pre-release 1|Green dye can once again be used to craft green candles.}}
{{History||1.20<br>(Experimental)|link=1.19.3|snap=22w42a|Green dye can now change the text color on [[hanging sign]]s to green.}}
{{History|pocket alpha}}
{{History||v0.3.0|[[File:Green Dye JE1 BE1.png|32px]] Added cactus green. It is currently unobtainable and has no usage.}}
{{History||v0.3.2|Cactus green is now obtainable by [[smelting]] cacti in a [[furnace]]. It still has no usage.}}
{{History||v0.4.0|Cactus green can now be used to craft [[cyan dye]], [[lime dye]], and [[green wool]].}}
{{History||v0.8.0|snap=build 1|[[File:Green Dye JE2 BE2.png|32px]] The texture of cactus green has been changed.}}
{{History||v0.14.0|snap=build 1|Cactus green can now be used to dye [[water]] in [[cauldron]]s.}}
{{History|pocket}}
{{History||1.0.0|snap=alpha 0.17.0.1|Cactus green can now be used to dye [[shulker]]s.}}
{{History||1.1.0|snap=alpha 1.1.0.0|Cactus green can now be used to dye [[bed]]s, [[shulker box]]es, and craft [[concrete powder]].}}
{{History|bedrock}}
{{History||1.2.0|snap=beta 1.2.0.2|Cactus green can now be used to craft [[stained glass]], patterns on [[banner]]s, and [[firework star]]s.}}
{{History||1.4.0|snap=beta 1.2.20.1|Cactus green can now be used to craft [[balloon]]s and [[glow stick]]s.}}
{{History||1.8.0|snap=beta 1.8.0.10|"Cactus Green" has been renamed to "Green Dye".}}
{{History||1.10.0|snap=beta 1.10.0.3|Green dye is now sold by [[wandering trader]]s.
|[[File:Green Dye JE3 BE3.png|32px]] The texture of green dye has been changed.}}
{{History||1.11.0|snap=beta 1.11.0.1|Green dye can now be found in [[desert]] [[village]] house [[chest]]s.}}
{{History|||snap=beta 1.11.0.4|Green dye can now be [[trading|sold]] to shepherd [[villager]]s.}}
{{History||1.16.100|snap=beta 1.16.100.56|The ID of green dye has been changed from <code>dye/2</code> to <code>green_dye</code>.}}
{{History|console}}
{{History||xbox=TU1|xbone=CU1|ps=1.00|wiiu=Patch 1|[[File:Green Dye JE1 BE1.png|32px]] Added cactus green.}}
{{History|PS4}}
{{History||1.83|"Cactus Green" has been renamed to "Green Dye".}}
{{History||1.90|[[File:Green Dye JE3 BE3.png|32px]] The texture of green dye has been changed.}}
{{History|new 3ds}}
{{History||0.1.0|[[File:Green Dye JE1 BE1.png|32px]] Added cactus green.}}
{{History|foot}}
== Issues ==
{{issue list}}
{{Items}}
[[cs:Kaktusová zeleň]]
[[de:Grüner Farbstoff]]
[[es:Tinte verde]]
[[fr:Teinture verte]]
[[hu:Kaktuszzöld]]
[[ja:緑色の染料]]
[[ko:초록색 염료]]
[[nl:Cactusgroen]]
[[pl:Zielony barwnik]]
[[pt:Corante verde]]
[[ru:Зелёный краситель]]
[[Category:Items]]
[[Category:Dyes]]
[[Category:Renewable resources]]</li><li>[[Item Frame|Item Frame]]<br/>{{redirect|Frame}}
{{ItemEntity
| group = Item Frame
| 1-1 = Item Frame.png
| 1-2 = Item Frame (item).png
| group2 = Glow Item Frame
| 2-1 = Glow Item Frame.png
| 2-2 = Glow Item Frame (item).png
| extratext = [[#Renders|View all renders]]
| renewable = Yes
| stackable = Yes (64)
| drops = {{ItemLink|Item Frame}} (1)<br>
or
{{ItemLink|Glow Item Frame}} (1)<br>{{EnvSprite|items}} The item it contains.
}}
An '''item frame''' is an [[entity]]{{only|java|short=y}} or [[block entity]]{{only|bedrock|short=y}} that displays the item or block that is inside it.
A '''glow item frame''' keeps itself and the item inside it illuminated, even in the dark.
== Obtaining ==
=== Breaking ===
{{IN|je}}, an empty item frame can be broken simply by punching it. If the item frame contains an item, punching it drops the item, leaving the frame on the wall.
Because item frames are [[entities]] {{in|java}}, they can be broken in [[Adventure]] mode. They will also be targeted by commands using the @e selector.{{only|java}}
=== Natural generation ===
An item frame containing a pair of [[elytra]] generates in each [[end ship]].
[[File:BoatElytra.png|thumb|An item frame naturally generating in an end ship.]]
=== Crafting ===
{{Crafting
|head=1
|A1= Stick |B1= Stick |C1= Stick
|A2= Stick |B2= Leather |C2= Stick
|A3= Stick |B3= Stick |C3= Stick
|Output= Item Frame
|type= Decoration block
}}
{{Crafting
|foot=1
|Glow Ink Sac
|Item Frame
|Output= Glow Item Frame
|type= Decoration block
}}
=== Trading ===
Expert-level [[Trading#Cartographer|cartographer]] [[villager]]s have a chance to sell an item frame for 7 [[emerald]]s.
== Usage ==
=== Item display ===
[[File:Item Frame (map filled partial).png|thumb|150px|Item frame with partially filled map]]
Item frames can be placed on the sides of [[cactus]] blocks, [[pressure plate]]s, [[fence]]s, [[tree]]s, [[slab]]s, [[cobblestone wall]]s, [[chest]]s, [[door]]s, and all [[solid block]]s. They can also be placed on the top and bottom of these blocks. To place on chests and doors, the player needs to be [[sneaking]]. As item frames are an entity, multiple item frames can occupy the same block, although on different faces. It also allows non-solid blocks to occupy the same space.{{only|java}}
Players can place items in the frame by {{control|using}} the item. If a [[map]] is placed in an item frame, it enlarges to show the map in the size of a full block, with the item frame's location displayed as a green pointer on the map, pointing in the direction the item frame is facing. If this is done in the Nether, the green cursor spins around similar to the white cursor (players). If an item in an item frame has been renamed using an [[anvil]], it displays its custom name when the cursor is over the item frame. If the player places a block inside the frame, it is displayed in miniature half in, half out of the block. This can be most notably seen on stairs or slabs.
{{control|Pick block}} may be used on item frames by players in creative mode only, the control has no effect for players in Survival or Adventure mode. When the item frame is displaying an item, {{control|pick block}} picks the displayed item instead of the item frame.
Item frames can be placed on the lid of a [[shulker box]] that is positioned horizontally, but pop off when the lid is opened.{{only|java}}
=== Rotation ===
The displayed item can then be rotated by right-clicking the frame. Items displayed in the item frame can turn 45° diagonally, with a total of 8 possibilities (90° and 4 possibilities if it is a map), and the frame outputs a [[Mechanics/Redstone/Circuit#Power level|redstone signal]] depending on the rotation phase that can be interpreted by a [[redstone comparator]] (note that this rotation value is separate from the clock or compass rotation). As long as the frame remains placed, it remembers the orientation of the last item it held, and uses it for the next item it holds.{{only|java}}
=== Glow item frames ===
[[File:Item Frames Comparison.png|thumb|260px|Comparison between ordinary item frame and glow item frame in the dark.]]
When an item is placed inside a glow item frame, it appears to glow, even though it does not emit any [[light level]].
== Sounds ==
Item frames and glow item frames share the same sounds.
=== Generic ===
{{Edition|Bedrock}}:<!--Item frames are blocks in BE, so they get the generic section.-->
{{Sound table/Block/Item frame/BE}}
=== Unique ===
{{Edition|Java}}:
{{Sound table
|rowspan=2
|sound=Item Frame add item1.ogg
|sound2=Item Frame add item2.ogg
|soumd3=Item Frame add item3.ogg
|sound4=Item Frame add item4.ogg
|subtitle=Item Frame fills
|source=neutral
|description=When an item is placed in an item frame
|id=entity.item_frame.add_item
|translationkey=subtitles.entity.item_frame.add_item
|volume=1.0
|pitch=1.0
|distance=16}}
{{Sound table
|subtitle=Glow Item Frame fills
|source=neutral
|description=When an item is placed in a glow item frame
|id=entity.glow_item_frame.add_item
|translationkey=subtitles.entity.glow_item_frame.add_item
|volume=1.0
|pitch=1.0
|distance=16}}
{{Sound table
|rowspan=2
|sound=Item Frame break1.ogg
|sound2=Item Frame break2.ogg
|sound3=Item Frame break3.ogg
|subtitle=Item Frame breaks<ref group=sound name=breaks>{{bug|MC-194948}}</ref>
|source=neutral
|description=When an item frame is broken or pops off
|id=entity.item_frame.break
|translationkey=subtitles.entity.item_frame.break
|volume=1.0
|pitch=1.0
|distance=16}}
{{Sound table
|subtitle=Glow Item Frame breaks<ref group=sound name=breaks/>
|source=neutral
|description=When a glow item frame is broken or pops off
|id=entity.glow_item_frame.break
|translationkey=subtitles.entity.glow_item_frame.break
|volume=1.0
|pitch=1.0
|distance=16}}
{{Sound table
|rowspan=2
|sound=Item Frame place1.ogg
|sound2=Item Frame place2.ogg
|sound3=Item Frame place3.ogg
|sound4=Item Frame place4.ogg
|subtitle=Item Frame placed
|source=neutral
|description=When an item frame is placed
|id=entity.item_frame.place
|translationkey=subtitles.entity.item_frame.place
|volume=1.0
|pitch=1.0
|distance=16}}
{{Sound table
|subtitle=Glow Item Frame placed
|source=neutral
|description=When a glow item frame is placed
|id=entity.glow_item_frame.place
|translationkey=subtitles.entity.glow_item_frame.place
|volume=1.0
|pitch=1.0
|distance=16}}
{{Sound table
|rowspan=2
|sound=Item Frame remove item1.ogg
|sound2=Item Frame remove item2.ogg
|sound3=Item Frame remove item3.ogg
|sound4=Item Frame remove item4.ogg
|subtitle=Item Frame empties
|source=neutral
|description=When an item is removed from an item frame
|id=entity.item_frame.remove_item
|translationkey=subtitles.entity.item_frame.remove_item
|volume=1.0
|pitch=1.0
|distance=16}}
{{Sound table
|subtitle=Glow Item Frame empties
|source=neutral
|description=When an item is removed from a glow item frame
|id=entity.glow_item_frame.remove_item
|translationkey=subtitles.entity.glow_item_frame.remove_item
|volume=1.0
|pitch=1.0
|distance=16}}
{{Sound table
|rowspan=2
|sound=Item Frame rotate item1.ogg
|sound2=Item Frame rotate item2.ogg
|sound3=Item Frame rotate item3.ogg
|sound4=Item Frame rotate item4.ogg
|subtitle=Item Frame clicks
|source=neutral
|description=When an item is rotated in an item frame
|id=entity.item_frame.rotate_item
|translationkey=subtitles.entity.item_frame.rotate_item
|volume=1.0
|pitch=1.0
|distance=16}}
{{Sound table
|subtitle=Glow Item Frame clicks
|source=neutral
|description=When an item is rotated in an item frame
|id=entity.glow_item_frame.rotate_item
|translationkey=subtitles.entity.glow_item_frame.rotate_item
|volume=1.0
|pitch=1.0
|distance=16
|foot=1}}
{{Edition|Bedrock}}:
{{Sound table
|type=bedrock
|sound=Item Frame add item1.ogg
|sound2=Item Frame add item2.ogg
|soumd3=Item Frame add item3.ogg
|sound4=Item Frame add item4.ogg
|source=block
|description=When an item is placed in an item frame
|id=block.itemframe.add_item
|volume=1.0
|pitch=1.0}}
{{Sound table
|sound=Item Frame remove item1.ogg
|sound2=Item Frame remove item2.ogg
|sound3=Item Frame remove item3.ogg
|sound4=Item Frame remove item4.ogg
|source=block
|description=When an item is removed from an item frame
|id=block.itemframe.remove_item
|volume=1.0
|pitch=1.0}}
{{Sound table
|sound=Item Frame rotate item1.ogg
|sound2=Item Frame rotate item2.ogg
|sound3=Item Frame rotate item3.ogg
|sound4=Item Frame rotate item4.ogg
|source=block
|description=When an item is rotated in an item frame
|id=block.itemframe.rotate_item
|volume=1.0
|pitch=1.0
|foot=1}}
== Achievements ==
{{load achievements|Map room}}
== Data values ==
=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|firstcolumnname=Item
|showforms=y
|generatetranslationkeys=y
|displayname=Item Frame
|spritetype=item
|nameid=item_frame
|form=item}}
{{ID table
|displayname=Glow Item Frame
|spritetype=item
|nameid=glow_item_frame
|form=item
|foot=1}}
{{ID table
|edition=java
|firstcolumnname=Entity
|generatetranslationkeys=y
|displayname=Item Frame
|spritetype=entity
|nameid=item_frame}}
{{ID table
|displayname=Glow Item Frame
|spritetype=entity
|nameid=glow_item_frame
|foot=1}}
{{edition|bedrock}}:
{{ID table
|edition=bedrock
|firstcolumnname=Item Frame
|shownumericids=y
|showforms=y
|generatetranslationkeys=y
|displayname=Item
|spritename=item-frame
|spritetype=item
|nameid=frame
|id=513
|form=item}}
{{ID table
|displayname=Block
|spritename=item-frame
|spritetype=block
|nameid=frame
|id=199
|form=block
|translationkey=-
|itemform=item.frame}}
{{ID table
|displayname=Item
|spritename=glow-item-frame
|spritetype=item
|nameid=glow_frame
|id=623
|form=item}}
{{ID table
|displayname=Block
|spritename=glow-item-frame
|spritetype=block
|nameid=glow_frame
|form=block
|id=594
|itemform=item.glow_frame
|translationkey=-
|foot=1}}
{{ID table
|notnamespaced=y
|displayname=Block entity
|spritename=item-frame
|spritetype=block
|nameid=ItemFrame}}
{{ID table
|displayname=Block entity
|spritename=glow-item-frame
|spritetype=block
|nameid=GlowItemFrame
|foot=1}}
=== Block states===
{{see also|Block states}}
{{/BS}}<br />
===Item data===
{{el|java}}:{{main|Player.dat format}}<div class="treeview">
*{{nbt|compound|tag}}'''<span data-ve-ignore="true" class="nowrap"> tag</span>''': The item's '''tag''' tag.
{{:Player.dat_format/Entity Spawners}}Unlike spawn eggs, cannot change the type of entity created using the <code>id</code> tag. Data that item frames do not normally use (see below) has no effect.
</div>
===Entity data===
{{main|Entity format}}
{{IN|java}}, item frames have entity data that define various properties of the entity.
{{/ED}}
===Block data===
{{IN|bedrock}}, an item frame has a block entity associated with it that holds additional data about the block.
See [[Bedrock Edition level format/Block entity format]].
== Video==
<div style="text-align:center">{{yt|rJLj95DBb-w}}</div>
==History==
{{History|java}}
{{History||August 15, 2012|link={{tweet|Dinnerbone|235724805196877824}}|[[File:Item Frame (pre-release).png|32px]] [[Dinnerbone]] showed the first image of item frames.}}
{{History||August 15, 2012|link={{tweet|Dinnerbone|235742974271700993}}|[[File:Item Frame (item) (pre-release).png|32px]] Dinnerbone showed item frame in item form.}}
{{History||August 15, 2012|link={{tweet|jeb_|235746335368814592}}|[[File:Item Frame (pre-release 2).png|32px]] [[Jeb]] showed the item frames with new model.}}
{{History||August 16, 2012|link={{tweet|Dinnerbone|236062188555624448}}|[[File:Item Frame (item) JE1 BE1.png|32px]] Dinnerbone showed the item frame in item form with new texture.}}
{{History||1.4.2|snap=12w34a|[[File:Item Frame JE1 BE1.png|32px]] [[File:Item Frame (item) JE1 BE1.png|32px]] Added item frames.
|There is currently a bug where attempting to place an item frame in [[multiplayer]] causes an internal server error, as well as other bugs.}}
{{History|||snap=12w34b|The multiplayer item frame bug has been fixed.}}
{{History|||snap=12w38a|Item frames no longer despawn when the [[player]] moves 20 [[block]]s away.}}
{{History||1.7.2|snap=13w36a|Items renamed using an [[anvil]] now display their name when looked at up close.}}
{{History|||snap=13w38a|[[Map]]s placed in an item frame now cover the whole block face, allowing seamless tiling of adjacent maps. This makes undiscovered areas of maps invisible.}}
{{History|||snap=13w43a|[[File:Item Frame (map) JE1 BE1.png|32px]] Incomplete maps placed in item frames now display the item frame texture underneath.}}
{{History||1.8|snap=14w04a|[[Item]]s and [[block]]s displayed in the item frame now rotate 45 degrees when rotated instead of 90 degrees, and a [[comparator]] outputs a [[redstone]] signal depending on the rotation phase.}}
{{History|||snap=14w10a|Multiple item frames can no longer be placed on the same block face.}}
{{History||1.9|snap=15w41a|An item frame now generates in the treasure room of [[end ship]]s, above the [[shulker]] that guards the treasure. It holds [[elytra]].}}
{{History|||snap=15w49a|Item frames are no longer destroyed by [[lightning]] bolts.}}
{{History|||snap=15w50a|Added [[sound]]s to item frames: <code>entity.itemframe.add_item</code>, <code>entity.itemframe.break</code>, <code>entity.itemframe.place</code>, <code>entity.itemframe.remove_item</code>, and <code>entity.itemframe.rotate_item</code>.}}
{{History||1.11|snap=16w32a|The [[entity]] ID of item frames has been changed from <code>ItemFrame</code> to <code>item_frame</code>.}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 389.}}
{{History|||snap=17w50a|Item frames can now be put on floors and ceilings.}}
{{History||1.14|snap=18w43a|[[File:Item Frame JE2 BE2.png|32px]] [[File:Item Frame (map) JE2 BE2.png|32px]] [[File:Item Frame (item) JE2 BE2.png|32px]] The textures of item frames have been changed.}}
{{History|||snap=19w11a|Item frames are now [[trading|sold]] by cartographer [[villager]]s.}}
{{History||1.15|snap=19w38a|[[File:Item Frame 19w38a.png|32px]] [[File:Item Frame Map 19w38a.png|32px]] Item frames now appear dark, same as suffocating [[mob]]s.<ref>{{bug|mc-161283|||Fixed}}</ref>}}
{{History|||snap=19w39a|Item frames are now colored correctly.}}
{{History||1.16|snap=20w10a|The NBT <code>Invisible</code> and <code>Fixed</code> have been added to item frames.}}
{{History||1.17|snap=21w03a|[[File:Glow Item Frame JE1 BE3.png|32px]] [[File:Glow Item Frame (map) JE1 BE3.png|32px]] [[File:Glow Item Frame (item) JE1 BE1.png|32px]] Added glow item frames.}}
{{History|||snap=21w10a|Added new [[subtitles]] for glow item frames.}}
{{History||1.18|snap=21w41a|[[File:Item Frame (item) JE3.png|32px]] [[File:Glow Item Frame (item) JE2.png|32px]] The textures of item frames and glow item frames as item have been changed.}}
{{History||1.19|snap=22w15a|Item frames now adjusts its hitbox to account for the larger size of a framed [[map]].}}
{{History|||snap=Pre-release 3|Reverted the change in 22w15a.}}
{{History|pocket alpha}}
{{History||v0.14.0|snap=build 1|[[File:Item Frame JE1 BE1.png|32px]] [[File:Item Frame (map) JE1 BE1.png|32px]] [[File:Item Frame (item) JE1 BE1.png|32px]] Added item frames.
|Item frames are considered as a [[block entity]] instead of an [[entity]].<ref>{{tweet|_tomcc|690127591525728257|Let's create some drama: ItemFrames in MCPE will behave like signs and won't be placeable in blocks, and can't put many in the same block.|21 Jan 2016}}</ref>}}
{{History|pocket}}
{{History||1.0.0|snap=alpha 0.17.0.1|An item frame containing [[elytra]] now generates in [[end city]] ships.}}
{{History|bedrock}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Item Frame JE2 BE2.png|32px]] [[File:Item Frame (map) JE2 BE2.png|32px]] [[File:Item Frame (item) JE2 BE2.png|32px]] The textures of item frames have been changed.}}
{{History||1.11.0|snap=beta 1.11.0.4|Item frames can now be [[trading|bought]] from cartographer [[villager]]s.}}
{{History||1.13.0|snap=beta 1.13.0.9|Item frames can now be placed on the top and bottom of [[block]]s.}}
{{History||1.16.0|snap=beta 1.16.0.57|Trading has been changed, item frames are now offered by expert-level cartographer villager.}}
{{History||Caves & Cliffs (experimental)|link=Bedrock Edition 1.17.0|snap=beta 1.16.210.59|[[File:Item Frame.png|32px]] [[File:Item Frame (map) JE2 BE2.png|32px]] [[File:Glow Item Frame (item) JE1 BE1.png|32px]] Added glow item frames.
|Has the default item frame block texture.}}
{{History|||snap=beta 1.16.210.60|Temporarily removed glow item frames due to a crash.}}
{{History|||snap=beta 1.16.220.50|[[File:Item Frame JE2 BE2.png|32px]] [[File:Item Frame (map) JE2 BE2.png|32px]] [[File:Glow Item Frame (item) JE1 BE1.png|32px]] Re-added glow item frames.}}
{{History|||snap=beta 1.16.220.52|[[File:Glow Item Frame BE2.png|32px]] [[File:Glow Item Frame (map) BE2.png|32px]] Glow Item Frame block texture uses update block texture due to a bug.}}
{{History||1.17.0|snap=beta 1.16.230.52|[[File:Item Frame.png|32px]] [[File:Item Frame (map) JE2 BE2.png|32px]] The glow item frame block textures have been reverted back to the previous one.}}
{{History|||snap=beta 1.17.0.50|[[File:Glow Item Frame JE1 BE3.png|32px]] [[File:Glow Item Frame (map) JE1 BE3.png|32px]] The textures of glow item frames have been changed to match Java Edition.
|Now produces [[redstone]] signals.}}
{{History|||snap=beta 1.17.0.52|Maps now glow in glow item frames.
|Glow Item Frames are no longer available only through [[Experimental Gameplay]].}}
{{History||1.18.10|snap=beta 1.18.10.20|[[File:Item Frame (item) JE3.png|32px]] [[File:Glow Item Frame (item) JE2.png|32px]] The textures of item frames and glow item frames as item have been changed.}}
{{History|console}}
{{History||xbox=TU9|xbone=CU1|ps=1.0|wiiu=Patch 1|switch=1.0.1|[[File:Item Frame LCE1.png|32px]] [[File:Item Frame (item) JE1 BE1.png|32px]] Added item frames.}}
{{History||xbox=TU11|The limit for item frames in a world has been increased. A message is now displayed when the maximum number of item frames are reached.}}
{{History||xbox=TU12|[[File:Item Frame JE1 BE1.png|32px]] The entity texture of item frames has been changed.}}
{{History||xbox=TU31|xbone=CU19|ps=1.22|wiiu=Patch 3|[[Item]]s and [[block]]s displayed in the item frame now rotate 45 degrees when rotated instead of 90 degrees, and a [[redstone comparator|comparator]] now outputs a [[redstone]] signal depending on the rotation phase.}}
{{History||xbox=TU43|xbone=CU33|ps=1.36|wiiu=Patch 13|Added [[sound]]s for item frames.}}
{{History||xbox=TU56|xbone=CU47|ps=1.55|wiiu=Patch 26|switch=1.0.6|If the [[item]] in the item frame has a name (from an [[anvil]]) it now shows as if there is a name tag on the item frame.}}
{{History||xbox=none|xbone=none|ps=1.90|wiiu=none|switch=none|[[File:Item Frame JE2 BE2.png|32px]] [[File:Item Frame (map) JE2 BE2.png|32px]] [[File:Item Frame (item) JE2 BE2.png|32px]] The textures of item frames have been changed.}}
{{History|new 3ds}}
{{History||0.1.0|[[File:Item Frame JE1 BE1.png|32px]] [[File:Item Frame (map) JE1 BE1.png|32px]] [[File:Item Frame (item) JE1 BE1.png|32px]] Added item frames.}}
{{History|foot}}
== Issues==
{{issue list}}
== Trivia==
*The item frame is based upon a suggestion on [[wikipedia:Reddit|Reddit]], like the [[ender chest]] and [[flower pot]].<ref>{{Tweet|dinnerbone|235747041286975488}}</ref>
*The item frame is the only entity to reference a block [[model]].{{only|java|short=1}} Because of this, the texture of the frame border is the same as the birch planks texture.
*Item frame is the '''only''' placeable item that can interfere with other non-full block entities.
*Due to the way layer textures are displayed in Minecraft, maps float on item frames, similar to how icons float on the map itself.
== Gallery ==
=== Renders ===
<gallery>
Item Frame.png | Item Frame
Item Frame (map).png | Map Item Frame
Glow Item Frame.png | Glow Item Frame
Glow Item Frame (map).png | Map Glow Item Frame
Item Frame with Item.png | With item
Item Frame with rotated Item.png | With rotated item
Item Frame with Block.png | With block
Item Frame with rotated Block.png | With rotated block
</gallery>
=== Screenshots ===
<gallery>
Slab Frame.png|An item frame on the side of a slab.
ItemFrameBoxed.png|Four item frames in a one-block space.{{only|java}}
Item Frames Woodbase.png|The frame itself uses the texture of birch planks.
Item Frame rotation.gif|The rotation of an item in an item frame.
Front-back-itemframe.png|The front and back of an item frame are the same.
Big skills right there.png|A glow item frame inside a glow item frame.
Frame fireplace.png|An image of a fireplace retweeted by Dinnerbone.
11 Framed.png|[[11]] in an item frame.
</gallery>
=== Development images ===
<gallery>
Suggestion for itemframes.png|Original Reddit image suggesting item frames and flower pots.
Item frame2.png|Dinnerbone's first screenshot showing armor and weapons.
Item frame3.png|Dinnerbone's second screenshot showing a map, a compass, and two diamond swords.
Item frame4.png|Dinnerbone's third screenshot showing a golden sword in all directions, the item frame item itself, and a working clock.
Item frame1.png|Jeb's screenshot of the item frame.
FlowerPot.png|Snapshot showing plant pots and item frames.
Item frame5.png|Snapshot image of an ender pearl in an item frame.
SOATPC.png|An image tweeted by Dinnerbone showing how hovering over an item frame containing a renamed item shows a name tag.
Pocket Edition Item Frames.jpg|First image of item frames in ''Bedrock Edition''.
</gallery>
== See also ==
*{{ItemLink|Painting}}
== References ==
{{Reflist}}
{{Blocks|Utility}}
{{items}}
{{entities}}
[[Category:Block entities]]
[[Category:Utility blocks]]
[[Category:Manufactured blocks]]
[[Category:Generated structure blocks]]
[[Category:Storage]]
[[cs:Rámeček]]
[[de:Rahmen]]
[[es:Marco]]
[[fr:Cadre]]
[[hu:Eszköz keret]]
[[it:Cornice]]
[[ja:額縁]]
[[ko:아이템 액자]]
[[nl:Voorwerplijst]]
[[pl:Ramka na przedmiot]]
[[pt:Moldura]]
[[ru:Рамка]]
[[th:กรอบโชว์สิ่งของ]]
[[zh:物品展示框]]</li></ul> | Added ability to launch demo mode for non-premium users. | ||||
Gallery
- Launcher-1.1.1.png
The current Minecraft launcher, version 1.2
- 1.6DevLauncher Development Console.png
The Development Console tab after the Launcher starts
References
- ↑ https://twitter.com/Dinnerbone/status/344164561701724160
- ↑ https://twitter.com/Dinnerbone/status/362962536016003075
- ↑ https://twitter.com/Marc_IRL/status/378280823180361729
- ↑ https://twitter.com/Dinnerbone/status/374887108932288512
- ↑ https://twitter.com/Dinnerbone/status/365040968644296705
- ↑ https://twitter.com/Dinnerbone/status/364699262233223169
- ↑ https://twitter.com/_grum/status/364699271708151808
- ↑ https://twitter.com/_grum/status/361126093777936384
- ↑ http://hopper.minecraft.net/
- ↑ https://twitter.com/Dinnerbone/status/354595929925496832
- ↑ https://twitter.com/Dinnerbone/status/354351963288248321
- ↑ https://twitter.com/Dinnerbone/status/352109843731070976
- ↑ MCL-590
- ↑ http://notch.tumblr.com/post/3428176687/server-downtime-and-a-new-launcher
- ↑ https://twitter.com/notch/status/38621269331025921
- ↑ http://mcupdate.tumblr.com/post/3427294253/welcome-to-the-new-minecraft-launcher
- ↑ http://www.mojang.com/2012/03/minecraft-1-2-is-out/
See also
| Help | |||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Menu screens |
| ||||||||||||||||||
| Game customization | |||||||||||||||||||
| Editions |
| ||||||||||||||||||
| Miscellaneous |
| ||||||||||||||||||




