Minecraft Wiki
m (Bot: Replace piped links with links with postfixes wherever possible)
No edit summary
Line 14: Line 14:
 
To summarize the course of a typical game:
 
To summarize the course of a typical game:
 
# [[The player]] [[Spawn|starts]] in [[The Overworld]] where they must survive various dangers and gather the materials and tools to survive.
 
# [[The player]] [[Spawn|starts]] in [[The Overworld]] where they must survive various dangers and gather the materials and tools to survive.
  +
# The player punches a tree to get wood
 
# The player must search the landscape to collect specific items to survive their first night.
 
# The player must search the landscape to collect specific items to survive their first night.
 
## If the player finds an NPC village, dungeon, temple or stronghold early on, steps 3-8 could be skipped, the seed "steve" (Without speech marks) spawns you next to a NPC village, with the usual chest at the blacksmiths which sometimes contains iron ingots, apples, horse saddles, armor, swords & more. A good seed to use if you are unsure about starting "raw"
 
## If the player finds an NPC village, dungeon, temple or stronghold early on, steps 3-8 could be skipped, the seed "steve" (Without speech marks) spawns you next to a NPC village, with the usual chest at the blacksmiths which sometimes contains iron ingots, apples, horse saddles, armor, swords & more. A good seed to use if you are unsure about starting "raw"

Revision as of 01:37, 19 November 2014

File:NewGame.png

A new Survival game of Minecraft. The health and hunger bars, as well as the hotbar, are visible.

This article is about the game mode. For other uses, see Survival (disambiguation).

Survival mode is the game mode of Minecraft in which players must collect resources, build structures, battle mobs, manage hunger, and explore the land in an effort to survive.

In Survival, players have an inventory in which they may gather items. These items may be combined using certain recipes to create tools and other items. This process is known as crafting. Most crafting recipes need a crafting table. Players are also able to create potions by brewing.

Survival single player (SSP)

Survival single player is the original game mode of Minecraft. Until mid-Alpha, SSP was the only available mode besides Classic creative mode. SSP may be played online or offline, as long as the user has initially played it while connected to the Internet (which allows game files to download to their computer).

Aim of the game

Despite being marketed as a game with no pre-determined goals, Minecraft does have a basic structure, that of a scavenger hunt. Collecting various items and resources adds to the player's capabilities, attacks, and defenses, with many items enabling access to others. The player can reach a "proper ending" in Survival mode by defeating the Ender Dragon, but this does not actually terminate play; it provides a trophy item, a huge amount of experience, and leaves the End dimension open for exploitation. There is also an optional boss, the Wither, which becomes accessible in the mid- to late game.

To summarize the course of a typical game:

  1. The player starts in The Overworld where they must survive various dangers and gather the materials and tools to survive.
  2. The player punches a tree to get wood
  3. The player must search the landscape to collect specific items to survive their first night.
    1. If the player finds an NPC village, dungeon, temple or stronghold early on, steps 3-8 could be skipped, the seed "steve" (Without speech marks) spawns you next to a NPC village, with the usual chest at the blacksmiths which sometimes contains iron ingots, apples, horse saddles, armor, swords & more. A good seed to use if you are unsure about starting "raw"
  4. The player crafts their first tools which, under most (although not all) circumstances, will be a wooden pickaxe. This is then used to acquire stone tools.
  5. The player builds a home featuring a bed, chests full of spare materials, a crafting table, and a furnace.
    1. Over time, they will generally add farms for crops and pens for animals, build more structures for various purposes, and explore large sections of the world in search of new resources.
  6. The player either finds a cave, canyon, etc. or digs their own passage to deep underground, in search of various minerals.
  7. The player finds and smelts iron ore into iron ingots and uses it for tools, and armor.
  8. The player delves deeper to collect other ores, culminating in diamonds.
  9. Using a diamond pickaxe, the player mines some obsidian. With additional diamonds, this also allows construction of an Enchantment Table to enchant weapons and tools.
  10. The player builds a portal to The Nether with the obsidian.
  11. The player enters the Nether dimension; a new world with new resources to collect, and an assortment of new monsters and other threats.
  12. The player finds a Nether Fortress and attacks some Blazes, killing them and collecting their Blaze Rods. This allows potion brewing, and is also part of the key for reaching the endgame.
    1. (The Nether Fortress can possibly be skipped if the player can trade for Eyes of Ender.)
  13. The player returns to The Overworld, to find Endermen and kill them for their Ender Pearls.
  14. The player uses the Ender Pearls and Blaze Powder to make Eyes of Ender, which when thrown will direct the player to the Stronghold they must go and find.
  15. Using more Eyes of Ender, the player locates and repairs the End Portal, which gives access to the the End dimension and the endgame.
  16. Once their most worthy adversary, the legendary Ender Dragon has been beaten, a story will scroll and credits will roll and then, and only then, the player will be teleported to their spawn location. (You can press ESC if you want to skip the story and credits.)
  17. After you kill the Ender Dragon, you can continue to explore and modify all three dimensions to your heart's content and the limits of your imagination.
  18. An optional thing to do is to kill the Wither to make a beacon, which can be used to give the player(s) buffs near where it is placed.
  19. The player can also take up any purposes of their own design; one common one is to fulfill all of the predefined achievements.

Survival multiplayer (SMP)

Main article: Multiplayer

Survival multiplayer is played by users who connect to a central Minecraft server. This enables them to interact with other users.

Video

Survival/video

History

classic
0.24 SURVIVAL TEST
{{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>[[Pitcher Pod|Pitcher Pod]]<br/>{{wip}}
{{Block
| image = <gallery>
Pitcher Crop Age 0 JE1.png| Age 0
Pitcher Crop Age 1 JE1.png| Age 1
Pitcher Crop Age 2 JE1.png| Age 2
Pitcher Crop Age 3 JE1.png| Age 3
Pitcher Crop Age 4 JE1.png| Age 4
</gallery>
| image2 = Pitcher Pod.png
| transparent = Yes
| light = Yes
| tool = N/A
| renewable = Yes
| stackable = Yes (64)
| rarity = Common
| flammable = No
| lavasusceptible = No
}}

A '''pitcher pod''' is an ancient bulbous seed that has a chance to be dropped by [[Sniffer|sniffers]] when they finish digging. It is the seed for [[Pitcher Plant]]s.

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

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

== Usage ==
=== Pitcher Crop ===
{{main|Tutorials/Crop farming|title1=Pitcher Crop Farming}}
Pitcher pods can be placed on [[farmland]] by {{ctrl|using}}, where they grow through three stages as a '''pitcher crop'''.

Breaking the crop before it matures drops the pitcher pod, while breaking the final stage produces a [[pitcher plant]] and does ''not'' yield the pod. Pitcher crops break if pushed by a [[piston]] or if their supporting farmland breaks or turns to dirt (i.e. by being trampled), dropping their usual drops.

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

=== Feeding ===
Pitcher pods can be used to breed [[chicken]]s and reduce the remaining growth duration of chicks by 10%.

=== Taming ===
Pitcher pods can be used to tame [[parrot]]s.

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

== Data values ==
=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|showblocktags=y
|showitemtags=y
|showforms=y
|generatetranslationkeys=y
|displayname=Pitcher Crop
|spritetype=block
|nameid=pitcher_crop
|form=block
|blocktags=bee_growables, crops}}
{{ID table
|displayname=Pitcher Pod
|spritetype=item
|nameid=pitcher_pod
|form=item
|itemtags=villager_plantable_seeds
|foot=1}}

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|generatetranslationkeys=y
|displayname=Pitcher Crop
|spritetype=block
|nameid=pitcher_crop
|id=-574
|form=block
|translationkey=-}}
{{ID table
|displayname=Pitcher Pod
|spritetype=item
|nameid=pitcher_pod
|id=297
|form=item
|foot=1}}

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

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

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

== History ==
{{History|java}}
{{History||1.20|snap=23w12a|[[File:Pitcher Crop Age 0 JE1.png|32px]] [[File:Pitcher Crop Age 1 JE1.png|32px]] [[File:Pitcher Crop Age 2 JE1.png|32px]] [[File:Pitcher Crop Age 3 JE1.png|32px]] [[File:Pitcher Crop Age 4 JE1.png|32px]] [[File:Pitcher Pod JE1.png|32px]] Added pitcher crops and pods.
|[[File:Pitcher Crop Age 0 (bottom) JE1.png|32px]] [[File:Pitcher Crop Age 1 (bottom) JE1.png|32px]] [[File:Pitcher Crop Age 2 (bottom) JE1.png|32px]] [[File:Pitcher Crop Age 3 (bottom) JE1.png|32px]] [[File:Pitcher Crop Age 4 (bottom) JE1.png|32px]] The bottom face on all pitcher crop models is missing.<ref>{{bug|MC-261208}}</ref>}}
{{History|||snap=23w13a|Placing a pitcher pod in farmland now gives the player the "A Seedy Place" [[advancement]].
|Fully grown pitcher crops are now destroyed when the farmland they are placed in is destroyed.}}
{{History|||snap=23w14a|Pitcher crops can now be destroyed by [[ravagers]].|Pitcher crops' hitboxes now change according to their age.|[[File:Pitcher Crop Age 0 (bottom) JE2.png|32px]] [[File:Pitcher Crop Age 1 (bottom) JE2.png|32px]] [[File:Pitcher Crop Age 2 (bottom) JE2.png|32px]] [[File:Pitcher Crop Age 3 (bottom) JE2.png|32px]] [[File:Pitcher Crop Age 4 (bottom) JE2.png|32px]] Pitcher crops now have their bottom texture.}}
{{History|||snap=23w16a|Hitbox shape of pitcher crop has been changed for each stage of its growth.|[[Villager]]s can now plant pitcher pods.}}
{{History|||snap=23w17a|The player now get the [[advancement]] "Planting the past" when they plant pitcher pods on [[farmland]].}}

{{History|bedrock}}
{{History||1.20.0|snap=beta 1.20.0.20|[[File:Pitcher Crop Age 0 JE1.png|32px]] [[File:Pitcher Crop Age 1 JE1.png|32px]] [[File:Pitcher Crop Age 2 JE1.png|32px]] [[File:Pitcher Crop Age 3 JE1.png|32px]] [[File:Pitcher Crop Age 4 JE1.png|32px]] [[File:Pitcher Pod JE1.png|32px]] Added pitcher crops and pods.
|Unlike in Java Edition, pitcher pods can be used to feed chickens and parrots.}}
{{history|foot}}

== Notelist ==
{{notelist}}

== References ==
{{reflist}}

{{Blocks|upcoming}}
{{Items}}

[[Category:Plants]]
[[Category:Non-solid blocks]]

[[de:kannenpflanzentrieb]]
[[es:Vaina de planta odre]]
[[ja:ウツボカズラのさや]]
[[pt:Muda de planta-jarro]]</li></ul>
Added survival mode in Survival Test. During this time, players experienced permadeath, meaning they could not respawn and the level needed to be restarted unless a save file had been created.
indev
?The inventory and crafting was introduced.
infdev
?Added infinite map generation.
Death is no longer permanent; the player is now able to respawn.
alpha
?Biomes are now included in map generation.
Added multiplayer. Originally, Notch had only allowed a limited number of people from the Minecraft IRC channel to participate in the first tests of SMP. These invitees could invite other people to test out this mode; however the password was leaked and the server was quickly filled up. Notch released the first version of the SMP server software on the 4th of August, 2010. The client was updated so that players could enter the IP of a server to join it.
release
1.3.1
{{Extension DPL}}<ul><li>[[Camera|Camera]]<br/>{{about|the entity|the command|commands/camera}}
{{exclusive|edu}} 
{{unobtainable|edition=be}}
{{ItemEntity
|imagesize=80px
|renewable=No
|stackable=Yes (64)
|health={{hp|4}}
|image=Camera.png}}
{{Block
| title = Camera Block
| image = Camera (block).png
| invimage = none
| transparent = No
| light = 0
| tool = any
| stackable = Yes (64)
| flammable = No
| lavasusceptible = No
| renewable = No
}}

The '''camera''' is an [[entity]] that is capable of capturing and storing images. {{IN|edu}}, it works together with the [[portfolio]] item to create collections of [[photo]]s.<ref>https://education.minecraft.net/support/knowledge-base/using-cameras-portfolios/</ref>

== Obtaining ==
The camera can be obtained in the [[Creative inventory]] in ''Minecraft Education''. It can be obtained either by NBT editors, inventory editors, or glitches in Bedrock Edition.

To get the block form of the camera in Bedrock Edition using an NBT editor, you need to set the item name of the block in the inventory slot (<code>name:</code> ) to <code>item.camera</code>, then you need to add a compound tag called <code>Block</code> and inside of that put the int tag <code>version: 18040335</code> and the text tag <code>name: minecraft:camera</code> into the block compound tag. For the usable "[[spawn egg]]" form of the camera, you only need to set the item name of the block in the inventory slot (<code>name:</code> ) to <code>camera</code>; you do not need to add the block compound for this form of the camera. 

== Usage ==
Using a camera from the [[inventory]] captures a first-person screenshot. It can also be placed, creating a camera [[entity]] that can track the user, and take pictures from the camera's perspective. Photos that are taken using the camera appear in the [[portfolio]].

Close-up snapshots of an [[item]] on the ground can be taken by holding the Shift key while right-clicking.

Photos that are taken with the camera block are stored in <code>%localappdata%\Packages\MinecraftUWP_8wekyb3d8bbwe\LocalState\screenshots</code>.

== Sounds ==
=== Generic ===
{{Sound table/Block/Normal/BE}}
=== Unique ===
{{Sound table
|sound=Camera1.ogg
|sound2=Camera2.ogg
|sound3=Camera3.ogg
|type=bedrock
|description=When a picture is taken with a camera
|source=Players
|id=camera.take_picture
|volume=1.0
|pitch=1.0
|foot=1}}

== Data values ==
=== ID ===
{{ID table
|edition=bedrock
|firstcolumnname=Camera
|shownumericids=y
|showforms=y
|generatetranslationkeys=y
|displayname=Block
|spritename=camera
|spritetype=block
|nameid=camera
|id=242
|form=block
|itemform=item.camera}}
{{ID table
|displayname=Item
|spritename=camera
|spritetype=item
|translationtype=item
|nameid=camera
|id=593
|form=item
|foot=1}}
{{ID table
|edition=bedrock
|firstcolumnname=Camera
|shownumericids=y
|generatetranslationkeys=y
|displayname=Entity
|spritename=camera
|spritetype=entity
|nameid=tripod_camera
|id=62
|foot=1}}

=== Entity data ===

See [[Bedrock Edition level format/Entity format]].

== Video ==
{{yt|1XLRGFibFNQ}}

== History ==
{{History|pocket alpha}}
{{History||v0.1.0|[[File:Camera BE1.png|50px]] [[File:Camera (item texture) BE1.png|32px]] The textures and model of the camera can be found in the game apk file.<ref name="found">[{{Reddit|jkkmr/found_image_file_for_camera_in_minecraft_portable}} Reddit - Found image file for camera in Minecraft Portable Edition Demo APK file.]</ref><ref>https://web.archive.org/web/20160604161800/https://twitter.com/Kappische/status/103548954368679936</ref>}}
{{History||v0.2.0|[[File:Camera BE2.png|50px]] [[File:Music Disc Blocks JE1 BE1.png|32px]] Added cameras
|Changed item and tripod textures.
|To use a camera, equip it in the [[player]]'s hand, then look in the direction the player wants the picture to be taken. Long-press the screen, and a camera [[drops]] to the ground where the player are standing. Step back, then press on the camera until it starts emitting smoke [[particles]]. The smoke means a picture has been taken, and the camera may disappear immediately afterward.
|Cameras have infinite uses.
|Entity id 62 and item id 456.<ref>https://www.minecraftforum.net/topic/1233138-i-found-the-camera-id/</ref>}}
{{History||v0.5.0|The camera is now invisible and makes the standard player [[damage]] [[sound]].}}
{{History||v0.7.0|Added the "F1" feature (Hide GUI), which has now made the camera obsolete.}}
{{History||v0.8.0|snap=build 2|[[File:Egg JE1 BE1.png|32px]] Item form now uses [[egg]] texture.}}
{{History||v0.9.0|snap=build 1|The camera [[entity]] has been removed. [[Tommaso]] also stated: ''"It doesn't mean that it's dead forever, in fact I have a lot of ideas for it! I think it will be back when have [[shader]]s, sharing and [[redstone]]."''<ref>{{Reddit|sub=MCPE|281sep/camera|ci6znr8}}</ref>}}
{{History||v0.14.0|snap=build 1|[[File:Camera BE3.png|32px]] [[File:Camera (item) BE2.png|32px]] Re-added the camera. It is accessible only with [[inventory]] editors.
|In this version, if the player spawns a camera, leaves the [[world]] and joins back, it summons [[lightning]].}}
{{History||v0.14.2|The camera [[item]] ID has been changed to 498, but it cannot be used at the moment. The [[entity]] can now be spawned with a [[spawn egg]] with a [[damage]] value of 62.
|According to the language files of the game, the empty label that shows up whenever hovering a finger to a camera would now say "Take Picture". However, the button doesn't do anything.}}
{{History||v0.15.0|snap=build 1|The previous empty label on the camera mentioned above now displays the words "Take Picture".
|The [[health]] of the camera [[entity]] is now {{hp|2}} instead {{hp|4}}.
|The camera no longer summons [[lightning]].}}
{{History||v0.16.0|snap=build 1|The camera now has a [[block]] form in [[inventory]], but still spawns the entity. However, the block can be placed only with [[commands]] and editing.
|"Take picture" button on the camera works now, but no image files are created.
|The oldest ID for camera (456) now refers to [[portfolio]].}}
{{History|||snap=build 2|[[File:Camera Block.png|32px]] The camera now has an [[item]] form and the [[block]] has been removed. However, it is still obtainable in servers.
|[[Portfolio]], which works together with the camera to create collections of pictures, has been removed.}}
{{History|||snap=build 4|Camera item form has been removed, and the camera can no longer be obtained or placed using any [[commands|command]].}}
{{History|bedrock}}
{{History||1.8.0|snap=beta 1.8.0.8|[[File:Camera BE3.png|32px]] [[File:Camera Block.png|32px]] The camera has been reimplemented.
|The camera [[entity]] can now be spawned with a [[spawn egg]] with [[damage]] value 258.}}
{{History||1.12.0|snap=beta 1.12.0.2|The camera can now be obtained with the {{cmd|give}} [[commands|command]].}}
{{History||1.13.0|snap=beta 1.13.0.1|The camera can no longer be obtained with the {{cmd|give}} command.
|Functionality has been added to the camera. Screenshots that are taken by the camera can now be saved into the {{cd|screenshots}} folder.
|Cameras are now a part of the {{el|ee}} toggle as a hidden feature.
|Cameras no longer have a [[death]] animation when killed by the [[player]] and instead, instantly emit smoke [[particles]].}}
{{History||1.16.100|snap=beta 1.16.100.50|The camera can now be obtained with the {{cmd|give}} [[commands|command]] once again.}}
{{History|||snap=beta 1.16.100.55|The camera can no longer be obtained with the {{cmd|give}} command.}}
{{History|education}}
{{History||1.0|[[File:Camera BE3.png|32px]] [[File:Camera Block.png|32px]] Added cameras.}}
{{History||1.4.0|Cameras no longer have a [[death]] animation when killed by the [[player]] and instead instantly emit smoke [[particles]].}}
{{History|foot}}

=== Future ===
At the Minecraft [[Pocket Edition]] panel at [[MineCon 2012]], as well as one of [[Johan Bernhardsson|Jbernhardsson]]'s livestreams, it was stated that future plans include trying to have a proper use for cameras, perhaps an easier way to take screenshots and share them with others.<ref>{{ytl|YMhyX_lKWV4}}</ref> In the BlockTalk Q&A, the camera was briefly mentioned as part of a broader "sharing" theme planned for {{el|be}} in the future.<ref>{{ytl|Ruf6tvqsD84}}</ref>
It later got implemented into {{el|ee}}, using the camera to make screenshots and share them in a special book.

== Issues ==
{{Issue list}}

== Trivia ==
* A camera prevents a [[Book and Quill]] from working. Attempting to craft it or obtain it by commands gives a regular book instead, due to non-implementation of photo attaching to written books.
* The camera can take a screenshot, which appears a bit smaller with a thick paper outline having cuts on its edges, making it look like an old photograph.
* This feature is hidden from the Creative inventory and from the /give command item menu.

== Gallery ==
<gallery>
PEcameras030.jpg|A row of cameras, as seen in [[Pocket Edition v0.3.0 alpha|v0.3.0]].
PEcameraphoto.jpg|Example image taken by the camera [[entity]].
CameraUse-1.png|The first method of using cameras.
CameraUse-2.png|The second method of using cameras.
Dinnerbone Camera.png|A camera spawned using a [[spawn egg]] named "[[Dinnerbone]]" in the v0.15.0 beta.
Cam2.png|A camera falling from a [[tree]]. This shows that cameras are entities.
Education Edition Exclusive Features.png|The camera and camera block placed in a world along with other Education Edition features.
Screenshot by camera.jpg|An example of the screenshot taken by a camera in [[Bedrock Edition beta 1.13.0.1|beta 1.13.0.1]].
File:Say Cheese.jpeg|[[Steve]], [[Alex]], [[Jesse]], and an [[Agent]] getting their picture taken.
</gallery>

== See also ==
* [[Portfolio]]
* [[Screenshot]]

== References ==
{{Reflist}}

{{Items}}
{{Entities}}
{{Education Edition}}

[[Category:Education Edition entities]]
[[Category:Education Edition items]]
[[Category:Tools]]

[[cs:Kamera]]
[[de:Kamera]]
[[el:Camera]]
[[es:Cámara]]
[[fr:Appareil photo]]
[[hu:Kamera]]
[[ja:カメラ]]
[[ko:카메라]]
[[nl:Camera]]
[[pl:Kamera]]
[[pt:Câmera]]
[[ru:Камера]]
[[uk:Камера]]
[[zh:相机]]</li><li>[[Cooked Porkchop|Cooked Porkchop]]<br/>{{Item
| title = Cooked Porkchop
| image = Cooked Porkchop.png
| renewable = Yes
| heals = {{hunger|8}}
| stackable =  Yes (64)
}}

'''Cooked porkchop''' is a [[food]] [[item]] that can be eaten by the [[player]].

== Obtaining ==
{{see also|Tutorials/Animal farming|title1=Animal farming}}

Cooked porkchops can be obtained by cooking [[raw porkchop]]s or by [[trading]] with butchers, and is a [[drops|drop]] from [[pig]]s and [[hoglin]]s that die while on [[fire]].

=== Mob loot ===

==== Pigs ====

Adult [[pig]]s drop 1–3 cooked porkchop if killed while on fire. The maximum amount is increased by 1 per level of [[Looting]], for a maximum of 1-6 with Looting III.

==== Hoglins ====

Adult [[hoglin]]s drop 2–4 cooked porkchop if killed while on fire. The maximum amount is increased by 1 per level of Looting, for a maximum of 7 with Looting III.

=== Cooking ===

[[Raw porkchop]] can be cooked in a [[furnace]], [[smoker]], or [[campfire]]. Each piece of cooked porkchop removed from a furnace output slot gives 0.35 [[experience]] (22.4 experience per stack).
{{Smelting
|Raw Porkchop
|Cooked Porkchop
|0,35
}}

=== Trading ===
{{IN|java}}, apprentice-level butcher [[villager]]s have a {{frac|2|3}} chance of selling 5 cooked porkchop for 1 [[emerald]].

Butcher villagers may give players with the [[Hero of the Village]] effect a cooked porkchop.{{only|java}}

{{IN|bedrock}}, apprentice-level butcher villagers have a 25% chance to sell 5 cooked porkchop for 1 emerald.

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

== Usage ==

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

To eat cooked porkchop, press and hold {{control|use}} while it is selected in the hotbar. Eating one restores {{hunger|8}} [[hunger]] and 12.8 [[Hunger#Mechanics|saturation]].

=== Wolves ===

Cooked porkchops can be used to [[breeding|breed]] and heal tamed [[wolf|wolves]], lead them around, and make baby tamed wolves grow up faster by 10% of the remaining time.

=== Piglins ===
[[Piglin]]s pick up any cooked porkchops in their [[item (entity)|item]] form. However, they do not eat it.

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

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

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Cooked Porkchop
|spritetype=item
|nameid=cooked_porkchop
|id=263
|form=item
|foot=1}}

== Achievements ==

{{load achievements|Pork Chop}}

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

== History ==

{{History|java indev}}
{{History||20100219|[[File:Cooked Porkchop JE1.png|32px]] Added cooked porkchops.
|Cooked porkchops restore {{hp|8}} and do not stack in the [[inventory]].
|Created by cooking [[raw porkchops]] in the inventory.}}
{{History|java alpha}}
{{History||v1.2.0|snap=preview|[[Zombie pigmen]] now [[drops|drop]] 0-2 cooked porkchops upon [[death]].}}
{{History|java beta}}
{{History||1.5|[[Pig]]s now [[drops|drop]] cooked porkchops when killed with [[fire]].}}
{{History||1.8|snap=Pre-release|[[File:Cooked Porkchop JE2 BE1.png|32px]] The texture of cooked porkchops has been changed to avoid confusion with [[steak]].
|Cooked porkchops are now stackable to 64 and restore [[hunger]] instead of [[health]].
|Cooked porkchops now restore {{hunger|8}} to the food bar.
|Cooked porkchops are no longer dropped by [[zombie pigmen]] upon their [[death]].}}
{{History|java}}
{{History||1.2.1|snap=12w03a|Cooked porkchop can now be used to breed wolves.}}
{{History||1.3.1|snap=12w21a|Butcher [[villager]]s now [[trading|sell]] 6–7 cooked porkchops for 1 [[emerald]].}}
{{History||1.4.2|snap=12w37a|[[File:Cooked Porkchop JE3 BE2.png|32px]] The texture of cooked porkchops has been changed, so that it no longer has a dark outline.}}
{{History||1.8|snap=14w02a|Butcher [[villager]]s now [[trading|sell]] 5–7 cooked porkchops for 1 [[emerald]].}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 320.}}
{{History||1.14|snap=18w43a|[[File:Cooked Porkchop JE4 BE3.png|32px]] The texture of cooked porkchops has been changed.}}
{{History|||snap=19w13a|Butcher villagers now give cooked porkchops to players under the [[Hero of the Village]] effect.}}
{{History||1.16|snap=20w07a|[[Hoglin]]s now drop cooked porkchops if killed while on fire.}}
{{History|||snap=20w16a|Cooked porkchops can now be found in hoglin stable chests in [[bastion remnant]]s.}}
{{History||1.16.2|snap=20w30a|Cooked porkchops can now be found in generic bastion remnant chests as well.}}

{{History|pocket alpha}}
{{History||v0.4.0|[[File:Cooked Porkchop JE2 BE1.png|32px]] Added cooked porkchops.}}
{{History||v0.5.0|Cooked porkchops now restore {{hp|8}} instead of {{hp|4}}.}}
{{History||v0.8.0|snap=build 1|[[File:Cooked Porkchop JE3 BE2.png|32px]] The texture of cooked porkchops has been changed, so that it no longer has a dark outline.}}
{{History||v0.12.1|snap=build 1|Cooked porkchops now restore [[hunger]] instead of [[health]].}}
{{History|pocket}}
{{History||1.0.4|snap=alpha 1.0.4.0|Butcher [[villager]]s now [[trading|sell]] 5–7 cooked porkchops for 1 [[emerald]].}}
{{History|bedrock}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Cooked Porkchop JE4 BE3.png|32px]] The texture of cooked porkchops has been changed.}} 
{{History||1.11.0|snap=beta 1.11.0.4|[[Trading]] has been changed, butcher [[villager]]s now have a 25% chance to [[trading|sell]] 4 cooked porkchops as part of their second-tier [[trading|trade]].}}
{{History||1.16.0|snap=beta 1.16.0.57|Trading has been changed, apprentice butcher [[villager]]s now have a 25% chance to [[trading|sell]] 5 cooked porkchops instead of 3.}}

{{History|console}}
{{History||xbox=TU1|xbone=CU1|ps=1.0|wiiu=Patch 1|[[File:Cooked Porkchop JE1.png|32px]] Added cooked porkchops.}}
{{History||xbox=TU3|[[File:Cooked Porkchop JE2 BE1.png|32px]] The texture of cooked porkchops has been changed to be consistent with [[Java Edition]].}}
{{History||xbox=TU5|Cooked porkchops are now stackable to 64.
|Cooked porkchops now fill [[hunger]] instead of [[health]].}}
{{History||xbox=TU12|[[File:Cooked Porkchop JE3 BE2.png|32px]] The texture of cooked porkchops has been changed, so that it no longer has a dark outline.}}
{{History|PS4}}
{{History||1.90|[[File:Cooked Porkchop JE4 BE3.png|32px]] The texture of cooked porkchops has been changed.}} 

{{History|new3DS}}
{{History||0.1.0|[[File:Cooked Porkchop JE3 BE2.png|32px]] Added cooked porkchops.}}
{{History|foot}}

== Issues ==
{{issue list}}

== External Links ==
*[https://www.minecraft.net/en-us/article/taking-inventory--porkchop Taking Inventory: Porkchop] – Minecraft.net on February 13, 2020

{{Items}}

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

[[cs:Pečená kotleta]]
[[de:Gebratenes Schweinefleisch]]
[[es:Chuleta de cerdo cocinada]]
[[fr:Côtelette de porc cuite]]
[[hu:Sült sertésszelet]]
[[ja:焼き豚]]
[[nl:Gebraden varkensvlees]]
[[pl:Pieczony schab]]
[[pt:Costeleta de porco assada]]
[[ru:Жареная свинина]]
[[uk:Смажена свинина]]
[[zh:熟猪排]]</li></ul>
SSP was abolished in a technical sense. Instead, the player hosts a server that they can either close or open to others at any time. This change was intended to reduce the labor required to fix bugs for two different parts of Minecraft, at a slight performance cost.
pocketa
0.2.0
{{Extension DPL}}<ul><li>[[Pink Dye|Pink Dye]]<br/>{{Item
| image = Pink Dye.png
| renewable = Yes
| stackable = Yes (64)
}}

'''Pink dye''' is a [[Dyeing#Quasi-Primary|quasi-primary color dye]].

== Obtaining ==

=== Crafting ===

{{Crafting
  |head=1
  |showname=0
  |showdescription=1
  |Peony;Pink Tulip;Pink Petals
  |Output=Pink Dye,2;Pink Dye;Pink Dye
  |type=Material
}}
{{Crafting
  |Red Dye
  |White Dye
  |Output=Pink Dye,2
  |type=Material
}}
{{Crafting
  |Red Dye
  |Bone Meal
  |Output=Pink Dye,2
  |type=Material
  |foot=1
  |description={{only|bedrock|education}}
}}

=== Trading ===

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

== Usage ==

{{dye usage}}

=== Crafting ingredient ===

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

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

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

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|showaliasids=y
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Pink Dye
|spritetype=item
|nameid=pink_dye
|aliasid=dye / 9
|id=404
|form=item
|translationkey=item.dye.pink.name
|foot=1}}

== Video ==
{{yt|pPq-Hs9ZPx4}}

== History ==

{{History|java beta}}
{{History||1.2|[[File:Pink Dye JE1 BE1.png|32px]] Added pink dye.}}
{{History|java}}
{{History||1.4.2|snap=12w34a|Added the ability to [[Armor#Dyeing|dye]] leather [[armor]] and [[wolf]] collars.}}
{{History||1.4.6|snap=12w49a|Pink dye can now be [[crafting|crafted]] with [[gunpowder]] to create a [[firework star]].}} 
{{History||1.6.1|snap=13w19a|[[Stained clay]] can now be crafted.}}
{{history||1.7.2|snap=13w36a|With the addition of new [[flower]]s, many secondary and tertiary dyes are now primary [[dye]]s.}}
{{History|||snap=13w41a|[[Stained glass]] can now be crafted.}}
{{History||1.8|snap=14w30a|Added [[banner]]s, which can be dyed.}}
{{History||1.11|snap=16w39a|Added the ability to dye [[shulker box]]es.}}
{{History||1.12|snap=17w15a|Added the ability to dye [[bed]]s.}}
{{History||1.13|snap=17w47a|The different data values for the <code>dye</code> ID have now been split up into their own IDs.
|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 351.}}
{{History||1.14|snap=18w43a|Pink dye is now crafted using [[white dye]], instead of [[bone meal]].
|[[File:Pink Dye JE2 BE2.png|32px]] The texture of pink dye has now been changed.}}
{{History|||snap=18w44a|Pink dye can now change the text color on [[sign]]s to pink.}}
{{History|||snap=19w05a|Added the [[wandering trader]], which sells pink dye.}}
{{History|||snap=19w11a|Pink dye can now be [[trading|bought]] by shepherd villagers.}}
{{History||1.17|snap=20w45a|Pink dye can now be used to craft [[pink candle]]s.}}
{{History|||snap=21w19a|Pink dye can no longer be used to craft pink candles.}}
{{History|||snap=Pre-release 1|Pink dye can now once again be used to craft pink candles.}}
{{History||1.20<br>(Experimental)|link=1.19.3|snap=22w42a|Pink dye can now change the text color on [[hanging sign]]s to pink.}}
{{History||1.20<br>(Experimental)|link=1.19.4|snap=23w07a|[[Pink petals]] can now be crafted into pink dye.}}

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

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

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

== Issues ==

{{issue list}}


{{Items}}

[[Category:Dyes]]




[[cs:Růžové barvivo]]
[[de:Rosa Farbstoff]]
[[es:Tinte rosa]]
[[fr:Teinture rose]]
[[hu:Rózsaszín festék]]
[[ja:桃色の染料]]
[[ko:분홍색 염료]]
[[nl:Roze kleurstof]]
[[pl:Różowy barwnik]]
[[pt:Corante rosa]]
[[ru:Розовый краситель]]
[[zh:粉红色染料]]
[[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>
Added survival mode.
Legacy Console Edition
TU1
{{Extension DPL}}<ul><li>[[Magma Cream|Magma Cream]]<br/>{{Item
| title = Magma Cream
| image = Magma Cream.png
| renewable = Yes
| stackable = Yes (64)
}}

'''Magma cream''' is an [[item]] used in [[brewing]] to create [[potion]]s of [[Fire Resistance]], and to manually craft [[magma block]]s.

== Obtaining ==

=== Mob loot ===

==== Magma cubes ====

All but tiny-sized [[magma cube]]s drop 0–1 magma cream. The maximum amount of magma cream is increased by 1 per level of [[Looting]], for a maximum of 4 with Looting III.

=== Crafting ===

{{Crafting
|Blaze Powder
|Slimeball
|Output= Magma Cream
|type= Brewing
}}

=== Chest Loot ===
{{LootChestItem|magma-cream}}

== Usage ==

=== Brewing ingredient ===

{{brewing
  |showname=1
  |head=1
  |Magma Cream|Mundane Potion|base=Water Bottle
}}
{{brewing
  |foot=1
  |Magma Cream
  |Potion of Fire Resistance
}}

=== Crafting ingredient ===

{{crafting usage}}

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

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Magma Cream
|spritetype=item
|nameid=magma_cream
|id=430
|form=item
|foot=1}}

== History ==

{{History|java}}
{{History||1.0.0|snap=Beta 1.9 Prerelease 2|[[File:Magma Cream JE1.png|32px]] Added magma cream.}}
{{History|||snap=Beta 1.9 Prerelease 3|Magma cream can now be [[brewing|brewed]] in a [[water bottle]] to create a mundane [[potion]], or in an awkward potion to create a potion of [[Fire Resistance]].}}
{{History||1.1|snap=release|[[Magma cube]]s now [[drops|drop]] magma cream.}}
{{History||1.3.1|snap=1.3|[[File:Magma Cream JE2 BE1.png|32px]] The texture of magma cream has been changed.}}
{{History||1.10|snap=16w20a|Magma cream can now be [[crafting|crafted]] into [[magma block]]s.}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 378.}}
{{History||1.14|snap=18w43a|[[File:Magma Cream JE3 BE2.png|32px]] The texture of magma cream has been changed.}}
{{History||1.16|snap=20w07a|Magma cream has a {{frac|2|109}} (~1.83%) chance of being offered by [[piglin]]s when [[bartering]], in a stack size of 1–3.}}
{{History|||snap=20w09a|Magma cream now has a {{frac|10|226}} (~4.42%) chance of being offered by piglins when bartering, in a stack size of 1–5.}}
{{History|||snap=20w16a|Magma cream now generates in [[bastion remnant]]s chests.}}
{{History||1.16.2|snap=20w28a|Magma cream can no longer be obtained from bartering with piglins.}}
{{History|||snap=20w30a|The average yield of magma cream from bastion remnant chests has been slightly increased.}}

{{History|pocket edition alpha}}
{{History||v0.11.0|snap=build 1|[[File:Magma Cream JE2 BE1.png|32px]] Added magma cream.
|Magma cream is currently unobtainable.}}
{{History||v0.11.0|snap=build 8|[[Magma cube]]s now [[drops|drop]] magma cream.}}
{{History||v0.12.1|snap=build 1|Added magma cream to the [[Creative]] mode [[inventory]].
|Magma cream can now be [[crafting|crafted]].}}
{{History|pocket}}
{{History||1.1.3|snap=alpha 1.1.3.0|Magma cream can now be crafted into [[magma block]]s.}}
{{History|bedrock}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Magma Cream JE3 BE2.png|32px]] The texture of magma cream has been changed.}}
{{History||1.16.0|snap=beta 1.16.0.57|Magma cream can be obtained from bartering with piglins.
|Magma cream can now be found in [[bastion remnants]] chests.}}
{{History||1.16.100|snap=beta 1.16.100.54|Magma cream can no longer be obtained from [[barter]]ing with [[piglin]]s.}}

{{History|console}} 
{{History||xbox=TU7|xbone=CU1|ps=1.0|wiiu=Patch 1|switch=1.0.1|[[File:Magma Cream JE2 BE1.png|32px]] Added magma cream.}}
{{History||xbox=none|xbone=none|ps=1.90|wiiu=none|switch=none|[[File:Magma Cream JE3 BE2.png|32px]] The texture of magma cream has been changed.}}

{{History|New 3DS}}
{{History||0.1.0|[[File:Magma Cream JE2 BE1.png|32px]] Added magma cream.}}
{{history|foot}}

== Issues ==

{{issue list}}

{{items}}

[[Category:Renewable resources]]

[[cs:Lávová pěna]]
[[de:Magmacreme]]
[[es:Crema de magma]]
[[fr:Crème de magma]]
[[hu:Magmakrém]]
[[ja:マグマクリーム]]
[[ko:마그마 크림]]
[[lzh:火漿膏]]
[[nl:Magmacrème]]
[[pl:Magmowy krem]]
[[pt:Creme de magma]]
[[ru:Лавовый крем]]
[[th:ครีมแมกม่า]]
[[uk:Магмовий крем]]
[[zh:岩浆膏]]</li><li>[[Sugar Cane|Sugar Cane]]<br/>{{Block
|image=Sugar Cane.png
|image2=Sugar Cane (item) JE3.png
|extratext = View all [[#Gallery|renders]]
|transparent=Yes
|light=No
|tool=any
|renewable=Yes
|stackable=Yes (64)
|flammable=No
|lavasusceptible=No
}}

'''Sugar cane''' is a block found as 1–4-block-tall. It plants near water in the [[Overworld]]. As an item, it is an important crafting ingredient.

==Obtaining==
Sugar cane can be mined instantly with anything.

When the spot a sugar cane block is placed in becomes unsuitable, such as when the supporting block is removed, the sugar cane block uproots and drops as an item. {{IN|be}}, sugar cane uproots immediately after all adjacent water is removed. {{IN|je}}, sugar cane uproots on the next block update or [[Tick#Random tick|random tick]].

A sugar cane block drops itself as an item if a piston tries to push it (trying to pull it does nothing) or moves a block into its space.

===Natural generation===
[[File:Sugar Canez.png|thumb|250px|Naturally-occurring sugar cane near a river.]]
Sugar cane can generate naturally near [[water]] and [[ice]], as two ({{frac|11|18}} chance), three ({{frac|5|18}} chance), or four ({{frac|2|18}} chance) blocks tall. Rare taller sugar canes can be found if the world generator places two smaller canes on top of each other. It generates in approximately 0.8 sugar cane per chunk seeing as how they only generate near bodies of water.

Sugar canes attempt to generate 10 times in any Overworld biome, which requires water. An extra 10 attempts are made in [[swamp]] biomes, and 50 in [[desert]] biomes, which makes sugar cane twice as frequent in swamps and six times as frequent in desert biomes, making the banks of [[river]]s that cut through deserts lined with sugar canes.  Sugar canes do not grow faster in swamps or deserts they only spawn a increased amount.

Sugar cane cannot generate in caves {{in|je}}.<ref>{{bug|MC-214959||Sugar cane generated in cave|Fixed}}</ref>

===Trading===
[[Wandering trader]]s can sell sugar cane for an [[emerald]].

==Usage==
Due to its water-displacing properties, sugar cane can interestingly be used to create underwater paths, allowing [[player]]s to move at normal speed and breathe if it is two blocks in height.{{only|java}}<ref>{{bug|MC-929||Sugar cane can be placed underwater|WAI}}</ref>

Sugar cane takes on a different shade of green depending on the biome in which it is placed.

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

===Farming===
{{main|Tutorials/Sugar cane farming}}
[[File:Underground Sugar Farm.png|200px|thumb|An underground sugar cane farm.]]

Sugar cane can generate naturally up to any number of blocks tall, but ''grow'' only to a height of three blocks, adding a block of height when the top sugar cane block has received 16 random [[Tick#Block tick|block tick]]s (i.e. on average every 18 minutes on ''Java Edition''<!-- Average 68.27 seconds/tick * 16 ticks/growth = 18.2 minutes --> or 54 minutes on Bedrock Edition, but the actual rate can vary widely). 
Sugar cane must be planted on a [[grass block]], [[dirt]], [[coarse dirt]], [[rooted dirt]], [[podzol]], [[mycelium]], [[sand]], [[red sand]], [[suspicious sand]], [[moss block]], or [[mud]] that is directly adjacent to [[water]], [[waterlogged]] block, or [[frosted ice]] (not merely above or diagonal to water), or on top of another sugar cane block. The adjacent water block can be covered with another block, whether [[opacity|opaque or transparent]], and sugar cane can still be placed and grow next to it. Sugar cane grows regardless of light level, even in complete darkness.
[[File:4blockcane.png|thumb|A natural 4-block-high sugar cane plant.]]
{{IN|bedrock}}, [[bone meal]] can be used to instantly grow sugar cane to three blocks. Only one bone meal is consumed. {{IN|java}}, bone meal cannot be used on sugar cane.<ref>{{bug|MC-73963||Can't use bonemeal on cacti or sugar cane|WAI}}</ref>

On average, it takes [[Tutorials/Sugar_cane_farming#Mechanics|18 minutes]] for a single block of sugar cane to grow 3 blocks tall.

=== Composting ===
Placing sugar cane into a [[composter]] has a 50% chance of raising the compost level by 1.

== List of colors ==
{{Missing information|Bedrock Edition colors (see [[Water#Color]]{{verify|it's there?}})}}

=== ''Java Edition'' ===
These values are generated by the biome dyeing algorithm. See [[Color#Biome colors|Biome colors]] for more information.
<div class="mw-collapsible mw-collapsed" style="float: left">
{| class="wikitable sortable" style="text-align:center" data-description="Java edition biome colors"
!Biome !! Category !! Rainfall !! Sugarcane Color !! Temperature Affects !! Render
|-
| {{BiomeLink|Badlands}} || Mesa || No || #90814d || No || [[File:Badlands Sugar Cane.png|32px]]
|-
| {{BiomeLink|Beach}} || Beach || Rain || #91bd59 || || [[File:Plains Sugar Cane.png|32px]]
|-
| {{BiomeLink|Birch Forest}} || Forest || Rain || #88bb67 || || [[File:Birch Forest Sugar Cane.png|32px]]
|-
| {{BiomeLink|Cold Ocean}} || Ocean || Rain || #8eb971 || || [[File:Ocean Sugar Cane.png|32px]]
|-
| {{BiomeLink|Dark Forest}} || Forest || Rain || #507a32 || || [[File:Dark Forest Sugar Cane.png|32px]]
|-
| {{BiomeLink|Deep Cold Ocean}} || Ocean || Rain || #8eb971 || || [[File:Ocean Sugar Cane.png|32px]]
|-
| {{BiomeLink|Deep Frozen Ocean}} || Ocean || Rain || #8eb971 || || [[File:Ocean Sugar Cane.png|32px]]
|-
| {{BiomeLink|Deep Lukewarm Ocean}} || Ocean || Rain || #8eb971 || || [[File:Ocean Sugar Cane.png|32px]]
|-
| {{BiomeLink|Deep Ocean}} || Ocean || Rain || #8eb971 || || [[File:Ocean Sugar Cane.png|32px]]
|-
| {{BiomeLink|Desert}} || Desert || No || #bfb755 || || [[File:Desert Sugar Cane.png|32px]]
|-
| {{BiomeLink|End Barrens}} || The End || No || #8eb971 || || [[File:Ocean Sugar Cane.png|32px]]
|-
| {{BiomeLink|End Highlands}} || The End || No || #8eb971 || || [[File:Ocean Sugar Cane.png|32px]]
|-
| {{BiomeLink|End Midlands}} || The End || No || #8eb971 || || [[File:Ocean Sugar Cane.png|32px]]
|-
| {{BiomeLink|Eroded Badlands}} || Mesa || No || #90814d || No || [[File:Badlands Sugar Cane.png|32px]]
|-
| {{BiomeLink|Flower Forest}} || Forest || Rain || #79c05a || || [[File:Forest Sugar Cane.png|32px]]
|-
| {{BiomeLink|Forest}} || Forest || Rain || #79c05a || || [[File:Forest Sugar Cane.png|32px]]
|-
| {{BiomeLink|Frozen Ocean}} || Ocean || Snow || #80b497 || || [[File:Snowy Plains Sugar Cane.png|32px]]
|-
| {{BiomeLink|Frozen River}} || River || Snow || #80b497 || || [[File:Snowy Plains Sugar Cane.png|32px]]
|-
| {{BiomeLink|Old Growth Spruce Taiga}} || Taiga || Rain || #86b783 || || [[File:Taiga Sugar Cane.png|32px]]
|-
| {{BiomeLink|Old Growth Pine Taiga}} || Taiga || Rain || #86b87f || || [[File:Old Growth Pine Taiga Sugar Cane.png|32px]]
|-
| {{BiomeLink|Ice Spikes}} || Icy || Snow || #80b497 || || [[File:Snowy Plains Sugar Cane.png|32px]]
|-
| {{BiomeLink|Jungle}} || Jungle || Rain || #59c93c || || [[File:Jungle Sugar Cane.png|32px]]
|-
| {{BiomeLink|Sparse Jungle}} || Jungle || Rain || #64c73f || || [[File:Sparse Jungle Sugar Cane.png|32px]]
|-
| {{BiomeLink|Lukewarm Ocean}} || Ocean || Rain || #8eb971 || || [[File:Ocean Sugar Cane.png|32px]]
|-
| {{BiomeLink|Windswept Hills}} || Extreme Hills || Rain || #8ab689 || || [[File:Windswept Hills Sugar Cane.png|32px]]
|-
| {{BiomeLink|Mushroom Fields}} || Mushroom || Rain || #55c93f || || [[File:Mushroom Fields Sugar Cane.png|32px]]
|-
| {{BiomeLink|Nether}} || Nether || No || #bfb755 || || [[File:Desert Sugar Cane.png|32px]]
|-
| {{BiomeLink|Ocean}} || Ocean || Rain || #8eb971 || || [[File:Ocean Sugar Cane.png|32px]]
|-
| {{BiomeLink|Plains}} || Plains || Rain || #91bd59 || || [[File:Plains Sugar Cane.png|32px]]
|-
| {{BiomeLink|River}} || River || Rain || #8eb971 || || [[File:Ocean Sugar Cane.png|32px]]
|-
| {{BiomeLink|Savanna}} || Savanna || No || #bfb755 || || [[File:Desert Sugar Cane.png|32px]]
|-
| {{BiomeLink|Savanna Plateau}} || Savanna || No || #bfb755 || || [[File:Desert Sugar Cane.png|32px]]
|-
| {{BiomeLink|Windswept Savanna}} || Savanna || No || #bfb755 || || [[File:Desert Sugar Cane.png|32px]]
|-
| {{BiomeLink|Small End Islands}} || The End || No || #8eb971 || || [[File:Ocean Sugar Cane.png|32px]]
|-
| {{BiomeLink|Snowy Beach}} || Beach || Snow || #83b593 || || [[File:Snowy Beach Sugar Cane.png|32px]]
|-
| {{BiomeLink|Snowy Taiga}} || Taiga || Snow || #80b497 || || [[File:Snowy Plains Sugar Cane.png|32px]]
|-
| {{BiomeLink|Snowy Plains}} || Icy || Snow || #80b497 || || [[File:Snowy Plains Sugar Cane.png|32px]]
|-
| {{BiomeLink|Stony Shore}} || None || Rain || #8ab689 || || [[File:Windswept Hills Sugar Cane.png|32px]]
|-
| {{BiomeLink|Sunflower Plains}} || Plains || Rain || #91bd59 || || [[File:Plains Sugar Cane.png|32px]]
|-
| {{BiomeLink|Swamp}} || Swamp || Rain || #6A7039 || If temperature below -0.1, used #4C763C. || [[File:Swamp Sugar Cane.png|32px]] / [[File:Swamp Sugar Cane (Cold).png|32px]]
|-
| {{BiomeLink|Taiga}} || Taiga || Rain || #86b783 || || [[File:Taiga Sugar Cane.png|32px]]
|-
| {{BiomeLink|Old Growth Birch Forest}} || Forest || Rain || #88bb67 || || [[File:Birch Forest Sugar Cane.png|32px]]
|-
| {{BiomeLink|The End}} || The End || No || #8eb971 || || [[File:Ocean Sugar Cane.png|32px]]
|-
| {{BiomeLink|The Void}} || None || No || #8eb971 || || [[File:Ocean Sugar Cane.png|32px]]
|-
| {{BiomeLink|Warm Ocean}} || Ocean || Rain || #8eb971 || || [[File:Ocean Sugar Cane.png|32px]]
|-
| {{BiomeLink|Wooded Badlands}} || Mesa || No || #90814d || No || [[File:Badlands Sugar Cane.png|32px]]
|-
| {{BiomeLink|Windswept Forest}} || Extreme Hills || Rain || #8ab689 || || [[File:Windswept Hills Sugar Cane.png|32px]]
|}
</div>
{{clear}}
=== Bedrock Edition ===
{{empty section}}

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

== Data values ==
=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|showforms=y
|generatetranslationkeys=y
|displayname=Sugar Cane
|spritetype=block
|nameid=sugar_cane
|foot=1}}

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|firstcolumnname=Sugar Cane
|shownumericids=y
|showforms=y
|showaliasids=y
|generatetranslationkeys=y
|displayname=Block
|spritename=sugar-cane
|spritetype=block
|nameid=reeds
|id=83
|form=block
|itemform=item.reeds}}
{{ID table
|displayname=Item
|spritename=sugar-cane
|spritetype=item
|nameid=sugar_cane
|id=385
|form=item
|aliasid=reeds
|translationkey=item.reeds.name
|foot=1}}

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

{{/BS}}

== Video ==
{{Video note|This video was made before sugar cane had a different shade of green depending on the biome.|minor}}
<div style="text-align:center">{{yt|zlOnwn3PH5o}}</div>

== History ==
{{more images|Appearance when affected by {{bug|MC-48831}}}}
{{History|java alpha}}
{{History||v1.0.11|[[File:Sugar Cane JE1 BE1.png|32px]] [[File:Sugar Cane (item) JE1 BE1.png|32px]] Added reeds in the [[Seecret Updates|Seecret Friday Update 6]].
|Reeds are informally referred to as "bamboo" or "papyrus" by many [[player]]s. 
|Since reeds can be washed away with [[water]] currents or instantly destroyed by removing the water adjacent to them, automated reed farms can be made. 
|Reeds can be used to craft [[paper]].}}
{{History|java beta}}
{{History||1.2|[[Notch]] has [[wikipedia:Retroactive continuity|retconned]] reeds into sugar cane so that it can now be [[crafting|crafted]] into [[sugar]], included in the recipe for the [[cake]]s.}}
{{History||1.6|snap=Test Build 3|[[Arrow]]s no longer stick to sugar cane, and instead, they pass through. However, [[snowball]]s still come into contact with any sugar cane blocks, as if they are solid.}}
{{History||1.8|snap=Pre-release|Sugar cane can now grow and be placed onto [[sand]] as long as they are adjacent to [[water]]. This update allows sugar canes to appear next to [[water]] ponds in [[desert]] biomes.
|Sugar cane is now available in the [[creative]] [[inventory]] in both block and item forms.}}
{{History|java}}
{{History||1.0.0|snap=?|The sugar cane block has been removed from the creative inventory.}}
{{History||1.7.2|snap=13w36a|[[File:Sugar Cane JE2 BE2.png|32px]] Sugar cane is now [[tint]]ed depending on the [[biome]] it's in.
|The item texture remained unchanged, however, and still used the color palette from Alpha to 1.6.4.<ref name="Bug">{{bug|MC-216227}}</ref>}}
{{History||1.9|snap=15w43a|Sugar cane no longer breaks if its adjacent [[water]] is turned to [[frosted ice]].}}
{{History||1.13|snap=17w47a|The ID of sugar cane has now been changed from <code>reeds</code> to <code>sugar_cane</code>.
|"Sugar Canes" have now been renamed to "Sugar Cane".
|Prior to [[1.13/Flattening|''The Flattening'']], this [[block]]'s numeral ID was 83, and the [[item]]'s 338.}}
{{History||1.14|snap=18w43a|[[File:Sugar Cane (item) JE2 BE2.png|32px]] The texture of the sugar cane item has been changed.}}
{{History|||snap=19w03a|Placing sugar cane into a [[composter]] has a 20% chance of raising the compost level by 1.}}
{{History|||snap=19w05a|Sugar cane now has a 50% chance of increasing the compost level in a composter by 1.
|Added [[wandering trader]]s, which sell sugar cane.}}
{{History||1.16|snap=20w13a|Sugar cane has been moved from the Miscellaneous tab to the Decoration Blocks tab in the [[Creative inventory]].<ref name="misc decoration">https://bugs.mojang.com/browse/MC-174434</ref>}}
{{History||1.17|snap=21w11a|[[File:Sugar Cane (item) JE3.png|32px]] The texture of the sugar cane item has been changed, so that it actually matches the color it uses when placed again.<ref name="Bug"/>}}
{{History|||snap=Pre-release 1|Sugar cane now generates in mushroom fields.<ref>{{bug|MC-226683}}</ref>}}
{{History||1.19|snap=22w15a|Sugar cane can now be planted on mud.}}
{{History||1.20|snap=23w14a|Sugar cane can now be planted on [[suspicious sand]].}}

{{History|pocket alpha}}
{{History||Pre-release|[[File:Sugar Cane JE1 BE1.png|32px]] [[File:Sugar Cane (item) JE1 BE1.png|32px]] Added sugar cane.}}
{{History||v0.2.0|Despite being visible in the inventory, sugar cane does not drop anything when mined, making it unobtainable in Survival mode.}}
{{History||v0.2.1|Survival players now start with an infinite stack of sugar cane in the inventory.}}
{{History||v0.3.0|Sugar cane now drops its item form when mined.
|Survival players no longer start with an infinite stack of sugar cane in the inventory.}}
{{History||v0.5.0|Sugar cane can now be grown on [[sand]].
|Sugar cane can now be obtained after activating the [[nether reactor]].}}
{{History||v0.8.0|snap=build 5|[[Bone meal]] can now grow sugar cane to maximum height.}}
{{History||v0.9.0|snap=build 1|[[File:Sugar Cane JE2 BE2.png|32px]] The color of sugar cane now changes depending on the [[biome]] they are in.
|Using bone meal on sugar cane is no longer able to break blocks above it.}}
{{History||v0.12.1|snap=build 1|Sugar cane is no longer available from the [[nether reactor]].}}
{{History|pocket}}
{{History||1.0.0|snap=alpha 0.17.0.1|[[File:Sugar Cane JE1 BE1.png|32px]] Due to a bug, sugar canes no longer change color depending on the [[biome]].}}
{{History|bedrock}}
{{History||1.2.13|snap=beta 1.2.13.5|[[File:Sugar Cane JE2 BE2.png|32px]] The color of sugar canes now changes depending on the [[biome]], once again.}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Sugar Cane (item) JE2 BE2.png|32px]] The texture of the sugar cane [[item]] has been changed.
|Sugar cane can now be [[trading|bought]] from [[wandering trader]]s.}}
{{History||1.11.0|snap=beta 1.11.0.1|Sugar canes can now be used to fill up [[composter]]s.}}
{{History||1.17.0|snap=beta 1.17.0.50|[[File:Sugar Cane (item) JE3.png|32px]] The texture of the sugar cane item has been changed, so that it actually matches the color it uses when placed again.}}

{{History|console}}
{{History||xbox=TU1|xbone=CU1|ps=1.0|wiiu=Patch 1|switch=1.0.1|[[File:Sugar Cane JE1 BE1.png|32px]] [[File:Sugar Cane (item) JE1 BE1.png|32px]] Added sugar canes.
|Sugar canes are solid, making it useful for growable walls. Unlike on Java Edition, they were never renamed to Sugar Cane.}}
{{History||xbox=TU2|Sugar canes are no longer solid, and arrows pass through them.}}
{{History||xbox=TU31|xbone=CU19|ps=1.22|wiiu=Patch 3|[[File:Sugar Cane JE2 BE2.png|32px]] The color of sugar cane now changes depending on the [[biome]] they're in.}}
{{History||xbox=TU60|xbone=CU51|ps=1.64|wiiu=Patch 30|switch=1.0.11|Sugar cane can now be grown with [[bonemeal]].}}
{{History||xbox=none|xbone=none|ps=1.90|wiiu=none|switch=none|[[File:Sugar Cane (item) JE2 BE2.png|32px]] The texture of the sugar cane [[item]] has been changed.}}
{{History||xbox=none|xbone=none|ps=1.91|wiiu=none|switch=none|Sugar cane can now be [[trading|bought]] from [[wandering trader]]s.
|Sugar canes can now be used to fill up [[composter]]s.}}

{{History|New Nintendo 3DS Edition}}
{{History||0.1.0|[[File:Sugar Cane JE1 BE1.png|32px]] [[File:Sugar Cane (item) JE1 BE1.png|32px]] Added sugar cane.}}
{{History|foot}}

=== Sugar cane "item" ===
{{:Technical blocks/Sugar Cane}}

== Issues ==
{{Issue list}}

== Trivia ==
*When a sugar cane is broken at the second level, the time resets (for example, if a two-block high sugar cane is broken, but is just about to grow to the third stage, it would reset that time).
*By placing more sugar canes on top of a sugar cane plant, it is possible to create tall sugar canes (up to y=319, the maximum height for building), although they do not naturally grow this high.
*Before sugar cane received an official name, they were sometimes referred to as [[bamboo]], a block added 9 years later. Other names were "reeds" and "papyrus".

== Gallery ==
=== Renders ===
<gallery>
Plains Sugar Cane.png|Plains
Taiga Sugar Cane.png|Taiga
Snowy Plains Sugar Cane.png|Snowy plains
Jungle Sugar Cane.png|Jungle
Desert Sugar Cane.png|Desert
Swamp Sugar Cane (Cold).png|Swamp (cold)
Swamp Sugar Cane.png|Swamp
Badlands Sugar Cane.png|Badlands
</gallery>

=== In-game ===
<gallery>
Huge Sugar Farm.png|A large sugar cane farm using 2×2 [[water]] holes.
Sugar Cane Waterfall.png|Water flowing over sugar cane.
UnderwaterSugarCane.png|Naturally generated sugar cane found underwater.
Sugar and Cactus.png|A [[cactus]] and sugar cane stalk generated next to each other.
SugarCaneRavine.png|Sugar cane found in the [[ravine]].
Reeds in Winter mode.png|Reeds generated in the [[winter mode]].
Sugar Cane Naturally Growing.png|Sugar cane growing between [[biome]]s.
Mesa Sugar Cane.jpg|Sugar cane growing on [[red sand]] in a [[badlands]] biome.
Sugarcanenowaterglitch.png|Sugar cane generated without a water source.
SwampCane.png|Sugar cane generated in a [[swamp]] biome.
Sugar cane savanna.png|Sugar cane growing in a [[savanna]] biome.
ForestSugarcane.png|Sugar cane growing in a [[forest]] biome.
Lava cane.png|Sugar cane growing with lava flowing around it.
Before breaking.png|Sugar canes few seconds before breaking because the water is frozen.
Undergroundreed.png|A sugar cane plant that generated in an underground [[water lake]].
Cave Sugar.png|Another example.
</gallery>

=== Heights ===
<gallery>
Tall Sugar Cane.png|Four-block tall sugar cane.
4RiverCane.png|Four-block tall sugar cane.
4-block tall sugar cane.png|Four-block tall sugar cane in a [[plains]] biome.
</gallery>

== References ==
{{Reflist}}

{{Blocks|vegetation}}

{{Items}}

[[Category:Plants]]
[[Category:Natural blocks]]
[[Category:Non-solid blocks]]

[[cs:Cukrová třtina]]
[[de:Zuckerrohr]]
[[es:Caña de azúcar]]
[[fr:Canne à sucre]]
[[hu:Cukornád]]
[[it:Canna da zucchero]]
[[ja:サトウキビ]]
[[ko:사탕수수]]
[[nl:Suikerriet]]
[[pl:Trzcina cukrowa]]
[[pt:Cana-de-açúcar]]
[[ru:Сахарный тростник]]
[[th:อ้อย]]
[[uk:Цукрова тростина]]
[[zh:甘蔗]]</li></ul>
Added survival mode.