mojira.dev
MC-217107

Configuring debug settings for carvers with a block that updates with /setblock is instead replaced with an acacia button

The bug

When configuring debug settings for carvers, and setting the block's name to a block that updates with /setblock (see list in MC-31100), an acacia button is placed instead of the desired block.

In the screenshot attached, although I configured the settings with redstone wire, acacia buttons were placed instead.

[media]

How to reproduce

If these reproduction steps are more complicated than needed, sorry – I am not good with datapacks!

I was able to reproduce this issue by setting up a datapack using @unknown's example worldgen settings (here). I added "debug_mode": true, to the cave carver file under "debug_settings": {, and changed the default block placed to redstone wire (minecraft:redstone_wire) instead of crimson button. I then created a world using the datapack.

Attachments

Comments 2

Could an example of a data pack that produces this issue be uploaded? The GitHub link is broken.

The default air, water, lava, and barrier states all fall back to the default air state (which I think is a separate bug), which is an acacia button. I imagine the issue here is that you're specifying an invalid block state, which falls back to the default value for the field rather than failing to parse the entire carver configuration.

Can anyone still confirm this as of the latest versions? I cannot reproduce, it correctly appears as red stone wires now:

image-20260311-050122.png

This is most likely due to format changes across versions, 1.21.11 datapack:

[media]


markderickson

(Unassigned)

Confirmed

Platform

Low

Debug

21w08b, 21w10a, 21w16a

Retrieved