Minecraft Wiki
Advertisement

Add or remove status effects on players and other entities.

Syntax

  • Java Edition
effect clear [<targets>] [<effect>]
Removes an effect.
effect give <targets> <effect> [<seconds>] [<amplifier>] [<hideParticles>]
Gives an effect.
  • Bedrock Edition
effect <player: target> clear
Removes all effects.
effect <player: target> <effect: Effect> [seconds: int] [amplifier: int] [hideParticles: Boolean]
Gives or removes an effect.

Arguments

JE<targets>: entity
BE: player: target: CommandSelector<Actor>

Specifies the target(s). In Bedrock Edition, if not specified, defaults to the player who executes the command.
Must be a player name, a target selector or a UUID[Java Edition only].

JE<effect>: mob_effect
BE: effect: Effect

Specifies the effect to be added or removed.

JE<seconds>: integer
BE: seconds: int: int

Specifies the effect's duration in seconds (or in gameticks for instant_damage, instant_health, and saturation). If not specified, defaults to 30 seconds (or 1 gameticks for instant_damage, instant_health, and saturation).
Must be a 32-bit integer number. In Java Edition, it must be between 0 and 1000000 (inclusive). In Bedrock Edition, it must be between 1 and 2147483647 (inclusive)[1].

JE<amplifier>: integer
BE: amplifier: int: int

Specifies the number of additional levels to add to the effect. If not specified, defaults to 0. Note that the first tier of a status effect (e.g. Regeneration I) is 0, so the second tier, for example Regeneration II, would be specified by an amplifier level of 1.
Must be a 32-bit integer number. And it must be between 0 and 255 (inclusive).

JE<hideParticles>: bool
BE: hideParticles: Boolean: bool

Specifies whether the particles and the HUD indicator‌[Java Edition only] of the status effect should be hidden. If not specified, defaults to false.

Result

CommandTriggerJava EditionBedrock Edition
anythe arguments are not specified correctly Unparseable Failed
<targets> or player: target fails to resolve to one or more entities (named player must be online) Failed
/effect clear<targets> is not specified, and the command's executor is not a player N/A
/effect clear ...there's no effect removed from any entity
/effect ... clearthere's no effect removed from any entity N/A Failed
anyOtherwiseRemoves or gives the specified effect(s).

Output

CommandEditionSituationSuccess Count/execute store success .../execute store result ...
anyJava EditionOn fail000
On success11the number of entities that are given or revoked effect(s).
Bedrock EditionOn fail0N/AN/A
On successthe number of entities that are given or revoked effect(s).N/AN/A

Note

If a target already has the status effect, a new status effect with the same amplifier overrides the old duration only if it is longer, but a new status effect with a higher duration overrides any previous duration.
  1. Gives an effect only if 2,040,109,465 or below. If above, it does not give the effect though the success message is displayed.

Examples

  • To grant a Resistance V effect to the current entity for 1 million seconds, hiding particles: effect give @s minecraft:resistance 1000000 4 true[Java Edition only] or effect @s resistance 1000000 4 true[Bedrock Edition only]
  • To grant a Speed II effect to the nearest player for 60 seconds: effect give @p minecraft:speed 60 1[Java Edition only] or effect @p speed 60 1[Bedrock Edition only]
  • To grant a Speed III effect to the nearest player for 60 seconds: effect give @p minecraft:speed 60 2[Java Edition only] or effect @p speed 60 2[Bedrock Edition only]
  • To clear any Haste effects from all players: effect clear @a minecraft:haste[Java Edition only] or effect @a haste 0[Bedrock Edition only]
  • To clear all effects from all zombies: effect clear @e[type=zombie][Java Edition only] or effect @e[type=zombie] clear[Bedrock Edition only]

History

Java Edition
1.5
{{Extension DPL}}<ul><li>[[Debug Stick|Debug Stick]]<br/>{{about|the item|other uses|Debug}}
{{exclusive|java}}
{{Item
| image = Debug Stick.gif
| rarity = Epic
| renewable = No
| stackable = No
}}

The '''debug stick''' is an [[item]] used to edit the [[block states]] of [[block]]s. It is visually identical to a regular [[stick]], but with a glint (as if [[Enchanting|enchanted]]).

== Obtaining ==

The debug stick is obtainable via [[commands]] such as {{cmd|/give}} or {{Cmd|/item}}, or the Creative inventory if the player has the appropriate permissions. It can be obtained only in worlds with cheats on.

== Usage ==

The debug stick can be used to change block states. {{control|Hitting}} the block allows players to select the block state key they wish to change, for an example, switching between the ''conditional'' and the ''facing'' block state keys for a [[command block]]. {{control|Using}} the block allows them to cycle through the valid values for the block state key, again as an example, the player can make the command block face, ''down'', ''east'', ''north'', ''south'', ''up'', or ''west'' if they chose the ''facing'' block state key. {{control|Sneaking}} while {{control|hitting}} or {{control|using}} cycles through the block state keys or values in reverse order.

It is notable that {{Control|using}} debug stick directly on an interactive block without {{Control|sneaking}} uses the block itself instead of the stick.<ref>{{bug|MC-200199}} </ref>

The debug stick cannot be used while in Survival or Adventure mode. It works only in creative mode with cheats enabled. In modes other than Creative, it acts like a regular item — although when {{control|using}} it on a block, the player swings the stick as if interacting with it (but nothing happens).

== Data values ==
=== ID ===
{{ID table
|edition=java
|showforms=y
|generatetranslationkeys=y
|displayname=Debug Stick
|spritetype=item
|nameid=debug_stick
|form=item
|foot=1}}

=== Item data ===

<div class="treeview">
* {{nbt|compound|tag}}: The item's '''tag''' tag.
{{:Player.dat_format/Debug Sticks}}
</div>

== History ==

{{History|java}}
{{History||1.13|snap=17w47a|[[File:Debug Stick.gif|32px]] Added debug sticks.}}
{{History||1.16|snap=20w10a|Debug sticks are now capable of editing [[fire]] due to its added hitbox.}}
{{History||1.19.3|snap=22w44a|The debug stick is now available in the creative inventory, but only if cheats are enabled.}}
{{History|||snap=22w45a|Moved the debug stick behind the Operator Utilities tab in the creative inventory. The tab is only available if cheats are enabled and the "Operator Items Tab" option in the controls menu is turned on.}}
{{History|foot}}

== Issues ==
The debug stick is not supported, and any issues resulting of its usage are closed as "Won't Fix" in the issue tracker.<br/> Issues with the stick itself are considered valid.<ref>https://bugs.mojang.com/browse/MC-122323?focusedCommentId=419481&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-419481</ref><ref>{{reddit|7es23r||Just be aware that any weird state you create with it you cannot naturally create and any bugs that come from it will be shot down as 'Wont fix' :D|_Grum|November 22, 2017}}</ref>

{{issue list}}

== Trivia ==
*An [[add-on]] made by Mineplex was showcased in [[MINECON Live 2019]], which had an editor stick for {{el|be}}, similar to the Debug Stick.<ref>{{ytl|OZqNaEX8208|MINECON Live 2019 @ 1:05:02|Minecraft|September 28, 2019|t=3902}}</ref>

== Gallery ==
<gallery>
Technically Updated.jpg|Artwork of Steve and Alex wielding debug sticks.
</gallery>

== See also ==
*[[Block states]]

== References ==
{{Reflist}}

{{Items}}

[[Category:Non-renewable resources]]

[[de:Debug-Stab]]
[[es:Palo de depuración]]
[[fr:Bâton de débogage]]
[[ja:デバッグ棒]]
[[ko:디버그 막대기]]
[[pl:Patyk debugujący]]
[[pt:Graveto de depuração]]
[[ru:Палка отладки]]
[[zh:调试棒]]</li><li>[[Echo Shard|Echo Shard]]<br/>{{Item
| title = Echo Shard
| image = Echo Shard.png
| renewable = No
| stackable = Yes (64)
}}
An '''echo shard''' is an item found in [[ancient cities]] which can be used to craft [[recovery compass]]es.

== Obtaining ==
=== Chest loot ===
{{LootChestItem|echo-shard}}

== Usage ==
=== Crafting ingredient ===
{{crafting usage|Echo Shard}}

== History ==
{{History|java}}
{{History||1.19|snap=22w14a|[[File:Echo Shard JE1 BE1.png|32px]] Added echo shards.}}
{{History|bedrock}}
{{History||1.19.0|snap=beta 1.19.0.24|[[File:Echo Shard JE1 BE1.png|32px]] Added echo shards.
|Currently cannot be found inside [[ancient city]] chests due to outdated structures and loot chests.}}
{{History||1.19.0|snap=beta 1.19.0.26|Echo shards now generate inside [[ancient city]] loot chests.}}
{{History|foot}}

== Issues ==

{{issue list}}

{{Items}}

[[Category:Non-renewable resources]]

[[de:Echoscherbe]]
[[es:Fragmento resonante]]
[[fr:Éclat d'écho]]
[[ja:残響の欠片]]
[[lzh:回音殘片]]
[[pt:Fragmento de eco]]
[[pl:Odłamek pogłosu]]
[[ru:Осколок эха]]
[[th:เศษเอคโค]]
[[uk:Уламок відлуння]]
[[zh:回响碎片]]</li></ul>
13w09bAdded /effect.
1.6.1
{{Extension DPL}}<ul><li>[[Mushroom Stew|Mushroom Stew]]<br/>{{Item
| title = Mushroom Stew
| image = Mushroom Stew.png
| renewable = Yes
| heals = {{hunger|6}}
| stackable = No
}}
'''Mushroom stew''' is a [[food]] item.

== Obtaining ==
=== Harvesting ===
Mushroom stew can be obtained by “milking” a [[mooshroom]] with an empty [[bowl]]. This is accomplished by {{Control|using}} a bowl on a mooshroom. The bowl gets replaced by the mushroom stew item. There is no cooldown for doing so.

If a stack of more than one bowl is used on a mooshroom, only one bowl is consumed, and the mushroom stew goes into an empty inventory slot, or is dropped if the player's inventory is full.

=== Crafting ===
{{Crafting
|Red Mushroom
|Brown Mushroom
|Bowl
|Output= Mushroom Stew
|type= Foodstuff
}}

== Usage ==
=== Food ===
{{see also|Tutorials/Hunger management|title1=Hunger management}}
To eat mushroom stew, press and hold {{control|use}} while it is selected in the hotbar. Eating one restores {{hunger|6}} [[hunger]] and 7.2 hunger 
[[Hunger#Mechanics|saturation]].

The bowl is returned to the player empty after the mushroom stew has been eaten, and can be reused to craft more, similarly to [[Rabbit Stew|rabbit stew]] and [[Beetroot Soup|beetroot soup]].

== Sounds ==
=== Generic ===
{{Sound table/Entity/Food}}
=== Unique ===
{{Edition|Java}}:
{{Sound table
|sound=Mooshroom milk1.ogg
|sound2=Mooshroom milk2.ogg
|sound3=Mooshroom milk3.ogg
|subtitle=Mooshroom gets milked 
|source=neutral
|description=When a mooshroom is milked with a bowl
|id=entity.mooshroom.milk
|translationkey=subtitles.entity.mooshroom.milk
|volume=1.0
|pitch=''varies'' <ref group=sound name=milkpitch>Can be 1.0, 0.9, or 1.1 for each sound</ref>
|distance=16
|foot=1}}

{{Edition|Bedrock}}:
{{Sound table
|type=bedrock
|sound=Mooshroom milk1.ogg
|sound2=Mooshroom milk2.ogg
|sound3=Mooshroom milk3.ogg
|subtitle=Mooshroom gets milked 
|source=Friendly Creatures
|description=When a mooshroom is milked with a bowl
|id=mob.mooshroom.suspicious_milk
|volume=1.0/0.9/1.1
|pitch=1.0
|foot=1}}

== Data values ==
=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|showforms=y
|generatetranslationkeys=y
|displayname=Mushroom Stew
|spritetype=item
|nameid=mushroom_stew
|form=item
|foot=1}}

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Mushroom Stew
|spritetype=item
|nameid=mushroom_stew
|id=260
|form=item
|foot=1}}

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

== History ==
{{History|java indev}}
{{History||0.31|snap=20100130|[[File:Mushroom Stew JE1 BE1.png|32px]] Added mushroom stew.
|Restores {{hp|8}} [[health]].}}
{{History||20100206|Mushroom stew now restores {{hp|10}} health.}}
{{History|java beta}}
{{History||1.6|snap=Test Build 3|[[Mushroom]] spreading mechanic added, making mushroom stew [[renewable]].}}
{{History||1.8|snap=Pre-release|Now restores {{hunger|8}} [[hunger]].}}
{{History|java}}
{{History||1.0.0|snap=Beta 1.9 Prerelease|More fungi sources have now been introduced with the addition of the [[Mushroom Fields|mushroom biome]]. 
|A [[mooshroom]] can now be "milked" with a [[bowl]] to obtain mushroom stew.}}
{{History|||snap=Beta 1.9 Prerelease 3|Mushroom stew can now be crafted in the [[2×2 crafting grid]] in the [[inventory]]. Previously, the crafting recipe was shaped, now it's shapeless.}}
{{History||1.2.5|snap=release|The [[player]] milking a [[mooshroom]] with a stack of [[bowl]]s no longer results in receiving back a single bowl of mushroom stew.}}
{{History||1.4.2|snap=?|Mushroom stew now restores {{Hunger|6}} instead of {{Hunger|8}}.}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 282.}}
{{History||1.14|snap=18w43a|[[File:Mushroom Stew JE2 BE2.png|32px]] The texture of mushroom stew has now been changed.}}
{{History||1.16|snap=Pre-release 1|Mooshrooms can now be milked for mushroom stew in Creative mode.<ref>{{Cite bug|MC|90969|Cannot get mushroom stew from mooshrooms / milk from cows in creative mode|date=October 19, 2015}}</ref>}}

{{History|pocket alpha}}
{{History||v0.4.0|[[File:Mushroom Stew JE1 BE1.png|32px]] Added mushroom stew.}}
{{History||v0.5.0|Mushroom stew now restores {{hp|8}} instead of {{hp|4}}.}}
{{History||v0.9.0|snap=build 1|A mooshroom can now be "milked" with a [[bowl]] to obtain mushroom stew.}}
{{History||v0.12.1|snap=build 1|Mushroom stew now restores [[hunger]] instead of [[health]].}}
{{History|bedrock}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Mushroom Stew JE2 BE2.png|32px]] The texture of mushroom stew has now been changed.}}

{{History|console}}
{{History||xbox=TU1|xbone=CU1|ps=1.0|switch=1.0.1|wiiu=Patch 1|[[File:Mushroom Stew JE1 BE1.png|32px]] Added mushroom stew.}}
{{History||xbox=none|xbone=none|ps=1.90|wiiu=none|switch=none|[[File:Mushroom Stew JE2 BE2.png|32px]] The texture of mushroom stew has now been changed.}}

{{History|new3ds}}
{{History||0.1.0|[[File:Mushroom Stew JE1 BE1.png|32px]] Added mushroom stew.}}
{{History|foot}}

== Issues ==
{{Issue list}}

== References ==
{{reflist}}

== External Links ==
*[https://www.minecraft.net/en-us/article/taking-inventory--mushroom-stew Taking Inventory: Mushroom Stew] – Minecraft.net on September 1, 2022

{{items}}

[[de:Pilzsuppe]]
[[es:Estofado de champiñones]]
[[fr:Soupe de champignons]]
[[hu:Gombaragu]]
[[ja:キノコシチュー]]
[[ko:버섯 스튜]]
[[nl:Paddenstoelenstoofpot]]
[[pl:Zupa grzybowa]]
[[pt:Ensopado de cogumelos]]
[[ru:Тушёные грибы]]
[[zh:蘑菇煲]]
[[Category:Food]]
[[Category:Renewable resources]]
<references /></li><li>[[Spider Eye|Spider Eye]]<br/>{{Item
| title = Spider Eye
| image = Spider Eye.png
| renewable = Yes
| heals = {{Hunger|2}}
|effects={{EffectLink|Poison}} (0:05)
| stackable = Yes (64)
}}
A '''spider eye''' is a poisonous [[food]] and [[brewing]] item.

== Obtaining ==

=== Mob loot ===

==== Spiders ====
[[Spider]]s and [[cave spider]]s have a {{frac|1|3}} chance of dropping a [[spider eye]] when killed by a player or tamed wolf, but not when killed by environmental damage (such as falling). The maximum amount of spider eyes is increased by 1 per level of [[Looting]]. The chance of a spider '''not''' dropping any spider eyes can be found using the formula <code>2 / (Looting Level + 3)</code>. For example, Looting III gives a {{frac|1|3}} chance of not dropping any spider eyes. All other amounts have an equal chance of occurring.

==== Witches ====

[[Witch]]es have a chance of dropping 0–6 spider eyes upon death. This is increased by 3 per level of [[Looting]], for a maximum of 0-15 spider eyes.

=== Chest loot ===

{{LootChestItem|spider-eye}}

== Usage ==

=== Food ===
When [[Food|eaten]], a spider eye restores {{hunger|2}} [[Hunger|hunger points]] and 3.2 [[Hunger#Mechanics|saturation points]], giving a nourishment value of 1.6. It also applies a [[Poison]] [[effect]] lasting 5 seconds to the player, causing {{hp|4|poisoned=1}} damage, which reduces hunger/saturation by 6 points.

=== Crafting ingredient ===

{{crafting usage}}

=== Brewing ingredient ===

{{brewing
  |showname=1
  |head=1
  |Spider Eye
  |Mundane Potion
  |base=Water Bottle
}}
{{brewing
  |foot=1
  |Spider Eye
  |Potion of Poison
}}

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

== Data values ==
=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|showforms=y
|generatetranslationkeys=y
|displayname=Spider Eye
|spritetype=item
|nameid=spider_eye
|form=item
|foot=1}}

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Spider Eye
|spritetype=item
|nameid=spider_eye
|id=278
|form=item
|foot=1}}

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

== Video ==

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

== History ==

{{History|java}}
{{History||1.0.0|snap=Beta 1.9 Prerelease 2|[[File:Spider Eye JE1 BE1.png|32px]] Added spider eyes. 
|Spider eyes can be used to craft [[fermented spider eye]]s.}}
{{History|||snap=Beta 1.9 Prerelease 3|Spider eyes can now be [[brewing|brewed]] in a [[water bottle]] to create a [[Mundane Potion]], or in an [[Awkward Potion]] to create a [[Potion of Poison]].}}
{{History||1.4.2|snap=12w38b|Spider eyes can now be dropped by [[witch]]es.}}
{{History||1.9|snap=15w44a|Spider eyes can now be found in [[desert pyramid|desert temple]] [[chest]]s.}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 375.}}
{{History||1.14|snap=18w43a|[[File:Spider Eye JE2 BE2.png|32px]] The texture of spider eyes has been changed.}}

{{History|pocket alpha}}
{{History||v0.12.1|snap=build 1|[[File:Spider Eye JE1 BE1.png|32px]] Added spider eyes.|Spider eyes can be used to craft [[fermented spider eye]]s and for [[brewing]].}}
{{History||v0.13.0|snap=build 1|Spider eyes can now be found in [[desert pyramid|desert temple]] [[chest]]s.}}
{{History||v0.14.0|snap=build 1|Spider eyes can now dropped by [[witch]]es.}}
{{History|bedrock}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Spider Eye JE2 BE2.png|32px]] The texture of spider eyes has been changed.}}

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

{{History|New 3DS}}
{{History||0.1.0|[[File:Spider Eye JE1 BE1.png|32px]] Added spider eyes.}}
{{History|foot}}

== Issues ==

{{issue list}}

== References ==

{{reflist}} 


{{items}}



[[cs:Pavoučí oko]]
[[de:Spinnenauge]]
[[es:Ojo de araña]]
[[fr:Œil d'araignée]]
[[hu:Pókszem]]
[[it:Occhio di ragno]]
[[ja:クモの目]]
[[ko:거미 눈]]
[[nl:Spinnenoog]]
[[pl:Oko pająka]]
[[pt:Olho de aranha]]
[[ru:Паучий глаз]]
[[zh:蜘蛛眼]]
[[Category:Food]]
[[Category:Renewable resources]]
[[Category:Brewing recipe]]</li></ul>
preAdded clear argument to /effect.
1.8
{{Extension DPL}}<ul><li>[[Brush|Brush]]<br/>{{Item
|image=Brush.png
|rarity=Common
|renewable=Yes
|durability=64
|stackable=No
}}
A '''brush''' is a [[tool]] used in [[archaeology]] to excavate [[suspicious block]]s for different items.

==Obtaining==
===Crafting===
{{Crafting
|head=1
|showname=0
|showdescription=1
|B1=Feather
|B2=Copper Ingot
|B3=Stick
|Output=Brush
|type=Tool
}}
{{crafting
|foot=1
|ignoreusage=1
|Damaged Brush
|Damaged Brush
|Output=Brush
|description=The durability of the two brushes is added together, plus an extra 5% durability.
|type=Tool
}}

==Usage==
{{Main|Suspicious Block}}
{{Control|Using}} the brush on any block displays a brushing animation, slowing down the player and creating breaking [[particles]], but not actually damaging the block or brush. When continuously brushing a [[suspicious block]], a random item slowly emerges from it until it drops out, and the block turns into regular [[sand]] or regular [[gravel]], depleting 1 [[durability]] point on the brush. It takes 96 [[game tick]]s (4.8 seconds) to brush a single suspicious block. 

=== Enchantments ===
A brush can receive the following [[enchantment]]s:
{|class="wikitable col-2-center col-3-right"
|+
!Name
!Max Level
![[Enchanting|Method]]
|-
|[[Unbreaking]]
|III
|{{Inventory slot|Anvil}}   
|-
|[[Mending]]
|I
|{{Inventory slot|Anvil}}   
|-
|[[Curse of Vanishing]]
|I
|{{Inventory slot|Anvil}}   
|}

== Sounds ==
{{Edition|Java}}:
{{Sound table
<!--All of these sounds are, in fact, different-->
|sound=Brushing sand1.ogg
|sound2=Brushing sand2.ogg
|sound3=Brushing sand3.ogg
|sound4=Brushing sand4.ogg
|subtitle=Brushing Sand
|source=block
|description=While a brush is brushing suspicious sand
|id=item.brush.brushing.sand
|translationkey=subtitles.item.brush.brushing.sand
|volume=0.6
|pitch=0.6
|distance=16}}
{{Sound table
|sound=Brushing gravel1.ogg
|sound2=Brushing gravel2.ogg
|sound3=Brushing gravel3.ogg
|sound4=Brushing gravel4.ogg
|subtitle=Brushing Gravel
|source=block
|description=While a brush is brushing suspicious gravel
|id=item.brush.brushing.gravel
|translationkey=subtitles.item.brush.brushing.gravel
|volume=0.6
|pitch=0.6
|distance=16}}
{{Sound table
|sound=Brushing generic1.ogg
|sound2=Brushing generic2.ogg
|sound3=Brushing generic3.ogg
|sound4=Brushing generic4.ogg
|subtitle=Brushing
|source=block
|description=While a brush is brushing any other block
|id=item.brush.brushing.generic
|translationkey=subtitles.item.brush.brushing.generic
|volume=0.6
|pitch=0.6
|distance=16}}
{{Sound table
|sound=Brushing sand completed1.ogg
|sound2=Brushing sand completed2.ogg
|sound3=Brushing sand completed3.ogg
|sound4=Brushing sand completed4.ogg
|sound5=Brushing sand completed5.ogg
|subtitle=Brushing Sand completed
|source=Players<ref group=sound name=badsource>{{Bug|MC-260202}}</ref>|overridesource=1
|description=When a brush finishes brushing suspicious sand
|id=item.brush.brushing.sand.complete
|translationkey=subtitles.item.brush.brushing.sand.complete
|volume=1.0
|pitch=1.0
|distance=16}}
{{Sound table
|sound=Brushing gravel completed1.ogg
|sound2=Brushing gravel completed2.ogg
|sound3=Brushing gravel completed3.ogg
|sound4=Brushing gravel completed4.ogg
|subtitle=Brushing Gravel completed
|source=Players<ref group=sound name=badsource/>|overridesource=1
|description=When a brush finishes brushing suspicious gravel
|id=item.brush.brushing.gravel.complete
|translationkey=subtitles.item.brush.brushing.gravel.complete
|volume=1.0
|pitch=1.0
|distance=16
|foot=1}}

{{Edition|Bedrock}}:
{{Sound table
|type=bedrock
|sound=Brushing sand1.ogg
|sound2=Brushing sand2.ogg
|sound3=Brushing sand3.ogg
|sound4=Brushing sand4.ogg
|source=player
|description=While a brush is brushing suspicious sand
|id=brush.suspicious_sand
|volume=1.0
|pitch=0.8-1.0}}
{{Sound table
|sound=Brushing gravel1.ogg
|sound2=Brushing gravel2.ogg
|sound3=Brushing gravel3.ogg
|sound4=Brushing gravel4.ogg
|source=player
|description=While a brush is brushing suspicious gravel
|id=brush.suspicious_gravel
|volume=1.0
|pitch=0.8-1.0}}
{{Sound table
|sound=Brushing generic1.ogg
|sound2=Brushing generic2.ogg
|sound3=Brushing generic3.ogg
|sound4=Brushing generic4.ogg
|source=player
|description=While a brush is brushing any other block
|id=brush.generic
|volume=1.0
|pitch=0.8-1.0}}
{{Sound table
|sound=Brushing sand completed1.ogg
|sound2=Brushing sand completed2.ogg
|sound3=Brushing sand completed3.ogg
|sound4=Brushing sand completed4.ogg
|sound5=Brushing sand completed5.ogg
|source=player
|description=When a brush finishes brushing suspicious sand
|id=brush_completed.suspicious_sand
|volume=1.0
|pitch=0.8-1.0}}
{{Sound table
|sound=Brushing gravel completed1.ogg
|sound2=Brushing gravel completed2.ogg
|sound3=Brushing gravel completed3.ogg
|sound4=Brushing gravel completed4.ogg
|source=player
|description=When a brush finishes brushing suspicious gravel
|id=brush_completed.suspicious_gravel
|volume=1.0
|pitch=0.8-1.0
|foot=1}}

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

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Brush
|spritetype=item
|nameid=brush
|id=684
|form=item
|foot=1}}

== Advancements ==
{{load advancements|Respecting the Remnants}}

== History ==
{{History||October 3, 2020|link=https://youtu.be/DBvZ2Iqmm3M?t=2178|[[File:Brush (pre-release 1).png|32px]][[File:Brush 2.png|32px]] Brushes were announced at [[Minecraft Live 2020]] with two variants.}}
{{History||?|link=https://youtu.be/klP9SrJFDU8?t=206|[[File:Brush (pre-release 2).png|32px]] Changed the brush's item texture.}}
{{History||February 10, 2023|[[File:Brush JE1 BE1.png|32px]] [[Sofia Dankis]] posted an article about upcoming archaeology features, including brushes.|link=https://www.minecraft.net/en-us/article/archeology-coming-minecraft-120}}
{{History|java}}
{{History||1.20<br>(Experimental)|link=1.19.4|snap=23w07a|[[File:Brush JE1 BE1.png|32px]] Added brushes with an updated texture behind the [[Java Edition 1.20|Update 1.20 experimental datapack]].|The crafting recipe was originally three [[string]] and two [[stick]]s.
{{{!}} class{{=}}"collapsible collapsed" data-description{{=}}"Recipe"
! Recipe
{{!}}-
{{!}}{{Crafting Table
|A1 = String
|B1 = String
|C1 = String
|B2 = Stick
|B3 = Stick
|Output = Brush
|type = Tool
|ignoreusage=1}}
{{!}}}
}}
{{History|||snap=1.19.4 Pre-release 1|The crafting recipe for brushes has been changed:
{{{!}} class{{=}}"collapsible collapsed" data-description{{=}}"Recipe"
! Recipe
{{!}}-
{{!}}{{Crafting Table
|B1 = Feather
|B2 = Copper Ingot
|B3 = Stick
|Output = Brush
|type = Tool
|ignoreusage=1}}
{{!}}}
}}
{{History||1.20|snap=23w12a|Brushes are now available without using the "Update 1.20" experimental data pack.
|Brushes can now brush [[suspicious gravel]].}}
{{History|||snap=23w14a|The brushing sound of brush is now controlled by the "Blocks" sound slider instead of the "Players" sound slider.}}
{{History|||snap=23w17a|The player now gets the [[advancement]] "Respecting the Remnants" when they use a brush on a [[suspicious block]] to obtain a [[pottery sherd]].}}

{{History|bedrock}}
{{History||Next Major Update<br>(Experimental)|link=Bedrock Edition 1.19.70|snap=beta 1.19.70.23|[[File:Brush JE1 BE1.png|32px]] Added brushes behind the "[[Bedrock Edition 1.20.0|Next Major Update]]" [[experimental]] toggle.
|The crafting recipe is originally three [[string]] and two [[stick]]s.
{{{!}} class{{=}}"collapsible collapsed" data-description{{=}}"Recipe"
! Recipe
{{!}}-
{{!}}{{Crafting Table
|A1 = String
|B1 = String
|C1 = String
|B2 = Stick
|B3 = Stick
|Output = Brush
|type = Tool
|ignoreusage=1}}
{{!}}}
}}
{{History||Next Major Update<br>(Experimental)|link=Bedrock Edition 1.19.80|snap=beta 1.19.80.20|The crafting recipe for brushes has been changed:
{{{!}} class{{=}}"collapsible collapsed" data-description{{=}}"Recipe"
! Recipe
{{!}}-
{{!}}{{Crafting Table
|B1 = Feather
|B2 = Copper Ingot
|B3 = Stick
|Output = Brush
|type = Tool
|ignoreusage=1}}
{{!}}}
}}
{{History||1.20.0|snap=beta 1.20.0.21|Brushes are now available without using the "Next Major Update" experimental toggle.}}
{{History|foot}}

== Issues ==
{{Issue list}}

== References ==
{{Reflist}}

==External Links==
*[https://www.minecraft.net/en-us/article/brush Taking Inventory: Brush] – Minecraft.net on July 6, 2023

{{Items}}

[[Category:Renewable resources]]

[[de:Pinsel]]
[[es:Pincel]]
[[ja:ブラシ]]
[[pt:Pincel]]
[[pl:Pędzel]]
[[uk:Щітка]]
[[zh:刷子]]</li><li>[[Sparkler|Sparkler]]<br/>{{About|the Education Edition exclusive item|the new melee weapon available from the ''Minecraft Dungeons'' anniversary event|MCD:Sparkler}}
{{Item
| image = <gallery>
Orange Sparkler.png | Orange
Blue Sparkler.png | Blue
Red Sparkler.png | Red
Purple Sparkler.png | Purple
Green Sparkler.png | Green
</gallery>
| image2 = <gallery>
Active Orange Sparkler.png | Active Orange
Active Blue Sparkler.png | Active Blue
Active Red Sparkler.png | Active Red
Active Purple Sparkler.png | Active Purple
Active Green Sparkler.png | Active Green
</gallery>
| renewable = No
| stackable = No
}}
{{education feature}}
{{exclusive|bedrock|education}}
A '''sparkler''' is a [[Chemistry Update|chemistry]]-related [[item]] that emits particles when lit.
Sparklers are available in orange, blue, red, purple, and green colors.

== Obtaining ==

=== Crafting ===
{{Crafting
|showdescription=1
|B1=Chloride |B2=Magnesium |B3=Stick
|Output=Sparkler
|description= Calcium Chloride: Orange<br>Cerium Chloride: Blue<br>Mercuric Chloride: Red<br>Potassium Chloride: Purple<br>Tungsten Chloride: Green<br>{{only|bedrock|education}}
|type=Miscellaneous
}}

== Usage ==

{{ctrl|Using}} a sparkler ignites it, causing its texture to change. When lit, the sparkler emits colored [[particles]]; the [[durability]] meter depletes while the sparkler is burning. Sparklers are one of the few [[item]]s that can be held in the [[off-hand]] {{in|be}}. Unlit sparklers have normal lighting like most items, while lit sparklers appear to glow when held in the player's hand, similarly to [[glow stick]]s.

When the [[player]] uses another item while a sparkler is lit, or holds the sparkler in the off-hand, the sparkler's durability stops depleting.

If the player has a lit sparkler in their [[inventory]] and goes into the [[water]], the sparkler is destroyed immediately. However, it does not get destroyed if dropped in water. It also cannot float.

Despite having durability, sparklers cannot be enchanted with [[Unbreaking]] or [[Mending]].

== Sounds ==
{{Sound table
|type=bedrock
|sound=Fuse.ogg
|source=sound
|description=While a sparkler is active
|id=sparkler.active
|volume=0.25
|pitch=0.8/1.2}}
{{Sound table
|sound=Fizz.ogg
|source=block
|description=While a sparkler is being lit
|id=random.fizz
|volume=1.0
|pitch=2.4/2.6
|foot=1}}

== Data values ==
=== ID ===
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Sparkler
|spritename=sparklers
|spritetype=item
|nameid=sparkler
|id=600
|form=item
|translationkey=item.sparkler.orange.name,item.sparkler.blue.name,item.sparkler.red.name,item.sparkler.purple.name,item.sparkler.green.name
|foot=1}}

== History ==
{{History|bedrock}}
{{History||1.4.0|snap=beta 1.2.20.1|[[File:Orange Sparkler BE1.png|32px]] [[File:Blue Sparkler BE1.png|32px]] [[File:Red Sparkler BE1.png|32px]] [[File:Purple Sparkler BE1.png|32px]] [[File:Green Sparkler BE1.png|32px]] <br>[[File:Active Orange Sparkler BE1.png|32px]] [[File:Active Blue Sparkler BE1.png|32px]] [[File:Active Red Sparkler BE1.png|32px]] [[File:Active Purple Sparkler BE1.png|32px]] [[File:Active Green Sparkler BE1.png|32px]] Added sparklers.}}

{{History|education}}
{{History||1.0.27|[[File:Orange Sparkler BE1.png|32px]] [[File:Blue Sparkler BE1.png|32px]] [[File:Red Sparkler BE1.png|32px]] [[File:Purple Sparkler BE1.png|32px]] [[File:Green Sparkler BE1.png|32px]] <br>[[File:Active Orange Sparkler BE1.png|32px]] [[File:Active Blue Sparkler BE1.png|32px]] [[File:Active Red Sparkler BE1.png|32px]] [[File:Active Purple Sparkler BE1.png|32px]] [[File:Active Green Sparkler BE1.png|32px]] Added sparklers.}}
{{History|foot}}

== Issues ==

{{issue list}}

== Trivia ==
* The formula for sparkler roughly works in real life. Magnesium itself burns white in air, while the metal salts add [[wikipedia:flame test|color to the flame]].

{{items}}
{{Education Edition}}

[[Category:Non-renewable resources]]
[[Category:Education Edition items]]

[[de:Wunderkerze]]
[[ja:手持ち花火]]
[[ko:스파클러]]
[[pl:Zimne ognie]]
[[pt:Vela-Faísca]]
[[zh:烟花棒]]</li></ul>
14w06aAdded hideParticles argument to /effect
Pocket Edition
1.0.5
{{Extension DPL}}<ul><li>[[Enchanted Golden Apple|Enchanted Golden Apple]]<br/>{{Item
| image = Enchanted Golden Apple.png
| rarity = Epic
| heals = {{hunger|4}}
| effects = 
* {{EffectLink|Absorption}} IV (2:00)
* {{EffectLink|Regeneration}} II (0:20){{only|java|short=yes}}/V (0:30){{only|bedrock|short=yes}}
* {{EffectLink|Fire Resistance}} (5:00)
* {{EffectLink|Resistance}} (5:00)
| renewable = No
| stackable = Yes (64)
}}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

== Issues ==
{{issue list}}

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

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

{{Items}}

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

[[de:Verzauberter goldener Apfel]]
[[es:Manzana dorada encantada]]
[[fr:pomme dorée enchantée]]
[[ja:エンチャントされた金のリンゴ]]
[[pt:Maçã dourada encantada]]
[[th:แอปเปิ้ลทองร่ายมนตร์]]
[[zh:附魔金苹果]]</li><li>[[Minecart|Minecart]]<br/>{{about|the rideable minecart in Minecraft|other uses|Minecart (disambiguation)|}}
{{distinguish|Minecraft}}
{{ItemEntity
|image=Minecart.png
|renewable=Yes
|stackable=No
|size=Height: 0.7 Blocks<br>Width: 0.98 Blocks
|networkid='''[[JE]]''': 10
|drops={{ItemLink|Minecart}} (1)
|health={{hp|6}}
}}
A '''minecart''' is a train-like vehicle [[entity]] that runs on [[Rail (disambiguation)|rail]]s.

== Obtaining ==

Minecarts can be retrieved by {{control|attack|text=attacking}} them for some time. Minecarts can also be retrieved with one attack from a [[pickaxe]] provided the player's attack cooldown is reset. A minecart is also destroyed if it makes contact with a [[cactus]], or if shot with a [[bow]] and arrow.

=== Crafting ===

{{Crafting
|A2= Iron Ingot
|C2= Iron Ingot
|A3= Iron Ingot
|B3= Iron Ingot
|C3= Iron Ingot
|Output= Minecart
|type= Transportation
}}

=== Entity loot ===
[[Minecart with command block]]s can be given to the player with the {{cmd|/give}} command or through the creative inventory under certain conditions{{only|java}}; [[minecart with spawner]]s{{only|java}} are available only via the {{cmd|/summon}} command. Each drop 1 minecart when broken.

== Usage ==
[[File:RideableMinecart.png|thumb|right|A rideable minecart on rails surrounded by wood slabs]]

A minecart can be placed in the same manner as most blocks but can be placed only on top of a [[rail]]. Once placed, it may be derailed by pushing it off the end of the track. After this, it can be railed again by placing a rail directly below it or pushing it onto a track.

=== Crafting ingredient ===

{{crafting usage}}

=== Transportation ===
[[File:Steve Riding a Minecart.png|thumb|right|upright|[[Steve]] riding a minecart]]
{{see also|Transportation|Riding}}

Minecarts can be ridden by {{control|use|text=pressing the "use" control}} on them. Once inside, an external impulse may be needed to make the minecart start moving. The player can slowly move the minecart forward while riding it, by pressing {{control|forward}}. If a mob walks in front of an empty minecart, it is pulled into the cart.

After rolling off of the end of a track, a minecart can be pushed around on open blocks. If a minecart is pushed onto or falls onto tracks, it "snaps" to those tracks. When riding a minecart, if the minecart lands on a rail, the player does not take any fall damage. <!--Minecarts and arrows don't interact anymore.-->

Unlike with [[bed]]s, there is no message above the hotbar for attempting to enter a fully occupied minecart.<ref>{{Cite bug|MC|161251|Attempting to enter an occupied bed displays a message over the hotbar, but attempting to enter an occupied vehicle does not|date=September 18, 19|resolution=Works as Intended}}</ref>

=== Dismounting ===
Players can exit the minecart by pressing {{control|sneak}}. When a player or mob dismounts a minecart, either by choice, by breaking the minecart, or by passing over an [[activator rail]], the minecart tries to find a safe ejection destination one block away. First it checks the eight horizontally adjacent blocks in the following order of priority relative to direction of travel: right, left, rear right, rear left, front right, front left, rear, front. A valid destination has a block underneath with a solid (not necessarily full) top surface and a space with enough headroom and width for the passenger to fit in when standing at the center. The space can even contain liquid or have open trapdoors if the mob is slim enough, and presence of other mobs doesn't matter. If no valid destination exists on same horizontal level, the minecart then checks the blocks one above, then one below. For a player, the minecart also checks for crawlable destinations. If still none, the minecart chooses its own location. Once the minecart picks a destination, it actually ejects the passenger one block up in the air and the passenger settles down on its own. Under a low ceiling this may cause one tick of suffocation damage. The air drop exists to allow passengers to land on carpet or bottom slabs.

== Behavior ==

=== Speed ===

Minecarts have a predefined speed limit of exactly 8 blocks per second. However, this speed limit does not change the minecart's speed value but instead limits how far a minecart can travel each tick to 0.4 blocks. Therefore, a minecart moving from powered rail to normal rail will move at constant speed for some time until decelerating because its internal speed value is over its speed limit of 8.

[[Powered rail]]s powered by redstone give minecarts a boost of speed. Speed is gradually decreased (due to drag) if there are no powered rails to assist its movement, and an unpowered powered rail slows down a minecart rapidly. The speed decreases at a faster rate when going uphill, compared to when moving horizontally. A minecart does not need powered rails to assist its movement down a hill.
<!-- Is this comparison to real-life physics necessary? - One unit of kinetic energy could be defined as the energy gained by a cart going down a one-block slope and lost by a cart when it goes up a one-block slope. If a 45-degree downward slope is connected directly into an upward slope, an initial height of 60 blocks results in a final height of 40 blocks, a loss of 20 units of potential energy. But if 20 sections of flat track are inserted between the slopes, the final height is 35. This implies that one unit of energy is lost for every 4 sections of horizontal track traveled with an initial stored energy of between 60 and 40. At much lower speeds, much less energy is lost, implying that the energy lost is a percentage of the cart's current energy. The above gives about 0.5% energy loss per section of track. One implication of this is that more energy lost when the cart has more energy, so a gradual slope should allow you to travel much farther distances than a steep slope followed by a long flat section. (This is different from real-life physics, where friction does not increase with velocity. However, it may be an attempt to mirror air resistance, which ''does'' increase with velocity.) -->

Anything in the way of the minecart brings it to a stop. Once a minecart has left the track, it rapidly decelerates within one or two blocks. When mobs touch a minecart, they affect it in the same way a player would, i.e. mobs that move up against a still cart set it in motion.

If a minecart is moving fast enough, it can skip across one block without a track and reattach to track on the other side, at significantly reduced energy and speed. A minecart's hitbox can skip turns if the minecart is boosted using enough powered rails.<ref>{{Cite bug|MC|179971|Minecart skips turns if too fast|date=April 22, 2020}}</ref>

The speed and momentum of a minecart can differ depending on whether or not it is empty, and in the case where a minecart has a container, the speed can differ depending on the quantity and type of items inside.

=== Merged minecarts ===

{{IN|java}}, two or more minecarts can be merged by pushing them into each other so that they overlap. Merged minecarts move as a collective, like a train, and can be useful for long-distance transport because while moving in a straight line, they ''do not need powered rails to keep their speed''.

To summarize:
* Minecarts can also be merged by ''dropping'' a minecart on another minecart.
* Merged minecarts do not lose speed while traveling on straight rails
* ''Corners'' in the rails might cause merged minecarts to unmerge.
* Minecarts with ''chest'' (even fully filled) can also be merged and also do ''not'' require powered rails.

=== Distance traveled by empty carts starting on a downward slope ===

This table shows the distance traveled by an unoccupied minecart on a downward slope, with a boost (or no boost). The most efficient way is to use only 1 boost at the bottom of the incline on the flat surface. Using 2 increases distance by about 20% or 1.5 blocks. All distance trends based on the height seem to be logarithmic.
The carts started from rest, on a slope Height blocks up.

{| class="wikitable" data-description="Distance traveled"
|-
! Height !! No Boost !! Bottom !! Bottom and Top !! All boosts on incline and bottom
|-
| 1 || 2.77m || 8.77 || 10.8 || 10.8
|-
| 2 || 4.59m || 9.59 || 10.83 || 13.37
|-
| 3 || 5.81m || 9.81 || 11.66 || 15.12
|-
| 4 || 7.04m || 10.04 || 12.46 || 16.95
|-
| 5 || 7.87m || 10.87 || 12.29<!--(Yes, it did actually travel less)--> || 17.95
|-
| 10 || 11.65m || 13.38 || 15.12 || 21.68
|-
| 100 || 15.87m || 17.05 || 17.54 || 25.34
|}

=== Collision ===

Minecarts are about the same size as a block (1×1). Because of this, a ladder, door, or trapdoor prevents it from falling down a 1×1 hole. Carts on [[rail]]s also ignore collision in certain situations. A cart traveling uphill, downhill, or on a curve with a block placed in front of it, goes through the block.<ref>{{Cite bug|MC|8004|Minecarts glitch through the stop block of a track that ends with a turn or a downward slope|date=January 20, 2013}}</ref>

A minecart that reaches the end of a rail up against an opaque solid block bounces back, but if the block is transparent then it stops. The minecart can even bounce against an opaque block from a standstill if the rail underneath is powered. A player or mob riding in a minecart does not collide with or suffocate in any transparent blocks but suffocates inside opaque blocks.

Minecarts are completely unaffected by [[ice]], [[packed ice]], and [[blue ice]]<ref>{{Cite bug|MC|8265|Minecarts don't slide on any sort of ice|date=January 25, 2013}}</ref>; they can also be destroyed by coming in contact with [[lava]] or [[fire]].

=== Mobs ===
{{missing information|section|some other mobs that cannot be picked up by minecarts}}
[[File:Minecart shake.gif|thumb|right|Minecart shaking due to being on top of an activator rail.]]
Mobs can ride minecarts, but cannot control them. Mobs cannot exit the minecart unless the minecart is destroyed or moves onto an active [[activator rail]].<ref>{{bug|MC-3866||Endermen, Tamed Wolves and Ocelots cannot teleport when in a Minecart|WAI}}</ref> However, {{in|bedrock}}, [[endermen]] are able to teleport out of minecarts.<ref>{{bug|MCPE-31761||Endermen can still teleport out of the boats and minecarts}}</ref>

A mob can ride a minecart when pushing by a moving minecart on rails {{in|java}} or when colliding with a minecart {{in|bedrock}}. It is easier to pick up a mob when a minecart is turning. {{IN|bedrock}}, [[armor stand]]s can also be picked up.

Most mobs can be picked up by minecarts, except [[ender dragon]]s, [[warden]]s, and [[wither]]s. {{IN|java}}, [[iron golem]]s cannot be picked up either.

A [[jockey]] riding a minecart automatically accelerates the minecart.<ref>{{bug|MC-71998||Minecarts that have passengers within them riding mobs can move automatically when not on rails}}</ref> Mobs in minecarts don't despawn, and don't count towards the mob cap.{{only|java}}<ref>{{bug|MC-182897||Some passenger mobs don't count to the mob cap|WAI}}</ref>

=== Boats ===
{{exclusive|java|section=yes}}
{{UsesBug|section=yes}}
Due to the bug {{bug|MC-113871}}, [[boat]]s can be captured by minecarts. When a boat is placed in a minecart, the minecart travels faster on rails, approximately as fast as on powered rails. The movement in the boat minecart is glitchy and moving forward with the W key moves the cart backward relative to the player, and vice versa for moving backward with the S key. The minecart also moves on the rail-less ground at a crawling speed, but it does not float in the water despite being in a boat. 

Using this glitch can be far more resource-efficient since the boat minecart can move at the speed of a powered rail track on flat ground and on slopes. Another physics glitch with the boat minecart is the extreme reduction in friction when the minecart is on rails, which is similar to the lack of friction when a boat is riding on ice. This glitch can be done in Survival without cheats simply by pushing a minecart into a boat on the track. This bug is now patched.

== Sounds ==
{{Edition|Java}}:<br>
Minecarts use the Friendly Creatures sound category for entity-dependent sound events.<ref group="sound" name="oddcats" />
{{Sound table
|sound=Minecart inside.ogg
|subtitle=MC-177078
|source=Friendly Creatures <ref group="sound" name="oddcats">{{Cite bug|MC|42132|The sounds of minecarts aren't controlled by the correct sound slider|date=December 13, 2013}}</ref>
|overridesource=1
|description=While the player is inside of a moving minecart 
|id=entity.minecart.inside
|translationkey=-
|volume=0.0-0.75 <ref group=sound name=insidevolume>Based on horizontal speed; it is clamped between 0.0 and 0.75 and will not play if speed is less than 0.01</ref>
|pitch=1.0
|distance=16 (technical) / rider only (effective)}}
{{Sound table
|sound=Minecart inside underwater1.ogg
|sound2=Minecart inside underwater2.ogg
|sound3=Minecart inside underwater3.ogg
|subtitle=MC-204124
|source=Friendly Creatures <ref group="sound" name="oddcats"/>
|overridesource=1
|description=While inside of a moving minecart when the player's eye level is underwater 
|id=entity.minecart.inside.underwater
|translationkey=-
|volume=0.0-0.75 <ref group=sound name=insidevolume/>
|pitch=1.0
|distance=16 (technical) / rider only (effective)}}
{{Sound table
|sound=Minecart rolling.ogg
|subtitle=Minecart rolls <ref group="sound">Shows far less often than it should - see {{bug|MC-181831}}</ref>
|source=Friendly Creatures <ref group="sound" name="oddcats"/>
|overridesource=1
|description=While a minecart is moving
|id=entity.minecart.riding
|translationkey=subtitles.entity.minecart.riding
|volume=0.0-0.35 <ref group=sound>Relates linearly with horizontal velocity (max 0.5)</ref>
|pitch=0.0-1.0 <ref group=sound>Will increase by 0.0025 per tick if the minecart's horizontal velocity is more than 0.01</ref>
|distance=16
|foot=1}}

{{Edition|Bedrock}}:
{{Sound table
|type=bedrock
|sound=Minecart inside.ogg
|source=neutral
|description=While the player is inside of a moving minecart
|id=minecart.inside}}
{{Sound table
|sound=Minecart rolling.ogg
|source=neutral
|description=While a minecart is moving
|id=minecart.base
|foot=1}}

== Data values ==
=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|firstcolumnname=Item
|showforms=y
|generatetranslationkeys=y
|displayname=Minecart
|spritetype=item
|nameid=minecart
|form=item
|foot=1}}
{{ID table
|edition=java
|generatetranslationkeys=y
|firstcolumnname=Entity
|displayname=Minecart
|spritetype=entity
|nameid=minecart
|foot=1}}

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|firstcolumnname=Item
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Minecart
|spritetype=item
|nameid=minecart
|id=370
|form=item
|foot=1}}
{{ID table
|edition=bedrock
|firstcolumnname=Entity
|shownumericids=y
|generatetranslationkeys=y
|displayname=Minecart
|spritetype=entity
|nameid=minecart
|id=84
|foot=1}}

=== Entity data ===
Minecarts have entity data associated with them that contain various properties of the entity.

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

{{el|bedrock}}:
: See [[Bedrock Edition level format/Entity format]]

== Achievements ==
{{load achievements|On A Rail}}

== History ==
{{History|java infdev}}
{{History||20100618|[[File:Minecart JE1.png|32px]] [[File:Minecart (item) JE1.png|32px]] Added minecarts. 
|Minecarts are not rideable but instead are used to store things in.
|Right-clicking minecarts opens them like a [[chest]] (with the container called "Minecart". Filling them up makes the [[dirt]] layer inside them rise.}}
{{History||20100624|[[File:Minecart JE2.png|32px]] [[File:Minecart (item) JE2 BE1.png|32px]] The entity model and item texture of minecarts have been changed.
|The minecart mechanics have been changed to being rideable, removing their ability to store items.
| Minecarts now render a chest inside for unknown reasons.}}
{{History|java alpha}}
{{History||v1.0.4|[[File:Minecart JE3 BE1.png|32px]] Removed the phantom chest from minecarts.
|A [[sitting]] animation for riding minecarts has been added.}}
{{History||v1.0.14|Minecarts are now used to craft [[minecart with furnace]] and [[minecart with chest]].}}
{{History||v1.2.2|Minecarts now appear to other players and can be ridden in multiplayer.
|Minecarts are no longer fully solid - they no longer block movement, and can no longer be stood on top of.}}
{{History|java beta}}
{{History||1.5|Minecarts now break faster with hands.
|[[Powered rail]]s have been introduced, which enables minecarts to move automatically, although previous methods of boosting no longer works, or does not work as effectively.
|The [[detector rail]]s have been introduced for use in detecting minecarts. Prior to this update, carts were detected by using [[pressure plate]]s in line with cart tracks. This had the often undesirable effect of dramatically slowing or even stopping the minecart, which limited the use of this design mostly to boosters.}}
{{History||1.6|snap=Test Build 3|A minecart now transfers any [[Damage#Fall damage|fall damage]] it suffers onto its rider and is not destroyed upon impact.}}
{{History||1.8|snap=Pre-release|If the [[player]] punches a minecart when descending from a jump, it shows the [[Damage#Critical hit|critical hit]] animation. This also happens if the player punches the cart while still in it.}}
{{History|java}}
{{History||1.0.0|snap=Beta 1.9 Prerelease|[[Daniel Rosenfeld|C418]] posted a [[sound]] showing the sound that minecarts make.}}
{{History|||snap=Beta 1.9 Prerelease 6|The texture of minecarts has changed slightly.}}
{{History||1.3.1|snap=12w15a|Minecarts can now be shot out from [[dispenser]]s.}}
{{History|||snap=12w21b|The [[player]] no longer spawns on top/inside of the minecart after getting out. Instead, the player gets out a few [[block]]s away. Also, the player can nudge a stationary minecart while inside it to move onto a [[Powered Rail|powered rail]], etc.}}
{{History||1.4.2|snap=12w38b|[[Sound]]s for minecarts have been added.}}
{{History||1.5|snap=13w02a|Minecarts can now be edited with a third-party program to show any [[block]] inside of it (it does not take on the characteristics of this block), as well as make it take on the characteristics of any cart.
|Minecart types no longer all share the same [[entity]] ID – <code>Minecart</code> – and are no longer distinguished by a <code>Type</code> field. They have been given separate entity IDs.
|Minecarts are now used to craft [[TNT minecart]]s.}}
{{History|||snap=13w03a|Minecarts are now used to craft [[hopper minecart]]s.}}
{{History|||snap=13w06a|Added [[minecart with spawner]].}}
{{History||1.6.2|snap=release|A [[player]] in a moving minecart no longer turns with the minecart.}}
{{History||1.7.2|snap=13w39a|Added [[minecart with command block]].}}
{{History||1.8|snap=14w11a|Minecart physics have been changed - they now go faster and further, can derail at corners if going too fast and refuse to go uphill and they can also (if going fast enough) go over 1 [[block]].
|The collision and position handling of minecarts have been improved.}}
{{History|||snap=14w17a|All changes to old minecart physics used before 14w11a have been reverted.}}
{{History||1.9.1|snap=pre2|Extreme typos in minecarts with hoppers and chests, reading "''container.minecart'''' have been fixed.}}
{{History||1.11|snap=16w32a|The [[entity]] ID has been changed from <code>MinecartRideable</code> to <code>minecart</code>.
|The player's [[hunger]] bar is now visible when riding in a minecart.}}
{{History||1.13|snap=17w47a|Prior to [[Java Edition 1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 328.}}
{{History||1.14|snap=18w43a|[[File:Minecart JE4 BE2.png|32px]] [[File:Minecart (item) JE3 BE2.png|32px]] The textures of minecarts have been changed.}}
{{History|||snap=19w13a|Minecarts now move much slower when pushed along standard [[rail]]s using the W key, even slower on unpowered golden rails, and cannot be pushed off of unpowered golden rails without the [[player]] looking at a certain angle.}}
{{History||1.16|snap=20w09a|Minecart now checks dismount position height against entity height.}}
{{History|||snap=20w16a<!--cannot confirm due to how assets are handled - assuming this due to MC-91163 fix version-->|Minecarts no longer have subtitles for movement.}}
{{History|||snap=20w18a|Mobs in minecarts no longer [[Spawn#Despawning|despawn]].}}
{{History||1.17|snap=20w45a|Minecarts can now move in [[water]].}}
{{History||1.19|snap=22w13a|Minecarts no longer drop when breaking a [[Minecart with Chest|minecart with chest]], [[Minecart with Hopper|hopper]], [[Minecart with Furnace|furnace]], or [[Minecart with TNT|TNT]].<ref>{{bug|MC-249493|||Fixed}}</ref>}}
{{History||1.20|snap=23w16a|Sniffers can now enter [[minecart]]s.}}

{{History|pocket alpha}}
{{History||v0.8.0|snap=build 2|[[File:Minecart JE3 BE1.png|32px]] [[File:Minecart (item) JE2 BE1.png|32px]] Added minecarts.}}
{{History|||snap=build 3|Minecarts now ride smoother.}}
{{History||v0.13.0|snap=build 1|[[Sound]]s for minecarts have been added.}}
{{History|||snap=build 2|Minecarts now stack on top of each other.}}
{{History||v0.14.0|snap=build 1|Minecarts can now be used to craft [[Minecart with Chest|storage]], [[Minecart with TNT|TNT]], and [[Minecart with Hopper|hopper minecart]]s.}}
{{History|bedrock}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Minecart JE4 BE2.png|32px]] [[File:Minecart (item) JE3 BE2.png|32px]] The textures of minecarts have been changed.}}

{{History|console}}
{{History||xbox=TU1|xbone=CU1|ps=1.0|wiiu=Patch 1|switch=1.0.1|[[File:Minecart JE3 BE1.png|32px]] [[File:Minecart (item) JE2 BE1.png|32px]] Added minecarts.}}
{{History||xbox=TU1|xbone=CU1|ps=1.0|wiiu=Patch 1|Minecarts are now twice the speed than in other editions.}}
{{History||xbox=TU12|Minecarts are now slower.}}
{{History||xbox=TU13|ps=1.0|Minecarts are now faster again.}}
{{History||xbox=TU21|xbone=CU9|ps=1.14|The minecart limit has been increased.}}
{{History||xbox=TU31|xbone=CU19|ps=1.22|wiiu=Patch 3|Minecart [[sound]]s have been updated.}}
{{History||xbox=none|xbone=none|ps=1.90|wiiu=none|switch=none|[[File:Minecart JE4 BE2.png|32px]] [[File:Minecart (item) JE3 BE2.png|32px]] The texture of minecarts has been changed.}}

{{History|new 3DS}}
{{History||0.1.0|[[File:Minecart JE3 BE1.png|32px]] [[File:Minecart_(item)_JE2_BE1.png|32px]] Added minecarts.}}
{{History|foot}}

== Issues ==
{{issue list}}

== Trivia ==
* Minecarts appear to float above the track, as their model has no wheels.
* If the player views their inventory while riding in a minecart, they appear sitting down in mid-air.
* The player can teleport to another minecart while sitting in a minecart by right-clicking a minecart in their range. This can be used as an elevator to quickly rise up when minecarts are placed on top of each other.
* If the sound is muted in the options while riding a minecart, and then turned back up, the minecart no longer makes noise in the client until the player exits the minecart.
* If a saddled pig is riding a minecart, the player can ride the pig. Doing so causes the minecart to be able to ride freely at the player's walking speed. It is unknown whether this is a glitch.
* It seems that hunger does not deplete while inactive in a minecart (at least in normal difficulty).
* A minecart (alongside rails and powered rails) are used as Steve's Side-Special in the crossover fighting game Super Smash Bros. Ultimate.

== Gallery ==
<gallery>
Minecart fire pig.png|A pig inside a burning minecart
MinecartInfdev1.png|A Minecart opened in Minecraft Infdev
MinecartInfdev2.png|A Minecart filled in Minecraft Infdev
2ed Spawner Minecart Image and 1st Dispenser cart image.jpg|An image of two [[Minecart with Spawner]]s and unimplemented Minecart with Dispensers.
Minecart with chest and head thing.png|The first image [[Jens Bergensten|Jeb]] released.<ref>{{Tweet|jeb|289000646210904064}}</ref>
Pocket Edition v0.8.0 alpha Development minecarts.png|The first image of minecarts in {{edition|PE}}.
Minecart Booster.png|Minecart booster.
MinecartStack.png|Minecarts being stacked on each other.
Villager minecart.png|Villager in a minecart.
Minecartride.jpg|Player in minecart.
Blocks in Invisible Minecarts.png|Minecarts can be edited to show any block inside, and can also be edited to be invisible.
File:Minecart (Trails and Tales Summer Event) Render.png|A wooden minecart, featured in the [[Trails & Tales Event]].
File:Minecoins 5.png|Two minecarts, as depicted on [[Minecraft Marketplace|Minecoin]] gift cards.
</gallery>

== References ==
{{reflist}}

== External Links ==
*[https://www.minecraft.net/en-us/article/taking-inventory--minecart Taking Inventory: Minecart] – Minecraft.net on September 6, 2019

{{Items}}
{{entities}}

[[Category:Mechanics]]

[[cs:Vozík]]
[[de:Lore]]
[[es:Vagoneta]]
[[fr:Wagonnet]]
[[hu:Csille]]
[[it:Carrello da miniera]]
[[ja:トロッコ]]
[[ko:광산 수레]]
[[nl:Mijnkar]]
[[pl:Wagonik]]
[[pt:Carrinho de mina]]
[[ru:Вагонетка]]
[[th:รถราง]]
[[uk:Вагонетка]]
[[zh:矿车]]</li></ul>
alpha 1.0.5.0Added /effect.
alpha 1.0.5.3The amplifier on /effect can no longer have negative values.
Bedrock Edition
?Max value for <seconds> argument was changed to 32 bit integer limit, although gives effect only at 2040109465 or below.
Advertisement