mojira.dev
MC-106127

Some blocks cannot be given certain block states

The Bug

In the latest snapshot, using a /setblock or /fill command to place a directional block with blockdata specifying direction, it will place the block with the block's default direction.

Steps to reproduce

Block

Command

tripwire

/setblock ~ ~ ~ minecraft:tripwire north=true

redstone_wire

/setblock ~ ~ ~ minecraft:redstone_wire north=side

fence

/setblock ~ ~ ~ minecraft:fence north=true

glass_pane

/setblock ~ ~ ~ minecraft:glass_pane north=true

stained_glass_pane

/setblock ~ ~ ~ minecraft:stained_glass_pane north=true

iron_bars

/setblock ~ ~ ~ minecraft:iron_bars north=true

Affected blocks

Note: This list might differ from the one in MC-109591.

  • redstone_wire(directions)

  • glass_pane (directions)

  • stained_glass_pane (directions)

  • iron_bars (directions)

  • all fences (directions)

  • fire (directions)

  • tripwire (directions)

  • all stairs (shape)

  • cobblestone_wall (directions and up/pillar)

  • grass/dirt/mycelium (snowy)

  • fence_gate (in_wall)

  • powered_repeater (locked)

  • flower_pot (contents)

Linked issues

Comments

migrated

Updated with step to reproduce with fences (thanks Neko!)

_BOBE

This is still broken again. Atleast for stairs in 1.16.1

Reimzon

This need reopened!

migrated

No, the issue in current versions is different. This bug was actually fixed with the flattening; something else broke in 1.16.

migrated

(Unassigned)

Confirmed

blockstate

Minecraft 16w32b, Minecraft 16w35a, Minecraft 16w36a, Minecraft 16w43a

Minecraft 17w47a

Retrieved