Minecraft Wiki
Advertisement
This page describes content that exists only in outdated versions of Minecraft. 
This feature used to be in the game but has since been removed.
Information icon
This feature is exclusive to Java Edition. 

Commands/infobox

Manages the updating of scoreboard objectives with the results of other commands.

Commands can be executed by blocks (specifically, command blocks and signs) or by entities (players can execute commands directly, and other entities can be the origin of commands indirectly with the /execute command). When a command is executed, the command returns one or more "command stats": the success count, number of blocks affected, number of entities affected, number of items affected, and/or a query result (such as from /time query daytime).

The stats command allows "selectors" and "objectives" to be set (or cleared) for each of these command stats for specific blocks or entities. Selectors (for example, @e) are stored exactly as entered, and don't get evaluated immediately. When a command is later run by the block or entity, the stored selector is then used to target (other) entities and update their scoreboard objective with the value of the command stat. That value can then be displayed or operated on, just like any other scoreboard value.

The success count from a command block can also be acquired with a redstone comparator, but that is capped at a maximum value of 15, while scoreboard objectives can hold any value from -2,147,483,648 to 2,147,483,647. Success counts and query results are also usually displayed in the chat.

Syntax
stats block <x> <y> <z> clear <stat>
stats block <x> <y> <z> set <stat> <selector> <objective>
stats entity <selector2> clear <stat>
stats entity <selector2> set <stat> <selector> <objective>
Arguments
x y z (block mode only)
Specifies the position of the block to post command stats from. x and z must be between -30,000,000 and 30,000,000 (inclusive, without the commas) and y must be between 0 and 255 (inclusive). May use tilde notation to specify a position relative to the command's execution.
selector2 (entity mode only)
Specifies the entity to post command stats from. Must be a player name or a target selector.
stat
Specifies the command stat whose selector and objective are to be cleared or set. Must be one of:
  • AffectedBlocks — returns the number of blocks affected by a command
  • AffectedEntities — returns the number of entities affected by a command
  • AffectedItems — returns the number of items affected by a command
  • QueryResult — returns the result of a command query
  • SuccessCount — returns a command's success count
selector (set mode only)
Specifies the selector to be evaluated when a command is run by the specified block or entity to determine which entity(ies) scoreboard objective is to be updated with the result returned by stat. May be anything because it is not evaluated until a command is run by the specified block or entity, but only a player name or a target selector produces useful results (though player names can be fake, so even real players don't need to be online).
objective (set mode only)
Specifies the name of the objective to be updated with the result returned by stat. May be anything because it is not evaluated until a command is run by the specified block or entity, but only the name of a defined objective produces useful results.
Result
Fails if the arguments are not specified correctly, if the specified block cannot track stats (in other words, it fails if the specified block is not a command block or sign), or if selector2 fails to evaluate to one or more valid entities (named players must be online).
On success, clears or sets the selector and objective to be updated with the result returned by stat.
Examples
To set the block at (0,64,0) to update scoreboard objective MyObj of the nearest player with the value of any query result returned by the block:
stats block 0 64 0 set QueryResult @p MyObj
To stop the block at (0,64,0) from updating any scoreboard obectives with the success count of commands it executes:
stats block 0 64 0 clear SuccessCount
To have the nearest wither skull update the scoreboard objective NumBlocks of fake player #FakePlayer with the number of blocks affected by commands executed by the wither skull:
stats entity @e[type=wither_skull,c=1] set AffectedBlocks #FakePlayer NumBlocks

History

Java Edition
1.8
{{Extension DPL}}<ul><li>[[Gunpowder|Gunpowder]]<br/>{{Item
| image = Gunpowder.png
| stackable = Yes (64)
| renewable = Yes
}}

'''Gunpowder''' is an item that is used for [[explosion]]-related recipes, and as an ingredient in potions.

== Obtaining ==

=== Mob loot ===

==== Creepers ====

[[Creeper]]s can drop 0-2 pieces of gunpowder upon death. [[Looting]] can increase this by one per level, with a maximum of 5 gunpowder.

==== Ghasts ====

[[Ghast]]s can drop 0-2 pieces of gunpowder upon death. Looting can increase this by one per level, with a maximum of 5 gunpowder.

==== Witches ====

[[Witch]]es can drop 0-6 pieces of gunpowder upon death. Looting can increase this by three per level, with a maximum of 15 gunpowder.
<!--
=== Crafting ===

{{Crafting
|showdescription=1
|description= {{only|bedrock|education}}
|Coal; Charcoal
|Sulfur
|Bone Meal
|Output= Gunpowder, 3
|type= Miscellaneous
}}
-->
=== Trading ===

<!--Wandering trader always offer one of the 5 item (one of them is gunpowder)-->

[[Wandering trader]]s have {{frac|1|6}} chance to sell gunpowder for an [[emerald]].

=== Chest loot ===

{{LootChestItem|gunpowder}}

== Usage ==

=== Crafting ingredient ===

{{crafting usage}}

=== Brewing ingredient ===
{{brewing
  |name=[[Splash Potion]]
  |showname=1
  |Gunpowder
  |Splash Mundane Potion; Splash Potion of Healing; Splash Potion of Fire Resistance; Splash Potion of Harming; Splash Potion of Poison; Splash Potion of Regeneration; Splash Potion of Slowness; Splash Potion of Strength; Splash Potion of Swiftness; Splash Potion of Weakness; Splash Potion of Night Vision; Splash Potion of Invisibility; Splash Potion of Water Breathing; Splash Potion of Leaping
  |base=Any Potion
}}

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

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Gunpowder
|spritetype=item
|nameid=gunpowder
|id=328
|form=item
|foot=1}}

== History ==

{{History|java indev}}
{{History||0.31|snap=20100130|[[File:Gunpowder JE1 BE1.png|32px]] Added gunpowder.
|Gunpowder is a [[crafting]] ingredient for [[TNT]]. 
|Gunpowder can be [[drops|dropped]] by any [[mob]].}}
{{History||20100219|Gunpowder now [[drops]] only from [[creeper]]s.}}
{{History|java infdev}}
{{History||20100625-2|Gunpowder can now be found in [[dungeon]] [[chest]]s.}}
{{History|java alpha}}
{{History||v1.2.0|snap=preview|Added [[ghast]]s, which [[drops|drop]] gunpowder upon [[death]].{{needs testing|was their gunpowder dropping present in the preview version, or added later on?|type=untestable}}}}
{{History|java beta}}
{{History||1.0|The item now has a display name: ''Sulphur''.}}
{{History||1.3|''Sulphur'' has been renamed to ''Gunpowder''.}}
{{History|java}}
{{History||1.0.0|snap=Beta 1.9 Prerelease 4|Gunpowder is now usable in [[brewing]] to create [[splash potion]]s.}}
{{History||1.2.1|snap=12w04a|[[Fire charge]]s are now [[crafting|crafted]] with gunpowder.}}
{{History||1.4.2|snap=12w38b|[[Witch]]es may now [[drops|drop]] gunpowder.}}
{{History||1.4.6|snap=12w49a|Gunpowder can now be used to craft a [[firework star]] and a [[firework rocket]].}}
{{History||1.9|snap=15w44a|Gunpowder now generates in [[desert temple]] [[chest]]s.
|The average yield of gunpowder in [[dungeon]] chests has now doubled.}}
{{History||1.11|snap=16w39a|Gunpowder can now be found in [[woodland mansion]] chests.}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 289.}}
{{History|||snap=18w11a|Gunpowder can now generate in [[shipwreck]] [[chest]]s.}}
{{History||1.14|snap=18w43a|[[File:Gunpowder JE2 BE2.png|32px]] The texture of gunpowder has been changed.}}
{{History|||snap=19w05a|Added [[wandering trader]]s, which sell gunpowder.}}
{{History||1.20<br>(Experimental)|link=1.19.4|snap=23w07a|Gunpowder now drops when brushing [[suspicious sand]] in [[desert pyramid]]s.}}
{{History||1.20|snap=23w12a|The probability for the gunpowder to generate in [[suspicious sand]] in [[desert temple]]s has been changed from 1/7 to 1/8.}}

{{History|pocket alpha}}
{{History||v0.2.0|[[File:Gunpowder JE1 BE1.png|32px]] Added gunpowder. It is currently unobtainable and serves no purpose.}}
{{History||v0.3.3|Gunpowder now drops from [[creeper]]s. It is still unobtainable due to creepers not yet spawning naturally.}}
{{History||v0.4.0|Creepers now spawn naturally, making gunpowder obtainable in Survival mode.
|Gunpowder can now be used to craft [[TNT]].}}
{{History||v0.12.1|snap=build 1|Added gunpowder to the [[creative]] [[inventory]].
|Gunpowder is now usable in [[brewing]] to create [[splash potion]]s.}}
{{History||v0.13.0|snap=build 1|Gunpowder can now be found inside [[desert temple]] [[chest]]s.}}
{{History||v0.14.0|snap=build 1|Gunpowder can now be dropped by [[witch]]es.}}
{{History||v0.15.0|snap=build 1|Gunpowder can now be used to craft [[fire charge]]s.}}
{{History|pocket}}
{{History||1.1.0|snap=alpha 1.1.0.0|Gunpowder now generates inside [[woodland mansion]] [[chest]]s.}}
{{History|bedrock}}
{{History||1.2.0|snap=beta 1.2.0.2|Gunpowder can now be used to craft [[firework rocket]]s and [[firework star]]s.}}
{{History||1.4.0|snap=beta 1.2.14.2|Gunpowder now generates inside [[shipwreck]] [[chest]]s.}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Gunpowder JE2 BE2.png|32px]] The texture of gunpowder has been changed.}}
{{History||Next Major Update<br>(Experimental)|link=Bedrock Edition 1.19.70|snap=beta 1.19.70.23|Gunpowder now drops when brushing [[suspicious sand]] in [[desert pyramid]]s.}}

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

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

== Issues ==
{{issue list}}

== References ==
{{reflist}}

== External Links ==
*[https://www.minecraft.net/en-us/article/taking-inventory--gunpowder Taking Inventory: Gunpowder] – Minecraft.net on June 21, 2019

{{Items}}

[[Category:Recipe using Charcoal]]

[[cs:Střelný prach]]
[[de:Schwarzpulver]]
[[es:Pólvora]]
[[fr:Poudre à canon]]
[[hu:Puskapor]]
[[it:Polvere da sparo]]
[[ja:火薬]]
[[ko:화약]]
[[nl:Buskruit]]
[[pl:Proch]]
[[pt:Pólvora]]
[[ru:Порох]]
[[th:ดินปืน]]
[[tr:Barut]]
[[uk:Порох]]
[[zh:火药]]
[[Category:Renewable resources]]
[[Category:Brewing recipe]]</li><li>[[Orange Dye|Orange Dye]]<br/>{{Item
|image = Orange_Dye_JE2_BE2.png
|renewable = Yes
|stackable = Yes (64)
}}
'''Orange dye''' is a [[Dye#Quasi-Primary|quasi-primary dye]] crafted from [[Flower|orange tulips]], or by combining one [[red dye]] with one [[yellow dye]].

== Obtaining ==

=== Crafting ===

{{Crafting
  |head = 1
  |showname = 0
  |Orange Tulip; Torchflower
  |Output=Orange Dye
  |type=Material
}}
{{Crafting
  |Red Dye
  |Yellow Dye
  |Output = Orange Dye,2
  |type = Material
  |foot = 1
}}

=== Loot chest ===
{{#invoke:LootChest|base3|orange-dye}}

=== Trading ===
[[Wandering trader|Wandering traders]] sell 3 orange dye for an [[emerald]].

== Usage ==
{{dye usage}}

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

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

=== Trading ===

Apprentice-level shepherd [[villager]]s have a 20% chance to buy 12 orange dye for an [[emerald]] as part of their trades.{{only|bedrock}}

Journeyman-level shepherd [[villager]]s have a {{frac|1|3}} chance to buy 12 orange dye for an [[emerald]].{{only|java}}

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

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|showaliasids=y
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Orange Dye
|spritetype=item
|nameid=orange_dye
|aliasid=dye / 14
|id=409
|form=item
|translationkey=item.dye.orange.name
|foot=1}}

== Video ==

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

== History == 

{{History|java beta}}
{{History||1.2|[[File:Orange Dye JE1 BE1.png|32px]] Added orange 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|Orange dye 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=13w36a|With the addition of the new [[flower]]s, many secondary and tertiary [[dye]]s are now primary dyes.}}
{{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 has 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|[[File:Orange_Dye_JE2_BE2.png|32px]] The texture of orange dye has now been changed.}}
{{History|||snap=18w44a|Orange dye can now change the text color on [[sign]]s to orange.}}
{{History|||snap=19w05a|Added the [[wandering trader]], which sells orange dye.}}
{{History|||snap=19w11a|Orange dye can now be [[trading|bought]] by shepherd villagers.}}
{{History||1.17|snap=20w45a|Orange dye can now be used to craft [[orange candle]]s.}}
{{History|||snap=21w19a|Orange dye can no longer be used to craft orange candles.}}
{{History|||snap=Pre-release 1|Orange dye can now once again be used to craft orange candles.}}
{{History||1.20 (Experimental)|link=1.19.3|snap=22w42a|Orange dye can now change the text color on [[hanging sign]]s to orange.}}
{{History||1.20<br>(Experimental)|link=1.19.4|snap=23w07a|[[Torchflower]]s can now be crafted into orange dye.}}
{{History||1.20|snap=23w12a|Orange dye can now be found in [[suspicious gravel]] and [[suspicious sand]] in [[trail ruins]].}}
{{History|||snap=23w16a|Orange dye no longer generates in [[suspicious sand]] in [[trail ruins]].|Due to the split of the archaeological loot tables for suspicious gravel within [[trail ruins]], orange dye is now common loot.}}

{{History|pocket alpha}}
{{History||v0.3.0|[[File:Orange Dye JE1 BE1.png|32px]] Added orange dye. It is currently unobtainable and serves no purpose.}}
{{History||v0.4.0|Orange dye is now [[craft]]able with rose red and dandelion yellow.
|Orange dye can now be used to craft orange [[wool]].}}
{{History||v0.8.0|snap=build 1|Orange dye is now used to craft [[cocoa bean]]s (version exclusive).}}
{{History||v0.14.0|snap=build 1|Orange dye can now be used to dye [[water]] in [[cauldron]]s.}}
{{History||unknown|The above recipe for orange dye has now been removed.}}
{{History|pocket}}
{{History||1.0.0|snap=alpha 0.17.0.1|Orange dye can now be used to dye [[shulker]]s.}}
{{History||1.1.0|snap=alpha 1.1.0.0|Orange dye can now be used to craft [[concrete powder]] and colored [[bed]]s.}}
{{History|bedrock}}
{{History||1.2.0|snap=beta 1.2.0.2|Orange 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|Orange dye can now be used to craft [[balloon]]s and [[glow stick]]s.}}
{{History||1.8.0|snap=beta 1.8.0.8|Orange dye can now be used to dye [[cat]] collars.}}
{{History||1.10.0|snap=beta 1.10.0.3|Orange dye is now [[trading|sold]] by [[wandering trader]]s.
|Orange dye can now be used to dye white [[carpet]]s.
|[[File:Orange_Dye_JE2_BE2.png|32px]] The texture of orange dye has now been changed.}}
{{History||1.11.0|snap=beta 1.11.0.4|Orange dye can now be [[trading|sold]] to shepherd [[villager]]s.}}
{{History||1.16.100|snap=beta 1.16.100.56|The ID of orange dye has been changed from <code>dye/14</code> to <code>orange_dye</code>.}}

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

{{History|new 3ds}}
{{History||0.1.0|[[File:Orange_Dye_JE2_BE2.png|32px]] Added orange dye.}}
{{History|foot}}

== Issues ==

{{issue list}}

== References ==
{{Reflist}}

{{Items}}

[[cs:Oranžové barvivo]]
[[de:Oranger Farbstoff]]
[[es:Tinte naranja]]
[[fr:Teinture orange]]
[[hu:Narancssárga festék]]
[[ja:橙色の染料]]
[[ko:주황색 염료]]
[[nl:Oranje kleurstof]]
[[pl:Pomarańczowy barwnik]]
[[pt:Corante laranja]]
[[ru:Оранжевый краситель]]
[[zh:橙色染料]]

[[Category:Items]]
[[Category:Dyes]]
[[Category:Renewable resources]]</li></ul>
14w28aAdded /stats.
14w29aAdded QueryResults to /stats.
1.13
{{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 Chicken|Cooked Chicken]]<br/>{{about|a food item|other uses of the word "chicken"|Chicken (disambiguation)}}
{{Item
| title = Cooked Chicken
| image = Cooked Chicken.png
| renewable = Yes
| heals = {{hunger|6}}
| stackable = Yes (64)
}}

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

== Obtaining ==

=== Mob loot ===

When a chicken dies while on fire, it drops one cooked chicken. The maximum is increased by 1 per level of [[Looting]], for a maximum of 1–4 cooked chicken with Looting III.

=== Cooking ===

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

=== Trading ===
{{IN|java}}, apprentice-level butcher [[villager]]s have a {{frac|2|3}} chance to sell 8 cooked chicken for an [[emerald]]. 

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

{{IN|bedrock}}, apprentice-level butcher villagers have a 25% chance to sell 8 cooked chicken for an emerald as part of their trades.

== Usage ==
=== Food ===

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

=== Wolves ===

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

== Sounds ==

{{Sound table/Entity/Food}}

== Data values ==

=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|showforms=y
|generatetranslationkeys=y
|displayname=Cooked Chicken
|spritetype=item
|nameid=cooked_chicken
|form=item
|foot=1}}

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Cooked Chicken
|spritetype=item
|nameid=cooked_chicken
|id=276
|form=item
|foot=1}}

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

== Video ==

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

== History ==

{{History|java beta}}
{{History||July 19, 2011|link=https://twitter.com/jeb_/status/93330811608240128|[[File:Cooked Chicken (pre-release).png|32px]] A teaser image for cooked chicken is revealed by [[Jeb]].}}
{{History||July 19, 2011|link=https://twitter.com/jeb_/status/93946593748852736|[[File:Cooked Chicken (pre-release 2).png|32px]] Jens changes the texture based on feedback, saying "the chicken may be too smooth compared to other MC [[item]]s."<ref>https://twitter.com/jeb_/status/93335976298033152</ref>}}
{{History||1.8|snap=Pre-release|[[File:Cooked Chicken JE1 BE1.png|32px]] Added cooked chicken.}}
{{History|java}}
{{History||1.2.1|snap=12w03a|Cooked chicken can now be used to breed wolves.}}
{{History||1.3.1|snap=12w21a|Farmer [[villager]]s now [[trading|sell]] 7–8 cooked chicken for 1 [[emerald]].}}
{{History||1.4.2|snap=12w37a|[[File:Cooked Chicken JE2 BE2.png|32px]] The texture of cooked chicken has been changed so that it no longer has a dark outline.}}{{History||1.8|snap=14w02a|Butcher villagers now [[trading|sell]] 6–8 cooked chicken for 1 [[emerald]]. Farmer [[villager]]s no longer sell cooked chicken.}}
{{History||1.9|snap=15w43a|[[Chicken]]s can now [[drops|drop]] several cooked chickens if killed with a [[Looting]]-enchanted [[weapons|weapon]].}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 366.}}
{{History||1.14|snap=18w43a|[[File:Cooked Chicken JE3 BE3.png|32px]] The texture of cooked chicken has been changed.}}
{{History|||snap=19w13a|Butcher villagers now give cooked chicken to players under the [[Hero of the Village]] effect.}}

{{History|pocket alpha}}
{{History||v0.4.0|[[File:Cooked Chicken JE1 BE1.png|32px]] Added cooked chicken.}}
{{History||v0.5.0|Cooked chicken now restores {{hp|6}} instead of {{hp|3}}.}}
{{History||v0.8.0|snap=build 1|[[File:Cooked Chicken JE2 BE2.png|32px]] The texture of cooked chicken has been changed so that it no longer has a dark outline.}}
{{History||v0.12.1|snap=build 1|Cooked chicken now restores [[hunger]] instead of [[health]].}}
{{History|pocket}}
{{History||1.0.4|snap=alpha 1.0.4.0|Butcher villagers now [[trading|sell]] 6–8 cooked chicken for 1 [[emerald]].}}
{{History||?|[[Chicken]]s can now [[drops|drop]] several cooked chickens if killed with a [[Looting]]-enchanted [[weapons|weapon]].}}
{{History|bedrock}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Cooked Chicken JE3 BE3.png|32px]] The texture of cooked chicken 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 chicken 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]] 8 cooked chicken instead of 4.}}

{{History|console}}
{{History||xbox=TU5|xbone=CU1|ps=1.0|wiiu=Patch 1|[[File:Cooked Chicken JE1 BE1.png|32px]] Added cooked chicken.}}
{{History||xbox=TU12|[[File:Cooked Chicken JE2 BE2.png|32px]] The texture of cooked chicken has been changed so that it no longer has a dark outline.}}
{{History|PS4}}
{{History||1.90|[[File:Cooked Chicken JE3 BE3.png|32px]] The texture of cooked chicken has been changed.}}

{{History|new3DS}}
{{History||0.1.0|[[File:Cooked Chicken JE2 BE2.png|32px]] Added cooked chicken.}}
{{History|foot}}

== Issues ==

{{issue list}}

== Gallery ==
<gallery>
Beta 1.8 Dev Chicken.png|First image of cooked chicken.
Beta 1.8 Dev Chicken 2.png|Second image of cooked chicken.
</gallery>

== References ==
{{reflist}}

{{Items}}

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

[[cs:Pečené kuře]]
[[de:Gebratenes Hühnchen]]
[[es:Pollo asado]]
[[fr:Poulet rôti]]
[[hu:Sültcsirke]]
[[it:Pollo cotto]]
[[ja:焼き鳥]]
[[ko:익힌 닭고기]]
[[nl:Gebraden kip]]
[[pl:Pieczony kurczak]]
[[pt:Frango assado]]
[[ru:Жареная курятина]]
[[zh:熟鸡肉]]</li></ul>
17w45aRemoved /stats.

See also

Tutorials/Command stats
/blockdata — can also change the selector and objectives of blocks by altering data tags directly
/entitydata — can also change the selector and objectives of entities by altering data tags directly
Advertisement