mojira.dev
MCPE-187445

Commands and Scripts are unable to place shulker boxes in different facing directions

I was working on a project where I wanted to have scripts place upside down shulker boxes but wasn't able to, due to the facing direction being stored in the blocks NBT data which can't be accessed by the /setblock command or scripts.

It would be great if the facing direction were moved to a block state to spawn shulker boxes in different directions other than the default direction.

For now as a workaround, I'm using /structure to place it, but this shouldn't be necessary.

How to reproduce:
1. Open a world in creative mode with cheats enabled.
2. Type the following: "/setblock ~ ~ ~ <color>_shulker_box[" (Replace <color> with one of the 17 color options of shulker boxes)
3. See that auto-complete doesn't suggest any states for the block.
3.1 Even if you run "/setblock ~ ~ ~ <color>_shulker_box["facing_direction"=1]" (Copying how the barrel does it) it will throw an error.

Comments 1

BJTMastermind

(Unassigned)

1347439

Community Consensus

Multiple

1.21.31 Hotfix, 1.21.41 Hotfix, 1.21.44 Hotfix, 1.21.50, 1.21.51 Hotfix, 1.21.80, 1.21.81 Hotfix

Retrieved