Minecraft Wiki
Advertisement
Information icon
This feature is exclusive to Java Edition and Bedrock Edition. 

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. Function files will be added in Bedrock Edition beta 1.8,‌[upcoming] however they are only available in behaviour packs.

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

TestingFunctions

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

/function
  • Allows players to run a function once.
  • The commands in the function are run through the entity or command block that ran the /function command.
  • The optional arguments if and unless will make the function only run when the selector was 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>[[Minecart with Furnace|Minecart with Furnace]]<br/>{{ItemEntity
|image=Minecart with Furnace.png
|renewable=Yes
|stackable=No
|size=Height: 0.7 Blocks<br>Width: 0.98 Blocks
|networkid=10
|drops= 1 {{ItemLink|Minecart with Furnace}}
|health={{Hp|6}}
}}

A '''minecart with furnace''' is a [[furnace]] inside a [[minecart]]. It can be powered with [[coal]] or [[charcoal]] to propel it across a [[rail]] line for a limited time, which can be used to move other minecarts.

==Obtaining==
Minecarts with furnace can be retrieved by attacking them, and by doing so it drops as an [[item]].

===Crafting===
{{Crafting
|Output= Minecart with Furnace
|type= Transportation
|Furnace|Minecart}}

==Usage==
Minecarts with furnaces are placed in the same way as other minecarts. It does not have a graphical user interface, unlike a [[furnace]].

Minecarts with furnaces can be powered, done by feeding fuel ([[coal]] or [[charcoal]]) into the furnace minecart with the {{Control|use}} button. The fuel is consumed immediately and it starts to move in the same direction the player clicked toward. Pressing {{Control|use}} always turns it to that direction, even when not holding coal.

Any piece of fuel, added at any time, increases the total range by an additional 3600 ticks (equal to 180 seconds or 3 minutes).  The upper limit is 32767 ticks, approximately 27 minutes.

When powered, minecarts with furnaces cover 240m per minute (about 4 m/s, slightly slower than walking speed) or 720m per piece of coal. They do not accelerate beyond this speed when going downhill or on active [[powered rail]]s, and as long as they remain powered, they do not slow down when going uphill, on inactive powered rails, or when pushing or pulling other minecarts.

If a powered furnace minecart is derailed and then pushed back onto a rail, it starts moving again in the direction it came from, so they are not easily turned around in this state unless a player is nearby to redirect it with {{Control|use}}.

Minecarts with furnaces can climb up steep inclines while pushing other minecarts as long as they have fuel. If a minecart with furnace reaches a slope while pulling another minecart, the pulled minecart is switched to the forward position so that it can be pushed along the slope instead of pulled.

When a minecart with furnace bumps into another minecart or multiple minecarts, the other minecarts are pushed forward with great speed. The furnace minecart continues on with its own speed. Because of this speed difference, some of the minecarts may end up inside unloaded chunks on straight tracks.

===Train mechanics===
{{Schematic
|caption=weakly-shunted 1-cart train, one cart was used only to push the train together and is left behind
|AB|mc-$ew|mc-$ew|mc/Fu-$ew|-
|AB|ra-$wu|ra-$ew|ra-$ew|ra-$ew|ellipsis-ew
}}
{{Schematic
|caption=Creating a strongly-shunted 1-cart train.  The sloped rail must be replaced with a horizontal rail before powering.
|AB|mc-$ew||mc/Fu-$ew|-
|AB|ra-$ew|ra-$ew|ra-$eu|ra-$ew|ra-$ew|ellipsis-ew
}}

[[File:FurnaceMinecartTrain.png|thumb|right|A Minecart train powered by furnace [[Minecart|minecarts.]]|alt=]]
A furnace minecart can be made to pull up to four other minecarts. All minecarts in this train move at the constant speed of the furnace minecart.  Trains are formed when a minecart is pushed into the back of a powered furnace minecart or a short-enough train.  These shunts are fragile at best and easily come undone, but some methods are stronger than others.  For example, pushing a minecart into a furnace minecart and then powering the furnace gives a weaker shunt than pushing the furnace minecart into the other minecart against a wall, and then powering the furnace in the other direction.

A high-speed minecart running into the back of a furnace minecart going in the same direction automatically creates a weak shunt with it, pulling it along.

Pulling a minecart with TNT causes it to explode.

{| class="wikitable"
|+Pulled minecart/Shunt behavior
!Condition
!Result
|-
|Furnace loses power/speed||Shunt comes undone
|-
|Entity bumping besides those part of the train||Jettisoned forward
|-
|Upward sloped track||Jettisoned forward
|-
|Downward sloped track||Jettisoned forward (strong shunt) or shunt comes undone (weak shunt)
|-
|90° turn in track||Jettisoned backward
|-
|Turn toward north/south or east/west that is not the direction the train was shunted in||Train derails
|}

When a train comes to a turn, the shunt comes undone with the pulled minecart jettisoned backward. The correct way to make such a turn is having the shunt undone before a turn, and then make the two rejoin on a straight rail later by having the pulled cart catch up with the minecart with furnace.<ref name=mango/>

Since the train runs slower on a fully powered track than a normal minecart (~5 m/s compared to 8m/s), a train pulled by an unpowered furnace minecart is ideal for AFK farms involving breaking or placing blocks like [[nether wart]].<ref name=mango>{{YouTubeLink|1=pRLiAQfhTG8|2=Why The Furnace Minecart Isn't As Useless As You Think|3=ilmango}}</ref>

==Properties==
The coal is not stored as an item in the entity, but in the object data in the fuel property as a time in ticks. ''Fuel'' is a short value, i.e. a maximum of 32767 ticks, which is about 27 minutes. However, {{cmd|/summon furnace_minecart ~ ~ ~ {Fuel:32000} }} alone doesn't make it go since it doesn't have a direction. It can be right-clicked on a track to give it a direction, or it can be summoned with the properties ''PushX'' and ''PushZ'' set, which are responsible for the direction. The <code>Motion</code> property of every entity allows for movement of the minecart, but it does not direct the minecart to move on its own.

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

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

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

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

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

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

==History==
{{History|java alpha}}
{{History||v1.0.14|[[File:Minecart with Furnace JE1.png|32px]] [[File:Minecart with Furnace (item) JE1.png|32px]] Minecarts with furnace were added.
|Since no in-game name was indicated, they were referred to by names such as "powered minecart" or "furnace minecart".
|No matter how much fuel was added to the minecart, it would never move for more than 3 minutes after the last fuel.}}
{{History|java beta}}
{{History||1.0|When tooltips were added to items in inventory, this was named "Minecart with Furnace".}}
{{History||1.2|[[File:Minecart with Furnace JE2.png|32px]] The texture of the minecart with furnace has been changed.}}
{{History|java}}
{{History||1.0.0|snap=?|Each piece of [[coal]] now powers a [[minecart]] with furnace for {{convert|3|minutes|ticks}}, so that adding another piece of coal at any time increases the total range by another 3 minutes.  A full stack of 64 coal now powers it for {{convert|192|minutes|ticks}}.
|Minecarts with furnace on a level track cover 204 meters per minute.}}
{{History||1.8|snap=14w11a|Minecarts with furnace now give a much greater boost to other minecarts.
|When powered, minecarts with furnace now move on non-powered rails without decelerating.}}
{{History|||snap=14w17a|Minecarts with furnace's behavior has been reverted, so that no change was released in [[Java Edition 1.8]].}}
{{History||1.11|snap=16w32a|The entity ID of the minecart with furnace has been changed from <code>MinecartFurnace</code> to <code>furnace_minecart</code>.}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 343.}}
{{History||1.14|snap=18w43a|[[File:Minecart with Furnace JE3.png|32px]] [[File:Minecart with Furnace (item) JE2.png|32px]] The texture of the minecart with furnace has been changed.}}
{{History||1.15|snap=19w38a|[[File:Minecart with Furnace 19w38a.png|32px]] The furnace now appears dark, like suffocating mobs.}}
{{History|||snap=19w39a|The furnace texture is now colored correctly.}}
{{History||1.15.2|snap=Pre-Release 1|Furnace minecarts can now navigate around any corner.}}
{{History||1.19|snap=22w13a|The crafting recipe for a minecart with furnace is now shapeless.
|Breaking a minecart with furnace will now drop the item instead of the minecart and furnace separately.<ref>{{bug|MC-249493|||Fixed}}</ref>}}

{{History|console}}
{{History||xbox=TU1|xbone=CU1|ps=1.0|wiiu=Patch 1|switch=1.0.1|[[File:Minecart with Furnace JE2.png|32px]] [[File:Minecart with Furnace (item) JE1.png|32px]] Added minecart with furnace.}}
{{History|Ps4}}
{{History||1.90|[[File:Minecart with Furnace JE3.png|32px]] [[File:Minecart with Furnace (item) JE2.png|32px]] The texture of the minecart with furnace has been changed.}}
{{History|foot}}

==Issues==
{{issue list}}

==Trivia==
*The minecart with furnace is excluded from {{els|be|3ds}} on purpose. In a tweet, [[Jeb]] considered removing it from {{el|je}}.<ref>{{tweet|jeb|699241247391772672|I think we will phase out the furnace minecraft ''(sic)''|15 Feb 2016}}</ref>
**When converting a [[Legacy Console Edition]] world to a [[Bedrock Edition]] world, any present minecarts with furnaces are converted into a normal minecart.
**Despite the above-described poor standing of the minecart, it was most recently briefly featured in an animation in the [[Minecraft Live 2022]], where one was depicted as moving a train of about 20 minecarts at a higher than normal speed.

==Gallery==
<gallery>
Running Powered Minecart.png|A powered minecart in action.
</gallery>

==References==
{{reflist}}

{{Items}}
{{Entities}}

[[Category:Mechanics]]

[[cs:Parní vozík]]
[[de:Antriebslore]]
[[es:Vagoneta con horno]]
[[fr:Wagonnet motorisé]]
[[hu:Gőzmeghajtású csille]]
[[ja:かまど付きのトロッコ]]
[[ko:화로가 실린 광산 수레]]
[[nl:Mijnkar met oven]]
[[pl:Wagonik z piecem]]
[[ru:Вагонетка с печью]]
[[uk:Вагонетка з піччю]]
[[zh:动力矿车]]</li><li>[[Phantom Membrane|Phantom Membrane]]<br/>{{Item
| title = Phantom Membrane
| image = Phantom Membrane.png
| renewable = Yes
| stackable = Yes (64)
}}

'''Phantom membranes''' are items obtained from killing [[phantom]]s. They are used to repair [[elytra]] and brew [[Potion of Slow Falling|potions of Slow Falling]].

== Obtaining ==

=== Mob loot ===
[[Phantom]]s drop 0–1 phantom membrane when killed by a [[player]] or tamed [[wolf]]. [[Looting]] increases the maximum drops by 1 per level, for a maximum of 4 with Looting III.

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

Tamed [[cat]]s have a 70% chance to bring the player a gift when they wake up from a [[bed]], and the gift has a 3.22% chance to be a phantom membrane.

== Usage ==
=== Repairing ===

Phantom membranes can be used in an [[anvil]] to repair [[elytra]], restoring 108 durability points (25% of the pair's total durability) per membrane while preserving their [[enchantments]].

{| class="wikitable" data-description="Repairing elytra"
! scope="col" style="width:64px;" | Name
! Ingredients
! [[Anvil]] usage
|-
! scope="row" style="text-align: center;" | '''Elytra'''
| [[Elytra]] +<br>[[Phantom Membrane]]
| style="width: 260px; padding: 1px;" | {{Anvil| title = Elytra|Input1=Damaged Elytra|Input2=Phantom Membrane, 2|Output=Elytra}}
|-
|}

=== Brewing ingredient ===

Phantom membranes are used to [[brewing|brew]] [[Potion of Slow Falling|slow falling potions]] from an [[awkward potion]].

{{Brewing
 |Phantom Membrane
 |Potion of Slow Falling
 |showname=3
}}

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

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Phantom Membrane
|spritetype=item
|nameid=phantom_membrane
|id=574
|form=item
|foot=1}}

== History ==

{{History|java}}
{{History||1.13|snap=18w14a|[[File:Phantom Membrane JE1 BE1.png|32px]] Added phantom membranes.}}
{{History||1.14|snap=18w44a|Tamed [[cat]]s now have a chance to give the [[player]] phantom membranes as [[Cat#Gifts|gifts]].}}
{{History|||snap=19w08a|[[File:Phantom Membrane JE2 BE2.png|32px]] The texture of phantom membranes has now been changed.}}

{{History|bedrock}}
{{History||1.6.0|snap=beta 1.6.0.5|[[File:Phantom Membrane JE1 BE1.png|32px]] Added phantom membranes.}}
{{History||1.8.0|snap=beta 1.8.0.8|Tamed [[cat]]s now have a chance to give the [[player]] phantom membranes as gifts.}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Phantom Membrane JE2 BE2.png|32px]] The texture of phantom membranes has now been changed.}}

{{History|console}}
{{History||xbox=TU69|ps=1.76|wiiu=Patch 38|[[File:Phantom Membrane JE1 BE1.png|32px]] Added phantom membranes.}}
{{History||xbox=none|xbone=none|ps=1.90|wiiu=none|switch=none|[[File:Phantom Membrane JE2 BE2.png|32px]] The texture of phantom membranes has now been changed.}}
{{History|foot}}

== Issues ==
{{issue list}}

== References ==
{{reflist}}

== External Links ==
*[https://www.minecraft.net/en-us/article/taking-inventory--phantom-membrane Taking Inventory: Phantom Membrane] – Minecraft.net on August 2, 2019

{{items}}

[[de:Phantomhaut]]
[[fr:Membrane de Phantom]]
[[ja:ファントムの皮膜]]
[[ko:팬텀 막]]
[[pl:Błona fantoma]]
[[pt:Membrana de phantom]]
[[ru:Мембрана фантома]]
[[th:เนื้อเยื่อแฟนท่อม]]
[[uk:Перетинка фантома]]
[[zh:幻翼膜]]
[[Category:Renewable resources]]
[[Category:Brewing recipe]]</li></ul>
pre1Added functions.
pre3Commands are no longer allowed to begin with a / (forward slash)
Comments can now only be preceded with #; using // is no longer allowed
pre4Added new arguments to the /function command: [if|unless] [selector]
pre6Skipped functions (when a conditional fails) are now considered failures when used in commands.
1.13
{{Extension DPL}}<ul><li>[[Nether Wart|Nether Wart]]<br/><!--Please do not change "nether wart" to "Nether wart". According to style guide, block names should not be capitalized.-->
{{about|the fungus used for potions|the block found in crimson forests|Nether Wart Block}}{{Block
| group = Age 0
| 1-1 = Nether Wart Age 0.png
| 1-2 = Nether Wart Age 0 BE.png
| group2 = Age 1-2
| 2-1 = Nether Wart Age 1-2.png
| 2-2 = Nether Wart Age 1-2 BE.png
| group3 = Age 3
| 3-1 = Nether Wart Age 3.png
| 3-2 = Nether Wart Age 3 BE.png
|image= Nether Wart (item).png
|transparent=Yes
|light=No
|tool=any
|renewable=Yes
|stackable=Yes (64)
|flammable=No
|lavasusceptible=No
}}

'''Nether wart''' is a fungus harvested from nether wart crops and is used to plant them, as well as being vital in the creation of [[potions]].

'''Nether wart crops''' are found in [[Nether Fortress/Structure|nether fortresses]] and [[Bastion Remnant|bastions]] and is used to grow nether wart in [[Soul Sand|soul sand]].

== Obtaining ==
=== Breaking ===
Nether wart can be mined instantly with any tool. A fully mature nether wart crop yields 2–4 nether wart. This is increased by one for each level of [[Fortune]], this allows for a maximum of 7 nether warts dropping from one crop. Less mature stages drop one nether wart, even with the Fortune enchantment.

=== Natural generation ===
Nether wart can generate in [[nether fortress]]es in [[soul sand]] gardens around stairwells. Nether wart can also generate in the courtyards of housing unit [[bastion remnant]]s. Due to only spawning in these specific structures, it's entirely possible for a nether fortress or bastion remnant to generate without nether wart (though they may still appear in the chests that generate in the fortress). 
{| class="wikitable"
|+
!Location
!Description
!Image
|-
|{{anchor|Nether Fortress}}'''Nether Fortress'''
|Nether wart can be found growing near stairwells in small soul sand gardens.
|[[File:Nether wart garden.png|thumb|Nether wart growing in a nether fortress.]]
|-
|{{anchor|Bastion Remnant}}'''Bastion Remnant'''
|Nether wart can be found growing in the central courtyard of each of the sections of piglin housing unit bastions.
|[[File:Bastion Courtyard.png|thumb|Nether wart growing in a bastion remnant.]]
|}
<br>

=== Chest loot ===
{{LootChestItem|nether-wart}}

== Usage == 

=== Brewing ingredient ===
Nether wart's primary purpose is to [[brew]] the [[Potion|awkward potion]], the base for all potions, but optional for Weakness.

{{brewing
  |showname=1
  |Nether Wart
  |Awkward Potion
  |base=Water Bottle
}}

=== Crafting ingredient ===

{{crafting usage}}

=== Trading ===

Master-level cleric [[villager]]s buy 22 nether warts for an [[emerald]] as part of their trades.

=== Farming ===
{{main|Tutorials/Nether Wart farming}}
When planted on [[soul sand]], nether wart grows through four stages, though the middle two stages use the same texture (the hitbox of stage 3 is three pixels taller). {{IN|java}}, the exact age can be seen using the [[debug screen]], and the ages range from 0 to 3. Each random tick, nether wart has a 10% chance of growing one stage. At default random tick speed, each nether wart grows one age step approximately every {{convert|13653|ticks|minutes}} on average, and fully grows from planting to harvest every {{convert|40960|ticks|minutes}} on average. The growth rate is not affected by light or any other environmental factors. [[Bone meal]] cannot be used on the nether wart.

Nether wart can only be planted on [[soul sand]]. It cannot be planted on [[soul soil]]. It can grow in any [[dimension]].

Nether wart is ready to harvest when it reaches its fourth stage (age:3). Breaking a fully grown nether wart drops 2 to 4 nether wart, while an immature one drops a single nether wart. Using a tool enchanted with fortune increases the maximum number of nether wart dropped by 1 per level, for a maximum of 7 for a tool enchanted with [[Fortune|Fortune III]].

=== Composting ===
Placing a nether wart into a [[composter]] has a 30% chance of raising the compost level by 1.

== Sounds ==
{{Sound table/Block/Nether wart}}

== Data values ==
=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|showforms=y
|generatetranslationkeys=y
|displayname=Nether Wart
|spritetype=block
|nameid=nether_wart
|translationkey=block.minecraft.nether_wart,item.minecraft.nether_wart
|foot=1}}

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|firstcolumnname=Nether Wart
|shownumericids=y
|showforms=y
|generatetranslationkeys=y
|displayname=Block
|spritename=nether-wart
|spritetype=block
|nameid=nether_wart
|id=115
|form=block
|itemform=item.nether_wart}}
{{ID table
|displayname=Item
|spritename=nether-wart
|spritetype=item
|nameid=nether_wart
|id=294
|form=item
|foot=1}}

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

== Advancements ==
{{load advancements|A Seedy Place}}

== History ==
{{History|java}}
{{History||1.0.0|snap=Beta 1.9 Prerelease|[[File:Nether Wart Age 0 JE1.png|32px]] [[File:Nether Wart Age 1-2 JE1.png|32px]] [[File:Nether Wart Age 3 JE1.png|32px]] [[File:Nether Wart (item) JE1.png|32px]] Added nether wart.}}
{{History|||snap=Beta 1.9 Prerelease 3|Nether wart can now be brewed in a [[water bottle]] to create an [[awkward potion]].}}
{{History||1.3.1|snap=12w27a|Nether wart can now grow outside of [[the Nether]].}}
{{History|||snap=1.3|[[File:Nether Wart (item) JE2 BE1.png|32px]] The item texture has been changed.}}
{{History||1.4.2|snap=12w36a|Nether wart can now be used to breed [[chicken]]s.}}
{{History||1.6.1|snap=13w18a|Nether wart is now found in the new [[chest]]s in [[nether fortress]]es.}}
{{History||1.8|snap=14w06a|[[File:Nether Wart Age 0 JE2.png|32px]] [[File:Nether Wart Age 1-2 JE2.png|32px]] [[File:Nether Wart Age 3 JE2.png|32px]] Nether wart crops are now a pixel higher, likely as an accidental result of model conversion. Previously they were offset one pixel downwards like the other crops (wheat, carrots potatoes) to match farmland, although in nether wart's case such a downwards offset hides some pixels of the texture inside of the soul sand.<ref>{{bug|MC-250679}}</ref>}}
{{History|||snap=14w10a|[[File:Missing Model JE2.png|32px]] [[File:Missing Model JE2.png|32px]] [[File:Missing Model JE2.png|32px]]<br>[[File:Missing Model (anisotropic filtering) JE2.png|32px]] [[File:Missing Model (anisotropic filtering) JE2.png|32px]] [[File:Missing Model (anisotropic filtering) JE2.png|32px]] Nether wart crops of all ages [[Missing model|no longer have a model]].}}
{{History|||snap=14w10b|[[File:Nether Wart Age 0 JE4.png|32px]] [[File:Nether Wart Age 1-2 JE4.png|32px]] [[File:Nether Wart Age 3 JE4.png|32px]] Nether wart crops now have models again.<ref>{{bug|MC-50276}}</ref> In addition, they are now offset downwards by one pixel once more, hiding the bottom row of pixels again.}}
{{History|||snap=14w25a|[[File:Nether Wart Age 0 JE5.png|32px]] [[File:Nether Wart Age 1-2 JE5.png|32px]] [[File:Nether Wart Age 3 JE5.png|32px]] Nether wart crops are now darker and subject to directional shading.}}
{{History|||snap=14w27a|[[File:Nether Wart Age 0 JE6.png|32px]] [[File:Nether Wart Age 1-2 JE6.png|32px]] [[File:Nether Wart Age 3 JE6.png|32px]] Nether wart crops are no longer subject to directional shading.}}
{{History|||snap=14w34d|Nether wart can no longer be used to breed [[chicken]]s.}}
{{History||1.9|snap=15w43a|The average yield of nether wart from [[nether fortress]] chests has now been slightly decreased.}}
{{History||1.10|snap=16w20a|Nether wart can now be used to [[crafting|craft]] the new [[red nether brick]] blocks and [[nether wart block]]s.}}
{{History||1.12|snap=17w18b|Placing a nether wart in soul sand now gives the player the "A Seedy Place" [[advancement]].{{verify}}}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], this block's numeral ID was 115, and the item's 372.}}
{{History||1.14|snap=18w43a|[[File:Nether Wart Age 0 JE7.png|32px]] [[File:Nether Wart Age 1-2 JE7.png|32px]] [[File:Nether Wart Age 3 JE7.png|32px]] The textures of nether wart crops have changed.}}
{{History|||snap=19w03a|Placement and breaking [[sound]]s have now been added to nether wart. Before this version, nether wart made stone sounds.}}
{{History|||snap=19w11a|Cleric [[villager]]s now [[trading|buy]] nether wart.
|Nether wart can now be planted by aiming against the sides and underside of blocks, rather than just the top surface of the soul sand.}}
{{History||1.16|snap=20w15a|Nether wart can now be [[composter|composted]].}}
{{History|||snap=20w16a|Nether wart now generates as part of [[bastion remnant]]s.}}
{{History||1.17|snap=21w13a|[[File:Nether Wart Age 0 JE8.png|32px]] [[File:Nether Wart Age 1-2 JE8.png|32px]] [[File:Nether Wart Age 3 JE8.png|32px]] The "crop" template model has changed such that pixels appear in the same physical positions on opposite sides of texture planes, changing the nether wart crop's appearance in the process.<ref>{{bug|MC-199242}}</ref>}}

{{History|pocket alpha}}
{{History||v0.12.1|snap=build 1|[[File:Nether Wart Age 0 BE1.png|32px]] [[File:Nether Wart Age 1-2 BE1.png|32px]] [[File:Nether Wart Age 3 BE1.png|32px]] [[File:Nether Wart (item) JE2 BE1.png|32px]] Added nether wart.
|Nether wart uses a cross model instead of the "hash" shape associated with crops.}}
{{History||?|[[File:Nether Wart Age 0 JE6 BE2.png|32px]] [[File:Nether Wart Age 1-2 JE6 BE2.png|32px]] [[File:Nether Wart Age 3 JE6 BE2.png|32px]]{{verify|Correct models? check UV, etc.}} Nether wart now uses a more conventional crop model.}}
{{History|pocket}}
{{History||1.1.3|snap=alpha 1.1.3.0|Nether wart can now be used to [[crafting|craft]] [[red nether bricks]] and [[nether wart block]]s.}}
{{History|bedrock}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Nether Wart Age 0 BE.png|32px]] [[File:Nether Wart Age 1-2 BE.png|32px]] [[File:Nether Wart Age 3 BE.png|32px]] The textures of nether wart crops have changed.
|Placement and breaking [[sound]]s have now been added to nether wart.}}
{{History||1.11.0|snap=beta 1.11.0.4|Nether wart can now be [[trading|sold]] to cleric [[villager]]s.}}
{{History||1.16.0|snap=beta 1.16.0.57|Nether wart now generates as part of [[bastion remnant]]s.
|The placement and breaking [[sound]]s for nether wart have been changed to match {{el|je}}.
|Nether wart can now be [[composter|composted]].}}

{{History|console}}
{{History||xbox=TU7|xbone=CU1|ps=1.0|wiiu=Patch 1|switch=1.0.1|[[File:Nether Wart Age 0 JE6 BE2.png|32px]] [[File:Nether Wart Age 1-2 JE6 BE2.png|32px]] [[File:Nether Wart Age 3 JE6 BE2.png|32px]]{{verify|Correct models? check UV, etc.}} [[File:Nether Wart (item) JE2 BE1.png|32px]] Added nether wart.}}
{{History||xbox=TU9|Nether wart now spawns randomly wherever [[soul sand]] is generated in [[the Nether]].
|[[Nether fortress]]es have now been changed to make nether wart rooms more likely.
|Nether wart can now grow outside of [[the Nether]].}}
{{History||xbox=none|xbone=none|ps=1.90|wiiu=none|switch=none|[[File:Nether Wart Age 0 JE7.png|32px]] [[File:Nether Wart Age 1-2 JE7.png|32px]] [[File:Nether Wart Age 3 JE7.png|32px]]{{verify|Correct models?}} The textures of nether wart crops have now been changed.}}

{{History|New 3DS}}
{{History||0.1.0|[[File:Nether Wart Age 0 JE6 BE2.png|32px]] [[File:Nether Wart Age 1-2 JE6 BE2.png|32px]] [[File:Nether Wart Age 3 JE6 BE2.png|32px]]{{verify|Correct models? check UV, etc.}} [[File:Nether Wart (item) JE2 BE1.png|32px]] Added nether wart.}}
{{History|foot}}

=== Nether wart "item" ===
{{:Technical blocks/Nether Wart}}

==Issues==

{{issue list}}

== Trivia ==
* Nether wart's stage changes cannot be detected by a [[block update detector]], but can by an [[observer]] block.
* Unlike other crimson "plants", nether wart doesn't have a warped equivalent. This is also the case with [[nether sprouts]], which lack a crimson equivalent.

== Gallery ==
<gallery>
Nether Brick And Wart.png|Nether wart found in a nether fortress.
Nether Wart Closeup.png| Another example of nether wart found in a nether fortress.
Nether wart three sizes.png|The three different sizes of the nether wart as viewed from the side. 
Nether Fortress Large Stairs Room.png
</gallery>

== References ==
{{reflist}}

{{Blocks|vegetation}}
{{Items}}

[[Category:Nether blocks]]
[[Category:Fungi]]
[[Category:Non-solid blocks]]
[[Category:Generated structure blocks]]

[[de:Netherwarze]]
[[es:Verruga del Nether]]
[[fr:Verrues du Nether]]
[[hu:Bibircsók]]
[[it:Verruca del Nether]]
[[ja:ネザーウォート]]
[[ko:네더 사마귀]]
[[nl:Netherkruid]]
[[pl:Netherowa brodawka]]
[[pt:Fungo do Nether]]
[[ru:Адский нарост]]
[[th:หูดเนเธอร์]]
[[uk:Пекельний наріст]]
[[zh:下界疣]]
[[Category:Brewing recipe]]</li><li>[[:Category:Fungi|Category:Fungi]]<br/>All pages covering blocks that are fungi.

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

[[ja:カテゴリ:菌類]]</li></ul>
17w43aCustom functions have been moved into data packs.
17w45aFunctions are now completely parsed and cached on load.
17w49bFunction 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

Advertisement