Hopper

A hopper is a block that can be used to catch item entities, or to transfer items into and out of containers.

Obtaining
A hopper can be obtained by crafting, or by breaking a previously-placed hopper with a pickaxe.

Breaking
To break a hopper, it with a pickaxe. If mined with anything but a pickaxe it will not drop itself.

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

Usage


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 visual feedback of which direction the hopper will output items to if a container is present. To place a hopper, use the control while aiming at the surface to which its output should face (a hopper will not automatically orient itself to point at a container). To place a hopper so that it faces a container (or other block which has a interaction),  while placing the hopper. A hopper placed while aiming at the bottom of a block will re-orient to face down instead. Hoppers won't change their direction after being placed and aren't "attached" to the container they are facing -- the container can be removed and the hopper will continue to face in the same direction.

Hoppers cannot be moved by pistons. Despite not appearing as a solid block, attached blocks such as rails, levers, tripwire and redstone dust can be placed on top of hoppers (but not on their side).

Container


A hopper can be used as a container and has 5 slots of inventory space.

To open the hopper GUI, use the control. To move items between the hopper inventory and the hopper inventory or hotbar while the hopper GUI is open, drag or shift-click the items. To exit the hopper GUI, use the control.

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 by using the blockdata command (for example, to label a hopper at (0,64,0) "Alice's Hopper", use ).

A hopper can be "locked" (or subsequently unlocked) by setting the hopper's  tag with the blockdata command. If a hopper's  tag is not blank, the hopper cannot be accessed except by players holding an item with the same name as the   tag's text. For example, to lock a hopper at (0,64,0) so that only players holding an item named "Alice's Key" can access the hopper, use.

Crafting ingredient
A hopper can be used to craft a minecart with hopper.

Redstone component
A hopper can be used to suck in item entites above it, or to transfer items to or from other containers.

Hoppers are redstone mechanisms and can be activated by:
 * An adjacent active power component: for example, a redstone torch (except that a redstone torch will not activate a hopper it is attached to), a block of redstone, a daylight sensor, etc.
 * An adjacent powered block (for example, an opaque block with an active redstone torch under it)
 * A powered redstone comparator or redstone repeater facing the hopper
 * Adjacent powered redstone dust configured to point at the hopper (or on top of it) or directionless; a hopper is not activated by adjacent powered redstone dust that is configured to point away from it.

A hopper's behavior is the opposite of most redstone components, in that it performs actions while not activated and stops performing actions when activated. Thus, an unactivated hopper is described as enabled and an activated hopper is described as disabled.

An enabled hopper can do three things (all at once):
 * suck 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 is facing

Item entities can be sucked in if they are anywhere within the block's space above the hopper, so can be sucked in even if sitting on a partial block above the hopper (for example, on a slab) or even if inside a full block above the hopper (because they are rising up through solid blocks or because they were summoned there). Item entities will not be sucked in if they are more than one block above the hopper (for example, an item on a block of stone above a hopper will not be sucked in). Hoppers check for item entities above them every game tick and can suck them in even before the item entities are destroyed by lava above the hopper, or before they are picked up by players. Hoppers with containers above them (furnaces, chests, other hoppers, etc.) do not suck in item entities above them (and don't even check for them, reducing the number of updates required by hoppers).

Hoppers have a "transfer cooldown" time. After pulling or pushing items, a hopper will wait 4 redstone ticks (8 game ticks, or 0.4 seconds barring lag) before pulling or pushing again (a transfer rate of 2.5 items per second barring lag). Item pulls and pushes are processed in the same game tick, but pulls are processed before pushes (see schematic, right). Item entities can be sucked in at any time, without affecting the item transfer cooldown time, and can be sucked in as entire stacks (rather than a single item at a time).

A hopper always tries to pull or suck items into the leftmost available slot (either because the slot is empty or because it contains an incomplete stack of the item being pulled), and pushes items from its leftmost slots before it pushes from rightmost slots (it won't start pushing items from its second slot before its first is empty, from its third slot before the first two are empty, etc.) unless the container it is pushing into can only accept items from the hopper's rightmost slots (because the container is full except for incomplete stacks matching the hopper's rightmost items). A hopper won't suck or pull items, even when enabled, if it has no available slots to accept available items (there are no empty slots and no incomplete stacks of items that match available items). Similarly, a hopper pushes items into the top left available slots of containers before the bottom right slots, and will stop pushing items if there are no available slots to push items into.

Some containers interact with hoppers in specific ways:


 * A hopper can push only diamonds, emeralds, gold ingots, and iron ingots into a beacon. Although the beacon interface usually only allows a single item to be placed in the beacon, a hopper can push an entire stack of items into the beacon's inventory slot. These items can also be removed by a hopper beneath the beacon.
 * A hopper can push only diamonds, emeralds, gold ingots, and iron ingots into a beacon. Although the beacon interface usually only allows a single item to be placed in the beacon, a hopper can push an entire stack of items into the beacon's inventory slot. These items can also be removed by a hopper beneath the beacon.


 * A hopper above a brewing stand will only fill the top ingredient slot and will only push potion ingredients into that slot. A hopper to the side of a brewing stand will only fill the bottom three potion slots and will only push water bottles and potions into those slots. A hopper underneath a brewing stand will only pull from the potion slots (whether the potions are finished or not -- disable the hopper to allow potions to finish brewing).
 * A hopper above a brewing stand will only fill the top ingredient slot and will only push potion ingredients into that slot. A hopper to the side of a brewing stand will only fill the bottom three potion slots and will only push water bottles and potions into those slots. A hopper underneath a brewing stand will only pull from the potion slots (whether the potions are finished or not -- disable the hopper to allow potions to finish brewing).


 * Large chests and large trapped chests are treated as a single unit: a hopper placed on a large chest will fill up the whole chest, and a hopper underneath a large chest will empty the whole chest. Hoppers can only remove items from or place items into a chest if it can be opened (for example, a hopper cannot push items into a chest with a block or an ocelot on top of it). Trapped chests being accessed by a player will disable any adjacent hopper (which is normal behavior for a hopper next to an active power source).
 * Large chests and large trapped chests are treated as a single unit: a hopper placed on a large chest will fill up the whole chest, and a hopper underneath a large chest will empty the whole chest. Hoppers can only remove items from or place items into a chest if it can be opened (for example, a hopper cannot push items into a chest with a block or an ocelot on top of it). Trapped chests being accessed by a player will disable any adjacent hopper (which is normal behavior for a hopper next to an active power source).
 * Large chests and large trapped chests are treated as a single unit: a hopper placed on a large chest will fill up the whole chest, and a hopper underneath a large chest will empty the whole chest. Hoppers can only remove items from or place items into a chest if it can be opened (for example, a hopper cannot push items into a chest with a block or an ocelot on top of it). Trapped chests being accessed by a player will disable any adjacent hopper (which is normal behavior for a hopper next to an active power source).


 * Items can be removed from as well as placed in dispensers and droppers.
 * Items can be removed from as well as placed in dispensers and droppers.
 * Items can be removed from as well as placed in dispensers and droppers.


 * A hopper above a furnace will only fill the ingredient slot but will push any items, even items that can't be smelted in a furnace. A hopper to the side of a furnace will only fill the fuel slot and will only push items into that slot that can be used as fuel in the furnace. A hopper below a furnace will only pull from the furnace's output slot (except that it will also pull empty buckets from the furnace's fuel slot left over from using a lava bucket as fuel). A hopper removing items from a furnace will not produce experience points.
 * A hopper above a furnace will only fill the ingredient slot but will push any items, even items that can't be smelted in a furnace. A hopper to the side of a furnace will only fill the fuel slot and will only push items into that slot that can be used as fuel in the furnace. A hopper below a furnace will only pull from the furnace's output slot (except that it will also pull empty buckets from the furnace's fuel slot left over from using a lava bucket as fuel). A hopper removing items from a furnace will not produce experience points.


 * Hopper
 * A sequence of three or more hoppers, each pushing items into the next, is known as a hopper pipe. Horizontal hopper pipes simply transfer items at the expected rate of 2.5 items per second, but vertical hopper pipe behavior can be difficult to understand because the hoppers are both pulling and pushing items between them. If a vertical hopper pipe pulls items from a container, it will simply transfer items at 2.5 items per second (because the transfer rate is limited by the first hopper pulling items from the container), but if a stack of items is in a vertical pipe (because an item stack entity was sucked in, or placed there by a player) the items will 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.
 * Because pulls and pushes occur in the same game tick, a redstone comparator measuring the fullness of a hopper in a hopper pipe will usually simply stay powered as a continuous stream of items flows through (instead of blinking on and off for each item), but certain hoppers in a vertical hopper pipe may never power their comparators even with a continuous stream of items because their items get pulled out of them one game tick after the items are pushed into them, which doesn't produce a state long enough for a comparator to measure (comparators need inputs at least 1.5 redstone ticks long to produce an output).


 * Hoppers will fill minecarts with chests or hoppers if any part of the minecart is in the space the hopper is pointing at. Hoppers can also take items from minecarts above them (rails can be placed directly on top of hoppers). A hopper will not unload a minecart that is on a detector rail above the hopper, because the detector rail will disable the hopper (which is normal behavior for a hopper next to an active power source).
 * Hoppers will fill minecarts with chests or hoppers if any part of the minecart is in the space the hopper is pointing at. Hoppers can also take items from minecarts above them (rails can be placed directly on top of hoppers). A hopper will not unload a minecart that is on a detector rail above the hopper, because the detector rail will disable the hopper (which is normal behavior for a hopper next to an active power source).
 * Hoppers will fill minecarts with chests or hoppers if any part of the minecart is in the space the hopper is pointing at. Hoppers can also take items from minecarts above them (rails can be placed directly on top of hoppers). A hopper will not unload a minecart that is on a detector rail above the hopper, because the detector rail will disable the hopper (which is normal behavior for a hopper next to an active power source).


 * Hoppers cannot remove items from or place items into ender chests. They do not interact with them in any way.
 * Hoppers cannot remove items from or place items into ender chests. They do not interact with them in any way.

A disabled hopper does not pull items from above (including item entities) or push them out, but may receive items from other droppers and hoppers, and may have its items removed by another hopper beneath it. To stop item transfer in a horizontal hopper pipe, only one hopper needs to be disabled, but to stop item transfer in a vertical hopper pipe, it is necessary to disable two hoppers in a row (because if a single hopper is disabled, the hopper above it can still push items into it and the hopper below it can still pull items from it).

Data values
A hopper has an ID name of  and is further defined by its block data and block entity. A hopper also has a block state that is expected to replace the functionality of block data in a future version.

Block data
A hopper uses its block data to specify its orientation and activation status.

Block entity
A hopper uses its block entity to specify its custom name, its lock string, the items in its inventory, and to manage the timing of item transfers.

Trivia

 * A real-life hopper is a type of chute used in industrial processes that incorporates a limited storage capacity.

Trichter Tolva Entonnoir Trechter Lej Загрузочная воронка 漏斗