mojira.dev
MC-157020

/fill fails when removing large amounts of blocks under redstone

The bug

The /fill command fails to replace blocks with air when large amounts of blocks are removed from underneath redstone components. When the command is run a red message appears in the chat saying something along the lines of "an unexpected error occurred". Often (though not always) all of the blocks are removed, however much of the redstone is left floating in the air. Screenshots of the issue and the setup I used for testing are attached.

After a bit of messing around, it seems like 858 is the maximum number of blocks I am able to remove without this occurring. As soon as I create a platform of 859 blocks or larger, this error occurs consistently.

It only seems to happen with redstone components. I tried it with redstone dust and repeaters and the bug occurred, however when I used normal torches I was able to clear a 30x30x30 block without any problems.

How to reproduce

  1. Create a stone platform at least 859 blocks large (30x30 works)

  2. Place redstone dust on every block of the platform

  3. Use /fill to remove the stone

Linked issues

Attachments

Comments 6

j_p_smith

Confirmed in 1.16.1 and 20w28a using the following commands:

/fill ~-20 ~-2 ~-20 ~20 ~-2 ~20 stone
/fill ~-20 ~-1 ~-20 ~20 ~-1 ~20 redstone_wire
/fill ~-20 ~-2 ~-20 ~20 ~-2 ~20 air
Avoma

Can confirm in 20w49a. This same idea also affects redstone repeaters and comparators. Just to add on, the fill command fails and some blocks are left floating in the air.

Giovanni Lanzarote

Still an issue in snapshot 20W51A

Giovanni Lanzarote

Still an issue in snapshot 21w03a

StrikeX2

CR in 1.20.4, see attached video

[media]

[Mod] Jingy

This issue seems to have been fixed in 22w11a. I am able to reproduce the issue up until version 1.18.2, and after that I cannot.

[media]

jmal116

(Unassigned)

Confirmed

(Unassigned)

Minecraft 1.14.3, 1.16.1, 20w28a, 1.16.2, 20w46a, 20w49a, 20w51a, 21w03a

22w11a

Retrieved