Compatibility
Minecraft: Java Edition
Platforms
Tags
Creators
Details
More Dispenses [26.4+]
Place blocks with dispensers! 100% vanilla, zero ticks, zero lag.
This data pack allows dispenses to place all kinds of blocks! Be it stone, walls, slabs, doors, pressure plates, chains, anything placeable by the player can and will be placed by the dispenser!
Minecraft 26.4 Snapshot 9 introduced data-driven dispense behaviors, including block placement.
More Dispenses overrides the minecraft:default dispense behavior so that all blocks can be placed directly by dispensers even if crafted directly into hoppers or chests without ever touching a player's inventory. No mods, no ticking functions, no item modifiers, no hidden entities, and no raycasting. minecraft:chest, minecraft:carved_pumpkin, minecraft:equipment, and minecraft:glowstone dispense behaviors have also been overridden to allow for placement of items such as skulls.
Features
- Zero Ticks: Runs through Minecraft's
dispense_behaviorregistry with zero ticks, zero inventory scanning, and no component modifications on items. - All Blocks Placeable: Every placeable item can be placed by dispensers, including blocks from crafters and hoppers.
- Extra Interactions: Dispensers can stack multi-part blocks (such as turtle eggs, leaf litter, and wildflowers). It can also plant crops, seeds, saplings, and chorus plants, and assemble golems when iron/snow blocks are dispensed alongside a carved pumpkin.
- Fallback Behavior: If the space in front of the dispenser is obstructed for placement (such as obstructing entities or blocks), the dispenser falls back to dropping the item as usual. It does not replace the obstructed block either.
- Preserves Special Behaviors: Items with dedicated dispense behaviors (such as TNT, shulker boxes, carved pumpkins, buckets, fire charges) use their own dispense behaviors and remain untouched.
How It Works
In Minecraft 26.4 Snapshot 9, items without special dispenser mechanics inherit minecraft:default for their minecraft:dispense_behavior component.
data/minecraft/dispense_behavior/default.json is overrode with a behavior sequence:
[
{
"type": "minecraft:equip_sulfur_cube"
},
{
"type": "minecraft:place_block"
},
{
"type": "minecraft:drop_item"
}
]
When a dispenser fires an item using minecraft:default, its behaviors are tried in sequence until one succeeds.
minecraft:equip_sulfur_cube: Attempts to equip the item onto a sulfur cube in front of the dispenser, if there is one.minecraft:place_block: Attempts to place the item as a block in front of the dispenser if the item is a block and the space is not obstructed.minecraft:drop_item: If the item is not a block or the space is obstructed, the dispenser ejects the item normally.
For more information, visit the snapshot changelog.
Credits
Many thanks to Eroxen and KaptainQrazyKool for pointing out that overriding minecraft:default in the dispense behavior registry was possible, instead of relying on inventory scanning.


