Cape (2024)

{{Extension DPL}}<ul><li>[[Firework Rocket|Firework Rocket]]<br/>{{redirect|Firework}}{{ItemEntity|image=Firework Rocket.png|renewable='''Trail Effect''':No<br>'''All Others''':Yes|stackable=Yes (64)‎|size=Height: 0.25 Blocks<br>Width: 0.25 Blocks|networkid=76}}A '''firework rocket''' is an [[item]] (and [[entity]]) used for creating decorative explosions, boosting when flying with [[elytra]], and loading into a [[crossbow]] as ammunition.== Obtaining ==Fireworks can be obtained by crafting. {{IN|java}}, a firework with no explosion effect is available on the [[Creative]] inventory and can be crafted as shown below. {{IN|bedrock}}, fireworks with the different base colors or no explosion are available in the Creative inventory.=== Crafting ==={{Crafting|head=1|showname=0|showdescription=1|Paper|;; Gunpowder|; Gunpowder; Gunpowder|Gunpowder|Output=Firework Rocket,3|description=When crafted this way (without a firework star), the rocket does not have explosion effects. The value of gunpowder affects the [[Firework Rocket#Duration and direction|flight duration]].|type=Miscellaneous}}{{Crafting|Any Firework Star|Paper|;; Gunpowder|; Gunpowder; Gunpowder|Gunpowder|Output= Firework Rocket,3|description=Adding more gunpowder increases the duration of the rocket. Up to three gunpowder can be used. Up to five firework stars can also be used with three gunpowder. Up to seven firework stars can be used by using firework stars instead of additional gunpowder. All firework stars explode almost simultaneously when the rocket detonates.|type=Miscellaneous|foot=1}}== Usage ===== Launching fireworks ===To launch a firework rocket, {{control|use}} its item on a block. They can also be launched from [[dispenser]]s and [[crossbow]]s. If shot from a [[Multishot]] [[crossbow]], then 3 rockets fire with the same effects.=== Elytra ==={{control|Using}} a firework rocket while flying with [[elytra]] propels the player in the direction they are facing. The duration of the speed boost depends on the flight duration of the rocket. If the rocket is equipped with a firework star of any kind, the player takes damage when it explodes.=== Crossbow ===A firework rocket can be used as ammunition for [[crossbow]]s, although it deals [[damage]] only if it has an [[explosion]] effect. A higher flight duration gives the firework rocket a longer range, and more damage is added per firework star. The [[Piercing]] enchantment has no effect on firework rockets shot from a crossbow.{{IN|java}}, if a firework rocket shot from a [[crossbow]] hits an [[entity]], the rocket instantly [[explosion|explodes]], no matter the flight duration. Attempting to do this {{in|bedrock}}, however, results in the firework passing through the entity,<ref>[[bugtracker:MCPE-52675|MCPE-52675]]</ref> so the [[player]] must plan where to aim.== Behavior =={{see also|Firework Star#Effects}}Once launched, fireworks fly out vertically, with random horizontal offset up to 5 blocks. {{IN|bedrock|java}}, fireworks can fly in any of the 6 directions a dispenser can point. After [[#Duration and direction|some time]], the firework explodes into a colorful explosion based on the effects of the [[firework star]]s added upon crafting, or no explosion if no firework star was used. If multiple firework stars were added to the rocket upon crafting, they all explode simultaneously.The explosion of a firework rocket deals damage to mobs and players that are within 5 blocks and not obstructed by [[solid block]]s. The maximum damage of a rocket with one firework star is {{hp|7}}, with the damage decreasing with distance. Each additional firework star on the rocket adds {{hp|2}} points of damage, for a maximum damage of {{hp|19}} with 7 stars. Using commands to add additional firework stars results in more damage. The damage dealt is unaffected by any other ingredients used. The explosion does not destroy end crystals nor damage the Ender dragon, but does destroy armor stands.There is a delay between the detonation and the player hearing the sound, emulating real fireworks, but this sound travels much more slowly than in the real world.<ref>{{Tweet|jeb|277075644804907009|However, no sound effects for fireworks yet... but everything's implemented, so they can be added without doing a new snapshot|December 7, 2012}}</ref><ref>{{Tweet|jeb|277075517226762242|Haha, @igblan , the speed of sound is 40 m/s, because the realistic speed of ~340 m/s didn't work well in Minecraft scale|December 7, 2012}}</ref> {{IN|java}}, the explosion of a firework can be seen 64 blocks away, regardless of its height. {{IN|bedrock}}, the explosion can be seen from your render distance.If the explosion exceeds the (unmodded) [[particle]] limit of 16,384, the oldest particles are removed before displaying new ones, resulting in severely diminished firework quality / duration. At most a firework should have 3 trail stars, more than that could waste diamonds, firework stars, and other fireworks. Particle counts per star are:{| class="wikitable" data-description="Particle counts per firework star"|-! Ball Type!! Plain!! Trail|-| Small || 98 || ~1300|-| Large || 387 || 4000+|-| Star || 122 || ~1600|-| Creeper || 266 || ~3500|-| Burst || 72 || ~930|}Twinkle effect adds 2 particles to the count.Like most other entities, they can be moved by [[water]] and [[explosion]]s, and teleported via [[portal]]s. They also cannot move through solid surfaced blocks, upon hitting one, they either move to a side or explode based on the duration. If a firework explodes under a block, its explosion is flattened.=== Duration and direction ===Fireworks travel different heights based on the amount of gunpowder added. The number is displayed as a tag on the item's tooltip with the description of "Flight Duration".The height it rises is between 8 and 20 blocks with 1 gunpowder, 18 to 34 blocks with 2 gunpowder, and 32 to 52 blocks with 3 gunpowder. (Note: Using command blocks, firework rockets with higher durations go higher and keep accelerating with virtually no terminal velocity. If the duration is long enough, the firework rocket could reach heights of over 1,000,000 blocks and speeds of over 10,000m/s in a matter of minutes. Such fireworks with significant X and Z motions speed up sideways exponentially and reach outside the world boundary in a matter of seconds.{{only|java}})When spawned, <!-- server-side --> fireworks have a vertical speed of .05 and a random small X and Z speed (random value near zero with a standard deviation of .001). Each firework also determines its lifetime in ticks by 10 × (number of gunpowder + 1) + random value from 0 to 5 + random value from 0 to 6, after which it explodes. Each tick, the firework accelerates horizontally by multiplying its X and Z velocities by 1.15, and vertically by adding a constant factor of .04.Fireworks can be made to travel different directions by being dispensed or launched under flowing water. The firework's direction combines with the flow of the water to go diagonally.Firework rockets without firework stars shot from a crossbow upon hitting terrain elements will traverse along until stopped by a ledge or into unobstructed terrains again continuing its original flight path. Ledges as tall as one pixel high (e.g. from [[Dirt Path|Dirt Paths]] to [[Grass Block|Grass Blocks]]) will also block the firework. They will still vanish if they hit entities early amidst their flight.==Village Raids==After successfully defending a village from a [[Raid]] the villagers may celebrate by setting off firework rockets.==Boosting elytra==Fireworks can be used to boost [[elytra]] when in flight. Normally, elytra can glide for a short distance, but with the use of fireworks, the player can fly a long distance, gain speed, and take off from the ground. Simply using the firework rocket with elytra spread boosts the player in the direction the player faces. It can leave behind a trail sometimes.Although fireworks with firework stars can be used, the player takes blast damage if they use it in flight. There are four types of rockets, with three types of flight duration. Higher flight durations mean longer boosts. {{IN|bedrock}}, the fireworks obtained from the Creative menu have a flight duration of 1, while {{in|java}}, the fireworks obtained in the Creative menu have a flight duration of 1, 2, or 3.==Sounds =={{Edition|Java}}:<br>Firework rockets use the Friendly Creatures sound category for entity-dependent sound events.{{Sound table|sound=Firework blast.ogg|subtitle=Firework blasts|source=ambient|description=When a non-large firework rocket explodes within a 16-block radius of the player|id=entity.firework_rocket.blast|translationkey=subtitles.entity.firework_rocket.blast|volume=20.0|pitch=0.95-1.05|distance=16}}{{Sound table|sound=Firework blast far.ogg|subtitle=Firework blasts|source=ambient|description=When a non-large firework rocket explodes greater than 16 blocks away from the player|id=entity.firework_rocket.blast_far|translationkey=subtitles.entity.firework_rocket.blast|volume=20.0|pitch=0.95-1.05|distance=16}}{{Sound table|sound=Firework large blast.ogg|subtitle=Firework blasts|source=ambient|description=When a large firework rocket explodes within a 16-block radius of the player|id=entity.firework_rocket.large_blast|translationkey=subtitles.entity.firework_rocket.blast|volume=20.0|pitch=0.95-1.05|distance=16}}{{Sound table|sound=Firework large blast far.ogg|subtitle=Firework blasts|source=ambient|description=When a large firework rocket explodes greater than 16 blocks away from the player|id=entity.firework_rocket.large_blast_far|translationkey=subtitles.entity.firework_rocket.blast|volume=20.0|pitch=0.95-1.05|distance=16}}{{Sound table|sound=Firework twinkle.ogg|subtitle=Firework twinkles|source=ambient|description=When a twinkle firework rocket explodes within a 16-block radius of the player|id=entity.firework_rocket.twinkle|translationkey=subtitles.entity.firework_rocket.twinkle|volume=20.0|pitch=0.9-1.05|distance=16}}{{Sound table|sound=Firework twinkle far.ogg|subtitle=Firework twinkles|source=ambient|description=When a twinkle firework rocket explodes greater than 16 blocks away from the player|id=entity.firework_rocket.twinkle_far|translationkey=subtitles.entity.firework_rocket.twinkle|volume=20.0|pitch=0.9-1.05|distance=16}}{{Sound table|sound=Firework launch.ogg|subtitle=Firework launches|source=ambient|description=When a dispenser shoots, a player uses, or a crossbow fires a firework rocket|id=entity.firework_rocket.launch|translationkey=subtitles.entity.firework_rocket.launch|volume=3.0|pitch=1.0|distance=16}}{{Sound table|sound=Bow shoot.ogg|subtitle=Firework launches|source=neutral|description=When a dispenser fires a firework rocket|id=entity.firework_rocket.shoot|translationkey=subtitles.entity.firework_rocket.launch|volume=1.0|pitch=1.2|distance=16|foot=1}}{{Edition|Bedrock}}:{{Sound table|type=bedrock|sound=Firework blast.ogg|source=ambient|description=When a non-large firework rocket explodes|id=firework.blast|volume=1.0|pitch=1.0}}{{Sound table|sound=Firework large blast.ogg|source=ambient|description=When a large firework rocket explodes|id=firework.large_blast|volume=1.0|pitch=1.0}}{{Sound table|sound=Firework twinkle.ogg|source=ambient|description=When a twinkle firework rocket explodes|id=firework.twinkle|volume=1.0|pitch=1.0}}{{Sound table|sound=Firework launch.ogg|source=ambient|description=When a dispenser shoots, a player uses, or a crossbow fires a firework rocket|id=firework.launch|volume=1.0|pitch=1.0}}{{Sound table|sound=Bow shoot.ogg|source=ambient|description=''Unused sound event''|id=firework.shoot|volume=1.0|pitch=1.0|foot=1}}==Data values=====ID==={{edition|java}}:{{ID table|edition=java|firstcolumnname=Item|showforms=y|generatetranslationkeys=y|displayname=Firework Rocket|spritetype=item|nameid=firework_rocket|form=item|foot=1}}{{ID table|edition=java|firstcolumnname=Entity|generatetranslationkeys=y|displayname=Firework Rocket|spritetype=entity|nameid=firework_rocket|foot=1}}{{edition|bedrock}}:{{ID table|edition=bedrock|firstcolumnname=Item|showaliasids=y|shownumericids=y|showforms=y|notshowbeitemforms=y|generatetranslationkeys=y|displayname=Firework Rocket|spritetype=item|nameid=firework_rocket|aliasid=fireworks|id=519|form=item|translationkey=item.fireworks.name|foot=1}} {{ID table|edition=bedrock|firstcolumnname=Entity|shownumericids=y|generatetranslationkeys=y|displayname=Firework Rocket|spritetype=entity|nameid=fireworks_rocket|id=72|foot=1}}===Item data==={{el|java}}:{{main|Player.dat format}}<div class="treeview">* {{nbt|compound|tag}}: The item's '''tag''' tag.{{:Player.dat_format/Firework Rockets}}</div>{{el|bedrock}}:: See [[Bedrock Edition level format/Item format]].===Entity data==={{el|java}}:{{main|Entity format}}{{/ED}}{{el|bedrock}}::See [[Bedrock Edition level format/Entity format]].==Advancements =={{load advancements|Bullseye;Ol' Betsy}}==History=={{History|java}}{{History||November 24, 2012|link=none|[[Jeb]] stated that there may be fireworks in ''Minecraft'' at the ''Future Updates with the Minecraft PC Team'' panel at [[MINECON 2012]].}}{{History||December 5, 2012|link={{tweet|jeb|276367442362630144}}|Jeb released the first image of fireworks, along with the information that colors, fade, height, effects and shapes are [[crafting|craftable]].}}{{History||December 7, 2012|link=https://twitter.com/jeb_/status/277075087503536128|Jeb mentions that fireworks should probably scare [[wolves]] and potentially have other effects on mobs.}}{{History||1.4.6|snap=12w49a|[[File:Firework Rocket JE1 BE1.png|32px]] Added firework rockets.|Firework rockets cannot be obtained within the [[Creative inventory]].}}{{History|||snap=12w50a|Added [[sound]] and more effects to firework rockets.}}{{History||1.10|snap=16w20a|The firework rocket [[crafting]] recipe now produces 3 rockets, rather than 1.}}{{History||1.11|snap=16w32a|The entity ID has been changed from <code>FireworksRocketEntity</code> to <code>fireworks_rocket</code>.}}{{History||1.11.1|snap=16w50a|Firework rockets can now cause [[damage]] to [[entity|entities]] that are within their [[explosion]] radius.|Firework rockets can now boost [[player]]s while flying with [[elytra]].}}{{History||1.13|snap=17w47a|The ID has been changed from <code>fireworks</code> to <code>firework_rocket</code>.|The fade effects on fireworks can now be added by combining the firework star with [[dye]]s.|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 401.}}{{History||1.13|snap=?|Firework rockets are now available in the [[Creative]] [[Inventory]]. However, it does not show a flight duration}}{{History|||snap=pre5|The [[entity]] ID of firework rockets has been changed to <code>firework_rocket</code>.}}{{History||1.14|snap=18w43a|Fireworks can now be shot from [[crossbow]]s.|[[File:Firework Rocket JE2 BE2.png|32px]] The texture of firework rockets has been changed.}}{{History||1.15|snap=19w36a|Firework rockets dispensed from a [[dispenser]] now travel in the direction they were fired.}}{{History||1.17|snap=20w45a|Simple firework rockets with one gunpowder can now be crafted using the [[recipe book]].}}{{History||1.19.3|snap=22w45a|All three flight durations of firework rockets are now available in the Creative inventory.<ref>{{bug|MC-194390||A firework rocket from the creative inventory doesn't show a flight duration|Fixed}}</ref>}}{{History|bedrock}}{{History||1.2.0|snap=beta 1.2.0.2|[[File:Firework Rocket JE1 BE1.png|32px]] Added firework rockets. |Firework rockets are available in the Creative inventory in 17 variants, sixteen colors in small ball duration 1, plus one additional preset with only duration 1.{{verify|type=update|Is this the right snapshot?}}{{info needed}}}}{{History||1.8.0|snap=beta 1.8.0.10|Firework rockets can now be held in the off-hand and be shot from [[crossbow]]s.}}{{History||1.10.0|snap=beta 1.10.0.3|[[File:Firework Rocket JE2 BE2.png|32px]] The texture of firework rockets has been changed.}}{{History||1.16.100|snap=beta 1.16.100.56|The ID of firework rockets has been changed from <code>fireworks</code> to <code>firework_rocket</code>.}}{{History|console}}{{History||xbox=TU19|xbone=CU7|ps=1.12|wiiu=Patch 1|switch=1.0.1|[[File:Firework Rocket JE1 BE1.png|32px]] Added firework rockets.|Firework rockets are available in five types in the Creative inventory. The presets are as follows:* Duration 1, small ball, light blue, twinkle* Duration 2, creeper shaped, green* Duration 2, burst, red, fade to orange* Duration 3, burst, magenta, fade to blue, twinkle* Duration 2, star shaped, yellow, fade to orange, trail}}{{History||xbox=TU46|xbone=CU36|ps=1.38|wiiu=Patch 15|The crafting interface has been updated to allow crafting [[firework star]]s and fireworks.}}{{History||xbox=TU53|xbone=CU43|ps=1.49|wiiu=Patch 23|switch=1.0.3|Firework rockets can now boost [[player]]s while flying with [[elytra]].}}{{History||xbox=TU53|xbone=CU43|ps=1.49|wiiu=Patch 23|switch=1.0.3|Firework rockets now [[damage]] players if there is a [[firework star]] applicated to the firework rocket.}}{{History||xbox=TU56|xbone=CU47|ps=1.55|wiiu=Patch 26|switch=1.0.6|Firework rockets now produce 3 rockets upon [[crafting]] them instead of 1.}}{{History||xbox=TU60|xbone=CU51|ps=1.64|wiiu=Patch 30|switch=1.0.11|Added new firework rocket models.}}{{History|PS4}}{{History||1.90|[[File:Firework Rocket JE2 BE2.png|32px]] The texture of firework rockets has been changed.}}{{History|foot}}==Issues=={{issue list}}== Trivia==* Launching a rocket by hand on a wooden [[pressure plate]] activates it. The same doesn't hold for stone pressure plates, or for a [[dispenser]] placing a rocket onto a wooden pressure plate.* New Year's Eve is what inspired [[Jeb]] to add fireworks.<ref>{{tweet|jeb|277080498814189568|@SPvs_TheWorld New Year's Eve|December 7, 2012}}</ref>*If the player shoots a firework into a [[Nether portal]], it explodes in [[the Nether]].*There are around 2×10{{^|136}} distinct fireworks.==Gallery==<gallery>File:Firework jeb twitter.jpg|[[Jeb]]'s first image of Fireworks, also showing that they can be shot from dispensers.File:1.4.6 release image.png|1.4.6 Release image.File:Flatexplosion.png|An example of a flattened firework explosion.File:Creeper firework.png|Creeper face shaped firework.</gallery>==References=={{Reflist}}{{Items}}{{Entities}}[[cs:Rachejtle]][[de:Feuerwerksrakete]][[es:Cohete de fuegos artificiales]][[fr:Feu d'artifice]][[hu:Tűzijáték rakéta]][[ja:ロケット花火]][[ko:폭죽 로켓]][[nl:Vuurpijl]][[pl:Fajerwerk]][[pt:Fogo de artifício]][[ru:Пиротехническая ракета]][[th:ดอกไม้ไฟ]][[zh:烟花火箭]][[Category:Renewable resources]]</li><li>[[Hopper|Hopper]]<br/>{{About|the block|the crash utility|Hopper (crash utility)}}{{Block|image=<gallery>Hopper (D).png|JavaHopper (D) BE.png|Bedrock</gallery>|extratext = View [[#Gallery|all renders]]|transparent=Yes|light=No|tool=wooden pickaxe|renewable=Yes|stackable=Yes (64)|flammable=No|lavasusceptible=No}}A '''hopper''' is a low-capacity storage [[block]] that can be used to collect [[item (entity)|item entities]] directly above it, as well as to transfer [[item]]s into and out of other containers. A hopper can be locked with [[Redstone Dust|redstone power]] to stop it from moving items into or out of itself.== Obtaining ===== Breaking ===To obtain a hopper, {{control|mine}} it with a [[pickaxe]]. Using any other item to mine a hopper drops only its contents.{{breaking row|horizontal=1|Hopper|Pickaxe|Wood|foot=1}}===Crafting===A hopper can be crafted from 5 iron ingots and a chest.{{Crafting|A1= Iron Ingot|C1= Iron Ingot|A2= Iron Ingot|B2= Chest|C2= Iron Ingot|B3= Iron Ingot|Output= Hopper|type= Redstone}}==Usage=={{see also|Tutorials/Hopper}}[[File:Hopper aligment.png|Hoppers can face down or sideways.|thumb]]A hopper can be used as a container, as a crafting ingredient, and as a redstone component.A hopper has an "output" tube at its bottom that can face down or sideways and provides a visual indication of which block the hopper is set up to drop its items into, if that block has an inventory. To place a hopper, use the {{control|Place Block}} control while aiming at the surface to which its output should face (Hoppers ''do not'' orient themselves automatically). To place a hopper directly on the face of an already interactable block, the player can {{control|sneak}} while placing the hopper. Attempting to place a hopper aimed on the bottom face of a block instead faces downward. With some blocks, such as the [[furnace]] and [[brewing stand]], the hopper has multiple uses. A hopper does not change direction after placement, and it is not attached to the container it faces; the container can be removed or replaced, and the hopper remains unchanged.Hoppers cannot be moved by [[piston]]s.{{only|java}} Despite not being a solid block, attached blocks such as [[rail]]s, [[lever]]s, [[tripwire]] and [[redstone]] dust can be placed on top of hoppers, but not on their sides.===Container===[[File:Hopper GUI.png|thumb|176px|Hopper GUI showing the hopper's five slots of inventory at the top and the player's inventory below.]]A hopper can be used as a container and has 5 slots of inventory space.To open the hopper GUI, use the {{control|use item|text=Use Item/Place Block}} [[control]]. To move items between the hopper inventory and the player inventory or hotbar while the hopper GUI is open, drag or shift-click the items. To exit the hopper GUI, use the {{key|Esc}} key, B button or circle button, depending on the device.By default, the GUI of a hopper is labeled "Item Hopper". A hopper's GUI label can be changed by naming the hopper in an [[anvil]] before placing it, or, {{in|java}}, by using the [[Commands#data|data]] command (for example, to label a hopper at (0,64,0) "Steve's Hopper", use <code>/data merge block 0 64 0 {CustomName:'"Steve's Hopper"'}</code>).{{IN|java}}, a hopper's GUI can be "locked" (or subsequently unlocked) by setting the hopper's <code>Lock</code> tag with the [[Commands#data|data]] command. If a hopper's <code>Lock</code> tag is not blank, the hopper cannot be accessed except by players holding an item with the same name as the <code>Lock</code> tag's text. For example, to lock a hopper at (0,64,0) so that only players holding an item named "Steve's Key" can access the hopper, use <code>/data merge block 0 64 0 {Lock:"Steve's Key"}</code>.===Crafting ingredient===A hopper can be used to craft a [[minecart with hopper]].{{crafting usage}}===Redstone component==={{see also|Redstone circuit|Redstone components#Hopper}}[[File:Hopper logic flowchart.png|thumb|Flowchart of hopper logic]]While a hopper is ''not'' powered by redstone signals, it operates with three functions:*'''Collect''' [[Item (entity)|item entities]] (free-floating items in the world) into its inventory from the space above it*'''Pull''' a single item into its inventory from a container above it*'''Push''' a single item from its own inventory into a container it facesA hopper first attempts to push any items inside it. Afterward, it checks if the block above it is a type of container. If so, it attempts to pull from it. Otherwise, the hopper attempts to collect item entities. Notably, hoppers can push to and pull from other hoppers, forming '''hopper pipes''' or '''hopper chains''', which allow transporting items across several blocks and are further discussed below.====Redstone signals====When a hopper receives a redstone signal (and is considered to be "activated"), all three functions stop. To avoid confusion over the terms "activated" and "deactivated", powered hoppers are often described as being '''locked''' and unpowered hoppers described as being '''unlocked'''. Hoppers can be powered by [[Redstone_mechanics#Power|soft powered]] blocks, meaning a [[redstone dust]] trail pointing into a block touching the hopper locks it just as effectively as a [[redstone block]] or any other [[Redstone components#Power components|power component]] touching the hopper. When the hopper is unlocked during a redstone tick, it does not push or pull/collect during the same tick, but has a delay of 1 redstone tick instead.While a locked hopper does not push or pull/collect items, it may still receive items from [[dispenser]]s, [[dropper]]s and other hoppers, and may have its items pulled out by another hopper beneath it. Hence, the item flow in a horizontal hopper pipe may be stopped by locking just one of the hoppers, but stopping a vertical hopper pipe requires locking two adjacent hoppers at the same time, such that both the pushing of the top one and the pulling of the bottom one are stopped. A hopper does not output any redstone signals by itself, but its fullness can be read using a [[Redstone Comparator|redstone comparator]], which needs to be placed next to it and facing away from it. An empty hopper outputs a signal strength of 0 and a completely full hopper outputs a signal strength of 15. Notably, a single stackable item (16 or 64) outputs a signal strength of 1 and a single non-stackable item outputs a signal strength of 3. {{IN|Java}}, if the hopper being read is part of a horizontal hopper pipe, the comparator can individually read each item passing through the chain, because items are pushed through the hoppers one by one at a speed that is manageable by the comparator. If there is an uninterrupted stream of items, the comparator does not switch off in between items. On the other hand, in a vertical hopper pipe, some of the hoppers may never produce a reading above 0, even with a continuous stream of items, because pushes and pulls both occur in the same game tick: The hoppers' items get pulled out a single game tick after they're pushed in and this isn't measurable by a comparator, because comparators need measurements lasting at least 1.5 redstone ticks to produce a reading. ====Collecting items====A hopper collects items dropped on top of it if the space above the hopper not occupied by a storage block. Items are gathered from the entire 1 block space above the hopper, meaning that items sitting on partial blocks such as [[soul sand]] directly above a hopper can be collected.<ref>https://bugs.mojang.com/browse/MCPE-55824</ref> It is also possible for a hopper to collect items from inside a full, solid block, a situation that might come from items rising up through solid blocks or being [[commands/summon|summoned]]. Item entities are not collected when they are outside of the collection area however; for example, items on top of a stone block directly above a hopper are not collected. Collected items are placed in the leftmost empty slot of a hopper's inventory.{{IN|java}}, if there is no container above the hopper, then the hopper collects dropped items in the order in which they landed on the hopper. This order is remembered even while a hopper is locked. For instance, if a hopper is locked under a carpet while a fully equipped [[armor stand]] is broken above it, then it always collects items in this order when it is unlocked: [[armor stand]], [[boots]], [[leggings]], [[chestplates]], [[helmets]]. This is due to the order in which these items land.{{Verify|Wouldn't this be due to the order in which the game creates the item entities that drop drop from the armor stand?}} {{IN|Bedrock}}, hoppers do not remember the order in which items land on the hopper. Instead, hoppers with multiple dropped items above them collect the items in the order in which they entered the chunk in which the hopper is located. Items that drop from a broken armor stand are collected in a random order.<ref>https://bugs.mojang.com/browse/MCPE-120586</ref>Hoppers usually check for dropped items every [[game tick]] and they can collect items even before they are picked up by a [[player]]{{Verify|Does this happen always, or sometimes, and in Java only or also in Bedrock?}} or destroyed by [[lava]]. However, {{In|Bedrock}} hoppers have a "collection cooldown" time. After collecting an item (or stack of items), a hopper waits {{tooltip|4 redstone ticks|8 game ticks}} (0.4 seconds, barring lag) before attempting to collect again.Hoppers collect groups of items all at once rather than collecting them as single items one at a time. As a result, hoppers can collect item entities much faster than they can pull items from a container. Pulling from a moving [[minecart with chest]] or [[minecart with hopper]] is even slower, since the minecart is not always above the hopper.====Pushing and pulling items====A hopper with a storage container above it (such as a [[furnace]], [[chest]], [[dropper]], [[composter]], or another hopper) attempts to pull from the container instead of checking for floating items above it, and hence can not collect items. A hopper always tries to push or pull items using the leftmost available slot. When a hopper is removing items from a chest, the items disappear from left to right. Similarly, when filling up a chest, the chest fills up from left to right. Hoppers prioritize pulling from the first slot of a container over pulling into the first hopper slot. If a hopper has stone in its first slot and nothing in its second while the container it is pulling from has chicken in its first slot but stone in the second, the hopper pulls the chicken from the first slot of the container into its empty second slot. However, if the hopper is unable to pull the chicken, such as if all slots are filled with stone, the hopper pulls the stone from the second slot of the container instead. Similarly, hoppers prioritize pushing from their first slot over pushing into the first slot of a container. If a hopper has stone in its first slot and chicken in its second while the container it is pushing to has chicken it its first slot but stone in the second, the hopper pushes stone from its first slot into the second slot of the container.In [[Java Edition]] the checks done by a hopper while pulling generally require less processing than the checks done by a hopper attempting collection. Therefore, a chain of hoppers topped with storage containers rather than air/solid blocks has better performance (measured as milliseconds of processing per tick) and lower potential for processing lag. <ref name=":0">https://www.youtube.com/watch?v=LC3ZOOI1Rf0</ref> The performance improvement achieved is correlated with the number of storage slots the container has. Placing composters (with no storage slots but still with custom output logic) on top of hoppers provide the greatest efficiency, while double chests actually degrade performance, even when sharing each double chest across two hoppers.<ref name=":0" /> In [[Bedrock Edition]] a chain of hoppers with air or non-container blocks on top has better performance than a chain of hoppers topped by container blocks.<ref>https://cdn.discordapp.com/attachments/715523208530362389/890030941282631741/Redstone_MSPT_measure.xlsx</ref> This may be because, even though hoppers with containers on top do not check for items, they do check for hopper-minecarts and chest-minecarts to pull from, and that involves scanning the chunk entity list.<ref>{{bug|MCPE-109449}}</ref>{{Schematic|caption='''Push then Pull'''Chest A is full of items while the hopper and Chest B are empty.|ch-$+A||-|ho-$e|ch-$+B}}Item pushes and pulls are processed in the same game tick, but pushes are processed before pulls. In the schematic, the empty hopper first pulls an item from chest A as it cannot push anything into chest B. After the cooldown, the hopper first pushes its item into chest B before pulling another item from chest A, both pushing and pulling in the same tick, and the process repeats. The hopper stops pulling when A is empty, and stops pushing when B becomes full.Hoppers also have a "transfer cooldown" time. After pulling and/or pushing items, a hopper waits {{tooltip|4 redstone ticks|8 game ticks}} (0.4 seconds, barring lag) before pulling or pushing again (a transfer rate of 2.5 items per second, barring lag). A hopper that has an item pushed into it from another hopper also starts a 4 tick cooldown period, regardless of whether it pushed or pulled items itself. Item entities can be collected at any time without affecting the transfer cooldown time. The transfer cooldown and the Bedrock Edition collection cooldown are independent of each other.====Container interactions====Some [[container]]s interact with hoppers in specific ways::;{{BlockLink|Composter}}::Hoppers above composters can push compostable items into the composter's top face with a chance of increasing the level of the composter as if the player used the item on the composter. Items that are not compostable cannot be pushed into the composter. Hoppers below the composter can pull [[bone meal]] when the composter is in stage 8, emptying the composter and resetting it to stage 0. Hoppers to the side of a composter do not interact with it.:;{{BlockLink|Brewing Stand}}::A working hopper on the top face of a brewing stand deposits only into the ingredient slot and it can push only valid [[brewing]] ingredients. A hopper on side face of a brewing stand can deposit only [[blaze powder]] or filled bottles into the three brew slots. A hopper underneath a brewing stand always extracts from the three brew slots, whether brewing is finished or not—The hopper must be locked to allow potions to finish brewing.:;{{BlockLink|Chest}}:;{{BlockLink|Trapped Chest}}::Large chests and large trapped chests are treated as a single container: A hopper depositing into a large chest fills up the entire chest and a hopper underneath a large chest empties the entire chest. Trapped chests being accessed by a player lock any adjacent hoppers, per the standard behavior of a hopper next to an active power source.:;{{BlockLink|Furnace}}:;{{BlockLink|Blast Furnace}}:;{{BlockLink|Smoker}}::A working hopper pointing into top of a furnace deposits only into the ingredient slot. It can push any item, including items that can't be smelted by the furnace. A hopper pointing into the side of a furnace deposits into the fuel slot, and only items that are usable as fuel. A hopper below a furnace pulls everything from the output slot and empty [[bucket]]s from the fuel slot left over from using [[lava bucket]]s as fuel. When a hopper removes items from a furnace, the experience points are 'stored' in the furnace until a player removes at least one smelted item, or the furnace block is broken.:;{{BlockSprite|Hopper}} Hopper::A sequence of three or more hoppers, each pushing items into the next, is called a '''hopper pipe'''. Working horizontal hopper pipes simply push items into each other at the expected rate of 2.5 items per second, but vertical hopper pipes are more complicated, as the hoppers are trying both to pull and to push. When a vertical pipe pulls from a single container, it simply transfers items at 2.5 items per second because the transfer rate is limited by the first hopper pulling items from the container. If a ''stack of items'' is in a vertical pipe, the items can be transferred twice as fast, because the hopper with the item stack is pushing items down while the hopper below it is also pulling items down.:;{{EntityLink|Minecart with Chest}}:;{{EntityLink|Minecart with Hopper}}::Unlocked hoppers fill chest minecarts and hopper minecarts if any part of the entity's hitbox is within the hopper's target block-space. Hopper minecarts try to pull items from the hopper at high speed. Hoppers can pull items from minecarts above them so rails can be placed directly on the top faces of a hoppers. If a [[detector rail]] is in the right position, it could lock the hopper per standard redstone-hopper behavior.:;{{BlockLink|Jukebox}}::Hoppers can insert [[music disc]]s into jukeboxes, and extract the music discs after they finish playing.:;{{BlockLink|Shulker Box}}::Hoppers cannot put shulker boxes into other shulker boxes. This allows for the creation of certain [[Tutorials/Hopper#Potions and shulker boxes|item filters]].::Otherwise, hoppers interact with shulker boxes normally.:;{{BlockLink|Lectern}}::Hoppers cannot remove or place books on lecterns. The redstone pulse emitted from a lectern when a page is turned can temporarily lock hoppers.:;{{BlockLink|Ender Chest}}::Hoppers cannot interact with ender chests in any way.:;{{BlockLink|Barrel}}:;{{BlockLink|Dispenser}}:;{{BlockLink|Dropper}}:;{{EntityLink|Boat with Chest}}::Hoppers interact normally with barrels, dispensers, droppers, and boats with chests.:;{{BlockLink|Chiseled Bookshelf}}::Hoppers and minecart with hoppers can insert and remove books from the bookshelf. As with any other container, items are taken from the first slot that has an item that can fit in the hopper and are inserted into the first empty slot.==Sounds=====Generic==={{Sound table/Block/Metal}}===Unique==={{Edition|Java}}:{{Sound table|sound=Door close.ogg|sound2=Door open.ogg|subtitle=Chest locked<ref group=sound name=lock>{{Bug|MC-98316||Wrong subtitles caused by missing distinction}}</ref>|source=block|description=When a player attempts to open a hopper locked using the {{nbt|string|Lock}} tag|id=block.chest.locked|idnote=<ref group=sound name=lock/>|translationkey=subtitles.block.chest.locked|translationkeynote=<ref group=sound name=lock/>|volume=1.0|pitch=1.0|distance=16|foot=1}}{{Edition|Bedrock}}: ''None''==Data values=====ID==={{edition|java}}:{{ID table|edition=java|showforms=y|generatetranslationkeys=y|displayname=Hopper|spritetype=block|nameid=hopper|foot=1}}{{ID table|displayname=Block entity|spritename=hopper|spritetype=block|nameid=hopper|foot=1}}{{edition|bedrock}}: {{ID table|edition=bedrock|firstcolumnname=Hopper|shownumericids=y|showforms=y|generatetranslationkeys=y|displayname=Block|spritename=hopper|spritetype=block|nameid=hopper|id=154|form=block|itemform=item.hopper}}{{ID table|displayname=Item|spritename=hopper|spritetype=item|nameid=hopper|id=527|form=item|translationkey=tile.hopper.name|foot=1}}{{ID table|notnamespaced=y|displayname=Block entity|spritename=hopper|spritetype=block|nameid=Hopper|foot=1}}===Block states==={{see also|Block states}}{{/BS}}===Block data===A hopper has a block entity associated with it that holds additional data about the block.{{el|java}}:{{see also|Block entity format}}{{/BE}}{{el|bedrock}}::See [[Bedrock Edition level format/Block entity format]].==Achievements=={{load achievements|Freight Station;Smelt Everything}}==Video==<div style="text-align:center">{{yt|XO0IKUsGiG8}}</div>==History=={{History|java}}{{History||1.5|snap=13w01a|[[File:Hopper (D) JE1.png|32px]] [[File:Hopper (N) JE1.png|32px]] [[File:Hopper (E) JE1.png|32px]] [[File:Hopper (S) JE1.png|32px]] [[File:Hopper (W) JE1.png|32px]] [[File:Hopper (U) JE1.png|32px]] Added hoppers.|Hoppers with the [[damage]] value of 1, which are obtainable only through world editing, visually point in no direction. They functionally push items upward, however the behavior is inconsistent.|[[File:Hopper (item) JE1.png|32px]] There is currently a temporary "work in progress" sprite for hoppers in the [[inventory]].|Hoppers can be [[crafting|crafted]] from a [[chest]] and [[stone]] blocks with the following recipe:{{{!}} class{{=}}"collapsible collapsed"! Recipe{{!}}-{{!}}{{Crafting Table |A1= Stone |C1= Stone |A2= Stone |B2= Chest |C2= Stone |B3= Stone |Output= Hopper}}{{!}}}}}{{History|||snap=13w01b|[[Rail]]s can now be placed on top of hoppers. |Hoppers no longer load [[item]]s into [[minecart]]s without [[chest]]s.}}{{History|||snap=13w02a|[[File:Hopper (item) JE2 BE1.png|32px]] The [[inventory]] sprite of hoppers has been changed.|[[File:Hopper (item) 13w02a.png|32px]] However, the [[item]] of hoppers appears bugged if [[drops|dropped]] or placed in an [[item frame]].<ref>{{bug|MC-6737}}</ref> This may be due to the game attempting to pull the item sprite from the hopper's equivalent spot in <samp>[[stitched_terrain.png]]</samp> (compare files: [[:File:13w02a stitched terrain.png|terrain]], [[:File:13w02a stitched items.png|items]]), a region which contains parts of the oak planks, end stone and iron bars textures.|Applying a [[redstone]] signal to a hopper now deactivates the hopper until the signal is removed.|Hoppers can no longer be used as [[fuel]] in a [[furnace]].|Hoppers are now [[crafting|crafted]] using 5 [[iron ingot]]s rather than 5 [[stone]] blocks.{{{!}} class{{=}}"collapsible collapsed"! Recipe{{!}}-{{!}}{{Crafting|A1= Iron Ingot|C1= Iron Ingot|A2= Iron Ingot|B2= Chest|C2= Iron Ingot|B3= Iron Ingot|Output= Hopper}}{{!}}}|Hoppers now pull only from the output slot of [[furnace]]s.|Hoppers now output 1 signal strengh per 1/3 of a stack (21 [[item]]s) when interacting with a [[redstone comparator]].|[[File:Hopper (D) JE2.png|32px]] [[File:Hopper (N) JE2.png|32px]] [[File:Hopper (E) JE2.png|32px]] [[File:Hopper (S) JE2.png|32px]] [[File:Hopper (W) JE2.png|32px]] [[File:Hopper (U) JE2.png|32px]] The texture of hoppers has been given a unique texture. Hoppers no longer use the [[cauldron]] texture. Note that the top texture does not rotate with facing direction.|The preferred tool is now a pickaxe, rather than the axe.}}{{History|||snap=13w02b|Hoppers now treat large [[chest]]s properly, no longer needing two hoppers connected to them to fill up the entire [[inventory]].|Hoppers no longer take [[item]]s from containers when powered via a [[redstone]] current.|Hoppers now display correctly as a [[drops|dropped]] or [[item frame|frame]] [[item]].}}{{History|||snap=13w03a|Hoppers are now used to [[crafting|craft]] a [[minecart with hopper]].|Hoppers can now empty a [[minecart with hopper]].}}{{History|||snap=13w04a|The transfer rate of hoppers has been changed from 7 to 8 [[game tick]]s per [[item]] (2.5 items per second).}}{{History||1.5.1|snap=pre|Hoppers now take empty [[bucket]]s out of furnace fuel slots.}}{{History||1.7.2|snap=release|[[File:Hopper (D) JE3.png|32px]] [[File:Hopper (N) JE3.png|32px]] [[File:Hopper (E) JE3.png|32px]] [[File:Hopper (S) JE3.png|32px]] [[File:Hopper (W) JE3.png|32px]] [[File:Hopper (U) JE3.png|32px]] The UV of all blocks is broken on certain sides as a result of {{bug|MC-37106}} (few cases are listed on the wiki so far - this is a future project). This includes hoppers.}}{{History||1.7.4|snap=13w47a|[[File:Hopper (D) JE4.png|32px]] [[File:Hopper (N) JE4.png|32px]] [[File:Hopper (E) JE4.png|32px]] [[File:Hopper (S) JE4.png|32px]] [[File:Hopper (W) JE4.png|32px]] [[File:Hopper (U) JE4.png|32px]] MC-37106 has been fixed, reverting hoppers to their pre-1.7.2 appearences.}}{{History|||snap=13w48a|This version fixed {{bug|MC-190}}, which hoppers were allegedly subject to since their introduction. However, a comparison of hopper UV in 13w02a and 14w08a failed to reveal any visible differences, even accounting for the example images on the ticket. More research is needed on this matter.}}{{History||1.8|snap=?|Hoppers no longer generate [[multiplayer]] lag when idle.}}{{History|||snap=14w10a|[[File:Hopper (D) JE5.png|32px]] [[File:Hopper (N) JE5.png|32px]] [[File:Hopper (E) JE5.png|32px]] [[File:Hopper (S) JE5.png|32px]] [[File:Hopper (W) JE5.png|32px]] [[File:Missing Model JE2.png|32px]] Hoppers now use block models rather than having a hardcoded shape. This brings multiple changes: the inside texture now rotates with the hopper rather than being constant, the inside planes of hoppers are now shaded/have ambient occlusion, and some minor UV changes have occurred, notably on the smallest cuboid. The directionless hopper also [[Missing model|no longer has a model]].}}{{History|||snap=14w26a|The directionless hopper has been removed.}}{{History|||snap=14w31a|Hoppers now no longer use wood [[sound]]s.<ref>{{bug|MC-5991}}</ref>}}{{History||1.9|snap=15w33c|A hopper now generates as a part of the [[end ship]] in the [[end city|end cities]].}}{{History|||snap=15w41a|End ships no longer contain a hopper.}}{{History|||snap=15w43a|[[Loot table]]s have been added; hoppers can now use loot tables.}}{{History|||snap=15w43c|[[File:Hopper (D) JE6.png|32px]] [[File:Hopper (N) JE6.png|32px]] [[File:Hopper (E) JE6.png|32px]] [[File:Hopper (S) JE6.png|32px]] [[File:Hopper (W) JE6.png|32px]] The UV on the hopper model has changed, resulting in minor differences, particularly to the smallest cuboid. This is likely due to the fix for {{bug|MC-73401}}.}}{{History|||snap=15w44a|[[File:Hopper (D) JE7.png|32px]] [[File:Hopper (N) JE7.png|32px]] [[File:Hopper (E) JE7.png|32px]] [[File:Hopper (S) JE7.png|32px]] [[File:Hopper (W) JE7.png|32px]] A mapping issue introduced in the previous snapshot for the sides of the large funnel region has been fixed. This may be due to the fix for {{bug|MC-50344}}.}}{{History||1.9.1|snap=pre1|A hopper can now push into and pull [[item]]s from a blocked [[chest]].}}{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], this [[block]]'s numeral ID was 154.}}{{History||1.14|snap=18w43a|[[File:Hopper (D) JE8.png|32px]] [[File:Hopper (N) JE8.png|32px]] [[File:Hopper (E) JE8.png|32px]] [[File:Hopper (S) JE8.png|32px]] [[File:Hopper (W) JE8.png|32px]]<br>[[File:Hopper (item) JE3 BE2.png|32px]] The textures of hoppers have been changed.}}{{History|||snap=19w03c|Hoppers now use correct cullface arguments, and some redundant faces have also been deleted.}}{{History||1.19|snap=22w13a|Hoppers no longer drop when breaking a [[minecart with hopper]].}}{{History||1.19.4|snap=23w07a|Hoppers can now interact with jukeboxes.}}{{History|pocket alpha}}{{History||v0.14.0|snap=build 1|[[File:Hopper (D) JE2.png|32px]]{{verify|Is this model correct?}}<br>[[File:Hopper (item) JE2 BE1.png|32px]] Added hoppers. Upward hoppers also exist.}}{{History||v0.15.0|snap=build 1|Hoppers can now be moved by [[piston]]s.}}{{History|bedrock}}{{History||1.10.0|snap=beta 1.10.0.3|[[File:Hopper (D) BE.png|32px]] [[File:Hopper (N) BE.png|32px]] [[File:Hopper (E) BE.png|32px]] [[File:Hopper (S) BE.png|32px]] [[File:Hopper (W) BE.png|32px]] [[File:Hopper (U) BE.png|32px]]<br>[[File:Hopper (item) JE3 BE2.png|32px]] The textures of hoppers have been changed.}}{{History||1.19.70|snap=beta 1.19.70.20|Hoppers can now collect items through all blocks that have a lower height than a full block.}}{{History|console}}{{History||xbox=TU19|xbone=CU7|ps=1.12|wiiu=Patch 1|switch=1.0.1|[[File:Hopper (D) JE2.png|32px]]{{verify|Is this model correct?}}<br>[[File:Hopper (item) JE2 BE1.png|32px]] Added hoppers.}}{{History||xbox=none|xbone=none|ps=1.90|wiiu=none|switch=none|[[File:Hopper (D) JE8.png|32px]]{{verify|Is this model correct?}}<br>[[File:Hopper (item) JE3 BE2.png|32px]] The textures of hoppers have been changed.}}{{History||ps=1.91|Hoppers can now fill [[composter]]s.}}{{History|new 3ds}}{{History||0.1.0|[[File:Hopper (D) JE2.png|32px]]{{verify|Is this model correct?}}<br>[[File:Hopper (item) JE2 BE1.png|32px]] Added hoppers.}}{{History|foot}}==Issues=={{Issue list}}==Trivia==* A [[wikipedia:Hopper (particulate collection container)|real-world hopper]] is a large, pyramidal or cone-shaped container used in industrial processes to hold particulate matter, like dust, gravel, nuts, seeds, etc., and can then dispense them from the bottom.* A hopper can transfer 9000 items per hour, or 150 items per minute.==Gallery===== Renders ===<gallery>Hopper (N).pngHopper (E).pngHopper (S).pngHopper (W).png</gallery><gallery>Hopper (N) BE.pngHopper (E) BE.pngHopper (S) BE.pngHopper (W) BE.png</gallery>=== Screenshots ===<gallery>File:Hopper screenshot 1.png|In snapshot 13w01a, the hopper item uses a 'WIP' sprite, though the item still read "Hopper".File:13w02a Banner.png|The 13w02a Banner includes a [[minecart with TNT]] and a hopper.</gallery>==References=={{Reflist}}{{Redstone}}{{Blocks|Utility}}{{Items}}[[Category:Mechanisms]][[Category:Redstone mechanics]][[Category:Mechanics]][[Category:Storage]][[Category:Utility blocks]][[Category:Manufactured blocks]][[Category:Block entities]][[cs:Násypka]][[de:Trichter]][[el:Hopper]][[es:Tolva]][[fr:Entonnoir]][[it:tramoggia]][[ja:ホッパー]][[ko:호퍼]][[nl:Trechter]][[pl:Lej]][[pt:Funil]][[ru:Загрузочная воронка]][[uk:Лійка]][[zh:漏斗]]</li></ul>
Cape (2024)
Top Articles
Latest Posts
Article information

Author: Moshe Kshlerin

Last Updated:

Views: 5787

Rating: 4.7 / 5 (57 voted)

Reviews: 88% of readers found this page helpful

Author information

Name: Moshe Kshlerin

Birthday: 1994-01-25

Address: Suite 609 315 Lupita Unions, Ronnieburgh, MI 62697

Phone: +2424755286529

Job: District Education Designer

Hobby: Yoga, Gunsmithing, Singing, 3D printing, Nordic skating, Soapmaking, Juggling

Introduction: My name is Moshe Kshlerin, I am a gleaming, attractive, outstanding, pleasant, delightful, outstanding, famous person who loves writing and wants to share my knowledge and understanding with you.