mojira.dev
MC-80124

When using /setblock to place dispensers, unable to place facing block

When using command blocks to place dispensers using a command like so:
/setblock ~2 ~ ~ dispenser 2
where a block is blocking the front of the dispenser, the dispenser will be instead spawned facing the opposite direction.

I ran into this bug wanting to refill dispensers with exp potions to face bookshelves in an 'enchantment table room'. The bug seems intentional, although I feel like it only makes sense to let the user do what they want in this case

Linked issues

Comments

marcono1234

Duplicates MC-70188

Peter Olson

(Unassigned)

Unconfirmed

Minecraft 1.8.4

Retrieved