Minecraft Wiki
Block

Dispenser

Раздатчик

Game version

A dispenser is a redstone component that stores items and uses or ejects them when activated.

Discussion Quiz
#

Used in

Mentioned in

PropertyValue
BlockDispenser
EditionJava and Bedrock
VersionJava Beta 1.2 / Bedrock v0.14.0
ObtainingCrafted from 7 cobblestone, 1 bow and 1 redstone dust; also found in jungle temples and trial chambers
ToolPickaxe
RenewabilityYes

Overview#

A dispenser is a low-capacity storage block that can fire projectiles, use certain items and tools, and place certain blocks, fluids, or entities when activated by a redstone signal. Items that do not have unique dispenser functions are ejected into the world like a dropper.

Obtaining#

Crafting#

Dispensers are crafted from 7 cobblestone, 1 bow and 1 redstone dust arranged in a crafting table. The bow can be of any durability and enchantments on the bow do not affect the resulting dispenser.

Breaking#

A dispenser can be mined using a pickaxe, in which case it drops itself and its contents. If mined without a pickaxe, the dispenser drops only its contents.

Natural generation#

Two dispensers generate naturally in every jungle temple, typically loaded with arrows. Several dispensers can also generate inside trial chambers with random items from a loot table.

Behavior#

Container#

A dispenser has 9 slots of inventory space. To open the dispenser GUI, use the Use Item control while facing the block. By default, the GUI is labeled "Dispenser"; the label can be changed by naming the dispenser in an anvil before placing it.

Redstone activation#

A dispenser is a redstone mechanism and can be activated by:

  • an adjacent active power component, such as a redstone torch, a block of redstone, or a daylight sensor
  • an adjacent powered conductive block
  • a powered redstone repeater or redstone comparator facing the dispenser
  • powered redstone dust configured to point at the dispenser, or on top of it

In Java Edition, dispensers can also be activated by quasi-connectivity.

A dispenser has a 4 game tick (0.2 seconds) delay between activation and response. When activated, it ejects one item. The dispenser does not continue to eject items while the signal remains active; ejection occurs only on the initial activation (the rising edge of the input signal). To eject multiple items, repeatedly activate the dispenser with a clock circuit.

If multiple slots are occupied by items, a random occupied slot is chosen for ejection.

Item functions#

When activated, a dispenser performs special actions depending on the item:

  • Arrows, snowballs, eggs, splash potions, lingering potions, fire charges, bottles o' enchanting, and tridents are fired as projectiles in the direction the dispenser is facing.
  • Spawn eggs spawn mobs directly in front of the dispenser.
  • Armor is equipped to any player or mob directly in front of the dispenser.
  • Flint and steel ignites the block in front of the dispenser.
  • Water and lava buckets place the fluid in front of the dispenser and leave an empty bucket; activating again removes the fluid and refills the bucket.
  • TNT is placed and ignited in front of the dispenser.
  • Bone meal is used on the block in front of the dispenser.
  • Boats and minecarts are placed as entities.
  • Pumpkins and wither skeleton skulls can be placed to activate iron golems, snow golems, or the wither.
  • All other items are simply ejected into the world as entities.

Edition differences#

In Java Edition, dispensers cannot be moved by pistons.

See also#