mojira.dev
MC-31365

/summon and /setblock cannot specify chests, furnaces, dispensers, rails and droppers orientation

Using the /summon or /setblock command to spawn a dropper or a dispenser works but data tags cannot be used to specify the orientation.

To replicate:
Create a command block containing any of the following commands:

setblock ~2 ~ ~ minecraft:dropper 1 replace
summon FallingSand ~2 ~ ~ {Time:1,TileID:158,Data:1}

Both will spawn a dropper facing in the default direction of South, regardless of the value of Data (if placed against a wall the dropper will adjust to face away from the wall). Applying the data for repeaters, hoppers and comparators work fine.

Environment

Windows 7 Home Premium
Java Version: 7.0.150.3

Linked issues

MC-56547 /setblock, wrong metadata on some TileEntities Resolved MC-12437 When a chest, furnace, or any TileEntity with a "front" is spawned using /summon /setblock or from a spawner, it will always reface itself away from walls (overwriting the “Data” tag). Resolved MC-32374 /setblock cannot set the orientation of chests, furnaces, dispensers, and droppers Resolved MC-41078 /setblock command for Dropper (158) always defaults facing to 3 Resolved MC-43958 Setblock dispensers and droppers Resolved

Comments 36

I can confirm this as well and would really like this to be fixed. Very frustrating.

Confirmed for 13w41a.

Bug still persists in 13w43a

Confirmed for 1.7.

26 more comments

Clone does not respect orientation with rails. There seems to be 2 separate issues here, one where the setblock command doesn't respect orientation of some blocks, and one where rail's default behavior is overriding the behavior of the setblock and clone commands.

Confirmed for 14w18b.

confirmed for 14w19a

Still present in 14w26b.

Fixed for all but the rails.

migrated

SeargeDP

Confirmed

/setblock, /summon, block-entity, dispenser, dropper, orientation

Minecraft 13w37a, Minecraft 13w37b, Minecraft 13w38a, Minecraft 13w38b, Minecraft 13w38c, , Minecraft 14w17a, Minecraft 14w18b, Minecraft 14w19a, Minecraft 14w21b, Minecraft 14w26b

Minecraft 14w28b

Retrieved