Minecraft Wiki
Advertisement

Sets or queries a game rule value.

Syntax

  • Java Edition
gamerule <rule name> [<value>]
  • Bedrock Edition
gamerule <rule: BoolGameRule> [value: Boolean]
gamerule <rule: jjjjjjjjjjjjjjj




> [value: int]

In Bedrock Edition, gamerules can also be changed in the world options and certain gamerules can be toggled on and off with the command without cheats enabled. This only works in singleplayer, server gamerules and server settings cannot be adjusted using the client settings, even if a player is opped.

The rule names are listed here.

Arguments

Arguments in Java Edition are case sensitive. Arguments in Bedrock Edition are shown for tab autocompletion as lowercase, but when typed are case-insensitive.

<rule name> (BE: rule: BoolGameRule or rule: IntGameRule)

Specifies the game rule to set or query. Must be one of the predefined game rules; see Game rule.

<value> (BE: value: Boolean or value: int) (optional)

Specifies the value to set the game rule to. Only true or false specified for predefined game rules can affect gameplay, except in the case of maxEntityCramming, randomTickSpeed, spawnRadius, and maxCommandChainLength where any integer 0 or greater affects gameplay; see Game rule.[needs testing]



Result

Fails if the arguments are not specified correctly.

On success, returns the value of the game rule (if <value> is not provided) or sets the game rule to the specified value (if value is provided).

Examples

  • To stop the day-night cycle: gamerule doDaylightCycle false
  • To stop natural healing: gamerule naturalRegeneration false
  • To stop creepers, ghasts and other mobs from modifying blocks: gamerule mobGriefing false
  • To stop the natural cycle of weather: gamerule doWeatherCycle false
  • For the player, so that they can keep all of their valuables when they die: gamerule keepInventory true
  • To stop TNT from exploding:‌[BE only] gamerule tntExplodes false
  • To stop command blocks from showing what they do: gamerule commandblockoutput false

History

Java Edition
1.4.2
{{Extension DPL}}<ul><li>[[Drinks|Drinks]]<br/>[[File:Drinking Steve.png|150px|right]] [[File:Drinking Alex.png|150px|right]]

'''Drinks''' are a narrow class of consumable [[item]]s that can be ingested by the [[player]] in an extremely similar manner to [[food]]. However, drinks are not encountered quite as commonly as food is, and they are not nearly as integral to Survival gameplay. Drinks can generally be distinguished from food by the sounds they make upon consumption, the lack of [[particles]] they emit, and the fact that they leave an empty container item in the [[inventory]] after consumption. Drinks do not affect [[hunger]] or saturation values upon use (with the exception of [[honey bottle]]s), and do not need those values to be depleted in order to be consumed.

Drinks are drunk by holding {{control|use item}} while having the drink item selected in the hotbar or in the off hand.

== Drinks ==

{{/table}}

== History ==
{{main|Milk#History|Potion#History|Honey Bottle#History}}
{{History|java alpha}}
{{History||v1.0.11|[[File:Milk Bucket JE1 BE1.png|32px]] Added milk.}}
{{History|java}}
{{History||1.0.0|snap=Beta 1.9 Prerelease 3|Added water bottles and potions.}}
{{History||1.15|snap=19w34a|[[File:Honey Bottle JE1.png|32px]] Added honey bottles.}}

{{History|pocket alpha}}
{{History||v0.7.0|[[File:Milk Bucket JE1 BE1.png|32px]] Added milk buckets.}} 
{{History||v0.12.1|snap=build 1|Added water bottles and potions.}}
{{History|bedrock}}
{{History||1.14.0|snap=beta 1.14.0.1|[[File:Honey Bottle BE1.png|32px]] Added honey bottles.}} 
{{History|foot}}
{{Items}}

[[ja:飲み物]]
[[pt:Bebidas]]
[[Category:Food]]</li><li>[[Torchflower Seeds|Torchflower Seeds]]<br/>{{wip}}
{{Block
| image = <gallery>
Torchflower Age 0.png| Age 0
Torchflower Age 1.png| Age 1
Torchflower Age 2.png| Age 2
</gallery>
| image2 = Torchflower Seeds JE1.png
| transparent = Yes
| light = No
| tool = N/A
| renewable = Yes
| stackable = Yes (64)
| rarity = Common
|flammable=No
|lavasusceptible=No
}}

'''Torchflower seeds''' are seeds that have a chance to be dropped by [[Sniffer|sniffers]] when they finish digging.

== Obtaining ==
[[Sniffer]]s will occasionally bury their nose in the ground and start digging. Once the sniffer has finished digging, one torchflower seed will have a chance to be dropped on the floor as an item.

Sniffers can only dig for torchflower seeds in the following blocks:
*{{BlockLink|Dirt}}
*{{BlockLink|Grass Block}}
*{{BlockLink|Podzol}}
*{{BlockLink|Coarse Dirt}}
*{{BlockLink|Rooted Dirt}}
*{{BlockLink|Moss Block}}
*{{BlockLink|Mud}}
*{{BlockLink|Muddy Mangrove Roots}}
They cannot dig for torchflower seeds on [[mycelium]], which is intended.<ref>{{bug|MC-260259||Sniffers cannot dig nor find seeds on mycelium|WAI}}</ref>

== Usage ==
=== Crop ===
{{main|Tutorials/Crop farming|title1=Crop farming}}

Torchflower seeds can be {{control|placed}} on [[farmland]], where they grow through three stages. Breaking the torchflower crop before it matures drops the seed, while breaking the final stage produces one [[torchflower]] and does not yield the seed.

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

Farmer [[villager]]s can plant torchflower seeds, but cannot harvest them after they have fully grown.<ref>{{bug|MC-263382|||WAI}}</ref>

=== Feeding ===
Torchflower seeds can be used to breed [[sniffer]]s and [[chicken]]s and reduce the remaining growth duration of snifflets and chicks by 10%. Also, if some torchflower seeds were fed to an injured sniffer, it will heal it by {{hp|2}} health points.

=== Taming ===
Torchflower seeds can be used to tame [[parrot]]s.

=== Composting ===
Placing torchflower seeds into a [[composter]] has a 30% chance of raising the compost level by 1.

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

== Data values ==
=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|showblocktags=y
|showitemtags=y
|showforms=y
|generatetranslationkeys=y
|displayname=Torchflower Crop
|spritetype=block
|nameid=torchflower_crop
|form=block
|blocktags=bee_growables, crops}}
{{ID table
|displayname=Torchflower Seeds
|spritetype=item
|nameid=torchflower_seeds
|form=item
|itemtags=villager_plantable_seeds
|foot=1}}

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|generatetranslationkeys=y
|displayname=Torchflower Crop
|spritetype=block
|nameid=torchflower_crop
|id=-567
|form=block
|translationkey=-}}
{{ID table
|displayname=Torchflower Seeds
|spritetype=item
|nameid=torchflower_seeds
|id=296
|form=item
|foot=1}}

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

{{/BS}}

== Achievements ==
{{Load achievements|Planting The Past}}

== Advancements ==
{{load advancements|A Seedy Place;Planting The Past;Little Sniffs}}

== History ==
{{History|java}}
{{History||1.20<br>(Experimental)|link=1.19.4|snap=23w07a|[[File:Torchflower Seeds JE1.png|32px]] Added torchflower seeds behind the [[Java Edition 1.20|Update 1.20 experimental datapack]].}}
{{History|||snap=1.19.4 Pre-release 1|Torchflower seeds can now be used to breed [[chicken]]s and tame [[parrot]]s.<ref>{{bug|MC-260035|||Fixed}}</ref>|Torchflower seeds are now next to other seeds in the [[Creative inventory]].|Placing torchflower seeds in farmland now gives the player the "A Seedy Place" [[advancement]].}}
{{History||1.20|snap=23w12a|[[Sniffer]]s can now be obtained in Survival, making torchflower seeds [[renewable]].|Torchflower seeds are now available without using the "Update 1.20" experimental datapack.}}
{{History|||snap=23w14a|Torchflower seeds can now be picked up by farmer [[villager]]s.|[[Sniffer]]s can now be tempted with torchflower seeds.}}
{{History|||snap=23w16a|[[Villager]]s can now plant torchflower seeds.}}
{{History|||snap=23w17a|The player now get the [[advancement]] "Little sniffs" when they feed a [[snifflet]] using torchflower seeds, "Planting the past" when they plant torchflower seeds on [[farmland]].}}

{{History|bedrock}}
{{History||Sniffer<br>(Experimental)|link=Bedrock Edition 1.19.70|snap=beta 1.19.70.23|[[File:Torchflower Seeds JE1.png|32px]] Added torchflower seeds behind the "[[Bedrock Edition 1.20.0|Sniffer]]" [[experimental]] toggle.}}
{{History||1.20.0|snap=beta 1.20.0.20|Torchflower seeds are now available without using the "Sniffer" experimental toggle.}}
{{History|foot}}

== Issues ==
{{issue list}}

== Trivia ==
* The final growth stage of the torchflower crop uses the same ID as the actual torchflower. This causes some side effects, such as the plant becoming offset and randomly jumping to the side.<ref>{{bug|MC-260472|resolution=wai}}</ref>
 
== Gallery ==
<gallery>
Torchflower Seeds stages.png|All the growth stages of torchflower seeds.
</gallery>

== Notes ==
{{notelist}}

== References ==
{{reflist}}

{{Blocks|upcoming}}
{{Items}}
[[Category:Plants]]
[[Category:Non-solid blocks]]

[[de:Fackelliliensamen]]
[[es:Semillas de plantorcha]]
[[ja:トーチフラワーの種]]
[[pt:Sementes de plantocha]]
[[zh:火把莲种子]]</li></ul>
12w32aAdded /gamerule.
1.8
{{Extension DPL}}<ul><li>[[Beetroot Soup|Beetroot Soup]]<br/>{{for|other uses|Soup}}
{{Item
| title = Beetroot Soup
| image = Beetroot Soup.png
| renewable = Yes
| heals = {{hunger|6}}
| stackable = No
}}

'''Beetroot soup''' is an unstackable [[food]] item.

== Obtaining ==

=== Crafting ===
{{Crafting
|Beetroot
|Beetroot
|Beetroot
|Beetroot
|Beetroot
|Beetroot
|Bowl
|Output=Beetroot Soup
|type=Foodstuff
}}

=== Natural generation ===

{{LootChestItem|beetroot-soup}}

== Usage ==

Beetroot soup can be eaten to restore {{hunger|6}} [[hunger]] points and 7.2 [[Hunger#Mechanics|saturation]], the same as [[cooked chicken]] and [[mushroom stew]]. After eating, the empty [[bowl]] remains, similarly to mushroom stew and [[rabbit stew]].

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

== Data values ==

=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|showforms=y
|generatetranslationkeys=y
|displayname=Beetroot Soup
|spritetype=item
|nameid=beetroot_soup
|form=item
|foot=1}}

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Beetroot Soup
|spritetype=item
|nameid=beetroot_soup
|id=286
|form=item
|foot=1}}

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

== History ==
{{History|java}}
{{History||1.9|snap=15w31a|[[File:Beetroot Soup JE1 BE1.png|32px]] Added beetroot soup.}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 436.}}
{{History||1.14|snap=18w43a|[[File:Beetroot Soup JE2 BE2.png|32px]] The texture of beetroot soup has been changed.
|The recipe for beetroot soup is now shapeless.}}
{{History|||snap=18w49a|Beetroot soup can now be found in [[chest]]s in [[snowy tundra]] [[village]] houses.}}

{{History|pocket alpha}}
{{History||November 14, 2013|link={{tweet|jbernhardsson|400902957782147072}}|[[Johan Bernhardsson]] posts an image of beetroot soup.}}
{{History||v0.8.0|snap=build 2|[[File:Beetroot Soup JE1 BE1.png|32px]] Added beetroot soup. It is not obtainable in the Creative inventory.}}
{{History||v0.9.0|snap=build 1|Beetroot soup now requires 6 [[beetroot]]s instead of 4.}}
{{History||v0.12.1|snap=build 12|Beetroot soup now restores {{hunger|6}} instead of {{health|8}}.}}
{{History||v0.13.0|snap=build 3|Beetroot soup can now be stacked.}}
{{history|pocket}}
{{History||1.0.0|snap=alpha 0.17.0.1|Beetroot soup has been added to the Creative inventory.<ref name="missing beetroot soup">{{Bug|MCPE-13804}}</ref>}}
{{History|bedrock}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Beetroot Soup JE2 BE2.png|32px]] The texture of beetroot soup has been changed.
|The recipe for beetroot soup is now shapeless.}}
{{History||1.11.0|snap=beta 1.11.0.1|Beetroot soup can now be found in [[snowy tundra]] [[village]] house [[chest]]s.}}

{{History|console}}
{{History||xbox=TU43|xbone=CU33|ps=1.36|switch=1.0.1|wiiu=Patch 13|[[File:Beetroot Soup JE1 BE1.png|32px]] Added beetroot soup.}}
{{History||xbox=none|xbone=none|ps=1.90|wiiu=none|switch=none|[[File:Beetroot Soup JE2 BE2.png|32px]] The texture of beetroot soup has been changed.
|The recipe for beetroot soup is now shapeless.}}

{{History|new 3ds}}
{{History||0.1.0|[[File:Beetroot Soup JE1 BE1.png|32px]] Added beetroot soup.
|Beetroot soup is not available within the [[Creative inventory]].}}
{{History||?|Added beetroot soup to the Creative inventory.{{info needed|Which update did this occur?}}}}
{{History|foot}}

== Issues ==

{{issue list}}

== References ==

{{reflist}}

{{Items}}

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

[[de:Borschtsch]]
[[es:Estofado de remolacha]]
[[fr:Soupe de betteraves]]
[[it:Zuppa di barbabietole]]
[[ja:ビートルートスープ]]
[[ko:비트 수프]]
[[nl:Bietensoep]]
[[pl:Barszcz]]
[[pt:Ensopado de beterraba]]
[[ru:Свекольный суп]]
[[th:ซุปบีทรูท]]
[[uk:Борщ]]
[[zh:甜菜汤]]</li><li>[[Emerald|Emerald]]<br/>{{About|the item|the currency in ''Minecraft Dungeons''|MCD:Emerald|the skin|MCD:Emerald (skin)|the ore|Emerald Ore|the mineral block|Block of Emerald}}
{{Item
| image = Emerald.png
| renewable =  Yes
| stackable = Yes (64)
| rarity = Common}}
'''Emeralds''' are rare minerals that are used primarily as the currency for [[trading]] with [[villager]]s and [[wandering trader]]s. Naturally-occurring emeralds are rarer than [[diamond]]s.

== Obtaining ==

=== Trading (how emerald is renewable) ===
{{main|Trading}}
Emeralds can be obtained by trading with [[villager]]s, since they are the currency that villagers use for trading. Villagers either buy or sell specific goods for emeralds. Some villagers trade stuff that is renewable with emerald.

=== Mining ===
[[Emerald ore]] drops one emerald when mined using an iron or better [[pickaxe]]. If the pickaxe is enchanted with [[Fortune]], it may drop an extra emerald per level of Fortune, up to a maximum of 4 emeralds with Fortune III. If the ore is mined using a pickaxe enchanted with [[Silk Touch]], it drops itself in ore form instead of an emerald.

=== Crafting ===

{{Crafting
|Block of Emerald
|Output= Emerald,9
|type= Material
}}

=== Smelting ===

{{Smelting
|Emerald Ore; Deepslate Emerald Ore
|Emerald
|1
}}

=== Natural generation ===
{{see also|Emerald Ore#Natural generation}}

Emeralds can generate in [[chest]]s in some [[village]] houses or other generated [[Generated structures|structures]].

{{needs update|inaccurate=1|section=1}}
{{LootChestItem|emerald}}

=== Drops ===
[[Vindicator]]s and [[evoker]]s drop 0–1 emeralds upon death. [[Looting]] increases the maximum emerald drop by one per level, for a maximum of 4 emeralds with Looting III.

[[Fox]]es that are holding emeralds also have a chance of 100% to drop the emerald they are holding upon death. Alternatively, the player can drop a food item to entice the fox to drop the emerald without killing it.

{{IN|bedrock}}, vindicators and [[pillager]]s spawned from [[raids]] can drop 0–1 emeralds. Depending on difficulty, vindicators and pillagers spawned from raids also have a chance of dropping additional emeralds. There is a 65% chance of dropping on easy and normal, and an 80% chance of dropping on hard. If this additional drop condition is met, different emerald counts can drop with different chances. There is a {{frac|10|39}} chance to drop an additional 0–1 emeralds, a {{frac|5|39}} chance to drop an additional 2–3, and a {{frac|2|39}} chance to drop an additional 4–5.

{{IN|bedrock}}, with Looting III, it is possible for a vindicator in a raid to drop up to 16 emeralds upon death (vindicator drops + raid drops + an additional drop<!-- emerald from 2/39 chance-->).

== Usage ==

=== Trading ===

{{main|Trading}}

Emeralds are primarily used as currency for [[trading]] with villagers and wandering traders. Trading is typically a faster way to obtain emeralds than by mining, as an emerald ore is rarer than a diamond ore.

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

===Beacons===

Emeralds can be used to select powers from a [[beacon]]. The player must select one of the available powers and then insert an emerald into the item slot. 

An emerald can be substituted for an [[iron ingot]], a [[gold ingot]], a [[diamond]] or a [[netherite ingot]] in a beacon.

=== Smithing ingredient ===
{{Smithing
|head=1
|ingredients=Any Armor Trim +<br/>Any Armor Piece + <br/>Emerald
|Any Armor Trim Smithing Template
|Netherite Chestplate
|Emerald
|Emerald Trim Netherite Chestplate
|showdescription=1
|description = All armor types can be used in this recipe,<br/>a netherite chestplate is shown as an example.
|tail=1
}}

;Trim color palette
The following color palette is shown on the designs on trimmed armor:
*{{TrimPalette|emerald}}

== Achievements ==

{{load achievements|The Haggler;Buy Low;Master Trader}}

== Advancements ==
{{load advancements|What a Deal!}}

== Data values ==
=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|showitemtags=y
|showforms=y
|generatetranslationkeys=y
|displayname=Emerald
|spritetype=item
|nameid=emerald
|itemtags=beacon_payment_items
|form=item
|foot=1}}

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Emerald
|spritetype=item
|nameid=emerald
|id=512
|form=item
|foot=1}}

== History ==

{{History|java indev}}
{{History||0.31|snap=20100129|Added [[diamond]]s, referred to as emeralds in the code.}}
{{History|java}}
{{History||May 21, 2012|link={{tweet|jeb_|204619936616808451}}|[[File:Ruby pJE20120521.png|32px]] [[Jens Bergensten|Jeb]] released a screenshot of himself testing the [[trading]] system. At this time, what would become emeralds were [[History_of_textures/Unused_textures#Ruby|rubies]].<ref>http://www.minecraftforum.net/topic/1621716-15-new-blocksitems/#entry19977082</ref>}}
{{History||1.3.1|snap=12w21a|[[File:Emerald JE1 BE1.png|32px]] Added emeralds and [[emerald ore]].
|Emeralds can be [[trading|traded]] with [[villager]]s in exchange for different [[item]]s.
|Added [[desert temple]]s, with a hidden [[chest]] room and loot containing emeralds.
|[[File:Ruby JE1 BE1.png|32px]] The texture of [[History_of_textures/Unused_textures#Ruby|rubies]] can be found in the (at this time unused) file {{cd|items.png}}.<ref name="en_US 12w21">Snapshot 12w21a/b ''lang/en_US.lang'': '''item.ruby.name=Ruby'''</ref>}}
{{History|||snap=12w22a|[[Block of emerald]] has now been added, which is [[crafting|crafted]] from nine emeralds and can be placed as a decorative [[block]].
|Added [[jungle temple]]s, which contain loot [[chest]]s with emeralds.}}
{{History||1.4.2|snap=12w32a|As [[zombie villager]]s can now spawn and be cured, emeralds can now still be obtained in [[trading|trades]] even if [[generated structures]] are disabled.}}
{{history||1.9|snap=15w31a|Emeralds now generate in [[end city]] ship [[chest]]s.}}
{{history|||snap=15w43a|Emeralds now generate in [[igloo]] basement chests.}}
{{history|||snap=15w44a|The average yield of emeralds in [[desert temple]] chests has now been increased.}}
{{History||1.11|snap=16w39a|Added [[vindicator]]s and [[evoker]]s, which drop emeralds if killed by a player.}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 388.}}
{{History|||snap=18w09a|Emeralds can now generate in the loot [[chest]]s of [[underwater ruins]].}}
{{History|||snap=18w10a|Emeralds can now generate in [[buried treasure]] chests.}}
{{History|||snap=18w11a|Emeralds can now generate in the chests of [[shipwreck]]s.}}
{{History||1.14|snap=18w43a|[[File:Emerald JE2 BE2.png|32px]] The texture of emeralds has now been changed.
|Added [[pillager]]s, which can [[drops|drop]] emeralds.}}
{{History|||snap=18w46a|Pillagers no longer drop emeralds.}}
{{History|||snap=18w48a|Emeralds now generate in chests in [[village]] tanneries, fisher cottages and plains village houses.}}
{{History|||snap=18w49a|Emeralds now generate in chests in [[village]] shepherd houses, mason houses, butcher shops, and savanna and snowy village houses.}}
{{History|||snap=18w50a|Emeralds now generate in chests in [[village]] fletcher houses, temples, and desert and taiga village houses.}}
{{History|||snap=19w07a|Added [[fox]]es, which sometimes spawn with emeralds in their mouths.}}
{{History|||snap=19w08a|[[File:Emerald JE3 BE3.png|32px]] The texture of emeralds has now been changed, once again and it looks smaller.}}
{{History||1.17|snap=21w13a|The unused [[History_of_textures/Unused_textures#Ruby|rubies]] texture was removed.}}
{{History||1.20<br>(Experimental)|link=1.19.4|snap=23w04a|Emeralds can now be used as an armor trim material.}}
{{History|||snap=23w07a|Emeralds now drop when brushing [[suspicious sand]] in [[desert pyramid]]s or [[desert well]]s.}}
{{History||1.20|snap=23w12a|The probability for the emerald to generate in the [[suspicious sand]] in [[desert temple]] and in [[desert well]] has been changed from 1/7 to 1/8.|Emerald can now be found in [[suspicious gravel]] and [[suspicious sand]] in cold and warm [[ocean ruins]] and in [[trail ruins]].}}
{{History|||snap=23w16a|Emerald 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]]; emerald now is in the common loot.}}

{{History|pocket alpha}}
{{History||v0.9.0|snap=build 1|[[File:Emerald JE1 BE1.png|32px]] Added emeralds.}}
{{History|||snap=build 5|Emeralds can now be used to craft [[blocks of emerald]].}}
{{History||v0.13.0|snap=build 1|Emeralds can now be found inside [[desert temple]] [[chest]]s.}}
{{History||v0.15.0|snap=build 1|Added [[jungle temple]]s, which contain loot chests with emeralds.}}
{{History||v0.16.0|snap=build 1|Emeralds can now be used to power [[beacon]]s.}}
{{History|pocket}}
{{History||1.0.0|snap=alpha 0.17.0.1|Emeralds can now be found in [[end city]] ship [[chest]]s.
|Emeralds can now be found in [[igloo]] basement chests.}}
{{History||1.0.4|snap=alpha 1.0.4.0|Emeralds are now used as "currency" for [[villager]] [[trading]].}}
{{History||1.1.0|snap=alpha 1.1.0.0|Added [[evoker]]s and [[vindicator]]s, which [[drops|drop]] emeralds when killed.}}
{{History|bedrock}}
{{History||1.4.0|snap=beta 1.2.14.2|Emeralds can now be found in some [[shipwreck]] [[chest]]s.}}
{{History|||snap=beta 1.2.20.1|Emeralds can now be found inside [[underwater ruins]] chests.}}
{{History||1.10.0|snap=beta 1.10.0.3|Emeralds can now be used to [[trading|buy]] items from [[wandering trader]]s.
|Emeralds can now be found in [[plains]] [[village]] house and tannery [[chest]]s.
|[[File:Emerald JE2 BE2.png|32px]] The texture of emeralds has now been changed.}}
{{History||1.11.0|snap=beta 1.11.0.1|Emeralds can now be found in [[village]] [[chest]]s other than [[plains]].}}
{{History|||snap=beta 1.11.0.4|[[Vindicator]]s and [[pillager]]s that spawn from [[raid]]s can now [[drops|drop]] bonus emeralds.}}
{{History|||snap=beta 1.11.0.5|[[File:Emerald JE3 BE3.png|32px]] The texture of emeralds has now been changed, once again.}}
{{History||1.13.0|snap=beta 1.13.0.1|Added [[fox]]es, which can [[drops|drop]] emeralds.}}
{{History||Next Major Update<br>(Experimental)|link=Bedrock Edition 1.19.70|snap=beta 1.19.70.23|Emeralds now drop when brushing [[suspicious sand]] in [[desert pyramid]]s or [[desert well]]s.}}
{{History|||snap=beta 1.19.80.21|Emeralds can now be used as an armor trim material.}}

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

{{History|new3DS}}
{{History||0.1.0|[[File:Emerald JE1 BE1.png|32px]] Added emeralds.}}
{{History|foot}}

== Issues ==

{{issue list}}

== Gallery ==

<gallery>
Villager trading preview.png|The first image of the trading system released by [[Jeb]]. What would become emeralds can be seen in the [[inventory]] space.
Emerald Ore 12w21a.png|A wall of [[emerald ore]] utilizing a previous texture in snapshot [[12w21a]].
Room of Emeralds.png|All forms of emeralds in one photo: emerald (in the form of [[emerald block|block]], [[emerald ore|ore]] and the emerald itself).
</gallery>

==Trivia==

*The [[History_of_textures/Unused_textures#Ruby|ruby]] was going to be the [[villager]] currency but was changed to emeralds before the update's release.

== References ==

{{Reflist}}

{{Items}}

[[Category:Renewable resources]]

[[cs:Smaragd]]
[[de:Smaragd]]
[[es:Esmeralda]]
[[fr:Émeraude]]
[[hu:Smaragd]]
[[it:Smeraldo]]
[[ja:エメラルド]]
[[ko:에메랄드]]
[[nl:Smaragd]]
[[pl:Szmaragd]]
[[pt:Esmeralda]]
[[ru:Изумруд]]
[[th:มรกต]]
[[tr:Zümrüt]]
[[uk:Смарагд]]
[[zh:绿宝石]]</li></ul>
Added the ability to create custom dummy gamerules.
1.13
  •  tag: Parent Tag
    •  Trim: Properties of Armor Trim.
      •  material: The material which decides the color of armor trim.
      •  pattern: The pattern of armor trim.


Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History

Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History

Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History

Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History

Armor durability from Indev until late Beta
Material Helmet Chestplate Leggings Boots
Leather 33 48 45 39
Golden 66 96 90 78
Chainmail 66 96 90 78

Iron

132 192 180 156
Diamond 264 384 360 312
17w45a/gamerule no longer accepts unknown values (dummy gamerules).
Values to /gamerule are now type-checked.
Pocket Edition
1.0.5
{{Extension DPL}}<ul><li>[[Chorus Fruit|Chorus Fruit]]<br/>{{about|the fruit that drops from [[chorus tree]]s|the building material|Popped Chorus Fruit|other uses|Chorus}}
{{Item
| title = Chorus Fruit
| image = Chorus Fruit.png
| renewable = Yes
| heals = {{hunger|4}}
| stackable = Yes (64)
}}

'''Chorus fruit''' is a [[food]] [[item]] native to [[the End]] that can be eaten, or [[smelting|smelted]] into [[Popped Chorus Fruit|popped chorus fruit]]. It can be eaten even when the hunger bar is full, and eating it may teleport the [[player]] up to 8 blocks in any direction.

== Obtaining ==
{{see also|Tutorials/Chorus fruit farming}}

Chorus fruit can be obtained by breaking [[Chorus Plant (block)|chorus plant blocks]]. Each block of chorus plant has a 50% chance to drop a chorus fruit. This is not affected by [[Fortune]].<ref>{{bug|MC-198924||Chorus Fruit doesn't have a higher chance with Fortune|Invalid}}</ref>

== Usage ==
To eat chorus fruit, press and hold {{control|use}} while it is selected in the hotbar. Eating one restores {{hunger|4}} [[hunger]] and 2.4 hunger [[Hunger#Mechanics|saturation]].

Unlike most foods, chorus fruits can be eaten even when the player has a full hunger bar.

The player may also be [[teleportation|teleported]]: up to 16 attempts are made to choose a random destination within ±8 on all three axes in the same manner as [[Enderman#Teleportation|enderman teleportation]], with the exception that the player may teleport into an area only 2 blocks high, or one block tall if the player is crawling. The player does not land in the average centroid of the block, but rather to any position within an 8-block range. The player will be teleported directly down to the ground regardless of the height it was used at if the player is too far from a valid destination.

The chorus fruit, unlike an [[Ender Pearl|ender pearl]], can teleport the player through [[solid block]]s. The algorithm tries to avoid [[fluid]]s; the player cannot teleport into a space occupied by [[water]] or [[lava]]. However, the player can be teleported onto dangerous blocks such as fire, cacti and magma blocks.<ref>{{bug|MC-102836||Enderman and chorus fruit can teleport to some dangerous places}}</ref>

If a teleport succeeds, a sound similar to an enderman teleporting plays originating from the teleportation origin location. Chorus fruit has a cooldown of 1 second before being able to be used again. The cooldown is represented by a white overlay on the chorus fruit in the hotbar. The cooldown is applied to all chorus fruits items, including those in the player's inventory and containers.<ref>{{bug|MC-88236|||WAI}}</ref>

Eating chorus fruit may teleport the player into areas protected by [[bedrock]], [[barrier|barrier blocks]], or other blocks that are otherwise unbreakable in [[Survival]] mode. However, it cannot teleport the player onto [[the Nether]] roof.<ref>{{bug|MC-84198|||Fixed}}</ref>

Chorus fruit is completely non-functional above the nether roof.

[[Fox]]es can also eat chorus fruit and the teleportation effect works the same as with players.

=== Smelting ingredient ===

{{smelting
|Chorus Fruit
|Popped Chorus Fruit
|0.1}}

== Sounds ==
===Generic===
{{Sound table/Entity/Food}}
===Unique===
{{edition|java}}:
{{Sound table
|rowspan=2
|sound=Teleport1.ogg
|sound2=Teleport2.ogg
|subtitle=Player teleports
|source=player
|description=When a player teleports by eating a chorus fruit
|id=item.chorus_fruit.teleport
|translationkey=subtitles.item.chorus_fruit.teleport
|volume=1.0
|pitch=1.0
|distance=16}}
{{Sound table
|subtitle=Fox teleports
|source=Players & Friendly Creatures<wbr><ref group=sound>{{Bug|MC-257516||"Fox teleports" sound plays for both Players and Friendly Creatures sound categories}}</ref>|overridesource=1
|description=When a fox teleports by eating a chorus fruit
|id=entity.fox.teleport
|translationkey=subtitles.entity.fox.teleport
|volume=1.0
|pitch=1.0
|distance=16
|foot=1}}

{{edition|bedrock}}:
{{Sound table
|type=bedrock
|sound=Teleport1.ogg
|sound2=Teleport2.ogg
|source=hostile
|description=When something teleports by eating a chorus fruit
|id=mob.shulker.teleport
|volume=1.0
|pitch=1.0
|foot=1}}

==Data values ==

===ID===
{{edition|java}}:
{{ID table
|edition=java
|showforms=y
|generatetranslationkeys=y
|displayname=Chorus Fruit
|spritetype=item
|nameid=chorus_fruit
|form=item
|foot=1}}

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Chorus Fruit
|spritetype=item
|nameid=chorus_fruit
|id=558
|form=item
|foot=1}}

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

==History==
{{History|java}}
{{History||1.9|snap=15w31a|[[File:Chorus Fruit JE1 BE1.png|32px]] Added chorus fruit.}}
{{History|||snap=15w34c|A cooldown for using chorus fruit has now been added.}}
{{History|||snap=15w37a|The chorus fruit's teleportation range has now been reduced from ±32 to ±8.}}
{{History|||snap=15w50a|Added a [[sound]] for chorus fruit: <code>item.chorus_fruit.teleport</code>.}}
{{History||1.10|snap=16w21a|Chorus fruit can now teleport riders off their mounts.}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 432.}}
{{History||1.14|snap=18w43a|[[File:Chorus Fruit JE2 BE2.png|32px]] The texture of chorus fruit has now been changed.}}
{{History||1.20.2|snap=23w33a|Eating chorus fruit now resets fall distance.<ref>{{bug|MC-112133||Eating chorus fruit does not reset fall distance|Fixed}}</ref>}}

{{History|pocket}}
{{History||1.0.0|snap=alpha 0.17.0.1|[[File:Chorus Fruit JE1 BE1.png|32px]] Added chorus fruit.}}
{{History|||snap=alpha 1.0.0.1|The cooldown of chorus fruit now has an animation.}}
{{History|bedrock}}
{{History||1.7.0|snap=beta 1.7.0.2|The category that chorus fruit are apart of in the [[Creative inventory]] has been changed from "Nature" to "Items".}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Chorus Fruit JE2 BE2.png|32px]] The texture of chorus fruit has now been changed.}}
{{History||1.13.0|snap=beta 1.13.0.15|Chorus fruit has been moved back to the "Nature" section in the Creative inventory.}}

{{History|console}}
{{History||xbox=TU46|xbone=CU36|switch=1.0.1|ps=1.38|wiiu=Patch 15|[[File:Chorus Fruit JE1 BE1.png|32px]] Added chorus fruit.}}
{{History||xbox=none|xbone=none|ps=1.90|wiiu=none|switch=none|[[File:Chorus Fruit JE2 BE2.png|32px]] The texture of chorus fruit has now been changed.}}

{{History|new 3ds}}
{{History||1.7.10|[[File:Chorus Fruit JE1 BE1.png|32px]] Added chorus fruit.}}
{{History|foot}}

==Issues==
{{issue list}}

==References==
{{reflist}}

==External Links==
*[https://www.minecraft.net/en-us/article/taking-inventory--chorus-fruit Taking Inventory: Chorus Fruit] – Minecraft.net on November 5, 2020

{{Items}}

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

[[de:Chorusfrucht]]
[[es:Fruta chorus]]
[[fr:Chorus]]
[[ja:コーラスフルーツ]]
[[ko:후렴과]]
[[nl:Chorusfruit]]
[[pl:Owoc refrenusu]]
[[pt:Fruta do coro]]
[[ru:Плод коруса]]
[[uk:Фрукт хорусу]]
[[zh:紫颂果]]</li><li>[[Magenta Dye|Magenta Dye]]<br/>{{Item
| image = Magenta Dye.png
| renewable = Yes
| stackable = Yes (64)
}}
'''Magenta dye''' is a [[Dye#Quasi-Primary|quasi-primary color dye]].

== Obtaining ==

=== Crafting ===

{{Crafting
  |head=1
  |showdescription=1
  |showname=0
  |Allium
  |Output=Magenta Dye
  |type=Material
}}
{{Crafting
  |Lilac
  |Output=Magenta Dye,2
  |type=Material
}}
{{Crafting
  |Purple Dye
  |Pink Dye
  |Output=Magenta Dye,2
  |type=Material
}}
{{Crafting
  |Blue Dye
  |Red Dye
  |Pink Dye
  |Output=Magenta Dye,3
  |type=Material
}}
{{Crafting
  |Lapis Lazuli
  |Red Dye
  |Pink Dye
  |Output=Magenta Dye,3
  |type=Material
  |description={{only|bedrock|education}}
}}
{{Crafting
  |Blue Dye
  |Red Dye
  |Red Dye
  |White Dye
  |Output=Magenta Dye,4
  |type=Material
}}
{{Crafting
  |Lapis Lazuli;Lapis Lazuli;Blue Dye
  |Red Dye;Red Dye;Red Dye
  |Red Dye;Red Dye;Red Dye
  |Bone Meal;White Dye;Bone Meal
  |Output=Magenta Dye,4
  |type=Material
  |description={{only|bedrock|education}}
  |foot=1
}}

=== Trading ===

[[Wandering trader]]s sell 3 magenta dye for an [[emerald]].

== Usage ==

{{dye usage}}

=== Crafting ingredient ===

{{crafting usage|ignore=Banner|continue=1}}
{{banner crafting usage}}

=== Loom ingredient ===
{{Banner loom usage|Magenta Dye}}

=== Trading ===
Expert-level shepherd villagers have a {{frac|1|6}} chance to buy 12 magenta dye for an emerald.

== Data values ==
=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|showforms=y
|generatetranslationkeys=y
|displayname=Magenta Dye
|spritetype=item
|nameid=magenta_dye
|form=item
|foot=1}}

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|showaliasids=y
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Magenta Dye
|spritetype=item
|nameid=magenta_dye
|aliasid=dye / 13
|id=408
|form=item
|translationkey=item.dye.magenta.name
|foot=1}}

== Video ==
{{yt|IkaIFDQJNUU}}

== History ==

{{History|java beta}}
{{History||1.2|[[File:Magenta Dye JE1 BE1.png|32px]] Added magenta dye.}}
{{History|java}}
{{History||1.4.2|snap=12w34a|Added the ability to [[Armor#Dyeing|dye]] leather [[armor]] and [[wolf]] collars.}}
{{History||1.4.6|snap=12w49a|Magenta dye can now be [[crafting|crafted]] with [[gunpowder]] to create a [[firework star]].}} 
{{History||1.6.1|snap=13w19a|[[Stained clay]] can now be crafted.}}
{{history||1.7.2|snap=13w36a|With the addition of new [[flower]]s, many secondary and tertiary dyes are now primary [[dye]]s.}}
{{History||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 [[shulker box]]es, which can be dyed.}}
{{History||1.12|snap=17w15a|Added 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|Magenta dye is now crafted using [[blue dye]] and [[white dye]], instead of [[lapis lazuli]] and [[bone meal]].
|[[File:Magenta Dye JE2 BE2.png|32px]] The texture of magenta dye has now been changed.}}
{{History|||snap=18w44a|Magenta dye can now change the text color on [[sign]]s to magenta.}}
{{History|||snap=19w05a|Added the [[wandering trader]], which sells magenta dye.}}
{{History|||snap=19w11a|Magenta dye can now be [[trading|bought]] by shepherd villagers.}}
{{History||1.17|snap=20w45a|Magenta dye can now be used to craft [[magenta candle]]s.}}
{{History|||snap=21w19a|Magenta dye can no longer be used to craft magenta candles.}}
{{History|||snap=Pre-release 1|Magenta dye can now once again be used to craft magenta candles.}}
{{History||1.20<br>(Experimental)|link=1.19.3|snap=22w42a|Magenta dye can now change the text color on [[hanging sign]]s to magenta.}}

{{History|pocket alpha}}
{{History||v0.3.0|[[File:Magenta Dye JE1 BE1.png|32px]] Added magenta dye. It is currently unobtainable and serves no purpose.}}
{{History||v0.4.0|Magenta dye is now craftable with one [[lapis lazuli]], two [[rose red]]s, and one [[bone meal]].
|Magenta dye can now be used to craft magenta wool.}}
{{History||v0.6.0|Magenta dye can now be used to dye [[sheep]].}}
{{History||v0.8.0|snap=build 1|Magenta dye can now additionally be crafted with one [[purple dye]] and one [[pink dye]], or with one [[lapis lazuli]], one [[rose red]], and one pink dye.}}
{{History||v0.9.0|snap=build 11|Magenta dye can now be used to craft colored [[terracotta]].}}
{{History||v0.11.0|snap=build 1|Magenta dye can now be used to dye tamed [[wolf]] collars.}}
{{History||v0.14.0|snap=build 1|Magenta dye can now be used to dye [[water]] in [[cauldron]]s.}}
{{History|pocket}}
{{History||1.0.0|snap=alpha 0.17.0.1|Magenta dye can now be used to dye [[shulker]]s.}}
{{History||1.1.0|snap=alpha 1.1.0.0|Magenta dye can now be used to craft [[concrete powder]], colored [[bed]]s and dyed [[shulker box]]es.}}
{{History|bedrock}}
{{History||1.2.0|snap=beta 1.2.0.2|Magenta dye can now be used to craft [[firework star]]s, [[stained glass]] and patterns on [[banner]]s.}}
{{History||1.4.0|snap=beta 1.2.20.1|Magenta dye can now be used to craft [[balloon]]s and [[glow stick]]s.}}
{{History||1.8.0|snap=beta 1.8.0.8|Magenta dye can now be used to dye tamed [[cat]] collars.}}
{{History||1.10.0|snap=beta 1.10.0.3|Magenta dye is now [[trading|sold]] by [[wandering trader]]s.
|Magenta dye can now be used to dye white [[carpet]]s and regular [[glass pane]]s.
|[[File:Magenta Dye JE2 BE2.png|32px]] The texture of magenta dye has now been changed.}}
{{History||1.11.0|snap=beta 1.11.0.4|Magenta dye can now be [[trading|sold]] to shepherd [[villager]]s.}}
{{History||1.16.100|snap=beta 1.16.100.56|The ID of magenta dye has been changed from <code>dye/13</code> to <code>magenta_dye</code>.}}

{{History|console}}
{{History||xbox=TU1|xbone=CU1|ps=1.00|switch=1.0.1|wiiu=Patch 1|[[File:Magenta Dye JE1 BE1.png|32px]] Added magenta dye.}}
{{History|PS4}}
{{History||1.90|[[File:Magenta Dye JE2 BE2.png|32px]] The texture of magenta dye has now been changed.}}

{{History|new 3ds}}
{{History||0.1.0|[[File:Magenta Dye JE1 BE1.png|32px]] Added magenta dye.}}
{{History|foot}}

== Issues ==
{{issue list}}

== References ==
{{reflist}}

{{Items}}

[[Category:Dyes]]

[[cs:Purpurové barvivo]]
[[de:Magenta Farbstoff]]
[[es:Tinte magenta]]
[[fr:Teinture magenta]]
[[hu:Bíborvörös festék]]
[[ja:赤紫色の染料]]
[[ko:자홍색 염료]]
[[nl:Magenta kleurstof]]
[[pl:Karmazynowy barwnik]]
[[pt:Corante magenta]]
[[ru:Сиреневый краситель]]
[[zh:品红色染料]]
[[Category:Renewable resources]]</li></ul>
alpha 1.0.5.0Added /gamerule.
Bedrock Edition
?Command segments rule: BoolGameRule or rule: IntGameRule no longer accept dummy gamerules.

See also

Advertisement