Minecraft Wiki
Register
Advertisement
Information icon
This feature is exclusive to Bedrock Edition. 

/gametest is a server-side test automation tool that is based on pairing test code with test structures.

Usage[]

A GameTest can be registried in GameTest Framework, which is paired with a structure file (.mcstructure format).

Place a structure block and type the ID (in the format of <testClassName>:<testName>) in it, then execute gametest runthis (or gametest runthese for multiple structure blocks) to run the GameTest in game. Note that the "structure name" in structure block should be the ID of Gametest instead of structure's ID.

gametest run .. can automatically place the structure block with the specified GameTest ID and run this GameTest.

gametest runset ... can automatically run all GameTests in the specified class at the same time.

gametest create .. can place a save mode structure block, a platform made of polished andesite, there-block-thick dirt base, and a command block with a stone button attached on it. It is useful for developer to create a new structure and GameTest.

Syntax[]

gametest runthis
Finds nearest structure block within 15 blocks radius, and then try to run GameTest with the ID specified in the structure block.
gametest run <testName: GameTestName> <stopOnFailure: Boolean> <repeatCount: int> [rotationSteps: int]
gametest run <testName: GameTestName> [rotationSteps: int]
Create a run a specific GameTests.
gametest runthese
Finds structure blocks within 200 blocks radius, and then try to run GameTests with the ID specified in the structure block.
gametest runset [tag: GameTestTag] [rotationSteps: int]
Create and run all GameTests in this class (tag: GameTestTag).
gametest clearall
Clear all GameTests.
gametest create <testName: string> [width: int] [height: int] [depth: int]
Places structure block, command block, and polished andesite platform and dirt base.
gametest pos
Find nearest structure block within 200 blocks radius.
gametest stopall
Manually stops all tests while they are running.
gametest runsetuntilfail [tag: string] [rotationSteps: int]
Runs a set of tests, but will automatically stop if any of the tests fail.

Arguments[]

testName: GameTestName: enum

Specifies a GameTest to run.
Must be an existing Gametest ID.

repeatCount: int: int

Specifies the times the gametest will be repeat.
Must be a 32-bit integer number. And it should greater than 0.

stopOnFailure: Boolean: enum

Specifies whether to continue with the next repetition when current test fails.
Must be a boolean (either true or false).

rotationSteps: int: int

Specifies the angle by which the gametest is rotate.
1 means 90° clockwise; 2 means 180°; 3 means 270° clockwise. Otherwise the gametest won't be rotated.
Must be a 32-bit integer number.

tagTag: GameTestTag: enum

Specifies GameTest class to run.
Must be an existing Gametest class ID.

testName: string: string

Specified a string as gametest ID.
Must be a string. And it must be a single word that has no space or a quoted string.

width: int: int

Specifies x-axis width of the polished andesite platform and of the structure. Defaults to 5.
Must be a 32-bit integer number. And it should be less than or equal to 48.

height: int: int

Specifies y-axis height of the polished andesite platform and of the structure. Defaults to 5.
Must be a 32-bit integer number. And it should be less than or equal to 48.

depth: int: int

Specifies z-axis width of the polished andesite platform and of the structure. Defaults to 5.
Must be a 32-bit integer number. And it should be less than or equal to 48.

History[]

Bedrock Edition
1.16.210
{{Extension DPL}}<ul><li>[[Nether Brick|Nether Brick]]<br/><!--Please do not change "nether brick" to "Nether brick". According to style guide, item names are not proper nouns and should not be capitalized.-->
{{about|the item|the block|Nether Bricks}}
{{Item
| title = Nether Brick
| image = Nether Brick.png
| renewable = Yes
| stackable = Yes (64)
}}

A '''nether brick''' is an [[item]] made by [[smelting]] [[netherrack]] in a [[furnace]], and is used to craft the [[Nether Bricks|nether bricks]] block and its variants. 

== Obtaining ==
=== Smelting ===
Nether brick can be smelted from netherrack.
{{smelting
  |Netherrack
  |Nether Brick
  |0,1
}}

=== Bartering ===
[[Piglin]]s may [[barter]] 2 to 8 nether bricks when given a [[gold ingot]].

== Usage ==
=== Crafting ingredient ===

{{crafting usage|Nether Brick}}

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

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Nether Brick
|spritetype=item
|nameid=netherbrick
|id=523
|form=item
|foot=1}}

== History ==

{{History|java}}
{{History||1.5|snap=13w01a|[[File:Nether Brick JE1 BE1.png|32px]] Added nether brick items.}}
{{History||1.10|snap=16w20a|Nether brick items can now be used to craft [[red nether bricks]].}}
{{History||1.13|snap=17w47a|The ID of nether bricks has been changed from <code>netherbrick</code> to <code>nether_brick</code>.
|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 405.}}
{{History||1.14|snap=18w43a|[[File:Nether Brick JE2 BE2.png|32px]] The texture of nether bricks has been changed.}}
{{History||1.16|snap=20w07a|Nether bricks now have a {{frac|10|109}} (~9.17%) chance of being given by the new [[piglin]]s when [[bartering]], in a stack size of 1–4.}}
{{History|||snap=20w09a|Nether bricks now have a {{frac|20|226}} (~8.84%) chance of being given by piglins when bartering, in a stack size of 1–5.}}
{{History|||snap=20w10a|Nether bricks now have a {{frac|40|411}} (~9.73%) chance of being given by piglins when bartering, in a stack size of 4–16.}}
{{History||1.16.2|snap=20w28a|Nether bricks now have a {{frac|40|459}} (~8.71%) chance of being given by piglins when bartering, in a stack size of 2–8.}}

{{History|pocket alpha}}
{{History||v0.6.0|[[File:Nether Brick JE1 BE1.png|32px]] Added nether brick items.}}
{{History||v0.16.0|snap=build 5|Added nether brick items to the [[Creative]] [[inventory]].<ref name="missing brick">{{Bug|MCPE-16556}}</ref>}}
{{History|pocket}}
{{History||1.1.3|snap=alpha 1.1.3.0|Nether brick items are now used to craft [[red nether bricks]].}}
{{History|bedrock}}
{{History||1.9.0|snap=beta 1.9.0.0|Nether brick items are now used to craft nether brick [[fence]]s.}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Nether Brick JE2 BE2.png|32px]] The texture of nether bricks has been changed.}}
{{History||1.16.100|snap=beta 1.16.100.50|Nether bricks now can be used as fuel for a [[furnace]].<ref>{{bug|MCPE-114216}}</ref>}}
{{History|||snap=beta 1.16.100.54|Nether bricks now have a {{frac|40|459}} (~8.71%) chance of being given by piglins when bartering, in a stack size of 2–8 to match {{el|Java}}.}}
{{History||1.18.30|snap=beta 1.18.30.26|Nether bricks can no longer be used as fuel in a furnace.}}

{{History|console}}
{{History||xbox=TU9|xbone=CU1|ps=1.0|wiiu=Patch 1|switch=1.0.1|[[File:Nether Brick JE1 BE1.png|32px]] Added nether brick items.}}
{{History||xbox=none|xbone=none|ps=1.90|wiiu=none|switch=none|[[File:Nether Brick JE2 BE2.png|32px]] The texture of nether bricks has been changed.}}

{{History|New 3DS}}
{{History||0.1.0|[[File:Nether Brick JE1 BE1.png|32px]] Added nether brick items.}}
{{History|foot}}

== Issues ==

{{issue list}}

== References ==

{{reflist}}

{{items}}

[[cs:Netheritová cihla]]
[[de:Netherziegel (Gegenstand)]]
[[es:Ladrillo del Nether]]
[[fr:Brique du Nether]]
[[hu:Alvilági tégla]]
[[ja:ネザーレンガ (アイテム)]]
[[ko:네더 벽돌 (아이템)]]
[[lzh:焱界磚]]
[[nl:Netherbaksteen (voorwerp)]]
[[pl:Netherowa cegła]]
[[pt:Tijolo do Nether]]
[[ru:Адский кирпич (предмет)]]
[[uk:Пекельна цегла (предмет)]]
[[zh:下界砖]]
[[Category:Renewable resources]]</li><li>[[Obsidian Boat|Obsidian Boat]]<br/>{{for|other uses|Obsidian (disambiguation)}} {{for|other kinds of boats|Boat (disambiguation)}}
{{Joke feature}}
{{ItemEntity
|title=Obsidian Boat
|image=Obsidian Boat.png
|image2=Obsidian Boat (item).png
|stackable=No
|renewable=Yes
}}

The '''obsidian boat''' was a joke [[boat]] variant released in an April Fools' joke version.

== Obtaining ==
=== Crafting ===
{{crafting
|A2 = Obsidian                |C2 = Obsidian
|A3 = Obsidian |B3 = Obsidian |C3 = Obsidian
|Output= Obsidian Boat
|ignoreusage=1
}}

== Usage ==
Obsidian boats sank in [[water]] instead of floating. They also sank in lava like other boats but did not get destroyed in it.

== Sounds ==
Obsidian boats used the Friendly Creatures sound category for entity-dependent sound events, although did not have any sounds of their own.

== Data values ==
=== ID ===
{{ID table
|shownumericids=y
|showforms=y
|generatetranslationkeys=java
|displayname=Obsidian Boat
|spritetype=item
|nameid=obsidian_boat
|id=432
|form=item
|translationkey=item.obsidian_boat.name
|foot=1}}
{{ID table
|shownumericids=y
|generatetranslationkeys=java
|displayname=Obsidian Boat
|spritetype=entity
|nameid=boat
|id=41
|translationkey=entity.Boat.name
|foot=1}}

=== Entity data ===
{{/ED}}

== History ==
{{History|java}}
{{History||1.10|snap=15w14a|link=Java Edition 15w14a|[[File:Obsidian_Boat_(item).png|32px]] [[File:Obsidian Boat.png|32px]] Added the obsidian boat.}}
{{History|foot}}

== Issues ==
Obsidian boat is a joke feature and as such issues relating to them cannot be fixed.

{{Items}}
{{Entities}}
{{Jokes}}

[[Category:Joke items]]
[[Category:Joke entities]]

[[it:Barca di ossidiana]]
[[ja:黒曜石のボート]]
[[pt:Bote de obsidiana]]
[[uk:Обсидіановий човен]]
[[zh:15w14a]]</li></ul>
beta 1.16.210.60Added /gametest.
1.16.220
{{Extension DPL}}<ul><li>[[Cyan Dye|Cyan Dye]]<br/>{{Item
| image = Cyan Dye.png
| renewable = Yes
| stackable = Yes (64)
}}
'''Cyan dye''' is a [[Dyeing#Secondary|secondary dye color]].

== Obtaining ==

=== Crafting ===

{{Crafting
  |head=1
  |showdescription=1
  |showname=0
  |Blue Dye
  |Green Dye
  |Output=Cyan Dye,2
  |type=Material
}}
{{Crafting
  |Lapis Lazuli
  |Green Dye
  |Output=Cyan Dye,2
  |description={{only|bedrock|education}}
  |type=Material
}}
{{Crafting
  |Pitcher Plant
  |Output=Cyan Dye,2
  |description=
  |type=Material
  |foot=1
}}

=== Trading ===

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

== Usage ==

{{dye usage}}

=== Crafting ingredient ===

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

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

=== Trading ===
{{IN|bedrock}}, journeyman-level shepherd villagers have 20% chance to buy 12 cyan dye for an emerald.
{{More info|java=1|Java UI does not use a specific trade slot, which results in a different chance to offer this trade.}}

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

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|showaliasids=y
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Cyan Dye
|spritetype=item
|nameid=cyan_dye
|aliasid=dye / 6
|id=401
|form=item
|translationkey=item.dye.cyan.name
|foot=1}}

== History ==

{{History|java beta}}
{{History||1.2|[[File:Cyan Dye JE1 BE1.png|32px]] Added cyan 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|Cyan 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|||snap=13w41a|[[Stained glass]] can now be crafted.}}
{{History||1.8|snap=14w02a|Due to [[lapis lazuli]] being [[renewable resource|renewable]], cyan dye is also renewable.}}
{{History|||snap=14w30a|Added [[banner]]s, which can be dyed.}}
{{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|Cyan dye is now [[crafting|crafted]] using [[blue dye]], instead of [[lapis lazuli]].
|[[File:Cyan Dye.png|32px]] The texture of cyan dye has now been changed.}}
{{History|||snap=18w44a|Cyan dye can now change the text color on [[sign]]s to cyan.}}
{{History|||snap=19w05a|Added the [[wandering trader]], which sell cyan dyes.}}
{{History|||snap=19w11a|Cyan dye can now be [[trading|bought]] by shepherd villagers.}}
{{History||1.17|snap=20w45a|Cyan dye can now be used to craft [[cyan candle]]s.}}
{{History|||snap=21w19a|Cyan dye can no longer be used to craft cyan candles.}}
{{History|||snap=Pre-release 1|Cyan dye can once again be used to craft cyan candles.}}
{{History||1.20<br>(Experimental)|link=1.19.3|snap=22w42a|Cyan dye can now change the text color on [[hanging sign]]s to cyan.}}
{{History||1.20|snap=23w12a|Added [[pitcher plant]]s, which can be crafted into cyan dye.}}
{{History|||snap=23w14a|[[Pitcher plant]]s now craft into 2 cyan dye instead of 1.}}

{{History|pocket alpha}}
{{History||v0.3.0|[[File:Cyan Dye JE1 BE1.png|32px]] Added cyan dye. It is currently unobtainable and serves no purpose.}}
{{History||v0.4.0|Cyan dye is now craftable with [[lapis lazuli]] and [[cactus green]].
|Cyan dye can now be used to craft cyan wool.}}
{{History||v0.6.0|Cyan dye can now be used to dye [[sheep]].}}
{{History||v0.9.0|snap=build 11|Cyan dye can now be used to craft colored [[terracotta]].}}
{{History||v0.11.0|snap=build 1|Cyan dye can now be used to dye tamed [[wolf]] collars.}}
{{History||v0.14.0|snap=build 1|Cyan dye can now be used to dye water in [[cauldron]]s.}}
{{History|pocket}}
{{History||1.0.0|snap=alpha 0.17.0.1|Cyan dye can now be used to dye [[shulker]]s.}}
{{History||1.1.0|snap=alpha 1.1.0.0|Cyan 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|Cyan 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|Cyan dye can now be used to craft [[balloon|ballons]] and [[glow stick|glow sticks]].}}
{{History||1.8.0|snap=beta 1.8.0.8|Cyan dye can now be used to dye tamed [[cat]] collars.}}
{{History||1.10.0|snap=beta 1.10.0.3|Cyan dye are now [[trading|sold]] by [[wandering trader]]s.
|Cyan dye can now be used to dye white [[carpet|carpets]] and undyed [[glass pane]]s.
|[[File:Cyan Dye.png|32px]] The texture of cyan dye has now been changed.}}
{{History||1.11.0|snap=beta 1.11.0.4|Cyan dye can be [[trading|sold]] to shepherd [[villager]]s.}}
{{History||1.16.100|snap=beta 1.16.100.56|The ID of cyan dye has been changed from <code>dye/6</code> to <code>cyan_dye</code>.}}

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

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

== Issues ==

{{issue list}}

{{Items}}

[[Category:Items]]
[[Category:Dyes]]
[[Category:Renewable resources]]

[[cs:Azurové barvivo]]
[[de:Türkiser Farbstoff]]
[[es:Tinte cian]]
[[fr:Teinture cyan]]
[[hu:Ciánkék festék]]
[[ja:青緑色の染料]]
[[ko:청록색 염료]]
[[nl:Turquoise kleurstof]]
[[pl:Błękitny barwnik]]
[[pt:Corante ciano]]
[[ru:Бирюзовый краситель]]
[[zh:青色染料]]</li><li>[[Beetroot Seeds|Beetroot Seeds]]<br/>{{Block
| group = Age 0
| 1-1 = Beetroots Age 0.png
| 1-2 = Beetroots Age 0 BE.png
| group2 = Age 1
| 2-1 = Beetroots Age 1.png
| 2-2 = Beetroots Age 1 BE.png
| group3 = Age 2
| 3-1 = Beetroots Age 2.png
| 3-2 = Beetroots Age 2 BE.png
| group4 = Age 3
| 4-1 = Beetroots Age 3.png
| 4-2 = Beetroots Age 3 BE.png
|image=Beetroot Seeds JE2 BE2.png
|transparent=Yes
|light=No
|tool=Any
|renewable=Yes
|stackable=Yes (64)
|flammable=No
|lavasusceptible=No
}}
'''Beetroot seeds''' are items that can be used to plant beetroot crops.

'''Beetroot crops''' are planted in [[farmland]] and used to grow [[beetroot]] and beetroot seeds.

== Obtaining ==

=== Natural generation ===
[[Village]] farms have a chance of growing beetroot. The exact chance depends on the village:

{| class="wikitable"
! Village style !! Chance
|-
| {{EnvSprite|desert-village}} Desert || 20%
|-
| {{EnvSprite|plains-village}} Plains || 5%
|}

=== Breaking ===
Harvesting fully-grown beetroot yields from 1 to 4 seeds per crop harvested ({{frac|2|5|7}} seeds per crop harvested on average). The [[Fortune]] enchantment can be used to improve the drop rate.

=== Chest loot ===
{{LootChestItem|beetroot-seeds}}

=== Trading ===

Beetroot seeds are sold by [[wandering trader]]s for one [[emerald]].

== Usage ==

=== Farming ===
Beetroot seeds can be placed on [[farmland]]. After being placed, it goes through four stages of growth. When fully grown it can be broken to produce beetroot seeds and beetroots.

<!-- Java Edition only? -->While beetroot crops have only four growth stages compared to eight for [[wheat]], [[carrot]]s, and [[potato]]es, each growth tick has a {{frac|1|3}} chance of not advancing the growth stage and therefore beetroot grows slightly faster than other crops.

Crops grow faster if the farmland they are planted in is [[Farmland#Hydration|hydrated]]. One application of [[bonemeal]] has a 75% chance of advancing growth by one stage. This is less effective than for other crops: an average of {{frac|5|1|3}} are needed to fully grow beetroot compared to {{frac|2|2|7}} for other crops.

=== Breeding ===
Like other [[seeds]], beetroot seeds can be used to [[breed]] [[chicken]]s, lead chickens around, and make baby chickens grow up faster by 10% of the remaining time.

=== Taming ===

Like other seeds, beetroot seeds can be used to tame [[parrot]]s.

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

=== Trading ===
[[Wandering trader]]s may offer to sell beetroot seeds for one emerald.

== Sounds ==
{{Edition|Java}}:
{{Sound table/Block/Crop/JE}}
{{Edition|Bedrock}}:
{{Sound table/Block/Wood/BE}}

== Data values ==
=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|showblocktags=y
|showforms=y
|generatetranslationkeys=y
|displayname=Beetroots
|spritetype=block
|nameid=beetroots
|blocktags=bee_growables, crops
|form=block}}
{{ID table
|displayname=Beetroot Seeds
|spritetype=item
|nameid=beetroot_seeds
|form=item
|foot=1}}

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|generatetranslationkeys=y
|displayname=Beetroots
|spritetype=block
|nameid=beetroot
|id=244
|form=block
|itemform=item.beetroot}}
{{ID table
|displayname=Beetroot Seeds
|spritetype=item
|nameid=beetroot_seeds
|id=295
|form=item
|foot=1}}

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

== Advancements ==
{{load advancements|A Seedy Place}}

== History ==
{{History|java}}
{{History||1.9|snap=15w31a|[[File:Beetroot Seeds JE1 BE1.png|32px]] Added beetroot seeds.
|[[File:Beetroots Age 0 JE1.png|32px]] [[File:Beetroots Age 1 JE1.png|32px]] [[File:Beetroots Age 2 JE1.png|32px]] [[File:Beetroots Age 3 JE1.png|32px]] Added beetroot crops.
|Beetroot seeds can be found in [[end city]] [[chest]]s.
|Beetroot plants naturally generate in [[village]] farms.
|[[Villager]]s are able to harvest beetroot crops, but they are not yet able to pick up the seeds and plant them.}}
{{History|||snap=15w38a|The [[drop]] chances have been greatly improved from the average {{frac|4|5}} per beetroot crop harvested to 2.
|Villagers are now able to pick up and plant beetroot seeds.}}
{{History|||snap=15w44a|Beetroots now generate in [[dungeon]] and [[mineshaft]] chests.}}
{{History||1.11|snap=16w39a|Beetroot seeds are now found in the new [[woodland mansion]] chests.}}
{{History||1.12|snap=17w18b|Placing a beetroot seeds in farmland now gives the player the "A Seedy Place" [[advancement]].{{verify}}}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], this item's numeral ID was 458 and block's numeral ID was 244.}}
{{History||1.14|snap=18w43a|[[File:Beetroot Seeds JE2 BE2.png|32px]] The texture of beetroot seeds has been changed.
|[[File:Beetroots Age 0 JE2.png|32px]] [[File:Beetroots Age 1 JE2.png|32px]] [[File:Beetroots Age 2 JE2.png|32px]] [[File:Beetroots Age 3 JE2.png|32px]] The textures of beetroot crops have been changed.}}
{{History|||snap=18w49a|Beetroot seeds can now be found in chests in [[snowy tundra]] village houses.}}
{{History|||snap=19w03a|Placing beetroot seeds into the new [[composter]] has a 10% chance of raising the compost level by 1.}}
{{History|||snap=19w05a|Beetroot seeds now have a 30% chance of increasing the compost level in a composter.
|Added [[Wandering Trader|wandering trader]]s, which sell beetroot seeds.}}
{{History||1.15|snap=19w34a|[[Bee]]s can now pollinate beetroot crops.}}
{{History||1.17|snap=21w13a|[[File:Beetroots Age 0 JE3.png|32px]] [[File:Beetroots Age 1 JE3.png|32px]] [[File:Beetroots Age 2 JE3.png|32px]] [[File:Beetroots Age 3 JE3.png|32px]] The "crop" template model has changed such that pixels appear in the same physical positions on opposite sides of texture planes, changing the beetroot crop's appearance in the process.<ref>{{bug|MC-199242|||Fixed}}</ref>}}
{{History||1.18|snap=Pre-release 5|[[File:Beetroot Seeds JE3.png|32px]] The texture of beetroot seeds has been changed.}}
{{History||1.20|snap=23w12a|Beetroot seeds can now be found in [[suspicious gravel]] and [[suspicious sand]] in [[trail ruins]].}}
{{History|||snap=23w16a|Beetroot seeds 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]]; beetroot seeds now are in the common loot.}}

{{History|pocket alpha}}
{{History||November 14, 2013|link=https://twitter.com/jbernhardsson/status/400902957782147072|[[Johan Bernhardsson]] previewed an image of beetroot seeds.}}
{{History||v0.8.0|snap=build 2|[[File:Beetroot Seeds JE1 BE1.png|32px]] Added Beetroots seeds.
|[[File:Beetroots Age 0 JE1 BE1.png|32px]] [[File:Beetroots Age 1 JE1 BE1.png|32px]] [[File:Beetroots Age 2 JE1 BE1.png|32px]] [[File:Beetroots Age 3 JE1 BE1.png|32px]]{{verify|Correct models?}} Added Beetroots crops.}}
{{History|||snap=build 3|Beetroots seeds now have a chance of dropping when tilling [[grass block]]s.}}
{{History||v0.11.0|snap=build 1|"Beetroots seeds" have been renamed to "Beetroot Seeds" and the capitalization has now also been fixed.<ref>{{bug|MCPE-7953|||Fixed}}</ref>}}
{{History||v0.12.1|snap=build 1|Beetroot seeds no longer have a chance of dropping when tilling [[grass block]]s.}}
{{History||v0.14.0|snap=build 1|Beetroot seeds can now be found in [[minecart with chest]]s inside of [[mineshaft]]s.}}
{{History||v0.16.2|Beetroot seeds can now be found in [[chest]]s inside the large house in [[ice plains]] and [[cold taiga]] [[village]]s.}}
{{History|pocket}}
{{History||1.0.0|snap=alpha 0.17.0.1|Beetroot seeds can now be found in the [[chest]]s of [[dungeon]]s and [[end city|end cities]].}}
{{History||1.1.0|snap=alpha 1.1.0.0|Beetroot seeds can now be found in [[woodland mansion]] chests.}}
{{History|bedrock}}
{{History||1.2.0|snap=beta 1.2.0.2|Beetroot seeds can now be found inside [[bonus chest]]s.
|Beetroot seeds can now be used to tame [[parrot]]s.}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Beetroot Seeds JE2 BE2.png|32px]] The texture of beetroot seeds has been changed.
|[[File:Beetroots Age 0 JE2.png|32px]] [[File:Beetroots Age 1 JE2.png|32px]] [[File:Beetroots Age 2 JE2.png|32px]] [[File:Beetroots Age 3 JE2.png|32px]]{{verify|Correct models?}} The textures of beetroot crops have been changed.
|Beetroot seeds are now [[trading|sold]] by the new [[wandering trader]]s.}}
{{History||1.11.0|snap=beta 1.11.0.1|Beetroot seeds can now be used to fill the [[composter]].
|Beetroot seeds can now be found in [[snowy tundra]] [[village]] house [[chest]]s.}}
{{History||1.14.0|snap=beta 1.14.0.1|[[Bee]]s can now pollinate beetroot crops.}}
{{History||?|[[File:Beetroots Age 0 BE.png|32px]] [[File:Beetroots Age 1 BE.png|32px]] [[File:Beetroots Age 2 BE.png|32px]] [[File:Beetroots Age 3 BE.png|32px]] Potato crop planes use a mapping that results in very unnatural mirroring when viewed from certain angles, such as northwest.<ref>{{bug|MCPE-146936}}</ref>}}

{{History|console}}
{{History||xbox=TU43|xbone=CU33|ps=1.36|wiiu=Patch 13|[[File:Beetroot Seeds JE1 BE1.png|32px]] Added beetroot seeds.
|[[File:Beetroots Age 0 JE1 BE1.png|32px]] [[File:Beetroots Age 1 JE1 BE1.png|32px]] [[File:Beetroots Age 2 JE1 BE1.png|32px]] [[File:Beetroots Age 3 JE1 BE1.png|32px]]{{verify|Correct models?}} Added beetroot crops.}}
{{History||xbox=none|xbone=none|ps=1.90|wiiu=none|switch=none|[[File:Beetroot Seeds JE2 BE2.png|32px]] The texture of beetroot seeds has been changed.
|[[File:Beetroots Age 0 JE2.png|32px]] [[File:Beetroots Age 1 JE2.png|32px]] [[File:Beetroots Age 2 JE2.png|32px]] [[File:Beetroots Age 3 JE2.png|32px]]{{verify|Correct models?}} The textures of beetroot crops have been changed.}}

{{History|New 3DS}}
{{History||0.1.0|[[File:Beetroot Seeds JE1 BE1.png|32px]] Added beetroot seeds.
|[[File:Beetroots Age 0 JE1 BE1.png|32px]] [[File:Beetroots Age 1 JE1 BE1.png|32px]] [[File:Beetroots Age 2 JE1 BE1.png|32px]] [[File:Beetroots Age 3 JE1 BE1.png|32px]]{{verify|Correct models?}} Added beetroot crops.}}
{{History|foot}}

== Issues ==

{{issue list}}

== Gallery ==

<gallery>
Beetrootstwitpic.png|The first image released of beetroot seeds.
Village Wheat Beetroot Farm.png|Beetroots generated in a [[village]].
File:Beetroot farm.png|A beetroot garden.
</gallery>

== References ==
<references />

{{Blocks|vegetation}}
{{Items}}

[[Category:Plants]]
[[Category:Food]]
[[Category:Generated structure blocks]]
[[Category:Non-solid blocks]]

[[cs:Semínka červené řepy]]
[[es:Semillas de remolacha]]
[[fr:Graines de betterave]]
[[it:Semi di barbabietola]]
[[ja:ビートルートの種]]
[[ko:비트 씨앗]]
[[nl:Bietenzaden]]
[[pl:Nasiona buraka]]
[[pt:Sementes de beterraba]]
[[ru:Семена свёклы]]
[[th:เมล็ดบีตรูท]]
[[zh:甜菜种子]]</li></ul>
1.16.220.02Added stopOnFailure: Boolean and repeatCount: int into /gametest run ....
1.17.0
{{Extension DPL}}<ul><li>[[Hopper|Hopper]]<br/>{{About|the block|the crash utility|Hopper (crash utility)}}
{{Block
|image=<gallery>
Hopper (D).png|Java
Hopper (D) BE.png|Bedrock
</gallery>
|extratext = View [[#Gallery|all renders]]
|transparent=Yes
|light=No
|tool=wooden pickaxe
|renewable=Yes
|stackable=Yes (64)
|flammable=No
|lavasusceptible=No
}}
A '''hopper''' is a low-capacity storage [[block]] that can be used to collect [[item (entity)|item entities]] directly above it, as well as to transfer [[item]]s into and out of other containers. A hopper can be locked with [[Redstone Dust|redstone power]] to stop it from moving items into or out of itself.

== Obtaining ==
=== Breaking ===
To obtain a hopper, {{control|mine}} it with a [[pickaxe]]. Using any other item to mine a hopper drops only its contents.
{{breaking row|horizontal=1|Hopper|Pickaxe|Wood|foot=1}}

===Crafting===
A hopper can be crafted from 5 iron ingots and a chest.
{{Crafting
|A1= Iron Ingot
|C1= Iron Ingot
|A2= Iron Ingot
|B2= Chest
|C2= Iron Ingot
|B3= Iron Ingot
|Output= Hopper
|type= Redstone
}}

==Usage==
{{see also|Tutorials/Hopper}}
[[File:Hopper aligment.png|Hoppers can face down or sideways.|thumb]]

A hopper can be used as a container, as a crafting ingredient, and as a redstone component.

A hopper has an "output" tube at its bottom that can face down or sideways and provides a visual indication of which block the hopper is set up to drop its items into, if that block has an inventory. To place a hopper, use the {{control|Place Block}} control while aiming at the surface to which its output should face (Hoppers ''do not'' orient themselves automatically). To place a hopper directly on the face of an already interactable block, the player can {{control|sneak}} while placing the hopper. Attempting to place a hopper aimed on the bottom face of a block instead faces downward. With some blocks, such as the [[furnace]] and [[brewing stand]], the hopper has multiple uses. A hopper does not change direction after placement, and it is not attached to the container it faces; the container can be removed or replaced, and the hopper remains unchanged.

Hoppers cannot be moved by [[piston]]s.{{only|java}} Despite not being a solid block, attached blocks such as [[rail]]s, [[lever]]s, [[tripwire]] and [[redstone]] dust can be placed on top of hoppers, but not on their sides.

===Container===
[[File:Hopper GUI.png|thumb|176px|Hopper GUI showing the hopper's five slots of inventory at the top and the player's inventory below.]]

A hopper can be used as a container and has 5 slots of inventory space.

To open the hopper GUI, use the {{control|use item|text=Use Item/Place Block}} [[control]]. To move items between the hopper inventory and the player inventory or hotbar while the hopper GUI is open, drag or shift-click the items. To exit the hopper GUI, use the {{key|Esc}} key, B button or circle button, depending on the device.

By default, the GUI of a hopper is labeled "Item Hopper". A hopper's GUI label can be changed by naming the hopper in an [[anvil]] before placing it, or, {{in|java}}, by using the [[Commands#data|data]] command (for example, to label a hopper at (0,64,0) "Steve's Hopper", use <code>/data merge block 0 64 0 {CustomName:'"Steve's Hopper"'}</code>).

{{IN|java}}, a hopper's GUI can be "locked" (or subsequently unlocked) by setting the hopper's <code>Lock</code> tag with the [[Commands#data|data]] command. If a hopper's <code>Lock</code> tag is not blank, the hopper cannot be accessed except by players holding an item with the same name as the <code>Lock</code> tag's text. For example, to lock a hopper at (0,64,0) so that only players holding an item named "Steve's Key" can access the hopper, use <code>/data merge block 0 64 0 {Lock:"Steve's Key"}</code>.

===Crafting ingredient===
A hopper can be used to craft a [[minecart with hopper]].
{{crafting usage}}

===Redstone component===
{{see also|Redstone circuit|Redstone components#Hopper}}
[[File:Hopper logic flowchart.png|thumb|Flowchart of hopper logic]]

While a hopper is ''not'' powered by redstone signals, it operates with three functions:

*'''Collect''' [[Item (entity)|item entities]] (free-floating items in the world) into its inventory from the space above it
*'''Pull''' a single item into its inventory from a container above it
*'''Push''' a single item from its own inventory into a container it faces

A hopper first attempts to push any items inside it. Afterward, it checks if the block above it is a type of container. If so, it attempts to pull from it. Otherwise, the hopper attempts to collect item entities. Notably, hoppers can push to and pull from other hoppers, forming '''hopper pipes''' or '''hopper chains''', which allow transporting items across several blocks and are further discussed below.

====Redstone signals====
When a hopper receives a redstone signal (and is considered to be "activated"), all three functions stop. To avoid confusion over the terms "activated" and "deactivated", powered hoppers are often described as being '''locked''' and unpowered hoppers described as being '''unlocked'''. Hoppers can be powered by [[Redstone_mechanics#Power|soft powered]] blocks, meaning a [[redstone dust]] trail pointing into a block touching the hopper locks it just as effectively as a [[redstone block]] or any other [[Redstone components#Power components|power component]] touching the hopper. When the hopper is unlocked during a redstone tick, it does not push or pull/collect during the same tick, but has a delay of 1 redstone tick instead.

While a locked hopper does not push or pull/collect items, it may still receive items from [[dispenser]]s, [[dropper]]s and other hoppers, and may have its items pulled out by another hopper beneath it. Hence, the item flow in a horizontal hopper pipe may be stopped by locking just one of the hoppers, but stopping a vertical hopper pipe requires locking two adjacent hoppers at the same time, such that both the pushing of the top one and the pulling of the bottom one are stopped.  

A hopper does not output any redstone signals by itself, but its fullness can be read using a [[Redstone Comparator|redstone comparator]], which needs to be placed next to it and facing away from it. An empty hopper outputs a signal strength of 0 and a completely full hopper outputs a signal strength of 15. Notably, a single stackable item (16 or 64) outputs a signal strength of 1 and a single non-stackable item outputs a signal strength of 3.  

{{IN|Java}}, if the hopper being read is part of a horizontal hopper pipe, the comparator can individually read each item passing through the chain, because items are pushed through the hoppers one by one at a speed that is manageable by the comparator. If there is an uninterrupted stream of items, the comparator does not switch off in between items. On the other hand, in a vertical hopper pipe, some of the hoppers may never produce a reading above 0, even with a continuous stream of items, because pushes and pulls both occur in the same game tick: The hoppers' items get pulled out a single game tick after they're pushed in and this isn't measurable by a comparator, because comparators need measurements lasting at least 1.5 redstone ticks to produce a reading.  

====Collecting items====
A hopper collects items dropped on top of it if the space above the hopper not occupied by a storage block. Items are gathered from the entire 1 block space above the hopper, meaning that items sitting on partial blocks such as [[soul sand]] directly above a hopper can be collected.<ref>https://bugs.mojang.com/browse/MCPE-55824</ref> It is also possible for a hopper to collect items from inside a full, solid block, a situation that might come from items rising up through solid blocks or being [[commands/summon|summoned]]. Item entities are not collected when they are outside of the collection area however; for example, items on top of a stone block directly above a hopper are not collected. Collected items are placed in the leftmost empty slot of a hopper's inventory.

{{IN|java}}, if there is no container above the hopper, then the hopper collects dropped items in the order in which they landed on the hopper. This order is remembered even while a hopper is locked. For instance, if a hopper is locked under a carpet while a fully equipped [[armor stand]] is broken above it, then it always collects items in this order when it is unlocked: [[armor stand]], [[boots]], [[leggings]], [[chestplates]], [[helmets]]. This is due to the order in which these items land.{{Verify|Wouldn't this be due to the order in which the game creates the item entities that drop drop from the armor stand?}} {{IN|Bedrock}}, hoppers do not remember the order in which items land on the hopper. Instead, hoppers with multiple dropped items above them collect the items in the order in which they entered the chunk in which the hopper is located. Items that drop from a broken armor stand are collected in a random order.<ref>https://bugs.mojang.com/browse/MCPE-120586</ref>

Hoppers usually check for dropped items every [[game tick]] and they can collect items even before they are picked up by a [[player]]{{Verify|Does this happen always, or sometimes, and in Java only or also in Bedrock?}} or destroyed by [[lava]]. However, {{In|Bedrock}} hoppers have a "collection cooldown" time. After collecting an item (or stack of items), a hopper waits {{tooltip|4 redstone ticks|8 game ticks}} (0.4 seconds, barring lag) before attempting to collect again.

Hoppers collect groups of items all at once rather than collecting them as single items one at a time. As a result, hoppers can collect item entities much faster than they can pull items from a container. Pulling from a moving [[minecart with chest]] or [[minecart with hopper]] is even slower, since the minecart is not always above the hopper.

====Pushing and pulling items====
A hopper with a storage container above it (such as a [[furnace]], [[chest]], [[dropper]], [[composter]], or another hopper) attempts to pull from the container instead of checking for floating items above it, and hence can not collect items.  A hopper always tries to push or pull items using the leftmost available slot. When a hopper is removing items from a chest, the items disappear from left to right. Similarly, when filling up a chest, the chest fills up from left to right. Hoppers prioritize pulling from the first slot of a container over pulling into the first hopper slot. If a hopper has stone in its first slot and nothing in its second while the container it is pulling from has chicken in its first slot but stone in the second, the hopper pulls the chicken from the first slot of the container into its empty second slot. However, if the hopper is unable to pull the chicken, such as if all slots are filled with stone, the hopper pulls the stone from the second slot of the container instead. Similarly, hoppers prioritize pushing from their first slot over pushing into the first slot of a container. If a hopper has stone in its first slot and chicken in its second while the container it is pushing to has chicken it its first slot but stone in the second, the hopper pushes stone from its first slot into the second slot of the container.

In [[Java Edition]] the checks done by a hopper while pulling generally require less processing than the checks done by a hopper attempting collection. Therefore, a chain of hoppers topped with storage containers rather than air/solid blocks has better performance (measured as milliseconds of processing per tick) and lower potential for processing lag. <ref name=":0">https://www.youtube.com/watch?v=LC3ZOOI1Rf0</ref> The performance improvement achieved is correlated with the number of storage slots the container has. Placing composters (with no storage slots but still with custom output logic) on top of hoppers provide the greatest efficiency, while double chests actually degrade performance, even when sharing each double chest across two hoppers.<ref name=":0" /> In [[Bedrock Edition]] a chain of hoppers with air or non-container blocks on top has better performance than a chain of hoppers topped by container blocks.<ref>https://cdn.discordapp.com/attachments/715523208530362389/890030941282631741/Redstone_MSPT_measure.xlsx</ref> This may be because, even though hoppers with containers on top do not check for items, they do check for hopper-minecarts and chest-minecarts to pull from, and that involves scanning the chunk entity list.<ref>{{bug|MCPE-109449}}</ref>

{{Schematic|caption='''Push then Pull'''
Chest A is full of items while the hopper and Chest B are empty.
|ch-$+A||-
|ho-$e|ch-$+B
}}

Item pushes and pulls are processed in the same game tick, but pushes are processed before pulls. In the schematic, the empty hopper first pulls an item from chest A as it cannot push anything into chest B. After the cooldown, the hopper first pushes its item into chest B before pulling another item from chest A, both pushing and pulling in the same tick, and the process repeats. The hopper stops pulling when A is empty, and stops pushing when B becomes full.

Hoppers also have a "transfer cooldown" time. After pulling and/or pushing items, a hopper waits {{tooltip|4 redstone ticks|8 game ticks}} (0.4 seconds, barring lag) before pulling or pushing again (a transfer rate of 2.5 items per second, barring lag). A hopper that has an item pushed into it from another hopper also starts a 4 tick cooldown period, regardless of whether it pushed or pulled items itself. Item entities can be collected at any time without affecting the transfer cooldown time. The transfer cooldown and the Bedrock Edition collection cooldown are independent of each other.

====Container interactions====
Some [[container]]s interact with hoppers in specific ways:

:;{{BlockLink|Composter}}
::Hoppers above composters can push compostable items into the composter's top face with a chance of increasing the level of the composter as if the player used the item on the composter. Items that are not compostable cannot be pushed into the composter. Hoppers below the composter can pull [[bone meal]] when the composter is in stage 8, emptying the composter and resetting it to stage 0. Hoppers to the side of a composter do not interact with it.

:;{{BlockLink|Brewing Stand}}
::A working hopper on the top face of a brewing stand deposits only into the ingredient slot and it can push only valid [[brewing]] ingredients. A hopper on side face of a brewing stand can deposit only [[blaze powder]] or filled bottles into the three brew slots. A hopper underneath a brewing stand always extracts from the three brew slots, whether brewing is finished or not—The hopper must be locked to allow potions to finish brewing.

:;{{BlockLink|Chest}}
:;{{BlockLink|Trapped Chest}}
::Large chests and large trapped chests are treated as a single container: A hopper depositing into a large chest fills up the entire chest and a hopper underneath a large chest empties the entire chest. Trapped chests being accessed by a player lock any adjacent hoppers, per the standard behavior of a hopper next to an active power source.

:;{{BlockLink|Furnace}}
:;{{BlockLink|Blast Furnace}}
:;{{BlockLink|Smoker}}
::A working hopper pointing into top of a furnace deposits only into the ingredient slot. It can push any item, including items that can't be smelted by the furnace. A hopper pointing into the side of a furnace deposits into the fuel slot, and only items that are usable as fuel. A hopper below a furnace pulls everything from the output slot and empty [[bucket]]s from the fuel slot left over from using [[lava bucket]]s as fuel. When a hopper removes items from a furnace, the experience points are 'stored' in the furnace until a player removes at least one smelted item, or the furnace block is broken.

:;{{BlockSprite|Hopper}} Hopper
::A sequence of three or more hoppers, each pushing items into the next, is called a '''hopper pipe'''. Working horizontal hopper pipes simply push items into each other at the expected rate of 2.5 items per second, but vertical hopper pipes are more complicated, as the hoppers are trying both to pull and to push. When a vertical pipe pulls from a single container, it simply transfers items at 2.5 items per second because the transfer rate is limited by the first hopper pulling items from the container. If a ''stack of items'' is in a vertical pipe, the items can be transferred twice as fast, because the hopper with the item stack is pushing items down while the hopper below it is also pulling items down.

:;{{EntityLink|Minecart with Chest}}
:;{{EntityLink|Minecart with Hopper}}
::Unlocked hoppers fill chest minecarts and hopper minecarts if any part of the entity's hitbox is within the hopper's target block-space. Hopper minecarts try to pull items from the hopper at high speed. Hoppers can pull items from minecarts above them so rails can be placed directly on the top faces of a hoppers. If a [[detector rail]] is in the right position, it could lock the hopper per standard redstone-hopper behavior.

:;{{BlockLink|Jukebox}}
::Hoppers can insert [[music disc]]s into jukeboxes, and extract the music discs after they finish playing.

:;{{BlockLink|Shulker Box}}
::Hoppers cannot put shulker boxes into other shulker boxes. This allows for the creation of certain [[Tutorials/Hopper#Potions and shulker boxes|item filters]].
::Otherwise, hoppers interact with shulker boxes normally.

:;{{BlockLink|Lectern}}
::Hoppers cannot remove or place books on lecterns. The redstone pulse emitted from a lectern when a page is turned can temporarily lock hoppers.

:;{{BlockLink|Ender Chest}}
::Hoppers cannot interact with ender chests in any way.

:;{{BlockLink|Barrel}}
:;{{BlockLink|Dispenser}}
:;{{BlockLink|Dropper}}
:;{{EntityLink|Boat with Chest}}
::Hoppers interact normally with barrels, dispensers, droppers, and boats with chests.

:;{{BlockLink|Chiseled Bookshelf}}
::Hoppers and minecart with hoppers can insert and remove books from the bookshelf. As with any other container, items are taken from the first slot that has an item that can fit in the hopper and are inserted into the first empty slot.

==Sounds==
===Generic===
{{Sound table/Block/Metal}}
===Unique===
{{Edition|Java}}:
{{Sound table
|sound=Door close.ogg
|sound2=Door open.ogg
|subtitle=Chest locked<ref group=sound name=lock>{{Bug|MC-98316||Wrong subtitles caused by missing distinction}}</ref>
|source=block
|description=When a player attempts to open a hopper locked using the {{nbt|string|Lock}} tag
|id=block.chest.locked|idnote=<ref group=sound name=lock/>
|translationkey=subtitles.block.chest.locked|translationkeynote=<ref group=sound name=lock/>
|volume=1.0
|pitch=1.0
|distance=16
|foot=1}}

{{Edition|Bedrock}}: ''None''

==Data values==
===ID===
{{edition|java}}:
{{ID table
|edition=java
|showforms=y
|generatetranslationkeys=y
|displayname=Hopper
|spritetype=block
|nameid=hopper
|foot=1}}
{{ID table
|displayname=Block entity
|spritename=hopper
|spritetype=block
|nameid=hopper
|foot=1}}

{{edition|bedrock}}: 
{{ID table
|edition=bedrock
|firstcolumnname=Hopper
|shownumericids=y
|showforms=y
|generatetranslationkeys=y
|displayname=Block
|spritename=hopper
|spritetype=block
|nameid=hopper
|id=154
|form=block
|itemform=item.hopper}}
{{ID table
|displayname=Item
|spritename=hopper
|spritetype=item
|nameid=hopper
|id=527
|form=item
|translationkey=tile.hopper.name
|foot=1}}
{{ID table
|notnamespaced=y
|displayname=Block entity
|spritename=hopper
|spritetype=block
|nameid=Hopper
|foot=1}}

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

{{/BS}}

===Block data===
A hopper has a block entity associated with it that holds additional data about the block.

{{el|java}}:
{{see also|Block entity format}}
{{/BE}}

{{el|bedrock}}:
:See [[Bedrock Edition level format/Block entity format]].

==Achievements==
{{load achievements|Freight Station;Smelt Everything}}

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

==History==
{{History|java}}
{{History||1.5|snap=13w01a|[[File:Hopper (D) JE1.png|32px]] [[File:Hopper (N) JE1.png|32px]] [[File:Hopper (E) JE1.png|32px]] [[File:Hopper (S) JE1.png|32px]] [[File:Hopper (W) JE1.png|32px]] [[File:Hopper (U) JE1.png|32px]] Added hoppers.
|Hoppers with the [[damage]] value of 1, which are obtainable only through world editing, visually point in no direction. They functionally push items upward, however the behavior is inconsistent.
|[[File:Hopper (item) JE1.png|32px]] There is currently a temporary "work in progress" sprite for hoppers in the [[inventory]].
|Hoppers can be [[crafting|crafted]] from a [[chest]] and [[stone]] blocks with the following recipe:
{{{!}} class{{=}}"collapsible collapsed"
! Recipe
{{!}}-
{{!}}
{{Crafting Table
  |A1= Stone
  |C1= Stone
  |A2= Stone
  |B2= Chest
  |C2= Stone
  |B3= Stone
  |Output= Hopper
}}
{{!}}}
}}
{{History|||snap=13w01b|[[Rail]]s can now be placed on top of hoppers. 
|Hoppers no longer load [[item]]s into [[minecart]]s without [[chest]]s.}}
{{History|||snap=13w02a|[[File:Hopper (item) JE2 BE1.png|32px]] The [[inventory]] sprite of hoppers has been changed.
|[[File:Hopper (item) 13w02a.png|32px]] However, the [[item]] of hoppers appears bugged if [[drops|dropped]] or placed in an [[item frame]].<ref>{{bug|MC-6737}}</ref> This may be due to the game attempting to pull the item sprite from the hopper's equivalent spot in <samp>[[stitched_terrain.png]]</samp> (compare files: [[:File:13w02a stitched terrain.png|terrain]], [[:File:13w02a stitched items.png|items]]), a region which contains parts of the oak planks, end stone and iron bars textures.
|Applying a [[redstone]] signal to a hopper now deactivates the hopper until the signal is removed.
|Hoppers can no longer be used as [[fuel]] in a [[furnace]].
|Hoppers are now [[crafting|crafted]] using 5 [[iron ingot]]s rather than 5 [[stone]] blocks.
{{{!}} class{{=}}"collapsible collapsed"
! Recipe
{{!}}-
{{!}}
{{Crafting
|A1= Iron Ingot
|C1= Iron Ingot
|A2= Iron Ingot
|B2= Chest
|C2= Iron Ingot
|B3= Iron Ingot
|Output= Hopper
}}
{{!}}}
|Hoppers now pull only from the output slot of [[furnace]]s.
|Hoppers now output 1 signal strengh per 1/3 of a stack (21 [[item]]s) when interacting with a [[redstone comparator]].
|[[File:Hopper (D) JE2.png|32px]] [[File:Hopper (N) JE2.png|32px]] [[File:Hopper (E) JE2.png|32px]] [[File:Hopper (S) JE2.png|32px]] [[File:Hopper (W) JE2.png|32px]] [[File:Hopper (U) JE2.png|32px]] The texture of hoppers has been given a unique texture. Hoppers no longer use the [[cauldron]] texture. Note that the top texture does not rotate with facing direction.
|The preferred tool is now a pickaxe, rather than the axe.}}
{{History|||snap=13w02b|Hoppers now treat large [[chest]]s properly, no longer needing two hoppers connected to them to fill up the entire [[inventory]].
|Hoppers no longer take [[item]]s from containers when powered via a [[redstone]] current.
|Hoppers now display correctly as a [[drops|dropped]] or [[item frame|frame]] [[item]].}}
{{History|||snap=13w03a|Hoppers are now used to [[crafting|craft]] a [[minecart with hopper]].
|Hoppers can now empty a [[minecart with hopper]].}}
{{History|||snap=13w04a|The transfer rate of hoppers has been changed from 7 to 8 [[game tick]]s per [[item]] (2.5 items per second).}}
{{History||1.5.1|snap=pre|Hoppers now take empty [[bucket]]s out of furnace fuel slots.}}
{{History||1.7.2|snap=release|[[File:Hopper (D) JE3.png|32px]] [[File:Hopper (N) JE3.png|32px]] [[File:Hopper (E) JE3.png|32px]] [[File:Hopper (S) JE3.png|32px]] [[File:Hopper (W) JE3.png|32px]] [[File:Hopper (U) JE3.png|32px]] The UV of all blocks is broken on certain sides as a result of {{bug|MC-37106}} (few cases are listed on the wiki so far - this is a future project). This includes hoppers.}}
{{History||1.7.4|snap=13w47a|[[File:Hopper (D) JE4.png|32px]] [[File:Hopper (N) JE4.png|32px]] [[File:Hopper (E) JE4.png|32px]] [[File:Hopper (S) JE4.png|32px]] [[File:Hopper (W) JE4.png|32px]] [[File:Hopper (U) JE4.png|32px]] MC-37106 has been fixed, reverting hoppers to their pre-1.7.2 appearences.}}
{{History|||snap=13w48a|This version fixed {{bug|MC-190}}, which hoppers were allegedly subject to since their introduction. However, a comparison of hopper UV in 13w02a and 14w08a failed to reveal any visible differences, even accounting for the example images on the ticket. More research is needed on this matter.}}
{{History||1.8|snap=?|Hoppers no longer generate [[multiplayer]] lag when idle.}}
{{History|||snap=14w10a|[[File:Hopper (D) JE5.png|32px]] [[File:Hopper (N) JE5.png|32px]] [[File:Hopper (E) JE5.png|32px]] [[File:Hopper (S) JE5.png|32px]] [[File:Hopper (W) JE5.png|32px]] [[File:Missing Model JE2.png|32px]] Hoppers now use block models rather than having a hardcoded shape. This brings multiple changes: the inside texture now rotates with the hopper rather than being constant, the inside planes of hoppers are now shaded/have ambient occlusion, and some minor UV changes have occurred, notably on the smallest cuboid. The directionless hopper also [[Missing model|no longer has a model]].}}
{{History|||snap=14w26a|The directionless hopper has been removed.}}
{{History|||snap=14w31a|Hoppers now no longer use wood [[sound]]s.<ref>{{bug|MC-5991}}</ref>}}
{{History||1.9|snap=15w33c|A hopper now generates as a part of the [[end ship]] in the [[end city|end cities]].}}
{{History|||snap=15w41a|End ships no longer contain a hopper.}}
{{History|||snap=15w43a|[[Loot table]]s have been added; hoppers can now use loot tables.}}
{{History|||snap=15w43c|[[File:Hopper (D) JE6.png|32px]] [[File:Hopper (N) JE6.png|32px]] [[File:Hopper (E) JE6.png|32px]] [[File:Hopper (S) JE6.png|32px]] [[File:Hopper (W) JE6.png|32px]] The UV on the hopper model has changed, resulting in minor differences, particularly to the smallest cuboid. This is likely due to the fix for {{bug|MC-73401}}.}}
{{History|||snap=15w44a|[[File:Hopper (D) JE7.png|32px]] [[File:Hopper (N) JE7.png|32px]] [[File:Hopper (E) JE7.png|32px]] [[File:Hopper (S) JE7.png|32px]] [[File:Hopper (W) JE7.png|32px]] A mapping issue introduced in the previous snapshot for the sides of the large funnel region has been fixed. This may be due to the fix for {{bug|MC-50344}}.}}
{{History||1.9.1|snap=pre1|A hopper can now push into and pull [[item]]s from a blocked [[chest]].}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], this [[block]]'s numeral ID was 154.}}
{{History||1.14|snap=18w43a|[[File:Hopper (D) JE8.png|32px]] [[File:Hopper (N) JE8.png|32px]] [[File:Hopper (E) JE8.png|32px]] [[File:Hopper (S) JE8.png|32px]] [[File:Hopper (W) JE8.png|32px]]<br>[[File:Hopper (item) JE3 BE2.png|32px]] The textures of hoppers have been changed.}}
{{History|||snap=19w03c|Hoppers now use correct cullface arguments, and some redundant faces have also been deleted.}}
{{History||1.19|snap=22w13a|Hoppers no longer drop when breaking a [[minecart with hopper]].}}
{{History||1.19.4|snap=23w07a|Hoppers can now interact with jukeboxes.}}

{{History|pocket alpha}}
{{History||v0.14.0|snap=build 1|[[File:Hopper (D) JE2.png|32px]]{{verify|Is this model correct?}}<br>[[File:Hopper (item) JE2 BE1.png|32px]] Added hoppers. Upward hoppers also exist.}}
{{History||v0.15.0|snap=build 1|Hoppers can now be moved by [[piston]]s.}}
{{History|bedrock}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Hopper (D) BE.png|32px]] [[File:Hopper (N) BE.png|32px]] [[File:Hopper (E) BE.png|32px]] [[File:Hopper (S) BE.png|32px]] [[File:Hopper (W) BE.png|32px]] [[File:Hopper (U) BE.png|32px]]<br>[[File:Hopper (item) JE3 BE2.png|32px]] The textures of hoppers have been changed.}}
{{History||1.19.70|snap=beta 1.19.70.20|Hoppers can now collect items through all blocks that have a lower height than a full block.}}

{{History|console}}
{{History||xbox=TU19|xbone=CU7|ps=1.12|wiiu=Patch 1|switch=1.0.1|[[File:Hopper (D) JE2.png|32px]]{{verify|Is this model correct?}}<br>[[File:Hopper (item) JE2 BE1.png|32px]] Added hoppers.}}
{{History||xbox=none|xbone=none|ps=1.90|wiiu=none|switch=none|[[File:Hopper (D) JE8.png|32px]]{{verify|Is this model correct?}}<br>[[File:Hopper (item) JE3 BE2.png|32px]] The textures of hoppers have been changed.}}
{{History||ps=1.91|Hoppers can now fill [[composter]]s.}}

{{History|new 3ds}}
{{History||0.1.0|[[File:Hopper (D) JE2.png|32px]]{{verify|Is this model correct?}}<br>[[File:Hopper (item) JE2 BE1.png|32px]] Added hoppers.}}
{{History|foot}}

==Issues==
{{Issue list}}

==Trivia==
* A [[wikipedia:Hopper (particulate collection container)|real-world hopper]] is a large, pyramidal or cone-shaped container used in industrial processes to hold particulate matter, like dust, gravel, nuts, seeds, etc., and can then dispense them from the bottom.
* A hopper can transfer 9000 items per hour, or 150 items per minute.

==Gallery==
=== Renders ===
<gallery>
Hopper (N).png
Hopper (E).png
Hopper (S).png
Hopper (W).png
</gallery>
<gallery>
Hopper (N) BE.png
Hopper (E) BE.png
Hopper (S) BE.png
Hopper (W) BE.png
</gallery>

=== Screenshots ===
<gallery>
File:Hopper screenshot 1.png|In snapshot 13w01a, the hopper item uses a 'WIP' sprite, though the item still read "Hopper".
File:13w02a Banner.png|The 13w02a Banner includes a [[minecart with TNT]]  and a hopper.
</gallery>

==References==
{{Reflist}}

{{Redstone}}
{{Blocks|Utility}}
{{Items}}

[[Category:Mechanisms]]
[[Category:Redstone mechanics]]
[[Category:Mechanics]]
[[Category:Storage]]
[[Category:Utility blocks]]
[[Category:Manufactured blocks]]
[[Category:Block entities]]

[[cs:Násypka]]
[[de:Trichter]]
[[el:Hopper]]
[[es:Tolva]]
[[fr:Entonnoir]]
[[it:tramoggia]]
[[ja:ホッパー]]
[[ko:호퍼]]
[[nl:Trechter]]
[[pl:Lej]]
[[pt:Funil]]
[[ru:Загрузочная воронка]]
[[uk:Лійка]]
[[zh:漏斗]]</li><li>[[Apple|Apple]]<br/>{{for}}
{{Item
| title = Apple
| image = Apple.png
| renewable = Yes
| heals = {{hunger|4}}
| stackable = Yes (64)
}}

'''Apples''' are [[food]] items that can be eaten by the [[player]].

== Obtaining ==

=== Block loot ===

Oak and dark oak [[leaves]] have 0.5% ({{frac|1|200}}) chance of dropping an apple when decayed or broken, but not if burned. Breaking leaves with a [[tool]] enchanted with the [[Fortune]] enchantment increases the chances of dropping an apple: 0.556% ({{frac|1|180}}) with Fortune I, 0.625% ({{frac|1|160}}) with Fortune II, and 0.833% ({{frac|1|120}}) with Fortune III.

=== Chest loot ===

{{LootChestItem|apple}}

=== Trading ===

Apprentice-level [[Trading#Farmer|farmer]] [[Villager|villagers]] have a 50% ({{frac|1|2}}){{only|bedrock}} or 66.7% ({{frac|2|3}}){{only|java}} chance of selling 4 apples as part of their trades.

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

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

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

=== Composting ===
Placing an apple into a [[composter]] has a 65% ({{frac|13|20}}) chance of raising the compost level by 1.

== Sounds ==

{{Sound table/Entity/Food}}

== Data values ==

=== ID ===

{{edition|java}}:
{{ID table
|edition=java
|showforms=y
|generatetranslationkeys=y
|displayname=Apple
|spritetype=item
|nameid=apple
|form=item
|foot=1}}

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Apple
|spritetype=item
|nameid=apple
|id=257
|form=item
|foot=1}}

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

== History ==

{{History|java indev}}
{{History||0.31|snap=20091231-2|[[File:Apple JE1 BE1.png|32px]] Added apples. 
|Apples are currently non-functional in this version.}}
{{History|||snap=20100110|Apples are now functional and are edible, restoring {{hp|2}}. They are intended to replace [[mushroom]]s, which were previously edible.}}
{{History|||snap=20100128|Apples now used to [[craft]] [[arrow]]s.}}
{{History|||snap=20100129|Apples no longer used to craft [[arrow]]s.}}
{{History||20100206|Apples now use the texture of [[golden helmet]]s.}}
{{History|java infdev}}
{{History||February 23, 2010|link=none|At the bottom of a [[crafting]] guide they made, a player named JTE jokingly indicated that [[Notch]] dropped an apple when killed, and that apples could be crafted into something called a "[[golden apple]]" – this was a joke on the fact that apples were totally unobtainable.<ref>http://www.minecraftforum.net/topic/2750582-the-secret-history-of-minecraft/</ref><ref name="JTECraftingGuide">https://echidnatribe.org/Minecraft/crafting.php (This is an unofficial recreation with the original domain)</ref>}}
{{History||20100227-1|Players named "[[Notch]]" now drop an apple when they die in addition to their [[inventory]].
|Apples are now used to craft golden apples.
|Apples now correctly use the apple texture again.}}
{{History||20100327|With the addition of the respawn feature, apples have become legitimately obtainable in Survival and renewable for players named "Notch".}}
{{History|java beta}}
{{History||1.8|snap=Pre-release|Apples can now be found in the new [[stronghold]] storeroom [[chest]]s, making them obtainable in normal [[Survival]] gameplay for the first time.
|Apples now restore {{hunger|4}} instead of {{hp|4}}.
|Apples are now stackable.}}
{{History|java}}
{{History||1.0.0|snap=Beta 1.9 Prerelease 3|Apples are now found in the new stronghold altar chests.}}
{{History||1.1|snap=11w48a|Oak [[leaves]] now have a 1/200 chance of dropping an apple when destroyed, making apples fully [[renewable]].}}
{{History|||snap=12w01a|Apples are now found in the new [[village]] blacksmith chests.}}
{{History||1.3.1|snap=12w16a|Apples can now be found in the new [[bonus chest]]s.}}
{{History|||snap=12w18a|"[[Notch]]" players no longer drop apples when they die.}}
{{History|||snap=12w21a|Farmer [[villager]]s now [[trade|sell]] 5 apples for 1 [[emerald]].
|Apples are now used to craft [[enchanted golden apple]]s.}}
{{History||1.4.2|snap=12w37a|[[File:Apple JE2 BE2.png|32px]] The apple's texture has been changed: the [[item]] sprite no longer has a dark outline and now has a more detailed look.}}
{{History||1.5|snap=13w09b|The [[Fortune]] enchantment now increases the chance of dropping apples.}}
{{History||1.7.2|snap=13w43a|Added [[dark oak]] leaves, which drop apples.}}
{{history||1.9|snap=15w43a|Apples may now be found in [[igloo]] basement chests.}}
{{history|||snap=15w44a|Average yield of apples has been slightly increased in bonus chests.
|Apples can no longer be used to craft enchanted golden apples.}}
{{History||1.11|snap=16w33a|Farmer villagers now sell 5–7 apples for 1 emerald.}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], this item's numeral ID was 260.}}
{{History||1.14|snap=18w43a|[[File:Apple JE3 BE3.png|32px]] The texture of apples has been changed.}}
{{History|||snap=18w48a|Apples can now be found in [[chest]]s in [[plains]] village houses.}}
{{History|||snap=19w03a|Placing an apple into the new [[composter]] has a 50% chance of raising the compost level by 1.}}
{{History|||snap=19w05a|Apples now have a 65% chance of increasing the compost level in a composter by 1.}}

{{History|pocket alpha}}
{{History||v0.4.0|[[File:Apple JE1 BE1.png|32px]] Added apples.}}
{{History||v0.5.0|Apples now restore {{hp|4}} instead of {{hp|2}}.}}
{{History||v0.8.0|snap=build 1|[[File:Apple JE2 BE2.png|32px]] The apple's texture has been changed: the item sprite no longer has a dark outline and now has a more detailed look.}}
{{History||v0.12.1|snap=build 1|Added apples to the [[Creative inventory]].
|Apples are now stackable.
|Apples now restore {{hunger|4}} instead of {{hp|4}}.
|The [[Fortune]] [[enchantment]] can now be used to increase chance of dropping apples.
|Apples can now be used to craft golden apples and enchanted golden apples.}}
{{History||v0.15.0|snap=build 1|Apples can now be used to feed [[horse]]s.}}
{{History|pocket}}
{{History||1.0.0|snap=alpha 0.17.0.1|Apples can now be found inside [[igloo]] chests.}}
{{History||1.0.4|snap=alpha 1.0.4.0|Farmer villagers now sell 5-7 apples for 1 emerald.}}
{{History|bedrock}}
{{History||1.2.0|snap=beta 1.2.0.2|Apples can no longer be used to craft enchanted golden apples.
|Apples can now be found inside bonus chests.}}
{{History||1.10.0|snap=beta 1.10.0.3|Apples can now be found in [[plains]] village weaponsmith chests and plains house chests.
|[[File:Apple JE3 BE3.png|32px]] The texture of apples has been changed.}}
{{History||1.11.0|snap=beta 1.11.0.1|Apples can now be found in [[desert]], [[savanna]], [[taiga]] and [[snowy taiga]] village weaponsmith chests.
|Apples can now be used to fill up composters.}}
{{History|||snap=beta 1.11.0.4|Farmer villagers now sell 4 apples as part of their second tier trades.}}

{{History|console}}
{{History||xbox=TU1|wiiu=Patch 1|[[File:Apple JE1 BE1.png|32px]] Added apples.}}
{{History||xbox=TU5|Apples are now stackable.
|Apples now restore {{hunger|4}} instead of {{hp|4}}.}}
{{History||xbox=TU12|ps=1.03|[[File:Apple JE2 BE2.png|32px]] The apple's texture has been changed: the item sprite no longer has a dark outline and now has a more detailed look.}}
{{History||xbox=none|xbone=none|ps=1.90|wiiu=none|switch=none|[[File:Apple JE3 BE3.png|32px]] The texture of apples has been changed.}}

{{History|New 3DS}}
{{History||0.1.0|[[File:Apple JE2 BE2.png|32px]] Added apples.}}
{{History|foot}}

== Issues ==
{{issue list}}

== Trivia ==
*Prior to the texture update in Java Edition 1.4.2, the sprite of the apple was the same one used in [[Notch]]'s game ''[[Legend of the Chambered]]''.
*Before it was added to ''Minecraft'', apples dropping from trees was already a feature in ''[[Minicraft]]''.

== Gallery ==
<gallery>
Apple in Stronghold.png|An apple found in a stronghold chest.
Apple Item.png|An apple that dropped from decaying leaves.
Obtaining an apple by trading.png|Obtaining apples via villager trading.
File:Candy Apple (Trails and Tales Summer Event) Render.png|The Candy Apple, an item featured in the [[Trails & Tales Event]].
</gallery>

== References ==
{{reflist}}

== External Links ==
*[https://www.minecraft.net/en-us/article/taking-inventory-apple Taking Inventory: Apple] – Minecraft.net on November 23, 2018

{{items}}

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

[[cs:Jablko]]
[[de:Apfel]]
[[es:Manzana]]
[[fr:Pomme]]
[[hu:Alma]]
[[it:Mela]]
[[ja:リンゴ]]
[[ko:사과]]
[[nl:Appel]]
[[pl:Jabłko]]
[[pt:Maçã]]
[[ru:Яблоко]]
[[th:แอปเปิ้ล]]
[[uk:Яблуко]]
[[zh:苹果]]</li></ul>
beta 1.16.230.50Changed /gametest runall to /gametest runset.
1.18.30
{{Extension DPL}}<ul><li>[[Fish|Fish]]<br/>{{About|the type of mob|the action|Fishing}}
'''Fish''' are aquatic creatures that are found in [[river]] and [[ocean]] biomes.

== Mobs ==
There are four categories of fish mobs in ''Minecraft'': 
*{{EntityLink|Cod}}
*{{EntityLink|Salmon}}
*{{EntityLink|Pufferfish}}
*{{EntityLink|Tropical Fish}} - many color and pattern varieties

In addition, there are other fish-like mobs that have different characteristics from fish: {{EntityLink|Axolotl}}, {{EntityLink|Guardian}}, and {{EntityLink|Elder Guardian}}.

==Obtaining and transporting==
A live fish can be captured by using a [[water bucket]] on a fish, to obtain a [[bucket of fish]], which is the only way to obtain the live mob in item form. Using the bucket of fish on a water source block transfers the fish from the bucket to the body of water. A water bucket may also be used on [[axolotl]]s in this manner.

==Items==
Fish exist in several different item forms. Upon death, fish drop their item form equivalent (cooked if on fire), with a chance to drop a [[bone]]{{only|bedrock}} or [[bone meal]].{{only|java}}

;Non-living
*{{ItemLink|Raw Cod}}
*{{ItemLink|Cooked Cod}}
*{{ItemLink|Raw Salmon}}
*{{ItemLink|Cooked Salmon}}
*{{ItemLink|Pufferfish|link=Pufferfish (item)}}
*{{ItemLink|Tropical Fish|link=Tropical Fish (item)}}
;Living
*{{ItemLink|Bucket of Cod}}
*{{ItemLink|Bucket of Salmon}}
*{{ItemLink|Bucket of Pufferfish}}
*{{ItemLink|Bucket of Tropical Fish}}

== Spawning ==
Various fish can be found in different [[ocean]] [[biomes]], but only [[salmon]] appear in rivers. Fish can also spawn in player-created bodies of water, as long as they are within a river or ocean biome.

{| class="wikitable sortable" style="text-align:left" data-description="Fish biomes"
!'''Fish'''
! style="text-align:left" |{{BiomeLink|Warm Ocean}}
! style="text-align:left" |{{BiomeLink|Lukewarm Ocean}}<br>{{BiomeLink|Deep Lukewarm Ocean}}
! style="text-align:left" |{{BiomeLink|Ocean}}<br>{{BiomeLink|Deep Ocean}}
! style="text-align:left" |{{BiomeLink|Cold Ocean}}<br>{{BiomeLink|Deep Cold Ocean}}
! style="text-align:left" |{{BiomeLink|Frozen Ocean}}<br>{{BiomeLink|Deep Frozen Ocean}}
! style="text-align:left" |{{BiomeLink|River}}<br>{{BiomeLink|Frozen River}}
|-
! rowspan=2 style="text-align:left" |{{EntityLink|Cod}}
| rowspan=2 {{tc|no}}
| rowspan=2 {{tc|yes}}
| rowspan=2 {{tc|yes}}
| rowspan=2 {{tc|yes}}
| {{tc|no|No{{only|je|short=1}}}}
| rowspan=2 {{tc|no}}
|-
| {{tc|yes|Yes{{only|be|short=1}}}}
|-
! rowspan=2 style="text-align:left" |{{EntityLink|Salmon}}
| rowspan=2 {{tc|no}}
| {{tc|no|No{{only|je|short=1}}}}
| {{tc|no|No{{only|je|short=1}}}}
| rowspan=2 {{tc|yes}}
| rowspan=2 {{tc|yes}}
| rowspan=2 {{tc|yes}}
|-
| {{tc|yes|Yes{{only|be|short=1}}}}
| {{tc|yes|Yes{{only|be|short=1}}}}
|-
! rowspan=2 style="text-align:left" |{{EntityLink|Pufferfish}}
| rowspan=2 {{tc|yes}}
| {{tc|yes|Yes{{only|je|short=1}}}}
| rowspan=2 {{tc|no}}
| rowspan=2 {{tc|no}}
| rowspan=2 {{tc|no}}
| rowspan=2 {{tc|no}}
|-
| {{tc|no|No{{only|be|short=1}}}}
|-
! style="text-align:left" |{{EntityLink|Tropical Fish}}<ref group="note">Also spawns in {{BiomeLink|Lush Caves}} at any Y-level.</ref>
| {{tc|yes}}
| {{tc|yes}}
| {{tc|no}}
| {{tc|no}}
| {{tc|no}}
| {{tc|no}}
|-
! style="text-align:left" |{{EntityLink|Squid}}
| {{tc|yes}}
| {{tc|yes}}
| {{tc|yes}}
| {{tc|yes}}
| {{tc|yes}}
| {{tc|yes}}
|-
! rowspan=2 style="text-align:left" |{{EntityLink|Dolphin}}
| rowspan=2 {{tc|yes}}
| rowspan=2 {{tc|yes}}
| rowspan=2 {{tc|yes}}
| {{tc|no|No{{only|je|short=1}}}}
| rowspan=2 {{tc|no}}
| rowspan=2 {{tc|no}}
|-
| {{tc|yes|Yes{{only|be|short=1}}}}
|}
{{notelist}}

In ''Java Edition'', fish can spawn inside a water block at Y-level 50 to 63 (from 13 blocks below sea level up to inside the block one above it), that also has water above and below it. The spawn block and the block below can be any kind of water, such as a source block, falling water, bubble column, kelp, or even a waterlogged block (as long as the fish can be placed at the bottom center of the spawn block without colliding with anything solid). The block above must be pure water, such as a source block, falling water, or flowing water of any depth. Particularly, the block above cannot also be a bubble column, so fish no longer spawn inside bubble elevators.<ref>{{cite bug|MC|244683|Tropical fish spawn in bubble columns (fixed in 22w07a)}}</ref> 

''Bedrock Edition'' does permit fish to spawn in bubble columns.<ref>{{cite bug|MCPE|73967|Squids, Dolphins, and fish not spawning in bubble columns (fixed in 1.16.20)}}</ref>

Fish can spawn between 24 and 64 block spherical range away from the player.{{only|java}} 

=== Despawning ===
As of [[1.16]], fish can despawn at range of 40 blocks or more from the player, and will instantly despawn more than 64 blocks away, except when spawned using a [[bucket of fish]].

{{Items}}
{{Entities}}

[[cs:Ryba]]
[[de:Fisch (Begriffsklärung)]]
[[es:Pez]]
[[fr:Poisson]]
[[it:Pesce]]
[[ja:魚]]
[[ko:물고기]]
[[nl:Vis]]
[[pl:Ryba (ujednoznacznienie)]]
[[pt:Peixe]]
[[ru:Рыба]]
[[th:ปลา (แก้ความกำกวม)]]
[[uk:Риба]]
[[zh:鱼]]</li><li>[[Shears|Shears]]<br/>{{Item
| image = Shears.png
| rarity = Common
| renewable = Yes
| durability = 238
| stackable = No
}}

'''Shears''' are tools required to obtain some organic blocks or otherwise mine them faster as well as to shear certain entities and blocks.

==Obtaining==

===Crafting===

{{Crafting
|head=1
|showdescription=1
|B2= Iron Ingot
|A3= Iron Ingot
|Output= Shears
|type= Tool
}}
{{crafting
|foot=1
|ignoreusage=1
|Damaged Shears
|Damaged Shears
|Output= Shears
|description= The durability of the two shears is added together, plus an extra 5% durability.
|type= Tool
}}
Despite using [[Iron Ingot|iron]] in its crafting recipe, shears cannot be smelted into [[iron nugget]]s.<ref>{{bug|MC-111738}}</ref>

===Trading===

Novice-level Shepherd [[villager]]s have a 40% chance to sell shears for 2 [[emerald]]s in Java Edition. This trade is always offered in Bedrock Edition.

===Chest loot===

{{LootChestItem|shears}}

==Usage==

===Shearing===
Shears lose 1 [[durability]] when used to shear something.

Shears can be {{Control|use|text=used}} on a [[sheep]] to remove its coat and drop 1–3 [[wool]] of the corresponding color. The same sheep can be sheared again after it eats from a [[grass block]] to regenerate its coat.

Shearing a [[mooshroom]] drops 5 [[mushroom]]s of the corresponding color and irreversibly turns it into a normal [[cow]].

Shearing a [[snow golem]] irreversibly removes its pumpkin, dropping it and revealing its face.

Shearing either a [[beehive]] or [[bee nest]] that is full of honey makes it drop 3 [[honeycomb]]s and resets it to honey level 0. The same beehive or bee nest can be sheared again if it is able to reach full honey again. If sheared by hand without a [[campfire]] below the hive or nest all bees within will exit and all nearby bees will attack the offending player. 

[[Dispenser]]s can use shears in any of the above listed ways, interacting with any valid block or entity in front of the dispenser's face. This decreases the shears' [[durability]]. A dispenser shearing a beehive or bee nest will not anger bees or cause them to leave even if there is not a campfire below it.

Shearing a [[pumpkin]] turns it into a [[carved pumpkin]], dropping 4 [[pumpkin seeds]].

{{IN|java}}, shearing the tip of [[cave vines]], [[kelp]], [[weeping vines]], or [[twisting vines]] sets its age value to 25 and stops further growth.

===Breaking blocks===
Shears use 1 [[durability]] when is used to break any block, even if it [[instant mining|breaks instantly]] by hand.

Shears can be used to harvest [[cobweb|cobwebs]], [[leaves]], [[grass|grass, tall grass]], [[seagrass|seagrass, tall seagrass]], [[fern|ferns, large fern]]s, [[dead bush]]es, [[nether sprouts]], [[vines]], [[glow lichen]] or [[hanging roots]] and obtain them in item form. They can also be used to break [[tripwire]] connected to a [[tripwire hook]] without activating it.

When shears are used to break [[Weeping Vines|weeping vines]] or [[Twisting Vines|twisting vines]] they are guaranteed to drop in item form instead of the usual 33% chance. This only applies to vines directly broken by shears and not vines that are broken due to the destruction of their supporting vines.

The following table shows information about blocks that can be broken with shears. Colors indicate what gets dropped when the block is broken:

*White: The original block.
*Blue: The block's normal drop (i.e. string, sticks, seeds, saplings, apples).
*Red: Nothing.

{| class="wikitable" style="text-align:center" data-description="Blocks broken with shears"
!
!No shears breaking time
!Shears breaking time
|-
! style="text-align:left" |{{BlockLink|Cobweb}}
| {{tc|no|20 s}}<ref group="note">Breaking cobwebs with a sword is as fast as breaking with shears, and yields string. This costs double durability.</ref>
|0.4 s
|-
! style="text-align:left" |{{BlockLink|Dead Bush}}
| {{tc|planned|0 s}}
|0 s
|-
! style="text-align:left" |{{BlockLink|id=fern|Grass|Fern}}
| {{tc|planned|0 s}}
|0 s
|-
! style="text-align:left" |{{BlockLink|Grass}}
| {{tc|planned|0 s}}
| 0 s
|-
! style="text-align:left" |{{BlockLink|Nether Sprouts}}
| {{tc|no|0 s}}<ref group="note">{{IN|bedrock}}, the item drops when breaking it with fists.</ref>
|0 s
|-
! style="text-align:left" |{{BlockLink|Leaves}}
| {{tc|planned|0.35 s}}
|0.05 s
|-
! style="text-align:left" |{{BlockLink|id=tripwire|String#Tripwire|Tripwire}}
|0 s
|0 s<ref group="note">Using shears does not trigger a redstone pulse.</ref>
|-
! style="text-align:left" |{{BlockLink|Vines}}
| {{tc|no|0.35 s}}
|0.35 s
|-
! style="text-align:left" |{{BlockLink|Wool}}
|1.25 s
|0.25 s
|-
! style="text-align:left" |{{BlockLink|Seagrass}}
| {{tc|no|0 s}}
|0 s
|-
! style="text-align:left" | {{BlockLink|Glow Lichen}}
| {{tc|no|0.3 s}}
|0.3 s
|-
! style="text-align:left" |{{BlockLink|Hanging Roots}}
| {{tc|no|0 s}}
|0 s
|-
! style="text-align:left" |{{BlockSprite|Twisting Vines Plant}}{{BlockLink|Twisting Vines}}<br> {{BlockSprite|Weeping Vines Plant}}{{BlockLink|Weeping Vines}}
|0 s
|0 s<ref group="note">Using shears will increase the chance of dropping from 33% to 100%.</ref>
|}

{{notelist}}

===Enchantments===

Shears can receive the following [[Enchanting|enchantments]]:

{| class="wikitable col-2-center col-3-right"
|+
!Name
! Max Level
![[Enchanting|Method]]
|-
|[[Efficiency]]
|V
|{{Inventory slot|Anvil}}
|-
|[[Unbreaking]]
| III
|{{Inventory slot|Anvil}}
|-
|[[Mending]]
|I
|{{Inventory slot|Anvil}}
|-
|[[Curse of Vanishing]]
|I
|{{Inventory slot|Anvil}}
|-
|[[Silk Touch]]{{only|be|short=1}}
|I
|{{Inventory slot|Anvil}}
|}

{{notelist}}

== Sounds ==
{{edition|java}}:
{{Sound table
|rowspan=4
|sound=Shear.ogg
|subtitle=Shears click
|source=player
|description=When a mooshroom is sheared
|id=entity.mooshroom.shear
|translationkey=subtitles.item.shears.shear
|volume=1.0
|pitch=1.0
|distance=16}}
{{Sound table
|subtitle=Shears click
|source=player
|description=When a sheep is sheared
|id=entity.sheep.shear
|translationkey=subtitles.item.shears.shear
|volume=1.0
|pitch=1.0
|distance=16}}
{{Sound table
|subtitle=Shears click
|source=player
|description=When a snow golem is sheared
|id=entity.snow_golem.shear
|translationkey=subtitles.item.shears.shear
|volume=1.0
|pitch=1.0
|distance=16}}
{{Sound table
|subtitle=Plant cropped
|source=block
|description=When a growing plant is cropped
|id=block.growing_plant.crop
|translationkey=subtitles.block.growing_plant.crop
|volume=1.0
|pitch=1.0
|distance=16}}
{{Sound table
|sound=Beehive shear.ogg
|source=block
|subtitle=Shears scrape
|description=When honeycombs are harvested from a beehive
|id=block.beehive.shear
|translationkey=subtitles.block.beehive.shear
|volume=0.8
|pitch=1.0/0.8/0.9
|distance=16}}
{{Sound table
|sound=Pumpkin carve1.ogg
|sound2=Pumpkin carve2.ogg
|source=block
|subtitle=Shears carve
|description=When a pumpkin is carved
|id=block.pumpkin.carve
|translationkey=subtitles.block.pumpkin.carve
|volume=1.0
|pitch=1.0
|distance=16}}
{{Sound table
|sound=Random break.ogg
|subtitle=Item breaks
|source=player
|description=When a pair of shears' durability is exhausted
|id=entity.item.break
|translationkey=subtitles.entity.item.break
|volume=0.8
|pitch=0.8-1.2
|distance=16
|foot=1}}

{{edition|bedrock}}:<br>
Pumpkins do not have carve sounds.
{{Sound table
|type=bedrock
|sound=Shear.ogg
|source=player
|description=When something is sheared
|id=mob.sheep.shear
|volume=1.0
|pitch=1.0}}
{{Sound table
|sound=Beehive shear.ogg
|source=block
|description=When honeycombs are harvested from a beehive
|id=block.beehive.shear
|volume=0.8
|pitch=0.8-1.0}}
{{Sound table
|sound=Random break.ogg
|source=player
|description=When a pair of shears' durability is exhausted
|id=random.break
|volume=1.0
|pitch=0.9
|foot=1}}

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

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Shears
|spritetype=item
|nameid=shears
|id=421
|form=item
|foot=1}}

==Achievements==

{{load achievements|Have a Shearful Day}}<div style="text-align:center"></div>

==History==
{{History||June 3, 2011|link=https://twitter.com/jeb_/status/76570646074765312|Shears were first mentioned by [[Jeb]] on [[wikipedia:Twitter|Twitter]]. The tweet revealing Jeb's work on shears was written in Swedish (''Jag jobbar på shears nu''), which translates to "I'm working on shears now".}}
{{History||June 7, 2011|link=https://twitter.com/jeb_/status/78154891637436416|Jeb tweets about how shears were originally planned as a way to defuse [[TNT]], but he dropped this shortly after deciding TNT would detonate only with [[redstone]] or [[fire]].}}
{{History|java beta}}
{{History||1.7|[[File:Shears JE1 BE1.png|32px]] Added shears.
|Before [[Beta 1.7]], [[sheep]] would drop 1-3 [[wool]] blocks at most when hit, but shears can harvest up to 4 wool blocks per sheep.}}
{{History||1.8|snap=Pre-release|Shears can now be used to harvest a [[fern]], [[vines]] and [[grass]].}}
{{History|java}}
{{History||1.0.0|snap=Beta 1.9 Prerelease|Shears now harvest [[red mushroom]]s from a [[mooshroom]] and turn it back into a normal [[cow]].}}
{{History||1.1|snap=11w49a|[[Sheep]] now drop only 1-3 wool blocks when sheared, but they can also regrow their wool by eating [[grass block|grass]], which is part of a plan to have [[animal]]s stay in the game longer.<ref>{{Tweet|jeb|76647002317930496}}</ref>}}
{{History||1.2.1|snap=12w05a|Shears can now be used to harvest [[dead bush]]es.}}
{{History|||snap=12w06a|Shears are now [[renewable]], due to [[zombie]]s occassionally dropping iron ingots.}}
{{History||1.3.1|snap=12w21a|Shears can now be [[trading|bought]] from farmer [[villager]]s for 3 [[emerald]]s each.}}
{{History|||snap=12w22a|Shears can now be used to break [[tripwire]] string and not set it off.}}
{{History||1.4.2|snap=12w38a|Added a [[sound]] when using shears on [[sheep]].}}
{{History||1.4.6|snap=12w50a|Shears can now be [[enchanting|enchanted]].}}
{{History||1.8|snap=14w02a|[[Trading]] has been changed: Shepherd [[villager]]s now [[trading|sell]] shears for 3–4 [[emerald]]s each. 
|Farmers no longer trade shears.}}
{{History|||snap=pre1|Shears now lose [[item durability|durability]] when breaking [[wool]] blocks. In previous versions, shears would take [[item durability|durability]] [[damage]] only when destroyed or when breaking [[tall grass]] or [[leaves]], the damage remaining the same for all other [[block]]s.<ref>{{bug|MC-5313}}</ref>}}
{{History||1.9|snap=15w34a|Shears may now be used in a crafting grid to zoom in [[map]]s.}}
{{History|||snap=15w45a|Shears no longer zoom in maps.}}
{{History|||snap=15w47b|Shears can no longer be enchanted with [[Silk Touch]].
|Shears now lose durability when used to break any block (formerly lost durability only from [[leaves]], [[web]], [[grass]], [[vines]], [[tripwire]] and [[wool]]).}}
{{History|||snap=15w47c|Shears now harvest [[cobweb]] without requiring [[Silk Touch]].}}
{{History|||snap=15w49a|[[Snow golem]]'s [[pumpkin]] can now be removed with shears.}}
{{History||1.13|snap=17w47a|When shears are {{control|used}} on an un-carved [[pumpkin]], it now turns into a carved pumpkin and drops 4 [[pumpkin seeds]].
|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 359.}}
{{History||1.14|snap=18w43a|Shears placed in a [[dispenser]] can now shear [[sheep]].
|[[File:Shears JE2 BE2.png|32px]] The texture of shears has been changed.}}
{{History|||snap=18w49a|Shears can now be found in [[chest]]s in [[village]] shepherd houses.}}
{{History||1.15|snap=19w34a|Shears can now be used on [[bee nest]]s and [[beehive]]s to harvest [[honeycomb]].}}
{{History||1.16|snap=20w15a|Shears placed in a dispenser can now shear [[mooshrooms]] and [[snow golem]]s.}}
{{History||1.16.2|snap=pre1|Shears are now required in order to pick up [[roots]].}}
{{History||1.16.2|snap=pre2|Shears are no longer required to pick up [[roots]].}}
{{History||1.17|snap=?|Shears are now required in order to pick up [[hanging roots]].}}
{{History||1.18|snap=21w37a|Shears can now stop [[cave vines]], [[kelp]], [[weeping vines]], and [[twisting vines]] from aging.}}
{{History||1.19|snap=22w11a|Shears are now required in order to pick up [[mangrove leaves]].}}

{{History|pocket alpha}}
{{History||v0.2.0|[[File:Shears JE1 BE1.png|32px]] Added shears.}}
{{History||v0.3.2|Survival [[player]]s no longer start out with infinite durability shears in the [[inventory]].}}
{{History||v0.4.0|Removed shears from the creative inventory.}}
{{History||v0.8.0|snap=build 3|Re-added shears to [[creative]] mode.}}
{{History||v0.9.0|snap=build 1|Shears can now be used to transform [[mooshroom]]s into [[cow]]s.}}
{{History||v0.12.1|snap=build 3|Shearing a [[snow golem]] now removes its [[pumpkin]].
|Shears can now be [[enchanting|enchanted]] in an [[anvil]].}}
{{History||v0.13.0|snap=build 1|Shears can now be used to break [[tripwire]] string without triggering it.}}
{{History||v0.15.0|snap=build 1|Shears now lose durability when used to break any [[block]].}}
{{History|pocket}}
{{History||1.0.4|snap=alpha 1.0.4.0|Shears can now be [[trading|bought]] from shepherd [[villager]]s.}}
{{History||1.1.0|snap=alpha 1.1.0.0|Breaking a [[melon|melon block]] with shears now always drop 9 [[melon slice|melons]].}}
{{History|bedrock}}
{{History||1.4.0|snap=beta 1.2.13.8|Shears can now be used to turn un-carved [[pumpkin]]s into [[carved pumpkin]] and spit out 4 [[pumpkin seeds]].}}
{{History||?|Shears now harvest [[cobweb]] without requiring [[Silk Touch]].}} 
{{History||1.10.0|snap=beta 1.10.0.3|Shears placed in a [[dispenser]] can now shear [[sheep]].
|[[File:Shears JE2 BE2.png|32px]] The texture of shears has been changed.}}
{{History||1.11.0|snap=beta 1.11.0.1|Shears can now be found in [[village]] shepherd houses.}}
{{History|||snap=beta 1.11.0.4|Shears [[trading|sold]] by shepherd [[villager]]s now cost only 2 [[emerald]]s.}}
{{History||1.14.0|snap=beta 1.14.0.1|Shears can now be used on [[bee nest]]s and [[beehive]]s to harvest [[honeycomb]].}}

{{History|console}}
{{History||xbox=TU3|xbone=CU1|ps=1.0|wiiu=Patch 1|switch=1.0.1|[[File:Shears JE1 BE1.png|32px]] Added shears.}}
{{History||xbox=TU69|xbone=none|ps=1.76|wiiu=Patch 38|switch=none|Shears can now be used to turn regular [[pumpkin]]s into [[carved pumpkin]]s.}}
{{History||xbox=none|xbone=none|ps=1.90|wiiu=none|switch=none|[[File:Shears JE2 BE2.png|32px]] The texture of shears has been changed.
|Shears placed in a [[dispenser]] can now shear [[sheep]].}}

{{History|New 3DS}}
{{History||0.1.0|[[File:Shears JE1 BE1.png|32px]] Added shears.}}
{{History|foot}}

==Issues==
{{issue list}}

==Gallery==

<gallery>
File:Enchanted Shears.gif|An enchanted pair of shears.
</gallery>

==References==
{{reflist}}

==External links==
*[https://www.minecraft.net/en-us/article/taking-inventory--shears Taking Inventory: Shears] – Minecraft.net on November 20, 2019

{{Items}}

[[cs:Nůžky]]
[[de:Schere]]
[[es:Tijeras]]
[[fr:Cisailles]]
[[hu:Metszőolló]]
[[it:Cesoie]]
[[ja:ハサミ]]
[[ko:가위]]
[[nl:Schaar]]
[[pl:Nożyce]]
[[pt:Tesoura]]
[[ru:Ножницы]]
[[zh:剪刀]]
[[Category:Renewable resources]]</li></ul>
beta 1.18.20.27Removed radius: int argument in gametest clearall.
1.19.80
{{Extension DPL}}<ul><li>[[Item (entity)|Item (entity)]]<br/>{{Entity
| title = Item Entity
| image = Item.gif
| health = {{hp|5}}<ref>Items cannot be damaged by attacking them.</ref>
| size = Height: 0.25 Blocks<br>Width: 0.25 Blocks
}}

'''Items''' are "dropped" [[block]]s or [[item]]s (non-block resources) that appear in the world, rather than being in the [[inventory]] of a [[player]] or [[block entity]]; they are a type of [[entity]].

== Appearance ==

[[File:Item entities.png|150px|thumb|3D dropped items, both blocks and strict items.]]

Items have two possible appearances, generally corresponding to whether the item appears as a 3D or 2D shape in a player's inventory screens. 3D items appear as their 3D shape, miniaturized to about {{frac|1|4}} scale, while 2D items appear as {{frac|1|2}} scale with all the pixels extruded into a cube. Both types slowly rotate and bob up and down; this is merely a visual effect, the item itself does not actually rotate or bob up and down.

Item entities that represent a stack of more than one item appear as several items stuck together. Stacks of 1 appear as one item, 2-16 as two items, 17–32 as three, 33-48 as four, and 49+ as five.

The rotation rate of the item is approximately 2.87675 degrees per tick, or 57.595 degrees per second.

== Behavior ==

Item entities come from many sources. Some common ones are:
* The death of a [[mob]] or [[player]].
* A [[block]] that is mined by a player, destroyed by an [[explosion]], or washed away by [[water]].
* An inventory item tossed by pressing the drop item key (default {{key|Q}} on PC, {{xbtn|dpad-down}} on Xbox, {{nsbtn|down}}/{{nsbtn|dpad-down}} on Nintendo Switch, {{psbtn|dpad-down}} on PlayStation) or dragging a stack outside of an inventory window.
** In the mobile versions of {{el|be}}, items in the hotbar can be dropped by pressing on the item's slot. The entire stack is dropped.
* A container (other than an {{BlockLink|ender chest}} or a {{BlockLink|shulker box}}) that is destroyed while holding items inside.

The player may be thought of as having an "item pickup" box that surrounds their hitbox. This pickup box extends 1 additional block to the horizontal sides, and 0.5 additional blocks up and down. Any item whose hitbox intersects with the pickup box can be picked up. The pickup box is inclusive on the horizontal sides (distance less than or equal to 1 will count), and exclusive on the vertical sides (distance less than 0.5 will count, but not equal). When the player's hitbox size changes, such as when crouching{{only|java}} or sleeping, the pickup box size changes with it.

Once an item entity's hitbox overlaps with the player's pickup box, it can transfer its items. As many items as can fit in the player inventory, excluding the armor slots and the [[dual wield|off-hand slot]], are transferred. If any item is transferred, [[Item (entity)#Sounds|a "plopping" sound]] is played. If all items are transferred, the items appear to move into the center of the player. The item entity never physically moves, however, which means it can appear to go through lava and blocks in its path. This can happen through blocks that are thinner than a full block, but also through the shared edge of two full blocks. Unlike [[experience orb]]s, multiple item entities can be picked up simultaneously. Dropped items have a delay of 10 [[tick]]s (half a second) between appearing and being able to be picked up, or 40 ticks (2 seconds) if thrown by a player, [[dolphin]], or [[fox]].

When two stackable items of the same type come within 3/4 of a block of each other, they merge into a single stack if the resulting stack size does not exceed that item's maximum stack size.

Items do not collide with other entities(except boats) and are only moved or stopped by blocks.

Like other entities, items can be pushed by flowing water and [[bubble column]]s, pushed by a [[piston]], launched by a moving [[slime block]], stuck to a [[honey block]], or caught in a [[cobweb]]. Items move at faster speeds if [[ice]] is placed under the flowing water. When in still water, items float slowly up to the surface.

Items can be reared by [[fishing rod]]s, costing 3 [[durability]].{{only|je}}

If an item is within a [[solid block]], then it flies out one of the unobstructed sides, or out of the top of the block if surrounded by solid blocks on all sides. It does this even if the space below is unoccupied; therefore, it is possible to recover an item dropped by breaking a hole in a floor by quickly placing another block there.

Items visually disappear when the player is about 16 blocks away from them, and reappear when they get closer. This distance can be adjusted by the "Entity Distance" slider in [[Options#Video Settings|video settings]].

Unlike most entities, items cannot be spectated in [[Spectator]] mode without use of the {{cmd|spectate}} command.

=== Damage ===
Items cannot be attacked by players or mobs; attempting to do so simply hits through them. However, they take damage and disappear from environmental or block-based damage such as [[explosion]]s, [[fire]], [[lava]], and contact with [[cactus|cacti]]. Items have essentially no health, so they are destroyed by the slightest damage, though if set on fire they may remain for a few seconds before disappearing. [[Nether star]]s are immune to explosions, and [[netherite]]-based items and tools are immune to fire and float on top of lava. Also, some blocks that normally damage mobs, such as [[magma block]]s, [[campfire]]s, [[Sweet Berries|sweet berry bushes]], [[flower|wither rose]]s and [[powder snow]], do not damage items.

=== Despawning ===

Items despawn after 6000 game [[tick]]s (5 minutes) of being in a loaded, entity-ticking [[chunk]]; this is affected by the player's [[simulation distance]]. If two item stacks merge, the timer is set to the item that has more time remaining. The 5-minute timer is paused when the chunk is unloaded or no longer processing entities. Nether stars do not despawn{{only|bedrock}}.

Items that fall into the [[void]] immediately despawn when they fall below Y=-128 in the [[Overworld]], or Y=-64 in [[the Nether]] and [[the End]].

== Sounds ==
{{Edition|Java}}:<br>
Item Entities use the Ambient/Environment sound category for entity-dependent sound events.
{{Sound table
|nocat=1
|sound=Pop.ogg
|subtitle=Item plops
|source=player<!--Even when not picked up by player-->
|description=When an item is picked up
|id=entity.item.pickup
|translationkey=subtitles.entity.item.pickup
|volume=0.2
|pitch=1.6-3.4 <ref group=sound>0.6-3.4 for using {{cmd|give}} and items from advancement rewards</ref>
|distance=16}}
{{Sound table
|sound=fizz.ogg
|nocat=1
|subtitle=Burning
|source=ambient
|description=When an item is destroyed by [[lava]], but not [[fire]]<ref>{{bug|MC-36538}}</ref>
|id=entity.generic.burn
|translationkey=subtitles.entity.generic.burn
|volume=0.4
|pitch=2.0-2.4
|distance=16
|foot=1}}

{{Edition|Bedrock}}:
{{Sound table
|type=bedrock
|rowspan=2
|sound=Pop.ogg
|source=player
|description=When an item is picked up
|id=random.pop
|volume=0.25
|pitch=0.6-2.2}}
{{Sound table
|source=player
|description=When an item is dropped
|id=random.pop
|volume=0.3
|pitch=0.55-0.75}}
{{Sound table
|sound=fizz.ogg
|source=block
|description=When an item is destroyed by lava, but not fire
|id=random.fizz
|volume=0.5
|pitch=1.8-2.4
|foot=1}}

== Data values ==

=== ID ===

{{editions|java}}:
{{ID table
|generatetranslationkeys=java
|displayname=Item
|spritename=items
|spritetype=env
|translationtype=entity
|nameid=item
|foot=1}}

{{editions|bedrock}}:
{{ID table
|shownumericids=y
|generatetranslationkeys=bedrock
|displayname=Item
|spritename=items
|spritetype=env
|translationtype=entity
|nameid=item
|id=64
|foot=1}}

=== Entity data ===
{{see also|Chunk format}}
Dropped items 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]].

== History ==
{{History|java classic}}
{{History||0.24 Resource Test|In the first public mention of item entities, {{ytl|OP3jzMWJmu8|this early video of Minecraft (Classic 0.24) by Notch}}, they were referred to as "resources".<ref name="resources">{{ytl|YIm_AKUbqh8}} Early video of Minecraft (Classic 0.24) by Notch referring to item entities as "resources"</ref>}}
{{History||August 4, 2009|link=https://notch.tumblr.com/post/155882307/a-video-showing-what-i-did-today-are-vids-like|Items were showcased by [[Notch]] in a blog post.}}
{{History||0.24_SURVIVAL_TEST|Added items to the game.
|Items currently take the form of destroyed [[block]]s.
|Items currently pulse white (similar to the selection cursor).<ref name="resources"/>
|Instead of appearing as shrunken down blocks, items use pixels the same size as block pixels.}}
{{History|java indev}}
{{History||0.31|snap=20091231-2|Dropped items don't spin and don't glow white anymore.
|Dropped items now appear as shrunken down blocks.
|Items no longer prevent the placement of blocks but instead are moved to the nearest chunk. {{info needed}}
|Non-block items added (as sprites); they now rotate to face the [[player]].}}
{{History||?|Dropped items now spin again.}}
{{History|java beta}}
{{History||1.8|snap=Pre-release|[[File:Oversized items.png|100px|right]][[File:In awe at the size of these fluids.png|100px|right]] A bug causing many item forms of blocks to be displayed at the {{frac|1|2}} scale rather than {{frac|1|4}} was fixed. The following items were affected by this at least at one point:
* [[Cactus]]
* [[Oak Trapdoor]]
* [[Oak Fence]]
* [[Oak Pressure Plate]]
* [[Stone Pressure Plate]]
* [[Stone Button]]
* [[Oak Stairs]]
* [[Cobblestone Stairs]]
* [[Snow]] (unobtainable at the time)
* [[Farmland]] (unobtainable)
* [[Cake]] ([[Technical blocks/Cake|unobtainable version]])
* [[Nether Portal (block)|Nether Portal]] ([[Technical blocks/Nether Portal|unobtainable]])
* [[Water]] ([[Technical blocks/Water|unobtainable]], before becoming 2D in [[Java Edition Infdev 20100615]])
* [[Lava]] ([[Technical blocks/Lava|unobtainable]], before becoming 2D in [[Java Edition Infdev 20100615]])
}}
{{History|java}}
{{History||1.3.1|snap=12w15a|Items that are moved into the same location now combine into stacks instead of remaining independent entities.}}
{{History||1.4.2|snap=12w34a|Items, like other entities, can now travel through [[portal]]s.}}
{{History|||snap=12w34b|Some [[zombie]]s, [[skeleton]]s and [[Zombified Piglin|zombie pigmen]] can now pick up items.}}
{{History||1.4.4|snap=1.4.3|Items are now pushed out of transparent solid blocks as well as opaque ones.<ref>{{bug|MC-15}}</ref> Items can push into solid blocks while trying to escape a solid block instead of stopping (this has been used to create vertical transport of items). New feature: items are pushed out of the inside corner of stair blocks, causing "bouncing" effects.}}
{{History||December 11, 2012|link=none|[[Dinnerbone]] tweeted a picture of [[diamond]]s being rendered in 3D as dropped items.<ref>{{tweet|dinner|278457679805030401|Diamonds are a miners best friend. It's only fair they get treated to some luxury rendering. http://dinnerbone.com/media/uploads/2012-12/screenshots/Minecraft_2012-12-11_12-13-11.png … #AndMaybeEverythingElseToo|December 11, 2012}}</ref> He also revealed that other items would rendered in this way, but only in [[fancy graphics]].<ref>{{tweet|dinner|278463997982949378|@PaymenowTV It's Fancy Rendering option, but really won't make much of a difference on even a slow pc.|December 11, 2012}}</ref>}}
{{History||December 12, 2012|link=none|TeamMojang ([[wikipedia:Youtube|YouTube]]) posted a video showing off the new 3D items.<ref>{{ytl|tMOZLAxPWFE}}</ref>}}
{{History||1.4.6|snap=12w49a|[[Nether star]]s are the first items to not be deleted by [[explosion]]s.}}
{{History|||snap=12w50a|When dropped, items now render in the [[fancy graphics]] setting as 3D spinning animations (non-block items no longer display as [[Wikipedia:Sprite (computer graphics)|sprites]]).
|Dropped items now merge with nearby items and be stacked.
|Enchanted items now show the enchanted glow when dropped.}}
{{History||1.5|snap=13w01a|Added [[hopper]]s, which can collect items.}}
{{History|||snap=13w03a|Added [[Minecart with Hopper|hopper minecart]]s, which can collect items.}}
{{History||1.8|snap=14w04a|Dropped items don't spin, and they are visible only from the south on fast graphics.}}
{{History|||snap=14w04b|Dropped items are now completely invisible on fast graphics.}}
{{History|||snap=14w05a|Dropped items on fast graphics now face the player on all three axes, and they spin again on fancy graphics.}}
{{History|||snap=14w25a|Dropped items now render in 3D on fast graphics, instead of just on fancy graphics, likely due to item models being fully implemented and replacing the need for 2D items. However, they do not spin.}}
{{History||1.8.1|snap=pre4|Dropped items now spin on fast graphics.}}
{{History||1.10|snap=16w21a|Items can now be reared by [[fishing rod]]s.}}
{{History||1.11|snap=16w32a|The entity ID of items has been changed from <code>Item</code> to <code>item</code>.}}
{{History||1.13|snap=18w07a|Items in water now float up.}}
{{History||1.16|snap=20w06a|Netherite items are the first items to not burn in [[lava]], and float in lava.}}
{{History||1.20|snap=Pre-release 5|Item are no longer destroyed by falling [[anvil]]s.<ref>{{bug|MC-120158
||Anvils and other falling_blocks with HurtEntities set to true kill items and xp orbs|Fixed}}</ref>}}

{{History|pocket alpha}}
{{History||v0.2.0|Added items to the game.}}
{{History||?|Items now have improved graphics.{{more info|clarify}}}}
{{History|Bedrock}}
{{History||1.4.0|snap=beta 1.2.14.2|Items in [[water]] now float up.}}
{{History||1.16.0|snap=beta 1.15.0.51|When dropped, items now render as 3D spinning animations (non-block items no longer display as [[Wikipedia:Sprite (computer graphics)|sprites]]).}}
{{History|||snap=beta 1.16.0.51|Added [[netherite]] items, which float and do not burn in [[lava]].}}

{{History|console}}
{{History||xbox=TU1|xbone=CU1|ps=1.0|wiiu=Patch 1|switch=1.0.1|Added items to the game.}}
{{History||xbox=TU12|When dropped, items now render as 3D spinning animations (non-block items no longer display as [[Wikipedia:Sprite (computer graphics)|sprites]]).}}
{{History||xbox=TU69|xbone=none|ps=1.76|wiiu=Patch 38|switch=none|Items in [[water]] now float up.}}
{{History|foot}}

== Trivia ==
* {{bug|MC-4}}, the oldest standing bug in the Minecraft [[bug tracker]], involves item entity positioning being incorrectly handled.

==Gallery==
<gallery>
3D Diamonds.png|First image of 3D dropped items.
</gallery>

== See also ==
* [[Drops]] — items dropped by [[mobs]] when killed.
* [[Chunk format#Items|Chunk format]] for more information about the attributes of items.

== References ==

{{Reflist}}

{{entities}}
{{items}}

[[Category:Items| ]]

[[de:Drop]]
[[es:Objeto (entidad)]]
[[fr:Objet (entité)]]
[[ja:アイテム (エンティティ)]]
[[ko:아이템 (개체)]]
[[nl:Voorwerp (entiteit)]]
[[pt:Drops]]
[[ru:Предмет (сущность)]]
[[zh:物品(实体)]]</li><li>[[Cooked Salmon|Cooked Salmon]]<br/>{{Dungeons hatnote|type=consumable}}
{{Item
| title = Cooked Salmon
| image = Cooked Salmon.png
| renewable = Yes
| heals = {{hunger|6}}
| stackable = Yes (64)
}}
'''Cooked salmon''' is a [[food]] item obtained by cooking [[raw salmon]].

== Obtaining ==

=== Mob loot ===

====Salmon====
[[Salmon]] always drops 1 raw salmon when killed, unaffected by Looting.<ref>{{bug|MC-212795||Salmon & Fish mobs are not affected by Looting}}</ref> If it is killed while on [[fire]], it drops 1 [[Cooked Salmon|cooked salmon]] instead.
====Guardians and elder guardians====
[[Guardian|Guardians]] and [[Elder Guardian|elder guardians]] have a 2.5% chance to drop a random fish, with 25% of them being raw salmon, which drops as cooked if the guardian was on fire. The chance of getting the fish drop is increased by 1% per level with [[Looting]] (for a maximum of 5.5% with Looting III), but the type of fish is not affected.
====Polar bears ====
[[Polar bear]]s have a 25% chance of dropping 0–2 raw salmon when killed. The maximum amount can be increased by 1 per level of Looting, for a maximum of 0-5 with Looting III. If killed while on fire, they drop cooked salmon instead.
=== Cooking ===

Cooked salmon can be obtained by cooking raw salmon in a [[furnace]], [[smoker]], or on a [[campfire]]. Each piece of cooked salmon removed from a furnace output slot gives 0.35 [[experience]] (22.4 experience per stack).

{{smelting|Raw Salmon|Cooked Salmon|0,35}}

=== Chest loot ===
{{LootChestItem|cooked-salmon}}

=== Trading ===

Apprentice-level fishermen villagers have a 50%{{only|bedrock}} or {{frac|2|3}}{{only|java}} chance to sell 6 cooked salmon for 6 raw salmon and an [[emerald]].

== Usage ==

=== Food ===

To eat cooked salmon, press and hold {{control|use}} while it is selected in the hotbar. Eating one restores {{hunger|6}} and 9.6 [[Hunger#Mechanics|saturation]], the same as [[cooked mutton]].

=== Wolves ===

{{IN|Bedrock}}, cooked salmon can be fed to [[wolves]] only if they are not at full health, healing them by {{hp|6|mob=1}}. Cooked salmon does not accelerate the growth of baby wolves and cannot be used to [[breed]] them.

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

== Data values ==
=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|showitemtags=y
|showforms=y
|generatetranslationkeys=y
|displayname=Cooked Salmon
|spritetype=item
|nameid=cooked_salmon
|itemtags=fishes
|form=item
|foot=1}}

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Cooked Salmon
|spritetype=item
|nameid=cooked_salmon
|id=269
|form=item
|foot=1}}

== Achievements ==

{{load achievements|Lion Hunter}}

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

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

== History ==

{{History|java}}
{{History||1.7.2|snap=13w36a|[[File:Cooked Salmon JE1 BE1.png|32px]] Added cooked salmon.}}
{{History||1.8|snap=14w02a|Cooked salmon can no longer be [[trading|traded]] by [[villager]]s.}}
{{History||1.13|snap=17w47a|The different data values for the <code>cooked_fish</code> IDs have been split up into their own IDs.
|Prior to [[1.13/Flattening|''The Flattening'']], these [[item]]s' numeral IDs were 349 and 250.}}
{{History|||snap=18w08b|Salmon has been added as a [[mob]], which drops raw salmon when killed (cooked while on [[fire]]).
|[[File:Cooked Salmon JE2 BE2.png|32px]] The texture of cooked salmon has been changed.}}
{{History|||snap=18w10a|Cooked salmon now generates in [[buried treasure]] [[chest]]s.}}
{{History|||snap=19w11a|Fisherman [[villager]]s can now convert raw salmon to cooked salmon, if [[trading|paid]] with emeralds.}}

{{History|pocket alpha}}
{{History||v0.11.0|snap=build 1|[[File:Cooked Salmon JE1 BE1.png|32px]] Added cooked salmon.}}
{{History||v0.12.1|snap=build 1|Salmon now restores [[hunger]] instead of [[health]].}}
{{History||v0.16.0|snap=build 1|Salmon is now dropped by [[guardian]]s and [[elder guardian]]s.}}
{{History|bedrock}}
{{History||1.4.0|snap=beta 1.2.14.2|Salmon has been added as a [[mob]], which drops raw salmon when killed (cooked while on [[fire]]).
|[[File:Cooked Salmon JE2 BE2.png|32px]] The texture of cooked salmon has been changed.}}
{{History||1.11.0|snap=beta 1.11.0.4|Cooked salmon can now be obtained from [[trading]] with fishermen [[villager]]s.}}
{{History||1.16.100|snap=beta 1.16.100.52|Salmon now drops cooked salmon when killed on [[fire]].}}

{{History|console}}
{{History||xbox=TU31|xbone=CU19|ps=1.22|wiiu=Patch 3|[[File:Cooked Salmon JE1 BE1.png|32px]] Added cooked salmon.}}
{{History||xbox=TU69|ps=1.76|wiiu=Patch 38|[[File:Cooked Salmon JE2 BE2.png|32px]] The texture of cooked salmon has been changed.}}

{{History|new 3ds}}
{{History||0.1.0|[[File:Cooked Salmon JE1 BE1.png|32px]] Added cooked salmon.}}
{{History|foot}}

== Issues ==

{{issue list}}

== See also ==

* [[Fishing]]
* [[Cooked Cod]]

{{items}}

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

[[de:Gebratener Lachs]]
[[es:Salmón ahumado]]
[[pt:Salmão assado]]
[[ko:익힌 연어]]
[[zh:熟鲑鱼]]
[[ru:Жареный лосось]]</li></ul>
beta 1.19.80.22Added stopall and runsetuntilfail subcommands.
Advertisement