mojira.dev
MC-203304

Certain blockstates are ignored when using /setblock

The /setblock command does not create blocks using the blockstates defined by the user in their command, instead the placed block will change some of its blockstates to be the same as if the block had been placed by a hand.

Below I have a few examples comparing 1.15 to 1.16 this most likely is not a list that contains all of the blockstates which are ignored upon creating a block with /setblock but it should hopefully give you a good idea of what the issue is so that it can be fixed.

 

Stairs:

Ignored blockstates - "shape"

Command used in example - "/setblock ~-3 ~ ~ minecraft:oak_stairs[facing=west, half=bottom, shape=inner_left, waterlogged=false]"

[media]

 

[media]

 

Fence / Iron bars / Glass Pane:

Ignored blockstates - "north", "east", "south", "west"

Command used in example - "/setblock ~-3 ~ ~ minecraft:{oak_fence/iron_bars/glass_pane}[north=true, south=true, east=false, west=false, waterlogged=false]"

[media]

 

[media][media]

 

[media][media]

 

[media]

 

Wall:

Ignored blockstates - "up", "north", "east", "south", "west"

Command used in 1.15 example - "/setblock ~-3 ~ ~ minecraft:cobblestone_wall[north=true, south=true, east=false, west=false, waterlogged=false]"

Command used in 1.16 example - "/setblock ~-3 ~ ~ minecraft:cobblestone_wall[up=false, north=tall, south=low, east=none, west=none, waterlogged=false]"

[media]

 

[media]

 

Fence gate:

Ignored blockstates - "in_wall"

Command used in example - "/setblock ~-3 ~ ~ minecraft:oak_fence_gate[facing=east, open=false, in_wall=false, powered=false]"

[media]

 

[media]

Linked issues

Attachments

Comments 1

Thank you for your report!
We're tracking this issue in MC-191096, MC-191698, and MC-192498, so this ticket is being resolved and linked as a duplicate.

If you would like to add a vote and any extra information to the main ticket it would be appreciated.

If you haven't already, you might like to make use of the search feature to see if the issue has already been mentioned.

Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki
-- I am a bot. This action was performed automatically! Please report any issues in Discord or Reddit

Alex Royle

(Unassigned)

Unconfirmed

(Unassigned)

1.16.3, 1.16.4 Release Candidate 1

Retrieved