Functions allow players to run lists of commands using text files with the extension .mcfunction. It is recommended to use UTF-8 encoding (without BOM) for function files to prevent any problems.
Usage
To utilize functions, the text files must first be placed into a top-level folder within [WORLD_NAME]/datapacks/[DATA_PACK_NAME]/data/[NAMESPACE]/functions. For single player, the world folders can be found in .minecraft/saves. For multiplayer, functions must be placed in every world folder that wants to utilize them (In 1.12 you MUST place the functions inside the main world folder (the one specified in the server.properties, level-name=(world-name here)), otherwise it will NOT work.). The name of the new top-level folder will be the namespace used when running the functions inside. Functions can also be placed into subfolders within the top-level folder.
For example, running the function custom:example/test will refer to the file located at data/custom/functions/example/test.mcfunction. If the namespace is left out when trying to call a function, it will default to the minecraft: namespace. Using a custom namespace is recommended in order to prevent unintended behavior in the case of future additions to the default namespace.[1]
Functions, being text files, are easily modifiable and less likely than command blocks to induce lag when used in large quantities. If a function is modified or added, using the /reload command will reload the function files from disk. This allows Minecraft to recognize any changes to the function files, without the need to quit and re-enter the world.
Upon successfully running a function, a message will display in the chat: Executed [amount] command(s) from function '[function file directory]'. The successful output of the commands inside a function cannot be measured with a comparator (although the same effect could be accomplished with the use of /stats and /scoreboard commands).
Function syntax
Testing the function system. Three /tellraw messages and one /give command were used in this simple function.
Within the .mcfunction file, one valid command is placed per line, without the usual forward slash (/). Players can add comments within the function text file by preceding them with a #.
Individual commands in functions can be longer than the 32,500 character limit in command blocks but the total number of commands run inside a function will still obey /gamerule maxCommandChainLength, which is 65,536 commands by default; any commands beyond this limit will be ignored.
Running a function
Functions will run all of their commands in a single tick and functions called from within other functions will also run their commands in the same tick as their parent. Functions will use the command environment of whatever called the function. This includes command sender, position, rotation, etc.
Changes to the command environment that happen within a function will not affect the command environment used by the other commands within that same function (or within its child functions) until the next iteration, regardless of the order of commands. The /execute command is an exception and will update the command environment.
For example:
1.12
execute @a ~ ~ ~ function foo:bar
foo:bar
teleport @s ~ ~5 ~ setblock ~ ~-1 ~ emerald_block execute @s ~ ~ ~ setblock ~ ~-1 ~ diamond_block
1.13
execute as @a at @s run function foo:bar
foo:bar
teleport @s ~ ~5 ~ setblock ~ ~-1 ~ emerald_block execute at @s run setblock ~ ~-1 ~ diamond_block
When called through a player this function will teleport that player 5 blocks up, place an emerald block one block below their original position before the teleport, and place a diamond block one block below their new position after the teleport. This behavior does not affect target selector arguments.
There are several methods of running a function file in-game:
Commands
- Allows players to run a function once.
- The commands in the function are run through the entity or command block that ran the
/functioncommand. - The optional arguments
ifandunlesswill make the function only run when theselectorwas found or not found in the world respectively. - Usage:
/function <name>
Advancements
Advancements can run a function once as a reward for completing them. The commands in the function are run through the player who completed the advancement.
Reward functions are called within advancement JSON files using the following format:
{
"rewards": {
"function": "namespace:path/to/function/file"
}
}
Tags
Functions can be grouped together using tags in data packs. These tags can then be called to run all the functions inside that tag with /function #(namespace):tag.
Functions tagged in minecraft:tick will automatically run every tick at the beginning of the tick. Functions tagged in minecraft:load will run after (re)loading the datapack.
History
| Java Edition | |||||
|---|---|---|---|---|---|
1.12{{Extension DPL}}<ul><li>[[Cyan Dye|Cyan Dye]]<br/>{{Item
| image = Cyan Dye.png
| renewable = Yes
| stackable = Yes (64)
}}
'''Cyan dye''' is a [[Dyeing#Secondary|secondary dye color]].
== Obtaining ==
=== Crafting ===
{{Crafting
|head=1
|showdescription=1
|showname=0
|Blue Dye
|Green Dye
|Output=Cyan Dye,2
|type=Material
}}
{{Crafting
|Lapis Lazuli
|Green Dye
|Output=Cyan Dye,2
|description={{only|bedrock|education}}
|type=Material
}}
{{Crafting
|Pitcher Plant
|Output=Cyan Dye,2
|description=
|type=Material
|foot=1
}}
=== Trading ===
[[Wandering trader]]s sell 3 cyan dye for an [[emerald]].
== Usage ==
{{dye usage}}
=== Crafting ingredient ===
{{crafting usage|ignore=Banner|continue=1}}
{{banner crafting usage}}
=== Loom ingredient ===
{{Banner loom usage|Cyan Dye}}
=== Trading ===
{{IN|bedrock}}, journeyman-level shepherd villagers have 20% chance to buy 12 cyan dye for an emerald.
{{More info|java=1|Java UI does not use a specific trade slot, which results in a different chance to offer this trade.}}
== Data values ==
=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|showforms=y
|generatetranslationkeys=y
|displayname=Cyan Dye
|spritetype=item
|nameid=cyan_dye
|form=item
|foot=1}}
{{edition|bedrock}}:
{{ID table
|edition=bedrock
|showaliasids=y
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Cyan Dye
|spritetype=item
|nameid=cyan_dye
|aliasid=dye / 6
|id=401
|form=item
|translationkey=item.dye.cyan.name
|foot=1}}
== History ==
{{History|java beta}}
{{History||1.2|[[File:Cyan Dye JE1 BE1.png|32px]] Added cyan dye.}}
{{History|java}}
{{History||1.4.2|snap=12w34a|Added the ability to [[Armor#Dyeing|dye]] leather [[armor]] and [[wolf]] collars.}}
{{History||1.4.6|snap=12w49a|Cyan dye can now be [[crafting|crafted]] with [[gunpowder]] to create a [[firework star]].}}
{{History||1.6.1|snap=13w19a|[[Stained clay]] can now be crafted.}}
{{history||1.7.2|snap=13w36a|With the addition of new [[flower]]s, many secondary and tertiary dyes are now primary [[dye]]s.}}
{{History|||snap=13w41a|[[Stained glass]] can now be crafted.}}
{{History||1.8|snap=14w02a|Due to [[lapis lazuli]] being [[renewable resource|renewable]], cyan dye is also renewable.}}
{{History|||snap=14w30a|Added [[banner]]s, which can be dyed.}}
{{History||1.13|snap=17w47a|The different data values for the <code>dye</code> ID have now been split up into their own IDs.
|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 351.}}
{{History||1.14|snap=18w43a|Cyan dye is now [[crafting|crafted]] using [[blue dye]], instead of [[lapis lazuli]].
|[[File:Cyan Dye.png|32px]] The texture of cyan dye has now been changed.}}
{{History|||snap=18w44a|Cyan dye can now change the text color on [[sign]]s to cyan.}}
{{History|||snap=19w05a|Added the [[wandering trader]], which sell cyan dyes.}}
{{History|||snap=19w11a|Cyan dye can now be [[trading|bought]] by shepherd villagers.}}
{{History||1.17|snap=20w45a|Cyan dye can now be used to craft [[cyan candle]]s.}}
{{History|||snap=21w19a|Cyan dye can no longer be used to craft cyan candles.}}
{{History|||snap=Pre-release 1|Cyan dye can once again be used to craft cyan candles.}}
{{History||1.20<br>(Experimental)|link=1.19.3|snap=22w42a|Cyan dye can now change the text color on [[hanging sign]]s to cyan.}}
{{History||1.20|snap=23w12a|Added [[pitcher plant]]s, which can be crafted into cyan dye.}}
{{History|||snap=23w14a|[[Pitcher plant]]s now craft into 2 cyan dye instead of 1.}}
{{History|pocket alpha}}
{{History||v0.3.0|[[File:Cyan Dye JE1 BE1.png|32px]] Added cyan dye. It is currently unobtainable and serves no purpose.}}
{{History||v0.4.0|Cyan dye is now craftable with [[lapis lazuli]] and [[cactus green]].
|Cyan dye can now be used to craft cyan wool.}}
{{History||v0.6.0|Cyan dye can now be used to dye [[sheep]].}}
{{History||v0.9.0|snap=build 11|Cyan dye can now be used to craft colored [[terracotta]].}}
{{History||v0.11.0|snap=build 1|Cyan dye can now be used to dye tamed [[wolf]] collars.}}
{{History||v0.14.0|snap=build 1|Cyan dye can now be used to dye water in [[cauldron]]s.}}
{{History|pocket}}
{{History||1.0.0|snap=alpha 0.17.0.1|Cyan dye can now be used to dye [[shulker]]s.}}
{{History||1.1.0|snap=alpha 1.1.0.0|Cyan dye can now be used to craft [[concrete powder]], colored [[bed]]s and dyed [[shulker box]]es.}}
{{History|bedrock}}
{{History||1.2.0|snap=beta 1.2.0.2|Cyan dye can now be used to craft [[firework star]]s, [[stained glass]] and patterns on [[banner]]s.}}
{{History||1.4.0|snap=beta 1.2.20.1|Cyan dye can now be used to craft [[balloon|ballons]] and [[glow stick|glow sticks]].}}
{{History||1.8.0|snap=beta 1.8.0.8|Cyan dye can now be used to dye tamed [[cat]] collars.}}
{{History||1.10.0|snap=beta 1.10.0.3|Cyan dye are now [[trading|sold]] by [[wandering trader]]s.
|Cyan dye can now be used to dye white [[carpet|carpets]] and undyed [[glass pane]]s.
|[[File:Cyan Dye.png|32px]] The texture of cyan dye has now been changed.}}
{{History||1.11.0|snap=beta 1.11.0.4|Cyan dye can be [[trading|sold]] to shepherd [[villager]]s.}}
{{History||1.16.100|snap=beta 1.16.100.56|The ID of cyan dye has been changed from <code>dye/6</code> to <code>cyan_dye</code>.}}
{{History|console}}
{{History||xbox=TU1|xbone=CU1|ps=1.00|switch=1.0.1|wiiu=Patch 1|[[File:Cyan Dye JE1 BE1.png|32px]] Added cyan dye.}}
{{History|PS4}}
{{History||1.90|[[File:Cyan Dye.png|32px]] The texture of cyan dye has now been changed.}}
{{History|new 3ds}}
{{History||0.1.0|[[File:Cyan Dye JE1 BE1.png|32px]] Added cyan dye.}}
{{History|foot}}
== Issues ==
{{issue list}}
{{Items}}
[[Category:Items]]
[[Category:Dyes]]
[[Category:Renewable resources]]
[[cs:Azurové barvivo]]
[[de:Türkiser Farbstoff]]
[[es:Tinte cian]]
[[fr:Teinture cyan]]
[[hu:Ciánkék festék]]
[[ja:青緑色の染料]]
[[ko:청록색 염료]]
[[nl:Turquoise kleurstof]]
[[pl:Błękitny barwnik]]
[[pt:Corante ciano]]
[[ru:Бирюзовый краситель]]
[[zh:青色染料]]</li><li>[[Armor Stand|Armor Stand]]<br/>{{ItemEntity
| image = Armor Stand.png
| image2 = Armor Stand BE.png
| extratext = View [[#Gallery|all renders]]
| stackable =
* '''[[JE]]:''' Yes (16)
* '''[[BE]]:''' Yes (64)
| renewable = Yes
| flammable = Yes
| size = '''Normal:'''<br>
Width: 0.5 Blocks<br>
Height: 1.975 Blocks<br>
'''Small:'''<br>
Width: 0.25 Blocks<br>
Height: 0.9875 Blocks<br>
| health = {{hp|20}}
}}
An '''armor stand''' is an inanimate [[entity]] that can wear [[armor]]. It can also hold [[Item|items]] and be posed (but these are not possible in [[Survival]] in [[Java Edition]]).
== Obtaining ==
An armor stand can be broken by quickly {{control|attack|text=attacking}} it twice, dropping itself and any armor placed onto it.
=== Crafting ===
{{Crafting
|A1= Stick
|B1= Stick
|C1= Stick
|B2= Stick
|A3= Stick
|B3= Smooth Stone Slab
|C3= Stick
|Output= Armor Stand
|type=Decoration block
}}
=== Natural generation ===
Two armor stands are found in each taiga [[village]] outdoor armory, one equipped with an [[iron helmet]], the other with an [[iron chestplate]].
== Usage ==
[[Player]]s can use armor stands to hold [[armor]], [[mob head]]s, [[carved pumpkin]]s, and [[elytra]]. [[Commands]] can be used to give them other [[item]]s. The stand does not have a GUI, so players interact with it directly. Armor stands are also able to be placed in different orientations, similar to [[banner]]s or [[sign]]s. Armor stands are [[entity|entities]], allowing them to be pushed by [[piston]]s, moved by flowing [[water]], pulled with [[fishing rod]]s, pushed by players (with knockback), and bounced by [[slime block]]s.
{{Control|use|text=Using}} armor on the stand places the armor if done on a bare spot. Conversely, clicking on armor with a bare hand removes the armor and places it in the highlighted hotbar slot. It is not possible to take or place items from the armor stand's hands unless playing on Bedrock Edition.
Armor, mob heads, or carved pumpkins can be automatically placed on armor stands with a [[dispenser]].
Armor stands can be customized further to have arms, pose, disobey gravity, dual wield and other things by summoning them using {{cmd|summon}} with [[Chunk format#ArmorStand|NBT tags]].
In maps heavily using [[command blocks]], armor stands can be used to keep [[scoreboard]] objectives that are 'global' to the map, run [[commands]], etc.
{{IN|bedrock}}, the pose of the armor stand can be changed by interacting with the armor stand (or pressing the {{btn|Pose|be=1}} button on mobile devices) while sneaking, or by using a redstone signal. There are 13 possible poses. Armor stands can also hold items by interacting with the armor stand (or pressing the {{btn|Equip|be=1}} button on mobile devices) while holding an item that cannot be worn.
;<nowiki>Below are the poses:
{| class="wikitable collapsible collapsed"
! No. !! Namespace ID !! Redstone power !! Image
|-
| 0
| {{cd|animation.armor_stand.default_pose}}
| 0
| [[File:Armor Stand Default Pose.png|128px]]
|-
| 1
| {{cd|animation.armor_stand.no_pose}}
| 1
| [[File:Armor Stand No Pose.png|128px]]
|-
| 2
| {{cd|animation.armor_stand.solemn_pose}}
| 2
| [[File:Armor Stand Solemn Pose.png|128px]]
|-
| 3
| {{cd|animation.armor_stand.athena_pose}}
| 3
| [[File:Armor Stand Athena Pose.png|128px]]
|-
| 4
| {{cd|animation.armor_stand.brandish_pose}}
| 4
| [[File:Armor Stand Brandish Pose.png|128px]]
|-
| 5
| {{cd|animation.armor_stand.honor_pose}}
| 5
| [[File:Armor Stand Honor Pose.png|128px]]
|-
| 6
| {{cd|animation.armor_stand.entertain_pose}}
| 6
| [[File:Armor Stand Entertain Pose.png|128px]]
|-
| 7
| {{cd|animation.armor_stand.salute_pose}}
| 7
| [[File:Armor Stand Salute Pose.png|128px]]
|-
| 8
| {{cd|animation.armor_stand.hero_pose}}
| 8, 13 or more
| [[File:Armor Stand Hero Pose.png|128px]]
|-
| 9
| {{cd|animation.armor_stand.riposte_pose}}
| 9
| [[File:Armor Stand Riposte Pose.png|128px]]
|-
| 10
| {{cd|animation.armor_stand.zombie_pose}}
| 10
| [[File:Armor Stand Zombie Pose.png|128px]]
|-
| 11
| {{cd|animation.armor_stand.cancan_a_pose}}
| 11
| [[File:Armor Stand Cancan A Pose.png|128px]]
|-
| 12
| {{cd|animation.armor_stand.cancan_b_pose}}
| 12
| [[File:Armor Stand Cancan B Pose.png|128px]]
|}
== Behavior ==
Because armor stands are entities, they obey gravity, allowing them to fall and rest on non-full [[block]]s such as [[enchanting table]]s, [[snow layer]]s and [[slab]]s.
Any [[armor]] on the stand drops when the stand is broken. Armor stands can display [[enchanting|enchanted]] and all forms of [[dye]]d armor. The effects of most enchanted armor have no effect when on an armor stand, with three exceptions:
* [[Frost Walker]] creates [[frosted ice]] blocks on [[water]] as usual if an armor stand is pushed with a [[piston]].
* [[Depth Strider]] slows the movement of the armor stand when being pushed with water.
* A [[player]] may take damage from hitting an armor stand that holds armor enchanted with [[Thorns]].
Armor stands are not damaged by [[cacti]] but can be broken by [[arrow]]s. An armor stand destroyed by an explosion or a firework does not drop as an [[item (entity)|item]]. Armor stands in water and [[lava]] at the same time are not consumed by the lava.
{{IN|be}}, armor stands can be affected by [[status effect]]s. They can be 'killed' by [[Harming]] and [[Decay]] [[splash potion|splash]]/[[lingering potion]]s, lava, [[fire]], and [[campfire]]s, and they play the player death sound and fall to their side and disappear, yielding no armor stand item. If an armor stand is equipped with an item or armor, that item or armor is considered as "naturally-spawned equipment" with an 8.5% chance of dropping when the armor stand "dies" from the [[Instant Damage]] or the [[Wither (status effect)|Wither]] status effect. If the dropped item is any form of [[weapon]], [[tool]] or armor, it drops in a badly damaged state because the game considers it as "naturally-spawned equipment".<ref>{{Bug|MCPE-24341}}</ref>
The stand wobbles slightly when being hit by the player.
{{IN|java}}, it is possible to create an armor stand with arms using the {{cmd|summon}} [[command]]. It is also possible to change an armor stand without arms into a stand with arms by using the {{cmd|data}} command. The commands are as follows:
* <code>/data merge entity @e[type=armor_stand,sort=nearest,limit=1] {ShowArms:1}</code>, which changes the nearest armor stand into an armor stand with arms.
* <code>/summon minecraft:armor_stand ~ ~ ~ {ShowArms:1}</code>, which summons a new armor stand with arms shown.
*<code>/summon armor_stand ~ ~ ~ {Rotation:[0.0f]}</code>, which summons a new armor stand that faces a desired direction (dependent on changing "0.0f" to other numbers like "90.0f" or "180.0f", otherwise it faces the same way as a default armor stand).
== Sounds ==
{{edition|java}}:<br>
Armor stands use the Friendly Creatures sound category for entity-dependent sound events.
{{Sound table
|sound=Armor Stand hit1.ogg
|sound2=Armor Stand hit2.ogg
|sound3=Armor Stand hit3.ogg
|sound4=Armor Stand hit4.ogg
|subtitle=Block breaking
|source=Friendly Creatures
|description=When an armor stand is damaged
|id=entity.armor_stand.hit
|translationkey=subtitles.block.generic.hit
|volume=1.0
|pitch=1.0
|distance=16}}
{{Sound table
|sound=Armor Stand break1.ogg
|sound2=Armor Stand break2.ogg
|sound3=Armor Stand break3.ogg
|sound4=Armor Stand break4.ogg
|subtitle=Block broken
|source=Friendly Creatures
|description=When an armor stand is destroyed
|id=entity.armor_stand.break
|translationkey=subtitles.block.generic.break
|volume=1.0
|pitch=1.0
|distance=16}}
{{Sound table
|sound=Stone dig1.ogg
|sound2=Stone dig2.ogg
|sound3=Stone dig3.ogg
|sound4=Stone dig4.ogg
|subtitle=Block placed
|source=Blocks
|description=When an armor stand is placed
|id=entity.armor_stand.place
|translationkey=subtitles.block.generic.place
|volume=1.0
|pitch=1.0
|distance=16}}
{{Sound table
|sound=Wood dig1.ogg
|sound2=Wood dig2.ogg
|sound3=Wood dig3.ogg
|sound4=Wood dig4.ogg
|subtitle=Block placed
|source=Friendly Creatures
|description=When an armor stand falls onto a block at a high speed{{Info needed}}
|id=entity.armor_stand.fall
|translationkey=subtitles.entity.armorstand.fall
|volume=1.0
|pitch=1.0
|distance=16
|foot=1}}
{{edition|bedrock}}:
{{Sound table
|type=bedrock
|sound=Armor Stand hit1.ogg
|sound2=Armor Stand hit2.ogg
|sound3=Armor Stand hit3.ogg
|sound4=Armor Stand hit4.ogg
|source=neutral
|description=When an armor stand is damaged
|id=mob.armor_stand.hit
|volume=1.0
|pitch=1.0}}
{{Sound table
|sound=Armor Stand break1.ogg
|sound2=Armor Stand break2.ogg
|sound3=Armor Stand break3.ogg
|sound4=Armor Stand break4.ogg
|source=neutral
|description=When an armor stand is destroyed
|id=mob.armor_stand.break
|volume=1.0
|pitch=1.0}}
{{Sound table
|sound=Stone dig1.ogg
|sound2=Stone dig2.ogg
|sound3=Stone dig3.ogg
|sound4=Stone dig4.ogg
|source=neutral
|description=When an armor stand is placed
|id=mob.armor_stand.place
|volume=1.0
|pitch=1.0}}
{{Sound table
|sound=Wood dig1.ogg
|sound2=Wood dig2.ogg
|sound3=Wood dig3.ogg
|sound4=Wood dig4.ogg
|source=neutral
|description=When an armor stand falls onto a block at a high speed{{Info needed}}
|id=mob.armor_stand.land
|volume=1.0
|pitch=1.0
|foot=1}}
== Data values ==
=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|firstcolumnname=Armor Stand
|showforms=y
|generatetranslationkeys=y
|displayname=Item
|spritename=armor-stand
|spritetype=item
|nameid=armor_stand
|form=item
|foot=1}}
{{ID table
|edition=java
|firstcolumnname=Armor Stand
|generatetranslationkeys=y
|displayname=Entity
|spritename=armor-stand
|spritetype=entity
|nameid=armor_stand
|foot=1}}
{{edition|bedrock}}:
{{ID table
|edition=bedrock
|firstcolumnname=Armor Stand
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Item
|spritename=armor-stand
|spritetype=item
|nameid=armor_stand
|id=552
|form=item
|foot=1}}
{{ID table
|edition=bedrock
|firstcolumnname=Armor Stand
|shownumericids=y
|generatetranslationkeys=y
|displayname=Entity
|spritename=armor-stand
|spritetype=entity
|nameid=armor_stand
|id=61
|foot=1}}
=== Item data ===
{{el|java}}:
{{main|Player.dat format}}
<div class="treeview">
* {{nbt|compound|tag}}: The item's '''tag''' tag.
{{:Player.dat_format/Entity Spawners}}
</div>
{{el|bedrock}}:
: {{IN|bedrock}}, armor stands have no additional item tag.
: See [[Bedrock Edition level format/Item format]].
=== Entity data ===
Armor stands 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]].
== Video ==
Note: This video is outdated as Zoglins now attack armor stands
<div style="text-align:center">{{yt|tCFkdTfCleQ}}</div>
== History ==
{{History|java}}
{{History||1.8|snap=August 5, 2014|slink={{Tweet|SeargeDP|496666952530538498}}|[[File:Armor Stand (pre-release).png|32px]] [[File:Armor Stand (item) (pre-release).png|32px]] [[Searge]] tweeted a image of an armor stand. The appearance was changed before release.}}
{{History|||snap=August 5, 2014|slink={{Tweet|SeargeDP|496673890148823040}}|Showed crafting recipe and name "[Armor Stand]", both were changed before release.}}
{{History|||snap=14w32a|[[File:Armor Stand JE1.png|32px]] Added armor stands.}}
{{History|||snap=14w32b|[[File:Armor Stand (item) JE1 BE1.png|32px]] The item texture has changed.
|Pick-block can now be used on armor stands.
|Armor stands can now no longer be crafted using [[slabs]] other than stone slabs.}}
{{History|||snap=14w32c|Added a <code>NoBasePlate</code> tag for the armor stand.}}
{{History|||snap=14w33a|Breaking [[particles]] have been added for the armor stand.}}
{{History||1.8.1|snap=pre1|Added <code>Marker</code> tag for armor stands.}}
{{History||1.9|snap=15w31a|Armor stands can now dual wield.
|<code>HandItems</code> and <code>ArmorItems</code> tags added for armor stands, which is intended to replace the <code>Equipment</code> tag.}}
{{History|||snap=15w33a|The <code>Equipment</code> tag has been removed from armor stands.}}
{{History|||snap=15w47a|The armor stand now wobbles when hit by the [[player]].}}
{{History|||snap=16w02a|Marker <code>ArmorStand</code>s now outline their equipment only when glowing.}}
{{History||1.11|snap=16w32a|The entity ID of the armor stand has been changed from <code>ArmorStand</code> to <code>armor_stand</code>.}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 416.}}
{{History||1.14|snap=18w43a|[[File:Armor Stand JE2.png|32px]] The texture of armor stands has been changed to the new [[planks|oak planks]] texture.
|[[File:Armor Stand (item) JE2 BE2.png|32px]] The texture of armor stand [[item]]s has been slightly changed. (Comparison: [[File:Armor Stand (item) Texture Change 1.13 to 18w43a.gif|32px]])}}
{{History|||snap=18w50a|[[File:Armor Stand JE3.png|32px]] The texture of armor stands has been changed again.
|Armor stands now generate in taiga [[village]]s.}}
{{History||1.15|snap=19w42a|Armor stands can now be placed by [[dispenser]]s.}}
{{History||1.16|snap=20w07a|Armor stands no longer fall through fences and walls when placed.<ref>{{bug|MC-65951}}</ref>}}
{{History|||snap=20w14a|[[Zoglin]]s now attack armor stands.}}
{{History||1.17|snap=20w45a|[[File:Armor Stand 20w45a.png|32px]] The model of the armor stand has been changed.}}
{{History|||snap=20w46a|[[File:Armor Stand JE3.png|32px]] The model of the armor stand has been changed back to how it was in 1.16.}}
{{History||1.18|snap=Pre-release 5|[[File:Armor Stand JE4.png|32px]] Changed smooth stone texture on armor stand.}}
{{History||1.19.4|snap=23w03a|Armor stands now preserve custom names when placed and broken.}}
{{History||1.20<br>(Experimental)|link=1.19.4|snap=23w04a|An armor stand now appears in the smithing table GUI; arms are displayed as in Bedrock Edition.
|When an armor stand is placed, its model now changes in effect of the player's facing direction<ref>{{bug|MC-93533}}</ref>.}}
{{History|||snap=23w06a|The model no longer changes when the armory is placed. Also, the head, which tilted slightly to the lower right in the version from 1.8 up to 1.19.3, now faces forward from [[File:Armor Stand JE4.png|32px]] to [[File:Armor Stand JE5.png|32px]].}}
{{History||?|Armor can now be swapped in [[armor stand]]s by {{ctrl|using}} them in the armor stand's slot.}}
{{History|bedrock}}
{{History||1.2.0|snap=beta 1.2.0.2|[[File:Armor Stand BE1.png|32px]] [[File:Armor Stand (item) JE1 BE1.png|32px]] Added armor stands.}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Armor Stand BE2.png|32px]] The texture of armor stands has been changed.
|[[File:Armor Stand (item) JE2 BE2.png|32px]] The texture of armor stand [[item]]s has been slightly changed.}}
{{History||1.12.0|snap=beta 1.12.0.2|[[File:Armor Stand with Leather Armor MCPE-44669.png|32px]] Leather [[armor]] no longer shows as being [[dye]]d properly when worn by armor stands.}}
{{History|||snap=beta 1.12.0.3|[[File:Armor Stand wear Chicken.png|x73px]][[File:Armor Stand wear Rabbit.png|x73px]] [[File:Armor Stand wear Salmon.gif|x73px]] [[File:Armor Stand wear Pufferfish.gif|x73px]] [[File:Armor Stand wear Slime.png|x73px]] When armor stands hold a [[raw chicken]], [[raw rabbit]], [[raw salmon]], [[pufferfish]] or a [[slime block]], they now wear these [[mob]] counterparts.<ref>{{bug|mcpe-48629}}</ref>}}
{{History||1.13.0|snap=beta 1.13.0.1|Leather armor now shows as being dyed properly when worn by armor stands.}}
{{History|||snap=beta 1.13.0.4|Armor stands no longer hold certain [[mob]]s if they are holding a [[item]] related to them.
|Armor stands now have a smoother animation when changing poses.}}
{{History||1.16.0|snap=?|Armor stands are now targeted by zoglins.}}
{{History||1.16.210|snap=beta 1.16.210.51|Armor stands are no longer attacked by [[goat]]s.}}
{{History|console}}
{{History||xbox=TU31|xbone=CU19|ps=1.22|wiiu=Patch 3|switch=1.0.1|[[File:Armor Stand JE1.png|32px]] [[File:Armor Stand (item) JE1 BE1.png|32px]] Added armor stands.}}
{{History||xbox=TU43|xbone=CU33|ps=1.36|wiiu=Patch 13|Added [[sound]]s for armor stands.}}
{{History||xbox=TU60|xbone=CU51|ps=1.64|wiiu=Patch 30|switch=1.0.11|[[File:Armor Stand BE1.png|32px]] Armor stands now have arms and the [[player]] can now change the pose of the armor stand.}}
{{History||xbox=none|xbone=none|ps=1.90|wiiu=none|switch=none|[[File:Armor Stand BE2.png|32px]] The texture of armor stands has been changed.
|[[File:Armor Stand (item) JE2 BE2.png|32px]] The texture of armor stand [[item]]s has been slightly changed.}}
{{History|foot}}
<gallery>
Armour stand 1.png|The first image of the armor stand.
JE 1.8 Dev Armor Stand crafting.png|The first image of armor stand crafting recipe.
The Bountiful Update.png|Armor stands in the [[Java Edition 1.8|1.8]] poster.
Dual Wielding Armor Stand.png|A dual wielding armor stand.
Glowing Armor Stands.png|Armor stands with the [[glowing]] effect.
Armor Stand Chess.jpg|Chess with armor stands.
</gallery>
== Issues ==
{{issue list}}
== Trivia ==
* Equipping armor stands with certain [[block]]s and [[item]]s can cause rendering glitches. According to [[Searge]] this is due to transparent rendering on entities not yet being supported.<ref>{{bug|MC-67415||"Armor Stands with Slime Block rendering entities behind them"}} resolved as "Won't Fix"</ref><ref>{{bug|MC-67674||"Armor Stand wearing a Skull and Holding Stained Glass causes Graphical issues"}} resolved as "Won't Fix"</ref>
* Bedrock Edition has a version exclusive armor stand [[model]], which includes posable arms.
*Using [[redstone]] to change the stands reverse the poses, starting with the can-can pose first.
*Placing the stand within three powered [[redstone dust]] always changes its pose to the honor pose. [[Redstone Repeater|Repeaters]] also switch the stand to the honor pose if not set four blocks from one.
*Using external tools, armor stand spawners can be placed.
*Secret signatures for [[Jasper Boerstra|JAPPA]], Chi Wong, and [[Michael Stoyke|Searge]] can be found at the bottom of the armor stand texture.
== Gallery ==
=== Renders ===
; Armor (Java Edition)
<gallery>
Armor Stand Leather.png
Armor Stand Golden.png
Armor Stand Chainmail.png
Armor Stand Iron.png
Armor Stand Diamond.png
Armor Stand Netherite.png
</gallery>
; Armor (Bedrock Edition)
<gallery>
Armor Stand with Leather Armor BE.png
Armor Stand with Golden Armor BE.png
Armor Stand with Chain Armor BE.png
Armor Stand with Iron Armor BE.png
Armor Stand with Diamond Armor BE.png
Armor Stand with Netherite Armor BE.png
</gallery>
; Poses
<gallery>
Armor Stand Pose 0.png|
Armor Stand Pose 1.png|
Armor Stand Pose 2.png|
Armor Stand Pose 3.png|
Armor Stand Pose 4.png|
Armor Stand Pose 5.png|
Armor Stand Pose 6.png|
Armor Stand Pose 7.png|
Armor Stand Pose 8.png|
Armor Stand Pose 9.png|
Armor Stand Pose 10.png|
Armor Stand Pose 11.png|
Armor Stand Pose 12.png|
</gallery>
=== Screenshots ===
<gallery>
Armor Stand Demo.png|Armor stands in various positions with various [[armor]].
Armor Stand glass and sword.png|Armor stands can wear [[block]]s on their heads. This is accessible with [[command]]s such as {{cmd|item}}.
Bedrock edition armor stand poses.png|All armor stand poses as seen in {{el|be}}.
Netherite to the rescue!.png|An entire set of netherite [[armor]] on an armor stand.
Armor Stand Garage.png|An armor stand in a garage.
</gallery>
== References ==
{{reflist}}
==External Links==
*[https://www.minecraft.net/en-us/article/taking-inventory--armor-stand Taking Inventory: Armor Stand] – Minecraft.net on March 16, 2023
{{Items}}
{{Entities}}
[[Category:Storage]]
[[de:Rüstungsständer]]
[[es:Soporte para armadura]]
[[fr:Porte-armure]]
[[ja:防具立て]]
[[ko:갑옷 거치대]]
[[pl:Stojak na zbroję]]
[[pt:Suporte de armaduras]]
[[ru:Стойка для брони]]
[[th:แท่นวางชุดเกราะ]]
[[uk:Стійка для обладунків]]
[[zh:盔甲架]]</li></ul></nowiki> | pre1 | Added functions. | |||
| pre3 | Commands are no longer allowed to begin with a / (forward slash) | ||||
| Comments can now only be preceded with #; using // is no longer allowed | |||||
| pre4 | Added new arguments to the /function command: [if|unless] [selector] | ||||
| pre6 | Skipped functions (when a conditional fails) are now considered failures when used in commands. | ||||
1.13{{Extension DPL}}<ul><li>[[Raw Gold|Raw Gold]]<br/>{{Item
| image = Raw Gold.png
| renewable = No
| stackable = Yes (64)
}}
'''Raw gold''' is a raw metal resource obtained from mining [[gold ore]].
== Obtaining ==
=== Mining ===
[[Gold ore]] and [[deepslate gold ore]] mined with an [[iron pickaxe]] or higher drops 1 unit of raw gold. If the pickaxe is enchanted with [[Fortune]], it can drop an extra unit per level of Fortune, allowing for a maximum of 4 with Fortune III. If the ore is mined using a pickaxe enchanted with [[Silk Touch]], it drops the ore block instead.
=== Crafting ===
{{Crafting
|showname=1
|Block of Raw Gold
|Output=Raw Gold,9
|type=Material
|foot=1
}}
== Usage ==
The primary usage of raw gold is smelting it into [[gold ingot]]s.
=== Crafting ===
{{crafting usage|Raw Gold}}
=== Smelting ingredient ===
{{Smelting
|showname=2
|Raw Gold
|Gold Ingot
|1.0
}}
=== Piglins ===
{{EntityLink|Piglin|Piglins}} are attracted to raw gold. They run toward any raw gold on the ground, and inspect it for 6 to 8 seconds before putting it in their inventory.
== Advancements ==
{{load advancements|Oh Shiny}}
== Data values ==
=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|showitemtags=y
|showforms=y
|generatetranslationkeys=y
|displayname=Raw Gold
|spritetype=item
|nameid=raw_gold
|itemtags=piglin_loved
|form=item
|foot=1}}
{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Raw Gold
|spritetype=item
|nameid=raw_gold
|form=item
|id=506
|foot=1}}
== History ==
{{History|java}}
{{History||1.17|snap=21w14a|[[File:Raw Gold JE1.png|32px]] Added raw gold.}}
{{History|||snap=April 13, 2021|slink={{Tweet|JasperBoerstra|1381991999952277513}}|[[File:Raw Gold JE2.png|32px]] [[JAPPA]] shows a new raw gold texture.}}
{{History|||snap=21w15a|[[File:Raw Gold JE2.png|32px]] The texture of raw gold has been changed.
|Raw gold can now be used to craft [[block of raw gold]].}}
{{History|||snap=April 16, 2021|slink={{Tweet|JasperBoerstra|1383047666037325829}}|[[File:Raw Gold (pre-release).png|32px]] [[JAPPA]] shows a new raw gold texture again.}}
{{History|||snap=21w16a|[[File:Raw Gold JE3.png|32px]] The texture of raw gold has been changed.}}
{{History|Bedrock}}
{{History||1.17.0|snap=beta 1.17.0.50|[[File:Raw Gold JE2.png|32px]] Added raw gold.}}
{{History|||snap=beta 1.17.0.52|Raw gold are now available without enabling [[experimental gameplay]].}}
{{History|||snap=beta 1.17.0.54|[[File:Raw Gold JE3.png|32px]] The texture of raw gold has been changed.}}
{{History|foot}}
== Issues ==
{{Issue list}}
==Gallery==
<gallery>
JE 1.17 Dev Raw Metals.jpg|Jappa shows raw ore textures.
Jappa Raw Ores 1.jpg|Jappa shows raw ore textures.
Jappa Raw Ores 2.png|Jappa shows raw ore textures.
Jappa Raw Ores 3.jpg|Jappa shows raw ore textures.
Jappa Raw Ores 4.jpg|Jappa shows raw ore textures.
Jappa Raw Ores 5.jpg|Jappa shows raw ore textures.
</gallery>
{{Items}}
[[Category:Non-renewable resources]]
[[de:Rohgold]]
[[es:Oro en bruto]]
[[fr:Or brut]]
[[ja:金の原石]]
[[pl:Surowe złoto]]
[[pt:Ouro bruto]]
[[ru:Необработанное золото]]
[[uk:Необроблене золото]]
[[zh:粗金]]</li><li>[[Campfire|Campfire]]<br/>{{Block
| image = <gallery>
Campfire.gif|Campfire
Soul Campfire.gif|Soul Campfire
Unlit Campfire.png|Unlit
</gallery>
| image2 = <gallery>
Campfire (item) JE2.png|Campfire
Soul Campfire (item) JE2.png|Soul Campfire
</gallery>
| invimage = Campfire
| invimage2 = Soul Campfire
| transparent = No
| light = '''Campfire''': <br>Yes (15) when lit<br>'''Soul Campfire''': <br>Yes (10) when lit
| tool = axe
| renewable = Yes
| stackable = Yes (64)
| flammable = No
| lavasusceptible = Yes
}}
A '''campfire''' is a block that can be used to cook [[food]], pacify [[bee]]s, act as a spread-proof [[light source]], smoke signal or damaging trap block.
A '''soul campfire''' is a dimmer variant of the campfire with turquoise flames. Soul campfires deal more damage than normal campfires.
== Obtaining ==
=== Breaking ===
Campfires can be mined with any tool, or without a tool, but [[axe]]s are the fastest. A regular campfire drops 2{{only|java|short=1}} or 4{{only|bedrock|short=1}} [[charcoal]], a soul campfire drops [[soul soil]], and either one also drops any items placed on it. If mined with a tool enchanted with [[Silk Touch]], the campfire instead drops itself as an item.
{{IN|BE}}, either kind of campfire can also be broken by pushing it with a [[piston]] or [[sticky piston]]. Pistons cannot move or break campfires {{in|je}}.
{{breaking row
|Campfire, Soul Campfire
|axe
|horizontal=1}}
=== Natural generation ===
Campfires can generate in {{BiomeLink|taiga}} and {{BiomeLink|snowy taiga}}{{only|be}} [[village]]s.
Campfires also generate in camps inside [[ancient city|ancient cities]], beneath a pile of blue, light blue and cyan [[wool]] blocks.
=== Crafting ===
{{Crafting
|head=1
|B1= Stick
|A2= Stick
|B2= Coal; Charcoal
|C2= Stick
|A3= Any Log or Stem; Any Stripped Log or Stem; Any Wood or Hyphae; Any Stripped Wood or Hyphae
|B3= Any Log or Stem; Any Stripped Log or Stem; Any Wood or Hyphae; Any Stripped Wood or Hyphae
|C3= Any Log or Stem; Any Stripped Log or Stem; Any Wood or Hyphae; Any Stripped Wood or Hyphae
|Output= Campfire
|type= Decoration block
}}
{{Crafting
|foot=1
|B1= Stick
|A2= Stick
|B2= Soul Sand; Soul Soil
|C2= Stick
|A3= Any Log or Stem; Any Stripped Log or Stem; Any Wood or Hyphae; Any Stripped Wood or Hyphae
|B3= Any Log or Stem; Any Stripped Log or Stem; Any Wood or Hyphae; Any Stripped Wood or Hyphae
|C3= Any Log or Stem; Any Stripped Log or Stem; Any Wood or Hyphae; Any Stripped Wood or Hyphae
|Output= Soul Campfire
|type= Decoration block
}}
=== Trading ===
{{IN|bedrock}}, apprentice-level fisherman [[villager]]s have a 50% chance of selling a campfire for 5 [[emerald]]s.
{{IN|java}}, apprentice-level fisherman villagers have a {{frac|2|3}} chance of selling a campfire for 2 [[emerald]]s.
== Usage ==
Lit campfires emit a light level of 15 and lit soul campfires emit a light level of 10. Unlike [[fire]], campfires do not spread under any circumstances.
Campfires are lit by default when placed. Campfires can be manually lit by {{control|using}} or [[Dispenser|dispensing]] [[flint and steel]] on them, shooting it with a flaming arrow, or using or dispensing fire charges, blaze fireballs, and ghast fireballs when {{cmd|gamerule|mobGriefing}} is true. {{IN|bedrock}}, campfires can also be lit by {{control|using}} an item enchanted with [[fire aspect]], or stepping on it while burning.
Campfires can be extinguished by [[waterlogging]] it (placing [[water]] in the same block space), throwing a [[splash water bottle]] on it, or {{control|using}} a [[shovel]] on it. {{IN|bedrock}}, campfires can also be extinguished by placing a water source or allowing water to flow in the space above the campfire. As with [[torches]], rain does not extinguish campfires.<ref>{{bug|MC-141920||Rain doesn't put out campfire|Works as Intended}}</ref>
Using [[flint and steel]] on the side of a waterlogged or lit campfire sets the adjacent air block on fire instead.
Any items cooking on a campfire always drop when the campfire block is broken.
=== Particles and smoke signals ===
[[File:Campfire with smoke.gif|thumb|Campfire emitting smoke.]]
Campfires produce smoke particles that float up around 10 blocks before disappearing. If a [[hay bale]] is placed below, the campfire becomes a signal fire and the smoke floats up 24 blocks instead.
Campfire smoke particles can partially pass through a block directly above it, but do not pass through blocks more than one block directly above it.
Although a trap door is thinner than a slab, a trap door can block the smoke completely, preventing the smoke from floating up.
Campfires emit extra smoke particles during rain, similar to [[lava]].
Campfires also emit occasional ember particles, similar to lava. Soul campfires, however, do not emit embers.<ref>{{bug|MC-185482||Soul campfires do not emit ember particles|Works as Intended}}</ref>
=== Damage ===
Campfires damage [[mob]]s standing on top of them even if underwater (with exceptions such as [[shulker]]s, [[zombified piglin]]s or [[guardian]]s), but only if lit. Campfires deal {{hp|1}} and soul campfires deal {{hp|2}} of damage every tick (although [[damage immunity]] reduces this to once every half-second) Campfires do not cause lasting burning or destroy items. Damage taken is considered [[Damage#Fire|fire damage]] and is reduced by [[armor]] (which loses [[Item durability#Armor durability|durability]]), the [[Resistance]] potion effects, and the [[Protection]] and [[Fire Protection]] enchantments. The player can avoid being damaged at all, either by using a [[potion of fire resistance]] or wearing [[Frost Walker]] boots.
Regardless of [[Solid block#Height|height]], all blocks prevent damage done to mobs or players above campfires. The campfire deals damage only to entities occupying its block.
=== Cooking ===
[[File:Campfire (Cooking).gif|thumb]]
The player can place {{tooltip|raw food|raw beef, raw chicken, raw rabbit, raw porkchop, raw mutton, raw cod, raw salmon, potato, kelp}} on a lit campfire by {{control|using}} the food item on it. Up to four food items can be placed on a single campfire, which cooks the items simultaneously. Unlike other blocks that can cook food, campfires do not require any kind of fuel to cook. On a campfire, foods produce small smoke particles, indicating they are being cooked. Food items take 30 seconds (600 [[tick]]s) to cook, compared to 10 seconds for [[furnace]]s or 5 seconds for [[smoker]]s. Assuming that one uses all four slots to cook at once, the Campfire is, therefore, more efficient than furnaces (taking 10 seconds less per four items and no fuel) for cooking, but must be watched so as to pick up the food and refill it once it is done. It is slower than a smoker by about ten seconds, but its lack of fuel consumption could be seen as a worthwhile trade-off. Once finished cooking, items pop off the campfire. If the campfire is extinguished while cooking food, it resets as if it had not been cooked at all. Food items can be placed on an unlit campfire.
Other items can be placed on campfires using external editors, mods or add-ons.
=== Hoppers ===
Campfires do not have an [[Inventory#External inventories|external inventory]]. Raw food cannot be loaded into the campfire with a [[hopper]].
A hopper placed directly underneath a campfire pulls through any items dropped into the campfire. Any drops from a mob that dies in the campfire get pulled into the hopper.
=== Bees ===
Placing a campfire under a [[beehive]] or [[bee nest]] allows players to harvest [[honey bottle]]s or [[honeycomb]] without provoking the [[bee]]s.
There must be unobstructed air between the campfire and the beehive or bee nest. [[Carpet]]s are an exception.{{only|JE}}
=== Piglins ===
Lit soul campfires repel [[piglin]]s that are not currently attacking. This occurs when the [[piglin]] is within an 8 block radius of the soul campfire.
=== Light source ===
Standard lit campfires emit a light level of 15, while soul campfires emit a light level of 10. Like most other sources of light, campfires melt nearby [[snow]] and [[ice]]. Due to their lower light level, soul campfires do not melt snow or ice.
=== Note blocks ===
Campfires can be placed under [[note block]]s to produce "bass" sounds.
=== Converting soul sand to soul soil ===
Soul campfires can be used to convert [[soul sand]] into [[soul soil]]. If a soul campfire is crafted using soul sand, placed, and then broken without [[Silk Touch]], that soul campfire drops soul soil.<ref>{{bug|MC-178579||Soul campfires can be used to convert soul sand into soul soil|Works as Intended}}</ref>
=== Piston interactivity ===
{{IN|BE}}, pushing a campfire or soul campfire with a [[piston]] or [[sticky piston]] breaks it. Unlike other methods, breaking with a piston drops only one [[charcoal]] instead of two. Campfires cannot be pulled by sticky pistons.
{{IN|JE}}, pistons do not interact with campfires. Campfires neither move nor break when pushed or pulled by pistons.
== Sounds ==
=== Generic ===
{{Sound table/Block/Wood}}
=== Unique ===
{{edition|java}}:
{{Sound table
|sound=Campfire crackle1.ogg
|sound2=Campfire crackle2.ogg
|sound3=Campfire crackle3.ogg
|sound4=Campfire crackle4.ogg
|sound5=Campfire crackle5.ogg
|sound6=Campfire crackle6.ogg
|subtitle=Campfire crackles
|source=block
|description=Randomly while lit
|id=block.campfire.crackle
|translationkey=subtitles.block.campfire.crackle
|volume=0.5-1.5
|pitch=0.6-1.3
|distance=16}}
{{Sound table
|sound=Flint and steel click.ogg
|subtitle=Flint and steel click
|source=block
|description=When a campfire is lit with a flint and steel
|id=item.flintandsteel.use
|translationkey=subtitles.item.flintandsteel.use
|volume=1.0
|pitch=0.8-1.2
|distance=16}}
{{Sound table
|sound=Ghast fireball4.ogg
|subtitle=Fireball whooshes
|source=block
|description=When a campfire is lit with a fire charge
|id=item.firecharge.use
|translationkey=subtitles.item.firecharge.use
|volume=1.0
|pitch=0.8-1.2
|distance=16}}
{{Sound table
|rowspan=2
|sound=Fizz.ogg
|subtitle=Fire extinguishes
|source=block
|description=When a campfire is extinguished with water
|id=entity.generic.extinguish_fire
|translationkey=subtitles.entity.generic.extinguish_fire
|volume=1.0
|pitch=1.0
|distance=16}}
{{Sound table
|subtitle=Fire extinguished
|source=block
|description=When a campfire is extinguished
|id=block.fire.extinguish
|translationkey=subtitles.block.fire.extinguish
|volume=0.5
|pitch=2.0
|distance=16
|foot=1}}
{{edition|bedrock}}:
{{Sound table
|type=bedrock
|sound=Campfire crackle1.ogg
|sound2=Campfire crackle2.ogg
|sound3=Campfire crackle3.ogg
|sound4=Campfire crackle4.ogg
|sound5=Campfire crackle5.ogg
|sound6=Campfire crackle6.ogg
|source=block
|description=Randomly while lit
|id=block.campfire.crackle
|volume=1.0 {{Until|BE 1.19.80}}<br>0.5-1.5 {{Upcoming|BE 1.19.80}}
|pitch=1.0 {{Until|BE 1.19.80}}<br>0.6-1.3 {{Upcoming|BE 1.19.80}}}}
{{Sound table
|sound=Flint and steel click.ogg
|source=block
|description=When a campfire is lit
|id=fire.ignite
|volume=1.0
|pitch=0.8-1.2}}
{{Sound table
|sound=Ghast fireball4.ogg
|source=hostile
|description=When a campfire is lit with a fire charge
|id=mob.ghast.fireball
|volume=1.0
|pitch=1.0}}
{{Sound table
|sound=Fizz.ogg
|source=block
|description=When a campfire is extinguished
|id=random.fizz
|volume=0.5
|pitch=1.8-2.4
|foot=1}}
== Data values ==
=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|showblocktags=y
|showforms=y
|generatetranslationkeys=y
|displayname=Campfire
|spritetype=block
|nameid=campfire
|blocktags=campfires}}
{{ID table
|displayname=Soul Campfire
|spritetype=block
|nameid=soul_campfire
|blocktags=campfires, piglin_repellents
|itemtags=piglin_repellents
|foot=1}}
{{ID table
|displayname=Block entity
|spritename=campfire
|spritetype=block
|nameid=campfire
|foot=1}}
{{edition|bedrock}}:
{{ID table
|edition=bedrock
|firstcolumnname=Campfire
|shownumericids=y
|showforms=y
|generatetranslationkeys=y
|displayname=Normal block
|spritename=campfire
|spritetype=block
|nameid=campfire
|id=464
|form=block
|itemform=item.campfire}}
{{ID table
|displayname=Normal item
|spritename=campfire
|spritetype=item
|nameid=campfire
|id=589
|form=item
|translationkey=tile.campfire.name}}
{{ID table
|displayname=Soul block
|spritename=soul-campfire
|spritetype=block
|nameid=soul_campfire
|id=545
|form=block
|itemform=item.soul_campfire}}
{{ID table
|displayname=Soul item
|spritename=soul-campfire
|spritetype=item
|nameid=soul_campfire
|id=622
|form=item
|translationkey=tile.soul_campfire.name
|foot=1}}
{{ID table
|notnamespaced=y
|displayname=Block entity
|spritename=campfire
|spritetype=block
|nameid=Campfire
|foot=1}}
=== Block states ===
{{see also|Block states}}
{{/BS}}
=== Block data ===
A campfire has a [[block entity]] associated with it that holds additional data about the [[block]].
{{el|java}}:
{{see also|Block entity format}}
{{/BE}}
{{el|bedrock}}:
: See [[Bedrock Edition level format/Block entity format]].
== Achievements ==
{{load achievements|Bee our guest}}
== Advancements ==
{{Load advancements|Bee Our Guest}}
== History ==
{{History||September 26, 2018|link={{tweet|minecraft|1044587405779451906}}|Campfires are announced to be part of the [[biome]] vote at [[MINECON Earth 2018]].}}
{{History||September 29, 2018|link={{ytl|HoMDyRqMNMA}}|Campfires are showcased at [[MINECON Earth 2018]].}}
{{History||September 29, 2018|link={{tweet|minecraft|1046097775199498325}}|[[Taiga]] wins the [[biome]] vote, meaning campfires are to be added to the game in [[Java Edition 1.14|1.14]].}}
{{History|java}}
{{History||1.14|snap=19w02a|[[File:Campfire JE1 BE1.gif|32px]] [[File:Unlit Campfire JE1 BE1.png|32px]] Added campfires.}}
{{History|||snap=19w03a|[[File:Campfire (item) JE1 BE1.png|32px]] [[File:Campfire JE2 BE2.gif|32px]] [[File:Unlit Campfire JE2 BE2.png|32px]] The [[model]] and texture of the campfire have been changed.
|Lit campfires now produce spark [[particles]].
|The [[light]] level of campfires has been changed from 9 to 15.
|Campfires are now directionally placed.
|Lit campfires produce smoke plume [[particles]] more often.}}
{{History|||snap=19w04a|Campfires now spawn in [[taiga]] [[village]]s on the ground and inside chimneys.
|Crouching on a campfire no longer prevents the player from taking damage from it.<ref>{{Bug|MC-141913||Sneaking on a campfire prevents damage|Fixed}}</ref>}}
{{History|||snap=19w08a|Campfires can now be extinguished by [[splash water bottle]]s.}}
{{History|||snap=19w11a|Fisherman [[villager]]s now [[trading|sell]] campfires.}}
{{History||1.14.1|snap=Pre-Release 2|Campfires can now be lit by flaming [[arrow]]s.}}
{{History||1.14.2|snap=Pre-Release 1|Flaming arrows can no longer light [[waterlogging|waterlogged]] campfires.}}
{{History||1.15|snap=19w34a|Campfires under [[bee nest]]s and [[bee hive]]s now prevent [[bee]]s from aggravating toward [[player]]s who harvest them.}}
{{History|||snap=19w37a|Campfires can now be extinguished using a [[shovel]].}}
{{History|||snap=19w42a|Campfires can now be lit by small [[fireball]]s.}}
{{History||1.16|snap=20w11a|Campfires can now be lit by any burning [[projectile]].}}
{{History|||snap=20w13a|Campfires can now be [[crafting|crafted]] using [[stems]] and [[hyphae]].}}
{{History|||snap=20w15a|[[File:Soul Campfire (item) JE1 BE1.png|32px]] [[File:Soul Campfire.gif|32px]] Added soul campfires.}}
{{History|||snap=20w22a|Campfires now [[drops|drop]] the [[food]] being cooked when they are put out with a [[shovel]] or [[water bottle]].}}
{{History|||snap=Pre-release 3|[[File:Unlit Campfire with foods on it.png|32px]] Food can now be placed on unlit campfires. However, due to a bug,<ref>{{Bug|MC-188448||Food pops off of campfire when extinguished|Fixed}}</ref> food pops off of campfires when extinguished.}}
{{History||1.17|snap=20w46a|Food no longer pops off of campfires when extinguished.}}
{{History||1.18|snap=21w41a|[[File:Campfire (item) JE2.png|32px]] [[File:Soul Campfire (item) JE2.png|32px]] Changed campfire and soul campfire textures as items.}}
{{History||1.19|snap=22w13a|Campfires now generate in camps inside [[ancient city|ancient cities]].}}
{{History||1.19.4|snap=23w07a|The soul campfire recipes are no longer unlocked by [[stick]]s.<ref>{{bug|MC-238920}}</ref>}}
{{History||1.20<br>(Experimental)|link=1.19.4|snap=1.19.4-pre1|Cherry logs, wood, and their stripped variations can now used to craft campfire and soul campfire.<ref>{{bug|MC-260149}}</ref>}}
{{History|bedrock}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Campfire JE1 BE1.gif|32px]] [[File:Unlit Campfire JE1 BE1.png|32px]] Added campfires.
|Campfires are available only through [[Experimental Gameplay]].}}
{{History||1.11.0|snap=beta 1.11.0.1|Campfires have been fully implemented.
|[[File:Campfire_(item)_JE1_BE1.png|32px]] [[File:Campfire JE2 BE2.gif|32px]] [[File:Unlit Campfire JE2 BE2.png|32px]] The [[model]] and texture of the campfire have been changed.}}
{{History|||snap=beta 1.11.0.4|Campfires can now be [[trading|bought]] from fishermen [[villager]]s.}}
{{History||1.13.0|snap=?|Campfires now emit embers similar to [[lava]].}}
{{History||1.14.0|snap=beta 1.14.0.1|Campfires under [[bee nest]]s and [[beehive]]s now prevent [[bee]]s from aggravating toward [[player]]s who harvest them.}}
{{History||1.16.0|snap=beta 1.16.0.57|[[File:Soul_Campfire_(item)_JE1_BE1.png|32px]] [[File:Soul Campfire.gif|32px]] Added soul campfires.}}
{{History||1.16.20|snap=beta 1.16.20.50|Soul campfires now emit [[light]] level of 10.}}
{{History||1.16.100|snap=beta 1.16.100.54|Soul campfires now deal double the damage that normal campfires deal.|Soul campfires now drop [[Soul Soil]] instead of [[Charcoal]] when mined.}}
{{History||1.17.30|snap=beta 1.17.30.23|Campfires are now stackable in the inventory.}}
{{History||1.18.10|snap=beta 1.18.10.20|[[File:Campfire (item) JE2.png|32px]] [[File:Soul Campfire (item) JE2.png|32px]] Changed campfire and soul campfire textures as items.}}
{{History||1.19.60|snap=beta 1.19.60.23|Campfires no longer set players and mobs on fire.}}
{{History||1.19.80|snap=beta 1.19.80.22|Campfires now damage mobs standing on top of them.}}
{{History||1.20.30|snap=beta 1.20.30.20|Campfires now use the <code>minecraft:cardinal_direction</code> [[block state]] instead of <code>direction</code>.}}
{{History|console}}
{{History||ps=1.91|[[File:Campfire_(item)_JE1_BE1.png|32px]] [[File:Campfire JE2 BE2.gif|32px]] [[File:Unlit Campfire JE2 BE2.png|32px]] Added campfires.}}
{{History|foot}}
== Issues ==
{{Issue list}}
== Gallery ==
<gallery>
Cozy Cabin Smoke.jpg|Campfire smoke coming out of a cozy cabin.
Cozy Cabin Campfire.jpg|Campfire near a cozy cabin.
1.14 Dev Campfire.jpg|Dev screenshot.
Campfire in taiga village.png|A few naturally generating campfires in a [[taiga]] biome [[village]].
Campfire with hay bale vs without.png|A comparison between a campfire with a [[hay bale]] below it (left) and one without (right).
Campfire Particles.png|The number of particles depends on the height of the top block.
Campfire cooking.png|Cooking porkchops with a campfire.
Campfire (cooking) JE1 BE1.gif|Cooking with a campfire in [[Java Edition 19w02a]].
</gallery>
== References ==
{{reflist}}
{{Blocks|Utility}}
{{Items}}
[[Category:Utility blocks]]
[[Category:Manufactured blocks]]
[[Category:Generated structure blocks]]
[[Category:Block entities]]
[[Category:Storage]]
[[Category:Light sources]]
[[de:Lagerfeuer]]
[[fr:Feu de camp]]
[[ja:焚き火]]
[[ko:모닥불]]
[[pl:Ognisko]]
[[pt:Fogueira]]
[[ru:Костёр]]
[[th:แคมป์ไฟ]]
[[zh:营火]]</li></ul> | 17w43a | Custom functions have been moved into data packs. | |||
| 17w45a | Functions are now completely parsed and cached on load. | ||||
| 17w49b | Function can now be tagged. | ||||
Functions tagged in minecraft:tick now run every tick in the beginning of the tick. | |||||
Issues
Issues relating to "Function (Java Edition)" are maintained on the bug tracker. Report issues there.
References
- ↑ "Until vanilla adds something with the same name, then it won't work for you! Or if someone else has to work with your stuff, then confusing!" – @Dinnerbone (Nathan Adams) on X, June 21, 2017