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. This page covers how to use functions in Java Edition.
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. 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:
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>[[Pufferfish (item)|Pufferfish (item)]]<br/>{{DISPLAYTITLE:Pufferfish}}
{{about|the food item|the mob|Pufferfish}}
{{Item
| title = Pufferfish
| image = File:Pufferfish_(item)_JE5_BE2.png
| renewable = Yes
| heals = {{hunger|1}}
| stackable = Yes (64)
|effects=: {{EffectLink|link=Hunger (effect)|Hunger}} III (0:15)
: {{EffectLink|Poison}} II (1:00)
: {{EffectLink|Nausea}} I (0:15){{only|JE}}
: {{EffectLink|Nausea}} II (0:15){{only|BE}}
}}
A '''pufferfish''' is a poisonous [[food]] item that is used to brew [[Potion of Water Breathing|Water Breathing potions]].
== Obtaining ==
=== Fishing ===
Pufferfish can be obtained through [[fishing]]. The pufferfish catch rate can be increased by [[Lure]], which reduces wait time generally.
<!--1-6 exp-->
{{IN|bedrock}}, pufferfish can be caught only when fishing outside [[jungle]] biomes and its variants (i.e. everywhere ''except'' in jungles).
=== Mob loot ===
==== Guardians and elder guardians ====
[[Guardian]]s and [[elder guardian]]s have a 2.5% chance of dropping a random fish upon death. This has a 13% chance of being pufferfish (0.325% chance of dropping a pufferfish). The chance of getting a fish can be increased by 1% per level of [[Looting]], but the type of fish is not affected.
==== Pufferfish ====
[[Pufferfish]] always drop 1 pufferfish in its item form when killed. This drop is not affected by the Looting enchantment.<ref>{{bug|MC-212795||Salmon & Fish mobs are not affected by Looting}}</ref>
== Usage ==
=== Food ===
Pufferfish restores {{hunger|1}} hunger and 0.2 [[Hunger#Mechanics|saturation]], but inflicts [[Hunger_(effect)|Hunger]] III for 15 seconds, [[Poison]] II for 1 minute, and [[Nausea]] I<sup>[''[[Java Edition|JE]] only'']</sup> or II<sup>[''[[Bedrock Edition|BE]] only'']</sup> for 15 seconds. Unlike [[rotten flesh]], it is not helpful to eat pufferfish while starving because they inflict more hunger than they earn.
===Brewing ingredient===
{{brewing
|Pufferfish
|Potion of Water Breathing
|head=1
}}
{{brewing
|Pufferfish
|Mundane Potion
|ingredients=Pufferfish + [[Water Bottle]]
|foot=1
}}
=== Trading ===
Master-level fisherman [[villager]]s buy 1~4{{only|bedrock|short=1}} or four{{only|java|short=1}} pufferfish for an [[emerald]].
=== Wolves ===
{{IN|Bedrock}}, pufferfish can be used to feed a [[wolf]], healing it by {{hp|1|mob=1}}, but only when the wolf is not at full health. Unlike other wolf food, pufferfish cannot be used to speed up the growth of baby wolves, and cannot be used to breed them.
== Sounds ==
{{Sound table/Entity/Food}}
== Data values ==
=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|showitemtags=y
|showforms=y
|generatetranslationkeys=y
|displayname=Pufferfish
|spritetype=item
|nameid=pufferfish
|itemtags=fishes
|form=item
|foot=1}}
{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Pufferfish
|spritetype=item
|nameid=pufferfish
|id=267
|form=item
|foot=1}}
== Advancements ==
{{load advancements|A Furious Cocktail;How did we get here;Husbandry;A Balanced Diet;Fishy Business}}
== History ==
{{History|java}}
{{History||1.7.2|snap=13w36a|[[File:Pufferfish (item) JE1.png|32px]] Added pufferfish.
|Added potions of [[Water Breathing]], which can be [[brewing|brewed]] by adding a pufferfish to an [[Awkward Potion]].}}
{{History|||snap=13w43a|[[File:Pufferfish (item) JE2 BE1.png|32px]] The texture of pufferfish has been changed.}}
{{History||1.8|snap=14w25a|Pufferfish is now obtainable as a rare drop from [[guardian]]s and [[elder guardian]]s.}}
{{History||1.13|snap=17w47a|The different data values for the <code>fish</code> ID have now been split up into their own IDs.
|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 349.}}
{{History|||snap=18w08b|[[Pufferfish]] (and other [[fish]] types) has been added as a [[mob]], which [[drops|drop]] its item form when killed.
|[[File:Pufferfish (item) JE3 BE2.png|32px]] The texture of pufferfish has been changed.}}
{{History||1.14|snap=18w43a|[[File:Pufferfish (item) JE4 BE1.png|32px]] The texture of pufferfish has accidentally been reverted.}}
{{History|||snap=18w43b|[[File:Pufferfish (item) JE5 BE2.png|32px]] The correct texture of pufferfish has been restored.}}
{{History|||snap=19w11a|Fisherman [[villager]]s now [[trading|buy]] pufferfish.}}
{{History||1.16.2|snap=Pre-release 2|The level of [[Nausea]] given by pufferfish has been reduced from II to I.<ref>{{bug|MC-196473}}</ref>}}
{{History||1.17|snap=20w46a|The level of [[Poison]] given by pufferfish has been reduced from IV to II.<ref>{{bug|MC-197276}}</ref>}}
{{History|pocket alpha}}
{{History||v0.11.0|snap=build 1|[[File:Pufferfish (item) JE2 BE1.png|32px]] Added pufferfish.}}
{{History||v0.12.1|snap=build 1|Pufferfish now restore [[hunger]] instead of [[health]].
|Pufferfish can now be used to make [[potion]] of Water Breathing.}}
{{History||v0.16.0|snap=build 1|Pufferfish is now dropped by [[guardian]]s and [[elder guardian]]s.}}
{{History|bedrock}}
{{History||1.4.0|snap=beta 1.2.14.2|[[Pufferfish]] has been added as a [[mob]], which [[drops|drop]] its [[item]] form when killed.
|[[File:Pufferfish (item) JE5 BE2.png|32px]] The texture of pufferfish has been changed.}}
{{History||1.8.0|snap=beta 1.8.0.8|Pufferfish can now be used to feed [[ocelot]]s to gain their trust.}}
{{History||1.11.0|snap=beta 1.11.0.4|Pufferfish can now be [[trading|sold]] to fisherman [[villager]]s.}}
{{History||1.19.10|snap=beta 1.19.10.23|The strength of the [[poison]] effect has been decreased from IV to II.}}
{{History|console}}
{{History||xbox=TU31|xbone=CU19|ps=1.22|wiiu=Patch 3|switch=1.0.1|[[File:Pufferfish (item) JE2 BE1.png|32px]] Added pufferfish.}}
{{History||xbox=TU69|xbone=none|ps=1.76|wiiu=Patch 38|switch=none|[[Pufferfish]] (and other [[fish]] types) has been added as a [[mob]], which [[drops|drop]] its [[item]] form when killed.}}
{{History||xbox=none|xbone=none|ps=1.90|wiiu=none|switch=none|[[File:Pufferfish (item) JE5 BE2.png|32px]] The texture of pufferfish has been changed.}}
{{History|foot}}
== Issues ==
{{issue list}}
== Trivia ==
* The consumption of pufferfish inflicting the player with Nausea and Poison is based on reality. Real pufferfish contain the dangerous [[Wikipedia:Tetrodotoxin|tetrodotoxin]] within their organs, especially in the liver. Tetrodotoxin leads to quick death through respiratory paralysis. Muscle tissue and blood contain trace amounts. In East Asia, pufferfish are considered a delicacy known as [[Wikipedia:Fugu|fugu]], as small parts of the fish are actually edible. Any chef preparing fugu must have special licensing/certification to prepare this dish.
== Gallery ==
<gallery>
File:Eat Pufferfish.png|The result of eating pufferfish.
</gallery>
== See also ==
* [[Fishing]]
== References ==
{{Reflist}}
== External Links ==
*[https://www.minecraft.net/en-us/article/taking-inventory--pufferfish Taking Inventory: Pufferfish] – Minecraft.net on October 14, 2020
{{items}}
[[cs:Čtverzubec]]
[[de:Kugelfisch (Nahrung)]]
[[es:Pez globo (objeto)]]
[[fr:Poisson (nourriture)]]
[[it:Pesce palla (oggetto)]]
[[ja:フグ (アイテム)]]
[[ko:복어 (아이템)]]
[[nl:Kogelvis]]
[[pl:Rozdymka]]
[[pt:Baiacu (item)]]
[[ru:Иглобрюх (предмет)]]
[[th:ปลาปักเป้า (ไอเทม)]]
[[tr:Kirpi balığı]]
[[zh:河豚(物品)]]
[[Category:Food]]
[[Category:Brewing recipe]]
[[Category:Renewable resources]]</li><li>[[Bookshelf|Bookshelf]]<br/>{{About|the bookshelf used with an enchanting table|the bookshelf that can hold books|Chiseled Bookshelf}}
{{Block
|image=Bookshelf.png
|transparent=No
|light=No
|tool=Axe
|renewable=Yes
|stackable=Yes (64)
|flammable=Yes (30)
|lavasusceptible=Yes
}}
'''Bookshelves''' are [[blocks]] that improve [[enchanting|enchantments]] applied with an [[enchanting table]] when placed around one, up to a maximum of fifteen bookshelves, at the expense of [[Enchanting/Levels|level]] requirement.
== Obtaining ==
=== Natural generation ===
Bookshelves can generate in village libraries and sometimes village houses.
[[Stronghold]]s may contain up to two libraries, each of which may be single-level or have an upper balcony. These feature some bookshelves arranged in pillars, and more bookshelves arranged in pillars in the walls. Single-level libraries contain 161 bookshelves, while libraries with balconies contain 233.
Bookshelves also naturally generate in certain [[woodland mansion]] rooms.
=== Breaking ===
Bookshelves can be broken fairly easily by hand, but can be broken faster by using an [[axe]]. In either case, they drop 3 books when broken, allowing the reconstruction of the bookshelf with the addition of six wood planks. When broken by an item that is [[enchanted]] with [[Silk Touch]], a bookshelf drops itself.
{{breaking row|horizontal=1|Bookshelf|Axe}}
=== Crafting ===
{{Crafting
|A1=Any Planks
|B1=Any Planks
|C1=Any Planks
|A2=Book
|B2=Book
|C2=Book
|A3=Any Planks
|B3=Any Planks
|C3=Any Planks
|Output=Bookshelf
|type=Building block
}}
=== Trading ===
Novice-level librarian [[Villager|villagers]] have a 50% chance to sell 1 bookshelf for 9 [[Emerald|emeralds]] as part of their trades.{{only|bedrock}}
Novice-level librarian villagers have a {{frac|2|3}} chance to sell 1 bookshelf for 9 emeralds.{{only|java}}
== Usage ==
=== Enchanting ===
{{main|Enchantment mechanics#Bookshelf placement}}
If an [[enchanting table]] is placed near a bookshelf, glyph [[particles]] fly from the bookshelf toward the enchanting table. Having bookshelves in the proper position near the table allows the table to apply higher-level enchantments.
=== Crafting ingredient ===
{{crafting usage}}
=== Fuel ===
Bookshelves can be used as a [[fuel]] in [[furnace]]s, smelting 1.5 items per block.
=== Villager ===
Librarian [[villager]]s can interact with bookshelves.
=== Note Blocks ===
Bookshelf can be placed under [[note block]]s to produce "bass" sounds.
== Sounds ==
{{Sound table/Block/Wood}}
== Data values ==
=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|showforms=y
|generatetranslationkeys=y
|displayname=Bookshelf
|spritetype=block
|nameid=bookshelf
|showblocktags=y|blocktags=mineable/axe
|foot=1}}
{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|generatetranslationkeys=y
|displayname=Bookshelf
|spritetype=block
|nameid=bookshelf
|id=47
|foot=1}}
== Achievements ==
{{load achievements|Librarian}}
== History ==
{{History|java classic}}
{{History||October 24, 2009|link=https://notch.tumblr.com/post/221308991/the-new-block-types-and-new-graphics-for-the-gold|Bookshelves were teased by [[Notch]].}}
{{History||0.26 SURVIVAL TEST|[[File:Bookshelf JE1.png|32px]] Added bookshelves.
|Bookshelves are currently impossible to obtain without loading a pre-edited map.
|Bookshelves are currently destroyed in [[explosion]]s.
|When bookshelves are broken, they currently do not drop anything.}}
{{History||0.28|Bookshelves can now be freely placed.}}
{{History|java alpha}}
{{History||v1.0.11|Bookshelves can now be [[crafting|crafted]] from 3 [[book]]s and 6 [[planks]].}}
{{History|java beta}}
{{History||1.8|snap=Pre-release|Bookshelves can now be found generated in libraries in [[village]]s, and libraries in [[stronghold]]s.}}
{{History|java}}
{{History||1.0.0|snap=Beta 1.9 Prerelease 3|Bookshelves now drop 3 [[book]]s when broken by a non-[[Silk Touch]] [[item]].
|They are now necessary to [[enchanting|enchant]] with higher levels for better enchanted items.
|The number of bookshelves required to reach the maximum enchantment level is 30.}}
{{History|||snap=Beta 1.9 Prerelease 5|[[File:Bookshelf JE2 BE1.png|32px]] The top texture of bookshelves have now been updated as a result of the [[planks]] texture update.}}
{{History||1.2.4|snap=release|[[Spruce planks]], [[birch planks]], and [[jungle planks]] can now be used to craft bookshelves.}}
{{History||1.3.1|snap=12w21a|Librarian [[villager]]s now [[trading|sell]] 1 bookshelf for 3 [[emerald]]s.}}
{{History|||snap=12w22a|The number of bookshelves required to reach the maximum enchantment level has been now decreased to 15.}}
{{History||1.7.2|snap=1.7.1|[[Acacia planks]] and [[dark oak planks]] can now be used to craft bookshelves.}}
{{History||1.8|snap=14w02a|Librarian villagers now sell 1 bookshelf for 3–4 [[emerald]]s.}}
{{History||1.11|snap=16w39a|Bookshelves now generate in [[woodland mansion]]s.}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], this [[block]]'s numeral ID was 47.}}
{{History||1.14|snap=18w43a|[[File:Bookshelf JE3.png|32px]] The texture of bookshelves has now been changed.}}
{{History|||snap=18w47a|[[File:Bookshelf JE4 BE2.png|32px]] The texture of bookshelves has now been changed, once again.}}
{{History|||snap=19w02a|Bookshelves can now be used to craft [[lectern]]s.}}
{{History||1.16|snap=20w06a|[[Crimson planks]] and [[warped planks]] can now be used to craft bookshelves.}}
{{History||1.19|snap=22w11a|[[Mangrove planks]] can now be used to craft bookshelves.}}
{{History|pocket alpha}}
{{History||v0.2.1|[[File:Bookshelf JE2 BE1.png|32px]] Added bookshelves.|Bookshelves are currently obtainable only in [[Creative]] mode.}}
{{History||v0.3.0|Bookshelves are now obtainable in [[Survival]] mode.}}
{{History||v0.9.0|snap=build 1|Bookshelves now naturally spawn in [[stronghold]]s and [[village]]s.}}
{{History||v0.12.1|snap=build 1|Bookshelves can now be used to increase [[enchantment table]] levels.|Bookshelves can now be obtained by using a [[tool]] with the [[Silk Touch]] enchantment.}}
{{History|pocket}}
{{History||1.0.4|snap=alpha 1.0.4.0|Librarian [[villager]]s now [[trading|sell]] 1 bookshelf for 3-4 [[emerald]]s as their second tier trade.}}
{{History||1.1.0|snap=alpha 1.1.0.0|Bookshelves now generate in [[woodland mansion]]s.}}
{{History|bedrock}}
{{History||1.10.0|snap=beta 1.10.0.3|Bookshelves can now be used to craft [[lectern]]s.|Bookshelves now get inspected by librarian [[villager]]s.|[[File:Bookshelf JE4 BE2.png|32px]] The texture of bookshelves has been changed.}}
{{History||1.11.0|snap=beta 1.11.0.4|[[Trading]] has now been changed, librarian villagers now have a 50% chance to sell a bookshelf for 6 [[emerald]]s as part of their first trade.}}
{{History|console}}
{{History||xbox=TU1|xbone=CU1|ps=1.00|wiiu=Patch 1|switch=1.0.1|[[File:Bookshelf JE2 BE1.png|32px]] Added bookshelves. Whether they actually used this texture is unknown.}}
{{History||xbox=none|xbone=none|ps=1.90|wiiu=none|switch=none|[[File:Bookshelf JE4 BE2.png|32px]] The texture of bookshelves has been changed.}}
{{History|new 3ds}}
{{History||0.1.0|[[File:Bookshelf JE2 BE1.png|32px]] Added bookshelves.}}
{{History|foot}}
== Issues ==
{{Issue list}}
== Trivia ==
* Bookshelves' top and bottom textures by default use the same texture as [[oak planks]].
* It takes 90 planks, 45 [[leather]] and 135 [[paper]] to make 15 bookshelves in order to get a level 30 [[enchantment]].
* A bookshelf is the icon for [[Education Edition]].
== Gallery ==
<gallery>
File:Library in Village.png|Naturally occurring bookshelves in a [[village]]. (Before Village & Pillage).
File:Large Stronghold Library.png|Naturally occurring bookshelves in a [[stronghold]].
File:Achievement get! Trading emeralds for bookshelves.png|Bookshelves obtained by [[trading]] with a [[villager]].
File:Enchanting-Table.png|Bookshelves powering an [[enchanting table]].
</gallery>
== References ==
{{Reflist}}
== External Links ==
*[https://www.minecraft.net/en-us/article/block-week-bookshelf Block of the Week: Bookshelf] – Minecraft.net on December 16, 2016
{{Blocks|Building}}
[[Category:Manufactured blocks]]
[[Category:Natural blocks]]
[[Category:Generated structure blocks]]
[[Category:Utility blocks]]
[[Category:Bedrock Edition]]
[[Category:Java Edition]]
[[Category:Items]]
[[Category:Flammable blocks]]
[[cs:Knihovna]]
[[de:Bücherregal]]
[[es:Librería]]
[[fr:Bibliothèque]]
[[hu:Könyvespolc]]
[[it:Libreria]]
[[ja:本棚]]
[[ko:책장]]
[[nl:Boekenkast]]
[[pl:Biblioteczka]]
[[pt:Estante de livros]]
[[ru:Книжные полки]]
[[th:ชั้นหนังสือ]]
[[uk:Книжкова полиця]]
[[zh:书架]]</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. | ||||
1.13{{Extension DPL}}<ul><li>[[Redstone Dust|Redstone Dust]]<br/>{{Redirect|Redstone|the ore|Redstone Ore|the powered mineral block|Block of Redstone|other uses|Redstone (disambiguation)}}
{{Block
| group = Inactive (connected)
| 1-1= Inactive Redstone Wire (NESW).png
| 1-2 = Inactive Redstone Wire (NESW) BE.png
| group2 = Inactive (unconnected)
| 2-1 = Inactive Redstone Wire (unconnected).png
| 2-2 = Inactive Redstone Wire (unconnected).png
| group3 = Active (connected)
| 3-1 = Active Redstone Wire (NESW).png
| 3-2 = Active Redstone Wire (NESW) BE.png
| group4 = Active (unconnected)
| 4-1 = Active Redstone Wire (unconnected).png
| 4-2 = Active Redstone Wire (unconnected).png
| image = Redstone Dust JE2 BE2.png
| extratext = [[#Gallery|View all renders]]
| transparent = Yes
| light = No
| tool = all
| renewable = Yes
| stackable = Yes (64)
| flammable = No
| lavasusceptible = No
}}
'''Redstone dust''' is a mineral that can transmit [[Redstone circuit#Power|redstone power]] as a wire when placed as a [[block]]. It is also used in [[crafting]] and [[brewing]].
== Obtaining ==
=== Mining ===
{{see also|Redstone Ore#Natural generation}}
[[Redstone ore]] mined using an iron [[pickaxe]] or higher drops 4 or 5 redstone dust (or more with [[Fortune]], averaging at 6 redstone dust with Fortune III). If mined with [[Silk Touch]], the block drops itself instead of redstone dust.
=== Natural generation ===
15 lengths of redstone dust are naturally generated as part of the trap in each [[jungle pyramid]]. 5 lengths of redstone dust can be found in one type of jail cell room in a [[woodland mansion]]. In [[Ancient City|ancient cities]], multiple pieces of redstone dust can be found integrated into circuitry.
=== Breaking ===
Redstone dust can be broken instantly using any tool, or without a tool, and drops itself as an item.
Redstone dust is removed and drops as an item if:
* its attachment block is moved, removed, or destroyed
* [[water]] or [[lava]] flows into its space
* a [[piston]] tries to push it or moves a block into its space
=== Mob loot ===
[[Witch]]es have a chance of dropping 0–2 redstone dust upon death. This is increased by 1 per level of [[Looting]], for a maximum of 0–5 redstone dust.
=== Chest loot ===
{{LootChestItem|redstone}}
=== Crafting ===
Redstone dust can be crafted from [[blocks of redstone]].
{{Crafting
|Block of Redstone
|Output=Redstone Dust,9
|type=Redstone
}}
=== Smelting ===
{{Smelting
|showname=1
|Redstone Ore; Deepslate Redstone Ore
|Redstone Dust
|0.7
}}
=== Trading ===
{{IN|java}}, novice-level cleric [[villager]]s sell two redstone dust for one [[emerald]].
{{IN|bedrock}}, novice-level cleric villagers sell four redstone dust for one emerald.
=== Villager gifts ===
{{see also|Tutorials/Raid farming}}
{{IN|Java}}, when the player has the [[Hero of the Village]] status effect, clerics might throw that player a redstone dust as a gift.
== Usage ==
Redstone dust is used for [[#Brewing ingredient|brewing]], [[#Crafting ingredient|crafting]], and in redstone circuits by placing it on the ground to create [[#Redstone component|redstone wire]]. It can also be used to power redstone components.
=== Brewing ingredient ===
{{Brewing
|head=1
|Redstone Dust
|Mundane Potion
|base=Water Bottle
}}
{{Brewing
|foot=1
|name=Increased Duration
|Redstone Dust
|showbase=1
|base=Potion of Fire Resistance; Potion of Invisibility; Potion of Night Vision; Potion of Poison; Potion of Regeneration; Potion of Slowness; Potion of Strength; Potion of Swiftness; Potion of Water Breathing; Potion of Weakness; Potion of Leaping; Potion of Slow Falling
}}
=== Crafting ingredient ===
{{crafting usage|Redstone Dust}}
=== {{anchor|Redstone dust}} Redstone component ===
When placed in the world, redstone dust becomes a block of "redstone wire"{{Info needed|other blco? BE?}}, which can transmit [[Redstone circuit#Power|redstone power]].
=== Smithing ingredient ===
{{Smithing
|head=1
|ingredients=Any Armor Trim +<br/>Any Armor Piece + <br/>Redstone Dust
|Any Armor Trim Smithing Template
|Netherite Chestplate
|Redstone
|Redstone Trim Netherite Chestplate
|showdescription=1
|description = All armor types can be used in this recipe,<br/>a netherite chestplate is shown as an example.<br/>
|tail=1
}}
;Trim color palette
The following color palette is shown on the designs on trimmed armor:
*{{TrimPalette|redstone dust}}
=== Placement ===
[[File:Redstone wire as circuit component.png|Examples of redstone wire configuration. ''Top Left:'' Redstone wire connects diagonally vertically through non-opaque blocks. ''Top Right:'' Redstone wire does ''not'' connect diagonally vertically through opaque blocks. ''Center:'' Redstone wire gets darker as its power level drops, to a maximum of 15 blocks from a power source.|thumb]]
[[File:Redstone on Glowstone, Stairs, Slabs.png|Examples of redstone wire placements.|thumb]]
Redstone dust can be placed on [[opaque]] blocks as well as [[glowstone]], upside-down [[slab]]s, [[glass]], upside-down [[stairs]], and [[hopper]]s. It can also be placed on some transparent blocks; see [[Opacity/Placement]] for more information. It cannot be placed suspended in midair, even with commands, which is not unintentional.<ref>{{bug|MC-182709}}</ref>
Redstone wire configures itself to point toward adjacent redstone [[Redstone components#Power components|power components]] and [[Redstone components#Transmission components|transmission component]] connection points. Redstone wire also configures itself to point toward adjacent redstone wire one block higher or lower – unless there is a solid opaque block above the lower redstone wire.
If there is only one such adjacent redstone component, redstone wire configures itself into a {{BlockSprite|redstone-dust}} line pointing both at the neighbor and away from it. If there are two or more such adjacent components, redstone wire connects them in the form of {{BlockSprite|redstone-dust}}, {{BlockSprite|redstone-dust-upleft}}, {{BlockSprite|redstone-dust-t-up}}, or {{BlockSprite|redstone-dust-cross}} as needed.
When there are no adjacent components, a single redstone wire configures itself into a {{BlockSprite|redstone-dust-cross}} plus sign, which can provide power in all four directions. By right-clicking it can be changed into a {{BlockSprite|redstone-dust-dot}} dot, which does not provide power to any of the four directions.
{{IN|bedrock}}, redstone wire automatically configures itself to point toward adjacent blocks or [[Redstone components#Mechanism components|mechanism components]]. {{IN|java}}, it does not. If such a configuration is desired, the other neighbors of the redstone wire must be arranged to create it, i.e the redstone dust must be placed in a way that it would be pointed at the block’s location even if it were not there.
When redstone wire is reconfigured after placement, it does not update other redstone components around it of the change unless that reconfiguration also includes a change in power level or another component provides an update. This can create situations where a mechanism component remains activated when it shouldn't, or vice versa, until it receives an update from something else – a "feature" of redstone wire that can be used to make a [[BUD|block update detector]].
{{-}}
=== Behavior ===
{{Schematic|caption=
{{IN|be}}, the signal can go down from glass blocks.
|||rd-$ew!|RL-!||||rd-$ew!|RL-!|-
|rt-$!|rd-$ew!|SB|||rt-$!|rd-$ew!|glass||-
|ts-$|SB|rd-$ew|RL||ts-$|SB|rd-$ew!|RL-!
}}{{Schematic|caption =
However, the signal can never go down from slabs.
|||rd-$ew!|RL-!||||rd-$ew!|RL-!|-
|rt-$!|rd-$ew!|SB|||rt-$!|rd-$ew!|glass||-
|ts-$|ts-$|rd-$ew|RL||ts-$|ts-$|rd-$ew|RL
}}
Redstone wire can transmit power, which can be used to operate [[Redstone components#Mechanism components|mechanism components]] ([[door]]s, [[piston]]s, [[redstone lamp]]s, etc.).
Redstone wire can be "powered" by a number of methods:
* from an adjacent [[Redstone components#Power components|power component]] or a strongly-powered block
* from the output of a redstone repeater or redstone comparator
* from adjacent redstone wire. The powering dust can be a level higher or lower, but with restrictions:
** Redstone dust can be powered by redstone dust that is one level lower, or on an [[opaque]] block one level higher. A transparent block cannot{{only|java}} pass power downward.
** The block "between" the two dust blocks must be air or transparent. A solid block there "cuts" the connection between the higher and lower dust.
The "power level" of redstone dust can vary from 0 to 15. Most power components power-up adjacent redstone dust to power level 15, but a few ([[daylight sensor]]s, [[trapped chest]]s, and [[weighted pressure plate]]s) may create a lower power level. Redstone repeaters output power level 15 (when turned on), but [[redstone comparator]]s may output a lower power level.
{{Schematic | caption =
Redstone wire can transmit power up to 15 blocks.
|rt-$!|rd-$ew!+15|rd-$ew!+14|rd-$ew!+13|rd-$ew!+12|rd-$ew!+11|rd-$ew!+10|rd-$ew!+9
|rd-$ew!+8|rd-$ew!+7|rd-$ew!+6|rd-$ew!+5|rd-$ew!+4|rd-$ew!+3|rd-$ew!+2|rd-$ew!+1|rd-$ew+0
}}
Power level drops by 1 for every block of redstone wire it crosses. Thus, redstone wire can transmit power for no more than 15 blocks. To go further, the power level must be re-strengthened – typically with a redstone repeater.
Powered redstone wire on top of, or pointing at, an opaque block provides ''weak'' power to the block. A weakly-powered block cannot power other adjacent redstone wire, but can still power redstone repeaters and comparators, and activate adjacent mechanism components. Transparent blocks cannot be powered.
When redstone wire is unpowered, it appears dark red. When powered, it becomes bright red at power level 15, fading to darker shades with decreasing power. Powered redstone wire also produces "dust" [[particles]] of the same color.
While redstone wire always provides power to the directions it points into, it can still point into directions in which it cannot give power. If redstone wire comes in the form of a cross, the player can right-click to toggle it between a cross and dot. A redstone dot does not power anything adjacent to it, but powers the block under it.
== Sounds ==
{{Sound table/Block/Normal}}
== Data values ==
=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|firstcolumnname=Redstone Dust
|showforms=y
|generatetranslationkeys=y
|displayname=Block
|spritename=redstone-dust
|spritetype=block
|nameid=redstone_wire
|form=block}}
{{ID table
|displayname=Item
|spritename=redstone-dust
|spritetype=item
|nameid=redstone
|form=item
|foot=1}}
{{edition|bedrock}}:
{{ID table
|edition=bedrock
|firstcolumnname=Redstone Dust
|shownumericids=y
|showforms=y
|generatetranslationkeys=y
|displayname=Block
|spritename=redstone-dust
|spritetype=block
|nameid=redstone_wire
|id=55
|form=block}}
{{ID table
|displayname=Item
|spritename=redstone-dust
|spritetype=item
|nameid=redstone
|id=373
|form=item
|foot=1}}
=== Block states ===
{{see also|Block states}}
{{/BS}}
{{LoadPage|Redstone Dust/Asset history|List of block state combinations|h4}}
== Achievements ==
{{load achievements|Dispense With This}}
== Video ==
{{Video note|These videos do not show all uses for redstone in crafting and all methods of obtaining. This video is also outdated, as of 1.13 Java Edition, redstone is now called Redstone Dust.}}
<div style="text-align:center">
<span style="display:inline-block">{{yt|zldqknGFWb4}}</span>
<span style="display:inline-block">{{yt|_IApwvCLJW8}}</span>
</div>
== History ==
{{History||May 21, 2009|link=https://web.archive.org/web/0/http://notch.tumblr.com/post/110762705/my-list-on-tile-types-so-far|[[Notch]] shows interest in adding wire-type [[block]]s.}}
{{History|java alpha}}
{{History||v1.0.1|[[File:Redstone Dust JE1 BE1.png|32px]] Added redstone dust as an [[item]].
|[[File:Inactive Redstone Wire (NS) JE1.png|32px]] [[File:Inactive Redstone Wire (EW) JE1.png|32px]] [[File:Inactive Redstone Wire (NE) JE1.png|32px]] [[File:Inactive Redstone Wire (ES) JE1.png|32px]] [[File:Inactive Redstone Wire (SW) JE1.png|32px]] [[File:Inactive Redstone Wire (NW) JE1.png|32px]] [[File:Inactive Redstone Wire (NEW) JE1.png|32px]] [[File:Inactive Redstone Wire (NES) JE1.png|32px]] [[File:Inactive Redstone Wire (ESW) JE1.png|32px]] [[File:Inactive Redstone Wire (NSW) JE1.png|32px]] [[File:Inactive Redstone Wire (NESW) JE1.png|32px]]<br>[[File:Active Redstone Wire (NS) JE1.png|32px]] [[File:Active Redstone Wire (EW) JE1.png|32px]] [[File:Active Redstone Wire (NE) JE1.png|32px]] [[File:Active Redstone Wire (ES) JE1.png|32px]] [[File:Active Redstone Wire (SW) JE1.png|32px]] [[File:Active Redstone Wire (NW) JE1.png|32px]] [[File:Active Redstone Wire (NEW) JE1.png|32px]] [[File:Active Redstone Wire (NES) JE1.png|32px]] [[File:Active Redstone Wire (ESW) JE1.png|32px]] [[File:Active Redstone Wire (NSW) JE1.png|32px]] [[File:Active Redstone Wire (NESW) JE1.png|32px]] Added redstone dust as a placed [[block]].
|Redstone dust as a placed block has two power appearances; either completely on, or completely off.
|Redstone dust is used to craft [[redstone torch]]es.
|At this time, redstone has not been given an official name.}}
{{History||v1.0.2_01|Redstone dust now doesn't connect through solid [[block]]s diagonally down.{{needs testing|may have been changed in v1.0.2|type=untestable}}
|Walking on redstone dust no longer [[breaking|breaks]] it.{{needs testing|may have been changed in v1.0.2|type=untestable}}
|Active redstone dust now gives off [[particles]].{{needs testing|may have been changed in v1.0.2|type=untestable}}}}
{{History||v1.1.0|Redstone is now used to craft [[compass]]es.}}
{{History||v1.2.0|snap=<nowiki>?|slink=:Category:Information needed requiring unarchived version|Redstone is now used to craft [[clock]]s.}}
{{History|java beta}}
{{History||1.0|With the addition of inventory tooltips, the [[item]] form of redstone dust has been named "Redstone", and the usually unobtainable block form has been named "Redstone Dust".}}
{{History||1.2|Redstone is now used to craft [[dispenser]]s and [[note block]]s.}}
{{History||1.3|[[File:Inactive Redstone Wire (NS) JE2.png|32px]] [[File:Inactive Redstone Wire (EW) JE2.png|32px]] [[File:Inactive Redstone Wire (NE) JE2.png|32px]] [[File:Inactive Redstone Wire (ES) JE2.png|32px]] [[File:Inactive Redstone Wire (SW) JE2.png|32px]] [[File:Inactive Redstone Wire (NW) JE2.png|32px]] [[File:Inactive Redstone Wire (NEW) JE2.png|32px]] [[File:Inactive Redstone Wire (NES) JE2.png|32px]] [[File:Inactive Redstone Wire (ESW) JE2.png|32px]] [[File:Inactive Redstone Wire (NSW) JE2.png|32px]] [[File:Inactive Redstone Wire (NESW) JE2.png|32px]]<br>[[File:Active Redstone Wire (NS) JE2.png|32px]] [[File:Active Redstone Wire (EW) JE2.png|32px]] [[File:Active Redstone Wire (NE) JE2.png|32px]] [[File:Active Redstone Wire (ES) JE2.png|32px]] [[File:Active Redstone Wire (SW) JE2.png|32px]] [[File:Active Redstone Wire (NW) JE2.png|32px]] [[File:Active Redstone Wire (NEW) JE2.png|32px]] [[File:Active Redstone Wire (NES) JE2.png|32px]] [[File:Active Redstone Wire (ESW) JE2.png|32px]] [[File:Active Redstone Wire (NSW) JE2.png|32px]] [[File:Active Redstone Wire (NESW) JE2.png|32px]] Redstone wire gets darker the farther away it is from a source of power, using a dedicated [[tint]] system. Previously, it was fully on until it reached its limit.
|Its particles now appear gray due to not being tinted.
|Redstone is now used to craft [[redstone repeater]]s.}}
{{History||1.5|[[File:Inactive Redstone Wire (NS) JE3.png|32px]] [[File:Inactive Redstone Wire (EW) JE3.png|32px]] [[File:Inactive Redstone Wire (NE) JE3.png|32px]] [[File:Inactive Redstone Wire (ES) JE3.png|32px]] [[File:Inactive Redstone Wire (SW) JE3.png|32px]] [[File:Inactive Redstone Wire (NW) JE3.png|32px]] [[File:Inactive Redstone Wire (NEW) JE3.png|32px]] [[File:Inactive Redstone Wire (NES) JE3.png|32px]] [[File:Inactive Redstone Wire (ESW) JE3.png|32px]] [[File:Inactive Redstone Wire (NSW) JE3.png|32px]] [[File:Inactive Redstone Wire (NESW) JE3.png|32px]]<br>[[File:Active Redstone Wire (NS) JE3.png|32px]] [[File:Active Redstone Wire (EW) JE3.png|32px]] [[File:Active Redstone Wire (NE) JE3.png|32px]] [[File:Active Redstone Wire (ES) JE3.png|32px]] [[File:Active Redstone Wire (SW) JE3.png|32px]] [[File:Active Redstone Wire (NW) JE3.png|32px]] [[File:Active Redstone Wire (NEW) JE3.png|32px]] [[File:Active Redstone Wire (NES) JE3.png|32px]] [[File:Active Redstone Wire (ESW) JE3.png|32px]] [[File:Active Redstone Wire (NSW) JE3.png|32px]] [[File:Active Redstone Wire (NESW) JE3.png|32px]] Fully off redstone wire is no longer black.
|Redstone dust can now be placed on [[snow]].
|Redstone is now used to craft [[powered rail]]s and [[detector rail]]s.}}
{{History||1.6.6|Redstone dust now checks if the block below has a solid top face or [[glowstone]], allowing it to be placed on it.}}
{{History||1.7|Redstone dust now connects to a [[redstone repeater|repeater]] without the dust being explicitly pointed at it.
|Redstone can now be used to craft [[piston]]s.}}
{{History||1.8|snap=Pre-release|Redstone can now be found in the new [[stronghold]] storeroom [[chest]]s, and in the new [[mineshaft]] chests.}}
{{History|java}}
{{History||1.0.0|snap=Beta 1.9 Prerelease 3|Redstone can now be [[brewing|brewed]] in a [[water bottle]] to create a [[mundane potion]].
|Redstone can now be found in the new [[stronghold]] altar [[chest]]s.
|Redstone now extends the [[potion]]s of [[Fire Resistance]], [[Slowness]], [[Swiftness]], [[Poison]], [[Weakness]] and [[Strength]].}}
{{History|||snap=Beta 1.9 Prerelease 4|Redstone now extends the new potion of [[Regeneration]].}}
{{History|||snap=RC1|[[File:Inactive Redstone Wire (unconnected) JE1.png|32px]] <br>[[File:Active Redstone Wire (unconnected) JE1.png|32px]] Redstone dust placement on one [[block]] has been changed from a "+" to a "•" shape.}}
{{History||?|Redstone wire block particles are now correctly colored.}}
{{History||1.1|snap=11w49a|Fixed redstone update bug.{{more info}}}}
{{History||1.2.1|snap=12w06a|Redstone can now be placed on [[glowstone]].}}
{{History|||snap=12w07a|Redstone is now used to craft [[redstone lamp]]s.}}
{{History||1.3.1|snap=12w21a|Redstone can now be [[trading|bought]] from priest [[villager]]s, at 2–4 redstone for 1 [[emerald]], making them [[renewable]].}}
{{History|||snap=12w22a|Redstone dust now generates in [[jungle temple]]s.}}
{{History|||snap=12w25a|Redstone dust can now be placed on top of upside-down [[slabs]] and [[stairs]].}}
{{History||1.4.2|snap=12w34a|Redstone now extends the new [[potion]]s of [[Night Vision]] and [[Invisibility]].}}
{{History|||snap=12w38a|[[Witch]]es have been added, which sometimes [[drops|drop]] redstone when killed.}}
{{History||1.5|snap=13w01a|Redstone can now be used to craft [[blocks of redstone]] and [[dropper]]s.}}
{{History||1.7.2|snap=13w36a|Redstone now extends the new [[potion]] of [[Water Breathing]].}}
{{History||1.8|snap=14w02a|[[Trading]] has been changed: cleric [[villager]]s now [[trading|sell]] 1–4 redstone for 1 [[emerald]].}}
{{History|||snap=14w25a|Redstone dust no longer changes to [[obsidian]] next to water when [[lava]] flows into it.}}
{{History|||snap=14w27a|Redstone now extends the new [[potion]] of [[Leaping]].}}
{{History||1.9|snap=15w31a|[[File:Inactive Redstone Wire (unconnected) JE2.png|32px]] [[File:Inactive Redstone Wire (NS) JE4.png|32px]] [[File:Inactive Redstone Wire (EW) JE4.png|32px]] [[File:Inactive Redstone Wire (NE) JE4.png|32px]] [[File:Inactive Redstone Wire (ES) JE4.png|32px]] [[File:Inactive Redstone Wire (SW) JE4.png|32px]] [[File:Inactive Redstone Wire (NW) JE4.png|32px]] [[File:Inactive Redstone Wire (NEW) JE4.png|32px]] [[File:Inactive Redstone Wire (NES) JE4.png|32px]] [[File:Inactive Redstone Wire (ESW) JE4.png|32px]] [[File:Inactive Redstone Wire (NSW) JE4.png|32px]] [[File:Inactive Redstone Wire (NESW) JE4.png|32px]]<br>[[File:Active Redstone Wire (unconnected) JE2.png|32px]] [[File:Active Redstone Wire (NS) JE4.png|32px]] [[File:Active Redstone Wire (EW) JE4.png|32px]] [[File:Active Redstone Wire (NE) JE4.png|32px]] [[File:Active Redstone Wire (ES) JE4.png|32px]] [[File:Active Redstone Wire (SW) JE4.png|32px]] [[File:Active Redstone Wire (NW) JE4.png|32px]] [[File:Active Redstone Wire (NEW) JE4.png|32px]] [[File:Active Redstone Wire (NES) JE4.png|32px]] [[File:Active Redstone Wire (ESW) JE4.png|32px]] [[File:Active Redstone Wire (NSW) JE4.png|32px]] [[File:Active Redstone Wire (NESW) JE4.png|32px]] Some slight changes have been made to redstone wire's appearance - the dot now extends outward with two more pixels, and the south-facing section of bends, T shapes and crosses now has one fewer pixel. It also appears straighter and more continuous in straight wire form.
|Redstone can no longer be added to extended [[potion]]s or tier-II potions.}}
{{History|||snap=15w44a|The average yield of redstone from [[dungeon]] [[chest]]s has been cut by more than half.
|The average yield of redstone in [[mineshaft]] chests has been increased.}}
{{History|||snap=15w46a|The hitbox of redstone now covers only part of the surface of the [[block]] below, based on the orientation of the redstone.}}
{{History||1.11|snap=16w39a|Redstone dust can now be found in chests in [[woodland mansion]]s.
|Redstone can now used to craft [[observer]]s.}}
{{History||1.13|snap=17w47a|The [[item]] form of "Redstone" has been renamed to "Redstone Wire".
|Prior to [[1.13/Flattening|''The Flattening'']], this [[block]]'s numeral ID was 55, and the [[item]]'s 331.}}
{{History|||snap=17w48a|"Redstone" has been renamed to "Redstone Dust".}}
{{History|||snap=18w07a|Redstone now extends the new [[potion of the Turtle Master]].}}
{{History||1.14|snap=18w43a|[[File:Redstone Dust JE2 BE2.png|32px]] The texture of redstone dust has been changed.}}
{{History|||snap=18w50a|Redstone dust can now be found in chests in [[village]] temples.}}
{{History|||snap=19w12b|Redstone dust can now be placed on [[glass]], [[ice]] and [[sea lantern]]s.}}
{{History|||snap=19w13a|Cleric villagers now give redstone dust to players under the [[Hero of the Village]] effect.}}
{{History||1.16|snap=20w06a|Redstone dust now has a bottom texture.}}
{{History|||snap=20w09a|Redstone can now be used to craft [[target]]s.}}
{{History|||snap=20w18a|Redstone dust placement on one [[block]] has been changed from a "•" back to a "+" shape.
|Redstone dust's hitbox is now no longer strictly a cuboid, and more closely matches the shape of the wiring.<ref>{{bug|MC-137336}}</ref>
|Upward going redstone dust now has a hitbox on the side of the [[block]] too, rather than only on the floor.<ref>{{bug|MC-153508}}</ref>
|Unconnected redstone dust now has all direction block states set to "side".
|The direction block states of redstone dust are now properly set to "side" at the end of a redstone wire on both ends, rather than only the one with other redstone besides it.
|[[File:Inactive Redstone Wire (N).png|32px]] [[File:Inactive Redstone Wire (E).png|32px]] [[File:Inactive Redstone Wire (S).png|32px]] [[File:Inactive Redstone Wire (W).png|32px]]<br>[[File:Active Redstone Wire (N).png|32px]] [[File:Active Redstone Wire (E).png|32px]] [[File:Active Redstone Wire (S).png|32px]] [[File:Active Redstone Wire (W).png|32px]] While not accessible in normal gameplay, redstone dust that points into one side, but not the opposite, now visually reaches halfway across the [[block]].}}
{{History|||snap=20w19a|Redstone dust now visually connects when going up [[soul sand]], 8-layer [[snow]] stacks and the back side of upside-down [[stairs]].
|[[Particles]] are now generated across the length of the redstone wire rather than the center of the [[block]].}}
{{History|||snap=20w21a|Redstone dust placement on one [[block]] is now toggleable between a "+" and a "•" shape, by {{control|interacting}} with it.}}
{{History||1.17|snap=21w08a|Redstone dust can now drop and be smelted from [[deepslate redstone ore]].}}
{{History||1.19|snap=22w13a|Redstone wire now generates in [[Ancient City|ancient cities]].}}
{{History||1.20<br>(Experimental)|link=1.19.4|snap=23w04a|Redstone dust can now be used as an armor trim material.}}
{{History|pocket alpha}}
{{History||v0.8.0|snap=build 1|[[File:Redstone Dust JE1 BE1.png|32px]] Added redstone as an [[item]].
|Redstone is now [[drops|dropped]] when [[breaking|mined]] from [[redstone ore]].
|Redstone can be used to craft [[compass]]es and [[clock]]s.}}
{{History|||snap=build 2|Redstone can now be used to craft [[powered rail]]s.}}
{{History||v0.11.0|snap=build 1|Redstone is now used to craft [[redstone block]]s.}}
{{History||v0.12.1|snap=build 1|Redstone has been added to the [[Creative]] [[inventory]], but it still cannot be placed. }}
{{History||v0.13.0|snap=build 1|Redstone can now be placed.
|Redstone is now used to craft [[redstone lamp]]s, [[note block]]s, [[detector rail]]s and [[redstone torch]]es.}}
{{History||v0.14.0|snap=build 1|Redstone is now used to craft [[dispenser]]s and [[dropper]]s.}}
{{History||v0.15.0|snap=build 1|Redstone is now used to craft [[piston]]s and [[observer]]s.}}
{{History|pocket}}
{{History||1.0.4|snap=alpha 1.0.4.0|Cleric [[villager]]s now [[trading|sell]] 1–4 redstone for an [[emerald]].}}
{{History||1.1.0|snap=alpha 1.1.0.0|Redstone can now be found in [[woodland mansion]]s.}}
{{History|bedrock}}
{{History||?|[[File:Inactive Redstone Wire (NE) BE.png|32px]] [[File:Inactive Redstone Wire (ES) BE.png|32px]] [[File:Inactive Redstone Wire (SW) BE.png|32px]] [[File:Inactive Redstone Wire (NW) BE.png|32px]] [[File:Inactive Redstone Wire (NEW) BE.png|32px]] [[File:Inactive Redstone Wire (NES) BE.png|32px]] [[File:Inactive Redstone Wire (ESW) BE.png|32px]] [[File:Inactive Redstone Wire (NSW) BE.png|32px]] [[File:Inactive Redstone Wire (NESW) BE.png|32px]]<br>[[File:Active Redstone Wire (NE) BE.png|32px]] [[File:Active Redstone Wire (ES) BE.png|32px]] [[File:Active Redstone Wire (SW) BE.png|32px]] [[File:Active Redstone Wire (NW) BE.png|32px]] [[File:Active Redstone Wire (NEW) BE.png|32px]] [[File:Active Redstone Wire (NES) BE.png|32px]] [[File:Active Redstone Wire (ESW) BE.png|32px]] [[File:Active Redstone Wire (NSW) BE.png|32px]] [[File:Active Redstone Wire (NESW) BE.png|32px]]<br>Placed redstone now assumes its current appearance with a more solid center. Its linear state appearences are unknown.}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Redstone Dust JE2 BE2.png|32px]] The texture of redstone has been changed.}}
{{History||1.11.0|snap=beta 1.11.0.1|Redstone can now be found in [[desert]] [[village]] temple [[chest]]s.}}
{{History|||snap=beta 1.11.0.4|Cleric [[villager]]s now [[trading|sell]] 4 redstone as part of their first tier [[trading|trade]].}}
{{History||1.16.210|snap=beta 1.16.210.57|"Redstone" has been renamed to "Redstone Dust".}}
{{History||1.17.0|snap=beta 1.16.230.52|Redstone dust can now drop and be smelted from [[deepslate redstone ore]].}}
{{History||1.19.0|snap=beta 1.19.0.26|Redstone wire now generates in [[Ancient City|ancient cities]].}}
{{History||1.19.80|snap=beta 1.19.80.21|Redstone dust can now be used as an armor trim material.}}
{{History|console}}
{{History||xbox=TU1|xbone=CU1|ps=1.0|wiiu=Patch 1|switch=1.0.1|[[File:Redstone Dust JE1 BE1.png|32px]] Added redstone.}}
{{History||xbox=TU3|Redstone now connects to a [[redstone repeater|repeater]] without the dust being explicitly pointed at it.}}
{{History||xbox=none|xbone=none|ps=1.90|wiiu=none|switch=none|[[File:Redstone Dust JE2 BE2.png|32px]] The texture of redstone has been changed.}}
{{History||ps=1.95|Redstone can now be placed on [[glass]].}}
{{History|new 3ds}}
{{History||0.1.0|[[File:Redstone Dust JE1 BE1.png|32px]] Added redstone dust.}}
{{History|foot}}
=== Redstone wire "item" ===
{{:Technical blocks/Redstone Wire}}
== Gallery ==
=== Renders ===
; Java Edition
<gallery>
Inactive Redstone Wire (NESW).png |
Inactive Redstone Wire (unconnected).png |
Inactive Redstone Wire (NS).png |
Inactive Redstone Wire (EW).png |
Inactive Redstone Wire (NE).png |
Inactive Redstone Wire (ES).png |
Inactive Redstone Wire (SW).png |
Inactive Redstone Wire (NW).png |
Inactive Redstone Wire (NEW).png |
Inactive Redstone Wire (NES).png |
Inactive Redstone Wire (ESW).png |
Inactive Redstone Wire (NSW).png
</gallery>
<gallery>
Active Redstone Wire (NESW).png |
Active Redstone Wire (unconnected).png |
Active Redstone Wire (NS).png |
Active Redstone Wire (EW).png |
Active Redstone Wire (NE).png |
Active Redstone Wire (ES).png |
Active Redstone Wire (SW).png |
Active Redstone Wire (NW).png |
Active Redstone Wire (NEW).png |
Active Redstone Wire (NES).png |
Active Redstone Wire (ESW).png |
Active Redstone Wire (NSW).png
</gallery>
; Bedrock Edition
<gallery>
Inactive Redstone Wire (NESW) BE.png |
Inactive Redstone Wire (NESW) BE.png |
Inactive Redstone Wire (NS).png |
Inactive Redstone Wire (EW).png |
Inactive Redstone Wire (NE) BE.png |
Inactive Redstone Wire (ES) BE.png |
Inactive Redstone Wire (SW) BE.png |
Inactive Redstone Wire (NW) BE.png |
Inactive Redstone Wire (NEW) BE.png |
Inactive Redstone Wire (NES) BE.png |
Inactive Redstone Wire (ESW) BE.png |
Inactive Redstone Wire (NSW) BE.png
</gallery>
<gallery>
Active Redstone Wire (NESW) BE.png |
Active Redstone Wire (NESW) BE.png |
Active Redstone Wire (NS).png |
Active Redstone Wire (EW).png |
Active Redstone Wire (NE) BE.png |
Active Redstone Wire (ES) BE.png |
Active Redstone Wire (SW) BE.png |
Active Redstone Wire (NW) BE.png |
Active Redstone Wire (NEW) BE.png |
Active Redstone Wire (NES) BE.png |
Active Redstone Wire (ESW) BE.png |
Active Redstone Wire (NSW) BE.png
</gallery>
=== Screenshots ===
<gallery>
Slab Stair Redstone.png|First image of redstone dust on top of slabs and stairs.
File:Olivia Tinkering.jpeg|[[Olivia]] using a scarce amount of redstone dust.
File:23w32a.jpg|[[Sunny]] using a very long strip of redstone dust.
</gallery>
=== In other media ===
<gallery>
Powered By Redstone JINX.jpg|Official T-shirt artwork "Powered By Redstone" made by [https://www.jinx.com JINX].
File:Redstone Behind Chiseled Bookshelf Pixel Art.png|Pixel art of redstone dust.
</gallery>
== Issues ==
{{issue list|redstone|redstone dust|redstone wire}}
== Trivia ==
* Five updates for [[wikipedia:Windows 10 version history|Windows 10]] released from 2016 to 2018 were codenamed "Redstone", referencing ''Minecraft''.<ref>{{link|url=https://www.theverge.com/2015/4/7/8364355/microsoft-redstone-windows-updates|title=Microsoft plans ‘Redstone’ updates for Windows 10 in 2016|author=Tom Warren|website=The Verge|date=April 7, 2015}}</ref>
* The block has 1,296 possible block state combinations, the highest of all blocks as of 1.15.2, beating [[fire]]'s 512 and [[note block]]'s 800.
* According to {{el|ee}}, redstone dust contains radioactive [[element]]s.
== References ==
{{Reflist}}
{{Redstone}}
{{Blocks|Utility}}
{{Items}}
[[Category:Redstone mechanics]]
[[Category:Mechanisms]]
[[Category:Mechanics]]
[[Category:Generated structure blocks]]
[[Category:Non-solid blocks]]
[[Category:Brewing recipe]]
[[cs:Rudit]]
[[de:Redstone]]
[[el:Σκόνη Κοκκινόπετρας]]
[[es:Polvo de redstone]]
[[fr:Poudre de redstone]]
[[hu:Redstone]]
[[it:Polvere di redstone]]
[[ja:レッドストーンダスト]]
[[ko:레드스톤 가루]]
[[nl:Redstonestof]]
[[pl:Redstone]]
[[pt:Pó de redstone]]
[[ru:Красная пыль]]
[[th:ผงเรดสโตน]]
[[tr:Kızıltaş]]
[[uk:Редстоун]]
[[zh:红石粉]]</li><li>[[:Category:Joke items|Category:Joke items]]<br/>[[Category:Joke features|Items]]
[[Category:Items]]</li></ul></nowiki> | 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
| Components |
| ||
|---|---|---|---|
| Data packs | |||
| Tutorials | |||