A powered rail is a type of rail that is used to decrease or increase the momentum of moving minecarts. When powered with redstone, powered rails will speed up any minecarts passing over. When turned off, they act as "brakes", and will slow down moving minecarts to a halt.
A simple launcher using four powered rails, a button and a solid block
Powered rails have two possible states: on or off.
A rail that is "off" slows any passing minecart by applying a frictional force. The force is generally strong enough to bring a moving minecart to a complete stop, or to hold a minecart in place on a slope. However, after going down a slope of 80 or more rail blocks, one non-powered powered rail cannot stop minecarts.
A rail in the "on" state will accelerate a minecart if any of the following is true:
The minecart is already moving, in which case the cart is accelerated in the direction of motion.
The minecart is stationary, but one end of the powered rail is up against a solid block. In this case, the cart is accelerated in the direction that is not blocked.
The minecart is stationary, but the powered rail is on a slope. The instant the powered rail is activated, the brake is released and the cart will start moving down due to gravity. As the cart is now moving, rule (1) applies and the cart is accelerated in that direction.
The second and third cases can both be used to create simple stone button-activated launchpads. When the powered rail is off, carts are held in place, providing a safe way to load and unload carts without them derailing.
Powering
Power can be transmitted to the rail from any of the six adjacent positions (above, below, or any side) in the same way redstone is powered.
Powered rails will propagate power to each other if they are adjacent and part of the same track, for up to 9 blocks from the power source (1 being powered directly which is propagated to 8 adjacent rails). They will also receive power from any adjacent detector rails (when a cart passes over it), even if they are not part of the same track (which follows from the rules above).
Because the detector rail powers attached rails, it could be used to activate power rails only when necessary:
For one-way travel, place a detector rail before the powered rail
For two-way travel, place a detector rail on both sides of the powered rail
In practice it is far more efficient to have powered rails constantly active using other means:
Place a redstone torch either next to the powered rail or two blocks underneath it or use powered redstone wiring to achieve the same effect
Place an activated lever on the bottom side of the block the powered rail is on (cheapest, only requires a stick and a cobblestone to make)
Place the powered rail on a block of redstone
Momentum
The speed of a cart which is boosted using Powered Rails is calculated to be at the maximum of 8 m/s, however the cart maintains an internal "momentum" value that keeps the cart at the maximum speed of 8 m/s until the excess momentum is depleted.
A single powered rail on flat ground against a stop block gives an occupied cart enough momentum to travel 80 rail tiles on a flat surface, or 8 tiles for an unoccupied cart (in Beta 1.5, this was 64 blocks and 8 blocks respectively). Tests show that putting several powered rails in a row has observable diminishing returns with each additional powered rail on how much farther a cart will travel.[1] This implies that the momentum gained is smaller if the cart's speed is faster and vice versa.
Tests show that climbing slopes impact momentum severely, thus the cart speed plummets fast. However, if there is enough surplus momentum, carts will travel up slopes with ease. Conversely, carts traveling down slopes gain momentum. Downward sloped powered rails will add both the momentum from the rails and the momentum from going downhill to your cart.
Climbing slopes
6 blocks up without additional boosting in Beta 1.5, 10 in Beta 1.6
Launching from rest via four powered rails, an occupied cart has enough momentum to climb a 1/1 slope 10 blocks high without further boosting and then travel horizontally at a very slow speed for at least a dozen blocks before coming to a stop. Such a cart does not have enough momentum to climb an 11 block high slope. An empty cart in a similar setup will only climb 5 blocks and then travel a few blocks horizontally.
When minecarts travel upslope without having sufficient stored momentum, a powered rail is needed 1 every 4 blocks to sustain movement all the way to the top of the slope, Alternatively, 2 every 8 blocks are somewhat easier to supply power to. However note this is a worst-case scenario where there is no momentum to start with.
If working with empty carts (for instance, a storage cart transport system), 1 powered every 2 blocks is necessary to sustain movement. To minimize powering requirements, 2 powered followed by 2 unpowered can also be used (analogous to loaded player-carrying carts).
When traveling up a slope at full speed (8 m/s) one powered rail will maintain full speed for two blocks high, meaning that alternating between powered and unpowered rails will maintain full speed up a slope. Consecutive powered rails on a slope will add more momentum, so eight powered rails can be followed by 8 normal rails, and full speed will be maintained while traveling up the slope. Less momentum is gained by each consecutive rail as the strip gets longer.
Optimal Use
A test was conducted by building straight tracks 2000 blocks long on level ground with different intervals of powered rails. The time to travel the full 2 km length on an occupied minecart was recorded with each interval. The following table lists the results:[2]
Powered Rail spacing
Time to travel 2 km
Speed
% Slowdown
1 every 32 or less meters
250 seconds
8 m/s
0%
1 every 33 meters
252 seconds
7.94 m/s
0.8%
1 every 34 meters
250 seconds
8 m/s
0%
1 every 35 meters
253 seconds
7.91 m/s
1.2%
1 every 36 meters
251 seconds
7.97 m/s
0.4%
1 every 37 meters
252 seconds
7.94 m/s
0.8%
1 every 38 meters
251 seconds
7.97 m/s
0.4%
1 every 39 meters
258 seconds
7.75 m/s
3.1%
1 every 40 meters
259 seconds
7.72 m/s
3.5%
1 every 41 meters
263 seconds
7.6 m/s
4.9%
1 every 42 meters
267 seconds
7.49 m/s
6.4%
1 every 43 meters
270 seconds
7.41 m/s
7.4%
1 every 44 meters
271 seconds
7.38 m/s
7.7%
1 every 45 meters
281 seconds
7.12 m/s
11%
Powered Rail spacing
Time to travel 2 km
Speed
% Slowdown
1 every 46 meters
281 seconds
7.12 m/s
11%
1 every 47 meters
290 seconds
6.9 m/s
13.8%
1 every 48 meters
301 seconds
6.64 m/s
16.9%
1 every 49 meters
306 seconds
6.54 m/s
18.3%
1 every 50 meters
308 seconds
6.49 m/s
18.8%
1 every 51 meters
306 seconds
6.54 m/s
18.3%
1 every 52 meters
314 seconds
6.37 m/s
20.4%
1 every 53 meters
311 seconds
6.43 m/s
19.6%
1 every 54 meters
319 seconds
6.27 m/s
21.6%
1 every 55 meters
322 seconds
6.21 m/s
22.4%
1 every 56 meters
319 seconds
6.27 m/s
21.6%
1 every 57 meters
333 seconds
6.01 m/s
24.9%
1 every 58 meters
339 seconds
5.9 m/s
26.3%
1 every 59 meters
345 seconds
5.8 m/s
27.5%
3 powered rails in a row on flat terrain is sufficient to boost a minecart from rest to the maximum speed of 8 m/s.
Thereafter, the optimal spacing of powered rails on a level track is to use 1 every 38 blocks (that is, a repeating pattern of 1 powered rail followed by 37 normal rails, then another powered rail, and so on) which maintains a constant minecart speed of 7.97 m/s. If gold is in short supply, it is possible to use powered rails with more space between them at the cost of reduced overall speed. If you definitely must have the full 8 m/s you should place a powered rail on a level track 1 every 34 blocks.
However, the optimal spacing of torches is 1 every 13 blocks in order to keep the entire track lit at light level 8 and above. So for aesthetic purposes, it might also be desirable to space out powered rails every 39 blocks with 3.1% speed losses, or to space them out at 1 every 36 blocks with torches 1 every 12 blocks for the same speed loss as 1 every 38 blocks.
An optimal use requires the synchronization of minecart movement and powered rail placement; moving a powered rail a single block forward or back along a track can make a significant difference. This is because the momentum of a minecart is increased per tick (=1/20 of a second) the cart spends on a powered rail (by 0.9 m/s for occupied carts). When a cart travels at the maximum 8 m/s on a straight track, it alternately spends either 2 or 3 ticks on each block. For an optimal placement, the powered rail must be put where the cart spends 3 ticks, otherwise one third of the boost is wasted.
A diagonal track is a track that consists of the pattern 'left corner' attached to a 'right corner' attached to a 'left corner' ... and so on. When minecarts travel on a diagonal track, the camera is held steady in the diagonal direction and the minecart visually travels diagonally along the track as well. The speed limit of minecarts is actually 8 m/s per cardinal axis, thus when traveling on 2D tracks, the cart will travel 8 m/s in both cardinal directions of travel to result in a net vector of about 11.3 m/s or the principal square root of 128. With a 3D track you travel as fast as 13.85 m/s or the square root of 192.
Because of this difference, there is also a difference between the optimal spacing of powered rails when used on a 2D track when compared to straight travel on flat terrain. This is currently undetermined to high accuracy but is roughly 1 every 52 blocks.[3]
There is also a difference in unmanned or storage mine carts so it is advisable to use a shorter interval if these carts will be used on the track.
It seems as if the optimal Powered Rail placing interval to make storage mine carts move is 4 (1 Powered Rail every 4th block). Compared to shorter intervals the reduction in speed is minimal. The maximal possible interval seems to be 9 as the minecart will not reliably reach its destination when using higher intervals.
A Detector Rail will power 4 adjacent blocks and 2 blocks below it when a minecart, occupied or empty, is on it. This makes it possible to activate powered rails inline without redstone torches or wiring.
A detector can be used to activate adjacent powered rails. However, if the detector is used to activate more than two or three (depending on approach speed) powered rails, the rails will deactivate before the minecart reaches them, bringing the cart to an immediate stop.
One-way powered rail lines can be created by placing a detector rail before a powered rail. This way, occupied carts will only be boosted if they are traveling the proper direction. Carts going the "wrong" way will be brought to a stop because the powered rail is inactive.
Although inefficient, A two-way rail line can be created by placing detector rails on either side of the powered rail.
Alternately, placing powered and detector rails on a 1x1 slope will not propel a cart more than 3 blocks upward if there is not enough initial momentum. The cart will lose too much speed on the incline, meaning it can't make it from the detector rail to the powered rail before the powered rail returns to the "off" state. If the cart is in a train of two or more carts, the last car in the train will become stuck instead.
A detector rail could also be used to activate an event based on a cart's location. For example, a fail-safe can be created to release a stopped cart in order to prevent a collision with an arriving cart. The arriving cart passes over a detector rail, activating a powered rail that boosts the resting cart away.
Curved power rails only exist in the case where the final direction is towards the east (with the powered rail appearing in the north-south orientation), or in a T-junction where one path faces east along a north/south track.[4][5] It is possible to make a one-way curved railway using power rails, but not a bi-directional one.
When placing rails, regular rails prefer to curve towards the powered rail. In cases such as these, the south-west rule applies.
A cart traveling on a powered rail that collides with an object (wall, single block, player, other cart) will reverse direction. It will not reverse direction if it collides with a translucent block, such as Stone Slabs or Glass. If a track including powered rails is bordered by blocks acting as "buffers", the cart will indefinitely continue back and forth along the track. Having carts interact with each other on a short track designed this way can be used to chain multiple carts together as a "train". Once aligned, they will all move together at relatively the same speed.
How far the charge passes down adjacent rails is independent of the length of redstone wire. Even if the rails are connected to a redstone torch by 15 blocks of redstone dust, the 8 adjacent rails will still be powered normally despite the fact that they should be out of range for the torch.
Powered Rail Mechanisms
Stop points
It is possible to make points in your track where a cart is stopped and then jumpstarted again by player input. This can be useful for creating checkpoints to certain sites of interest in your world. This can be done by using two powered track pieces on a one block incline, by having the first powered track piece going down, with the second powered track piece at the bottom and a button placed alongside the second powered track piece, so that the button is directly above the track. You can see an animated example of this stop point if you click on the image to the right.
Animated Gif of a stop point. Click for the animated version
When the cart comes to this point it will stop On the incline, allowing the cart to use gravity to start the boost when the button is pushed. Players can then either stay in the cart and carry on to the next stop, or leave the cart at the station for themselves/other players to use later.
A "two-way" stop can be made by combining two of the normal stops with a detector rail in between. This will pause a minecart travelling in either direction and allow them to be restarted by pressing a button.
To create a simple initial boost device using 2 powered rails, dig a hole 1 block deep and 2 blocks long. Place the powered rails inside the trench, connect one end to the track that you wish the mine cart to exit. Finally place the mine cart on the powered rail. Once power is applied to the rail the minecart will be boosted out.
Momentum boost/Climb boost
Note: This trick seems to be outdated in the 1.5 update.[citation needed]
It is possible to reach a remarkable height with just using 4 powered rail[6] by using a 3x3 loop with 4 powered rail that is connected with a T switch to the slope. A cart is placed on the loop and allowed to spin around for a few seconds to build up momentum beyond the speed limit. The best practice is to have a switch with a delay to switch the T section to alternate between a loop and the uphill section. The player switches the loop so it will go uphill, because of the delay the player can get in the cart and the cart will loop a few times building up momentum until the delayed switch of the T-section shoots the player uphill.
With just a few seconds of building up momentum, you will reach the cloud layer if sea level was used as starting point. You can make a loop with 3 rails instead of four which is more effective, as seen here. You can implement this trick in a minecart arrival/depart station, as seen here. You can avoid using stacks of redstone for delay repeaters by using a water timer, as seen here.
When making use of this mechanism (assuming the delay it takes for a dispensed item to travel in 8 blocks of water and without additional friction); an occupied minecart will travel at full speed for approximately 330 blocks on a flat horizontal surface (after which momentum loss will become visible as a loss of speed will occur).
When making use of this same mechanism to gauge vertical climb at full speed before speed loss occurs - one can observe an occupied minecart able to climb approximately 60 blocks before speed loss occurs.
This leads us to surmise that:
Each block climbed vertically consumes approximately the same momentum as travelling 5.5 blocks horizontally.
With this knowledge in hand, it is easy to calculate whether the distance you wish to traverse can sufficiently be overcome with this booster; and whether additional support will be necessary.
Video
Powered Rail/video
History
b
1.5
{{Extension DPL}}<ul><li>[[Raw Beef|Raw Beef]]<br/>{{Item
| title = Raw Beef
| image = Raw Beef.png
| heals = {{hunger|3}}
| renewable = Yes
| stackable = Yes (64)
}}
'''Raw beef''' is a [[food]] item that can be eaten by the [[player]] or cooked in a [[furnace]], [[smoker]], or [[campfire]] to make [[steak]].
== Obtaining ==
=== Mob loot ===
When adult [[cow]]s and [[mooshroom]]s are killed, they drop 1-3 raw beef. The maximum amount is increased by 1 per level of [[Looting]], for a maximum of 1-6 with Looting III. If killed while on fire, they drop [[steak]] instead.
=== Chest loot ===
{{LootChestItem|raw-beef}}
== Usage ==
=== Food ===
To eat raw beef, press and hold {{control|use}} while it is selected in the hotbar. Eating one restores {{hunger|3}} hunger and 1.8 hunger [[Hunger#Mechanics|saturation]].
=== Smelting ingredient ===
{{Smelting
|showname=1
|Raw Beef
|Steak
|0.35
}}
=== Wolves ===
Raw beef can be used to [[breed]] and heal tamed [[wolves]], lead them around, and make baby tamed wolves grow up faster by 10% of the remaining time.
=== Trading ===
Journeyman-level Butcher villagers have a 50% chance to buy 10 raw beef for an emerald.{{only|bedrock}}
Journeyman-level Butcher villagers always offer buy 10 raw beef for an emerald.{{only|java}}
==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=Raw Beef
|spritetype=item
|nameid=beef
|form=item
|foot=1}}
{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Raw Beef
|spritetype=item
|nameid=beef
|id=273
|form=item
|foot=1}}
== History ==
{{History|java beta}}
{{History||1.8|snap=Pre-release|[[File:Raw Beef JE1 BE1.png|32px]] Added raw beef.|Raw beef is one of the new [[food]] items, [[drops|dropped]] by [[cow]]s in addition to their [[leather]].}}
{{History|java}}
{{History||1.2.1|snap=12w03a|Raw beef can now be used to breed wolves.}}
{{History||1.3.1|snap=12w21a|Raw beef can now be [[trading|sold]] to butcher [[villager]]s, at 14–17 raw beef for 1 [[emerald]].}}
{{History|||snap=1.3|[[File:Raw Beef JE2.png|32px]] The texture of raw beef has been changed.}}
{{History||1.4.2|snap=12w37a|[[File:Raw Beef JE3 BE2.png|32px]] The texture of raw beef has been changed, so that it no longer has a dark outline.}}
{{History||1.8|snap=14w02a|[[Villager]]s no longer [[trading|trade]] for raw beef.}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 363.}}
{{History||1.14|snap=18w43a|[[File:Raw Beef JE4 BE3.png|32px]] The texture of raw beef has been changed.}}
{{History|||snap=18w49a|Raw beef can now be found in [[chest]]s in [[village]] butcher shops.}}
{{History|||snap=19w11a|Butcher [[villager]]s now [[trading|buy]] raw beef.}}
{{History|pocket alpha}}
{{History||v0.4.0|[[File:Raw Beef JE1 BE1.png|32px]] Added raw beef.}}
{{History||v0.5.0|Raw beef now restores {{hp|3}} instead of {{hp|1}}.}}
{{History||v0.8.0|snap=build 1|[[File:Raw Beef JE3 BE2.png|32px]] The texture of raw beef has been changed, so that it no longer has a dark outline.}}
{{History||v0.9.0|snap=build 1|Raw beef has been added to [[Creative]] mode.}}
{{History||v0.12.1|snap=build 1|Raw beef now restores [[hunger]] instead of [[health]].}}
{{History|bedrock}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Raw Beef JE4 BE3.png|32px]] The texture of raw beef has been changed.}}
{{History||1.11.0|snap=beta 1.11.0.1|Raw beef can now be found in [[village]] butcher [[chest]]s.}}
{{History|||snap=beta 1.11.0.4|Raw beef can now be [[trading|sold]] to butcher [[villager]]s.}}
{{History|console}}
{{History||xbox=TU5|xbone=CU1|ps=1.0|wiiu=Patch 1|[[File:Raw Beef JE1 BE1.png|32px]] Added raw beef.}}
{{History||xbox=TU12|[[File:Raw Beef JE3 BE2.png|32px]] The texture of raw beef has been changed, so that it no longer has a dark outline.}}
{{History||xbox=none|xbone=none|ps=1.90|wiiu=none|switch=none|[[File:Raw Beef JE4 BE3.png|32px]] The texture of raw beef has been changed.}}
{{History|New 3DS}}
{{History||0.1.0|[[File:Raw Beef JE3 BE2.png|32px]] Added raw beef.}}
{{History|foot}}
== Issues ==
{{issue list}}
== Gallery ==
<gallery>
File:Jeb steak.png|Raw Beef and [[Steak]] in a preview screenshot.
</gallery>
{{Items}}
[[de:Rohes Rindfleisch]]
[[es:Filete crudo]]
[[fr:Bœuf cru]]
[[hu:Nyers marhahús]]
[[ja:生の牛肉]]
[[ko:익히지 않은 소고기]]
[[nl:Rauwe biefstuk]]
[[pl:Surowa wołowina]]
[[pt:Bife cru]]
[[ru:Сырая говядина]]
[[uk:Сира яловичина]]
[[zh:生牛肉]]
[[Category:Food]]
[[Category:Renewable resources]]</li><li>[[Sugar|Sugar]]<br/>{{Item
| image = Sugar.png
| renewable = Yes
| stackable = Yes (64)
}}
'''Sugar''' is a [[food]] ingredient and [[brewing]] ingredient made from [[sugar canes]].
== Obtaining ==
=== Mob loot ===
[[Witch]]es have a chance of dropping 0–2 sugar upon death. This is increased by 1 per level of [[Looting]], for a maximum of 0–5 sugar.
=== Crafting ===
{{Crafting
|head= 1
|Sugar Cane
|Output= Sugar
|type= Material
}}
{{Crafting
|Honey Bottle
|Output= Sugar, 3
|type= Material
|foot= 1
}}
=== Compound creation ===
Sugar can be created from its base [[element]]s, using the [[compound creator]].{{only|bedrock|education}}
{| class="wikitable"
!Name
!Elements
!Example recipe
|- <!-- Temporarily using crafting grid as a substitute for the compound creator (template not yet available), since the layout is the same, even if the appearance is different -->
!Sugar
|6 Carbon<br>12 Hydrogen<br>6 Oxygen
|{{Crafting Table
|shapeless= 1
|A2=Carbon,6 |B2=Hydrogen,12 |C2=Oxygen,6
|Output=Sugar}}
|}
== Usage ==
=== Crafting ingredient ===
{{crafting usage}}
=== Brewing ingredient ===
{{Brewing
|head=1
|Sugar
|Mundane Potion
|base=Water Bottle
}}
{{brewing
|foot=1
|showname=1
|Sugar
|Potion of Swiftness
}}
=== Horses ===
Sugar can be fed to [[horse]]s to heal {{hp|1}}, speed growth by 30 seconds, and increase taming probability by 3%.
== Achievements ==
{{load achievements|The Lie}}
== Data values ==
=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|showforms=y
|generatetranslationkeys=y
|displayname=Sugar
|spritetype=item
|nameid=sugar
|form=item
|foot=1}}
{{edition|bedrock}}:
{{ID table
|edition=bedrock
|notshowbeitemforms=y
|shownumericids=y
|showforms=y
|generatetranslationkeys=y
|displayname=Sugar
|spritetype=item
|nameid=sugar
|id=416
|form=item
|foot=1}}
== Video ==
<div style="text-align:center">{{yt|DnMFkmC7BxE}}</div>
== History ==
{{History|java beta}}
{{History||1.2|[[File:Sugar JE1 BE1.png|32px]] Sugar has been introduced as an ingredient for [[cake]].}}
{{History|java}}
{{History||1.0.0|snap=Beta 1.9 Prerelease 2|Sugar is now used to craft [[fermented spider eye]]s.}}
{{History|||snap=Beta 1.9 Prerelease 3|Sugar can now be [[brewing|brewed]] in a [[water bottle]] to create a [[Mundane Potion]], or in an [[Awkward Potion]] to create a [[Potion of Swiftness]].}}
{{History||1.4.2|snap=12w37a|Sugar is now used to make [[pumpkin pie]].}}
{{History|||snap=12w38b|[[Witch]]es can now [[drops|drop]] sugar.}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 353.}}
{{History||1.14|snap=18w43a|[[File:Sugar JE2 BE2.png|32px]] The texture of sugar has been changed.}}
{{History||1.15|snap=19w34a|Sugar can now can be created using 1 [[honey bottle]].}}
{{History|pocket alpha}}
{{History||v0.2.0|[[File:Sugar JE1 BE1.png|32px]] Added sugar. It is currently unobtainable and serves no purpose.}}
{{History||v0.3.0|Sugar is now [[craft]]able using [[sugar cane]].}}
{{History||v0.7.0|Sugar is now used to craft [[cake]].}}
{{History||v0.8.0|snap=build 1|Sugar is now used to craft [[pumpkin pie]].}}
{{History||v0.12.1|snap=build 1|Sugar has been added to the [[creative]] [[inventory]].|Sugar is now used to craft [[fermented spider eye]]s.
|Sugar can now be used for [[brewing]], to get mundane [[potion]]s and potions of [[Swiftness]].}}
{{History||v0.14.0|snap=build 1|Added [[witch]]es, which can [[drops|drop]] sugar upon [[death]].}}
{{History||v0.15.0|snap=build 1|Sugar can now be used to feed [[horse]]s, which can increase their temper, heal them, and speed up the growth of foals.}}
{{History|bedrock}}
{{History||1.4.0|snap=beta 1.2.20.1|Sugar can now be created using 6 Carbon, 12 Hydrogen, and 6 Oxygen in the [[compound creator]].}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Sugar JE2 BE2.png|32px]] The texture of sugar has been changed.}}
{{History||1.14.0|snap=beta 1.14.0.1|Sugar can now be created using 1 [[honey bottle]].}}
{{History|console}}
{{History||xbox=TU1|xbone=CU1|ps=1.0|wiiu=Patch 1|switch=1.0.1|[[File:Sugar JE1 BE1.png|32px]] Added sugar.
|Sugar is used to craft [[cake]].}}
{{History||xbox=TU7|Sugar is now used to craft [[fermented spider eye]]s.|Sugar can now be [[brewing|brewed]] in a [[water bottle]] to create a [[Mundane Potion]], or in an [[Awkward Potion]] to create a [[Potion of Swiftness]].}}
{{History||xbox=TU14|ps=1.04|Sugar is now used to make [[pumpkin pie]].}}
{{History||xbox=TU19|xbone=CU7|ps=1.12|wiiu=Patch 1|switch=1.0.1|[[Witch]]es can now [[drops|drop]] sugar.}}
{{History||xbox=none|xbone=none|ps=1.90|wiiu=none|switch=none|[[File:Sugar JE2 BE2.png|32px]] The texture of sugar has been changed.}}
{{History|New 3DS}}
{{History||0.1.0|[[File:Sugar JE1 BE1.png|32px]] Added sugar.}}
{{History|foot}}
== Issues ==
{{issue list}}
== External Links ==
*[https://www.minecraft.net/en-us/article/taking-inventory--sugar Taking Inventory: Sugar] – Minecraft.net on January 27, 2022
{{Items}}
[[cs:Cukr]]
[[de:Zucker]]
[[es:Azúcar]]
[[fr:Sucre]]
[[hu:Cukor]]
[[it:Zucchero]]
[[ja:砂糖]]
[[ko:설탕]]
[[nl:Suiker]]
[[pl:Cukier]]
[[pt:Açúcar]]
[[ru:Сахар]]
[[th:น้ำตาล]]
[[uk:Цукор]]
[[zh:糖]]
[[Category:Renewable resources]]
[[Category:Brewing recipe]]</li></ul>
Added powered rails.
1.6
{{Extension DPL}}<ul><li>[[Cookie|Cookie]]<br/>{{Item
| title = Cookie
| image = Cookie.png
| heals = {{hunger|2}}
| renewable = Yes
| stackable = Yes (64)
}}
'''Cookies''' are [[food]] items that can be obtained in large quantities, but do not restore hunger or saturation significantly.
== Obtaining ==
=== Trading ===
Journeyman-level farmer [[villager]]s sell 18 cookies for 3 [[emerald]]s as part of their trades.
=== Crafting ===
{{Crafting
|A2= Wheat
|B2= Cocoa Beans
|C2= Wheat
|Output= Cookie,8
|type= Foodstuff
}}
=== Villager gifts ===
{{in|java}}, if the [[player]] has the [[Hero of the Village]] effect, a farmer villager may gift them a cookie.
== Usage ==
=== Food ===
To eat a cookie, press and hold {{control|use}} while it is selected in the hotbar. Eating one restores {{hunger|2}} [[hunger]] and 0.4 hunger
[[Hunger#Mechanics|saturation]].
=== Parrots ===
Feeding a cookie to a [[parrot]] kills the parrot instantly, and causes it to give off [[Poison]] [[particles]] as it dies due to chocolate being toxic to parrots.
{{IN|Bedrock}}, feeding a cookie to a parrot inflicts the parrot with [[Fatal Poison]] for 1,000 seconds.
=== Composting ===
Placing a cookie into a [[composter]] has an 85% chance of raising the compost level by 1.
Considering the high yield of cookies (8 cookies from 1 cocoa bean and 2 wheats) and the higher chance to successfully compost a cookie (85%), it is more efficient to craft cookies to compost rather than using separate ingredients. For example, 100 wheats and 50 cocoa beans, which in total could yield only 13.92 bone meal on average, could be crafted into 400 cookies to yield 48.57 bone meal on average.
== 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=Cookie
|spritetype=item
|nameid=cookie
|form=item
|foot=1}}
{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Cookie
|spritetype=item
|nameid=cookie
|id=271
|form=item
|foot=1}}
== History ==
{{History|java beta}}
{{History||1.4|[[File:Cookie JE1 BE1.png|32px]] Added cookies.
|Cookies restore {{hp|1}} and are currently the only stackable [[food]], up to 8 cookies per stack.}}
{{History||1.8|snap=Pre-release|Cookies can now be stacked to 64.
|Cookies now restore {{hunger|1}}.}}
{{History|java}}
{{History||1.3.1|snap=12w18a|Cocoa beans have become farmable, making cookies [[renewable resource|renewable]] and ''much'' cheaper.}}
{{History|||snap=12w19a|Cookies now restore {{hunger|2}} instead of {{hunger|1}}.}}
{{History|||snap=12w21a|Farmer [[villager]]s now [[trading|sell]] 8–10 cookies for 1 [[emerald]].}}
{{History||1.8|snap=14w02a|Farmer villagers now sell 6 cookies for 1 emerald.}}
{{History||1.11|snap=16w33a|Farmer villagers now sell 6–10 cookies for 1 emerald.}}
{{History||1.12|snap=17w13a|Cookies can now be used to tame [[parrot]]s.}}
{{History|||snap=pre3|Cookies are no longer used to tame [[parrot]]s. Instead, a cookie now instantly kills a parrot.}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 357.}}
{{History||1.14|snap=18w43a|[[File:Cookie JE2 BE2.png|32px]] The texture of cookies has been changed.}}
{{History|||snap=19w03a|Placing a cookie into the new [[composter]] has a 80% chance of raising the compost level by 1.}}
{{History|||snap=19w05a|Cookies now have an 85% chance of increasing the compost level in a composter by 1.}}
{{History|||snap=19w13a|Farmer villagers now give cookies to players under the [[Hero of the Village]] effect.}}
{{History|pocket alpha}}
{{History||v0.9.0|snap=build 1|[[File:Cookie JE1 BE1.png|32px]] Added cookies.}}
{{History||v0.12.1|snap=build 1|Cookies now restore [[hunger]] instead of [[health]].}}
{{History|pocket}}
{{History||1.0.4|snap=alpha 1.0.4.0|Farmer [[villager]]s now [[trading|sell]] 6-10 cookies for 1 [[emerald]].}}
{{History|bedrock}}
{{History||1.2.0|snap=beta 1.2.0.2|Cookies can now be used to inflict a fatal [[Poison]] [[status effect]] to [[parrot]]s.}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Cookie JE2 BE2.png|32px]] The texture of cookies has been changed.}}
{{History||1.11.0|snap=beta 1.11.0.1|Cookies can now be used to fill up [[composter]]s.}}
{{History|||snap=beta 1.11.0.4|Farmer [[villager]]s now [[trading|sell]] 18 cookies for 3 [[emerald]]s as part of their third tier [[trading|trades]].}}
{{History|console}}
{{History||xbox=TU1|xbone=CU1|ps=1.0|wiiu=Patch 1|[[File:Cookie JE1 BE1.png|32px]] Added cookies.}}
{{History||xbox=none|xbone=none|ps=1.90|wiiu=none|switch=none|[[File:Cookie JE2 BE2.png|32px]] The texture of cookies has been changed.}}
{{History|new 3ds}}
{{History||0.1.0|[[File:Cookie JE1 BE1.png|32px]] Added cookies.}}
{{History|foot}}
== Issues ==
{{issue list}}
== Gallery ==
<gallery>
File:12w21a CookiePurchase.png|Cookies being obtained by [[trading]] with a farmer [[villager]].
File:Eating Steve.png|[[Steve]] eating a cookie.
File:Eating Alex.png|Alex eating a cookie.
</gallery>
== References ==
{{reflist}}
== External Links ==
*[https://www.minecraft.net/en-us/article/taking-inventory--cookie Taking Inventory: Cookie] – Minecraft.net on August 22, 2019
{{Items}}
[[Category:Food]]
[[Category:Renewable resources]]
[[cs:Sušenka]]
[[de:Keks]]
[[es:Galleta]]
[[fr:Cookie]]
[[hu:Csokis süti]]
[[ja:クッキー]]
[[ko:쿠키]]
[[nl:Koekje]]
[[pl:Ciastko]]
[[pt:Biscoito]]
[[ru:Печенье]]
[[uk:Печиво]]
[[zh:曲奇]]</li><li>[[Redstone Repeater|Redstone Repeater]]<br/>{{Block
| image = <gallery>
Redstone Repeater.png|Redstone Repeater
Redstone Repeater BE.png|Redstone Repeater (BE)
</gallery>
| extratext = View [[#Renders|all renders]]
| transparent = Yes
| light = No
| tool = any
| stackable = Yes (64)
| flammable = No
| lavasusceptible = No
| renewable = Yes
}}
{{about|the block|repeater circuits|Transmission circuit#Repeater|other topics related to redstone|Redstone (disambiguation)}}
A '''redstone repeater''' is a [[block]] that produces a full-strength [[Redstone Dust|output signal]] from its front when its back is powered, with four configurable delay settings. It can also be locked into a power state by its side being directly powered by a repeater or a [[Redstone Comparator|comparator]].
== Obtaining ==
=== Breaking ===
A redstone repeater can be broken instantly using any [[tool]], or without a tool, and drops itself as an item. To remove a redstone repeater, {{control|mine}} it.
A redstone repeater is removed and drops as an item if:
* its attachment block is moved, removed, or destroyed;
* [[water]] or [[lava]] flows into its space;{{only|java}}
* a [[piston]] tries to push it or moves a block into its space.
=== Natural generation ===
[[File:Redstone Repeater naturally generated.png|thumb|A redstone repeater generated in the jungle temple's hidden room.]]
A single redstone repeater is generated naturally in each [[jungle temple]].
They also generate in [[Ancient City|ancient cities]].
=== Crafting ===
{{Crafting
|A2= Redstone Torch
|B2= Redstone Dust
|C2= Redstone Torch
|B3= Stone
|C3= Stone
|A3= Stone
|Output= Redstone Repeater
|type= Redstone
}}
== Usage ==
{{see also|Redstone circuit}}
A redstone repeater can be used in four different ways: to "repeat" redstone signals back to full strength, delay signals, prevent signals moving backwards, or to "lock" signals in one state.
A repeater can be placed only on top of [[opaque]] blocks (dirt, stone, etc.), on top of upside-down [[slab]]s, upside-down [[stairs]], furnaces, and glass. {{IN|be}}, a repeater can also be placed on fences and stone walls. They can also be placed on some transparent blocks. See [[Opacity/Placement]] for more information. To place a repeater, use the {{control|Place Block}} [[control]].
A redstone repeater has a front and back – the arrow on the top points to the repeater's front. A repeater also has two small redstone torches on its top – the color of the torches indicates whether its output is on (dark red when off, bright red when on) and the distance between them indicates the delay the repeater adds to the signal transmission.
A repeater is 0.125 ({{frac|1|8}}) blocks high.
=== Signal transmission ===
A repeater transmits signals only from its back to its front, but its behavior can be modified from the side (see [[#Signal locking|signal locking]], below).
[[File:Redstone Torch Power.png|Different ways to power a repeater|thumb]]
A redstone repeater can be powered by any of the following components at its back:
* an active [[power component]] (redstone torch, lever, block of redstone, etc.)
* powered [[redstone dust]]
* a powered [[redstone comparator]] or another powered redstone repeater facing the repeater
* a powered opaque block (including any opaque [[mechanism component]]s, such as [[dispenser]]s, [[redstone lamp]]s, etc.)
A redstone repeater can power any of the following components at its front:
* redstone dust
* a redstone comparator or another redstone repeater facing away from the repeater
* any opaque block (including any opaque [[mechanism component]]s)
A redstone repeater can activate any [[mechanism component]] it is facing.
An opaque block powered by a redstone repeater is called "strongly-powered" (as opposed to an opaque block "weakly-powered" by redstone dust). A strongly-powered opaque block can power adjacent redstone dust, as well as other redstone components.
=== Signal repeating ===
{{see also|Transmission circuit#Repeater}}
A redstone repeater can "repeat" a [[Redstone Dust|redstone]] signal, boosting it back up to power level 15.
Redstone signals have a maximum power level of 15 and that level drops by 1 for every block of [[redstone dust]] the signal travels through. If a signal must travel through more than 15 [[block]]s of redstone dust, a redstone repeater can be used to boost the signal back up to full strength. An extra two blocks of distance can be achieved by placing solid opaque blocks before and after the repeater.
While redstone repeaters can allow signals to travel great distances, each always adds some delay to the transmission since the minimum amount of delay is 1 redstone tick (0.1 seconds, barring lag).
=== Signal delay ===
When initially placed, a redstone repeater has a delay of one [[redstone tick]] (equivalent to two game ticks, or 0.1 seconds barring lag).
A repeater's delay can be modified by using the {{control|Use Item}} control. Each use increases the repeater's delay by one redstone tick, to a maximum of four redstone ticks, then back to one redstone tick. Longer delays can be made with multiple repeaters – for example, a repeater set to 'four' and another to 'one' provides a half-second delay (0.4s + 0.1s = 0.5s).
A repeater set to a delay of two to four redstone ticks increases the length of any shorter [[Pulse circuit#Pulses|on-pulse]] to match the length of the repeater's delay, and suppress any shorter off-pulse. For example, a repeater set to a 4-tick delay changes a 1-tick, 2-tick, or 3-tick on-pulse into a 4-tick on-pulse, and does not allow through any off-pulse shorter than 4 ticks.
Although a repeater cannot be set to have a delay of zero, [[Transmission circuit#Instant repeater|instant repeater circuits]] are possible (circuits that repeat a signal with no delay).
In Bedrock Edition, the first repeater have a delay of zero but the repeater is still showing 1-tick{{info needed}}
=== {{anchor|diode}} Signal direction ===
{{see also| Mechanics/Redstone/Transmission circuit#Diode}}
A redstone repeater acts as a diode – it allows redstone signals through in one direction (unlike [[redstone dust]] or opaque blocks that can transmit redstone signals in any direction).
A diode can be used to protect a [[redstone circuit]] from redstone signals feeding back into the circuit from its output, or can be used to isolate one part of a circuit from another.
=== {{anchor|lock}} Signal locking ===
{{see also| Mechanics/Redstone/Memory circuit}}
[[File:Latch.png|thumb|The left repeater has been locked in an unpowered output state by the right repeater.]]
A redstone repeater can be "locked" by another powered redstone repeater facing its side. When locked, the repeater does not change its output (whether powered or unpowered), no matter what the input does. When the side repeater turns back off, the repeater returns to its normal behavior.
A repeater can also be locked by a powered [[redstone comparator]] facing its side. This offers additional possibilities for locking signals because a comparator's output can be affected from 3 sides as well as by containers.
If a repeater is locked again too quickly after unlocking (e.g. the lock is controlled by a fast clock circuit), or the lock and the input are changed only on the same tick (e.g. because they're fed by the same clock and both repeaters have the same delay), the repeater does not switch states.
== Sounds ==
{{Edition|java}}:
{{Sound table/Block/Stone/JE}}
{{Edition|bedrock}}:
{{Sound table/Block/Wood/BE}}
== Data values ==
=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|showforms=y
|generatetranslationkeys=y
|displayname=Redstone Repeater
|spritetype=block
|nameid=repeater
|foot=1}}
{{edition|bedrock}}:
{{ID table
|edition=bedrock
|firstcolumnname=Redstone Repeater
|shownumericids=y
|showforms=y
|generatetranslationkeys=y
|displayname=Unpowered block
|spritename=unpowered-repeater
|spritetype=block
|nameid=unpowered_repeater
|id=93
|form=block
|translationkey=-}}
{{ID table
|displayname=Powered block
|spritename=powered-repeater
|spritetype=block
|nameid=powered_repeater
|id=94
|form=block
|translationkey=-}}
{{ID table
|displayname=Item
|spritename=redstone-repeater
|spritetype=item
|nameid=repeater
|id=419
|form=item
|foot=1}}
=== Block states ===
{{see also|Block states}}
{{/BS}}
== Video ==
<div style="text-align:center">{{yt|0Ij_qMLiRzE}}</div>
== History ==
''For a more in-depth breakdown of changes to repeater textures and models, including a set of renders for each state combination, see [[/Asset history]]''
{{History|java beta}}
{{History||1.3|[[File:Redstone Repeater (S) JE1.png|32px]] [[File:Redstone Repeater (item) JE1.png|32px]] Added redstone repeaters.
|Originally, the four possible settings were "1, 2, 5 and 7",<ref>http://twitter.com/jeb_/status/33888465502339073</ref> but [[Jeb]] decided to change the settings to "1, 2, 3, and 4".<ref>http://www.reddit.com/r/Minecraft/comments/fmdtp/teammojang_redstone_repeater_video/c1gzrn6</ref>
|The particles when [[breaking]] redstone repeaters erroneously use the [[pumpkin]] top texture.}}
{{History||unknown|The breaking particles of redstone repeaters now use the smooth stone [[slab]] top texture, even though none of the elements on the [[model]] use it.}}
{{History||1.7|[[File:Redstone Repeater (S) JE2.png|32px]] The side texture of redstone repeaters has been changed to the previous bottom part of the texture.
|[[Redstone dust]] now automatically connects to the input of a redstone repeater. Previously, it needed to be specifically pointed towards the repeater like with other blocks.}}
{{History||unknown|Redstone dust now visually connects to the output of redstone repeaters, though this does not change its behavior.}}
{{History|java}}
{{History||unknown|The breaking particles of redstone repeaters have been changed to an unlit [[redstone torch]] when unpowered and a lit redstone torch when powered.}}
{{History||1.3.1|snap=12w22a|Redstone repeaters now naturally generate inside [[jungle temple]]s.}}
{{History|||snap=1.3|[[File:Redstone Repeater (item) JE2 BE1.png|32px]] The texture of redstone repeater [[item]]s have been changed.}}
{{History||1.4.2|snap=12w42a|[[File:Redstone Repeater (S) JE3.png|32px]] The top texture of redstone repeaters has now been changed.
|[[File:Locked Redstone Repeater (S) JE1.png|32px]] Added repeater locking to redstone repeaters. Interestingly, the smallest face of the bedrock cuboid's texture changes depending on the delay, but the other two faces remain the same. When/if this changed is unknown.}}
{{History||1.5|snap=13w02a|[[File:Redstone Repeater (S) JE4.png|32px]] The side textures of redstone repeaters have been changed to use the top texture of stone [[slab]]s.}}
{{History||unknown|The breaking [[particles|particle]] of redstone repeaters has been changed once again and now matches the top texture of redstone repeaters.}}
{{History||1.8|snap=14w06a|Repeaters no longer produce block [[light]] when powered.}}
{{History|||snap=14w10a|[[File:Powered Redstone Repeater (S) JE5.png|32px]] Torches on repeaters now no longer have protruding features.
|The torches underneath redstone repeaters have now been shortened, which has changed the underside textures from [[File:Redstone Repeater JE2 BE1 (facing NWU).png|32px]] [[File: Redstone Repeater Delay 2 JE2 BE1 (facing NWU).png|32px]] [[File: Redstone Repeater Delay 3 JE2 BE1 (facing NWU).png|32px]] [[File: Redstone Repeater Delay 4 JE2 BE1 (facing NWU).png|32px]] [[File: Active Redstone Repeater JE2 BE1 (facing NWU).png|32px]] [[File: Active Redstone Repeater Delay 2 JE2 BE1 (facing NWU).png|32px]] [[File: Active Redstone Repeater Delay 3 JE2 BE1 (facing NWU).png|32px]] [[File: Active Redstone Repeater Delay 4 JE2 BE1 (facing NWU).png|32px]] [[File: Locked Redstone Repeater JE2 BE1 (facing NWU).png|32px]] [[File: Locked Redstone Repeater Delay 2 JE2 BE1 (facing NWU).png|32px]] [[File: Locked Redstone Repeater Delay 3 JE2 BE1 (facing NWU).png|32px]] [[File: Locked Redstone Repeater Delay 4 JE2 BE1 (facing NWU).png|32px]] [[File: Active Locked Redstone Repeater JE2 BE1 (facing NWU).png|32px]] [[File: Active Locked Redstone Repeater Delay 2 JE2 BE1 (facing NWU).png|32px]] [[File: Active Locked Redstone Repeater Delay 3 JE2 BE1 (facing NWU).png|32px]] [[File: Active Locked Redstone Repeater Delay 4 JE2 BE1 (facing NWU).png|32px]] to [[File:Redstone Repeater JE3 (facing NWU).png|32px]] [[File: Redstone Repeater Delay 2 JE3 (facing NWU).png|32px]] [[File: Redstone Repeater Delay 3 JE3 (facing NWU).png|32px]] [[File: Redstone Repeater Delay 4 JE3 (facing NWU).png|32px]] [[File: Active Redstone Repeater JE3 (facing NWU).png|32px]] [[File: Active Redstone Repeater Delay 2 JE3 (facing NWU).png|32px]] [[File: Active Redstone Repeater Delay 3 JE3 (facing NWU).png|32px]] [[File: Active Redstone Repeater Delay 4 JE3 (facing NWU).png|32px]] [[File: Locked Redstone Repeater JE3 (facing NWU).png|32px]] [[File: Locked Redstone Repeater Delay 2 JE3 (facing NWU).png|32px]] [[File: Locked Redstone Repeater Delay 3 JE3 (facing NWU).png|32px]] [[File: Locked Redstone Repeater Delay 4 JE3 (facing NWU).png|32px]] [[File: Locked Active Redstone Repeater JE3 (facing NWU).png|32px]] [[File: Locked Active Redstone Repeater Delay 2 JE3 (facing NWU).png|32px]] [[File: Locked Active Redstone Repeater Delay 3 JE3 (facing NWU).png|32px]] [[File: Locked Active Redstone Repeater Delay 4 JE3 (facing NWU).png|32px]].}}
{{History|||snap=14w10b|[[File:Powered Redstone Repeater (S) JE4.png|32px]] Repeater torches now have protruding features again.<ref>{{bug|MC-50242}}</ref>}}
{{History|||snap=?|[[File:Powered Redstone Repeater (S) JE7.png|32px]] The torches on redstone repeaters are now affected by directional shading.}}
{{History||1.13|snap=17w47a|All 3 IDs for the redstone repeater have now been merged into 1 ID: <code>repeater</code>.
|Added powered block state to redstone repeaters.
|Redstone repeaters now render their underside, which has changed their undersides from [[File:Redstone Repeater JE3 (facing NWU).png|32px]] [[File: Redstone Repeater Delay 2 JE3 (facing NWU).png|32px]] [[File: Redstone Repeater Delay 3 JE3 (facing NWU).png|32px]] [[File: Redstone Repeater Delay 4 JE3 (facing NWU).png|32px]] [[File: Active Redstone Repeater JE3 (facing NWU).png|32px]] [[File: Active Redstone Repeater Delay 2 JE3 (facing NWU).png|32px]] [[File: Active Redstone Repeater Delay 3 JE3 (facing NWU).png|32px]] [[File: Active Redstone Repeater Delay 4 JE3 (facing NWU).png|32px]] [[File: Locked Redstone Repeater JE3 (facing NWU).png|32px]] [[File: Locked Redstone Repeater Delay 2 JE3 (facing NWU).png|32px]] [[File: Locked Redstone Repeater Delay 3 JE3 (facing NWU).png|32px]] [[File: Locked Redstone Repeater Delay 4 JE3 (facing NWU).png|32px]] [[File: Locked Active Redstone Repeater JE3 (facing NWU).png|32px]] [[File: Locked Active Redstone Repeater Delay 2 JE3 (facing NWU).png|32px]] [[File: Locked Active Redstone Repeater Delay 3 JE3 (facing NWU).png|32px]] [[File: Locked Active Redstone Repeater Delay 4 JE3 (facing NWU).png|32px]] to [[File:Redstone Repeater JE4 BE2 (facing NWU).png|32px]] [[File: Redstone Repeater Delay 2 JE4 BE2 (facing NWU).png|32px]] [[File: Redstone Repeater Delay 3 JE4 BE2 (facing NWU).png|32px]] [[File: Redstone Repeater Delay 4 JE4 BE2 (facing NWU).png|32px]] [[File: Active Redstone Repeater JE4 BE2 (facing NWU).png|32px]] [[File: Active Redstone Repeater Delay 2 JE4 BE2 (facing NWU).png|32px]] [[File: Active Redstone Repeater Delay 3 JE4 BE2 (facing NWU).png|32px]] [[File: Active Redstone Repeater Delay 4 JE4 BE2 (facing NWU).png|32px]] [[File: Locked Redstone Repeater JE4 BE2 (facing NWU).png|32px]] [[File: Locked Redstone Repeater Delay 2 JE4 BE2 (facing NWU).png|32px]] [[File: Locked Redstone Repeater Delay 3 JE4 BE2 (facing NWU).png|32px]] [[File: Locked Redstone Repeater Delay 4 JE4 BE2 (facing NWU).png|32px]] [[File: Locked Active Redstone Repeater JE4 BE2 (facing NWU).png|32px]] [[File: Locked Active Redstone Repeater Delay 2 JE4 BE2 (facing NWU).png|32px]] [[File: Locked Active Redstone Repeater Delay 3 JE4 BE2 (facing NWU).png|32px]] [[File: Locked Active Redstone Repeater Delay 4 JE4 BE2 (facing NWU).png|32px]].
|Prior to [[1.13/Flattening|''The Flattening'']], these [[block]]s' numeral IDs were 93 and 94, and the [[item]]'s 356.}}
{{History||1.14|snap=18w43a|[[File:Redstone Repeater (S) JE5.png|32px]] [[File:Powered Redstone Repeater (S) JE9.png|32px]] [[File:Locked Redstone Repeater (S) JE5.png|32px]] [[File:Powered Locked Redstone Repeater (S) JE6.png|32px]] [[File:Redstone Repeater (item) JE3 BE2.png|32px]] The textures of redstone repeaters have now been changed.}}
{{History|||snap=18w50a|[[File:Locked Redstone Repeater (S) JE6.png|32px]] [[File:Powered Locked Redstone Repeater (S) JE7.png|32px]] As the texture of [[bedrock]] has been changed, the textures of locked redstone repeaters have also now been changed.}}
{{History|||snap=19w12b|Redstone repeaters can now be placed on [[glass]], [[ice]], [[glowstone]] and [[sea lantern]]s.}}
{{History||1.19|snap=22w13a|Redstone repeaters now generate in [[Ancient City|ancient cities]].}}
{{History||1.20.2|snap=23w33a|Redstone repeaters now use stone sounds instead of wood sounds.<ref>{{bug|MC-182820|||Fixed}}</ref>}}
{{History|pocket alpha}}
{{History||v0.14.0|snap=build 1|[[File:Redstone Repeater (S) JE3.png|32px]] [[File:Redstone Repeater (item) JE2 BE1.png|32px]] Added redstone repeaters.}}
{{History|bedrock}}
{{History||1.2.0|snap=beta 1.2.0.2|Redstone repeaters now render their underside, which has changed their undersides from [[File:Redstone Repeater JE2 BE1 (facing NWU).png|32px]] [[File: Redstone Repeater Delay 2 JE2 BE1 (facing NWU).png|32px]] [[File: Redstone Repeater Delay 3 JE2 BE1 (facing NWU).png|32px]] [[File: Redstone Repeater Delay 4 JE2 BE1 (facing NWU).png|32px]] [[File: Active Redstone Repeater JE2 BE1 (facing NWU).png|32px]] [[File: Active Redstone Repeater Delay 2 JE2 BE1 (facing NWU).png|32px]] [[File: Active Redstone Repeater Delay 3 JE2 BE1 (facing NWU).png|32px]] [[File: Active Redstone Repeater Delay 4 JE2 BE1 (facing NWU).png|32px]] [[File: Locked Redstone Repeater JE2 BE1 (facing NWU).png|32px]] [[File: Locked Redstone Repeater Delay 2 JE2 BE1 (facing NWU).png|32px]] [[File: Locked Redstone Repeater Delay 3 JE2 BE1 (facing NWU).png|32px]] [[File: Locked Redstone Repeater Delay 4 JE2 BE1 (facing NWU).png|32px]] [[File: Active Locked Redstone Repeater JE2 BE1 (facing NWU).png|32px]] [[File: Active Locked Redstone Repeater Delay 2 JE2 BE1 (facing NWU).png|32px]] [[File: Active Locked Redstone Repeater Delay 3 JE2 BE1 (facing NWU).png|32px]] [[File: Active Locked Redstone Repeater Delay 4 JE2 BE1 (facing NWU).png|32px]] to [[File:Redstone Repeater JE4 BE2 (facing NWU).png|32px]] [[File: Redstone Repeater Delay 2 JE4 BE2 (facing NWU).png|32px]] [[File: Redstone Repeater Delay 3 JE4 BE2 (facing NWU).png|32px]] [[File: Redstone Repeater Delay 4 JE4 BE2 (facing NWU).png|32px]] [[File: Active Redstone Repeater JE4 BE2 (facing NWU).png|32px]] [[File: Active Redstone Repeater Delay 2 JE4 BE2 (facing NWU).png|32px]] [[File: Active Redstone Repeater Delay 3 JE4 BE2 (facing NWU).png|32px]] [[File: Active Redstone Repeater Delay 4 JE4 BE2 (facing NWU).png|32px]] [[File: Locked Redstone Repeater JE4 BE2 (facing NWU).png|32px]] [[File: Locked Redstone Repeater Delay 2 JE4 BE2 (facing NWU).png|32px]] [[File: Locked Redstone Repeater Delay 3 JE4 BE2 (facing NWU).png|32px]] [[File: Locked Redstone Repeater Delay 4 JE4 BE2 (facing NWU).png|32px]] [[File: Locked Active Redstone Repeater JE4 BE2 (facing NWU).png|32px]] [[File: Locked Active Redstone Repeater Delay 2 JE4 BE2 (facing NWU).png|32px]] [[File: Locked Active Redstone Repeater Delay 3 JE4 BE2 (facing NWU).png|32px]] [[File: Locked Active Redstone Repeater Delay 4 JE4 BE2 (facing NWU).png|32px]].}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Redstone Repeater (S) BE2.png|32px]] [[File:Powered Redstone Repeater (S) BE2.png|32px]] [[File:Redstone Repeater (item) JE3 BE2.png|32px]] The textures of redstone repeaters have now been changed.}}
{{History||1.20.30|snap=beta 1.20.30.20|Redstone Repeaters now use the <code>minecraft:cardinal_direction</code> [[block state]] instead of <code>direction</code>.}}
{{History|console}}
{{History||xbox=TU1|xbone=CU1|ps=1.0|wiiu=Patch 1|switch=1.0.1|[[File:Redstone Repeater (S) JE3.png|32px]]{{verify|Was this model actually used here?}} [[File:Redstone Repeater (item) JE2 BE1.png|32px]] Added redstone repeaters.}}
{{History||xbox=TU19|xbone=CU7|ps=1.12|wiiu=Patch 1|switch=1.0.1|[[File:Locked Redstone Repeater (S) JE1.png|32px]]{{verify|Was this model actually used here?}} Added repeater locking to redstone repeaters.}}
{{History||xbox=none|xbone=none|ps=1.90|wiiu=none|switch=none|[[File:Redstone Repeater (S) JE4.png|32px]]{{verify|Was this model actually used here?}} [[File:Redstone Repeater (item) JE3 BE2.png|32px]] The textures of redstone repeaters have now been changed.}}
{{History|new 3ds}}
{{History||0.1.0|[[File:Redstone Repeater (S) JE3.png|32px]]{{verify|Was this model actually used here?}} [[File:Redstone Repeater (item) JE2 BE1.png|32px]] Added redstone repeaters and repeater locking.}}
{{History|foot}}
=== Redstone repeater "items" ===
{{:Technical blocks/Redstone Repeater}}
== Issues ==
{{Issue list}}
== Trivia ==
* The recipe and appearance of redstone repeaters are a likely reference to the old method of repeating signals, which would also use two torches at a time, inverting each other
== Gallery ==
<gallery>
Repeater clock.gif|A redstone clock formed from a redstone torch and a repeater.
Repeater feedback.gif|A redstone clock formed from two repeaters.
Two way repeater.gif|MCRedstoneSim diagram of a two-way repeater.
Repeater bridge.png|Crossing redstone wires using repeaters.
Jeb Repeaters 1.png|
Jeb Repeaters 2.png|
Jeb Repeaters 3.png|
</gallery>
=== Renders ===
<gallery>
Redstone Repeater.png
Redstone Repeater Delay 2.png
Redstone Repeater Delay 3.png
Redstone Repeater Delay 4.png
Powered Redstone Repeater.png
Powered Redstone Repeater Delay 2.png
Powered Redstone Repeater Delay 3.png
Powered Redstone Repeater Delay 4.png
Locked Redstone Repeater.png
Locked Redstone Repeater Delay 2.png
Locked Redstone Repeater Delay 3.png
Locked Redstone Repeater Delay 4.png
Powered Locked Redstone Repeater.png
Powered Locked Redstone Repeater Delay 2.png
Powered Locked Redstone Repeater Delay 3.png
Powered Locked Redstone Repeater Delay 4.png
Redstone Repeater BE.png
Redstone Repeater Delay 2 BE.png
Redstone Repeater Delay 3 BE.png
Redstone Repeater Delay 4 BE.png
Powered Redstone Repeater BE.png
Powered Redstone Repeater Delay 2 BE.png
Powered Redstone Repeater Delay 3 BE.png
Powered Redstone Repeater Delay 4 BE.png
Locked Redstone Repeater BE.png
Locked Redstone Repeater Delay 2 BE.png
Locked Redstone Repeater Delay 3 BE.png
Locked Redstone Repeater Delay 4 BE.png
Powered Locked Redstone Repeater BE.png
Powered Locked Redstone Repeater Delay 2 BE.png
Powered Locked Redstone Repeater Delay 3 BE.png
Powered Locked Redstone Repeater Delay 4 BE.png
</gallery>
== References ==
{{Reflist}}
{{Redstone}}
{{Blocks|Utility}}
{{Items}}
[[Category:Mechanics]]
[[Category:Redstone mechanics]]
[[Category:Redstone]]
[[Category:Mechanisms]]
[[Category:Manufactured blocks]]
[[Category:Generated structure blocks]]
[[Category:Non-solid blocks]]
[[de:Redstone-Verstärker]]
[[es:Repetidor de redstone]]
[[fr:Répéteur de redstone]]
[[hu:Redstone-jelismétlő]]
[[it:Ripetitore di redstone]]
[[ja:レッドストーンリピーター]]
[[ko:레드스톤 중계기]]
[[nl:Redstoneversterker]]
[[pl:Przekaźnik]]
[[pt:Repetidor de redstone]]
[[ru:Красный повторитель]]
[[tr:Kızıltaş tekrarlayıcı]]
[[zh:红石中继器]]</li></ul>
Increased powered rails' effectiveness as a response to fixing the minecart booster bug.[7]
{{Extension DPL}}<ul><li>[[Nether Brick|Nether Brick]]<br/><!--Please do not change "nether brick" to "Nether brick". According to style guide, item names are not proper nouns and should not be capitalized.-->
{{about|the item|the block|Nether Bricks}}
{{Item
| title = Nether Brick
| image = Nether Brick.png
| renewable = Yes
| stackable = Yes (64)
}}
A '''nether brick''' is an [[item]] made by [[smelting]] [[netherrack]] in a [[furnace]], and is used to craft the [[Nether Bricks|nether bricks]] block and its variants.
== Obtaining ==
=== Smelting ===
Nether brick can be smelted from netherrack.
{{smelting
|Netherrack
|Nether Brick
|0,1
}}
=== Bartering ===
[[Piglin]]s may [[barter]] 2 to 8 nether bricks when given a [[gold ingot]].
== Usage ==
=== Crafting ingredient ===
{{crafting usage|Nether Brick}}
== Data values ==
=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|showforms=y
|generatetranslationkeys=y
|displayname=Nether Brick
|spritetype=item
|nameid=nether_brick
|form=item
|foot=1}}
{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Nether Brick
|spritetype=item
|nameid=netherbrick
|id=523
|form=item
|foot=1}}
== History ==
{{History|java}}
{{History||1.5|snap=13w01a|[[File:Nether Brick JE1 BE1.png|32px]] Added nether brick items.}}
{{History||1.10|snap=16w20a|Nether brick items can now be used to craft [[red nether bricks]].}}
{{History||1.13|snap=17w47a|The ID of nether bricks has been changed from <code>netherbrick</code> to <code>nether_brick</code>.
|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 405.}}
{{History||1.14|snap=18w43a|[[File:Nether Brick JE2 BE2.png|32px]] The texture of nether bricks has been changed.}}
{{History||1.16|snap=20w07a|Nether bricks now have a {{frac|10|109}} (~9.17%) chance of being given by the new [[piglin]]s when [[bartering]], in a stack size of 1–4.}}
{{History|||snap=20w09a|Nether bricks now have a {{frac|20|226}} (~8.84%) chance of being given by piglins when bartering, in a stack size of 1–5.}}
{{History|||snap=20w10a|Nether bricks now have a {{frac|40|411}} (~9.73%) chance of being given by piglins when bartering, in a stack size of 4–16.}}
{{History||1.16.2|snap=20w28a|Nether bricks now have a {{frac|40|459}} (~8.71%) chance of being given by piglins when bartering, in a stack size of 2–8.}}
{{History|pocket alpha}}
{{History||v0.6.0|[[File:Nether Brick JE1 BE1.png|32px]] Added nether brick items.}}
{{History||v0.16.0|snap=build 5|Added nether brick items to the [[Creative]] [[inventory]].<ref name="missing brick">{{Bug|MCPE-16556}}</ref>}}
{{History|pocket}}
{{History||1.1.3|snap=alpha 1.1.3.0|Nether brick items are now used to craft [[red nether bricks]].}}
{{History|bedrock}}
{{History||1.9.0|snap=beta 1.9.0.0|Nether brick items are now used to craft nether brick [[fence]]s.}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Nether Brick JE2 BE2.png|32px]] The texture of nether bricks has been changed.}}
{{History||1.16.100|snap=beta 1.16.100.50|Nether bricks now can be used as fuel for a [[furnace]].<ref>{{bug|MCPE-114216}}</ref>}}
{{History|||snap=beta 1.16.100.54|Nether bricks now have a {{frac|40|459}} (~8.71%) chance of being given by piglins when bartering, in a stack size of 2–8 to match {{el|Java}}.}}
{{History||1.18.30|snap=beta 1.18.30.26|Nether bricks can no longer be used as fuel in a furnace.}}
{{History|console}}
{{History||xbox=TU9|xbone=CU1|ps=1.0|wiiu=Patch 1|switch=1.0.1|[[File:Nether Brick JE1 BE1.png|32px]] Added nether brick items.}}
{{History||xbox=none|xbone=none|ps=1.90|wiiu=none|switch=none|[[File:Nether Brick JE2 BE2.png|32px]] The texture of nether bricks has been changed.}}
{{History|New 3DS}}
{{History||0.1.0|[[File:Nether Brick JE1 BE1.png|32px]] Added nether brick items.}}
{{History|foot}}
== Issues ==
{{issue list}}
== References ==
{{reflist}}
{{items}}
[[cs:Netheritová cihla]]
[[de:Netherziegel (Gegenstand)]]
[[es:Ladrillo del Nether]]
[[fr:Brique du Nether]]
[[hu:Alvilági tégla]]
[[ja:ネザーレンガ (アイテム)]]
[[ko:네더 벽돌 (아이템)]]
[[lzh:焱界磚]]
[[nl:Netherbaksteen (voorwerp)]]
[[pl:Netherowa cegła]]
[[pt:Tijolo do Nether]]
[[ru:Адский кирпич (предмет)]]
[[uk:Пекельна цегла (предмет)]]
[[zh:下界砖]]
[[Category:Renewable resources]]</li><li>[[Food|Food]]<br/>{{For|food in ''Minecraft Dungeons''|MCD:Food}}
[[File:Eating Steve.png|thumb|right|150px]]
[[File:Eating Alex.png|thumb|right|150px]]
'''Food''' refers to any consumable [[item]]s that, when eaten, restore [[hunger]] points and hunger saturation points, and sometimes cause [[status effect]]s. They are essential to survival, as going without them eventually causes the player to starve, causing damage until reaching {{hp|10}} in Easy [[difficulty]], and {{hp|1}} on Normal. [[Hunger#Effects of hunger|Starvation]] damage kills the player in Hard and [[Hardcore]] Mode.
Food is eaten by holding {{control|use}} while having the food item selected in the hot bar or in the off-hand.
[[Cake]] cannot be eaten this way, and must instead be placed on a surface before being eaten.
With the exception of [[chorus fruit]], [[golden apple]]s, [[honey bottle]]s, [[milk]], and [[suspicious stew]]{{only|Java}}, food cannot be eaten when the hunger bar is completely full. In [[Creative]] Mode, any food can be consumed at any time.
All food items and ingredients can be stacked in the inventory slots, except for [[milk]], [[rabbit stew]], [[mushroom stew]], [[beetroot soup]], [[suspicious stew]], and [[cake]].{{only|Java}}
This page covers food items for players; blocks and items that can be eaten by other [[mob]]s are not included here.
== Hunger and saturation ==
{{main|Hunger#Mechanics}}
{{seealso|Tutorials/Hunger_management}}
[[File:Raw_and_Cooked_Chicken_Comparison.png|thumb|Raw (left) and cooked (right) [[chicken]]. Eating raw chicken can give the [[player]] [[food poisoning]].]]
[[Player]]s have two different food statistics, one of which is visible: The hunger level is visible, and the saturation level is not.
[[Saturation]] is the first statistic to decrease when a player performs energy-intensive actions, and it must be completely depleted before the visible hunger meter begins decreasing. Although the current saturation level is generally hidden, the player can tell that their saturation level is completely depleted if the visible hunger meter begins displaying a jittering effect.
Eating a food item replenishes a fixed number of hunger points and saturation points, based on the item. Some foods have a better ratio of saturation to hunger points replenished than others. Overeating the hunger bar does not overflow to saturation.
A player's current saturation level can never exceed their current hunger level. A player at a hunger level of 5, for example, can be at a maximum of 5 saturation. Food always restores hunger (raising the saturation limit) ''before'' supplying saturation. The most efficient use of food is to eat low-saturation food to fill the hunger bar, followed by high-saturation food to fill saturation. While a few hunger points may be wasted when eating nourishing food when nearly full, eating nourishing foods on a low hunger bar wastes even more points of saturation. Maximizing saturation increases the length of time (and/or the amount of damage healed) before the player needs to eat again.
=== Usage ===
Most foods can be eaten by holding down the right-click button with a food item in hand. It takes 1.61 seconds to eat most foods; dried kelp takes 0.865 seconds to eat. Additionally, a player can hold food in their [[offhand]] {{in|Java}}.
While eating, food [[particles]] form from the player's mouth correlated with their respective food item, and produces a munching noise. Eating also slows the user significantly.
Unlike other foods, [[cake]] has to be eaten by placing it, then right-clicking on its block form. Eating cake is instant and it has 7 edible slices, each giving {{hunger|2}} hunger and 0.4 hunger [[saturation]].
=== Nourishment value ===
Nourishment is defined as the ratio of saturation to hunger points restored. Foods with higher nourishment values should be eaten when the hunger bar is more full.
The "nourishment" table below can help by categorizing foods by their saturation-to-hunger restoration ratios. See the more detailed [[#Foods|Foods]] table for the exact hunger and saturation statistics of each food.
<!-- do not change the locations of the food in this table without providing an explanation in the edit summary -->
{| class="wikitable" data-description="Nourishment value"
|-
!Nourishment
! Value
!Food
|- style="text-align: left;"
!Supernatural
| 2.4
| {{Slot|Enchanted Golden Apple}}{{Slot|Golden Apple}}{{Slot|Golden Carrot}}
|- style="text-align: left;"
!Good
| 1.6
| {{Slot|Cooked Mutton}}{{Slot|Cooked Porkchop}}{{Slot|Cooked Salmon}}{{Slot|Steak}}
|- style="text-align: left;"
!Normal
| 1.2
| {{Slot|Baked Potato}}{{Slot|Beetroot}}{{Slot|Beetroot Soup}}{{Slot|Bread}}{{Slot|Carrot}}{{Slot|Cooked Chicken}}{{Slot|Cooked Cod}}{{Slot|Cooked Rabbit}}{{Slot|Mushroom Stew}}{{Slot|Rabbit Stew}}{{Slot|Suspicious Stew}}
|- style="text-align: left;"
! Low
| 0.6
| {{Slot|Apple}}{{Slot|Chorus Fruit}}{{Slot|Dried Kelp}}<ref group="note" name="Java">{{only|java}}</ref>{{Slot|Melon Slice}}{{Slot|Poisonous Potato}}{{Slot|Potato}}{{Slot|Pumpkin Pie}}{{Slot|Raw Beef}}{{Slot|Raw Chicken}}{{Slot|Raw Mutton}}{{Slot|Raw Porkchop}}{{Slot|Raw Rabbit}}{{Slot|Sweet Berries}}<ref group="note" name="Bedrock">{{only|bedrock}}</ref>
|- style="text-align: left;"
!Poor
| 0.2
| {{Slot|Cake}}{{Slot|Cookie}}{{Slot|Dried Kelp}}<ref group="note" name="Bedrock"/>{{Slot|Glow Berries}}{{Slot|Honey Bottle}}{{Slot|Pufferfish|link=Pufferfish (item)}}{{Slot|Raw Cod}}{{Slot|Raw Salmon}}{{Slot|Rotten Flesh}}{{Slot|Spider Eye}}{{Slot|Sweet Berries}}<ref group="note" name="Java"/>{{Slot|Tropical Fish|link=Tropical Fish (item)}}
|}
== Foods ==
{{/table}}
=== Ingredients ===
The following items cannot be eaten on their own. Instead, they are used to craft consumable food items.
<!--
Please leave spaces between each row in the table - this has no effect on the appearance of the table, but it makes it a lot easier on future wiki editors!
-->
{| class="sortable wikitable list-style-none" data-description="Ingredients"
|-
! Name
! Icon
! Used to make
! Source(s)
! Notes
|- id="Bowl"
! scope="row" | [[Bowl]]
| {{Slot|Bowl}}
| {{itemLink|Mushroom Stew}}
* {{itemLink|Beetroot Soup}}
* {{itemLink|Rabbit Stew}}
* {{itemLink|Suspicious Stew}}
|
* [[Crafting]] from [[planks]]
* [[Fishing Rod#Usage|Fishing]]
* [[Turtle]] killed by [[lightning]]
* Eating food made with them
|
|- id="Cocoa Bean"
! scope="row" | [[Cocoa Beans]]
| {{Slot|Cocoa Beans}}
| {{itemLink|Cookie}}s
|
* Breaking [[cocoa plant]]s
* Bought from [[wandering trader]]
|
|- id="Egg"
! scope="row" | [[Egg]]
| {{Slot|Egg}}
|
* {{itemLink|Cake}}
* {{itemLink|Pumpkin Pie}}
|
* Laid by [[chicken]]s
* Found in village fletcher chests
|
|- id="Milk"
! scope="row" | [[Milk Bucket]]
| {{Slot|Milk Bucket}}
| {{itemLink|Cake}}
|
* Milking a [[cow]], [[mooshroom]]s, or [[goat]]s
* Killing a [[Wandering trader]] drinking it
| Can also be consumed to clear [[status effect]]s
|- id="Mushroom"
! scope="row" | [[Brown Mushroom]] and [[Red Mushroom]]
| {{Slot|Brown Mushroom;Red Mushroom}}
| {{itemLink|Mushroom Stew}}
* {{itemLink|Rabbit Stew}}
* {{itemLink|Suspicious Stew}}
| {{anchor|Brown Mushroom|Red Mushroom}}
* Dark/shady areas
* Swamp [[biome]]s
* [[Mushroom fields]]
* Breaking [[Huge Mushroom|huge brown or red mushrooms]]
* [[The Nether]]
* Using [[shears]] on a [[mooshroom|brown mooshroom or red mushroom]]
* Bought from [[wandering trader]]
|
|- id="Flower"
! scope="row" | [[Flower]]
| {{Slot|Any Flower}}
|{{itemLink|Suspicious Stew}}
|
* Breaking [[Flower]]
* Using [[Bone Meal]] on a [[Grass Block]]
* Bought from [[wandering trader]]
* Killing [[Iron Golem]] (poppy)
|
|- id="Pumpkin"
! scope="row" | [[Pumpkin]]
| {{Slot|Pumpkin}}
| {{itemLink|Pumpkin Pie}}
|
* Harvesting mature [[pumpkin]]s grown from [[pumpkin seeds]]
* Naturally occurring [[pumpkin]]s
* Taiga and Snowy Taiga [[Village]]s
* Bought from [[wandering trader]]
|
|- id="Sugar"
! scope="row" | [[Sugar]]
| {{Slot|Sugar}}
|
* {{itemLink|Cake}}
* {{itemLink|Pumpkin Pie}}
|
* Crafting [[sugar cane]]
* Dropped by [[witch]]es
* Creating from its base [[element]]s {{only|bedrock|education}}
* Redeemed from [[honey bottle]] on a crafting table
|
|- id="Wheat"
! scope="row" | [[Wheat]]
| {{Slot|Wheat}}
|
* {{itemLink|Bread}}
* {{itemLink|Cake}}
* {{itemLink|Cookie}}s
|
* Harvesting mature [[wheat]]
* Found in [[Dungeon#Loot|dungeon]], [[Woodland Mansion#Loot|woodland mansion]], [[Shipwreck#Loot|shipwreck]], [[Igloo#Loot|igloo]], [[Village#Loot|village]], [[Ocean Ruins#Loot|ocean ruins]], and [[Pillager Outpost#Loot|pillager outpost]] chest
* Crafting [[hay bale]]s
|
|- id="Gold Nugget"
! scope="row" | [[Gold Nugget]]
| {{Slot|Gold Nugget}}
| {{itemLink|Golden Carrot}}
|
* Crafting [[gold ingot]]s
* Dropped by [[zombified piglin]]s
* Found in [[Shipwreck#Loot|shipwreck]], [[Igloo#Loot|igloo]], [[Village#Loot|village]], and [[Ocean Ruins#Loot|ocean ruins]] chest
* Smelting golden armor or tools
* Mining [[nether gold ore]] without [[Silk Touch]]
|
|- id="Gold Ingot"
! scope="row" | [[Gold Ingot]]
| {{Slot|Gold Ingot}}
| {{itemLink|Golden Apple}}
|
* Crafting [[gold block]]s or [[gold nugget]]s
* Rarely dropped by [[zombified piglin]]s and by [[Drowned]]
* Smelting [[gold ore]] or [[nether gold ore]]
* Found in [[Shipwreck#Loot|shipwreck]], [[Jungle Pyramid#Structure:Loot|jungle pyramid]], [[Dungeon#Loot|dungeon]], [[Woodland Mansion#Loot|woodland mansion]], [[Nether Fortress#Loot|nether fortress]], [[End city#Loot|end city]], [[Mineshaft#Loot|mineshaft]], [[Village#Structure:Loot|village]], [[Stronghold#Loot|stronghold]], [[Buried Treasure#Loot|buried treasure]] and [[Desert pyramid#Structure:Loot|desert pyramid]] chest
|
|- id="Honey Block"
! scope="row" | [[Honey Block]]
| {{Slot|Honey Block}}
| {{itemLink|Honey Bottle}}
|
* Crafting [[honey bottle]]s
|
|}
== Sounds ==
{{Sound table/Entity/Food}}
== Achievements ==
{{load achievements|Pork Chop;Iron Belly;Rabbit Season;Overpowered;Castaway;Delicious Fish;The Lie;Bake Bread;Time For Stew}}
== Advancements ==
{{load advancements|Husbandry;A Balanced Diet;A Furious Cocktail;How Did We Get Here;Fishy Business}}
== History ==
{{History|java classic}}
{{History||June 14, 2009|link=https://notch.tumblr.com/post/123343045/my-vision-for-survival|[[Notch]] discussed how food would work in [[survival]] mode: "Monsters will hurt you and take away from your health. The only way to regain health is to eat food. You get food from either hunting or from farming."}}
{{History||0.24_SURVIVAL_TEST|[[Mushroom]]s are now edible, making them the first food to be added in the game. At this point, food restores [[health]] instead of [[hunger]], and are eaten instantly without sound or animation. Pigs drop them upon death.}}
{{History|java indev}}
{{History||0.31|snap=20091231-2|Added [[apple]]s, which are currently non-functional.}}
{{History|||snap=20100110|Apples are now edible, and restore {{hp|4}} each.}}
{{History|||snap=?|Mushrooms are no longer edible.}}
{{History|||snap=20100130|Added [[mushroom stew]], which restores {{hp|8}} health.}}
{{History||20100206|Added [[wheat]] and [[bread]].
|Mushroom stew now restores {{hp|10}} health.}}
{{History||20100219|[[Pig]]s now drop [[raw porkchop]]s, which can be [[smelt]]ed to become [[cooked porkchop]]s.}}
{{History|java infdev}}
{{History||20100227-1|Added [[golden apple]]s. At this point, they were crafted with [[block of gold]], and restored {{hp|20}}.}}
{{History|java alpha}}
{{History||v1.0.8|Added [[milk]], which was at this point unobtainable and the player could not use it in any way.}}
{{History||v1.0.11|Milk can now be obtained in the game, by milking a [[cow]] with an empty [[bucket]].}}
{{History||v1.0.14|With the addition of [[chicken]]s, [[egg]]s are now in the game, but have no use. Chickens do not drop raw chicken at this point in time.}}
{{History||v1.2.0|snap=<nowiki>?|slink=:Category:Information needed requiring unarchived version|Added [[pumpkin]]s, but not pumpkin seeds.
|Added [[raw fish]] and [[cooked fish]], obtainable through [[fishing]].}}
{{History||v1.2.3|Eating food now functions correctly in multiplayer.}}
{{History|java beta}}
{{History||1.2|Added [[sugar]] and [[cake]].}}
{{History||1.4|[[Cocoa beans]] now appear naturally in the game; since Beta 1.2, they were available only through inventory editors.
|Added [[cookie]]s.}}
{{History||1.5|Pigs now drop cooked porkchops if killed while on fire.}}
{{History||1.8|snap=Pre-release|Added [[melon]]s, [[melon seeds]], and [[pumpkin seeds]].
|Added [[raw chicken]] as a drop from chickens, which can be smelted into [[cooked chicken]].
|Added [[raw beef]] as a drop from cows, which can be smelted into [[steak]].
|Added [[rotten flesh]] as a new drop from [[zombie]]s.
|Added an eating animation, instead of food simply disappearing from the player's hand as if a block had been placed.
|Added [[hunger bar]]; now food restores hunger instead of health.
|Food now stacks in the inventory, with the exception of cake, mushroom stew, and milk.
|[[Huge mushroom]]s were added as a new source for [[mushroom]]s.
|With the addition of the hunger bar, golden apples now restore {{Hunger|10}} and give 30 seconds of [[regeneration]], but do not heal health directly anymore.}}
{{History|java}}
{{History||1.0.0|snap=Beta 1.9 Prerelease 2|Mushrooms can now be obtained from the mushroom island [[biome]], via the huge mushrooms, random scattered mushrooms, or the new [[mooshroom]]s.
|[[Milk]] can be used to nullify the effects of [[potion]]s.
|[[Spider]]s now drop [[Spider Eye|eyes]].}}
{{History||1.1|snap=release|Golden apples are now made with [[gold nugget]]s instead of blocks of gold, restore {{Hunger|4}} and give 4 seconds of regeneration.}}
{{History||1.3.1|snap=12w21a|Added enchanted golden apples, which functioned like golden apples prior to 1.1 and had the same crafting recipe, but also gave resistance and fire resistance for 5 minutes each.
|[[Cocoa Beans]] are now a crop, making all food items a renewable resource.}}
{{History||1.4.2|snap=12w34a|[[Potato]]es and [[carrot]]s can be obtainable from zombies (rare drop) or harvested.
|Potatoes can be cooked to make [[baked potato]]es
|Harvesting potatoes may give 0–2 [[poisonous potato]]es.
|Carrots can be crafted into [[golden carrot]]s.
|Added [[pumpkin pie]], making [[pumpkin]]s a food ingredient.}}
{{History||1.7.2|snap=13w36a|Added [[tropical fish (item)|clownfish]], [[Raw Salmon|raw]] and [[cooked salmon]], and [[pufferfish (item)|pufferfish]].}}
{{History||1.8|snap=14w02a|Baked potatoes now restore {{Hunger|5}} hunger points instead of 6, with a corresponding reduction in saturation restored.
|Carrots now restore {{Hunger|3}} hunger points instead of 4, with a corresponding reduction in saturation restored.}}
{{History|||snap=14w27a|Added [[Raw Mutton|raw]] and [[cooked mutton]], [[Raw Rabbit|raw]] and [[cooked rabbit]], and [[rabbit stew]].}}
{{History||1.9|snap=15w31a|Added [[chorus fruit]], [[beetroot]] and [[beetroot soup]].
|Enchanted golden apples are no longer craftable, making them no longer renewable.}}
{{History||1.13|snap=18w07a|Added [[dried kelp]], which is edible.}}
{{History||1.14|snap=18w43a|Added [[suspicious stew]].}}
{{History|||snap=18w49a|Added [[sweet berries]].}}
{{History||1.15|snap=19w34a|Added [[honey bottle]]s.}}
{{History|||snap=19w35a|[[Honey bottle]]s now remove [[poison]] effects when consumed.}}
{{History|||snap=19w46a|All foods can now be consumed in Creative mode, including cake.}}
{{History||1.17|snap=21w05a|Added [[glow berries]].}}
{{History|pocket alpha}}
{{History||v0.4.0|Added the first food items: [[apple]]s, [[bread]], [[mushroom stew]], [[raw beef]], [[steak]], [[raw chicken]], [[cooked chicken]], [[raw porkchop]]s, and [[cooked porkchop]].}}
{{History||v0.5.0|Added [[melon]]s, [[melon slice]]s, and [[melon seeds]].}}
{{History||v0.7.0|Added [[milk]] and [[cake]].}}
{{History||v0.8.0|snap=build 1|Added [[pumpkin pie]], [[carrot]]s, [[potato]]es, and [[baked potato]]es.}}
{{History|||snap=build 2|Added [[beetroot]]s and [[beetroot soup]].}}
{{History||v0.9.0|snap=build 1|[[Potato]]es and [[carrot]]s can be obtainable from zombies (rare drop) or harvested.
|Added [[cookie]]s.}}
{{History||v0.11.0|snap=build 1|Added [[rotten flesh]] as a new drop from [[zombie]]s, at this time, it inflicts poison.
|Added [[Raw Fish|raw]] and [[cooked fish]], [[clownfish]], [[Raw Salmon|raw]] and [[cooked salmon]], and [[pufferfish]].}}
{{History|||snap=build 4|[[Milk]] can be used to nullify the effects of [[potion]]s.}}
{{History||v0.12.1|snap=build 1|Eating food now restores hunger.
|[[Spider]]s now drop [[Spider Eye|eyes]].
|Added poisonous potatoes, golden apples, enchanted golden apples and golden carrots.}}
{{History||v0.13.0|snap=build 1|Hunger restored by food now matches Minecraft PC.
|Added raw rabbit, cooked rabbit, and [[rabbit stew]].}}
{{History||v0.15.0|snap=build 1|Added raw mutton and cooked mutton.}}
{{History|pocket}}
{{History||1.0.0|snap=alpha 0.17.0.1|Added chorus fruit.}}
{{History|bedrock}}
{{History||1.4.0|snap=beta 1.2.14.2|Added [[dried kelp]], which is edible.}}
{{History||1.7.0|snap=beta 1.7.0.2|Food can now be eaten in creative mode and on peaceful difficulty.}}
{{History||1.10.0|snap=beta 1.10.0.3|Added [[sweet berries]].}}
{{History||1.13.0|snap=beta 1.13.0.9|Added [[suspicious stew]].}}
{{History||1.14.0|snap=beta 1.14.0.1|Added [[honey bottle]].}}
{{History||1.17.0|snap=beta 1.16.220.52|Added [[glow berries]].}}
{{History|foot}}
{{items}}
[[Category:Food]]
[[cs:Potraviny]]
[[de:Hunger]]
[[es:Comida]]
[[fr:Nourriture]]
[[hu:Étel]]
[[it:Cibo]]
[[ja:食料]]
[[ko:식료품]]
[[nl:Voedsel]]
[[pl:Jedzenie]]
[[pt:Alimento]]
[[ru:Еда]]
[[th:อาหาร]]
[[uk:Їжа]]
[[zh:食物]]</li></ul></nowiki>
build 2
Added powered rails, but the rails are always powered.
{{Extension DPL}}<ul><li>[[Redstone Repeater|Redstone Repeater]]<br/>{{Block
| image = <gallery>
Redstone Repeater.png|Redstone Repeater
Redstone Repeater BE.png|Redstone Repeater (BE)
</gallery>
| extratext = View [[#Renders|all renders]]
| transparent = Yes
| light = No
| tool = any
| stackable = Yes (64)
| flammable = No
| lavasusceptible = No
| renewable = Yes
}}
{{about|the block|repeater circuits|Transmission circuit#Repeater|other topics related to redstone|Redstone (disambiguation)}}
A '''redstone repeater''' is a [[block]] that produces a full-strength [[Redstone Dust|output signal]] from its front when its back is powered, with four configurable delay settings. It can also be locked into a power state by its side being directly powered by a repeater or a [[Redstone Comparator|comparator]].
== Obtaining ==
=== Breaking ===
A redstone repeater can be broken instantly using any [[tool]], or without a tool, and drops itself as an item. To remove a redstone repeater, {{control|mine}} it.
A redstone repeater is removed and drops as an item if:
* its attachment block is moved, removed, or destroyed;
* [[water]] or [[lava]] flows into its space;{{only|java}}
* a [[piston]] tries to push it or moves a block into its space.
=== Natural generation ===
[[File:Redstone Repeater naturally generated.png|thumb|A redstone repeater generated in the jungle temple's hidden room.]]
A single redstone repeater is generated naturally in each [[jungle temple]].
They also generate in [[Ancient City|ancient cities]].
=== Crafting ===
{{Crafting
|A2= Redstone Torch
|B2= Redstone Dust
|C2= Redstone Torch
|B3= Stone
|C3= Stone
|A3= Stone
|Output= Redstone Repeater
|type= Redstone
}}
== Usage ==
{{see also|Redstone circuit}}
A redstone repeater can be used in four different ways: to "repeat" redstone signals back to full strength, delay signals, prevent signals moving backwards, or to "lock" signals in one state.
A repeater can be placed only on top of [[opaque]] blocks (dirt, stone, etc.), on top of upside-down [[slab]]s, upside-down [[stairs]], furnaces, and glass. {{IN|be}}, a repeater can also be placed on fences and stone walls. They can also be placed on some transparent blocks. See [[Opacity/Placement]] for more information. To place a repeater, use the {{control|Place Block}} [[control]].
A redstone repeater has a front and back – the arrow on the top points to the repeater's front. A repeater also has two small redstone torches on its top – the color of the torches indicates whether its output is on (dark red when off, bright red when on) and the distance between them indicates the delay the repeater adds to the signal transmission.
A repeater is 0.125 ({{frac|1|8}}) blocks high.
=== Signal transmission ===
A repeater transmits signals only from its back to its front, but its behavior can be modified from the side (see [[#Signal locking|signal locking]], below).
[[File:Redstone Torch Power.png|Different ways to power a repeater|thumb]]
A redstone repeater can be powered by any of the following components at its back:
* an active [[power component]] (redstone torch, lever, block of redstone, etc.)
* powered [[redstone dust]]
* a powered [[redstone comparator]] or another powered redstone repeater facing the repeater
* a powered opaque block (including any opaque [[mechanism component]]s, such as [[dispenser]]s, [[redstone lamp]]s, etc.)
A redstone repeater can power any of the following components at its front:
* redstone dust
* a redstone comparator or another redstone repeater facing away from the repeater
* any opaque block (including any opaque [[mechanism component]]s)
A redstone repeater can activate any [[mechanism component]] it is facing.
An opaque block powered by a redstone repeater is called "strongly-powered" (as opposed to an opaque block "weakly-powered" by redstone dust). A strongly-powered opaque block can power adjacent redstone dust, as well as other redstone components.
=== Signal repeating ===
{{see also|Transmission circuit#Repeater}}
A redstone repeater can "repeat" a [[Redstone Dust|redstone]] signal, boosting it back up to power level 15.
Redstone signals have a maximum power level of 15 and that level drops by 1 for every block of [[redstone dust]] the signal travels through. If a signal must travel through more than 15 [[block]]s of redstone dust, a redstone repeater can be used to boost the signal back up to full strength. An extra two blocks of distance can be achieved by placing solid opaque blocks before and after the repeater.
While redstone repeaters can allow signals to travel great distances, each always adds some delay to the transmission since the minimum amount of delay is 1 redstone tick (0.1 seconds, barring lag).
=== Signal delay ===
When initially placed, a redstone repeater has a delay of one [[redstone tick]] (equivalent to two game ticks, or 0.1 seconds barring lag).
A repeater's delay can be modified by using the {{control|Use Item}} control. Each use increases the repeater's delay by one redstone tick, to a maximum of four redstone ticks, then back to one redstone tick. Longer delays can be made with multiple repeaters – for example, a repeater set to 'four' and another to 'one' provides a half-second delay (0.4s + 0.1s = 0.5s).
A repeater set to a delay of two to four redstone ticks increases the length of any shorter [[Pulse circuit#Pulses|on-pulse]] to match the length of the repeater's delay, and suppress any shorter off-pulse. For example, a repeater set to a 4-tick delay changes a 1-tick, 2-tick, or 3-tick on-pulse into a 4-tick on-pulse, and does not allow through any off-pulse shorter than 4 ticks.
Although a repeater cannot be set to have a delay of zero, [[Transmission circuit#Instant repeater|instant repeater circuits]] are possible (circuits that repeat a signal with no delay).
In Bedrock Edition, the first repeater have a delay of zero but the repeater is still showing 1-tick{{info needed}}
=== {{anchor|diode}} Signal direction ===
{{see also| Mechanics/Redstone/Transmission circuit#Diode}}
A redstone repeater acts as a diode – it allows redstone signals through in one direction (unlike [[redstone dust]] or opaque blocks that can transmit redstone signals in any direction).
A diode can be used to protect a [[redstone circuit]] from redstone signals feeding back into the circuit from its output, or can be used to isolate one part of a circuit from another.
=== {{anchor|lock}} Signal locking ===
{{see also| Mechanics/Redstone/Memory circuit}}
[[File:Latch.png|thumb|The left repeater has been locked in an unpowered output state by the right repeater.]]
A redstone repeater can be "locked" by another powered redstone repeater facing its side. When locked, the repeater does not change its output (whether powered or unpowered), no matter what the input does. When the side repeater turns back off, the repeater returns to its normal behavior.
A repeater can also be locked by a powered [[redstone comparator]] facing its side. This offers additional possibilities for locking signals because a comparator's output can be affected from 3 sides as well as by containers.
If a repeater is locked again too quickly after unlocking (e.g. the lock is controlled by a fast clock circuit), or the lock and the input are changed only on the same tick (e.g. because they're fed by the same clock and both repeaters have the same delay), the repeater does not switch states.
== Sounds ==
{{Edition|java}}:
{{Sound table/Block/Stone/JE}}
{{Edition|bedrock}}:
{{Sound table/Block/Wood/BE}}
== Data values ==
=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|showforms=y
|generatetranslationkeys=y
|displayname=Redstone Repeater
|spritetype=block
|nameid=repeater
|foot=1}}
{{edition|bedrock}}:
{{ID table
|edition=bedrock
|firstcolumnname=Redstone Repeater
|shownumericids=y
|showforms=y
|generatetranslationkeys=y
|displayname=Unpowered block
|spritename=unpowered-repeater
|spritetype=block
|nameid=unpowered_repeater
|id=93
|form=block
|translationkey=-}}
{{ID table
|displayname=Powered block
|spritename=powered-repeater
|spritetype=block
|nameid=powered_repeater
|id=94
|form=block
|translationkey=-}}
{{ID table
|displayname=Item
|spritename=redstone-repeater
|spritetype=item
|nameid=repeater
|id=419
|form=item
|foot=1}}
=== Block states ===
{{see also|Block states}}
{{/BS}}
== Video ==
<div style="text-align:center">{{yt|0Ij_qMLiRzE}}</div>
== History ==
''For a more in-depth breakdown of changes to repeater textures and models, including a set of renders for each state combination, see [[/Asset history]]''
{{History|java beta}}
{{History||1.3|[[File:Redstone Repeater (S) JE1.png|32px]] [[File:Redstone Repeater (item) JE1.png|32px]] Added redstone repeaters.
|Originally, the four possible settings were "1, 2, 5 and 7",<ref>http://twitter.com/jeb_/status/33888465502339073</ref> but [[Jeb]] decided to change the settings to "1, 2, 3, and 4".<ref>http://www.reddit.com/r/Minecraft/comments/fmdtp/teammojang_redstone_repeater_video/c1gzrn6</ref>
|The particles when [[breaking]] redstone repeaters erroneously use the [[pumpkin]] top texture.}}
{{History||unknown|The breaking particles of redstone repeaters now use the smooth stone [[slab]] top texture, even though none of the elements on the [[model]] use it.}}
{{History||1.7|[[File:Redstone Repeater (S) JE2.png|32px]] The side texture of redstone repeaters has been changed to the previous bottom part of the texture.
|[[Redstone dust]] now automatically connects to the input of a redstone repeater. Previously, it needed to be specifically pointed towards the repeater like with other blocks.}}
{{History||unknown|Redstone dust now visually connects to the output of redstone repeaters, though this does not change its behavior.}}
{{History|java}}
{{History||unknown|The breaking particles of redstone repeaters have been changed to an unlit [[redstone torch]] when unpowered and a lit redstone torch when powered.}}
{{History||1.3.1|snap=12w22a|Redstone repeaters now naturally generate inside [[jungle temple]]s.}}
{{History|||snap=1.3|[[File:Redstone Repeater (item) JE2 BE1.png|32px]] The texture of redstone repeater [[item]]s have been changed.}}
{{History||1.4.2|snap=12w42a|[[File:Redstone Repeater (S) JE3.png|32px]] The top texture of redstone repeaters has now been changed.
|[[File:Locked Redstone Repeater (S) JE1.png|32px]] Added repeater locking to redstone repeaters. Interestingly, the smallest face of the bedrock cuboid's texture changes depending on the delay, but the other two faces remain the same. When/if this changed is unknown.}}
{{History||1.5|snap=13w02a|[[File:Redstone Repeater (S) JE4.png|32px]] The side textures of redstone repeaters have been changed to use the top texture of stone [[slab]]s.}}
{{History||unknown|The breaking [[particles|particle]] of redstone repeaters has been changed once again and now matches the top texture of redstone repeaters.}}
{{History||1.8|snap=14w06a|Repeaters no longer produce block [[light]] when powered.}}
{{History|||snap=14w10a|[[File:Powered Redstone Repeater (S) JE5.png|32px]] Torches on repeaters now no longer have protruding features.
|The torches underneath redstone repeaters have now been shortened, which has changed the underside textures from [[File:Redstone Repeater JE2 BE1 (facing NWU).png|32px]] [[File: Redstone Repeater Delay 2 JE2 BE1 (facing NWU).png|32px]] [[File: Redstone Repeater Delay 3 JE2 BE1 (facing NWU).png|32px]] [[File: Redstone Repeater Delay 4 JE2 BE1 (facing NWU).png|32px]] [[File: Active Redstone Repeater JE2 BE1 (facing NWU).png|32px]] [[File: Active Redstone Repeater Delay 2 JE2 BE1 (facing NWU).png|32px]] [[File: Active Redstone Repeater Delay 3 JE2 BE1 (facing NWU).png|32px]] [[File: Active Redstone Repeater Delay 4 JE2 BE1 (facing NWU).png|32px]] [[File: Locked Redstone Repeater JE2 BE1 (facing NWU).png|32px]] [[File: Locked Redstone Repeater Delay 2 JE2 BE1 (facing NWU).png|32px]] [[File: Locked Redstone Repeater Delay 3 JE2 BE1 (facing NWU).png|32px]] [[File: Locked Redstone Repeater Delay 4 JE2 BE1 (facing NWU).png|32px]] [[File: Active Locked Redstone Repeater JE2 BE1 (facing NWU).png|32px]] [[File: Active Locked Redstone Repeater Delay 2 JE2 BE1 (facing NWU).png|32px]] [[File: Active Locked Redstone Repeater Delay 3 JE2 BE1 (facing NWU).png|32px]] [[File: Active Locked Redstone Repeater Delay 4 JE2 BE1 (facing NWU).png|32px]] to [[File:Redstone Repeater JE3 (facing NWU).png|32px]] [[File: Redstone Repeater Delay 2 JE3 (facing NWU).png|32px]] [[File: Redstone Repeater Delay 3 JE3 (facing NWU).png|32px]] [[File: Redstone Repeater Delay 4 JE3 (facing NWU).png|32px]] [[File: Active Redstone Repeater JE3 (facing NWU).png|32px]] [[File: Active Redstone Repeater Delay 2 JE3 (facing NWU).png|32px]] [[File: Active Redstone Repeater Delay 3 JE3 (facing NWU).png|32px]] [[File: Active Redstone Repeater Delay 4 JE3 (facing NWU).png|32px]] [[File: Locked Redstone Repeater JE3 (facing NWU).png|32px]] [[File: Locked Redstone Repeater Delay 2 JE3 (facing NWU).png|32px]] [[File: Locked Redstone Repeater Delay 3 JE3 (facing NWU).png|32px]] [[File: Locked Redstone Repeater Delay 4 JE3 (facing NWU).png|32px]] [[File: Locked Active Redstone Repeater JE3 (facing NWU).png|32px]] [[File: Locked Active Redstone Repeater Delay 2 JE3 (facing NWU).png|32px]] [[File: Locked Active Redstone Repeater Delay 3 JE3 (facing NWU).png|32px]] [[File: Locked Active Redstone Repeater Delay 4 JE3 (facing NWU).png|32px]].}}
{{History|||snap=14w10b|[[File:Powered Redstone Repeater (S) JE4.png|32px]] Repeater torches now have protruding features again.<ref>{{bug|MC-50242}}</ref>}}
{{History|||snap=?|[[File:Powered Redstone Repeater (S) JE7.png|32px]] The torches on redstone repeaters are now affected by directional shading.}}
{{History||1.13|snap=17w47a|All 3 IDs for the redstone repeater have now been merged into 1 ID: <code>repeater</code>.
|Added powered block state to redstone repeaters.
|Redstone repeaters now render their underside, which has changed their undersides from [[File:Redstone Repeater JE3 (facing NWU).png|32px]] [[File: Redstone Repeater Delay 2 JE3 (facing NWU).png|32px]] [[File: Redstone Repeater Delay 3 JE3 (facing NWU).png|32px]] [[File: Redstone Repeater Delay 4 JE3 (facing NWU).png|32px]] [[File: Active Redstone Repeater JE3 (facing NWU).png|32px]] [[File: Active Redstone Repeater Delay 2 JE3 (facing NWU).png|32px]] [[File: Active Redstone Repeater Delay 3 JE3 (facing NWU).png|32px]] [[File: Active Redstone Repeater Delay 4 JE3 (facing NWU).png|32px]] [[File: Locked Redstone Repeater JE3 (facing NWU).png|32px]] [[File: Locked Redstone Repeater Delay 2 JE3 (facing NWU).png|32px]] [[File: Locked Redstone Repeater Delay 3 JE3 (facing NWU).png|32px]] [[File: Locked Redstone Repeater Delay 4 JE3 (facing NWU).png|32px]] [[File: Locked Active Redstone Repeater JE3 (facing NWU).png|32px]] [[File: Locked Active Redstone Repeater Delay 2 JE3 (facing NWU).png|32px]] [[File: Locked Active Redstone Repeater Delay 3 JE3 (facing NWU).png|32px]] [[File: Locked Active Redstone Repeater Delay 4 JE3 (facing NWU).png|32px]] to [[File:Redstone Repeater JE4 BE2 (facing NWU).png|32px]] [[File: Redstone Repeater Delay 2 JE4 BE2 (facing NWU).png|32px]] [[File: Redstone Repeater Delay 3 JE4 BE2 (facing NWU).png|32px]] [[File: Redstone Repeater Delay 4 JE4 BE2 (facing NWU).png|32px]] [[File: Active Redstone Repeater JE4 BE2 (facing NWU).png|32px]] [[File: Active Redstone Repeater Delay 2 JE4 BE2 (facing NWU).png|32px]] [[File: Active Redstone Repeater Delay 3 JE4 BE2 (facing NWU).png|32px]] [[File: Active Redstone Repeater Delay 4 JE4 BE2 (facing NWU).png|32px]] [[File: Locked Redstone Repeater JE4 BE2 (facing NWU).png|32px]] [[File: Locked Redstone Repeater Delay 2 JE4 BE2 (facing NWU).png|32px]] [[File: Locked Redstone Repeater Delay 3 JE4 BE2 (facing NWU).png|32px]] [[File: Locked Redstone Repeater Delay 4 JE4 BE2 (facing NWU).png|32px]] [[File: Locked Active Redstone Repeater JE4 BE2 (facing NWU).png|32px]] [[File: Locked Active Redstone Repeater Delay 2 JE4 BE2 (facing NWU).png|32px]] [[File: Locked Active Redstone Repeater Delay 3 JE4 BE2 (facing NWU).png|32px]] [[File: Locked Active Redstone Repeater Delay 4 JE4 BE2 (facing NWU).png|32px]].
|Prior to [[1.13/Flattening|''The Flattening'']], these [[block]]s' numeral IDs were 93 and 94, and the [[item]]'s 356.}}
{{History||1.14|snap=18w43a|[[File:Redstone Repeater (S) JE5.png|32px]] [[File:Powered Redstone Repeater (S) JE9.png|32px]] [[File:Locked Redstone Repeater (S) JE5.png|32px]] [[File:Powered Locked Redstone Repeater (S) JE6.png|32px]] [[File:Redstone Repeater (item) JE3 BE2.png|32px]] The textures of redstone repeaters have now been changed.}}
{{History|||snap=18w50a|[[File:Locked Redstone Repeater (S) JE6.png|32px]] [[File:Powered Locked Redstone Repeater (S) JE7.png|32px]] As the texture of [[bedrock]] has been changed, the textures of locked redstone repeaters have also now been changed.}}
{{History|||snap=19w12b|Redstone repeaters can now be placed on [[glass]], [[ice]], [[glowstone]] and [[sea lantern]]s.}}
{{History||1.19|snap=22w13a|Redstone repeaters now generate in [[Ancient City|ancient cities]].}}
{{History||1.20.2|snap=23w33a|Redstone repeaters now use stone sounds instead of wood sounds.<ref>{{bug|MC-182820|||Fixed}}</ref>}}
{{History|pocket alpha}}
{{History||v0.14.0|snap=build 1|[[File:Redstone Repeater (S) JE3.png|32px]] [[File:Redstone Repeater (item) JE2 BE1.png|32px]] Added redstone repeaters.}}
{{History|bedrock}}
{{History||1.2.0|snap=beta 1.2.0.2|Redstone repeaters now render their underside, which has changed their undersides from [[File:Redstone Repeater JE2 BE1 (facing NWU).png|32px]] [[File: Redstone Repeater Delay 2 JE2 BE1 (facing NWU).png|32px]] [[File: Redstone Repeater Delay 3 JE2 BE1 (facing NWU).png|32px]] [[File: Redstone Repeater Delay 4 JE2 BE1 (facing NWU).png|32px]] [[File: Active Redstone Repeater JE2 BE1 (facing NWU).png|32px]] [[File: Active Redstone Repeater Delay 2 JE2 BE1 (facing NWU).png|32px]] [[File: Active Redstone Repeater Delay 3 JE2 BE1 (facing NWU).png|32px]] [[File: Active Redstone Repeater Delay 4 JE2 BE1 (facing NWU).png|32px]] [[File: Locked Redstone Repeater JE2 BE1 (facing NWU).png|32px]] [[File: Locked Redstone Repeater Delay 2 JE2 BE1 (facing NWU).png|32px]] [[File: Locked Redstone Repeater Delay 3 JE2 BE1 (facing NWU).png|32px]] [[File: Locked Redstone Repeater Delay 4 JE2 BE1 (facing NWU).png|32px]] [[File: Active Locked Redstone Repeater JE2 BE1 (facing NWU).png|32px]] [[File: Active Locked Redstone Repeater Delay 2 JE2 BE1 (facing NWU).png|32px]] [[File: Active Locked Redstone Repeater Delay 3 JE2 BE1 (facing NWU).png|32px]] [[File: Active Locked Redstone Repeater Delay 4 JE2 BE1 (facing NWU).png|32px]] to [[File:Redstone Repeater JE4 BE2 (facing NWU).png|32px]] [[File: Redstone Repeater Delay 2 JE4 BE2 (facing NWU).png|32px]] [[File: Redstone Repeater Delay 3 JE4 BE2 (facing NWU).png|32px]] [[File: Redstone Repeater Delay 4 JE4 BE2 (facing NWU).png|32px]] [[File: Active Redstone Repeater JE4 BE2 (facing NWU).png|32px]] [[File: Active Redstone Repeater Delay 2 JE4 BE2 (facing NWU).png|32px]] [[File: Active Redstone Repeater Delay 3 JE4 BE2 (facing NWU).png|32px]] [[File: Active Redstone Repeater Delay 4 JE4 BE2 (facing NWU).png|32px]] [[File: Locked Redstone Repeater JE4 BE2 (facing NWU).png|32px]] [[File: Locked Redstone Repeater Delay 2 JE4 BE2 (facing NWU).png|32px]] [[File: Locked Redstone Repeater Delay 3 JE4 BE2 (facing NWU).png|32px]] [[File: Locked Redstone Repeater Delay 4 JE4 BE2 (facing NWU).png|32px]] [[File: Locked Active Redstone Repeater JE4 BE2 (facing NWU).png|32px]] [[File: Locked Active Redstone Repeater Delay 2 JE4 BE2 (facing NWU).png|32px]] [[File: Locked Active Redstone Repeater Delay 3 JE4 BE2 (facing NWU).png|32px]] [[File: Locked Active Redstone Repeater Delay 4 JE4 BE2 (facing NWU).png|32px]].}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Redstone Repeater (S) BE2.png|32px]] [[File:Powered Redstone Repeater (S) BE2.png|32px]] [[File:Redstone Repeater (item) JE3 BE2.png|32px]] The textures of redstone repeaters have now been changed.}}
{{History||1.20.30|snap=beta 1.20.30.20|Redstone Repeaters now use the <code>minecraft:cardinal_direction</code> [[block state]] instead of <code>direction</code>.}}
{{History|console}}
{{History||xbox=TU1|xbone=CU1|ps=1.0|wiiu=Patch 1|switch=1.0.1|[[File:Redstone Repeater (S) JE3.png|32px]]{{verify|Was this model actually used here?}} [[File:Redstone Repeater (item) JE2 BE1.png|32px]] Added redstone repeaters.}}
{{History||xbox=TU19|xbone=CU7|ps=1.12|wiiu=Patch 1|switch=1.0.1|[[File:Locked Redstone Repeater (S) JE1.png|32px]]{{verify|Was this model actually used here?}} Added repeater locking to redstone repeaters.}}
{{History||xbox=none|xbone=none|ps=1.90|wiiu=none|switch=none|[[File:Redstone Repeater (S) JE4.png|32px]]{{verify|Was this model actually used here?}} [[File:Redstone Repeater (item) JE3 BE2.png|32px]] The textures of redstone repeaters have now been changed.}}
{{History|new 3ds}}
{{History||0.1.0|[[File:Redstone Repeater (S) JE3.png|32px]]{{verify|Was this model actually used here?}} [[File:Redstone Repeater (item) JE2 BE1.png|32px]] Added redstone repeaters and repeater locking.}}
{{History|foot}}
=== Redstone repeater "items" ===
{{:Technical blocks/Redstone Repeater}}
== Issues ==
{{Issue list}}
== Trivia ==
* The recipe and appearance of redstone repeaters are a likely reference to the old method of repeating signals, which would also use two torches at a time, inverting each other
== Gallery ==
<gallery>
Repeater clock.gif|A redstone clock formed from a redstone torch and a repeater.
Repeater feedback.gif|A redstone clock formed from two repeaters.
Two way repeater.gif|MCRedstoneSim diagram of a two-way repeater.
Repeater bridge.png|Crossing redstone wires using repeaters.
Jeb Repeaters 1.png|
Jeb Repeaters 2.png|
Jeb Repeaters 3.png|
</gallery>
=== Renders ===
<gallery>
Redstone Repeater.png
Redstone Repeater Delay 2.png
Redstone Repeater Delay 3.png
Redstone Repeater Delay 4.png
Powered Redstone Repeater.png
Powered Redstone Repeater Delay 2.png
Powered Redstone Repeater Delay 3.png
Powered Redstone Repeater Delay 4.png
Locked Redstone Repeater.png
Locked Redstone Repeater Delay 2.png
Locked Redstone Repeater Delay 3.png
Locked Redstone Repeater Delay 4.png
Powered Locked Redstone Repeater.png
Powered Locked Redstone Repeater Delay 2.png
Powered Locked Redstone Repeater Delay 3.png
Powered Locked Redstone Repeater Delay 4.png
Redstone Repeater BE.png
Redstone Repeater Delay 2 BE.png
Redstone Repeater Delay 3 BE.png
Redstone Repeater Delay 4 BE.png
Powered Redstone Repeater BE.png
Powered Redstone Repeater Delay 2 BE.png
Powered Redstone Repeater Delay 3 BE.png
Powered Redstone Repeater Delay 4 BE.png
Locked Redstone Repeater BE.png
Locked Redstone Repeater Delay 2 BE.png
Locked Redstone Repeater Delay 3 BE.png
Locked Redstone Repeater Delay 4 BE.png
Powered Locked Redstone Repeater BE.png
Powered Locked Redstone Repeater Delay 2 BE.png
Powered Locked Redstone Repeater Delay 3 BE.png
Powered Locked Redstone Repeater Delay 4 BE.png
</gallery>
== References ==
{{Reflist}}
{{Redstone}}
{{Blocks|Utility}}
{{Items}}
[[Category:Mechanics]]
[[Category:Redstone mechanics]]
[[Category:Redstone]]
[[Category:Mechanisms]]
[[Category:Manufactured blocks]]
[[Category:Generated structure blocks]]
[[Category:Non-solid blocks]]
[[de:Redstone-Verstärker]]
[[es:Repetidor de redstone]]
[[fr:Répéteur de redstone]]
[[hu:Redstone-jelismétlő]]
[[it:Ripetitore di redstone]]
[[ja:レッドストーンリピーター]]
[[ko:레드스톤 중계기]]
[[nl:Redstoneversterker]]
[[pl:Przekaźnik]]
[[pt:Repetidor de redstone]]
[[ru:Красный повторитель]]
[[tr:Kızıltaş tekrarlayıcı]]
[[zh:红石中继器]]</li><li>[[Sword|Sword]]<br/>{{For|the item in ''Minecraft Dungeons''|MCD:Sword|MCD:Diamond Sword}}
{{Item
| image = <gallery>
Wooden Sword.png | Wooden
Stone Sword.png | Stone
Iron Sword.png | Iron
Golden Sword.png | Golden
Diamond Sword.png | Diamond
Netherite Sword.png | Netherite
</gallery>
| rarity = Common
| renewable =
* '''Netherite''': No
* '''All others''': Yes
| durability =
'''Java Edition'''<br>
Golden: 32<br>
Wood: 59<br>
Stone: 131<br>
Iron: 250<br>
Diamond: 1561<br>
Netherite: 2031<br>
'''Bedrock Edition'''<br>
Golden: 33<br>
Wood: 60<br>
Stone: 132<br>
Iron: 251<br>
Diamond: 1562<br>
Netherite: 2032
| stackable = No
}}
The '''sword''' is a melee [[weapon]] that is mainly used to deal [[damage]] to [[entity|entities]] or for breaking certain blocks faster than by hand. A sword is made from one of six materials, in order of increasing quality and expense: wood, gold, stone, iron, diamond and netherite.
== Obtaining ==
=== Crafting ===
{{Crafting
|showname=0
|showdescription=1
|head=1
|name=[[Swords]]
|B1={Any Planks}; Iron Ingot; Gold Ingot; Diamond
|B2={Any Planks}; Iron Ingot; Gold Ingot; Diamond
|B3=Stick
|Output=Wooden Sword; Iron Sword; Golden Sword; Diamond Sword
|type=Combat
}}
{{Crafting
|name=Stone Sword
|B1=Any stone-tier block
|B2=Any stone-tier block
|B3=Stick
|Output=Stone Sword
|description=Can use cobblestone and its other variants interchangeably.
|type=Combat
}}
{{Crafting
|foot=1
|ignoreusage=1
|name=[[Swords]]
|ingredients=Damaged Matching [[Swords]]
|Damaged Wooden Sword; Damaged Stone Sword; Damaged Iron Sword; Damaged Golden Sword; Damaged Diamond Sword; Damaged Netherite Sword
|Damaged Wooden Sword; Damaged Stone Sword; Damaged Iron Sword; Damaged Golden Sword; Damaged Diamond Sword; Damaged Netherite Sword
|description= The durability of the two swords is added together, plus an extra 5% of the tool type's total durability. Enchantments are removed unless combined on an [[anvil]].<br>'''Example:''' Two wooden swords, each with remaining durability of 20, combine into a wooden sword having 43 durability (20 + 20 + 5% of 60).
|Output=Wooden Sword; Stone Sword; Iron Sword; Golden Sword; Diamond Sword; Netherite Sword
|type=Combat
}}
=== Upgrading ===
{{Smithing
|Netherite Upgrade
|Diamond Sword
|Netherite Ingot
|Netherite Sword
|description=
|tail=1
}}
=== Repairing ===
==== Grinding ====
{{Grinding
|showdescription=1
|ingredients=2x Damaged Wooden Sword or<br>2x Damaged Stone Sword or<br>2x Damaged Iron Sword or<br>2x Damaged Golden Sword or<br>2x Damaged Diamond Sword or <br>2x Damaged Netherite Sword
|Damaged Wooden Sword; Damaged Stone Sword; Damaged Iron Sword; Damaged Golden Sword; Damaged Diamond Sword; Damaged Netherite Sword
|Damaged Wooden Sword; Damaged Stone Sword; Damaged Iron Sword; Damaged Golden Sword; Damaged Diamond Sword; Damaged Netherite Sword
|Wooden Sword; Stone Sword; Iron Sword; Golden Sword; Diamond Sword; Netherite Sword
|description=The durability of the two swords is added together, plus an extra 5% durability. Any enchantments, besides curses, would be removed.
}}
==== Unit repair ====
{{main|Anvil mechanics#Unit repair}}
{{/Repairing with Anvils}}
A sword can be repaired in an [[anvil]] by adding units of the [[tiers]]' repair material, with each repair material restoring 25% of the sword's maximum durability, rounded down.
=== Mob loot ===
{{Main|Drops#Equipped items}}
Some [[mobs]] can spawn with a sword and have an 8.5% chance of dropping them upon death caused by player. This chance is increased by 1% per level of [[Looting]], up to a maximum of 11.5% with Looting III. [[Zombie]]s and [[husk]]s can drop iron swords, [[zombified piglin]]s and [[piglin]]s can drop golden swords, and [[wither skeleton]]s can drop stone swords. The dropped sword is usually badly damaged and may be enchanted. Stone swords dropped by wither skeletons are never enchanted.
A [[vex]] wields an iron sword that normally has a 0% chance of dropping, because their main hand's <code>HandDropChances</code> is 0. However, this chance increases by 1 percentage point per level of Looting. It is never damaged{{only|java}} and may be enchanted.
{{IN|be}}, [[pillager]]s and [[vindicator]]s that spawn from raids have a 4.1% chance (5.12% chance on hard mode) of dropping a damaged iron sword. This sword has a 50% chance of being enchanted.
=== Trading ===
[[File:Weaponsmith Diamond Sword Trade.png|thumb|right|The diamond sword trade of a weaponsmith.]]
{{IN|bedrock}}, an apprentice-level weaponsmith villagers sells enchanted iron swords for at least 7-21 emeralds, and a master-level weaponsmith sells enchanted diamond swords for at least 13-27 emeralds.
{{IN|java}}, a novice-level weaponsmith villager has a {{frac|2|3}} chance of selling an enchanted iron sword for at least 7-22 emeralds. A master-level weaponsmith offers to sell an enchanted diamond sword for at least 11–27 emeralds.
The enchantments of the swords offered by villagers are the same as the ones obtained from an [[enchantment table]] at levels 5–19.
=== Chest loot ===
{{LootChestItem|iron-sword,level-enchanted-iron-sword,damaged-random-enchanted-iron-sword,golden-sword,random-enchanted-golden-sword,diamond-sword,damaged-diamond-sword,level-enchanted-diamond-sword,damaged-random-enchanted-diamond-sword,damaged-random-enchanted-diamond-sword-2}}
== Usage ==
=== Attacking ===
Pressing {{control|attack}} while holding a sword inflicts damage on both mobs and other players. Upon damaging a mob or player, the sword's [[Item Durability|durability]] decreases by 1.
Attacking a [[boat]] or a [[minecart]] with a sword stone tier or higher instantly destroys it {{only|java}}, without decreasing the sword's durability. Otherwise, it requires 2 hits, with neither decreasing durability.
==== Sweeping ====
{{exclusive|Java|section=1}}
If the attack recharge meter is 84.8% or above and the player is on the ground standing or moving slower than the [[sprinting]] speed in a straight line, the sword performs a sweeping attack indicated by a gale [[particle]] that reaches nearby enemies for {{hp|1}} and knocks them back; the amount of knockback is 80% that of the basal knockback and does not benefit from the [[knockback]] enchantment. As result, the player can perform a sweep attack while they are sprinting diagonally but it is impossible to perform a sweep attack at the same time as a critical hit or while riding some [[entity]]. All enemies within an 1 by 0.25 by 1 block area of any part of the attacked mob and whose feet are 3 or less blocks away from player's feet are affected. The [[sweeping edge]] enchantment increases the damage dealt by 50% of the normal hit damage for level I, 67% for level II and 75% for level III.
=== Damage ===
{{Main|Damage}}
==== Java Edition ====
Swords have an attack speed of 1.6 and take 0.625 seconds to [[Damage#Attack cooldown|recover]].
{| class="wikitable" style="text-align:center" data-description="Sword attack damage by type"
! Material
! {{ItemSprite|Wooden Sword|text=Wooden}}
! {{ItemSprite|Golden Sword|text=Gold}}
! {{ItemSprite|Stone Sword|text=Stone}}
! {{ItemSprite|Iron Sword|text=Iron}}
! {{ItemSprite|Diamond Sword|text=Diamond}}
! {{ItemSprite|Netherite Sword|text=Netherite}}
|-
! Attack Damage
| {{hp|4}}
| {{hp|4}}
| {{hp|5}}
| {{hp|6}}
| {{hp|7}}
| {{hp|8}}
|-
! Attack Speed
| 1.6
| 1.6
| 1.6
| 1.6
| 1.6
| 1.6
|-
! Damage/Second (DPS)
| 6.4
| 6.4
| 8
| 9.6
| 11.2
| 12.8
|-
! Durability
| 59
| 32
| 131
| 250
| 1561
| 2031
|-
! Lifetime damage inflicted<ref group="note">The formula to find the total lifetime damage is ''Lifetime damage minimum = Durability × Damage per hit''. It ignores enchantments and [[Damage#Critical_hit|critical hits]], and assumes the sword is at maximum charge</ref>
| {{hp|236}}
| {{hp|128}}
| {{hp|655}}
| {{hp|1500}}
| {{hp|10927}}
| {{hp|16248}}
|}
{{notelist}}
==== Bedrock Edition ====
{{IN|bedrock}}, swords have no attack cooldown or sweep attack, and deal the following damage:
{| class="wikitable" style="text-align:center" data-description="Sword attack damage by type"
! Material
! {{ItemSprite|Wooden Sword|text=Wooden}}
! {{ItemSprite|Golden Sword|text=Gold}}
! {{ItemSprite|Stone Sword|text=Stone}}
! {{ItemSprite|Iron Sword|text=Iron}}
! {{ItemSprite|Diamond Sword|text=Diamond}}
! {{ItemSprite|Netherite Sword|text=Netherite}}
|-
! Attack Damage
| {{hp|5}} <!-- DO NOT CHANGE THESE! The values are correct, '+4 Attack Damage' means 5 total attack damage. -->
| {{hp|5}}
| {{hp|6}}
| {{hp|7}}
| {{hp|8}}
| {{hp|9}}
|-
! Durability
| 60
| 33
| 132
| 251
| 1562
| 2032
|-
! Lifetime damage inflicted<ref group="note">The formula to find the total lifetime damage is ''Durability × Damage per hit = Lifetime damage minimum''. It excludes enchantments and critical hits</ref>
| {{hp|300}}
| {{hp|165}}
| {{hp|792}}
| {{hp|1757}}
| {{hp|12496}}
| {{hp|18288}}
|}
{{notelist}}
The most amount of damage that a sword enchanted with [[Sharpness]] V can do is 11 {{in|java}} and 15.25 {{in|bedrock}}, without critical hits.
=== Sword breaking times ===
{{main|Breaking}}
A sword can also be used to destroy certain blocks 50% quicker, sometimes much quicker than with fists. Using a sword to destroy any block that doesn't break instantly by hand decreases its durability by 2; this includes bamboo, despite that the sword is the fastest tool for breaking it.<ref>{{bug|MC-195168||Swords consume double durability than they normally would when destroying bamboo saplings, bamboo, or cobwebs}}</ref>
If a sword is enchanted with [[Silk Touch]], either using [[Creative]] or [[commands]], cobwebs the sword destroys will drop the cobwebs themselves instead of the usual string. This is due to the sword being classified as the proper tool for cobwebs.
The following table shows the time it takes to break blocks on which swords have any effect. Colors indicate what gets dropped:
* White: an original block.
* Blue: block's normal drop (e.g. seeds, sapling, apple).
* Red: nothing.
{| class="wikitable" style="text-align:center" data-description="Blocks affected by swords"
! Block
! Fists
! Sword
! colspan="2" | Proper/fastest tool
|-
!style="text-align:left"| {{BlockLink|Bamboo}}
| {{tc|no|{{breaking time|Bamboo}} s }} || 0.05 s (instant) <!-- this doesn't work: {{tc|planned|{{breaking time|Bamboo|Sword}} s}} -->
| {{ItemSprite|sword|link=Sword}}
| 0.05 s (instant) <!-- this doesn't work: {{breaking time|Bamboo|Sword}} s -->
|-
!style="text-align:left"| {{BlockLink|Cobweb}}
| {{tc|no|{{breaking time|Cobweb|drop=None}} s}} || {{tc|planned|{{breaking time|Cobweb|Sword}} s}}
| {{ItemSprite|shears|link=Shears}}
| {{breaking time|Cobweb|Shears}} s
|-
!style="text-align:left"| {{BlockLink|Cocoa}}
| {{tc|planned|{{breaking time|Cocoa}}s}} || {{tc|planned|{{breaking time|Cocoa|Sword}}s}}
| {{ItemSprite|wooden-axe|link=Axe}}
| {{tc|planned|{{breaking time|Cocoa|Golden}} – {{breaking time|Cocoa|Wooden}} s}}
|-
! style="text-align:left"|{{BlockLink|Hay Bale}}
| 1s
| 0.8s{{only|bedrock}}
| {{ItemSprite|wooden-hoe|link=Hoe}}
| {{breaking time|Hay Bale|Golden}} – {{breaking time|Hay Bale|Wooden}} s
|-
!style="text-align:left" rowspan="2"| {{BlockLink|Leaves}}
!rowspan="2" {{tc|planned|{{breaking time|Leaves}} s}}
!rowspan="2" {{tc|planned|{{breaking time|Leaves|Sword}} s}}
| {{ItemSprite|shears|link=Shears}}
| {{breaking time|Leaves|Shears}}s
|-
| {{ItemSprite|wooden-hoe|link=Hoe}}
| {{tc|planned|{{breaking time|Leaves|Golden}} – {{breaking time|Leaves|Wooden}} s}}
|-
!style="text-align:left"| {{BlockLink|Jack o'Lantern}}
| {{breaking time|Jack o'Lantern}} s || {{breaking time|Jack o'Lantern|Sword}} s
| {{ItemSprite|wooden-axe|link=Axe}}
| {{breaking time|Jack o'Lantern|Golden}} – {{breaking time|Jack o'Lantern|Wooden}} s
|-
!style="text-align:left"| {{BlockLink|Melon}}
| {{tc|planned|{{breaking time|Melon}} s}} || {{tc|planned|{{breaking time|Melon|Sword}} s}}
| {{ItemSprite|wooden-axe|link=Axe}}
| {{tc|planned|{{breaking time|Melon|Golden}} – {{breaking time|Melon|Wooden}} s}}
|-
!style="text-align:left"| {{BlockLink|Pumpkin}}
| {{breaking time|Pumpkin}}s || {{breaking time|Pumpkin|Sword}} s
| {{ItemSprite|wooden-axe|link=Axe}}
| {{breaking time|Pumpkin|Golden}} – {{breaking time|Pumpkin|Wooden}} s
|-
!style="text-align:left" rowspan="2"| {{BlockLink|Vines}}
| rowspan="2" {{tc|no|{{breaking time|Vines}} s}} || rowspan="2" {{tc|no|{{breaking time|Vines|Sword}} s}}
| {{ItemSprite|wooden-axe|link=Axe}}
| {{tc|no|{{breaking time|Vines|Golden}} – {{breaking time|Vines|Wooden}} s}}
|-
| {{ItemSprite|shears|link=Shears}}
| {{breaking time|Vines|Shears}} s
|}
==== Safety around constructions ====
In Creative mode, swords are unable to break blocks. However, care must still be taken around [[minecart]]s, [[painting]]s, [[item frame]]s,{{only|java}} and [[armor stand]]s; these are entities, thus can be broken with swords in Creative.<ref>{{bug|MC-27140}}</ref><ref>{{bug|MC-18463}}</ref>
=== Enchantments ===
Swords can receive, gathered from mob drops/villager trades or be found in various loot chests (example: End City, Bastion Remnant)with the following [[enchantment]]s:
{| class="wikitable sortable col-2-center col-3-right"
|+
!Name
!Max Level
![[Enchanting|Method]]
!Weight
|-
|[[Fire Aspect]]
|II
|{{Inventory slot|Enchanting Table}}{{Inventory slot|Anvil}}
|2
|-
|[[Looting]]
|III
|{{Inventory slot|Enchanting Table}}{{Inventory slot|Anvil}}
|2
|-
|[[Unbreaking]]
|III
|{{Inventory slot|Enchanting Table}}{{Inventory slot|Anvil}}
|5
|-
|[[Sharpness]]<ref group=note name=note1>Sharpness, Smite, and Bane of Arthropods are mutually exclusive.</ref>
|V
|{{Inventory slot|Enchanting Table}}{{Inventory slot|Anvil}}
|10
|-
|[[Smite]]<ref group=note name=note1/>
|V
|{{Inventory slot|Enchanting Table}}{{Inventory slot|Anvil}}
|5
|-
|[[Bane of Arthropods]]<ref group="note" name=note1/>
|V
|{{Inventory slot|Enchanting Table}}{{Inventory slot|Anvil}}
|5
|-
|[[Knockback]]
|II
|{{Inventory slot|Enchanting Table}}{{Inventory slot|Anvil}}
|5
|-
|[[Mending]]
|I
|{{Inventory slot|Anvil}}
|2
|-
|[[Curse of Vanishing]]
|I
|{{Inventory slot|Anvil}}
|1
|-
|[[Sweeping Edge]]{{Only|java|short=1}}
|III
|{{Inventory slot|Enchanting Table}}{{Inventory slot|Anvil}}
|2
|}
Golden swords have the highest enchantability, yet the least durability{{Notelist}}
=== Fuel ===
Wooden swords can be used as fuel in [[furnace]]s, smelting 1 item per sword.
=== Smelting ingredient ===
{{Smelting|showname=1|Iron Sword;Golden Sword|Iron Nugget;Gold Nugget|0,1}}
=== Piglins ===
[[Piglin]]s are attracted to golden swords, run toward any golden swords on the ground and inspect it for 6 to 8 seconds before putting it in their [[inventory]] slot.
== Sounds ==
{{Edition|Java}}:
{{Sound table
|sound=Strong attack1.ogg
|sound2=Strong attack2.ogg
|sound3=Strong attack3.ogg
|sound4=Strong attack4.ogg
|sound5=Strong attack5.ogg
|sound6=Strong attack6.ogg
|subtitle=Strong attack
|source=player
|description=When a player deals an attack that does not trigger any other attack sounds
|id=entity.player.attack.strong
|translationkey=subtitles.entity.player.attack.strong
|volume=''varies'' <ref group=sound>0.6 for <code>strong1</code> through <code>strong4</code>, and 0.7 for <code>strong5</code> and <code>strong6</code></ref>
|pitch=1.0
|distance=16}}
{{Sound table
|sound=Critical attack1.ogg
|sound2=Critical attack2.ogg
|sound3=Critical attack3.ogg
|subtitle=Critical attack
|source=player
|description=When a player deals a critical hit
|id=entity.player.attack.crit
|translationkey=subtitles.entity.player.attack.crit
|volume=0.7
|pitch=1.0
|distance=16}}
{{Sound table
|sound=Knockback attack1.ogg
|sound2=Knockback attack2.ogg
|sound3=Knockback attack3.ogg
|sound4=Knockback attack4.ogg
|subtitle=Knockback attack
|source=player
|description=When a player deals a sprinting attack
|id=entity.player.attack.knockback
|translationkey=subtitles.entity.player.attack.knockback
|volume=0.7
|pitch=1.0
|distance=16}}
{{Sound table
|sound=Sweep attack1.ogg
|sound2=Sweep attack2.ogg
|sound3=Sweep attack3.ogg
|sound4=Sweep attack4.ogg
|sound5=Sweep attack5.ogg
|sound6=Sweep attack6.ogg
|sound7=Sweep attack7.ogg
|subtitle=Sweeping attack
|source=player
|description=When a player deals a sweep attack
|id=entity.player.attack.sweep
|translationkey=subtitles.entity.player.attack.sweep
|volume=0.7
|pitch=1.0
|distance=16}}
{{Sound table
|rowspan=2
|sound=Weak attack1.ogg
|sound2=Weak attack2.ogg
|sound3=Weak attack3.ogg
|sound4=Weak attack4.ogg
|subtitle=Weak attack
|source=player
|description=When a player deals an attack with no damage
|id=entity.player.attack.nodamage
|translationkey=subtitles.entity.player.attack.weak
|volume=0.7
|pitch=1.0
|distance=16}}
{{Sound table
|subtitle=Weak attack
|source=player
|description=When a player attempts to attack without sufficient cooldown
|id=entity.player.attack.weak
|translationkey=subtitles.entity.player.attack.weak
|volume=0.7
|pitch=1.0
|distance=16}}
{{Sound table
|sound=Random break.ogg
|subtitle=Item breaks
|source=player
|description=When a sword's durability is exhausted
|id=entity.item.break
|translationkey=subtitles.entity.item.break
|volume=0.8
|pitch=0.8-1.2
|distance=16
|foot=1}}
{{Edition|Bedrock}}:
{{Sound table
|type=bedrock
|sound=Strong attack1.ogg
|sound2=Strong attack2.ogg
|sound3=Strong attack3.ogg
|sound4=Strong attack4.ogg
|sound5=Strong attack5.ogg
|sound6=Strong attack6.ogg
|source=player
|description=When a player deals an attack with damage
|id=game.player.attack.strong
|volume=0.2
|pitch=0.8-1.2}}
{{Sound table
|sound=Weak attack1.ogg
|sound2=Weak attack2.ogg
|sound3=Weak attack3.ogg
|sound4=Weak attack4.ogg
|source=player
|description=When a player deals an attack with no damage
|id=game.player.attack.nodamage
|volume=0.2
|pitch=0.8-1.2}}
{{Sound table
|sound=Random break.ogg
|source=player
|description=When an sword's durability is exhausted
|id=random.break
|volume=1.0
|pitch=0.9
|foot=1}}
== Data values ==
=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|showforms=y
|generatetranslationkeys=y
|displayname=Wooden Sword
|spritetype=item
|nameid=wooden_sword
|form=item}}
{{ID table
|displayname=Stone Sword
|spritetype=item
|nameid=stone_sword
|form=item}}
{{ID table
|displayname=Iron Sword
|spritetype=item
|nameid=iron_sword
|form=item}}
{{ID table
|displayname=Diamond Sword
|spritetype=item
|nameid=diamond_sword
|form=item}}
{{ID table
|displayname=Golden Sword
|spritetype=item
|nameid=golden_sword
|form=item}}
{{ID table
|displayname=Netherite Sword
|spritetype=item
|nameid=netherite_sword
|form=item
|foot=1}}
{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Wooden Sword
|spritetype=item
|nameid=wooden_sword
|id=308
|form=item}}
{{ID table
|displayname=Stone Sword
|spritetype=item
|nameid=stone_sword
|id=312
|form=item}}
{{ID table
|displayname=Iron Sword
|spritetype=item
|nameid=iron_sword
|id=307
|form=item}}
{{ID table
|displayname=Diamond Sword
|spritetype=item
|nameid=diamond_sword
|id=316
|form=item}}
{{ID table
|displayname=Golden Sword
|spritetype=item
|nameid=golden_sword
|id=322
|form=item}}
{{ID table
|displayname=Netherite Sword
|spritetype=item
|nameid=netherite_sword
|id=604
|form=item
|foot=1}}
== Achievements ==
{{load achievements|Time to Strike!;Overkill;Oooh, shiny!}}
== Advancements ==
{{load advancements|Oh Shiny}}
== History ==
=== Blocking ===
{{main|Blocking}}
[[File:Parrying.png|thumb|right|The blocking animation using a sword before and after [[Java Edition 14w30a]] (from the [[Adventure Update|Adventure]] to the [[Bountiful Update|Bountiful]] updates).]]
Previously, since the [[Adventure Update]], all types of swords could be used to parry to block some forms of damage. If the player is blocking with a sword when attacked, the sword deflects 50% of incoming damage from melee, non-magical projectiles like arrows, and explosions, along with minimizing airborne knockback. The sword is held in front of the player and its durability is not reduced by blocking. The player moves at a slower rate than [[sneaking]] if blocking with a sword. Sword blocks could be engaged and disengaged instantly, with no delay between the input and damage mitigation nor cooldown between lowering a block and raising a new one.
After the [[Combat Update]], the sword blocking functionality was replaced by blocking with [[shield]]s and to accommodate the [[dual wield]] system. Shields negate more damage and knockback than sword blocking from "blockable" attacks (they block 100% damage and knockback after [[Java Edition 1.11]]), but, unlike swords, they lose durability, have a 0.25 second startup period before damage can be mitigated and can be temporarily disabled by attacks with an [[axe]].
=== Knockback ===
The knockback dealt by swords used to be higher than while the players are using another melee [[item]]s, like an axe or with the hands. This feature was removed in [[Java Edition 1.9]] and is also no longer used in ''[[Bedrock Edition]]''.
=== Historical changes per version ===
{{History|java indev}}
{{History||0.31|snap=20091231-2|[[File:Iron Sword JE1 BE1.png|32px]] Added iron swords.
|Iron swords cannot be [[craft]]ed yet, but can be added to the [[player]]'s [[inventory]] during world creation.}}
{{History||0.31|snap=?|The iron sword is no longer added to the player's inventory during world creation.}}
{{History||0.31|snap=20100128|[[File:Wooden Sword JE1 BE1.png|32px]] [[File:Stone Sword JE1 BE1.png|32px]] [[File:Diamond Sword JE1 BE1.png|32px]] Swords made from wood, stone, and diamond have been added.
|Swords cannot be crafted yet, but have been added to the [[item]] [[chest]] in the Indev house.|A sword held by the player is now rendered to appear more 3D.}}
{{History||0.31|snap=20100129|Wood, stone, iron, and diamond swords can now be [[craft]]ed.}}
{{History|||snap=20100130|[[File:Golden Sword JE1.png|32px]] Swords can now be made out of gold.}}
{{History|||snap=20100131|Swords now have [[durability]].
|Better swords now last longer.
|Swords now cost 1 durability per hit, and 2 points per block broken.}}
{{History||20100206|[[File:Golden Sword JE2 BE1.png|32px]] The texture of gold swords has been slightly changed.}}
{{History|java alpha}}
{{History||v1.2.0|snap=release|[[Zombie pigmen]] now hold golden swords.}}
{{History|java beta}}
{{History||1.2|Swords, like all [[tool]]s, now have more [[item durability|durability]].
|Prior, diamond swords had 1024 durability, iron swords had 128, stone swords 64 and wood and gold had 32 durability.}}
{{History||1.5|The damages of all swords have increased by 1, due to the player's barehand damage increasing from {{hp|1}} to {{hp|2}}.
|As a result, wooden and golden swords now dealt {{hp|5}}, stone swords {{hp|7}}, iron swords {{hp|9}}, and diamond swords {{hp|11}}.}}
{{History||1.8|snap=Pre-release|Added the ability to block with a sword, giving the [[player]] more options in combat.
|Swords deflect 50% of incoming melee damage, non-magical projectiles like arrows and explosion damage, and a bit of knockback.
|The sword is held in front of the player and its durability is not reduced by blocking.|The player moves at a slower rate than [[sneaking]] when blocking with a sword.
|As barehand damage has been reduced from {{hp|2}} to {{hp|1}}, the damages of all swords have been reduced to their pre Beta 1.5 values.}}
{{History|java}}
{{History||1.0.0|snap=Beta 1.9 Prerelease 3|Sword [[damage]] has been reduced to make way for [[enchanting]]. A diamond sword's damage has been reduced from {{hp|10}} to {{hp|7}}, iron has been reduced from {{hp|8}} to {{hp|6}} and stone has been reduced from {{hp|6}} to {{hp|5}}. Wooden and golden swords still deal {{hp|4}} damage.|Iron swords are now found in the new [[stronghold]] altar [[chest]]s.}}
{{History|||snap=Beta 1.9 Prerelease 4|Swords can now be enchanted in the [[enchantment table]].}}
{{History||1.1|snap=12w01a|Iron swords are now found in [[village]] blacksmith chests.}}
{{History||1.2.1|snap=12w06a|The [[player]] now has a rare chance of obtaining iron swords by killing [[zombie]]s and golden swords from [[zombie pigmen]] from the addition of [[rare drops]]. These swords have a 20% chance of being enchanted.}}
{{History||1.2.4|snap=release|[[Spruce planks]], [[birch planks]], and [[jungle planks]] can now be used to craft wooden swords.}}
{{History||1.3.1|snap=12w18a|Wooden swords can now be used as [[fuel]] in a [[furnace]].}}
{{History|||snap=12w21a|Blacksmith [[villager]]s now [[trading|sell]] diamond swords for 12–13 [[emerald]]s, and iron swords for 7–10 emeralds.
|With the [[trading]] implementation, renewable [[item]]s such as [[wheat]] can now be [[trading|sold]] to buy a diamond sword. This has now made all swords [[Renewable Resource|renewable]].}}
{{History||1.4.2|snap=12w32a|[[Zombie]]s may sometimes wield iron swords, dealing extra [[damage]].}}
{{History|||snap=12w34a|If a [[player]] has dyed leather armor equipped and selected a sword of any kind, it appears in the color of the dye applied to the armor, when switching to second or third person view.}}
{{History|||snap=12w36a|Added [[wither skeleton]]s, which hold stone swords.}}
{{History||1.4.6|snap=12w49a|[[Unbreaking]] can now be applied to a sword with an [[enchanted book]].}}
{{History||1.6.1|snap=13w18a|Golden swords are now found in the new [[chest]]s in [[nether fortress]]es.}}
{{History|||snap=13w21a|Instead of replacing the barehanded [[damage]] ({{hp|1}}), swords now add their damage onto the barehanded damage, which results in all swords doing {{hp|1}} more damage than before.}}
{{History|||snap=13w25b|In [[Creative]] mode, swords are no longer able to break [[block]]s, and no [[sound]] plays when they're hit with one.}}
{{History||1.7.2|snap=1.7.1|[[Acacia planks]] and [[dark oak planks]] can now be used to craft wooden swords.}}
{{History||1.8|snap=14w02a|Weaponsmith [[villager]]s now [[trading|sell]] enchanted diamond swords for 12–15 [[emerald]]s, and iron swords for 9–10 emeralds. Unenchanted swords are no longer sold.}}
{{History|||snap=14w30a|Sword holding position have been tweaked, and the blocking animation has changed. Blocking while mining was made impossible. Blocking immediately after attacking no longer continues the swing animation.}}
{{History||1.9|snap=15w31a|[[Enchanting|Enchanted]] iron and diamond swords can now be found in [[end city]] ship [[chest]]s.}}
{{History|||snap=15w33c|Swords no longer block attacks. Instead, [[shield]]s are used.}}
{{History|||snap=15w34b|Swords now use the attack speed [[attribute]]. The attack speed of a sword is 1.25 or 0.8 seconds.}}
{{History|||snap=15w34c|Nerfed swords, they now do {{hp|1}} less [[damage]] and have an attack speed of 1.45, or 0.69 seconds.
|Swords can now do a sweep attack when moving at walking speed or slower, which knock back [[mob]]s near the one hit. The attack speed meter must be filled for it to work.}}
{{History|||snap=15w36a|Each [[Sharpness]] level now adds {{hp|1}} damage to the base damage at level I and an additional {{hp|0.5}} for each additional level, down from a flat {{hp|1.25}} per level.}}
{{History|||snap=15w37a|Swords now have an attack speed of 1.6, or 0.63 seconds.}}
{{History|||snap=15w43a|The average yield of golden swords in [[nether fortress]] chests has been decreased.}}
{{History|||snap=15w49a|Sweep attack now does {{hp|1}} damage to affected [[mob]]s and players.}}
{{History||1.11.1|snap=16w50a|Golden and iron swords now [[smelt]] down into one of their respective [[nugget]]s.
|Added [[Sweeping Edge]] enchantment.}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], these [[item]]s' numeral IDs were 268, 272, 267, 276 and 283.}}
{{History|||snap=18w10a|Swords can now generate in [[buried treasure]] chests.}}
{{History||September 10, 2018|link={{tweet|JasperBoerstra|1039167196801458176}}|[[File:Wooden Sword JE2 BE2.png|32px]] [[File:Stone Sword JE2 BE2.png|32px]] [[File:Iron Sword JE2 BE2.png|32px]] [[File:Golden Sword JE3 BE2.png|32px]] [[File:Diamond Sword JE2 BE2.png|32px]] [[Jasper Boerstra]] tweets an image of updated sword textures.}}
{{History||1.14|snap=18w43a|[[File:Wooden Sword JE2 BE2.png|32px]] [[File:Stone Sword JE2 BE2.png|32px]] [[File:Iron Sword JE2 BE2.png|32px]] [[File:Golden Sword JE3 BE2.png|32px]] [[File:Diamond Sword JE2 BE2.png|32px]] The textures of all swords have been changed.
|Swords now break [[bamboo]] instantly.}}
{{History||1.16|snap=20w06a|[[File:Netherite Sword JE1.png|32px]] Added netherite swords.
|Netherite swords are obtained by combining one diamond sword and one [[netherite ingot]] in a [[crafting table]].
|[[Crimson planks]] and [[warped planks]] can now be used to craft wooden swords.}}
{{History|||snap=20w09a|[[File:Diamond Sword JE3 BE3.png|32px]] The texture of diamond swords has been changed.}}
{{History|||snap=20w10a|[[File:Netherite Sword JE2 BE2.png|32px]] The texture of netherite swords has been changed.
|Netherite swords can no longer be [[crafted]].
|Netherite swords are now obtained by combining one diamond sword and one [[netherite ingot]] in a [[smithing table]].}}
{{History|||snap=20w15a|Stone swords can now be crafted using [[blackstone]].}}
{{History|||snap=20w16a|Golden and netherite swords now generate in [[bastion remnants]] chests.
|Golden swords now generate randomly enchanted in [[ruined portal]] chests.}}
{{History|||snap=20w17a|Diamonds swords now generate in place of netherite swords in bastion remnant [[chest]]s.}}
{{History||1.16.2|snap=20w30a|Damaged enchanted iron swords can now be found in [[bastion remnant]] chests.}}
{{History||1.17|snap=21w08a|Stone swords can now be crafted using [[cobbled deepslate]].}}
{{History||1.19|snap=22w11a|[[Mangrove planks]] can now be used to craft wooden swords.}}
{{History||1.20<br>(Experimental)|link=1.19.4|snap=23w04a|Upgrading diamond swords to netherite swords now requires the netherite upgrade [[smithing template]].}}
{{History|upcoming java}}
{{History||Combat Tests|snap=1.14.3 - Combat Test|The attack speed for all swords has been increased to 3.
|The base [[damage]] is now {{Hp|2}}, meaning that all swords now do {{Hp|1}} more damage than before}.
|The attack reach of swords has been increased to 3.5 [[block]]s.}}
{{History|||snap=Combat Test 2|The attack speed of all swords has been decreased to 2.5.}}
{{History|||snap=Combat Test 3|The attack speed of all swords has been changed from 2.5 back to 3.0.
|The attack key can now again be held down to automatically attack when the attack meter is full.
|Attacks now happen only when the sword is at 120% charge, slower than if attacks were timed.}}
{{History|||snap=Combat Test 4|Sword can now perform critical, knockback ([[sprint]]) hits on 100% charge.
|The attack reach of all weapons was decreased by 0.5 [[block]]. Sword now have a 3 [[block]]s reach.
|The 200% attack now gives a bonus reach of 1 [[block]].}}
{{History|||snap=Combat Test 5|Weapons have been nerfed. All material tiers have been nerfed by {{Hp|1}} except wood and gold, and the sword tier have been nerfed by {{Hp|1}}. This means that the wooden/stone/golden sword now does {{Hp|4}} damage, the iron sword now does {{Hp|5}} damage and the diamond sword now does {{Hp|6}} damage.}}
{{History|||snap=Combat Test 6|All weapons' attack reach have been buffed by 0.5 [[block]].
|200% attacks have been removed.
|Swords now always do sweep attack, even in the air.
|The cooldown for missed hit is a 4-tick cooldown instead of using the attack speed attribute.}}
{{History|||snap=Combat Test 7c|All weapons' attack reach have been nerfed by 0.5 [[block]]. The sword's attack reach is now 3 [[block]]s again.
|200% attacks have been re-added.
|Swords no longer sweep without [[Sweeping Edge]] and 200% charge again.
|Adjusted the netherite tier value to match the weapon nerf in Combat Test 5}}
{{History|||snap=Combat Test 8b|Enchantment bonus attack damage are now included in the base damage when calculating critical hits (they were excluded before). Due to this change, enchanted swords critical attacks are now way more powerful (especially with high enchantments)}}
{{History|pocket alpha}}
{{History||v0.2.0|[[File:Stone Sword JE1 BE1.png|32px]] Added stone swords.}}
{{History||v0.3.0|[[File:Wooden Sword JE1 BE1.png|32px]] Added wooden swords.
|Survival players no longer start out with an infinite durability stone sword in the inventory.}}
{{History||v0.3.2|[[File:Iron Sword JE1 BE1.png|32px]] [[File:Golden Sword JE2 BE1.png|32px]] [[File:Diamond Sword JE1 BE1.png|32px]] Added iron, gold, and diamond swords.}}
{{History||v0.4.0|Iron swords have replaced stone swords in the creative inventory.}}
{{History||v0.9.0|snap=build 1|Iron swords can now be found in [[stronghold]] altar [[chest]]s and inside blacksmith chests.}}
{{History||v0.11.0|snap=build 11|Wooden, stone, golden and diamond swords are now available in the [[creative]] [[inventory]].}}
{{History||v0.11.0|snap=build 12|Wooden, stone, golden and diamond swords have been removed from creative.}}
{{History||v0.11.0|snap=build 13|All swords are available in creative mode again.}}
{{History||v0.12.1|snap=build 1|Instead of replacing the barehanded [[damage]] ({{hp|1}}), swords now add their damage onto the barehanded damage, which results in all swords doing {{hp|1}} more damage than before.|In [[creative]] mode, swords are no longer able to break [[block]]s, and no [[sound]] plays when they're hit with one.|Golden swords can now be found in [[nether fortress]] chests.
|[[Zombie]]s now rarely spawn holding an iron sword that have a chance to [[drops|dropped]].
|Golden swords are now rarely dropped by [[zombie pigmen]].
|Stone swords are now rarely dropped by [[wither skeleton]]s.}}
{{History||v0.15.0|snap=build 1|Iron swords are now sometimes dropped by [[husk]]s that spawn holding an iron sword.}}
{{History|pocket}}
{{History||1.0.0|snap=alpha 0.17.0.1|Enchanted iron and diamond swords can now be found in [[end city]] [[chest]]s.}}
{{History||1.0.4|snap=alpha 1.0.4.0|Iron swords and enchanted diamond swords are now sold by weaponsmith [[villager]]s.}}
{{History||1.1.0|snap=alpha 1.1.0.0|Iron and golden swords are now [[smelting|smeltable]].
|Added [[vex]]es, which rarely drop an iron sword if killed using [[Looting]] enchantment.}}
{{History|bedrock}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Wooden Sword JE2 BE2.png|32px]] [[File:Stone Sword JE2 BE2.png|32px]] [[File:Iron Sword JE2 BE2.png|32px]] [[File:Golden Sword JE3 BE2.png|32px]] [[File:Diamond Sword JE2 BE2.png|32px]] The textures of all swords have been changed.
|Iron swords are now found in [[plains]] [[village]] weaponsmiths.}}
{{History||1.11.0|snap=beta 1.11.0.1|Iron swords can now be found in [[savanna]], [[snowy taiga]], [[taiga]] and [[desert]] village weaponsmiths.}}
{{History|||snap=beta 1.11.0.4|[[Pillager]]s and [[vindicator]]s that spawn in [[raid]]s can now drop iron swords upon [[death]].
|[[Trading]] has been changed. Iron swords [[trading|sold]] by weaponsmith [[villager]]s now cost 2 [[emerald]]s while diamond swords cost 8 emeralds as part of their fourth tier trades.}}
{{History||1.16.0|snap=beta 1.16.0.51|[[File:Netherite Sword BE1.png|32px]] Added netherite swords.
|Netherite swords are obtained by combining one diamond sword and one [[netherite ingot]] in a [[crafting table]].
|[[File:Diamond Sword JE3 BE3.png|32px]] The texture of diamond swords has been changed.
|Golden swords are now sometimes [[drops|dropped]] by [[piglin]]s that spawn holding a golden sword.}}
{{History|||snap=beta 1.16.0.57|Netherite swords can no longer be [[crafting|crafted]].
|Netherite swords are now obtained by combining one diamond sword and one [[netherite ingot]] in a [[smithing table]].
|Stone swords can now be crafted using [[blackstone]].
|Golden and netherite swords now generate in [[bastion remnant]] chests.
|Golden swords now generate randomly enchanted in [[ruined portal]] chests.}}
{{History|||snap=beta 1.16.0.63|Diamonds swords now generate in place of netherite swords in bastion remnant [[chest]]s.}}
{{History||1.17.30|snap=beta 1.17.20.20|Swords now break [[bamboo]] instantly.}}
{{History|console}}
{{History||xbox=TU1|xbone=CU1|ps=1.0|wiiu=Patch 1|switch=1.0.1|[[File:Wooden Sword JE1 BE1.png|32px]] [[File:Stone Sword JE1 BE1.png|32px]] [[File:Iron Sword JE1 BE1.png|32px]] [[File:Golden Sword JE2 BE1.png|32px]] [[File:Diamond Sword JE1 BE1.png|32px]] Added swords (all five types).}}
{{History||xbox=TU5|The ability to block with swords has been added, giving the [[player]] more options in combat.}}
{{History||xbox=TU53|xbone=CU43|ps=1.49|wiiu=Patch 23|switch=1.0.3|Iron and golden swords are now [[smelting|smeltable]].}}
{{History||xbox=none|xbone=none|ps=1.90|wiiu=none|switch=none|[[File:Wooden Sword JE2 BE2.png|32px]] [[File:Stone Sword JE2 BE2.png|32px]] [[File:Iron Sword JE2 BE2.png|32px]] [[File:Golden Sword JE3 BE2.png|32px]] [[File:Diamond Sword JE2 BE2.png|32px]] The textures of all swords have been changed.}}
{{History||ps=1.92|The ability to block with swords has been removed.}}
{{History|New Nintendo 3DS Edition}}
{{History||0.1.0|[[File:Wooden Sword JE1 BE1.png|32px]] [[File:Stone Sword JE1 BE1.png|32px]] [[File:Iron Sword JE1 BE1.png|32px]] [[File:Golden Sword JE2 BE1.png|32px]] [[File:Diamond Sword JE1 BE1.png|32px]] Added swords.
|Swords cannot block attacks.}}
{{History|foot}}
== Issues ==
{{issue list}}
== Trivia ==
*The sword's traditional [[texture]] came from [[Notch]]'s abandoned RPG, ''[[Legend of the Chambered]]''. The iron sword's texture was created first, as it was from the game, and the other swords followed.
*In ''Java Edition'', with the introduction of netherite swords, it is possible to one-hit kill undead [[mob]]s in the game (except [[wither]]s and [[zombie]]s/[[skeleton]]s with random armor) using a sword with the [[Smite]] V enchantment, without the need to perform a critical hit (this was previously possible only with a [[Smite]] V stone, iron, or diamond axe).
*Plastic diamond and enchanted swords are official ''[[Minecraft]]'' merchandise.<ref>https://shop.minecraft.net/products/minecraft-sword?_pos=1&_psq=sword&_ss=e&_v=1.0</ref><ref>https://shop.minecraft.net/products/minecraft-enchanted-purple-sword?_pos=4&_psq=sword&_ss=e&_v=1.0</ref>
*In the game [[wikipedia:Transformice|''Transformice'']], a diamond sword can be found in the shop.
== Gallery ==
=== Enchanted swords ===
<gallery>
Enchanted Wooden Sword.gif|Enchanted wooden sword.
Enchanted Stone Sword.gif|Enchanted stone sword.
Enchanted Iron Sword.gif|Enchanted iron sword.
Enchanted Golden Sword.gif|Enchanted golden sword.
Enchanted Diamond Sword.gif|Enchanted diamond sword.
Enchanted Netherite Sword.gif|Enchanted netherite sword.
</gallery>
=== Texture packs ===
<gallery>
File:Wood sword TP.png|Wooden sword in the [[Texture Pack DLC|Plastic Pack]].
Stone Sword SDGP.png|Stone sword in the [[Super Duper Graphics Pack]].
File:Gold sword Natural.png|Gold sword in the [[Texture Pack DLC|Natural Pack]].
</gallery>
=== In other media ===
<gallery>
File:Alex Fighting in Nether.jpeg|Pixel art of [[Alex]] fighting with a diamond sword in the [[Nether]].
File:Alex Retrieving Diamond Sword.jpeg|Alex retrieving another diamond sword from a [[chest]].
File:Sinister Sword Sprite MCD.png|The [[MCD:Sinister Sword|Sinister Sword]], a unique sword featured in ''Minecraft Dungeons''.
File:Sword GUI.png|A nondescript [[MCD:Sword|sword]] as it appears in ''[[Minecraft Dungeons]]''.
File:Sword (item).png|A sword as it appears in ''[[Legend of the Chambered]]''.
File:Sword Shirt.png|Officially licensed T-Shirt of a diamond sword.
File:IronSword replica.jpg|Foam replica of an iron sword.
</gallery>
== References ==
{{reflist}}
{{Items}}
[[Category:Tools]]
[[Category:Combat]]
[[de:Schwert]]
[[es:Espada]]
[[fr:Épée]]
[[hu:Kard]]
[[ja:剣]]
[[ko:검]]
[[nl:Zwaard]]
[[pl:Miecz]]
[[pt:Espada]]
[[ru:Меч]]
[[tr:Kılıç]]
[[uk:Меч]]
[[zh:剑]]</li></ul>
Added powered rails.
Issues
Issues relating to "Powered Rail" are maintained on the bug tracker. Report issues there.
Trivia
For comparison of speeds, walking speed is about 4 m/s (4.27 exactly), thus using powered rail to speed up will almost double your traveling speed.
In the game code, powered rails are referenced as "goldenRail".
Powered rails were originally a suggestion for golden tracks.[8]
A redstone torch or any other power supply will only power a powered rail for 9 blocks, unlike the 15-block range of regular redstone.
If you put down a row of powered rails and put another one in a different direction at the end of the row, a minecart will turn like a normal rail.
Creative Mode Flying is faster than traveling by powered rail.
In Pocket Edition powered rails are always powered and the central "powered" rail in the middle of the track is red rather than brown, possibly referencing the Redstone used to make it.