Minecraft Wiki
Advertisement

Duncan Geere Mojang avatar

Pistons push blocks, up to twelve of them in a row, when given a redstone signal. Flip the power on and the piston's head will extend outwards one block for a fraction of a second. Any entities in the path of the head will be pushed along with it, including the player, and if there's a slime block in front of the head then they'll be sproinged off instead. SPROINGGG!

Duncan Geere[1]

A Piston is a block capable of pushing movable blocks when given a redstone pulse.
A Sticky Piston can both push and pull movable blocks when given a redstone pulse.

Obtaining

A piston can be broken using any tool with equal efficiency, and will always drop itself.

Block Piston
Hardness 1.5
Breaking time (secs)
Default 2.25

Natural generation

Three sticky pistons generate as part of each jungle temple.

Crafting

Name Ingredients Crafting recipe
Piston Any Wood Planks +
Cobblestone +
Iron Ingot +
Redstone

Sticky Piston Slimeball +
Piston


Usage

Pistons are always placed facing towards the player. When powered, the piston's wooden surface (head) will start extending immediately, and push at most 12 blocks. The extension takes two gameticks, or 1 redstone ticks (0.1 seconds, barring lag). The piston makes a sound that can be heard within a 31x31x31 cube centered on the activating piston. Any entities in the path of the extending head will be pushed with the blocks. If there is no place for the entities to go, the block will push inside the mob, suffocating it if the block is not transparent, if pushed into the eye height of the mob.

When a piston loses power, it will retract by simply pulling its head back. This retraction starts immediatly, but lasts for 2 gameticks or 1 redstone ticks (0.1 seconds barring lag). Sticky pistons will also pull the block in front of their head.

Sticky pistons only stick to a block when retracting, so a block next to the piston head can be pushed aside by another piston and sticky pistons cannot hold falling blocks horizontally against gravity. They also don't pull blocks 1 redstone tick (0.1 seconds, barring lag) later after pushing them. This can be done by giving the piston a short pulse, specifically shorter than or equal to two gameticks, or one redstone ticks.‌[Java Edition only]

A piston that pushes a slime block will bounce any entity that it displaces in the direction the piston is facing. In addition, when a slime block is moved by a piston, any movable blocks adjacent (not diagonally) to the slime block will also move. See the "usage" section below for more details.

Blocks that stick to walls (such as levers) can be placed on pistons or sticky pistons.‌[Bedrock Edition only]

Limitations

Pistons can push most blocks, and sticky pistons can pull most blocks, except those listed in the table below. Sticky pistons will simply leave a block behind if it cannot pull it.

Pistons will not push blocks into the void or beyond the top of the map. They also cannot push more than 12 blocks. In these situations, the piston simply will not extend.

Blocks that cannot be pushed or pulled
Block Effect (Java Edition) Effect (Bedrock Edition) Effect (Console Edition)
Cannot be pushed or pulled.
Can be pushed, but not pulled.
Cannot be pushed or pulled. Can be pushed or pulled. Can be pushed or pulled.
Can be pushed, but not pulled.
Can be pushed or pulled, but separates the two chests. Cannot be pushed or pulled.
Breaks when pushed or pulled, turning to drops
Breaks when pushed, turning to drops when applicable. Can not be pulled.
Can be pushed or pulled as normal, but will fall rather than remain attached to sticky pistons.

Pistons will not move blocks that are "attached to a block," as they will be detached and drop as an item.

Exceptions
  • Rails: as long as they remain on top of a solid block in their new position, and that block isn't moving at the same time.
    • An exception is when the rail and block supporting it are on two parallel extended pistons at which the rail remains attached. Trying to move both on the same piston using slime blocks does not work, nor does moving them on perpendicular pistons (although the latter will temporarily appear to work because of a bug 75716).
    • Rails will re-orient themselves after being pushed similar to when placed manually.
  • Carpet

Powering pistons

PistonTrick

Pistons powered by one line of redstone.

Pistons can be powered in various ways:

  • If a redstone wire is in a line shape towards the piston, as the wire will not automatically curve to the piston.‌[Computer Edition only]
  • Pistons can be powered by a powered block directly adjacent to them, whether it is strongly powered or weakly powered.
  • Pistons can be powered by a redstone torch directly adjacent to them.
  • Pistons can be powered by any powered block one block above and to the side, including the "activated space" above it (if a piston, both sticky and normal were to be facing up and a Block of redstone on its head, it will extend when powered, but won't retract when the power it receives from the side or back turns off). However, the piston won't extend or retract until it receives a block update. This property is called quasi-connectivity and can be used to make a BUD switch.
  • A repeater cannot transfer power through a piston, as pistons are a transparent block.
  • An upwards-facing piston can't be powered by a block above it, unless it is extended.

Slime blocks

A
B
Piston A may extend because the slime block ignores the adjacent obsidian. Piston B may not extend because the diamond block is prevented from moving by the obsidian and so the slime block will also refuse to move.

When a slime block is pushed or pulled by a piston, while moving, adjacent blocks will also move with the slime block, unless a non-piston movable block stops the blocks that are "grabbed" by the slime blocks. These blocks may in turn push other blocks, not just the blocks in the line in front of the piston. For example, a Slime Block sitting on the ground will attempt to move the ground block underneath itself, which will in turn have to push additional ground blocks in the direction of motion just as if it were being pushed directly by a piston.

Glazed terracotta is an exception; it will not move when adjacent slime blocks are moved.

The same occurs when a slime block is moved by an adjacent Slime Block. For example, a 2×2×2 cube of Slime Blocks may be pushed or pulled as a unit by a single piston acting on any of the blocks in the cube.

A slime block adjacent to a block that cannot be moved by pistons will ignore the immobile block. But if an adjacent block could be moved but is prevented by the presence of an immobile block, the slime block will be prevented from moving.

Slime blocks are not pulled by a non-sticky piston, nor are they moved if an adjacent (non-Slime) block is moved by a piston.

The maximum of 12 blocks moved by a piston still applies. For example, a 2×2×3 collection of Slime Blocks may be pushed or pulled by a sticky piston as long as no other movable blocks are adjacent to it.

A piston cannot move itself via a "hook" constructed of slime blocks, but self-propelled contraptions can be created with multiple pistons. For that, see the article Tutorials/Flying technologies.

Technical components

Piston head

Template:Technical Block

The piston head is a technical block used as the second block of an extended piston. A block state defines whether it is a normal or a sticky piston head. It can only be placed using the /setblock command, though if not part of a proper piston, it will disappear after receiving any block tick, such as when a block is placed next to it.

Block state

See also: Block states

The minecraft:piston_head block uses following block states:

Piston Head/BS

Piston extension

Template:Technical Block

The piston extension[until Lua error in Module:Version_link at line 112: attempt to concatenate local 'text' (a nil value).] (a.k.a. "Moving Piston"‌[upcoming: Lua error in Module:Version_link at line 112: attempt to concatenate local 'text' (a nil value).], "Block Being Moved By Piston" or simply "block 36") is an unobtainable technical block that contains part of a piston head, and/or part of one or two blocks that the piston is carrying into or out of the grid cell (including blocks carried indirectly via slime blocks). Since moving blocks vary in how much of each grid cell they occupy, they can't be stored as normal blocks and are instead stored as block entities. It is overwritten with air, the piston head or the carried block at the end of the piston stroke; but if it is placed by a command and no piston is connected, it will remain indefinitely.

It is invisible, non-solid, and cannot be broken without the use of commands or TNT. It decreases the light level of light passing through by 1. Although it is non-solid, fluids cannot pass through it. It also prevents players from building at its location. The game treats the block as a stone block when it comes to the player's footstep sounds, and as a Missing Texture block when it comes to the breaking animation.

Block entity

The minecraft:piston_extension technical block has a block entity associated with it that holds additional data about the block. The block's block entity ID is piston.

  • Block entity data
    • Tags common to all block entities
    •  blockState: The moving block represented by this block entity.
      • Block state
    •  extending: 1 or 0 (true/false) – true if the piston is extending instead of withdrawing.
    •  facing: Direction that the piston pushes (0=down, 1=up, 2=north, 3=south, 4=west, 5=east).
    •  progress: How far the block has been moved. Starts at 0.0, and increments by 0.5 each tick. If the value is 1.0 or higher at the start of a tick (before incrementing), then the block transforms into the stored blockState. Negative values can be used to increase the time until transformation.
    •  source: 1 or 0 (true/false) – true if the block represents the piston head itself, false if it represents a block being pushed.

Block state

See also: Block states

The minecraft:piston_extension technical block uses following block states:

Piston Extension/BS

Data values

ID

Piston/ID

Block data

See also: Data values
Bits Values
0x0 facing down
0x1 facing up
0x2 facing north
0x3 facing south
0x4 facing west
0x5 facing east
0x6, 0x7 6-sided piston
0x8 (bit flag) When 1, the piston is extended.

Block state

See also: Block states

The minecraft:piston and minecraft:sticky_piston blocks use following block states:

Java Edition:

Name Default value Allowed values Description
extendedfalsefalse
true
If true, the piston is extended.
facingnorthdown
east
north
south
up
west
The direction the piston head is pointing.
The opposite from the direction the player faces while placing the piston.

Bedrock Edition:

NameMetadata Bits Default value Allowed valuesValues for
Metadata Bits
Description
facing_direction0x1
0x2
0x4
00
1
2
3
4
5
0
1
2
3
4
5
The direction the piston is pointing.
  • 0: facing down
  • 1: facing up
  • 2: facing south
  • 3: facing north
  • 4: facing east
  • 5: facing west

Achievements

Icon Achievement In-game description Actual requirements (if different) Gamerscore earned Trophy type (PS4)
PS4 Other
InceptionPush a piston with a piston, then pull the original piston with that piston.20GSilver

Video

Piston/video

History

classic
May 21, 2009Notch shows interest in adding blocks that can pull and push other blocks when a pulse from a wire is received; he called them "Pulley1", which would pull a block up, and "Pulley2" which would push a block up.
beta
1.7
{{Extension DPL}}<ul><li>[[Popped Chorus Fruit|Popped Chorus Fruit]]<br/>{{Item
| image = Popped Chorus Fruit.png
| renewable =  Yes
| stackable = Yes (64)
}}

'''Popped chorus fruit''' is an [[item]] obtained by [[smelting]] [[chorus fruit]], and used to craft [[End Rod|end rods]] and [[purpur blocks]]. Unlike raw chorus fruit, the popped fruit is inedible.

== Obtaining ==
=== Smelting ===
{{Smelting
|Chorus Fruit
|Popped Chorus Fruit
|0,1
}}

== Usage ==

=== Crafting ingredient ===

{{crafting usage}}

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

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|showaliasids=y
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Popped Chorus Fruit
|spritetype=item
|nameid=popped_chorus_fruit
|aliasid=chorus_fruit_popped
|id=559
|form=item
|translationkey=item.chorus_fruit_popped.name
|foot=1}}

== History ==

{{History|java}}
{{History||1.9|snap=15w31a|[[File:Popped Chorus Fruit JE1 BE1.png|32px]] Added popped chorus fruit. 
|Popped chorus fruit are used to craft [[purpur block]]s.}}
{{History|||snap=15w44b|Popped chorus fruit are now used to craft [[end rod]]s.}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 433.}}
{{History|||snap=pre5|The ID of popped chorus fruit has now been changed to <code>popped_chorus_fruit</code>.}}
{{History||1.14|snap=18w43a|[[File:Popped Chorus Fruit JE2 BE2.png|32px]] The texture of popped chorus fruit has now been changed.}}

{{History|pocket}}
{{History||1.0.0|snap=alpha 0.17.0.1|[[File:Popped Chorus Fruit JE1 BE1.png|32px]] Added popped chorus fruit.}}
{{History|bedrock}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Popped Chorus Fruit JE2 BE2.png|32px]] The texture of popped chorus fruit has now been changed.}}
{{History||1.16.100|snap=beta 1.16.100.56|The ID of popped chorus fruit has been changed from <code>chorus_fruit_popped</code> to <code>popped_chorus_fruit</code>.}}

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

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

== Issues ==

{{issue list}}

{{Items}}

[[cs:Vypukaný květ chorusu]]
[[de:Geplatzte Chorusfrucht]]
[[fr:Chorus éclaté]]
[[it:Frutto di chorus scoppiato]]
[[ja:焼いたコーラスフルーツ]]
[[ko:튀긴 후렴과]]
[[nl:Gepoft Chorusfruit]]
[[pl:Prażony owoc refrenusu]]
[[pt:Fruta do coro cozida]]
[[ru:Приготовленный плод коруса]]
[[zh:爆裂紫颂果]]
[[Category:Renewable resources]]</li><li>[[Glass Bottle|Glass Bottle]]<br/>{{about|the empty bottle||Bottle}}

{{Item
| image = Glass Bottle.png
| renewable = Yes
| stackable = Yes (64)
}}

A '''glass bottle''' is an [[item]] that can hold [[water]], [[potion]]s, [[Honey Bottle|honey]], or [[dragon's breath]].

== Obtaining ==

Glass bottles can be obtained by crafting, drinking from bottles, [[fishing]], or from [[witch]] drops.

=== Crafting ===

{{Crafting
|A2= Glass
|C2= Glass
|B3= Glass
|Output= Glass Bottle,3
|type= Brewing
}}

=== Drinking ===

Drinking a [[potion]] or [[Honey Bottle|honey bottle]] returns the empty glass bottle. Throwing a splash potion or a lingering potion does not return a glass bottle, but brewing a lingering potion gives back a glass bottle.

=== Mob loot ===

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

=== Mud ===

{{control|Using}} a [[water bottle]], [[splash water bottle]] or [[lingering water bottle]] on [[dirt]], [[coarse dirt]] or [[rooted dirt]] will transforming it into a [[mud]] block, at the same time leaving the player with an empty glass bottle.

=== Cauldrons ===

{{control|Using}} a water bottle (or, {{in|bedrock}}, a potion, splash potion, or lingering potion) on a [[cauldron]] that is not yet full adds that liquid to the cauldron, leaving the player with an empty glass bottle.

== Usage ==

Glass bottles can be filled to make [[water bottle]]s, which can then be used to [[brew]] items with a [[brewing stand]]. Glass bottles are also used to hold the resulting [[potion]].

=== Collecting liquids ===

==== Water ====
A bottle may be filled with water by holding it in the hand and {{control|using}} it on a [[water]] source block or a [[cauldron]] that has water in it. It can also be filled using a waterlogged block.{{only|java}}<ref>{{bug|MCPE-83420}}</ref>

Also, a bottle may be filled by powering a [[dispenser]] containing a bottle and pointed at a water source block. This does not work with cauldrons.<ref>{{bug|MC-165196|||Invalid}}</ref>

If filled via a water source, the water is unaffected. If filled via a cauldron, {{frac|1|3}} of the water in the cauldron is removed. Therefore, using a cauldron to fill water bottles is inefficient, except in [[the Nether]] where it is normally the only way to fill bottles.

==== Potion ====
{{IN|bedrock}}, a bottle may be filled with potion by {{control|using}} it on a [[cauldron]] containing potion. When the bottle is filled, {{frac|1|3}} of the cauldron's potion is removed.

==== Honey ====
If a [[beehive|bee nest]] or [[beehive]] is full, the player can {{control|use}} a glass bottle on the block, or may power a [[dispenser]] that contains a bottle and is pointed at the block, which empties the block and creates a [[honey bottle]]. Honey bottles can also be emptied by using them in crafting recipes (such as [[sugar]] or [[honey block]]). However, a lingering potion use on tipped arrow recipe does not give the bottle back.

==== Dragon's breath ====
{{control|Using}} a glass bottle in clouds emitted when the [[ender dragon]] breathes or shoots a [[dragon fireball]] fills the bottle with [[dragon's breath]].

When put 2 or more dragon's breath in the brewing stand, after the brewing process, a glass bottle will drop as an [[Item (entity)|entity]]. However, if put only 1 dragon's breath in the brewing stand, after the brewing process, the glass bottle is consumed and cannot be retrieved.<ref>{{bug|MC-259583}}</ref>

=== Trading ===

Expert-level cleric [[villager]]s have a 50% chance to buy 9 glass bottles for one [[emerald]] as part of their trade.{{only|bedrock}}

Expert-level cleric villagers have a {{frac|2|3}} chance to buy 9 glass bottles for one emerald.{{only|java}}

=== Crafting ingredients ===
{{Crafting usage|Glass Bottle}}

== Sounds ==
{{edition|java}}:
{{Sound table
|rowspan=2
|sound=Bottle fill water1.ogg
|sound2=Bottle fill water2.ogg
|sound3=Bottle fill water3.ogg
|sound4=Bottle fill water4.ogg
|subtitle=Bottle fills
|source=block
|description=When a bottle is filled with a liquid from a cauldron, or honey from a bee nest or beehive
|id=item.bottle.fill
|translationkey=subtitles.item.bottle.fill
|volume=1.0
|pitch=1.0
|distance=16}}
{{Sound table
|subtitle=Bottle fills
|source=neutral
|description=When a bottle is filled with water from a water source
|id=item.bottle.fill
|translationkey=subtitles.item.bottle.fill
|volume=1.0
|pitch=1.0
|distance=16}}
{{Sound table
|sound=Bottle empty1.ogg
|sound2=Bottle empty2.ogg
|subtitle=Bottle empties
|source=block
|description=When a water bottle is emptied
|id=item.bottle.empty
|translationkey=subtitles.item.bottle.empty
|volume=1.0
|pitch=1.0
|distance=16}}
{{Sound table
|sound=Bottle fill dragon breath1.ogg
|sound2=Bottle fill dragon breath2.ogg
|subtitle=Bottle fills
|source=neutral
|description=When a bottle is filled with dragon's breath
|id=item.bottle.fill_dragonbreath
|translationkey=subtitles.item.bottle.fill
|volume=1.0
|pitch=1.0
|distance=16
|foot=1}}

{{edition|java}}:
{{Sound table
|type=bedrock
|rowspan=4
|sound=Water Splash Old.ogg
|source=block
|description=When water from a bottle is placed in a cauldron<wbr><ref group=sound name=potionsplash>{{Bug|MCPE-174867}}</ref>
|id=cauldron.fillwater
|volume=0.1
|pitch=1.0}}
{{Sound table
|source=block
|description=When water from a bottle is taken from a cauldron<wbr><ref group=sound name=potionsplash/>
|id=cauldron.takewater
|volume=0.1
|pitch=1.0}}
{{Sound table
|source=block
|description=When a bottle is filled with a potion from a cauldron<wbr><ref group=sound name=potionsplash/>
|id=cauldron.fillpotion
|volume=0.1
|pitch=1.0}}
{{Sound table
|source=block
|description=When a potion bottle is emptied into a cauldron<wbr><ref group=sound name=potionsplash/>
|id=cauldron.takepotion
|volume=0.1
|pitch=1.0}}
{{Sound table
|sound=Bottle empty1.ogg
|sound2=Bottle empty2.ogg
|source=sound<!--bottle-->
|description=When a bottle is emptied<wbr>{{Upcoming|BE 1.20.40}}
|id=bottle.empty
|volume=1.0
|pitch=1.0}}
{{Sound table
|sound=Bottle fill water1.ogg
|sound2=Bottle fill water2.ogg
|sound3=Bottle fill water3.ogg
|sound4=Bottle fill water4.ogg
|source=sound<!--bottle-->
|description=When a bottle is filled<wbr>{{Upcoming|BE 1.20.40}}
|id=bottle.fill
|volume=1.0
|pitch=1.0}}
{{Sound table
|sound=Fill water bucket1.ogg
|sound2=Fill water bucket2.ogg
|sound3=Fill water bucket3.ogg
|source=block
|description=When a bottle is filled with honey from a bee nest or beehive<wbr><ref group=sound>{{Bug|MCPE-53881}}</ref>
|id=bucket.fill_water
|volume=1.0
|pitch=1.0}}
{{Sound table
|sound=Bottle fill dragon breath1.ogg
|sound2=Bottle fill dragon breath2.ogg
|source=sound
|description=When a bottle is filled with dragon's breath
|id=bottle.dragonbreath
|volume=0.7<wbr>{{Until|BE 1.20.40}}<br>1.0<wbr>{{Upcoming|BE 1.20.40}}
|pitch=1.0
|foot=1}}

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

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Glass Bottle
|spritetype=item
|id=427
|nameid=glass_bottle
|form=item
|foot=1}}

== Achievements ==

{{Load achievements|You Need a Mint;Local Brewery;Bee Our guest}}

== Advancements ==
{{load advancements|Local Brewery;You Need a Mint;Bee Our Guest}}

== History ==
{{History|java}}
{{History||1.0.0|snap=Beta 1.9 Prerelease 2|[[File:Glass Bottle JE1 BE1.png|32px]] Added glass bottles.}}
{{History|||snap=Beta 1.9 Prerelease 3|[[File:Water Bottle JE1 BE1.png|32px]] Glass bottles have been given their sole function of picking up [[water]] for the [[brewing]] of [[potion]]s.}}
{{History||1.4.2|snap=12w38b|[[Witch]]es now have a chance of [[drops|dropping]] glass bottles upon [[death]].}}
{{history||1.9|snap=15w33a|[[File:Dragon's Breath JE1 BE1.png|32px]] Glass bottles can now be used to obtain [[dragon's breath]].}}
{{history|||snap=15w43a|A glass bottle can be found in the [[brewing stand]] in an [[igloo]] basement.}}
{{history|||snap=15w43c|The glass bottle has been removed from igloo basements.}}
{{History|||snap=15w50a|Added [[sound]]s: <code>item.bottle.fill</code> and <code>item.bottle.fill_dragonbreath</code>.}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 374.}}
{{History||1.14|snap=18w43a|[[File:Glass Bottle JE2 BE2.png|32px]] [[File:Water Bottle JE2 BE2.png|32px]] [[File:Dragon's Breath JE2 BE2.png|32px]] The textures of glass bottles, [[water bottle]]s and [[dragon's breath]] have been changed.}}
{{History|||snap=19w11a|Cleric [[villager]]s now [[trading|buy]] glass bottles.}}
{{History||1.15|snap=19w34a|[[File:Honey Bottle JE1.png|32px]] Glass bottles can now be used to collect [[Honey Bottle|honey]].
|[[Dispenser]]s may now use glass bottles to collect [[water]] and honey.}}
{{History|||snap=19w46a|Using glass bottles to collect honey now unlocks the [[Bee Our Guest]] advancement.}}
{{History||1.19|snap=22w11a|Converting [[dirt]], [[coarse dirt]] or [[rooted dirt]] into [[mud]] using a [[water bottle]], [[splash water bottle]] or [[lingering water bottle]] now leaves the player with an empty glass bottle.}}

{{History|pocket alpha}}
{{History||v0.12.1|snap=build 1|[[File:Glass Bottle JE1 BE1.png|32px]] Added glass bottles.}}
{{History||v0.14.0|snap=build 1|Glass bottles can now be used to empty [[cauldron]]s filled with [[water]] or [[potion]]s.
|Glass bottles can now be dropped by [[witch]]es.
|Potions and [[splash potion]]s can now be used to fill cauldrons, which turns them into glass bottles.}}
{{History|pocket}}
{{History||1.0.0|snap=alpha 0.17.0.1|[[File:Dragon's Breath JE1 BE1.png|32px]] Glass bottles can now be used to obtain [[dragon's breath]].
|[[Lingering potion]]s can now be used to fill [[cauldron]]s, which turns them into glass bottles.}}
{{History|bedrock}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Glass Bottle JE2 BE2.png|32px]] The texture of glass bottles has been changed.}}
{{History||1.11.0|snap=beta 1.11.0.4|Glass bottles can now be [[trading|sold]] to cleric [[villager]]s.}}
{{History||1.14.0|snap=beta 1.14.0.1|[[File:Honey Bottle BE1.png|32px]] Glass bottles can now be used to collect [[Honey Bottle|honey]].
|[[Dispenser]]s may now use glass bottles to collect [[water]] and honey.}}

{{History|console}}
{{History||xbox=TU7|xbone=CU1|ps=1.0|wiiu=Patch 1|[[File:Glass Bottle JE1 BE1.png|32px]] Added glass bottles.}}
{{History|PS4}}
{{History||1.90|[[File:Glass Bottle JE2 BE2.png|32px]] The texture of glass bottles has been changed.}}

{{History|new 3ds}}
{{History||0.1.0|[[File:Glass Bottle JE1 BE1.png|32px]] Added glass bottles.}}
{{History||1.7.10|[[File:Dragon's Breath JE1 BE1.png|32px]]  Glass bottles can now be used to obtain [[dragon's breath]].}}
{{history|foot}}

== Issues ==
{{issue list}}

==References==
{{Reflist}}

{{Items}}

[[cs:Lahvička]]
[[de:Glasflasche]]
[[es:Frasco de cristal]]
[[fr:Fiole]]
[[hu:Üvegpalack]]
[[it:Ampolla]]
[[ja:ガラス瓶]]
[[ko:유리병]]
[[nl:Glazen fles]]
[[pl:Szklana butelka]]
[[pt:Frasco]]
[[ru:Колба]]
[[zh:玻璃瓶]]
[[Category:Renewable resources]]</li></ul>
Added pistons.
The original piston was a mod posted on the Minecraft Forums by Hippoplatimus.[2] The code for that version was given to Jeb, who then worked on implementing pistons into vanilla Minecraft.
  • Hippoplatimus is in the game's credits under "Additional Programming", like other modders whose work made it into vanilla Minecraft.
Another user, DiEvAl, privately submitted code as well, including the idea of Tile Entities to track moving blocks.[3]
However, due to Jeb's work on the Pocket Edition, pistons were delayed, and were not released for the Beta 1.5 update nor for the Beta 1.6 update. Finally, when the Pocket Edition was good enough to show at E3, Jeb went back to work on the Java edition of Minecraft and pistons were finally added in version Beta 1.7, including Sticky Pistons.
The piston texture as screen-captured while in development had iron bands running over the head. The bands were removed for the release, leaving only iron brackets around the corners and edges.
1.7_01
{{Extension DPL}}<ul><li>[[Clay Ball|Clay Ball]]<br/>{{Item
| image = Clay Ball.png
| stackable = Yes (64)
| renewable = Yes
}}

{{about|the item|the block|Clay|other uses|Clay (disambiguation)}}
A '''clay ball''' is the item obtained from [[clay]] used for [[crafting]] or making [[brick]]s.

== Obtaining ==

=== Block loot ===
Clay balls are obtained when a [[clay]] block is broken with a non-[[Silk Touch]] tool. Each block yields four clay balls regardless of [[Fortune]].

=== Chest loot ===
{{LootChestItem|clay-ball}}

=== Villager gifts ===

If a [[player]] has the [[Hero of the Village]] status effect, a Mason [[villager]] might throw that player a [[clay block]] as a gift. {{Only|java}} This can be placed and [[breaking|broken]] to harvest clay balls.

== Usage ==

Clay balls can be [[crafting|crafted]] back together to form [[clay]] blocks or baked in a [[furnace]] to create [[brick]]s.

=== Crafting ingredient  ===

{{crafting usage}}

=== Smelting ingredient ===

{{Smelting
|showname=1
|Clay Ball
|Brick
|0.3
}}

=== Trading ===
Novice-level [[Villager|mason villagers]] buy 10 clay balls for 1 [[emerald]] as part of their [[trades]].

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

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Clay
|spritetype=item
|nameid=clay_ball
|id=384
|form=item
|foot=1}}

== History ==
{{History|java alpha}}
{{History||v1.0.11|[[File:Clay Ball JE1 BE1.png|32px]] Added clay.}}
{{History|java}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 337.}}
{{History||1.14|snap=18w43a|[[File:Clay Ball JE2 BE2.png|32px]] The texture of clay has been changed.}}
{{History|||snap=18w49a|Clay can now be found in [[chest]]s in [[village]] mason houses.}}
{{History|||snap=18w50a|Clay can now be found in [[chest]]s in [[desert]] [[village]] houses.}}
{{History|||snap=19w11a|Clay is now [[trading|bought]] by [[villager]]s of the new mason profession.}}
{{History||1.16|snap=20w06a|"Clay" has been renamed to "Clay Ball."}}
{{History|pocket alpha}}
{{History||v0.2.0|[[File:Clay Ball JE1 BE1.png|32px]] Added clay. It is currently unobtainable and serves no purpose.}}
{{History||v0.3.2|4 clay items are now dropped from clay blocks when broken.
|Clay can now be crafted into clay blocks.
|Clay can now be smelted into bricks.}}
{{History|bedrock}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Clay Ball JE2 BE2.png|32px]] The texture of clay has been changed.|10–13 clay can now be [[trading|sold]] to stone mason [[villager]]s for an [[emerald]].}}
{{History||1.11.0|snap=beta 1.11.0.1|Clay can now be found in [[village]] mason [[chest]]s and [[desert]] village house chests.}}
{{History|||snap=beta 1.11.0.4|[[Trading]] has been changed, stone mason villagers now [[trading|buy]] 10 clay for an emerald<!-- previously 10-13 -->.}}
{{History||1.19.0|snap=beta 1.19.0.24|Clay ball now [[renewable]] by placing [[mud]] above a block which has [[pointed dripstone]] underneath.}}

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

{{History|3ds}}
{{History||0.1.0|[[File:Clay Ball JE1 BE1.png|32px]] Added clay.}}
{{History|foot}}

== Issues ==

{{issue list}}

== Gallery ==
<gallery>
File:ClayInNumerousForms.png
</gallery>

== Notes ==
{{fnlist}}
{{Items}}

[[cs:Jíl]]
[[de:Tonklumpen]]
[[es:Bola de arcilla]]
[[fr:Motte d'argile]]
[[hu:Agyag (Tárgy)]]
[[it:Zolla di argilla]]
[[ja:粘土玉]]
[[ko:점토 덩이]]
[[nl:Klei (voorwerp)]]
[[pl:Glina]]
[[pt:Bola de argila]]
[[ru:Глина]]
[[uk:Глиняна кулька]]
[[zh:黏土球]]</li><li>[[Honey Bottle|Honey Bottle]]<br/>{{Item
| title = Honey Bottle
| image = Honey Bottle.png
| renewable = Yes
| heals = {{hunger|6}}
|effects=Clears {{EffectLink|Poison}}
| stackable = Yes (16)
}}

A '''honey bottle''' is a [[drinks|consumable drink]] [[item]] obtainable by using a [[glass bottle]] on a full [[beehive]].  Honey bottles remove [[poison]] when drunk and can be used to craft [[Honey Block|honey blocks]] and [[sugar]].

== Obtaining ==
{{See also|Tutorials/Honey farming}}

=== Harvesting ===
A honey bottle can be obtained by using a [[glass bottle]] on either a [[beehive]] or [[beehive|bee nest]] with a honey level of 5. Doing this angers any [[bee]]s inside, causing them to attack the player, unless there is a [[campfire]] or another [[block]] on [[fire]] beneath the bee nest or beehive.

A [[dispenser]] with glass bottles can be used to collect the honey without angering the bees. The honey bottle appears as an item in the dispenser's inventory. If the dispenser is full, the honey bottle is shot out.

=== Crafting ===
{{Crafting
|Glass Bottle
|Glass Bottle
|Honey Block
|Glass Bottle 
|Glass Bottle
|Output=Honey Bottle, 4
|type= Foodstuff
}}

== Usage ==
To drink a honey bottle, press and hold {{control|use}} while it is selected in the [[hotbar]]. Drinking one restores {{hunger|6}} [[hunger]] and 1.2 hunger [[Hunger#Mechanics|saturation]]. Consuming the item also has the benefit of removing any [[poison]] effect applied to the player. Unlike drinking [[Milk Bucket|milk]], other applied effects are not removed upon drinking a honey bottle.

Honey bottles can be drunk even with a full hunger bar. Drinking a honey bottle takes 25% longer than eating other [[food]] - 2 seconds - and has a unique sound.

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

== Sounds ==
{{edition|java}}:
{{Sound table
|sound=Drink honey1.ogg
|sound2=Drink honey2.ogg
|sound3=Drink honey3.ogg
|sound4=Drink honey3.ogg
|subtitle=Gulping
|source=player
|description=While a player is drinking a honey bottle
|id=item.honey_bottle.drink
|translationkey=subtitles.item.honey_bottle.drink
|volume=0.5
|pitch=''varies'' <ref group=sound>0.9-1.0 for <code>drink_honey1</code> and <code>drink_honey2</code>, 0.315-0.35 for <code>drink_honey3</code>, and 0.675-0.75 for the second copy of <code>drink_honey3</code></ref>
|distance=16}}
{{Sound table
|sound=Bottle fill water1.ogg
|sound2=Bottle fill water2.ogg
|sound3=Bottle fill water3.ogg
|sound4=Bottle fill water4.ogg
|subtitle=Bottle fills
|source=block
|description=When a bottle is filled with honey
|id=item.bottle.fill
|translationkey = subtitles.item.bottle.fill
|volume=1.0
|pitch=1.0
|distance=16
|foot=1}}

{{edition|bedrock}}:
{{Sound table
|type=bedrock
|sound=Drink honey1.ogg
|sound2=Drink honey2.ogg
|sound3=Drink honey3.ogg
|sound4=Drink honey3.ogg<!--This is duplicated intentionally, see below-->
|source=player
|description=While a player is drinking a honey bottle
|id=random.drink_honey
|volume=''varies''<ref group="sound" name="bevarieshoney">0.5 for <code>drink_honey1</code> and <code>drink_honey2</code>, but <code>drink_honey3</code> is 0.175 or 0.375</ref>
|pitch=0.9-1.0}}
{{Sound table
|sound=Fill water bucket1.ogg
|sound2=Fill water bucket2.ogg
|sound3=Fill water bucket3.ogg
|source=block
|description=When a bottle is filled with honey<wbr><ref group=sound>{{Bug|MCPE-53881}}</ref>
|id=bucket.fill_water
|volume=1.0
|pitch=1.0
|foot=1}}

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

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Honey Bottle
|spritetype=item
|nameid=honey_bottle
|id=592
|form=item
|foot=1}}

== Achievements ==

{{Load achievements|Bee Our Guest}}

== Advancements ==
{{Load advancements|Husbandry;A Balanced Diet;Bee Our Guest}}

== History ==
{{History|java}}
{{History||1.15|snap=19w34a|[[File:Honey Bottle JE1.png|32px]] Added honey bottles.}}
{{History|||snap=19w35a|Honey bottles now remove the [[Poison]] effect when consumed.
|Honey bottles are now included in the "A Balanced Diet" [[advancement]].}}
{{History|||snap=19w36a|Honey bottles are now less filling, restoring 1.2 [[Hunger#Mechanics|saturation]] instead of 9.6.}}
{{History||1.15|snap=19w41a|Honey bottles can now be used to craft [[honey block]]s.}}
{{History||1.15|snap=19w44a|Honey bottles can now be [[crafting|crafted]] with four [[glass bottle]]s and one [[honey block]].
|Honey bottles are now stackable (up to 16).}}
{{History|||snap=19w46a|Using [[glass bottle]]s to collect honey now unlocks the [[Bee Our Guest]] advancement.}}

{{History|bedrock}}
{{History||1.14.0|snap=beta 1.14.0.1|[[File:Honey Bottle BE1.png|32px]] Added honey bottles.}}
{{History|||snap=beta 1.14.0.4|[[File:Honey Bottle BE2.png|32px]] The texture of honey bottles has been changed to match {{el|je}}'s.
|Honey bottles can now be crafted with four [[glass bottle]]s and one [[honey block]].
|Honey bottles are now stackable to 16.}}
{{History|||snap=release|slink=Bedrock Edition 1.14.0|Using [[glass bottle]]s to collect honey now unlocks the [[Bee our guest]] achievement.}}
{{History|foot}}

== Issues ==
{{issue list}}

== Trivia ==

* Honey bottles are the only drinkable [[item]]s that can stack. They have a maximum stack size of 16.
* Honey bottles are the only drinkable items that can restore hunger.
* Honey bottles are 4 pixels more full than [[water bottles]].

{{Items}}

[[cs:Lahvička medu]]
[[de:Honigflasche]]
[[es:Frasco con miel]]
[[fr:Fiole de miel]]
[[ja:ハチミツ入りの瓶]]
[[ko:꿀이 든 병]]
[[lzh:蜜瓶]]
[[pl:Butelka miodu]]
[[pt:Frasco de mel]]
[[ru:Бутылочка мёда]]
[[th:ขวดน้ำผึ้ง]]
[[uk:Пляшечка меду]]
[[zh:蜂蜜瓶]]
[[Category:Food]]
[[Category:Renewable resources]]</li></ul>
Sticky pistons do not stick when they aren't retracting.
1.7.3
{{Extension DPL}}<ul><li>[[Ink Sac|Ink Sac]]<br/>{{For|the variant dropped by Glow squids|Glow Ink Sac}}
{{Item
| image = Ink Sac.png
| renewable = Yes
| stackable = Yes (64)
}}

An '''ink sac''' is an [[item]] dropped by a [[squid]] upon death used to create [[black dye]], [[dark prismarine]]{{only|BE|short=1}}, and [[Book and Quill|books and quills]].

== Obtaining ==

=== Mob loot ===

==== Squid ====
{{see also|Tutorials/Squid farming|title1=Squid farming}}

A [[squid]] drops one to three ink sacs upon death. The maximum amount is increased by 1 per level of [[Looting]], for a maximum of 1 to 6 with Looting III.

=== Fishing ===
Ink sacs can be obtained as a "junk" item from [[fishing]]. The [[Luck of the Sea]] [[enchantment]] decreases the chance.

=== Trading ===
[[Wandering trader]]s sometimes sell 3 ink sacs for an [[emerald]] {{in|bedrock}}. Apprentice level [[Trading#Librarian|librarians]] also buy 5 ink sacs for one [[emerald]].

=== Natural generation ===

{{LootChestItem|ink-sac}}

== Usage ==

=== Crafting ingredient ===

{{crafting usage}}

{{IN|bedrock}}, ink sacs can be also used in banner patterns:
{{banner crafting usage}}

=== Loom ingredient === 
{{Banner loom usage|Ink Sac}}

=== Dye ===
{{Dye usage}}
* Each type of [[Prismarine#Dark Prismarine|dark prismarine]] can be crafted using varying amounts of 8 [[Prismarine Shard#prismarine shards|prismarine shards]].

=== Trading ===
Journeyman-level librarian [[villager]]s have a {{frac|2|3}} chance to buy five ink sacs for an [[emerald]]. They always offer the trade {{in|bedrock|lc=}}.

=== Signs ===
Ink sacs can be applied to [[sign]]s or [[hanging sign]]s to revert glowing text back to default.

== Sounds ==
{{edition|java}}:
{{Sound table
|sound=Ink sac1.ogg
|sound2=Ink sac2.ogg
|sound3=Ink sac3.ogg
|subtitle=Ink Sac splotches
|source=block
|description=When an ink sac is used on a sign
|id=item.ink_sac.use
|translationkey=subtitles.item.ink_sac.use
|volume=1.0
|pitch=''varies'' <ref group=sound>Each sound can be 0.85, 0.88, or 0.9</ref>
|distance=16
|foot=1}}

{{edition|bedrock}}:
{{Sound table
|type=bedrock
|sound=Ink sac1.ogg
|sound2=Ink sac2.ogg
|sound3=Ink sac3.ogg
|source=sound
|description=When an ink sac is used on a sign
|id=sign.ink_sac.use
|volume=1.0
|pitch=1.0
|foot=1}}

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

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|showaliasids=y
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Ink Sac
|spritetype=item
|nameid=ink_sac
|aliasid=dye / 0
|id=413
|form=item
|translationkey=item.dye.black.name
|foot=1}}

== Video ==
{{video note|Ink sacs can no longer be used as a dye in Java Edition.}}
<div style="text-align:center">{{yt|ABYCZfawO60}}</div>

== History ==
{{History|java beta}}
{{History||1.2|[[File:Ink Sac JE1 BE1.png|32px]] Added ink sacks, together with all other dyes.}}
{{History||1.2_02|"Ink Sack" has been renamed to "Ink Sac".}}
{{History|java}}
{{History||1.3.1|snap=12w17a|Ink sacs are now used to craft [[book and quill]]s.}}
{{History||1.4.2|snap=12w34a|Added the ability to [[Armor#Dyeing|dye]] leather [[armor]] and [[wolf]] collars.}}
{{History||1.4.6|snap=12w49a|Ink sacs can now be crafted with [[gunpowder]] to create a [[firework star]].}} 
{{History||1.6.1|snap=13w19a|[[Stained clay]] can now be [[crafting|crafted]].}}
{{History||1.7.2|snap=13w41a|[[Stained glass]] can now be crafted.}}
{{History||1.8|snap=14w25a|Ink sacs are now used to craft [[dark prismarine]].}}
{{History|||snap=14w30a|Added [[banner]]s, which can be [[dye]]d with ink sacs.}}
{{History||1.11|snap=16w39a|Ink sacs can now be used to dye [[shulker box]]es.}}
{{History||1.12|snap=17w06a|Ink sacs are now used to craft black [[concrete powder]].}}
{{History|||snap=17w15a|Ink sacs can now be used to dye [[bed]]s.}}
{{History||1.13|snap=17w47a|The different data values for the <code>dye</code> ID have been split up into their own IDs.
|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 351.}}
{{History||1.14|snap=18w43a|Ink sacs can now be used to craft [[black dye]].
|Ink sacs can no longer be used as a [[dye]].
|All of the dye-related functions and crafting recipes of ink sac (except books and quills and dark prismarine) have been transferred to black dye.
|[[File:Ink Sac JE2 BE2.png|32px]] The texture of ink sacs has been changed.}}
{{History|||snap=19w11a|Librarian [[villager]]s now [[trading|buy]] ink sacs.}}
{{History||1.15|snap=Pre-release 1|Ink sacs are no longer used to craft [[dark prismarine]].}}
{{History||1.17|snap=21w03a|Ink sacs can now be used to remove the text's glowing effect of a [[sign]].}}
{{History||1.20<br>(Experimental)|link=1.19.3|snap=22w42a|Ink sacs can now be used to remove the text's glowing effect of a [[hanging sign]].}}

{{History|pocket alpha}}
{{History||v0.3.0|[[File:Ink Sac JE1 BE1.png|32px]] Added ink sacs. They are currently unobtainable and serve no purpose.}}
{{History||v0.8.0|snap=build 1|Ink sacs can now be used to craft [[cocoa beans]].}}
{{History|||snap=build 3|Ink sacs are now available in [[creative]].}}
{{History||v0.9.0|snap=build 1|Ink sacs now generate in [[village]] and [[stronghold]] [[chest]]s.}}
{{History||v0.11.0|snap=build 1|Ink sacs can now be obtained from [[squid]].
|Ink sacs can now be obtained as a junk [[item]] from [[fishing]].}}
{{History||v0.14.0|snap=build 1|Ink sacs now can now be used to dye water in [[cauldron]]s.}}
{{History||v0.16.0|snap=build 1|Ink sacs are no longer used to craft [[cocoa beans]].
|Ink sacs can now be used to craft [[dark prismarine]].}}
{{History|pocket}}
{{History||1.0.0|snap=alpha 0.17.0.1|Ink sacs can now be used to dye [[shulker]]s.}}
{{History||1.1.0|snap=alpha 1.1.0.0|Ink sacs are now used to re-dye [[bed]]s.
|Ink sacs can now be used to dye [[shulker box]]es.}}
{{History|bedrock}}
{{History||1.2.0|snap=beta 1.2.0.2|Ink sacs can now be used to craft [[book and quill]]s.
|Added [[banner]]s, which can be [[dye]]d with ink sacs.
|Ink sacs can now be crafted with [[gunpowder]] to create [[firework star]]s.
|Ink sacs can now be used to craft black [[concrete powder]].
|[[Stained glass]] can now be [[crafting|crafted]].}}
{{History||1.4.0|snap=beta 1.2.20.1|Ink sacs can now be crafted from iron, sulfur, and 4 oxygen in the [[compound creator]]s.
|Ink sacs can now be used to craft [[balloon]]s and [[glow stick]]s.}}
{{History||1.8.0|snap=beta 1.8.0.10|Ink sacs can now be used to craft [[black dye]].}}
{{History||1.10.0|snap=beta 1.10.0.3|Ink sacs can now be bought from [[wandering trader]]s.
|[[File:Ink Sac JE2 BE2.png|32px]] The texture of ink sacs has been changed.}}
{{History||1.11.0|snap=beta 1.11.0.4|Ink sacs can now be [[trading|sold]] to librarian [[villager]]s.}}
{{History||1.16.100|snap=beta 1.16.100.56|The ID of ink sacs has been changed from {{cd|dye/0}} to {{cd|ink_sac}}.}}
{{History||1.16.210|snap=beta 1.16.210.59|Ink sacs can now be used to revert glowing text on signs to normal.}}

{{History|console}}
{{History||xbox=TU1|xbone=CU1|ps=1.00|switch=1.0.1|wiiu=Patch 1|[[File:Ink Sac JE1 BE1.png|32px]] Added ink sacs.}}
{{History||xbox=none|xbone=none|ps=1.90|wiiu=none|switch=none|[[File:Ink Sac JE2 BE2.png|32px]] The texture of ink sacs has been changed.}}

{{History|New 3DS}}
{{History||0.1.0|[[File:Ink Sac JE1 BE1.png|32px]] Added ink sacs.}}
{{History|foot}}

== Issues ==
{{issue list}}

== References ==
{{reflist}}

{{Items}}

[[Category:Bedrock Edition specific information]]
[[Category:Items]]
[[Category:Dyes]]
[[Category:Renewable resources]]

[[cs:Váček inkoustu]]
[[de:Tintenbeutel]]
[[es:Saco de tinta]]
[[fr:Poche d'encre]]
[[hu:Tintazsák]]
[[ja:イカスミ]]
[[ko:먹물 주머니]]
[[nl:Inktzak]]
[[pl:Torbiel z atramentem]]
[[pt:Bolsa de tinta]]
[[ru:Чернильный мешок]]
[[uk:Чорнильний мішок]]
[[zh:墨囊]]</li><li>[[Shulker Shell|Shulker Shell]]<br/>{{Item
| image = Shulker Shell.png
|type=
|renewable = Yes
| stackable =  Yes (64)
}}

{{about|the item that drops from the mob|the mob |Shulker|the storage block|Shulker Box}}

'''Shulker shells''' are [[item]]s dropped by [[shulker]]s that are used solely to craft [[shulker box]]es.

== Obtaining ==
=== Mob loot ===
{{IN|bedrock}}, [[shulker]]s drop 0-1 shulker shells. The maximum can be increased by 1 per level of [[Looting]], which is 0-4 shells with Looting III.

{{IN|java}}, shulkers have a 50% chance of dropping a shulker shell when killed. This is increased by 6.25% per level of [[Looting]], for a maximum of 68.75% with Looting III.

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

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

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Shulker Shell
|spritetype=item
|nameid=shulker_shell
|id=566
|form=item
|foot=1}}

== History ==
{{History|java}}
{{History||1.11|snap=16w39a|[[File:Shulker Shell JE1 BE1.png|32px]] Added shulker shells.}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 450.}}
{{History||1.14|snap=18w43a|[[File:Shulker Shell JE2 BE2.png|32px]] The texture of the shulker shell has now been changed.}}
{{History||1.17|snap=20w45a|When a shulker is hit by a shulker bullet, the shulker can spawn another shulker depending on the amount of shulkers in the area, making shulker shells [[renewable resource|renewable]].}}

{{History|pocket}}
{{History||1.0.0|snap=alpha 1.0.0.1|[[File:Shulker Shell JE1 BE1.png|32px]] Added shulker shells.
|Shulker shells currently have no purpose as [[shulker box]]es haven't been implemented yet.}}
{{History||1.1.0|snap=alpha 1.1.0.0|Shulker shells can now be used to [[crafting|craft]] shulker boxes.}}
{{History|bedrock}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Shulker Shell JE2 BE2.png|32px]] The texture of the shulker shell has now been changed.}}
{{History||1.18.30|snap=beta 1.18.30.22|Shulkers now have a chance to spawn another shulker when hit by a shulker projectile, making shulker shells [[renewable resource|renewable]].}}

{{History|console}}
{{History||xbox=TU53|xbone=CU43|ps=1.49|wiiu=Patch 23|switch=1.0.3|[[File:Shulker Shell JE1 BE1.png|32px]] Added shulker shells.}}
{{History||xbox=none|xbone=none|ps=1.90|wiiu=none|switch=none|[[File:Shulker Shell JE2 BE2.png|32px]] The texture of the shulker shell has now been changed.}}

{{History|new 3ds}}
{{History||1.7.10|[[File:Shulker Shell JE1 BE1.png|32px]] Added shulker shells.}}
{{History|foot}}

== Issues ==
{{Issue list}}

{{Items}}

[[de:Shulkerschale]]
[[es:Caparazón de shulker]]
[[fr:Carapace de Shulker]]
[[it:Guscio di shulker]]
[[ja:シュルカーの殻]]
[[ko:셜커 껍데기]]
[[nl:Shulkerschelp]]
[[pl:Skorupa Shulkera]]
[[pt:Casco de shulker]]
[[ru:Панцирь шалкера]]
[[th:เปลือกชัลเกอร์]]
[[zh:潜影壳]]</li></ul>
It is now impossible to place a jack o'lantern onto a sticky piston.
release
1.3.1
{{Extension DPL}}<ul><li>[[:Category:Plants|Category:Plants]]<br/>All pages covering blocks of such things as tall grass and flowers.

[[Category:Blocks]]
[[Category:Items]]

[[cs:Kategorie:Rostliny]]
[[es:Categoría:Plantas]]
[[fr:Catégorie:Plante]]
[[hu:Kategória:Növények]]
[[it:Categoria:Piante]]
[[ja:カテゴリ:植物]]
[[ko:분류:식물]]
[[nl:Categorie:Planten]]
[[pl:Kategoria:Rośliny]]
[[pt:Categoria:Plantas]]
[[ru:Категория:Растения]]
[[th:หมวดหมู่:พืช]]
[[zh:Category:植物]]</li><li>[[:Category:Storage|Category:Storage]]<br/>Blocks and items used to '''store''' other blocks or items.

[[Category:Blocks]][[Category:Items]]

[[ja:カテゴリ:ストレージ]]
[[zh:Category:储物]]</li></ul>
12w22aSticky pistons generate naturally inside jungle temples. In the temples the pistons are used to form a puzzle mechanism.
12w27aUpdated Pistons to make them less error-prone, thus they also appear to update slower. This also altered the way Pistons work, so you might have to adapt your repeater delays and similar. For this change, pistons now take 2 redstone ticks (4 game ticks) to extend, but they still retract instantly.
1.7.2
{{Extension DPL}}<ul><li>[[Minecart with Command Block|Minecart with Command Block]]<br/>{{ItemEntity
|renewable=No
|stackable=No
|size=Height: 0.7 Blocks<br>Width: 0.98 Blocks
|image=Minecart with Command Block.gif
|image2=Minecart with Command Block BE.gif
|invimage1=Minecart with Command Block
|networkid=10
|drops={{drop|Item|Minecart|1}}
|health={{hp|6}}
|rarity=Epic
}}

A '''minecart with command block''' is an impulse{{only|java|short=y}} or repeating{{only|bedrock|education|short=y}} [[command block]] inside a [[minecart]].

== Obtaining ==

The minecart with command block is obtainable only using the [[command]] {{cmd|give @s command_block_minecart}}, as it does not appear in the creative inventory{{only|BE}} and has no [[crafting]] recipe. It can also be summoned using the command {{cmd|summon command_block_minecart}}. It can be broken like any other minecart, but only the minecart is retained, while the command block is lost.

== Usage ==
{{main|Command Block}}
The minecart with command block combines the functionalities of both minecarts and command blocks. Although the minecart visually contains an impulse command block, it functions more similarly to a repeating command block, and runs its command once every four game [[tick]]s when on an active [[activator rail]]. When it passes over a [[detector rail]] with a [[comparator]] connected next to it, it outputs the command block's result.

== Sounds ==
{{Edition|Java}}:<br>
Minecarts with command blocks use the Friendly Creatures sound category for entity-dependent sound events.<ref group="sound" name="rollsource">{{bug|MC-42132}}</ref>
{{Sound table
|sound=Minecart rolling.ogg
|subtitle=Minecart rolls
|source=Friendly Creatures <ref group=sound name=rollsource/>
|overridesource=1
|description=While a minecart with command block is moving
|id=entity.minecart.riding
|translationkey=subtitles.entity.minecart.riding
|volume=0.0-0.35 <ref group=sound>Relates linearly with horizontal velocity (max 0.5)</ref>
|pitch=0.0-1.0 <ref group=sound>Will increase by 0.0025 per tick if the minecart's horizontal velocity is more than 0.01</ref>
|distance=16
|foot=1}}

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

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

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|firstcolumnname=Item
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Minecart with Command Block
|spritetype=item
|nameid=command_block_minecart
|id=563
|form=item
|foot=1}}
{{ID table
|edition=bedrock
|firstcolumnname=Entity
|shownumericids=y
|generatetranslationkeys=y
|displayname=Minecart with Command Block
|spritename=minecart-with-repeating-command-block
|spritetype=entity
|nameid=command_block_minecart
|id=100
|foot=1}}

=== Entity data ===
Minecarts with command blocks 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}}
{{History||1.7.2|snap=13w39a|[[File:Minecart with Command Block JE1.png|32px]] [[File:Minecart with Command Block (item) JE1 BE2.png|32px]] Added minecart with command block.}}
{{History||1.9|snap=15w34a|[[File:Minecart with Command Block JE2.png|32px]] The texture of the [[command block]] in the [[minecart]] has been removed due to the new texture and types for the command block.}}
{{History|||snap=15w35a|[[File:Minecart with Command Block JE3.png|32px]] The texture of the command block has been changed.}}
{{History||1.11|snap=16w32a|The [[entity]] ID has been changed from <code>MinecartCommandBlock</code> to <code>commandblock_minecart</code>.}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 422.}}
{{History|||snap=pre5|The entity ID has been changed to <code>command_block_minecart</code>.}}
{{History||1.14|snap=18w43a|[[File:Minecart with Command Block JE4.png|32px]] [[File:Minecart with Command Block (item) JE2 BE3.png|32px]] The textures of the minecart with command block has been changed.}}
{{History||1.17|snap=21w20a|Minecart with command block [[Rarity|rarity color]] was changed from common to epic.}}
{{History||1.19.3|snap=22w44a|Minecart with command block is now available in the creative inventory, but only if cheats are enabled.}}
{{History|||snap=22w45a|Moved the minecart with command block behind the Operator Utilities tab in the creative inventory. The tab is only available if cheats are enabled and the "Operator Items Tab" option in the controls menu is turned on.}}

{{History|pocket}}
{{History||1.0.5|snap=alpha 1.0.5.0|[[File:Minecart with Command Block BE1.png|32px]] [[File:Minecart with Command Block (item) BE1.png|32px]] Added minecart with command block. The [[minecart]] has a [[repeating command block]] in it, instead of an impulse command block.}}
{{History||1.1.0|snap=alpha 1.1.0.0|The entity ID has been changed from <code>minecartcommandblock</code> to <code>command_block_minecart</code>.}}
{{History|bedrock}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Minecart with Command Block BE2.png|32px]] [[File:Minecart with Command Block (item) JE2 BE3.png|32px]] The texture of the minecart with command block has been changed. Also the item texture has been changed to match {{el|je}}'s.<ref>{{bug|MCPE-42990}}</ref>}}
{{History|console}}
{{History||xbox=?|xbone=?|ps=?|wiiu=?|switch=?|Added minecart with command blocks. This only exists as an item, as placing it will result in a normal minecart being placed. The command block in the minecart cannot be modified via NBT editing and it has an unused tooltip stating "Used to execute commands on the move!".}}
{{History|foot}}

== Issues ==

{{issue list}}

== Gallery ==
<gallery>
File:Minecart with command block 13w39b.png|A minecart with command block in [[1.16.4]].
File:A minecart command block testing the block in the red bucket with air.png|A minecart command block testing the block in the red area with [[air]].
</gallery>

==References==
{{Reflist}}

{{Items}}

{{Entities}}

[[de:Befehlsblocklore]]
[[fr:Wagonnet à bloc de commande]]
[[it:Carrello da miniera]]
[[ja:コマンドブロック付きのトロッコ]]
[[nl:Mijnkar met opdrachtblok]]
[[pl:Wagonik z blokiem poleceń]]
[[pt:Carrinho de mina com bloco de comando]]
[[ru:Вагонетка с командным блоком]]
[[uk:Вагонетка з командним блоком]]
[[zh:命令方块矿车]]</li><li>[[Ender Pearl|Ender Pearl]]<br/>
{{ItemEntity
|image=Ender Pearl.png
|renewable=Yes
|stackable=Yes (16)
|size=Height: 0.25 Blocks<br>Width: 0.25 Blocks
}}
An '''ender pearl''' is an [[item]] that can be thrown and [[teleport|teleports]] the thrower to where it lands, and used to craft [[eye of ender|eyes of ender]] which are required to access [[the End]].

== Obtaining ==
=== Mob loot ===
An [[enderman]] has a 50% chance to drop 1 ender pearl when killed. The drop is increased by 1 per level of [[Looting]], with a maximum of 4 with Looting III.

=== Chest loot ===
{{LootChestItem|ender-pearl}}

A [[trapped chest]] always containing 2 ender pearls can be found in the "fake end portal" room of [[woodland mansion]]s.

=== Trading ===
{{IN|java}}, expert-level [[Trading#Cleric|cleric villagers]] have a {{frac|2|3}} chance to sell an ender pearl for 5 [[emerald]]s.

{{IN|bedrock}}, expert-level cleric villagers sell one ender pearl for 5 emeralds.

=== Bartering ===
[[Piglin]]s have a {{frac|10|459}} (4.27) chance to [[barter]] 3-4 ender pearls when given a [[gold ingot]].

== Usage ==
Ender pearls can be thrown by pressing {{control|use}}. After it is thrown, the ender pearl is consumed, and the player teleports to where it lands, taking {{hp|5}} [[fall damage]]. Wearing armor enchanted with [[Protection]] and/or [[Feather Falling]] reduces the damage taken from the ender pearl. 

Ender pearls have a small cone of travel; they do not all follow the same path when thrown in the same direction. The direction and velocity of ender pearl throws is slightly randomized. They can travel about 30 blocks when thrown straight up, and up to 54 blocks forward when thrown at an optimum launch angle of ~35° (on even ground).

The thrower's vertical velocity influences the throw. Hence timing a throw with a jump can increase the throwing range to 42 blocks when thrown straight up and 64 blocks forward at a 35° angle. Throwing while falling significantly decreases the range. Ender pearls collide with all [[minecart]] types, [[boat]]s, [[end crystal]]s and [[nether portal]]s, and travel through [[end portal]]s. Ender pearls that fall into the [[void]] disappear, and do not trigger the player to teleport. However, ender pearl entities (instead of dropped items) are ''not'' destroyed by lava and will teleport the player to the bottom of lava pools/lava oceans.

Ender pearls have a cooldown of one second before they can be used again. The cooldown is shown in the hotbar by a white overlay on the ender pearl that shrinks and must disappear before the player can use it again. If there are other inventory or hotbar slots containing ender pearls, they are covered with the white overlay as well.<ref>{{bug|MC-88236|||WAI}}</ref> 

Ender pearls can be thrown into [[end gateway]]s to reach the outer islands of the End. They can also be thrown into the [[exit portal]] to reach the player's spawn point.

Ender pearl teleportation makes no sound ''itself''{{only|java}}, but does emit a "small fall" sound at the destination when applying teleportation damage to the player.

=== Stasis chamber ===
Ender pearls are affected by [[bubble column]]s. An ender pearl can remain afloat on top of an upward bubble column, allowing it to be stored indefinitely. A mechanism can then be triggered to make the ender pearl hit a solid surface (e.g. by closing a [[trapdoor]]), teleporting the thrower back to the setup wherever they are.

=== Spawning endermites ===
An ender pearl has a 10% chance to spawn an [[endermite]] when it lands. This is the only way through which endermites can spawn, without using cheats. The endermite spawns at ''the player's position'' when the pearl lands{{only|je}}, or at the pearl's landing site{{only|be}}.

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

== Sounds ==
{{edition|java}}:<br>
Thrown ender pearls use the Friendly Creatures sound category for entity-dependent sound events.
{{Sound table
|sound=Bow shoot.ogg
|subtitle=Ender Pearl flies
|source=neutral
|description=When an ender pearl is thrown
|id=entity.ender_pearl.throw
|translationkey=subtitles.entity.ender_pearl.throw
|volume=0.5
|pitch={{frac|1|3}}-0.5
|distance=16
|foot=1}}

{{Edition|Bedrock}}:
{{Sound table
|type=bedrock
|sound=Bow shoot.ogg
|source=player
|description=When an ender pearl is thrown
|id=random.bow
|volume=0.5
|pitch=0.33-0.5
|foot=1}}

== Data values ==
=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|firstcolumnname=Item
|showforms=y
|generatetranslationkeys=y
|displayname=Ender Pearl
|spritetype=item
|nameid=ender_pearl
|form=item
|foot=1}}
{{ID table
|edition=java
|firstcolumnname=Entity
|generatetranslationkeys=y
|displayname=Thrown Ender Pearl
|spritetype=entity
|spritename=Ender Pearl
|nameid=ender_pearl
|foot=1}}

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|firstcolumnname=Item
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Ender Pearl
|spritetype=item
|nameid=ender_pearl
|id=422
|foot=1}} 
{{ID table
|edition=bedrock
|firstcolumnname=Entity
|shownumericids=y
|generatetranslationkeys=y
|displayname=Ender Pearl
|spritetype=entity
|nameid=ender_pearl
|id=87
|foot=1}}

===Entity Data===
Thrown ender pearls have entity data that define various properties of the entity.

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

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

== Achievements ==
{{Load achievements|Beam Me Up}}

== Advancements ==
{{load advancements|Remote Getaway;Bullseye}}

== History ==
{{History|java beta}}
{{History||1.8|snap=Pre-release|[[File:Ender Pearl JE1.png|32px]] Added ender pearls along with [[endermen]]. 
|Ender pearls have no use, but can stack up to 64.}}
{{History|java}}
{{History||1.0.0|snap=Beta 1.9 Prerelease|Ender pearls are now less commonly found near bodies of [[water]] since [[endermen]] now teleport away when in contact with water. Before this version, endermen didn't attempt to teleport and were [[damage]]d/killed from water much more frequently, causing numerous ender pearls to occur around bodies of water.
|Later, on a suggestion from [[wikipedia:Reddit|Reddit]] user isJesus, [[Notch]] implemented the teleporting feature for ender pearls.<ref>http://www.reddit.com/r/Minecraft/comments/kpsay/eggsnowballender_pearl_suggestiongif/c2mabfj</ref><ref>{{Tweet|notch|118614580539826176}}</ref><ref>http://www.reddit.com/r/Minecraft/comments/kss7n/twitter_ender_pearls_have_a_unique_ability_now/c2mwldd</ref>}}
{{History|||snap=Beta 1.9 Prerelease 2|Added teleporting feature to ender pearls.
|Using an ender pearl to teleport resulted in being kicked from servers for "hacking". This is due to a check triggering that was supposed to prevent modified clients from moving too quickly.
|Ender pearls now only stack up to 16.}}
{{History|||snap=Beta 1.9 Prerelease 3|Ender pearls are now used to craft [[eyes of ender]].
|Ender pearls can now be found in the new [[stronghold]] altar [[chest]]s.}}
{{History||1.3.1|snap=12w24a|[[File:Ender Pearl JE2 BE1.png|32px]] The texture of ender pearls has been changed.}}
{{History||1.8|snap=14w02a|As part of the revamp of the trading system, cleric [[villager]]s now [[trading|buy]] ender pearls.}}
{{History|||snap=14w03a|Villager clerics no longer buy ender pearls.}}
{{History|||snap=14w11b|Ender pearls have a 5% chance to spawn [[endermite]]s when used.}}
{{History||1.9|snap=15w31a|Ender pearls can now be thrown in [[Creative]] mode.}}
{{History|||snap=15w34c|Ender pearls now have a cooldown after using them.}}
{{History|||snap=15w41a|[[Villager]] clerics now [[trading|sell]] ender pearls for 4–7 [[emerald]]s, as one of their tier III trades.}}
{{History|||snap=15w49a|Thrown ender pearls now take the user's motion into account. For example, an ender pearl thrown forward will land closer if the player is falling, and land farther if the player is ascending.}}
{{History||1.10|snap=16w21a|Ender pearls can now teleport riders off their mounts.}}
{{History||1.11|snap=16w32a|The entity ID of ender pearls has been changed from <code>ThrownEnderpearl</code> to <code>ender_pearl</code>.}}
{{History|||snap=16w39a|Ender pearls can now be found in [[woodland mansion]]s' fake portal room [[chest]]s.}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 368.}}
{{History||1.14|snap=18w43a|[[File:Ender Pearl JE3 BE2.png|32px]] The texture of ender pearls has been changed.}}
{{History||1.16|snap=20w07a|Ender pearls have a {{frac|2|109}} (~1.83%) chance of being offered by [[piglin]]s when [[bartering]], in a stack size of 2–4.}}
{{History|||snap=20w09a|Ender pearls now have a {{frac|10|226}} (~4.42%) chance of being offered by piglins when bartering, in a stack size of 1–5.}}
{{History|||snap=20w10a|Ender pearls now have a {{frac|20|411}} (~4.87%) chance of being offered by piglins when bartering, in a stack size of 4–8.}}
{{History|||snap=20w20a|Ender pearls now have a {{frac|20|423}} (~4.73%) chance of being offered by piglins when bartering, in a stack size of 4–8.}}
{{History||1.16.2|snap=20w28a|Ender pearls now have a {{frac|10|459}} (~2.18%) chance of being offered by piglins when bartering, in a stack size of 2–4.}}
{{History|||snap=Pre-Release 1|Ender pearls are now affected by [[bubble column]]s.<ref>{{bug|MC-125758|||Fixed}}</ref>
|Ender pearls no longer get destroyed at contact with non-solid blocks.<ref>{{bug|MC-73884|||Fixed}}</ref>}}

{{History|pocket alpha}}
{{History||v0.14.0|snap=build 1|[[File:Ender Pearl JE2 BE1.png|32px]] Added ender pearls. 
|While fully implemented, ender pearls currently have no assigned ID and are currently unobtainable in-game.}}
{{History|pocket}}
{{History||1.0.0|snap=alpha 0.17.0.1|Ender pearls are now obtainable in-game.
|Ender pearls can now be used to craft [[eyes of ender]].}}
{{History|||snap=alpha 1.0.0.0|Ender pearls now require a 1-second cooldown.}}
{{History|||snap=alpha 1.0.0.1|Ender pearl cooldown now has an animation.}}
{{History||1.0.4|snap=alpha 1.0.4.0|Ender pearls can now be [[trading|bought]] from cleric [[villager]]s for 4-7 [[emerald]]s.}}
{{History||1.1.0|snap=alpha 1.1.0.0|Ender pearls can now be found in [[woodland mansion]]s' [[chest]]s.}}
{{History|bedrock}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Ender Pearl JE3 BE2.png|32px]] The texture of ender pearls has been changed.}}
{{History||1.11.0|snap=beta 1.11.0.4|[[Trading]] has been changed, expert-level cleric [[villager]]s now [[trading|sell]] an ender pearl for 5 [[emerald]]s as part of their trade.}}
{{History||1.16.0|snap=beta 1.16.0.57|Ender pearls can now be obtained from [[bartering]] with [[piglin]]s.}}
{{History||1.16.100|snap=beta 1.16.100.54|Ender pearls now have a {{frac|10|459}} (~2.18%) chance of being offered by piglins when bartering, in a stack size of 2–4.}}

{{History|console}}
{{History||xbox=TU5|xbone=CU1|ps=1.0|wiiu=Patch 1|switch=1.0.1|[[File:Ender Pearl JE2 BE1.png|32px]] Added ender pearls.}}
{{History||xbox=TU7|A teleporting feature has been added to ender pearls.}}
{{History||xbox=none|xbone=none|ps=1.90|wiiu=none|switch=none|[[File:Ender Pearl JE3 BE2.png|32px]] The texture of ender pearls has been changed.}}

{{History|new 3ds}}
{{History||1.7.10|[[File:Ender Pearl JE2 BE1.png|32px]] Added ender pearls.}}
{{History|foot}}

== Issues ==
{{issue list}}

== Trivia ==
*Ender pearls can be used to teleport/move through non-[[solid block]]s without suffocation and solid blocks by pressing against the blocks and using the ender pearl at the player's feet until the player goes through.<ref>{{bug|MC-2164}}</ref><ref>{{ytl|KA1UmxraeUg}}</ref>
*In ''Java Edition'', it is possible to spawn a thrown ender pearl using commands, but it does not teleport, unless it is assigned an owner.
*If the player throws an ender pearl and then dies before impact while the pearl is in a loaded chunk, the pearl disappears and the player is not teleported. Pearls in unloaded chunks do not disappear if their owner dies.
*If the player throws an ender pearl in Survival mode and changes to Creative mode before the pearl lands, the player is still teleported.
*The player is still teleported by throwing an ender pearl and entering [[the Nether]] before it lands. The pearl is not lost if an ender pearl is thrown into a [[nether portal]] and the player travels through the portal; the pearl lands and teleports the player as usual.
*If multiple ender pearls are thrown in succession, the player can be hurt only once from fall damage within about a one-second span.
*If a [[player]] dies from ender pearl teleportation, the [[death message]] says: "<player> hit the ground too hard".
*A thrown ender pearl faces toward the player in first-person view, while it appears rotated horizontal in [[third-person view]]. This is the case for all throwable items (ender pearl, [[egg]], [[snowball]], and all throwable [[potion]]s).
*Ender pearls and [[snowball]]s have the exact same range when fired. Therefore, snowballs can be used to predict the trajectory of ender pearls, or simply for practicing ender pearl throwing. This can be very helpful when the player has to throw ender pearls in dangerous environments, such as the Nether or the End.
*Despite the fact that ender pearls deal no damage to anything they're thrown at, provokable mobs (such as iron golems and piglins) will be provoked by the player if one is thrown at them.

== Gallery ==
<gallery>
Ender Pearl Suggestion.gif|The original suggestion image for teleporting with ender pearls.
Enderlake.png|Ender pearls were formerly found in [[water]], however endermen now teleport out to prevent damage.
</gallery>

== References ==
{{reflist}}

== See also ==
*[[End Dimension]]
*[[Ender Dragon]]
*[[Ender Portal]]
*[[Enderman]]

{{Items}}
{{entities}}

[[cs:Endová perla]]
[[de:Enderperle]]
[[es:Perla de ender]]
[[fr:Perle de l'Ender]]
[[hu:Véggyöngy]]
[[ja:エンダーパール]]
[[ko:엔더 진주]]
[[nl:Enderparel]]
[[pl:Enderperła]]
[[pt:Pérola de ender]]
[[ru:Жемчуг Края]]
[[th:ไข่มุกเอนเดอร์]]
[[tr:Ender İncisi]]
[[uk:Перлина Краю]]
[[zh:末影珍珠]]</li></ul>
13w37aThe item forms of block 34 (Piston Head) and block 36 (Piston Extension) are removed from the game. They can no longer exist in inventories, only as blocks in the world.
1.8
{{Extension DPL}}<ul><li>[[Rabbit Hide|Rabbit Hide]]<br/>{{Item
| title = Rabbit Hide
| image = Rabbit Hide.png
| renewable = Yes
| stackable = Yes (64)
}}
'''Rabbit hide''' is an [[item]] dropped by [[rabbit]]s.

== Obtaining ==

===Mob loot===
[[Rabbit]]s drop 0–1 rabbit hide upon death. The maximum number of drops can be increased by 1 per level of [[Looting]] used, for a maximum of 0–4 rabbit hides with Looting III.

Some [[foxes]] spawn holding rabbit hides, which always drop upon death. Alternatively, the player can drop a food item, which causes the fox to drop the rabbit hide.

=== Cat gifts ===
{{main|Cat#Gifts}}

Tamed [[cat]]s have a 70% chance of giving the [[player]] a gift when they wake up from a [[bed]], and the gift has a 16.13% chance to be a rabbit hide.

== Usage ==

Rabbit hide can be crafted into leather, or into bundles to store stacks of items.

=== Crafting ingredient ===

{{crafting usage}}

=== Trading ===

Journeyman-level leatherworker [[villager]]s buy 9 rabbit hide for an [[emerald]] as part of their trades.

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

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Rabbit Hide
|spritetype=item
|nameid=rabbit_hide
|id=529
|form=item
|foot=1}}

== History ==

{{History|java}}
{{History||1.8|snap=June 30, 2014|slink={{tweet|TheMogMiner|483636993780232192}}|[[Ryan Holtz]] tweeted images of rabbit hide and some other new [[item]]s.}}
{{History|||snap=14w27a|[[File:Rabbit Hide JE1.png|32px]]  Added rabbit hide.}}
{{History|||snap=14w33b|[[File:Rabbit Hide JE2 BE1.png|32px]] The texture of rabbit hide has been changed.}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 415.}}
{{History||1.14|snap=18w43a|[[File:Rabbit Hide JE3 BE2.png|32px]] The texture of rabbit hide has been changed.}}
{{History|||snap=18w44a|Cats now offer rabbit hides as [[Cat#Gifts|gifts]].}}
{{History|||snap=19w07a|Added [[fox]]es, which sometimes spawn with rabbit hides in their mouths.}}
{{History|||snap=19w11a|Leatherworker [[villager]]s now [[trading|buy]] rabbit hides.}}
{{History||1.17|snap=20w45a|Rabbit hide can now be used to craft [[bundle]]s.}}
{{History|||snap=21w18a|Rabbit hide can no longer be used to craft bundles.}}
{{History||1.18|snap=Experimental Snapshot 1|Rabbit hide can now once again be used to craft bundles.}}
{{History|||snap=21w37a|Rabbit hide once again can no longer be used to craft bundles.}}
{{History||1.20<br>(Experimental)|link=1.19.3|snap=22w42a|Rabbit hide can now once again be used to craft bundles.}}

{{History|pocket alpha}}
{{History||v0.13.0|snap=build 1|[[File:Rabbit Hide JE2 BE1.png|32px]] Added rabbit hide.}}
{{History|bedrock}}
{{History||1.8.0|snap=beta 1.8.0.8|Tamed [[cat]]s can now give [[player]]s rabbit hide as a gift.}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Rabbit Hide JE3 BE2.png|32px]] The texture of rabbit hide has been changed.}}
{{History||1.11.0|snap=beta 1.11.0.4|Rabbit hide can be [[trading|sold]] to leatherworker [[villager]]s.}}
{{History||1.13.0|snap=beta 1.13.0.1|Added [[fox]]es, which can [[drops|drop]] rabbit hide.}}

{{History|console}}
{{History||xbox=TU31|xbone=CU19|ps=1.22|wiiu=Patch 3|switch=1.0.1|[[File:Rabbit Hide JE2 BE1.png|32px]] Added rabbit hide.}}
{{History||xbox=none|xbone=none|ps=1.90|wiiu=none|switch=none|[[File:Rabbit Hide JE3 BE2.png|32px]] The texture of rabbit hide has been changed.}}

{{History|new 3ds}}
{{History||0.1.0|[[File:Rabbit Hide JE2 BE1.png|32px]] Added rabbit hide.}}
{{History|foot}}

== Issues ==

{{issue list}}

== Gallery ==
<gallery>
File:Rabbit Items 1 Ryan Holtz.png|First image of the item by [[Ryan Holtz]].
</gallery>



{{items}}

[[de:Kaninchenfell]]
[[es:Piel de conejo]]
[[fr:Peau de lapin]]
[[hu:Nyúlbőr]]
[[it:Pelle di coniglio]]
[[ja:ウサギの皮]]
[[ko:토끼 가죽]]
[[nl:Konijnenhuid]]
[[pl:Królicza skóra]]
[[pt:Pele de coelho]]
[[ru:Кроличья шкурка]]
[[zh:兔子皮]]
[[Category:Renewable resources]]</li><li>[[Amethyst Shard|Amethyst Shard]]<br/>{{Item
| title = Amethyst Shard
| image = Amethyst Shard.png
| renewable = Yes
| stackable = Yes (64)
}}

An '''amethyst shard''' is a crystal ore obtained from mining a fully grown [[amethyst cluster]] or can be obtained from chests in [[Ancient City|ancient cities]].

== Obtaining ==

=== Mining ===
An [[amethyst cluster]] mined using a non-[[Silk Touch]], non-[[Fortune]] [[pickaxe]] drops 4 amethyst shards. When mined using any other tool, [[item]] or mechanism (such as [[explosion]]s or [[piston]]s) it drops 2 shards. The maximum amount of amethyst shards dropped can be increased with Fortune. Fortune I gives a {{frac|1|3}} chance for eight shards, averaging 5.33 shards; Fortune II gives a 25% chance (each) to give eight or 12 shards, averaging 7 shards, and Fortune III gives a 20% chance (each) to give 8, 12, or 16 shards, averaging 8.8 shards.

If the amethyst cluster in any of its growth stages is mined using a pickaxe enchanted with [[Silk Touch]], it drops itself rather than amethyst shards.

=== Chest loot ===
{{LootChestItem|amethyst-shard}} 

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

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

=== Allay duplication ===
If an amethyst shard is given to an [[allay]] that is currently dancing to an active [[jukebox]], the allay emits heart particles, consumes the amethyst shard and duplicates into another allay. After this, there is a 5 minute cool down until both allays can be duplicated like this again.



== Sounds ==
{{Edition|Java}}:
{{Sound table
|sound=Amethyst shimmer.ogg
|subtitle=Amethyst chimes
|source=neutral
|description=When an amethyst shard duplicates an allay
|id=block.amethyst_block.chime
|translationkey=subtitles.block.amethyst_block.chime
|volume=0.4
|pitch=1.0
|distance=16
|foot=1}}

{{Edition|Bedrock}}:
{{Sound table
|type=bedrock
|sound=Amethyst shimmer.ogg
|source=block
|description=When an amethyst shard duplicates an allay
|id=chime.amethyst_block
|volume=1.0
|pitch=0.5-1.7
|foot=1}}

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

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Amethyst Shard
|spritetype=item
|nameid=amethyst_shard
|form=item
|id=625
|foot=1}}

==History==
{{History||October 3, 2020|link={{ytl|DBvZ2Iqmm3M|t=23m14s}}|Amethyst shards are mentioned, but not shown at [[Minecraft Live 2020]].}}
{{History|java}}
{{History||1.17|snap=20w45a|[[File:Amethyst Shard JE1.png|32px]] Added amethyst shards.}}
{{History|||snap=20w46a|[[File:Amethyst Shard JE2 BE1.png|32px]] The texture for amethyst shards has changed.}}
{{History||1.19|snap=22w13a|Amethyst shards can now be found in [[ancient city]] [[chest]]s.}}
{{History||1.19.1|snap=22w24a|Amethyst shards can now be used to duplicate [[allay]]s.}}
{{History||1.20<br>(Experimental)|link=1.19.4|snap=23w04a|Amethyst shards can now be used as an armor trim material.}}
{{History||1.20|snap=23w12a|Amethyst shards can now be used to craft [[calibrated sculk sensor]]s.}}

{{History|bedrock}}
{{History||1.17.0|snap=beta 1.17.0.50|[[File:Amethyst Shard JE2 BE1.png|32px]] Added amethyst shards.}}
{{History|||snap=beta 1.17.0.52|Amethyst shards are now available without enabling [[Experimental Gameplay]].}}
{{History||1.19.0|snap=beta 1.19.0.26|Amethyst shards can now be found in [[ancient city]] [[chest]]s.}}
{{History||1.19.10|snap=beta 1.19.10.22|Amethyst shards can now be used to duplicate allays.}}
{{History||1.20.0<br>(Experimental)|link=Bedrock Edition 1.19.80|snap=beta 1.19.80.21|Amethyst shards can now be used as an armor trim material.}}
{{History|||snap=beta 1.19.80.22|Amethyst shards can now be used to craft calibrated sculk sensors.}}
{{History|foot}}

==Issues==
{{issue list}}

==Trivia==
* Although in real life {{w|amethyst}} is a variety of {{w|quartz}} like [[Nether Quartz|nether quartz]], the two resources are not interchangeable.
* besides netherite, amethyst is the only or to be attempted not from an ore in caves

== External Links ==
*[https://www.minecraft.net/en-us/article/taking-inventory--amethyst-shard Taking Inventory: Amethyst Shard] – Minecraft.net on May 20, 2021

{{Items}}

[[Category:Renewable resources]]

[[de:Amethystscherbe]]
[[es:Fragmento de amatista]]
[[fr:Éclat d'améthyste]]
[[it:Scheggia di ametista]]
[[ja:アメジストの欠片]]
[[lzh:紫水玉片]]
[[pl:Odłamek ametystu]]
[[pt:Fragmento de ametista]]
[[ru:Осколок аметиста]]
[[uk:Уламок аметисту]]
[[zh:紫水晶碎片]]
[[Category:Ore]]</li></ul>
14w17aWhen all blocks were converted to use block states, block/data-value combinations 33/6, 33/7, 29/6 and 29/7 (6-sided pistons) were removed.
14w18aSlime blocks will now push and pull blocks adjacent when connected to sticky pistons.
Extending a piston with a slime block on top of it will launch the entity (mobs, players, items, launched arrows etc) into the air.
14w19aSlime blocks can now push entities sideways and downwards when attached to a piston.
14w32aThe piston extension block no longer has a hitbox.
1.9
{{Extension DPL}}<ul><li>[[Pumpkin Pie|Pumpkin Pie]]<br/>{{redirect|Pie|the other craftable dessert|Cake|the terrain features|Pile}}
{{Item
| title = Pumpkin Pie
| image = Pumpkin Pie.png
| renewable = Yes
| heals = {{hunger|8}}
| stackable = Yes (64)
}}

'''Pumpkin pie''' is a [[food]] item that can be eaten by the [[player]].

== Obtaining ==
{{see also
 | Tutorials/Pumpkin and melon farming |title1= Pumpkin and melon farming
 | Tutorials/Sugar Cane farming |title2= Sugar cane farming
 | Tutorials/Egg farming |title3= Egg farming
}}

=== Crafting ===

{{Crafting
|Pumpkin
|Sugar
|Egg
|Output= Pumpkin Pie
|type=Foodstuff
}}

=== Trading ===

Apprentice-level farmer [[villager]]s have a 50%{{only|bedrock}} or {{frac|2|3}}{{only|java}} chance to sell 4 pumpkin pies for an emerald as part of their trades.

{{in|java}}, farmer villagers throw pumpkin pies at players under the [[Hero of the Village]] effect.

=== Natural generation ===

{{LootChestItem|pumpkin-pie}}

== Usage ==

=== Food ===

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

To eat pumpkin pie, press and hold {{control|use}} while it is selected in the hotbar. Eating one restores {{hunger|8}} [[hunger]] and 4.8 [[:en:Hunger#Mechanics|saturation]].

=== Composting ===
Placing pumpkin pie into a [[composter]] raises the compost level by 1.

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

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

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

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Pumpkin Pie
|spritetype=item
|nameid=pumpkin_pie
|id=284
|form=item
|foot=1}}

== Video ==

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

== History ==

{{History|java}}
{{History||September 11, 2012|link=http://twitter.com/jeb_/status/245503714167750656|The first screenshot of pumpkin pie was posted on [[Jens Bergensten|Jeb's]] Twitter.<ref>{{Tweet|jeb|245503714167750656}}</ref><ref>{{Tweet|jeb|245506498099298305}}</ref>}}
{{History||1.4.2|snap=12w37a|[[File:Pumpkin Pie JE1 BE1.png|32px]] Added pumpkin pies.}}
{{History||1.8|snap=14w02a|Pumpkin pie can now be [[trading|bought]] from farmer [[villager]]s, at 2–3 pumpkin pies for 1 [[emerald]].}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 400.}}
{{History||1.14|snap=18w43a|[[File:Pumpkin Pie JE2 BE2.png|32px]] The texture of pumpkin pie has been changed.}}
{{History|||snap=18w50a|Pumpkin pies now generate in chests in taiga [[village]] houses.}}
{{History|||snap=19w03a|Placing pumpkin pie into the new [[composter]] raises the compost level by 1.}}
{{History|||snap=19w13a|Farmer villagers now give pumpkin pies to players under the [[Hero of the Village]] effect.}}

{{History|pocket alpha}}
{{History||v0.8.0|snap=build 1|[[File:Pumpkin Pie JE1 BE1.png|32px]] Added pumpkin pie.}}
{{History||v0.12.1|snap=build 1|Pumpkin pie now restores [[hunger]] instead of [[health]].}}
{{History|bedrock}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Pumpkin Pie JE2 BE2.png|32px]] The texture of pumpkin pie has been changed.}}
{{History||1.11.0|snap=beta 1.11.0.1|Pumpkin pie can now be found in [[taiga]] and [[snowy taiga]] [[village]] house [[chest]]s.
|Pumpkin pie can now be used to fill up [[composter]]s.}}
{{History|||snap=beta 1.11.0.4|Farmer [[villager]]s now have a 50% chance to [[trading|sell]] 4 pumpkin pies for an [[emerald]].}}

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

{{History|New 3DS}}
{{History||0.1.0|[[File:Pumpkin Pie JE1 BE1.png|32px]] Added pumpkin pie.}}
{{History|foot}}

== Issues ==

{{issue list}}

== Gallery ==

<gallery>
File:Twitter Pumpkin Pie.png|The first screenshot of pumpkin pies, posted on Jeb's twitter.
</gallery>

== References ==

{{reflist}}


{{Items}}

[[cs:Dýňový koláč]]
[[de:Kürbiskuchen]]
[[es:Tarta de calabaza]]
[[fr:Tarte à la citrouille]]
[[it:Torta di zucca]]
[[ja:パンプキンパイ]]
[[ko:호박 파이]]
[[lzh:南瓜餅]]
[[nl:Pompoentaart]]
[[pl:Placek dyniowy]]
[[pt:Torta de abóbora]]
[[ru:Тыквенный пирог]]
[[zh:南瓜派]]
[[Category:Food]]
[[Category:Renewable resources]]</li><li>[[String|String]]<br/>{{Block
| image = <gallery>
String JE2 BE2.png  | String
Tripwire (NESW).png | Tripwire
</gallery>
| extratext = View [[#Gallery|all renders]]
| transparent = Yes
| light = No
| tool = any
| renewable = Yes
| stackable = Yes (64)
| flammable = No
| lavasusceptible = No
}}
'''String''' is an item used in [[crafting]] recipes such as [[bow]]s, [[fishing rod]]s and [[lead]]s. When placed as a [[block]], string becomes '''tripwire''', which can be combined with [[Tripwire Hook|tripwire hooks]] to form a tripwire circuit.

== Obtaining==
String can be obtained from [[drop]]s, breaking [[cobweb]]s, [[fishing]], [[bartering]], and as gifts from [[cat]]s. String can be looted from [[jungle temple]]s, [[desert pyramid]] chests, and [[dungeon]]s.

===Breaking ===
Tripwire can be {{control|mine|text=mined}} instantly with any [[tool]], dropping string. Tripwire is also removed and drops string as an [[item]] when:
*[[Water]] flows into its space
* A [[piston]] pushes it or moves a [[block]] into its space
Tripwire is destroyed without dropping string if [[lava]] flows into its space.

A [[cobweb]] drops string when it is broken in these ways (see also {{section link|Cobweb|Usage}}):
*Breaking a cobweb with a [[sword]]
*Pushing a cobweb with a [[piston]]
*[[Water]] breaking a cobweb by flowing over it (flowing [[lava]] destroys cobwebs without leaving string)

===Natural generation===
Five pieces of tripwire generate naturally in every [[jungle temple]]. 

===Mob loot ===
[[Spider]]s and [[cave spider]]s drop 0–2 string upon death. The maximum is increased by 1 per level of [[Looting]], for a maximum of 0–5 string with Looting III.

[[Strider]]s drop 2–5 string upon death. The maximum is increased by 1 per level of [[Looting]], for a maximum of 2–8 string with Looting III.{{only|Java|short=1}}

[[Cat]]s drop 0–2 string upon death, unaffected by Looting.<ref>{{bug|MC-200707||Looting does not increase drops for iron golems and cats}}</ref>

===Chest loot===
{{LootChestItem|string}}

===Fishing===
String has a 0.6% ({{frac|3|500}}) chance of being caught when [[fishing]] with an unenchanted fishing rod. The chance decreases to 0.5% ({{frac|1|200}}), 0.4% ({{frac|1|250}}), and 0.3% ({{frac|3|1000}}) if the fishing rod is enchanted with [[Luck of the Sea]] at enchantment levels I, II, and III, respectively.

===Cat gifts===
{{main|Cat#Gifts}}

Tamed [[cat]]s have a 70% chance of giving the [[player]] a gift when they wake up from a [[bed]], and the gift has a 16.13% chance to be a string.

===Bartering ===
[[Piglin]]s may [[barter]] 3-9 string when given a [[gold ingot]].

== Usage==
String can be used as a crafting ingredient and tripwire can be used as a [[redstone circuit]] component. It can also be used to keep [[player]]s from ender-pearling through that space.

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

===Redstone component===
{{redirect|Tripwire|tripwire hooks|Tripwire Hook}}
{{see also|Redstone circuits}}

String can be placed as tripwire, which can be used to detect [[entity|entities]] as part of a tripwire circuit. [[Observer]]s can also be used with a tripwire to generate redstone signals. 

;Placement

To place tripwire, {{control|use}} string while pointing at a surface facing the space the tripwire should occupy.

{{Schematic | caption =
'''Tripwire Circuit'''
|SB|th-$w|tw-$ew|th-$e|SB
}}
:In order to activate [[tripwire hook]]s, tripwire must be part of a "tripwire circuit": a straight line of [[block]]s consisting of a block with a tripwire hook attached to it, a "tripwire line" (1 to 40 blocks of tripwire), and a second tripwire hook attached to another block. 

;Activation
Tripwire activates if almost any [[entity]] ([[player]]s, [[mob]]s, [[minecart]]s, [[boat]]s, [[item]]s, [[arrow]]s, etc.) intersects its collision mask. The tripwire remains active until there are no entities intersecting its collision mask. Thrown [[potion]]s, some arrows, thrown [[ender pearl]]s, and thrown [[eyes of ender]] do not activate tripwire.

;Behavior
An active tripwire updates adjacent [[block]]s (for example, it can activate a [[Tutorials/Block update detector|BUD circuit]]). Additionally, active tripwires that are part of valid tripwire circuits cause the attached tripwire hooks to activate (producing [[redstone]] power). Active tripwires do ''not'' themselves produce redstone power.

When tripwire is broken (including by being washed away by spreading [[water]] {{in|java}}) after being part of a valid tripwire circuit, it activates the attached tripwire hooks. {{IN|JE}}, it activates for 5 redstone ticks (10 game [[tick]]s, or 0.5 seconds barring lag). {{IN|BE}}, it activates for 6 redstone ticks (14 game [[tick]]s, or 0.6 seconds barring lag). It does not produce the signal if it is broken using [[shear]]s.

===Trading===
Novice-level fisherman [[villager]]s have a 50% chance to buy 20 string as part of their first-tier trade.

Journeyman-level fletcher villagers buy 14 string for 1 [[emerald]] as part of their trade.

==Sounds==
=== Generic===
{{Sound table/Block/Normal}}

===Unique===
{{edition|java}}:
{{Sound table
|rowspan=3
|sound=Click.ogg
|subtitle=Tripwire attaches
|source=block
|description=When a tripwire line is completed
|id=block.tripwire.attach
|translationkey=subtitles.block.tripwire.attach
|volume=0.4
|pitch=0.7
|distance=16}}
{{Sound table
|subtitle=Tripwire clicks
|source=block
|description=When a tripwire line deactivates
|id=block.tripwire.click_off
|translationkey=subtitles.block.tripwire.click
|volume=0.4
|pitch=0.5
|distance=16}}
{{Sound table
|subtitle=Tripwire clicks
|source=block
|description=When a tripwire line activates
|id=block.tripwire.click_on
|translationkey=subtitles.block.tripwire.click
|volume=0.4
|pitch=0.6
|distance=16}}
{{Sound table
|sound=Arrow hit1.ogg
|sound2=Arrow hit2.ogg
|sound3=Arrow hit3.ogg
|sound4=Arrow hit4.ogg
|subtitle=Tripwire detaches
|source=block
|description=When a tripwire hook in a tripwire line is destroyed
|id=block.tripwire.detach
|translationkey=subtitles.block.tripwire.detach
|volume=0.4
|pitch={{frac|12|11}}-{{frac|4|3}}
|distance=16
|foot=1}}

{{edition|bedrock}}:
{{Sound table
|type=bedrock
|rowspan=3
|sound=Click.ogg
|source=block
|description=When a tripwire line is completed
|id=block.click
|volume=0.2
|pitch=0.7}}
{{Sound table
|type=bedrock
|source=block
|description=When a tripwire line deactivates
|id=random.click
|volume=0.2
|pitch=0.5}}
{{Sound table
|source=block
|description=When a tripwire line activates
|id=random.click
|volume=0.2
|pitch=0.6}}
{{Sound table
|sound=Arrow hit1.ogg
|sound2=Arrow hit2.ogg
|sound3=Arrow hit3.ogg
|sound4=Arrow hit4.ogg
|source=block
|description=When a tripwire hook in a tripwire line is destroyed
|id=block.bowhit
|volume=0.4
|pitch=1.1-1.33
|foot=1}}

==Data values==
===ID===
{{edition|java}}:
{{ID table
|edition=java
|showblocktags=y
|showforms=y
|generatetranslationkeys=y
|displayname=Tripwire
|spritetype=block
|nameid=tripwire
|blocktags=wall_post_override
|form=block}}
{{ID table
|displayname=String
|spritetype=item
|nameid=string
|form=item
|foot=1}}

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showaliasids=y
|showforms=y
|generatetranslationkeys=y
|displayname=Tripwire
|spritetype=block
|nameid=trip_wire
|aliasid=tripWire
|id=132
|form=block
|itemform=trip_wire
|translationkey=tile.tripWire.name}}
{{ID table
|displayname=String
|spritetype=item
|nameid=string
|id=326
|form=item
|foot=1}}

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

{{/BS}}

==Video==
<div style="text-align:center">
<span style="display:inline-block">{{yt|WUlhmu3JbcQ}}</span>
<span style="display:inline-block">{{yt|-7jEtrETxwc}}</span>
</div>

==History==
{{History|java indev}}
{{History||0.31|snap=20100129|[[File:String JE1 BE1.png|32px]] Added string.}}
{{History|||snap=20100130|[[Bow]]s can now be [[crafting|crafted]] using string.}}
{{History|||snap=20100201-2|[[Wool|Cloth]] can now be crafted using nine string.}}
{{History||20100219|[[Spider]]s now [[drops|drop]] string.}}
{{History|java infdev}}
{{History||20100625-2|String can now be found inside [[chest]]s in the new [[dungeon]]s.}}
{{History|java alpha}}
{{History||v1.1.1|String can now be used to craft [[fishing rod]]s.}}
{{History|java beta}}
{{History||1.5|Introduced [[cobweb]]s, which [[drops|drop]] string when [[breaking|broken]] with a [[sword]].}}
{{History||1.6.6|Wool is now crafted from four string rather than nine.}}
{{History||1.7|Cobwebs now drop string when broken using [[shears]].}}
{{History||1.8|snap=Pre-release|Cobwebs now generate naturally, making them a viable method to obtain string.}}
{{History|java}}
{{History||May 28, 2012|link=none|Tripwire was first revealed on [[Dinnerbone]]'s [[wikipedia:Twitter|Twitter]].<ref>{{tweet|Dinnerbone|207154562711289856|It's a tripwire, yeah.|May 28, 2012}}</ref><ref>{{tweet|Dinnerbone|207155073023868928|You place it yourself. String is now placeable|May 28, 2012}}</ref> Dinnerbone released a [{{ytl|mWuvXIzYcTc}} video] showing him experimenting with tripwire before its release.}}
{{History||1.3.1|snap=12w22a|String can now be placed on the ground as tripwire.}}
{{History|||snap=12w23a|Tripwire can now activated by most [[entity|entities]] (including [[arrow]]s).
|The max distance of tripwire has now been increased from 18 to 40 [[block]]s.
|Tripwire now has a translucent texture.}}
{{History||1.6.1|snap=13w18a|String can now be used to craft [[lead]]s.}}
{{History||1.8|snap=14w02a|String can now be [[trading|sold]] to fletcher and fisherman [[villager]]s, at 15–20 string for 1 [[emerald]].}}
{{History|||snap=release|Tripwire is now translucent.}}
{{History||1.9|snap=15w44a|String now generates in [[desert temple]] [[chest]]s.
|The average yield of string in [[dungeon]] chests has now more than doubled.}}
{{History|||snap=15w49a|The <code>suspended</code> block state has now been removed from tripwire.}}
{{History||1.11|snap=16w39a|String can now be found in [[woodland mansion]] [[chest]]s.}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], this [[block]]'s numeral ID was 132 and the [[item]]'s was 287.
|Tripwire can now be disarmed.}}
{{History||1.14|snap=18w43a|String can now be used to craft [[crossbow]]s and a [[loom]].
|[[File:String JE2 BE2.png|32px]] The texture of string has now been changed.}}
{{History|||snap=18w44a|[[Cat]]s now drop 0-2 string upon death.
|Cats now offer string as [[Cat#Gifts|gift]]s.}}
{{History|||snap=18w45a|String can now be used to craft [[scaffolding]].}}
{{History|||snap=18w47a|String can now be found inside [[pillager outpost]] [[chest]]s.}}
{{History||1.16|snap=20w09a|String can now be obtained through [[bartering]] with [[piglin]]s.}}
{{History|||snap=20w13a|[[Strider]]s now [[drops|drop]] string upon [[death]].}}
{{History|||snap=20w16a|String now generates in [[bastion remnant]] chests.}}
{{History||1.17|snap=20w45a|String can now be used to craft [[bundle]]s and [[candle]]s.}}
{{History|||snap=21w13a|The model of the tripwire has been tweaked that the underside texture is mirrored.}}
{{History|||snap=21w19a|String can no longer be used to craft bundles and candles.}}
{{History|||snap=Pre-release 1|String can once again used to craft candles.}}
{{History||1.18|snap=Experimental Snapshot 1|String can now once again be used to craft bundles.}}
{{History|||snap=21w37a|String once again can no longer be used to craft bundles.}}
{{History||1.20<br>(Experimental)|link=1.19.3|snap=22w42a|String can now once again be used to craft bundles.}}
{{History||1.20<br>(Experimental)|link=1.19.4|snap=23w07a|String can now be used to craft [[brush]]es.}}
{{History|||snap=1.19.4-pre1|String can no longer be used to craft [[brush]]es.}}
{{History||1.20|snap=23w12a|String can now be found in [[suspicious gravel]] and [[suspicious sand]] in [[trail ruins]].}}
{{History|||snap=23w16a|String 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]]; string now is in the common loot.}}

{{History|pocket alpha}}
{{History||v0.2.0|[[File:String JE1 BE1.png|32px]] Added string. It is currently unobtainable and serves no purpose.}}
{{History||v0.3.3|Added spiders, which drop string when they die.
|String can now be used to [[crafting|craft]] [[bow]]s.}}
{{History||v0.4.0|String can now be crafted into [[wool]].}}
{{History||v0.11.0|snap=build 1|String can now be used to craft [[fishing rod]]s.
|String can now be caught as a junk [[item]] from [[fishing]].}}
{{History||v0.13.0|snap=build 1|String can now be placed on the ground as a tripwire.
|String can now be found in [[desert temple]] [[chest]]s.}}
{{History||v0.15.0|snap=build 1|String can now be used to craft [[lead]]s.
|Tripwire now generates in [[jungle temple]]s.}}
{{History|pocket}}
{{History||1.0.4|snap=alpha 1.0.4.0|15-20 String can now be [[trading|sold]] to fletcher and fisherman [[villager]]s for an [[emerald]].}}
{{History||1.1.0|snap=alpha 1.1.0.0|String can now be found in [[woodland mansion]] [[chest]]s.
|[[Cobweb]]s can now be used to [[crafting|craft]] 9 string.}}
{{History|bedrock}}
{{History||1.8.0|snap=beta 1.8.0.8|Tamed [[cat]]s can now give the [[player]] string as gifts.
|String can now be used to craft [[scaffolding]].
|[[Cat]]s now [[drops|drop]] 0–2 string.}}
{{History|||snap=beta 1.8.0.10|String can now be used to craft [[crossbow]]s.}}
{{History||1.9.0|snap=beta 1.9.0.0|Tripwire string that is broken now activates, unless broken with [[shears]].}}
{{History||1.10.0|snap=beta 1.10.0.3|String can now be found in [[pillager outpost]] chests.
|String can now be used to craft a [[loom]].
|[[File:String JE2 BE2.png|32px]] The texture of string has now been changed.}}
{{History||1.11.0|snap=beta 1.11.0.4|[[Trading]] has now been changed, fisherman [[villager]]s now have a 50% chance to [[trading|buy]] 20 string as part of their first-tier trade.
|Fletcher villagers now buy 14 string for an [[emerald]] as their third-tier trade.}}
{{History||1.16.0|snap=beta 1.16.0.57|String can now be obtained through [[bartering]] with [[piglin]]s.
|Added [[strider]]s, which [[drops|drop]] string upon [[death]].
|String can now be found in [[bastion remnant]] chests.}}
{{History||1.17.10|snap=beta 1.17.10.22|String can now be used to craft [[candles]].}}
{{History||1.18.30|snap=beta 1.18.30.26|The ID of tripwire block is changed from <code>tripWire</code> to <code>trip_wire</code>}}
{{History||1.20.10|snap=beta 1.20.10.20|String can no longer be crafted from cobwebs.}}

{{History|console}}
{{History||xbox=TU1|xbone=CU1|ps=1.0|wiiu=Patch 1|switch=1.0.1|[[File:String JE1 BE1.png|32px]] Added string.}}
{{History||xbox=TU14|ps=1.04|String can now be placed on the ground as [[tripwire]].}}
{{History||xbox=none|xbone=none|ps=1.88|wiiu=none|switch=none|Tripwires are now activated when [[breaking|broken]], unless broken with [[shears]].}}
{{History||xbox=none|xbone=none|ps=1.90|wiiu=none|switch=none|[[File:String JE2 BE2.png|32px]] The texture of string has now been changed.}}

{{History|new 3ds}}
{{History||0.1.0|[[File:String JE1 BE1.png|32px]] Added string.}}
{{History|foot}}

===Tripwire "item"===
{{:Technical blocks/Tripwire}}

== Issues ==
{{Issue list}}

== Gallery ==
<gallery>
Tripwire (NS).png|
Tripwire (N).png|
Tripwire (E).png|
Tripwire (S).png|
Tripwire (W).png|
Tripwire (EW).png|
Tripwire (NE).png|
Tripwire (ES).png|
Tripwire (SW).png|
Tripwire (NW).png|
Tripwire (ESW).png|
Tripwire (NSW).png|
Tripwire (NEW).png|
Tripwire (NES).png|
</gallery>

=== Screenshots ===
<gallery>
DinnerboneTripwireDev3.png|The first image of tripwires [[dinnerbonetweet:207154292593917952|released]] by Mojang.
DinnerboneTripwireDev4.png|An image [[dinnerbonetweet:207294114398605312|released]] by Mojang testing visibility of tripwires from a distance at night.
DinnerboneTripwireDev5.png|The same room viewed from the same angle, in daytime.
Dinnerbone String.png|Power lines made of suspended string blocks.
</gallery>

==References==
{{Reflist}}

== External Links ==
*[https://www.minecraft.net/en-us/article/taking-inventory--string Taking Inventory: String] – Minecraft.net on May 14, 2020

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

[[Category:Redstone mechanics]]
[[Category:Mechanics]]
[[Category:Mechanisms]]
[[Category:Generated structure blocks]]
[[Category:Non-solid blocks]]

[[cs:Vlákno]]
[[de:Faden]]
[[es:Hilo]]
[[fr:Ficelle]]
[[hu:Fonál]]
[[it:Cordicella]]
[[ja:糸]]
[[ko:실]]
[[nl:Draad]]
[[pl:Nić]]
[[pt:Linha]]
[[ru:Нить]]
[[th:เส้นใย]]
[[uk:Нитка]]
[[zh:线]]</li></ul>
15w49aUnextended pistons, downwards-facing pistons, and upwards-facing piston extensions are now considered to have a solid top surface, like upside-down stairs and top-half slabs. There also existed a bug where when a piston retracted, it would pull entities through them, called translocation.
1.11.1
{{Extension DPL}}<ul><li>[[:Category:Combat|Category:Combat]]<br/>[[Category:Items]]

[[fr:Catégorie:Combat]]
[[zh:Category:武器]]</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>
16w50aAdded a new byte tag source for the piston_extension block entity, which is true if the block represents the piston head itself, and false if it represents a block being pushed. Translocation was removed.
1.12
{{Extension DPL}}<ul><li>[[Cookie|Cookie]]<br/>{{Item
| title = Cookie
| image = Cookie.png
| heals = {{hunger|2}}
| renewable = Yes
| stackable = Yes (64)
}}
'''Cookies''' are [[food]] items that can be obtained in large quantities, but do not restore hunger or saturation significantly.

== Obtaining ==
=== Trading ===
Journeyman-level farmer [[villager]]s sell 18 cookies for 3 [[emerald]]s as part of their trades.

=== Crafting ===
{{Crafting
|A2= Wheat
|B2= Cocoa Beans
|C2= Wheat
|Output= Cookie,8
|type= Foodstuff
}}

=== Villager gifts ===
{{in|java}}, if the [[player]] has the [[Hero of the Village]] effect, a farmer villager may gift them a cookie.

== Usage ==
=== Food ===
To eat a cookie, press and hold {{control|use}} while it is selected in the hotbar. Eating one restores {{hunger|2}} [[hunger]] and 0.4 hunger 
[[Hunger#Mechanics|saturation]].

=== Parrots ===
Feeding a cookie to a [[parrot]] kills the parrot instantly, and causes it to give off [[Poison]] [[particles]] as it dies due to chocolate being toxic to parrots.
{{IN|Bedrock}}, feeding a cookie to a parrot inflicts the parrot with [[Fatal Poison]] for 1,000 seconds.

=== Composting ===
Placing a cookie into a [[composter]] has an 85% chance of raising the compost level by 1.

Considering the high yield of cookies (8 cookies from 1 cocoa bean and 2 wheats) and the higher chance to successfully compost a cookie (85%), it is more efficient to craft cookies to compost rather than using separate ingredients. For example, 100 wheats and 50 cocoa beans, which in total could yield only 13.92 bone meal on average, could be crafted into 400 cookies to yield 48.57 bone meal on average.

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

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

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

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Cookie
|spritetype=item
|nameid=cookie
|id=271
|form=item
|foot=1}}

== History ==

{{History|java beta}}
{{History||1.4|[[File:Cookie JE1 BE1.png|32px]] Added cookies. 
|Cookies restore {{hp|1}} and are currently the only stackable [[food]], up to 8 cookies per stack.}}
{{History||1.8|snap=Pre-release|Cookies can now be stacked to 64.
|Cookies now restore {{hunger|1}}.}}
{{History|java}}
{{History||1.3.1|snap=12w18a|Cocoa beans have become farmable, making cookies [[renewable resource|renewable]] and ''much'' cheaper.}}
{{History|||snap=12w19a|Cookies now restore {{hunger|2}} instead of {{hunger|1}}.}}
{{History|||snap=12w21a|Farmer [[villager]]s now [[trading|sell]] 8–10 cookies for 1 [[emerald]].}}
{{History||1.8|snap=14w02a|Farmer villagers now sell 6 cookies for 1 emerald.}}
{{History||1.11|snap=16w33a|Farmer villagers now sell 6–10 cookies for 1 emerald.}}
{{History||1.12|snap=17w13a|Cookies can now be used to tame [[parrot]]s.}}
{{History|||snap=pre3|Cookies are no longer used to tame [[parrot]]s. Instead, a cookie now instantly kills a parrot.}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 357.}}
{{History||1.14|snap=18w43a|[[File:Cookie JE2 BE2.png|32px]] The texture of cookies has been changed.}}
{{History|||snap=19w03a|Placing a cookie into the new [[composter]] has a 80% chance of raising the compost level by 1.}}
{{History|||snap=19w05a|Cookies now have an 85% chance of increasing the compost level in a composter by 1.}}
{{History|||snap=19w13a|Farmer villagers now give cookies to players under the [[Hero of the Village]] effect.}}

{{History|pocket alpha}}
{{History||v0.9.0|snap=build 1|[[File:Cookie JE1 BE1.png|32px]] Added cookies.}}
{{History||v0.12.1|snap=build 1|Cookies now restore [[hunger]] instead of [[health]].}}
{{History|pocket}}
{{History||1.0.4|snap=alpha 1.0.4.0|Farmer [[villager]]s now [[trading|sell]] 6-10 cookies for 1 [[emerald]].}}
{{History|bedrock}}
{{History||1.2.0|snap=beta 1.2.0.2|Cookies can now be used to inflict a fatal [[Poison]] [[status effect]] to [[parrot]]s.}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Cookie JE2 BE2.png|32px]] The texture of cookies has been changed.}}
{{History||1.11.0|snap=beta 1.11.0.1|Cookies can now be used to fill up [[composter]]s.}}
{{History|||snap=beta 1.11.0.4|Farmer [[villager]]s now [[trading|sell]] 18 cookies for 3 [[emerald]]s as part of their third tier [[trading|trades]].}}

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

{{History|new 3ds}}
{{History||0.1.0|[[File:Cookie JE1 BE1.png|32px]] Added cookies.}}
{{History|foot}}

== Issues ==

{{issue list}}

== Gallery ==

<gallery>
File:12w21a CookiePurchase.png|Cookies being obtained by [[trading]] with a farmer [[villager]].
File:Eating Steve.png|[[Steve]] eating a cookie.
File:Eating Alex.png|Alex eating a cookie.
</gallery>

== References ==
{{reflist}}

== External Links ==
*[https://www.minecraft.net/en-us/article/taking-inventory--cookie Taking Inventory: Cookie] – Minecraft.net on August 22, 2019

{{Items}}

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

[[cs:Sušenka]]
[[de:Keks]]
[[es:Galleta]]
[[fr:Cookie]]
[[hu:Csokis süti]]
[[ja:クッキー]]
[[ko:쿠키]]
[[nl:Koekje]]
[[pl:Ciastko]]
[[pt:Biscoito]]
[[ru:Печенье]]
[[uk:Печиво]] 
[[zh:曲奇]]</li><li>[[Minecart|Minecart]]<br/>{{about|the rideable minecart in Minecraft|other uses|Minecart (disambiguation)|}}
{{distinguish|Minecraft}}
{{ItemEntity
|image=Minecart.png
|renewable=Yes
|stackable=No
|size=Height: 0.7 Blocks<br>Width: 0.98 Blocks
|networkid='''[[JE]]''': 10
|drops={{ItemLink|Minecart}} (1)
|health={{hp|6}}
}}
A '''minecart''' is a train-like vehicle [[entity]] that runs on [[Rail (disambiguation)|rail]]s.

== Obtaining ==

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

=== Crafting ===

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

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

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

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

=== Crafting ingredient ===

{{crafting usage}}

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

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

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

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

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

== Behavior ==

=== Speed ===

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

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

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

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

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

=== Merged minecarts ===

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

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

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

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

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

=== Collision ===

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

== Issues ==
{{issue list}}

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

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

== References ==
{{reflist}}

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

{{Items}}
{{entities}}

[[Category:Mechanics]]

[[cs:Vozík]]
[[de:Lore]]
[[es:Vagoneta]]
[[fr:Wagonnet]]
[[hu:Csille]]
[[it:Carrello da miniera]]
[[ja:トロッコ]]
[[ko:광산 수레]]
[[nl:Mijnkar]]
[[pl:Wagonik]]
[[pt:Carrinho de mina]]
[[ru:Вагонетка]]
[[th:รถราง]]
[[uk:Вагонетка]]
[[zh:矿车]]</li></ul>
17w16aSticky pistons do not pull glazed terracotta, and when pistons move slime blocks, they will not move glazed terracotta attached to the side of the slime block.
pre3Slime blocks can no longer pull glazed terracotta attached to any side whatsoever.
Pocket Edition Alpha
0.15.0
{{Extension DPL}}<ul><li>[[Trident|Trident]]<br/>{{For|the Hidden Depths DLC weapon in ''Minecraft Dungeons''|MCD:Trident}} 
{{ItemEntity
|durability= 250
|renewable= Yes
|stackable= No
|size=Height: 0.25 Blocks<br>Width: 0.25 Blocks
|title=Trident|image= <gallery>
Trident (item).png | Item
Trident.png | Entity
</gallery>}}

A '''trident''' is a [[weapon]] used in both melee and ranged combat and is a rare drop from [[drowned]].

==Obtaining==
Tridents are not craftable. A trident can be obtained only when dropped by a [[drowned]], Converted drowned are never equipped with tridents. 

===Mob loot===

==== '''''Java Edition''''' ====
6.25% (or 1 in 16) of [[Drowned]] in Java Edition spawn with a trident of random durability as their natural weapon. They have an 8.5% chance to drop their trident when killed by a player. The chance is increased by 1% for each level of [[Looting]] up to a max of 11.5% with Looting III. This means the overall chance of obtaining a trident from any given drowned is 0.53125% (about 1 in 188) or 0.71875% (about 1 in 140) with looting III.

{{IN|Java}}, a trident held by a drowned has a chance to be enchanted, but the trident's enchantments have no effects for drowned.<ref>{{bug|MC-127321}}</ref>

==== '''''Bedrock Edition''''' ====
Only 15% (or 3 in 20) of [[Drowned]] in Bedrock Edition spawn with tridents. Of these, they have a 25% chance to drop their trident when killed by a player. This chance is increased by 4% for each level of looting up to a max of 37% with looting III. This means the overall chance of obtaining a trident from any given drowned is 3.75% (or 3 in 80) or 5.55% with looting III.

===Thrown tridents===
Tridents thrown onto the ground by a player can be picked up; however, tridents thrown by [[drowned]] cannot be picked up, similar to arrows shot by [[skeleton]]s, [[stray]]s, and [[pillager]]s. Only the owner of a trident thrown in Creative mode or enchanted with Loyalty can pick it up; other players in Creative and players in Survival mode including its own owner can't pick up the trident thrown in Creative.

===Trading===
Drowned who are holding tridents will sometimes drop their trident at full durability if given a nautilus shell when they aren't attacking anything.{{only|BE}}

==Usage==

===Drowned===
{{main|Drowned}}
15% of drowned {{in|bedrock}}, and 6.25% {{in|java}}, spawn with a trident as its natural weapon. It throws the trident at its opponent every 1.5 seconds, dealing {{hp|9}} [[damage]] in normal difficulty. A drowned can throw unlimited tridents, and these tridents cannot be picked up by the [[player]].

A [[villager]] can be turned into a [[zombie villager]] if it is killed by a trident thrown by a drowned: the chance of conversion is 0% on Easy [[difficulty]], 50% on Normal, and 100% on Hard and [[Hardcore]].

{{IN|bedrock}}, a drowned can use the trident's melee attack if its target is within three blocks. The melee attack deals {{hp|9}} damage.

===Melee attack===

Pressing {{control|attack}} while holding a trident deals damage to both [[mob]]s and players. Tridents deal {{hp|9}} melee damage. A successful hit consumes durability of the trident.

===Ranged attack===
[[File:Steve aiming with Trident.png|150px]] [[File:Alex aiming with Trident.png|150px]]

Pressing and holding {{control|use}} while holding a trident charges it. When released at half charge or more, the trident is thrown and deals damage to any [[entity]] it hits. Note that it doesn't have to be full charge for the complete damage and length. It flies on a ballistic trajectory similar to that of an [[arrow]], but at 80% strength. If the trident hits a block, it sticks to the block. If it hits an entity, it bounces off the entity and lands nearby. It is also blocked by [[shield]]s and can be retrieved once it lands in the ground. Thrown tridents can trigger wooden [[button]]s, wooden [[pressure plate]]s, and [[target]] blocks. A trident can be thrown at a [[chorus flower]] or [[pointed dripstone]] to break it, which causes the block to be dropped as its respective item.

{{IN|bedrock}} and [[Java Edition Combat Test 4]], tridents can be shot by [[dispenser]]s regardless of enchantment.

Tridents [[Enchanting#Summary_of_enchantments_by_item|enchanted]] with [[Loyalty]] return to the thrower after hitting an entity{{only|java}}/hitting and bouncing off an entity then hitting a block{{only|bedrock}}<ref>{{bug|MCPE-51726}}</ref> or just a block. A Loyalty-enchanted trident fired from a [[dispenser]] just sticks to the block it strikes. Higher levels of enchantment result in shorter recovery times. {{IN|java}}, throwing a trident enchanted with Loyalty into the [[void]] destroys it,<ref>{{bug|MC-125755|||WAI}}</ref> while {{in|bedrock}} it automatically returns to the player. Tridents (if enchanted with Loyalty), can take [[fire]] damage but still return to the player if thrown in [[lava]]. This is especially helpful in [[the Nether]] should the [[player]] be using a trident instead of a [[bow]]. If a trident enchanted with Loyalty attempts to return to a player with no available inventory space, the trident floats near the player until inventory space becomes available.

Thrown tridents take 1 durability damage, regardless of whether it hit an entity or not. Tridents with 1 durability remaining cannot be thrown.

Tridents enchanted with [[Riptide]] launch the player a certain distance when thrown, with the distance increasing for higher enchantment levels. They can be thrown only if the player is standing in [[water]], or if it is raining on the block they are standing on. If the player charges it but walks into a nearby dry area, the charge is canceled. If the player throws a Riptide trident and collides with a mob, the mob takes melee damage (including critical damage if the player is falling). {{IN|java}} tridents enchanted with Riptide take one durability damage upon throwing, and lose an additional 1 durability if it collides with an entity on both editions. Each level of Riptide increases the distance traveled by six blocks. The enchantment at level one launches the player nine blocks, fifteen blocks at level two, and twenty-one blocks at level three.

Tridents enchanted with [[Channeling]] summon a lightning bolt if there is a thunderstorm, although only upon hitting a mob or player standing in the rain as well as a [[Lightning Rod|lightning rod]] placed in the rain.

Unlike other projectiles, the trident does not slow down when thrown through water or lava.

{{IN|java}}, the [[Impaling]] enchantment affects ''all water mobs''. {{IN|bedrock}}, it deals extra damage to [[player]]s and mobs in water or rain.

Unlike arrows, thrown tridents do not despawn.{{only|bedrock}} Tridents despawn after 60 seconds if they are not picked up.{{only|java}}<ref>{{bug|MC-125817}}</ref>

;Magical damage
Using [[Riptide]], nearby players or mobs are dealt [[Harming|splash damage]] within an 8.25×8.25×4.25 cubical area. It stacks with the [[Impaling]] enchantment and [[Strength]] effect. Critical hits do not increase splash damage, but affect the target. 

{{IN|bedrock}}, thrown tridents can damage the [[ender dragon]] while resting on the bedrock fountain. {{IN|java}}, they act just like arrows — deflected, but burn as if they had [[Flame]].

=== Damage===
Thrown tridents and splashes deal {{hp|8}} damage. The damage remains the same regardless of the trident's speed. It has a faster charging speed than a [[bow]] or [[crossbow]] (barring the [[Quick Charge]] enchantment.)

====Java Edition====

{{IN|java}}, tridents have an attack speed of 1.1 and take ~0.91 seconds to [[Damage#Attack cooldown|recover]].

{| class="wikitable" style="text-align:center" data-description="Sword attack damage by type"
!Attack
!{{ItemSprite|Trident|text=Melee}}
!{{ItemSprite|Trident|text=Melee (critical)}}
!{{ItemSprite|Trident|text=Range}}
|-
!Attack damage
|{{hp|9}}
|{{hp|13.5}}
|{{hp|8}}
|-
!Damage/Second (DPS)<ref group="note">This does not take travel time into account</ref>
|9.9
|14.3
| ?
|-
!Lifetime damage inflicted<ref group="note">The formula to find the total lifetime damage is ''Durability × Damage per hit = Lifetime damage minimum'' (e.g., 250 × 9 = 2250). It ignores enchantments and critical hits, and assumes the trident is at maximum charge</ref>
|{{hp|2250}}
|{{hp|3375}}
|{{hp|2000}}
|-
!Durability
| colspan="3" |250
|}
{{notelist}}

====Bedrock Edition====

{{IN|bedrock}}, tridents have no attack cooldown and do the following damage:

{| class="wikitable" style="text-align:center" data-description="Sword attack damage by type"
!Attack
!{{ItemSprite|Trident|text=Melee}}
!{{ItemSprite|Trident|text=Range}}
|-
!Attack damage
|{{hp|9}}
|{{hp|8}}
|-
! ''Lifetime damage inflicted''<ref group="note">The formula to find the total lifetime damage is ''Durability × Damage per hit = Lifetime damage minimum''. It excludes enchantments and critical hits.</ref>
|{{hp|2259}}
|{{hp|2008}}
|-
!Durability
| colspan="2" |251
|}
{{notelist}}

===Elytra===
A trident with the [[Riptide]] enchantment can be used to propel a player with a pair of [[elytra]], but only in [[rain]]y weather, during snowy weather in certain biomes<ref>{{bug|MC-128169}}</ref> or while the [[player]] is in a body of water. A Riptide trident can boost the player to speeds as high as 125 blocks per second,<ref>{{bug|MC-147173||Using riptide tridents while elytra flying can boost the player to excessive speeds}}</ref> much faster than the 33.5 blocks-per-second speed achievable using [[firework rocket]]s.

===Impaling damage ===

{{IN|java}}, the [[Impaling]] enchantment deals extra damage to all water mobs. {{IN|bedrock}} and in [[Java Edition Combat Test 3]], it deals extra damage to all players and mobs in water or rain.

{| class="wikitable" style="text-align:center" data-description="Trident Damage by Impaling Level" |
|+ Trident Damage by Impaling level
|-
!Level
!Increase
!Melee
!Ranged
|-
|I
| adds {{hp|2.5}}
|{{hp|11.5}}
|{{hp|10.5}}
|-
|II
|adds {{hp|5}}
|{{hp|14}}
|{{hp|13}}
|-
|III
| adds {{hp|7.5}}
|{{hp|16.5}}
|{{hp|15.5}}
|-
|IV
|adds {{hp|10}}
|{{hp|19}}
|{{hp|18}}
|-
|V
|adds {{hp|12.5}}
|{{hp|21.5}}
|{{hp|20.5}}
|}

{{-}}

===Enchantments===

Tridents have a base enchantability of 1 and can receive the following [[enchantment]]s:
{| class="wikitable col-2-center col-3-right"
|+
!Name
!Max Level
![[Enchanting|Method]]
|-
|[[Loyalty]]<ref group="note" name="note1">Loyalty and Channeling are mutually exclusive from Riptide, but not from each other.</ref>
|III
|{{Inventory slot|Enchanting Table}}{{Inventory slot|Anvil}}
|-
|[[Channeling]]<ref group="note" name="note1" />
|I
|{{Inventory slot|Enchanting Table}}{{Inventory slot|Anvil}}
|-
|[[Riptide]]<ref group="note" name="note1" />
|III
|{{Inventory slot|Enchanting Table}}{{Inventory slot|Anvil}}
|-
|[[Impaling]]
|V
|{{Inventory slot|Enchanting Table}}{{Inventory slot|Anvil}}
|-
|[[Unbreaking]]
|III
|{{Inventory slot|Enchanting Table}}{{Inventory slot|Anvil}}
|-
|[[Mending]]
|I
|{{Inventory slot|Anvil}}
|-
|[[Curse of Vanishing]]
|I
|{{Inventory slot|Anvil}}
|}
; Notes
<references group="note" />

===Repairing ===
Tridents have the same [[durability]] as an [[sword|iron sword]]. Whenever a trident deals damage, its durability decreases by 1.

Tridents can be repaired by:
*combining two damaged tridents in a [[grindstone]], or on a [[crafting table]] or the 2×2 inventory grid, which removes any enchantments except for [[Curse of Vanishing]] and [[Curse of Binding]]
*combining a damaged trident with another trident on an [[anvil]], which preserves enchantments.
*applying the [[Mending]] enchantment.

==Sounds==
{{Edition|Java}}:<br>
Thrown tridents use the Friendly Creatures sound category for entity-dependent sound events.
{{Sound table
|sound=Trident pierce1.ogg
|sound2=Trident pierce2.ogg
|sound3=Trident pierce3.ogg
|subtitle=Trident stabs
|source=neutral
|description=When a trident hits a mob
|id=item.trident.hit
|translationkey=subtitles.item.trident.hit
|volume=1.0
|pitch=1.0
|distance=16}}
{{Sound table
|sound=Trident ground impact1.ogg
|sound2=Trident ground impact2.ogg
|sound3=Trident ground impact3.ogg
|sound4=Trident ground impact4.ogg
|subtitle=Trident vibrates
|source=neutral
|description=When a trident hits the ground
|id=item.trident.hit_ground
|translationkey=subtitles.item.trident.hit_ground
|volume=0.9
|pitch={{frac|12|11}}-{{frac|4|3}}
|distance=16}}
{{Sound table
|sound=Trident throw1.ogg
|sound2=Trident throw2.ogg
|subtitle=Trident clangs
|source=player
|description=When a player throws a trident
|id=item.trident.throw
|translationkey=subtitles.item.trident.throw
|volume=1.0
|pitch=1.0
|distance=16}}
{{Sound table
|rowspan=2
|sound=Trident thunder1.ogg
|sound2=Trident thunder2.ogg
|subtitle=Trident thunder cracks
|source=neutral
|description=When a Channeling trident hits a mob
|id=item.trident.thunder
|translationkey=subtitles.item.trident.thunder
|volume=5.0
|pitch=1.0
|distance=16}}
{{Sound table
|subtitle=Trident thunder cracks
|source=weather
|description=When a trident with Channeling strikes a lightning rod
|id=item.trident.thunder
|translationkey=subtitles.item.trident.thunder
|volume=5.0
|pitch=1.0
|distance=16}}
{{Sound table
|sound=Riptide I.ogg
|subtitle=Trident zooms
|source=player
|description=When a Riptide I trident is used
|id=item.trident.riptide_1
|translationkey=subtitles.item.trident.riptide
|volume=1.0
|pitch=1.0
|distance=16}}
{{Sound table
|sound=Riptide II.ogg
|subtitle=Trident zooms
|source=player
|description=When a Riptide II trident is used
|id=item.trident.riptide_2
|translationkey=subtitles.item.trident.riptide
|volume=1.0
|pitch=1.0
|distance=16}}
{{Sound table
|sound=Riptide III.ogg
|subtitle=Trident zooms
|source=player
|description=When a Riptide III or higher trident is used
|id=item.trident.riptide_3
|translationkey=subtitles.item.trident.riptide
|volume=1.0
|pitch=1.0
|distance=16}}
{{Sound table
|sound=Trident return1.ogg
|sound2=Trident return2.ogg
|sound3=Trident return3.ogg
|subtitle=Trident returns
|source=neutral
|description=When a trident starts returning <ref group=sound>The first sound is only played {{frac|1|9}} of the time, while the others are played {{frac|4|9}} of the time</ref>
|id=item.trident.return
|translationkey=subtitles.item.trident.return
|volume=8.0
|pitch=''varies'' <ref group=sound>1.0 for <code>return1</code>, 1.0/0.8/1.2/1.2 for <code>return2</code>, and 1.0/0.8/0.8/1.2 for <code>return3</code></ref>
|distance=16}}
{{Sound table
|sound=Trident throw1.ogg
|sound2=Trident throw2.ogg
|subtitle=Drowned throws Trident
|source=hostile
|description=When a drowned shoots a trident
|id=entity.drowned.shoot
|translationkey=subtitles.entity.drowned.shoot
|volume=1.0
|pitch={{frac|5|6}}-1.25
|distance=16}}
{{Sound table
|sound=Random break.ogg
|subtitle=Item breaks
|source=player
|description=When a trident's durability is exhausted
|id=entity.item.break
|translationkey=subtitles.entity.item.break
|volume=0.8
|pitch=0.8-1.2
|distance=16
|foot=1}}

{{Edition|Bedrock}}:
{{Sound table
|type=bedrock
|sound=Trident pierce1.ogg
|sound2=Trident pierce2.ogg
|sound3=Trident pierce3.ogg
|source=player
|description=When a trident hits a mob
|id=item.trident.hit
|volume=1.0
|pitch=1.0}}
{{Sound table
|sound=Trident ground impact1.ogg
|sound2=Trident ground impact2.ogg
|sound3=Trident ground impact3.ogg
|sound4=Trident ground impact4.ogg
|source=player
|description=When a trident hits the ground
|id=item.trident.hit_ground
|volume=0.9
|pitch=1.0}}
{{Sound table
|sound=Trident throw1.ogg
|sound2=Trident throw2.ogg
|source=player
|description=When a player throws a trident
|id=item.trident.throw
|volume=1.0
|pitch=1.0}}
{{Sound table
|sound=Trident thunder1.ogg
|sound2=Trident thunder2.ogg
|source=player
|description=When a trident with Channeling strikes a mob<ref group="sound">{{Bug|MCPE-43402}}</ref><wbr><ref group=sound>{{bug|MCPE-173931||Tridents don't make channeling sounds when striking a lightning rod}}</ref><wbr>{{Upcoming|BE 1.20.30}}
|id=item.trident.thunder
|volume=1.0<wbr>{{Until|BE 1.20.30}}<br>1000.0<wbr>{{Upcoming|BE 1.20.30}}
|pitch=1.0}}
{{Sound table
|sound=Riptide I.ogg
|source=player
|description=When a Riptide I trident is used
|id=item.trident.riptide_1
|volume=1.0
|pitch=1.0}}
{{Sound table
|sound=Riptide II.ogg
|source=player
|description=When a Riptide II trident is used
|id=item.trident.riptide_2
|volume=1.0
|pitch=1.0}}
{{Sound table
|sound=Riptide III.ogg
|source=player
|description=When a Riptide III trident is used
|id=item.trident.riptide_3
|volume=1.0
|pitch=1.0}}
{{Sound table
|sound=Trident return1.ogg
|sound2=Trident return2.ogg
|sound3=Trident return3.ogg
|source=player
|description=When a trident starts returning <ref group=sound>The first sound is only played {{frac|1|9}} of the time, while the others are played {{frac|4|9}} of the time</ref>
|id=item.trident.return
|volume=8.0
|pitch=''varies'' <ref group=sound>1.0 for <code>return1</code>, 1.0/0.8/1.2/1.2 for <code>return2</code>, and 1.0/0.8/0.8/1.2 for <code>return3</code></ref>}}
{{Sound table
|sound=Trident throw1.ogg
|sound2=Trident throw2.ogg
|source=hostile
|description=When a drowned shoots a trident<ref group="sound">{{Bug|MCPE-53297}}</ref><wbr>{{Upcoming|BE 1.20.30}}
|id=mob.drowned.shoot
|volume=1.0
|pitch=0.8-1.2
|foot=1}}

==Data values==
===ID===
{{edition|java}}:
{{ID table
|edition=java
|showforms=y
|generatetranslationkeys=y
|displayname=Trident
|spritetype=item
|nameid=trident
|form=item
|foot=1}} 
{{ID table
|edition=java
|showentitytags=y
|generatetranslationkeys=y
|displayname=Trident
|spritetype=entity
|nameid=trident
|entitytags=impact_projectiles
|foot=1}}

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Trident
|spritetype=item
|nameid=trident
|id=546
|form=item
|foot=1}} 
{{ID table
|edition=bedrock
|shownumericids=y
|generatetranslationkeys=y
|displayname=Trident
|spritetype=entity
|nameid=thrown_trident
|id=73
|foot=1}}

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

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

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

==Achievements==

{{load achievements|Do a Barrel Roll!;Bullseye}}

==Advancements==
{{load advancements|A Throwaway Joke;Very Very Frightening;Not Today;Sniper Duel;Bullseye}}

==History==
{{History|java}}
{{History||November 18, 2017|link={{YouTubeLink|mAapz_nIC_Y}}|A trident was shown killing a [[zombie]] in a clip presented at [[MineCon Earth]].}}
{{History||1.13|snap=18w07a|[[File:Trident.png|60px]] {{InvSprite|Trident Revision 1}} Added tridents, which are currently unobtainable in [[Survival]].}}
{{History|||snap=18w10a|[[File:Trident (item).png|32px]] Tridents now have a new texture in the [[inventory]].}}
{{History|||snap=18w11a|Added [[drowned]] mobs, which can spawn with a trident, allowing tridents to now become obtainable in [[Survival]].}}
{{History|||snap=18w14a|If the [[player]] is not in [[water]] and it is not [[rain]]ing, the player can no longer throw tridents [[enchantment|enchanted]] with [[Riptide]], but they can still deal melee [[damage]].}}
{{History|||snap=18w20a|Like with swords, tridents no longer can break blocks when held in [[Creative]] mode.<ref>{{bug|MC-126300}}</ref>}}
{{History||1.14|snap=18w43a|Thrown tridents can now break [[chorus flower]]s.}}
{{History||1.15|snap=19w39a|[[File:Enchanted Trident.png|60px]] [[File:Enchanted Trident (item).gif|32px]] Tridents that are [[enchanting|enchanted]] now have a glint.
|Trident items use a 3D model again. When dropped, it rotates off center<ref>{{bug|MC-161886}}</ref> (like with beds at the time and shields currently).}}
{{History|||snap=19w42a|Trident items now use the 2D sprite again.<ref>{{bug|MC-161872}}</ref>}}
{{History||1.17|snap=20w48a|Thrown tridents can now break [[pointed dripstone]].}}
{{History|upcoming java}}
{{History||Villager Trade Rebalance<br>(Experimental)|link=Java Edition 1.20.2|snap=23w31a|Trident-exclusive enchantments are no longer obtainable from villager [[trading]].}}
{{History||Combat Tests|snap=1.14.3 - Combat Test|The attack speed of tridents has been increased to 2.
|The base [[damage]] of tridents has been decreased from {{hp|9}} to {{hp|7}}.
|The attack reach of tridents has been increased to 4 [[block]]s.}}
{{History|||snap=Combat Test 2|The damage of tridents has been increased to {{hp|8}}.}}
{{History|||snap=Combat Test 4|Tridents can now be shot from [[dispenser]]s.
|Tridents with [[Loyalty]] that fall into the [[void]] now return to their owner upon breaking in the void.
|Tridents with [[Impaling]] now deal [[enchanting|enchantment]] damage to all [[mob]]s that are in [[water]] or [[rain]].}}
{{History|||snap=Combat Test 5|The damage of tridents has been decreased to {{hp|7}} again.}}

{{History|bedrock}}
{{History||1.4.0|snap=beta 1.2.13.8|[[File:Trident.png|60px]] [[File:Trident (item).png|32px]] Added tridents.
|Tridents are currently a part of [[Experimental Gameplay]].}}
{{History|||snap=beta 1.2.14.2|Tridents have been fully implemented.}}
{{History|||snap=beta 1.2.20.1|A new animation has been added for tridents with [[Riptide]] when they are thrown.}}
{{History||1.5.0|snap=beta 1.5.0.0|Tridents can now be [[enchantment|enchanted]] with [[Mending]] and [[Unbreaking]].}}
{{History|||snap=beta 1.5.0.7|Tridents no longer break [[block]]s in [[Creative]] mode.}}
{{History||1.10.0|snap=beta 1.10.0.3|Thrown tridents can now break [[chorus flower]]s.}}
{{History||1.16.0|snap=beta 1.15.0.51|Drowned can no longer have a trident when converted.|Drowned that are not holding a trident are no longer able to drop one.}}
{{History||1.16.220|snap=beta 1.16.220.50|Tridents are now able to break pointed dripstone.}}
{{History|||snap=beta 1.16.220.51|Drowned now hold their tridents correctly when targeting a player.}}

{{History|console}}
{{History||xbox=TU69|ps=1.76|wiiu=Patch 38|[[File:Trident.png|60px]] [[File:Trident (item).png|32px]] Added tridents.}}

{{History|education}}
{{History||1.4.0|[[File:Trident.png|60px]] [[File:Trident (item).png|32px]] Added tridents.}}
{{History|foot}}

==Issues==

{{issue list}}

==Trivia==
* If a player throws a Loyalty-enchanted trident and the player's inventory subsequently fills, the trident hovers around or through the player's skin until an inventory slot opens, which it fills immediately. Multiple tridents can be 'queued' to re-enter the player's inventory in this manner.
*{{IN|java}} in Creative mode, sword enchantments can be applied to tridents. This includes Sharpness, Fire Aspect, and Looting. Sharpness, Smite, and Bane of Arthropods increases their damage against their specific mobs, as well.{{more info needed|Does the damage also increase when the trident is thrown?}}
*Thrown tridents pass through [[Nether Portal (block)|nether portal block]]s without being transported to [[the Nether]] or the [[Overworld]].
*Using a trident enchanted with Riptide while riding an entity cancels the charge and does nothing.

==Gallery==
<gallery>
TridentMineconEarth.jpg|Tridents are shown in a clip of Minecon Earth 2017.
Returning trident.jpg|A trident [[enchantment|enchanted]] with [[Loyalty]] returning to the [[player]].
Riptide Trident.png|A player "flying" high in the [[air]] after throwing a trident enchanted with [[Riptide]] III vertically upward.
Trident in ground.png|A trident stuck in [[sand]].
Two-hand drowned.png|A drowned holding a trident and a [[nautilus shell]].
Enchanted Trident (item).gif|An enchanted trident.
Alex with Trident.png|An official T-Shirt design of [[Alex]] with a trident.
Acid Drowned.png|"Acid Drowned," an officially licensed T-Shirt featuring a [[drowned]] with a trident.
ArgoMajor Trident.jpg|First image of a trident in ''Bedrock Edition''.
</gallery>

==References==
{{reflist}}

==External Links==
*[https://www.minecraft.net/en-us/article/taking-inventory--trident Taking Inventory: Trident] – Minecraft.net on January 30, 2020

{{Items}}
{{Entities}}

[[Category:Combat]]

[[de:Dreizack]]
[[es:Tridente]]
[[fr:Trident]]
[[ja:トライデント]]
[[ko:삼지창]]
[[pl:Trójząb]]
[[pt:Tridente]]
[[ru:Трезубец]]
[[th:ตรีศูล]]
[[zh:三叉戟]]</li><li>[[Trial Key|Trial Key]]<br/>{{Item|
|image=Trial Key .webp
|renewable=Yes
|stackable=Yes (64)
}}
{{Stub}}
{{in dev|java|bedrock|1.21|1.21.0}}

A '''Trial Key''' is an item found in [[Trial Chambers]].

Its functionality remained a mystery for a pretty good time, but on the Minecraft Monthly of January 2024, it has been revealed to open vaults, which once opened will drop an item. It's still unknown what will the loot be, but was seen dispensing the following:
Enchanted iron helmet, enchanted iron leggings, enchanted crossbow, enchanted diamond chestplate, iron, gold and diamond horse armour, enchanted golden apple, saddle, enchanted diamond axe, enchanted iron pickaxe and enchanted iron Shovel. 

The trial key can currently be obtained from trial spawners (50%), or from pots and chests (8%).

[[Category:Items]]

[[ja:Trial Key]]
[[lzh:煉管]]</li></ul>
build 1Added pistons and sticky pistons with a version exclusive animation and the ability to push block entities.
Legacy Console Edition
TU3CU1 1.0 Patch 1Added pistons and sticky pistons.
TU14 1.04 Pistons now take double the amount of time (2 redstone ticks or 4 game ticks) to extend, but they still retract instantly.

Issues

Issues relating to "Piston" are maintained on the bug tracker. Report issues there.

Trivia

  • When toggled between on and off rapidly with a gravity affected block (such as sand) above it, a piston will eventually break the block, which can be picked up as a resource. However, gravel will never break into flint.
  • Mobs can spawn inside the piston head block.
  • Carpet can be placed on the piston extension block, and will remain even if is replaced with a solid block using /setblock.

Gallery

See also

References

Notes

  1. Paintings are not considered blocks in Java Edition.
Advertisement