mojira.dev
MC-139446

Sky light not recalculated when blocks placed in air with /fill command

The bug

When blocks are placed in the world with the fill command, the sky light is not recalculated for the blocks below the placed blocks.

How to reproduce

  1. Create a new superflat world

  2. Go to 0, 0

  3. Run

    /fill 0 255 0 63 255 63 stone
  4. Check the sky light below the filled area
    → ❌ It is 15 when lower values should be expected

Linked issues

Attachments

Comments 17

It looks like revert of this fix: MC-137903

EDIT: When you fill at 255 height - none of light update - not server, nor client. When I filled at 254 after that - server light updated, but client light did not.

Seems to be happening in 19w04b in a map I'm working on in a void world. Filling in areas with hollow boxes of black_concrete and the inside is staying lit every here and there. Not the entire thing but not 100% sure on that.

Will it happen if you use /clone command?

Still happening in 19w05a

Sometimes it will happen when you are in a enclosure space and rejoin the game, even if the enclosure space is not built with /fill command. Before you quit the game, there is not the skylight(it's normal), but if you rejoin the game, it will probably appear partial and weird skylight

7 more comments

@unknown: I wasn't able to reproduce with the same steps. The mobs that were there start to burn and no mobs continue to spawn. The F3 screen also shows that the server light is 15.

Our Minecraft server is currently running 1.14.2. I've been affected by this lighting bug for my witch farm. Only half of it is dark at the moment, despite putting a roof over the entirety of it. I loaded a backup of the world in 1.14.3 pre release 4 to make sure the farm would be fixed in the next update and the lighting bug still occurs. I have tried removing the roof of the farm and replacing it, but the lighting bug is still there. I attached a copy of my world as well as screenshots showing the bug.

Steps to reproduce:

Go to 1600, 60, 280

Use the /fill 1610 71 270 1565 71 315 air to remove the current roof

Use  /fill 1610 71 270 1565 71 315 smooth_stone_slab to add a new roof

 

I did try the steps listed above to reproduce the bug and the bug didn't occur so I'm guessing this might have to do with updating a current world.

 

[media]

The initial roof was not made with the /fill command. I replaced the roof manually first without any luck. I then used the fill command with no luck. No other blocks were placed using the command.

Then you're having a different issue it seems. Follow the steps provided in the Moderator Notice in MC-142134 and see if this fixes your issue.

I just tried it and yes, it did fix my issue, thank you

bdm68

Fry

Confirmed

Lighting

Minecraft 18w46a, Minecraft 18w47b, Minecraft 18w48a, Minecraft 18w48b, Minecraft 19w04b, Minecraft 19w05a, Minecraft 19w08a, Minecraft 19w08b, Minecraft 19w09a, Minecraft 19w14b

Minecraft 19w09a, Minecraft 1.14 Pre-Release 3

Retrieved