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

Related issues

Attachments

Comments

migrated
[media][media][media][media][media]
Irbis

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.

migrated

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.

migrated

Will it happen if you use /clone command?

migrated

Still happening in 19w05a

migrated

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

migrated

Tried what Michal had done, filling a single layer at 254 with stone. Then immediately with air after. This seems to update the sky light, and remove the dark patches on ground left over from /fill command.

migrated

Didn't fix completely , because existed skylight of affected area didn't be removed
http://wx1.sinaimg.cn/mw690/006cE3r0gy1g0lwdueoe3j30no0d8wnt.jpg

TheBoy358

It's mostly MC-142228.

[Mod] Neko

Can still reproduce in 19w09a.

TheBoy358

I can confirm that this bug is still exist in 19w09a I compared it to 19w08b and we can see that is partially fixed. In the screenshot "comparison between 19w08b and 19w09a 3" The lighting on floor is not updated.

TheBoy358

This bu exist in 1.13.2.

bdm68

Fixed for client light but not for server light. `/fill 0 255 0 63 255 63 stone` followed by `/fill 0 255 0 63 255 63 air` will cause client light to work normally but server light remains as if the stone blocks are still there. After replacing the stone blocks with air, hostile mobs will still spawn in this area despite it appearing fully lit and they will not burn.

[Mod] Neko

@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.

migrated

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]
migrated

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.

wobst.michael

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.

migrated

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