Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Minecraft:Hopper: Difference between revisions

From SAS Gaming Wiki
imported>User-12316399
 
SyncBot (talk | contribs)
Remove broken links to missing pages
Line 17: Line 17:
{{relevant tutorial|Hopper}}
{{relevant tutorial|Hopper}}


A '''hopper''' is a low-capacity storage [[Minecraft:block]] that can be used to collect [[Minecraft:item entities]] directly above it, as well as to transfer [[Minecraft:item]]s into and out of other containers. A hopper can be locked with [[Minecraft:redstone]] power to stop it from moving items into or out of itself.
A '''hopper''' is a low-capacity storage [[Minecraft:block]] that can be used to collect item entities directly above it, as well as to transfer [[Minecraft:item]]s into and out of other containers. A hopper can be locked with [[Minecraft:redstone]] power to stop it from moving items into or out of itself.


== Obtaining ==
== Obtaining ==
Line 38: Line 38:


=== Natural generation ===
=== Natural generation ===
Hoppers generate above [[Minecraft:barrel]]s in the [[Minecraft:trial chambers]].
Hoppers generate above [[Minecraft:barrel]]s in the trial chambers.


== Usage ==
== Usage ==
Line 46: Line 46:
A hopper can be used as a container, as a crafting ingredient, and as a redstone component.
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 [[Minecraft:furnace]] and [[Minecraft: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.
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 [[Minecraft: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.


{{IN|Java}}, hoppers cannot be moved by [[Minecraft:piston]]s. Despite not having a full top surface, a few redstone components that require a support can be placed on top of hoppers (but not on their sides).
{{IN|Java}}, hoppers cannot be moved by [[Minecraft:piston]]s. Despite not having a full top surface, a few redstone components that require a support can be placed on top of hoppers (but not on their sides).
Line 72: Line 72:
*'''Push''' a single item from its own inventory into a container it faces
*'''Push''' a single item from its own inventory into a container it faces
*'''Pull''' a single item into its inventory from a container above it
*'''Pull''' a single item into its inventory from a container above it
*'''Collect''' [[Minecraft:item entities]] (free-floating items in the world) into its inventory from the space above it
*'''Collect''' item entities (free-floating items in the world) into its inventory from the space above it


A 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.
A 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.
Line 79: Line 79:
When a hopper receives a redstone signal, all three of its functions stop: in this situation the hopper is '''locked/disabled'''. Once the hopper loses power, its activity resumes as it goes back to being '''unlocked/enabled'''.<ref>The terms "locked" and "unlocked" were created by the community. "Enabled", on the other hand, is the name of the actual blockstate property that defines if the hopper should be operational or not ({{in|JE}}).</ref> Depowering a locked hopper does not affect its cooldown time. Therefore, unlocking a hopper that was not ''already'' in cooldown results in it starting to pull, push, or collect items as soon as it gets ticked.
When a hopper receives a redstone signal, all three of its functions stop: in this situation the hopper is '''locked/disabled'''. Once the hopper loses power, its activity resumes as it goes back to being '''unlocked/enabled'''.<ref>The terms "locked" and "unlocked" were created by the community. "Enabled", on the other hand, is the name of the actual blockstate property that defines if the hopper should be operational or not ({{in|JE}}).</ref> Depowering a locked hopper does not affect its cooldown time. Therefore, unlocking a hopper that was not ''already'' in cooldown results in it starting to pull, push, or collect items as soon as it gets ticked.


{{IN|be}}, the hoppers can only be locked on the input/consume [[Minecraft:redstone tick]] (C-tick).
{{IN|be}}, the hoppers can only be locked on the input/consume redstone tick (C-tick).


While a locked hopper does not push or pull/collect items, it may still receive items from [[Minecraft:dropper]]s, [[Minecraft:crafter]]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.
While a locked hopper does not push or pull/collect items, it may still receive items from [[Minecraft:dropper]]s, [[Minecraft:crafter]]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 [[Minecraft: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. A table with all signal strengths can be found in the comparator article.
A hopper does not output any redstone signals by itself, but its fullness can be read using a 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. A table with all signal strengths can be found in the comparator article.


{{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 2 game ticks (0.1 seconds, barring lag) to produce a reading.
{{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 2 game ticks (0.1 seconds, barring lag) to produce a reading.
Line 90: Line 90:
A hopper collects items dropped inside itself or on top of it if the space above the hopper is occupied by a non-storage block. Items dropped inside the hopper are picked up regardless of the block above.
A hopper collects items dropped inside itself or on top of it if the space above the hopper is occupied by a non-storage block. Items dropped inside the hopper are picked up regardless of the block above.


{{IN|Java}}, items are only collected if the block above is not a full block or is in the block [[Minecraft:Block tag (Java Edition)|tag]] {{code|#does_not_block_hoppers}} ([[Minecraft:bee nest]]s and [[Minecraft:beehive]]s by default).
{{IN|Java}}, items are only collected if the block above is not a full block or is in the block [[Minecraft:Block tag (Java Edition)|tag]] {{code|#does_not_block_hoppers}} (bee nests and [[Minecraft:beehive]]s by default).


{{IN|Bedrock}}, items are also collected from full blocks, a situation that might come from items rising up through solid blocks or being [[Minecraft:commands/summon|summoned]].
{{IN|Bedrock}}, items are also collected from full blocks, a situation that might come from items rising up through solid blocks or being [[Minecraft:commands/summon|summoned]].


Items are gathered from the entire 1 block space above the hopper, meaning that items sitting on partial blocks such as [[Minecraft:soul sand]] directly above a hopper can be collected.<ref>{{bug|MCPE-55824}}</ref>
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>{{bug|MCPE-55824}}</ref>


Collected items are placed in the leftmost empty slot of a hopper's inventory. If there are multiple dropped items above the hopper, the hopper collects them in the order they entered the chunk containing the hopper. This can be observed by pushing items onto a locked hopper from an adjacent chunk: regardless of which item lands first, the hopper will always collect the one that entered the chunk the earliest.
Collected items are placed in the leftmost empty slot of a hopper's inventory. If there are multiple dropped items above the hopper, the hopper collects them in the order they entered the chunk containing the hopper. This can be observed by pushing items onto a locked hopper from an adjacent chunk: regardless of which item lands first, the hopper will always collect the one that entered the chunk the earliest.


Hoppers usually check for dropped items every [[Minecraft:game tick]] and they can collect items even before they are picked up by a [[Minecraft:player]] or destroyed by [[Minecraft:lava]]. After collecting an item (or stack of items), a hopper enters a cooldown period that lasts 8 game ticks (0.4 seconds, barring lag).
Hoppers usually check for dropped items every game tick and they can collect items even before they are picked up by a player or destroyed by [[Minecraft:lava]]. After collecting an item (or stack of items), a hopper enters a cooldown period that lasts 8 game ticks (0.4 seconds, barring lag).


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 [[Minecraft:minecart with chest]] or [[Minecraft:minecart with hopper]] is even slower, since the minecart is not always above the hopper.
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 ====
==== Pushing and pulling items ====
A hopper with a storage container above it (such as a [[Minecraft:furnace]], [[Minecraft:chest]], [[Minecraft:dropper]], [[Minecraft:composter]], or another hopper) attempts to pull from the container instead of checking for floating items above it, and hence can not collect dropped 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.
A hopper with a storage container above it (such as a [[Minecraft:furnace]], [[Minecraft:chest]], [[Minecraft:dropper]], [[Minecraft:composter]], or another hopper) attempts to pull from the container instead of checking for floating items above it, and hence can not collect dropped 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}}, 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 composters, storage containers, or full blocks (keep in mind that full blocks do not prevent hoppers from checking if there are [[Minecraft:minecarts with chests]] or [[Minecraft:minecarts with hoppers]] above them) rather than air/non-full blocks has better performance and lower potential for processing lag. <ref name=":0">{{ytl|LC3ZOOI1Rf0|Droppers Vs. Composters – The Effect Certain Blocks Have On Hopper Performance|ExperimentalIdea|November 25, 2019}}</ref> The performance improvement achieved is correlated with the number of storage slots the container has - for example a dropper will have better performance than a barrel. The single best block for performance is the composter.<ref name=":0" /> {{IN|Bedrock}}, 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>
{{IN|Java}}, 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 composters, storage containers, or full blocks (keep in mind that full blocks do not prevent hoppers from checking if there are minecarts with chests or minecarts with hoppers above them) rather than air/non-full blocks has better performance and lower potential for processing lag. <ref name=":0">{{ytl|LC3ZOOI1Rf0|Droppers Vs. Composters – The Effect Certain Blocks Have On Hopper Performance|ExperimentalIdea|November 25, 2019}}</ref> The performance improvement achieved is correlated with the number of storage slots the container has - for example a dropper will have better performance than a barrel. The single best block for performance is the composter.<ref name=":0" /> {{IN|Bedrock}}, 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'''
{{Schematic|caption='''Push then pull'''
Line 120: Line 120:


==== Bee nests and beehives ====
==== Bee nests and beehives ====
Normally, hoppers do not attempt to collect items when a solid block is placed on top of them. However, hoppers attempt to collect items when [[Minecraft:bee nest]]s and [[Minecraft:beehive]]s are placed on top of them. This allows hoppers to collect [[Minecraft:honeycomb]] when bee nests and beehives are sheared by the player or a dispenser. If a [[Minecraft:dropper]] or [[Minecraft:dispenser]] ejects an item into a bee nest or beehive above a hopper, the hopper usually collects the item. If a dispenser or dropper ejects an item into a different solid block above a hopper, the item phases through the solid block and is not collected by the hopper.
Normally, hoppers do not attempt to collect items when a solid block is placed on top of them. However, hoppers attempt to collect items when bee nests and [[Minecraft:beehive]]s are placed on top of them. This allows hoppers to collect [[Minecraft:honeycomb]] when bee nests and beehives are sheared by the player or a dispenser. If a [[Minecraft:dropper]] or [[Minecraft:dispenser]] ejects an item into a bee nest or beehive above a hopper, the hopper usually collects the item. If a dispenser or dropper ejects an item into a different solid block above a hopper, the item phases through the solid block and is not collected by the hopper.


==== Container interactions ====
==== Container interactions ====
Some [[Minecraft:container]]s interact with hoppers in specific ways:
Some containers interact with hoppers in specific ways:


:;{{BlockLink|Barrel}}, {{EntityLink|id=oak boat with chest|boat with chest}}, {{BlockLink|dispenser}}, {{BlockLink|dropper}}
:;{{BlockLink|Barrel}}, {{EntityLink|id=oak boat with chest|boat with chest}}, {{BlockLink|dispenser}}, {{BlockLink|dropper}}
Line 129: Line 129:


:;{{BlockLink|Brewing stand}}
:;{{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 [[Minecraft:brewing]] ingredients. A hopper on side face of a brewing stand can deposit only [[Minecraft:blaze powder]] or bottles (including empty 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&mdash;The hopper must be locked to allow potions to finish brewing.
::A working hopper on the top face of a brewing stand deposits only into the ingredient slot and it can push only valid [[Minecraft:brewing]] ingredients. A hopper on side face of a brewing stand can deposit only blaze powder or bottles (including empty 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&mdash;The hopper must be locked to allow potions to finish brewing.


:;{{BlockLink|Chest}}, {{BlockLink|trapped chest}}
:;{{BlockLink|Chest}}, {{BlockLink|trapped chest}}
Line 138: Line 138:


:;{{BlockLink|Composter}}
:;{{BlockLink|Composter}}
::Hoppers above composters can push compostable items into the composter's top face, with a chance of increasing the compost level 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 [[Minecraft: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.
::Hoppers above composters can push compostable items into the composter's top face, with a chance of increasing the compost level 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|Crafter}}
:;{{BlockLink|Crafter}}
Line 147: Line 147:


:;{{BlockLink|Ender chest}}
:;{{BlockLink|Ender chest}}
::Hoppers cannot interact with [[Minecraft:ender chest]]s in any way.
::Hoppers cannot interact with ender chests in any way.


:;{{BlockLink|Furnace}}, {{BlockLink|blast furnace}}, {{BlockLink|smoker}}
:;{{BlockLink|Furnace}}, {{BlockLink|blast furnace}}, {{BlockLink|smoker}}
::A working hopper pointing into the 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 [[Minecraft:bucket]]s from the fuel slot left over from using [[Minecraft: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.
::A working hopper pointing into the 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 [[Minecraft:bucket]]s from the fuel slot left over from using lava buckets 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}} Other hoppers
:;{{BlockSprite|Hopper}} Other hoppers
Line 159: Line 159:


:;{{BlockLink|Jukebox}}
:;{{BlockLink|Jukebox}}
::Hoppers can insert [[Minecraft:music disc]]s into jukeboxes, and extract the music discs after they finish playing. A jukebox emits a redstone signal while playing a disc, locking any adjacent hoppers.
::Hoppers can insert music discs into jukeboxes, and extract the music discs after they finish playing. A jukebox emits a redstone signal while playing a disc, locking any adjacent hoppers.


:;{{BlockLink|Lectern}}
:;{{BlockLink|Lectern}}
Line 165: Line 165:


:;{{EntityLink|Minecart with chest}}, {{EntityLink|minecart with hopper}}
:;{{EntityLink|Minecart with chest}}, {{EntityLink|minecart with hopper}}
::Unlocked hoppers fill [[Minecraft:minecarts with chests]] and [[Minecraft:minecarts with hoppers]] 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 [[Minecraft:detector rail]] is in the right position, it could lock the hopper per standard redstone-hopper behavior.
::Unlocked hoppers fill minecarts with chests and minecarts with hoppers 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|Shulker box}}
:;{{BlockLink|Shulker box}}
::Hoppers cannot put [[Minecraft:shulker box]]es into other shulker boxes. This allows for the creation of certain [[Minecraft:Tutorial:Hopper#Potions, books and shulker boxes|item filters]].
::Hoppers cannot put shulker boxes into other shulker boxes. This allows for the creation of certain item filters.
::Otherwise, hoppers interact with shulker boxes normally.
::Otherwise, hoppers interact with shulker boxes normally.


Line 277: Line 277:
*** {{nbt|compound}}: An item, including the slot tag.
*** {{nbt|compound}}: An item, including the slot tag.
**** {{nbt inherit/item|indent=****}}
**** {{nbt inherit/item|indent=****}}
** {{nbt|int|TransferCooldown}}: Time until the next transfer in [[Minecraft:game tick]]s, naturally between 1 and 8 or 0 if there is no transfer.
** {{nbt|int|TransferCooldown}}: Time until the next transfer in game ticks, naturally between 1 and 8 or 0 if there is no transfer.
</div><section end="block data"/>
</div><section end="block data"/>


Line 298: Line 298:
|[[File:Hopper (item) JE1.png|32px]] There is a temporary "work in progress" sprite for hoppers in the [[Minecraft:inventory]].
|[[File:Hopper (item) JE1.png|32px]] There is a temporary "work in progress" sprite for hoppers in the [[Minecraft:inventory]].
|Hoppers use sounds associated with wooden blocks.
|Hoppers use sounds associated with wooden blocks.
|Hoppers can be [[Minecraft:craft]]ed from a [[Minecraft:chest]] and [[Minecraft:stone]] blocks with the following recipe:
|Hoppers can be crafted from a [[Minecraft:chest]] and [[Minecraft:stone]] blocks with the following recipe:
{{Crafting
{{Crafting
|class= collapsed
|class= collapsed
Line 314: Line 314:
|Hoppers no longer load [[Minecraft:item]]s into [[Minecraft:minecart]]s without [[Minecraft:chest]]s.}}
|Hoppers no longer load [[Minecraft:item]]s into [[Minecraft:minecart]]s without [[Minecraft:chest]]s.}}
|{{HistoryLine|||dev=13w02a|[[File:Hopper (item) JE2 BE1.png|32px]] The [[Minecraft:inventory]] sprite of hoppers has been changed.
|{{HistoryLine|||dev=13w02a|[[File:Hopper (item) JE2 BE1.png|32px]] The [[Minecraft:inventory]] sprite of hoppers has been changed.
|[[File:Hopper (item) 13w02a.png|32px]] However, the [[Minecraft:item]] of hoppers appears bugged if [[Minecraft:drop]]ped or placed in an [[Minecraft:item frame]] on Fancy [[Minecraft:graphics settings]].<ref>{{bug|MC-6737}}</ref>
|[[File:Hopper (item) 13w02a.png|32px]] However, the [[Minecraft:item]] of hoppers appears bugged if dropped or placed in an item frame on Fancy graphics settings.<ref>{{bug|MC-6737}}</ref>
|Applying a [[Minecraft:redstone]] signal to a hopper now deactivates the hopper until the signal is removed.
|Applying a [[Minecraft:redstone]] signal to a hopper now deactivates the hopper until the signal is removed.
|Hoppers can no longer be used as [[Minecraft:fuel]] in a [[Minecraft:furnace]].
|Hoppers can no longer be used as fuel in a [[Minecraft:furnace]].
|Hoppers are now [[Minecraft:craft]]ed using 5 [[Minecraft:iron ingot]]s and a [[Minecraft:chest]] rather than 5 [[Minecraft:stone]] and a [[Minecraft:chest]].
|Hoppers are now crafted using 5 iron ingots and a [[Minecraft:chest]] rather than 5 [[Minecraft:stone]] and a [[Minecraft:chest]].
{{Crafting
{{Crafting
|class= collapsed
|class= collapsed
Line 334: Line 334:
|{{HistoryLine|||dev=13w02b|Hoppers now treat large [[Minecraft:chest]]s properly, no longer needing two hoppers connected to them to fill up the entire [[Minecraft:inventory]].
|{{HistoryLine|||dev=13w02b|Hoppers now treat large [[Minecraft:chest]]s properly, no longer needing two hoppers connected to them to fill up the entire [[Minecraft:inventory]].
|Hoppers no longer take [[Minecraft:item]]s from containers when powered via a [[Minecraft:redstone]] current.
|Hoppers no longer take [[Minecraft:item]]s from containers when powered via a [[Minecraft:redstone]] current.
|Hoppers now display correctly as a dropped or [[Minecraft:item frame|framed]] item.}}
|Hoppers now display correctly as a dropped or framed item.}}
|{{HistoryLine|||dev=13w03a|Hoppers are now used to [[Minecraft:craft]] a [[Minecraft:minecart with hopper]].
|{{HistoryLine|||dev=13w03a|Hoppers are now used to craft a minecart with hopper.
|Hoppers can now empty a [[Minecraft:minecart with hopper]].}}
|Hoppers can now empty a minecart with hopper.}}
|{{HistoryLine||1.5.1|dev=pre|Hoppers now take empty [[Minecraft:bucket]]s out of furnace fuel slots.}}
|{{HistoryLine||1.5.1|dev=pre|Hoppers now take empty [[Minecraft:bucket]]s out of furnace fuel slots.}}
|{{HistoryLine||1.7.2|dev=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]] 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.}}
|{{HistoryLine||1.7.2|dev=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]] 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.}}
Line 344: Line 344:
|{{HistoryLine|||dev=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]] 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.}}
|{{HistoryLine|||dev=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]] 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.}}
|{{HistoryLine|||dev=14w31a|Hoppers now use metallic sounds.<ref>{{bug|MC-5991}}</ref>}}
|{{HistoryLine|||dev=14w31a|Hoppers now use metallic sounds.<ref>{{bug|MC-5991}}</ref>}}
|{{HistoryLine||1.9|dev=15w33c|A hopper now generates as a part of the [[Minecraft:end ship]] in the [[Minecraft:end cities]].}}
|{{HistoryLine||1.9|dev=15w33c|A hopper now generates as a part of the end ship in the end cities.}}
|{{HistoryLine|||dev=15w41a|End ships no longer contain a hopper.}}
|{{HistoryLine|||dev=15w41a|End ships no longer contain a hopper.}}
|{{HistoryLine|||dev=15w43a|[[Minecraft:Loot table]]s have been added; hoppers can now use loot tables.}}
|{{HistoryLine|||dev=15w43a|Loot tables have been added; hoppers can now use loot tables.}}
|{{HistoryLine|||dev=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}}.}}
|{{HistoryLine|||dev=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}}.}}
|{{HistoryLine|||dev=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}}.}}
|{{HistoryLine|||dev=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}}.}}
|{{HistoryLine||1.9.1|dev=pre1|A hopper can now push into and pull [[Minecraft:item]]s from a blocked [[Minecraft:chest]].}}
|{{HistoryLine||1.9.1|dev=pre1|A hopper can now push into and pull [[Minecraft:item]]s from a blocked [[Minecraft:chest]].}}
|{{HistoryLine||1.11|dev=16w32a|The hopper's cooldown has been aligned to the global game time, as an attempt to fix {{bug|MC-105560}}. Since the majority of redstone components are ''not'' aligned to the global game time, this causes hopper timings to be seemingly random in most situations.}}
|{{HistoryLine||1.11|dev=16w32a|The hopper's cooldown has been aligned to the global game time, as an attempt to fix {{bug|MC-105560}}. Since the majority of redstone components are ''not'' aligned to the global game time, this causes hopper timings to be seemingly random in most situations.}}
|{{HistoryLine|||dev=16w35a|The change to the hopper's cooldown that was made in [[Minecraft:16w32a]] has been reverted, but the fix to {{bug|MC-105560}} was mantained.<ref>https://bugs-legacy.mojang.com/browse/MC-106075?focusedId=327478&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-327478</ref>
|{{HistoryLine|||dev=16w35a|The change to the hopper's cooldown that was made in 16w32a has been reverted, but the fix to {{bug|MC-105560}} was mantained.<ref>https://bugs-legacy.mojang.com/browse/MC-106075?focusedId=327478&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-327478</ref>
|Non-empty hoppers do not enter cooldown when an item is pushed into them anymore.
|Non-empty hoppers do not enter cooldown when an item is pushed into them anymore.
|Blocks that push an item into an empty hopper now apply a cooldown to it even if that hopper was already in cooldown, effectively overriding the previous cooldown.}}
|Blocks that push an item into an empty hopper now apply a cooldown to it even if that hopper was already in cooldown, effectively overriding the previous cooldown.}}
Line 360: Line 360:
|{{HistoryLine||1.14|dev=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.}}
|{{HistoryLine||1.14|dev=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.}}
|{{HistoryLine|||dev=19w03c|Hoppers now use correct cullface arguments, and some redundant faces have also been deleted.}}
|{{HistoryLine|||dev=19w03c|Hoppers now use correct cullface arguments, and some redundant faces have also been deleted.}}
|{{HistoryLine||1.19|dev=22w13a|Hoppers no longer drop when breaking a [[Minecraft:minecart with hopper]].}}
|{{HistoryLine||1.19|dev=22w13a|Hoppers no longer drop when breaking a minecart with hopper.}}
|{{HistoryLine||1.19.3|exp=Update 1.20|dev=22w44a|Hoppers can now interact with [[Minecraft:chiseled bookshelves]].}}
|{{HistoryLine||1.19.3|exp=Update 1.20|dev=22w44a|Hoppers can now interact with chiseled bookshelves.}}
|{{HistoryLine||1.19.4|dev=23w07a|Hoppers can now interact with [[Minecraft:jukebox]]es.}}
|{{HistoryLine||1.19.4|dev=23w07a|Hoppers can now interact with [[Minecraft:jukebox]]es.}}
|{{HistoryLine||1.20.5|dev=24w07a|Hoppers no longer try to pick up item entities if there is a full block placed above it, except for [[Minecraft:beehive]]s and [[Minecraft:bee nest]]s.}}
|{{HistoryLine||1.20.5|dev=24w07a|Hoppers no longer try to pick up item entities if there is a full block placed above it, except for [[Minecraft:beehive]]s and bee nests.}}
|{{HistoryLine||1.21.2|dev=24w33a|Hoppers now generate above [[Minecraft:barrel]]s at chamber entrances in [[Minecraft:trial chambers]].}}
|{{HistoryLine||1.21.2|dev=24w33a|Hoppers now generate above [[Minecraft:barrel]]s at chamber entrances in trial chambers.}}
}}
}}


Line 403: Line 403:
|{{HistoryLine|||dev=release|[[File:Hopper (U) JE3.png|32px]] The UV of upward-facing hoppers is also now incorrect.}}
|{{HistoryLine|||dev=release|[[File:Hopper (U) JE3.png|32px]] The UV of upward-facing hoppers is also now incorrect.}}
|{{HistoryLine||1.7.4|dev=13w47a|[[File:Hopper (U) JE4.png|32px]] The UV on upwards hoppers is also now fixed.}}
|{{HistoryLine||1.7.4|dev=13w47a|[[File:Hopper (U) JE4.png|32px]] The UV on upwards hoppers is also now fixed.}}
|{{HistoryLine||1.8|dev=14w10a|[[File:Missing Model JE2.png|32px]] The upwards hopper [[Minecraft:Missing model|no longer has a model]].}}
|{{HistoryLine||1.8|dev=14w10a|[[File:Missing Model JE2.png|32px]] The upwards hopper no longer has a model.}}
|{{HistoryLine|||dev=14w26a|The upwards hopper has been removed.}}
|{{HistoryLine|||dev=14w26a|The upwards hopper has been removed.}}
|{{HistoryLine||1.13|dev=17w47a|Prior to ''[[Minecraft:The Flattening]]'', this block's numeral ID was 154.}}
|{{HistoryLine||1.13|dev=17w47a|Prior to ''The Flattening'', this block's numeral ID was 154.}}
}}
}}


Line 418: Line 418:


== Trivia ==
== Trivia ==
* A [[Minecraft: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 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.
* A hopper can transfer 9000 items per hour, or 150 items per minute.


Line 441: Line 441:
=== Screenshots ===
=== Screenshots ===
<gallery>
<gallery>
Hopper screenshot 1.png|In snapshot [[Minecraft:13w01a]], the hopper item uses a 'WIP' sprite, though the item still reads "Hopper".
Hopper screenshot 1.png|In snapshot 13w01a, the hopper item uses a 'WIP' sprite, though the item still reads "Hopper".
13w02a Banner.png|The 13w02a banner includes a [[Minecraft:minecart with TNT]] and a hopper.
13w02a Banner.png|The 13w02a banner includes a [[Minecraft:minecart with TNT]] and a hopper.
Hopper-recipe.jpeg|The hopper's crafting recipe as shown in the [[Minecraft:Block of the Month]] [[Minecraft:Minecraft.net]] article.
Hopper-recipe.jpeg|The hopper's crafting recipe as shown in the Block of the Month Minecraft.net article.
</gallery>
</gallery>


Line 465: Line 465:
[[Category:Generated structure blocks]]
[[Category:Generated structure blocks]]


[[Minecraft:cs:Násypka]]
cs:Násypka
[[Minecraft:de:Trichter]]
de:Trichter
[[Minecraft:es:Tolva]]
es:Tolva
[[Minecraft:fr:Entonnoir]]
fr:Entonnoir
[[Minecraft:it:Tramoggia]]
it:Tramoggia
[[Minecraft:ja:ホッパー]]
ja:ホッパー
[[Minecraft:ko:호퍼]]
ko:호퍼
[[Minecraft:nl:Trechter]]
nl:Trechter
[[Minecraft:pl:Lej]]
pl:Lej
[[Minecraft:pt:Funil]]
pt:Funil
[[Minecraft:ru:Загрузочная воронка]]
ru:Загрузочная воронка
[[Minecraft:uk:Лійка]]
uk:Лійка
[[Minecraft:zh:漏斗]]
zh:漏斗

Revision as of 15:51, 9 April 2026

Template:Distinguish

Template:Infobox block Template:Relevant tutorial

A hopper is a low-capacity storage Minecraft:block that can be used to collect item entities directly above it, as well as to transfer Minecraft:items into and out of other containers. A hopper can be locked with Minecraft:redstone power to stop it from moving items into or out of itself.

Obtaining

Breaking

A hopper drops itself and its contents if mined with a Minecraft:pickaxe. Using any other item to mine a hopper drops only its contents. Template:Breaking row

Crafting

A hopper can be crafted from a chest and 5 iron ingots. Template:Crafting

Natural generation

Hoppers generate above Minecraft:barrels in the trial chambers.

Usage

Template:See also

File:Hopper aligment.png
Hoppers can face down or sideways.

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 Template:Control 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 Template:Control 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 Minecraft: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.

Template:IN, hoppers cannot be moved by Minecraft:pistons. Despite not having a full top surface, a few redstone components that require a support can be placed on top of hoppers (but not on their sides).

Container

File:Hopper GUI.png
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, Template:Control it. 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 Template:Key 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 Minecraft:anvil before placing it, or, Template:In, by using the data command (for example, to label a hopper at (0,64,0) "Steve's Hopper", use /data merge block 0 64 0 {CustomName:'"Steve's Hopper"'}).

Template:IN, a hopper's GUI can be "locked" (or subsequently unlocked) by setting the hopper's lock tag with the data command. If a hopper's lock tag is not blank, the hopper cannot be accessed except by players holding an item that matches the item predicate in the lock tag. 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 /data merge block 0 64 0 {lock:{components:{"custom_name":"Steve's Key"}}}.

Crafting ingredient

Template:Crafting usage

Redstone component

Template:See also

File:Hopper logic flowchart.png
Flowchart of hopper logic

While a hopper is neither powered by a Minecraft:redstone signal nor in cooldown, it operates with three functions:

  • Push a single item from its own inventory into a container it faces
  • Pull a single item into its inventory from a container above it
  • Collect item entities (free-floating items in the world) into its inventory from the space above it

A 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, all three of its functions stop: in this situation the hopper is locked/disabled. Once the hopper loses power, its activity resumes as it goes back to being unlocked/enabled.<ref>The terms "locked" and "unlocked" were created by the community. "Enabled", on the other hand, is the name of the actual blockstate property that defines if the hopper should be operational or not (Template:In).</ref> Depowering a locked hopper does not affect its cooldown time. Therefore, unlocking a hopper that was not already in cooldown results in it starting to pull, push, or collect items as soon as it gets ticked.

Template:IN, the hoppers can only be locked on the input/consume redstone tick (C-tick).

While a locked hopper does not push or pull/collect items, it may still receive items from Minecraft:droppers, Minecraft:crafters 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, 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. A table with all signal strengths can be found in the comparator article.

Template:IN, 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 2 game ticks (0.1 seconds, barring lag) to produce a reading.

Collecting items

A hopper collects items dropped inside itself or on top of it if the space above the hopper is occupied by a non-storage block. Items dropped inside the hopper are picked up regardless of the block above.

Template:IN, items are only collected if the block above is not a full block or is in the block tag Template:Code (bee nests and Minecraft:beehives by default).

Template:IN, items are also collected from full blocks, a situation that might come from items rising up through solid blocks or being summoned.

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>Template:Bug</ref>

Collected items are placed in the leftmost empty slot of a hopper's inventory. If there are multiple dropped items above the hopper, the hopper collects them in the order they entered the chunk containing the hopper. This can be observed by pushing items onto a locked hopper from an adjacent chunk: regardless of which item lands first, the hopper will always collect the one that entered the chunk the earliest.

Hoppers usually check for dropped items every game tick and they can collect items even before they are picked up by a player or destroyed by Minecraft:lava. After collecting an item (or stack of items), a hopper enters a cooldown period that lasts 8 game ticks (0.4 seconds, barring lag).

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 Minecraft:furnace, Minecraft:chest, Minecraft:dropper, Minecraft:composter, or another hopper) attempts to pull from the container instead of checking for floating items above it, and hence can not collect dropped 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.

Template:IN, 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 composters, storage containers, or full blocks (keep in mind that full blocks do not prevent hoppers from checking if there are minecarts with chests or minecarts with hoppers above them) rather than air/non-full blocks has better performance and lower potential for processing lag. <ref name=":0">Template:Ytl</ref> The performance improvement achieved is correlated with the number of storage slots the container has - for example a dropper will have better performance than a barrel. The single best block for performance is the composter.<ref name=":0" /> Template:IN, 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>Template:Bug</ref>

Template:Schematic

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.

After pulling and/or pushing items, a hopper enters an 8 game tick (0.4 seconds, barring lag) cooldown period (a transfer rate of 2.5 items per second, barring lag).

Template:IN, when an item is pushed into an empty hopper (a player manually placing the item in the hopper does not count), it starts an 8-game-tick cooldown period. Template:IN, when an item is pushed into an empty hopper, the cooldown of that hopper lasts 7 game ticks (0.35 seconds, barring lag) instead. Pushing an item into a hopper that isn't empty does not trigger its cooldown.

Bee nests and beehives

Normally, hoppers do not attempt to collect items when a solid block is placed on top of them. However, hoppers attempt to collect items when bee nests and Minecraft:beehives are placed on top of them. This allows hoppers to collect Minecraft:honeycomb when bee nests and beehives are sheared by the player or a dispenser. If a Minecraft:dropper or Minecraft:dispenser ejects an item into a bee nest or beehive above a hopper, the hopper usually collects the item. If a dispenser or dropper ejects an item into a different solid block above a hopper, the item phases through the solid block and is not collected by the hopper.

Container interactions

Some containers interact with hoppers in specific ways:

Template:BlockLink, Template:EntityLink, Template:BlockLink, Template:BlockLink
Hoppers interact normally with barrels, dispensers, droppers, and boats with chests.
Template:BlockLink
A working hopper on the top face of a brewing stand deposits only into the ingredient slot and it can push only valid Minecraft:brewing ingredients. A hopper on side face of a brewing stand can deposit only blaze powder or bottles (including empty 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.
Template:BlockLink, Template:BlockLink
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.
Template:BlockLink
Hoppers and minecarts 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.
Template:BlockLink
Hoppers above composters can push compostable items into the composter's top face, with a chance of increasing the compost level 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.
Template:BlockLink
Hoppers can insert ingredients in the crafting grid. Items are distributed in enabled slots, going left to right starting from the first row; if the crafter has all item slots filled then items are added to the lowest count item stack of the same type. A hopper below a crafter collects the ingredients from the crafting grid, not the resulting item.
Template:BlockLink
Hoppers can deposit up to a stack of a single type of item into a decorated pot. Items are not pushed if the decorated pot is full or the pot contains a different item. Using a hopper (or a Minecraft:minecart with hopper) is the only way to retrieve items from a decorated pot without breaking it.
Template:BlockLink
Hoppers cannot interact with ender chests in any way.
Template:BlockLink, Template:BlockLink, Template:BlockLink
A working hopper pointing into the 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 Minecraft:buckets from the fuel slot left over from using lava buckets 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.
Template:BlockSprite Other hoppers
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.
Template:BlockLink
Hoppers and minecarts with hoppers can insert and remove items from the shelf. Items are inserted into the first empty slot and extracted from the first slot that contains items, following standard container behavior.
Template:BlockLink
Hoppers can insert music discs into jukeboxes, and extract the music discs after they finish playing. A jukebox emits a redstone signal while playing a disc, locking any adjacent hoppers.
Template:BlockLink
Hoppers cannot remove or place books on Minecraft:lecterns. The redstone pulse emitted from a lectern when a page is turned can temporarily lock hoppers.
Template:EntityLink, Template:EntityLink
Unlocked hoppers fill minecarts with chests and minecarts with hoppers 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.
Template:BlockLink
Hoppers cannot put shulker boxes into other shulker boxes. This allows for the creation of certain item filters.
Otherwise, hoppers interact with shulker boxes normally.

Sounds

Generic

Despite being composed almost entirely of iron, hoppers do not use iron sounds.<ref>Template:Bug</ref>

Template:Sound table/Block/Metal

Unique

Template:Edition Template:SoundTable

Template:Edition: None

Data values

ID

Template:Edition: Template:ID table Template:ID table

Template:Edition: Template:ID table Template:ID table Template:ID table

Block states

Template:See also

Template:Edition: Template:Bst Template:Bst

Template:Edition: Template:Bst Template:Bst

Block data

A hopper has a block entity associated with it that holds additional data about the block.

Template:El: Template:See also

<section begin="block data"/>

<section end="block data"/>

Template:El:

See Minecraft:Bedrock Edition level format/Block entity format.

Achievements

Template:Load achievements

Videos

Template:Yt

History

Template:More sounds Template:See technical block

Java Edition

Template:HistoryTable

Bedrock Edition

Template:HistoryTable

Legacy Console Edition

Template:HistoryTable

New Nintendo 3DS Edition

Template:HistoryTable

Data history

Java Edition

Template:HistoryTable

Bedrock Edition

Template:HistoryTable

Issues

Template:Issue list

Trivia

  • A 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

Java Edition

Bedrock Edition

Screenshots

References

Template:Reflist

External links

Navigation

Template:Navbox redstone Template:Navbox blocks

cs:Násypka de:Trichter es:Tolva fr:Entonnoir it:Tramoggia ja:ホッパー ko:호퍼 nl:Trechter pl:Lej pt:Funil ru:Загрузочная воронка uk:Лійка zh:漏斗