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]/data/functions[upcoming]. 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. 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 functions/custom/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.
Position changes that happen within a function will not affect the relative coordinates used in other commands within that function (or within its child functions) until the next iteration, regardless of the order of commands. The /execute command circumvents this.
For example:
tp @s ~ ~5 ~ setblock ~ ~-1 ~ emerald_block execute @s ~ ~ ~ setblock ~ ~-1 ~ diamond_block
Note - the third line syntax is invalid when used in a datapack in version 1.13 snapshot
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 position arguments within selectors, which will always test for the current position at the time of execution.
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>
- Runs a function every tick.
- The commands in the function are run through the server.
- The coordinates from which the "server" executes commands are (0, 0, 0).
- If multiple functions need to be looped, it is possible to insert function commands into this looped function file, put function commands in those functions, etc.
- Usage:
/gamerule gameLoopFunction <namespace:path/to/function/file> - To stop the loop just point gameLoopFunction to a non-existing function:
/gamerule gameLoopFunction -, this value is also the default.
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[upcoming: Lua error in Module:Version_link at line 112: attempt to concatenate local 'text' (a nil value).]
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
| release | |||||
|---|---|---|---|---|---|
1.12{{Extension DPL}}<ul><li>[[Debug Stick|Debug Stick]]<br/>{{about|the item|other uses|Debug}}
{{exclusive|java}}
{{Item
| image = Debug Stick.gif
| rarity = Epic
| renewable = No
| stackable = No
}}
The '''debug stick''' is an [[item]] used to edit the [[block states]] of [[block]]s. It is visually identical to a regular [[stick]], but with a glint (as if [[Enchanting|enchanted]]).
== Obtaining ==
The debug stick is obtainable via [[commands]] such as {{cmd|/give}} or {{Cmd|/item}}, or the Creative inventory if the player has the appropriate permissions. It can be obtained only in worlds with cheats on.
== Usage ==
The debug stick can be used to change block states. {{control|Hitting}} the block allows players to select the block state key they wish to change, for an example, switching between the ''conditional'' and the ''facing'' block state keys for a [[command block]]. {{control|Using}} the block allows them to cycle through the valid values for the block state key, again as an example, the player can make the command block face, ''down'', ''east'', ''north'', ''south'', ''up'', or ''west'' if they chose the ''facing'' block state key. {{control|Sneaking}} while {{control|hitting}} or {{control|using}} cycles through the block state keys or values in reverse order.
It is notable that {{Control|using}} debug stick directly on an interactive block without {{Control|sneaking}} uses the block itself instead of the stick.<ref>{{bug|MC-200199}} </ref>
The debug stick cannot be used while in Survival or Adventure mode. It works only in creative mode with cheats enabled. In modes other than Creative, it acts like a regular item — although when {{control|using}} it on a block, the player swings the stick as if interacting with it (but nothing happens).
== Data values ==
=== ID ===
{{ID table
|edition=java
|showforms=y
|generatetranslationkeys=y
|displayname=Debug Stick
|spritetype=item
|nameid=debug_stick
|form=item
|foot=1}}
=== Item data ===
<div class="treeview">
* {{nbt|compound|tag}}: The item's '''tag''' tag.
{{:Player.dat_format/Debug Sticks}}
</div>
== History ==
{{History|java}}
{{History||1.13|snap=17w47a|[[File:Debug Stick.gif|32px]] Added debug sticks.}}
{{History||1.16|snap=20w10a|Debug sticks are now capable of editing [[fire]] due to its added hitbox.}}
{{History||1.19.3|snap=22w44a|The debug stick is now available in the creative inventory, but only if cheats are enabled.}}
{{History|||snap=22w45a|Moved the debug stick 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|foot}}
== Issues ==
The debug stick is not supported, and any issues resulting of its usage are closed as "Won't Fix" in the issue tracker.<br/> Issues with the stick itself are considered valid.<ref>https://bugs.mojang.com/browse/MC-122323?focusedCommentId=419481&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-419481</ref><ref>{{reddit|7es23r||Just be aware that any weird state you create with it you cannot naturally create and any bugs that come from it will be shot down as 'Wont fix' :D|_Grum|November 22, 2017}}</ref>
{{issue list}}
== Trivia ==
*An [[add-on]] made by Mineplex was showcased in [[MINECON Live 2019]], which had an editor stick for {{el|be}}, similar to the Debug Stick.<ref>{{ytl|OZqNaEX8208|MINECON Live 2019 @ 1:05:02|Minecraft|September 28, 2019|t=3902}}</ref>
== Gallery ==
<gallery>
Technically Updated.jpg|Artwork of Steve and Alex wielding debug sticks.
</gallery>
== See also ==
*[[Block states]]
== References ==
{{Reflist}}
{{Items}}
[[Category:Non-renewable resources]]
[[de:Debug-Stab]]
[[es:Palo de depuración]]
[[fr:Bâton de débogage]]
[[ja:デバッグ棒]]
[[ko:디버그 막대기]]
[[pl:Patyk debugujący]]
[[pt:Graveto de depuração]]
[[ru:Палка отладки]]
[[zh:调试棒]]</li><li>[[Poisonous Potato|Poisonous Potato]]<br/>{{Item
| title = Poisonous Potato
| image = Poisonous Potato.png
| heals = {{hunger|2}}
|effects={{EffectLink|Poison}} (0:05) (60% chance)
| stackable = Yes (64)
| renewable = Yes
}}
A '''poisonous potato''' is a type of [[potato]] that can [[poison]] the [[player]].
== Obtaining ==
The poisonous potato is a rare [[drop]] when harvesting (destroying) [[potato|potato crops]]; a fully grown plant has a 2% chance of dropping one in addition to the 2-5 regular potatoes.
=== Chest loot ===
{{LootChestItem|poisonous-potato}}
== Usage ==
Poisonous potatoes cannot be planted on [[farmland]] or [[Baked Potato|baked]]. They also have no use with the [[composter]].<ref>{{bug|MC-142373|resolution=WAI}}</ref>
=== Food ===
{{see also|Tutorials/Hunger management|title1=Hunger management}}
To eat a poisonous potato, press and hold {{control|use}} while it is selected in the hotbar. Eating one restores {{hunger|2}} [[hunger]] and 1.2 hunger [[Hunger#Mechanics|saturation]] and has a 60% chance of applying 5 seconds of [[Poison]] II, draining {{hp|4|poisoned=1}} points of [[health]].
Interestingly, a poisonous potato actually restores double the hunger and saturation than a normal, unpoisoned potato. (A normal potato gives {{hunger|1}} hunger and 0.6 saturation points.)
==Sounds==
{{Sound table/Entity/Food}}
== Advancements ==
{{load advancements|Husbandry;A Balanced Diet}}
== Data values ==
=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|showforms=y
|generatetranslationkeys=y
|displayname=Poisonous Potato
|spritetype=item
|nameid=poisonous_potato
|form=item
|foot=1}}
{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Poisonous Potato
|spritetype=item
|nameid=poisonous_potato
|id=282
|form=item
|foot=1}}
== History ==
{{History|java}}
{{History||1.4.2|snap=12w34a|[[File:Poisonous Potato JE1 BE1.png|32px]] Added poisonous potatoes.}}
{{History||1.13|snap=17w47a|Prior to [[Java_Edition_1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 394.}}
{{History|||snap=18w11a|Poisonous potatoes now generate in the [[chest]]s of [[shipwreck]]s.}}
{{History||1.14|snap=18w43a|[[File:Poisonous Potato JE2.png|32px]] The texture of poisonous potatoes has been changed.}}
{{History|||snap=18w50a|[[File:Poisonous Potato JE3 BE2.png|32px]] The texture of poisonous potatoes has been changed, once again.}}
{{History|pocket alpha}}
{{History||v0.12.1|snap=build 1|[[File:Poisonous Potato JE1 BE1.png|32px]] Added poisonous potatoes.}}
{{History|bedrock}}
{{History||1.4.0|snap=beta 1.2.14.2|Poisonous potatoes can now be found inside of [[shipwreck]] [[chest]]s.}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Poisonous Potato JE3 BE2.png|32px]] The texture of poisonous potatoes has been changed.}}
{{History|console}}
{{History||xbox=TU14|xbone=CU1|ps=1.04|wiiu=Patch 1|switch=1.0.1|[[File:Poisonous Potato JE1 BE1.png|32px]] Added poisonous potatoes.}}
{{History||xbox=none|xbone=none|ps=1.90|wiiu=none|switch=none|[[File:Poisonous Potato JE3 BE2.png|32px]] The texture of poisonous potatoes has been changed.}}
{{History|New 3DS}}
{{History||0.1.0|[[File:Poisonous Potato JE1 BE1.png|32px]] Added poisonous potatoes.}}
{{History|foot}}
== Issues ==
{{issue list}}
== References ==
{{reflist}}
{{Items}}
[[Category:Plants]]
[[cs:Jedovatá brambora]]
[[de:Giftige Kartoffel]]
[[es:Patata envenenada]]
[[fr:Pomme de terre empoisonnée]]
[[hu:Mérgező burgonya]]
[[it:Patata velenosa]]
[[ja:青くなったジャガイモ]]
[[ko:독이 있는 감자]]
[[nl:Giftige aardappel]]
[[pl:Trujący ziemniak]]
[[pt:Batata venenosa]]
[[ru:Ядовитый картофель]]
[[th:มันฝรั่งพิษ]]
[[uk:Отруйна картопля]]
[[zh:毒马铃薯]]
[[Category:Food]]
[[Category:Renewable resources]]</li></ul> | 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. | ||||
| upcoming | |||||
1.13{{Extension DPL}}<ul><li>[[Apple|Apple]]<br/>{{for}}
{{Item
| title = Apple
| image = Apple.png
| renewable = Yes
| heals = {{hunger|4}}
| stackable = Yes (64)
}}
'''Apples''' are [[food]] items that can be eaten by the [[player]].
== Obtaining ==
=== Block loot ===
Oak and dark oak [[leaves]] have 0.5% ({{frac|1|200}}) chance of dropping an apple when decayed or broken, but not if burned. Breaking leaves with a [[tool]] enchanted with the [[Fortune]] enchantment increases the chances of dropping an apple: 0.556% ({{frac|1|180}}) with Fortune I, 0.625% ({{frac|1|160}}) with Fortune II, and 0.833% ({{frac|1|120}}) with Fortune III.
=== Chest loot ===
{{LootChestItem|apple}}
=== Trading ===
Apprentice-level [[Trading#Farmer|farmer]] [[Villager|villagers]] have a 50% ({{frac|1|2}}){{only|bedrock}} or 66.7% ({{frac|2|3}}){{only|java}} chance of selling 4 apples as part of their trades.
== Usage ==
{{see also|Tutorials/Hunger management|title1=Hunger management}}
To eat an apple, press and hold {{control|use}} while it is selected in the hotbar. Eating one restores {{hunger|4}} [[hunger]] and 2.4 [[Hunger#Mechanics|saturation]].
=== Crafting ingredient ===
{{crafting usage}}
=== Composting ===
Placing an apple into a [[composter]] has a 65% ({{frac|13|20}}) chance of raising the compost level by 1.
== Sounds ==
{{Sound table/Entity/Food}}
== Data values ==
=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|showforms=y
|generatetranslationkeys=y
|displayname=Apple
|spritetype=item
|nameid=apple
|form=item
|foot=1}}
{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Apple
|spritetype=item
|nameid=apple
|id=257
|form=item
|foot=1}}
== Advancements ==
{{load advancements|Husbandry;A Balanced Diet}}
== History ==
{{History|java indev}}
{{History||0.31|snap=20091231-2|[[File:Apple JE1 BE1.png|32px]] Added apples.
|Apples are currently non-functional in this version.}}
{{History|||snap=20100110|Apples are now functional and are edible, restoring {{hp|2}}. They are intended to replace [[mushroom]]s, which were previously edible.}}
{{History|||snap=20100128|Apples now used to [[craft]] [[arrow]]s.}}
{{History|||snap=20100129|Apples no longer used to craft [[arrow]]s.}}
{{History||20100206|Apples now use the texture of [[golden helmet]]s.}}
{{History|java infdev}}
{{History||February 23, 2010|link=none|At the bottom of a [[crafting]] guide they made, a player named JTE jokingly indicated that [[Notch]] dropped an apple when killed, and that apples could be crafted into something called a "[[golden apple]]" – this was a joke on the fact that apples were totally unobtainable.<ref>http://www.minecraftforum.net/topic/2750582-the-secret-history-of-minecraft/</ref><ref name="JTECraftingGuide">https://echidnatribe.org/Minecraft/crafting.php (This is an unofficial recreation with the original domain)</ref>}}
{{History||20100227-1|Players named "[[Notch]]" now drop an apple when they die in addition to their [[inventory]].
|Apples are now used to craft golden apples.
|Apples now correctly use the apple texture again.}}
{{History||20100327|With the addition of the respawn feature, apples have become legitimately obtainable in Survival and renewable for players named "Notch".}}
{{History|java beta}}
{{History||1.8|snap=Pre-release|Apples can now be found in the new [[stronghold]] storeroom [[chest]]s, making them obtainable in normal [[Survival]] gameplay for the first time.
|Apples now restore {{hunger|4}} instead of {{hp|4}}.
|Apples are now stackable.}}
{{History|java}}
{{History||1.0.0|snap=Beta 1.9 Prerelease 3|Apples are now found in the new stronghold altar chests.}}
{{History||1.1|snap=11w48a|Oak [[leaves]] now have a 1/200 chance of dropping an apple when destroyed, making apples fully [[renewable]].}}
{{History|||snap=12w01a|Apples are now found in the new [[village]] blacksmith chests.}}
{{History||1.3.1|snap=12w16a|Apples can now be found in the new [[bonus chest]]s.}}
{{History|||snap=12w18a|"[[Notch]]" players no longer drop apples when they die.}}
{{History|||snap=12w21a|Farmer [[villager]]s now [[trade|sell]] 5 apples for 1 [[emerald]].
|Apples are now used to craft [[enchanted golden apple]]s.}}
{{History||1.4.2|snap=12w37a|[[File:Apple JE2 BE2.png|32px]] The apple's texture has been changed: the [[item]] sprite no longer has a dark outline and now has a more detailed look.}}
{{History||1.5|snap=13w09b|The [[Fortune]] enchantment now increases the chance of dropping apples.}}
{{History||1.7.2|snap=13w43a|Added [[dark oak]] leaves, which drop apples.}}
{{history||1.9|snap=15w43a|Apples may now be found in [[igloo]] basement chests.}}
{{history|||snap=15w44a|Average yield of apples has been slightly increased in bonus chests.
|Apples can no longer be used to craft enchanted golden apples.}}
{{History||1.11|snap=16w33a|Farmer villagers now sell 5–7 apples for 1 emerald.}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], this item's numeral ID was 260.}}
{{History||1.14|snap=18w43a|[[File:Apple JE3 BE3.png|32px]] The texture of apples has been changed.}}
{{History|||snap=18w48a|Apples can now be found in [[chest]]s in [[plains]] village houses.}}
{{History|||snap=19w03a|Placing an apple into the new [[composter]] has a 50% chance of raising the compost level by 1.}}
{{History|||snap=19w05a|Apples now have a 65% chance of increasing the compost level in a composter by 1.}}
{{History|pocket alpha}}
{{History||v0.4.0|[[File:Apple JE1 BE1.png|32px]] Added apples.}}
{{History||v0.5.0|Apples now restore {{hp|4}} instead of {{hp|2}}.}}
{{History||v0.8.0|snap=build 1|[[File:Apple JE2 BE2.png|32px]] The apple's texture has been changed: the item sprite no longer has a dark outline and now has a more detailed look.}}
{{History||v0.12.1|snap=build 1|Added apples to the [[Creative inventory]].
|Apples are now stackable.
|Apples now restore {{hunger|4}} instead of {{hp|4}}.
|The [[Fortune]] [[enchantment]] can now be used to increase chance of dropping apples.
|Apples can now be used to craft golden apples and enchanted golden apples.}}
{{History||v0.15.0|snap=build 1|Apples can now be used to feed [[horse]]s.}}
{{History|pocket}}
{{History||1.0.0|snap=alpha 0.17.0.1|Apples can now be found inside [[igloo]] chests.}}
{{History||1.0.4|snap=alpha 1.0.4.0|Farmer villagers now sell 5-7 apples for 1 emerald.}}
{{History|bedrock}}
{{History||1.2.0|snap=beta 1.2.0.2|Apples can no longer be used to craft enchanted golden apples.
|Apples can now be found inside bonus chests.}}
{{History||1.10.0|snap=beta 1.10.0.3|Apples can now be found in [[plains]] village weaponsmith chests and plains house chests.
|[[File:Apple JE3 BE3.png|32px]] The texture of apples has been changed.}}
{{History||1.11.0|snap=beta 1.11.0.1|Apples can now be found in [[desert]], [[savanna]], [[taiga]] and [[snowy taiga]] village weaponsmith chests.
|Apples can now be used to fill up composters.}}
{{History|||snap=beta 1.11.0.4|Farmer villagers now sell 4 apples as part of their second tier trades.}}
{{History|console}}
{{History||xbox=TU1|wiiu=Patch 1|[[File:Apple JE1 BE1.png|32px]] Added apples.}}
{{History||xbox=TU5|Apples are now stackable.
|Apples now restore {{hunger|4}} instead of {{hp|4}}.}}
{{History||xbox=TU12|ps=1.03|[[File:Apple JE2 BE2.png|32px]] The apple's texture has been changed: the item sprite no longer has a dark outline and now has a more detailed look.}}
{{History||xbox=none|xbone=none|ps=1.90|wiiu=none|switch=none|[[File:Apple JE3 BE3.png|32px]] The texture of apples has been changed.}}
{{History|New 3DS}}
{{History||0.1.0|[[File:Apple JE2 BE2.png|32px]] Added apples.}}
{{History|foot}}
== Issues ==
{{issue list}}
== Trivia ==
*Prior to the texture update in Java Edition 1.4.2, the sprite of the apple was the same one used in [[Notch]]'s game ''[[Legend of the Chambered]]''.
*Before it was added to ''Minecraft'', apples dropping from trees was already a feature in ''[[Minicraft]]''.
== Gallery ==
<gallery>
Apple in Stronghold.png|An apple found in a stronghold chest.
Apple Item.png|An apple that dropped from decaying leaves.
Obtaining an apple by trading.png|Obtaining apples via villager trading.
File:Candy Apple (Trails and Tales Summer Event) Render.png|The Candy Apple, an item featured in the [[Trails & Tales Event]].
</gallery>
== References ==
{{reflist}}
== External Links ==
*[https://www.minecraft.net/en-us/article/taking-inventory-apple Taking Inventory: Apple] – Minecraft.net on November 23, 2018
{{items}}
[[Category:Plants]]
[[Category:Food]]
[[Category:Renewable resources]]
[[cs:Jablko]]
[[de:Apfel]]
[[es:Manzana]]
[[fr:Pomme]]
[[hu:Alma]]
[[it:Mela]]
[[ja:リンゴ]]
[[ko:사과]]
[[nl:Appel]]
[[pl:Jabłko]]
[[pt:Maçã]]
[[ru:Яблоко]]
[[th:แอปเปิ้ล]]
[[uk:Яблуко]]
[[zh:苹果]]</li><li>[[Popped Chorus Fruit|Popped Chorus Fruit]]<br/>{{Item
| image = Popped Chorus Fruit.png
| renewable = Yes
| stackable = Yes (64)
}}
'''Popped chorus fruit''' is an [[item]] obtained by [[smelting]] [[chorus fruit]], and used to craft [[end rod]]s and [[purpur blocks]]. Unlike raw chorus fruit, the popped fruit is inedible.
== Obtaining ==
=== Smelting ===
{{Smelting
|Chorus Fruit
|Popped Chorus Fruit
|0,1
}}
== Usage ==
=== Crafting ingredient ===
{{crafting usage}}
== Data values ==
=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|showforms=y
|generatetranslationkeys=y
|displayname=Popped Chorus Fruit
|spritetype=item
|nameid=popped_chorus_fruit
|form=item
|foot=1}}
{{edition|bedrock}}:
{{ID table
|edition=bedrock
|showaliasids=y
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Popped Chorus Fruit
|spritetype=item
|nameid=popped_chorus_fruit
|aliasid=chorus_fruit_popped
|id=559
|form=item
|translationkey=item.chorus_fruit_popped.name
|foot=1}}
== History ==
{{History|java}}
{{History||1.9|snap=15w31a|[[File:Popped Chorus Fruit JE1 BE1.png|32px]] Added popped chorus fruit.
|Popped chorus fruit are used to craft [[purpur block]]s.}}
{{History|||snap=15w44b|Popped chorus fruit are now used to craft [[end rod]]s.}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 433.}}
{{History|||snap=pre5|The ID of popped chorus fruit has now been changed to <code>popped_chorus_fruit</code>.}}
{{History||1.14|snap=18w43a|[[File:Popped Chorus Fruit JE2 BE2.png|32px]] The texture of popped chorus fruit has now been changed.}}
{{History|pocket}}
{{History||1.0.0|snap=alpha 0.17.0.1|[[File:Popped Chorus Fruit JE1 BE1.png|32px]] Added popped chorus fruit.}}
{{History|bedrock}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Popped Chorus Fruit JE2 BE2.png|32px]] The texture of popped chorus fruit has now been changed.}}
{{History||1.16.100|snap=beta 1.16.100.56|The ID of popped chorus fruit has been changed from <code>chorus_fruit_popped</code> to <code>popped_chorus_fruit</code>.}}
{{History|console}}
{{History||xbox=TU46|xbone=CU36|ps=1.38|wiiu=Patch 15|[[File:Popped Chorus Fruit JE1 BE1.png|32px]] Added popped chorus fruit.}}
{{History||xbox=none|xbone=none|ps=1.90|wiiu=none|switch=none|[[File:Popped Chorus Fruit JE2 BE2.png|32px]] The texture of popped chorus fruit has now been changed.}}
{{History|new 3ds}}
{{History||1.7.10|[[File:Popped Chorus Fruit JE1 BE1.png|32px]] Added popped chorus fruit.}}
{{History|foot}}
== Issues ==
{{issue list}}
{{Items}}
[[cs:Vypukaný květ chorusu]]
[[de:Geplatzte Chorusfrucht]]
[[fr:Chorus éclaté]]
[[it:Frutto di chorus scoppiato]]
[[ja:焼いたコーラスフルーツ]]
[[ko:튀긴 후렴과]]
[[nl:Gepoft Chorusfruit]]
[[pl:Prażony owoc refrenusu]]
[[pt:Fruta do coro cozida]]
[[ru:Приготовленный плод коруса]]
[[zh:爆裂紫颂果]]
[[Category:Renewable resources]]</li></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