mojira.dev
MC-191096

Fences and walls can no longer be placed in invalid block states by using /setblock or /fill

The bug

Fence and walls can no longer be manually controlled and are always forced to default values:

/setblock ~ ~ ~ minecraft:oak_fence[east=false,north=false,south=false,waterlogged=false,west=true] no longer forces a block with a custom nbt and is always set as false when summoned around air blocks.

The introduction of this occurred in 1.16 Pre-Release 6, the functionality worked up to and including 1.16 Pre-Release 5.

Linked issues

Attachments

Comments 15

This issue relates to MC-189867 

Same issue with iron bars and stained glass panes, nbt is ignored. 

If you create a new 1.15.2 world and summon a fence with a directional e.g. /setblock ~ ~ ~ oak_fence[west=true], then update the world to 1.16.1 the fence does not lose its nbt. 

 

However, new fence blocks set in 1.16.1 do not accept custom nbt. 

This would be better marked as a duplicate and rerouting to MC-191698

Can confirm in 20w49a.

5 more comments

Can confirm in 1.17.

Can confirm in 1.17.1.

Can confirm in 1.18.1.

Can confirm in 1.19 and 1.19.1 Pre-release 1.

Can confirm in 1.19.2.Relates to MC-255254

Joe

Shugoh

Confirmed

Platform

Low

Commands

1.16 Release Candidate 1, 1.16, 1.16.1, 20w27a, 1.16.2, ..., 1.19, 1.19.2, 1.19.4, 23w14a, 1.21.1

24w44a

Retrieved