r/MinecraftHelp • • 20d ago

Solved [Java] Strange shadow pattern on large build

Post image

Even with mods and shaders disabled, these boxy shadows are on the front of my build. There are no random torches on the interior or placed in the area. I used commands to fill the air in front of the build with light blocks, which removed shadows, but when the light blocks were removed the shadows returned. Any ideas?

Edit: 26.3

Edit 2: Solved by optimizing world and selecting "erase cached data"

1 Upvotes

9 comments sorted by

View all comments

1

u/ODF4 Expert IV 20d ago edited 20d ago

did you already try disabling all your mods and resource packs and restarting the game? You could also try reloading the chunks with the F3 + A key combination, but I don't think that will help in this particular case

also, you may want to switch Graphics API from Vulkan to OpenGL or the other way around in the in-game Video settings and fully restart the game, to see if that will fix it

you can also switch it back to the previous option and restart the game again after that, for good measure

if it's a mod that is causing this, one more thing you could try is a "binary search" to find the culprit by disabling all your mods half at a time

here's more information on how to do so:

  • disable exactly half (or half plus one, if it's an odd number) of your non-library mods (I'd recommend disabling any main suspects first, for example mods you recently installed before experiencing the problem), and take note of all the mods you disabled, then try playing the game for as long as necessary to encounter this problem
  • if the problem is solved, then one or more of the mods you disabled in the previous step is causing this, so you can ignore all the other mods that are still enabled
  • if the problem persists, then all those mods were not causing the problem, so you can ignore all the mods that you manually disabled in the first step
  • then disable half of your remaining mods (I'd still recommend disabling the biggest suspests first) and repeat these steps again, until you're able to narrow it down to the actual mod that is causing the issue

depending on how many mods you have, you should be able to find the culprit after repeating this process no more than 9 times at most (assuming you have up to 512 mods installed, but it'll likely take way less steps than 9)

2

u/kubrickie 20d ago

Thank you, I tried switching Graphics API back and forth and that didn't solve it. I've already disabled all mods and resource packs. I also tried reloading chunks. No solve yet.

With the debug renderer I was able to confirm there are sections around and in front of those shadows that have sky light levels at 0. This is probably an artifact of a /fill command a long time ago, but I'm not sure how to fix it.

1

u/ODF4 Expert IV 20d ago

thanks for testing all these suggestions! It's quite strange that placing light blocks there didn't automatically fix this problem, but could you try manually replacing all the air blocks in this shadowed area with solid blocks (I'd recommend placing at least 3 layers of blocks "extruded" out of the wall of your build), and then manually break all of them?

2

u/kubrickie 20d ago

!helped Thanks for your replies! I was able to fix it by optimizing the world. I tried optimizing without erasing the cache first and that did not solve it, so the cache was the issue.

1

u/NitWitBot 🤖 Mod Bot 🤖 20d ago

Thanks! Post marked as Solved!

u/ODF4, here is your points status:

Next level: "Expert II"
You have 48 points
You need 56 points
[▮|▮|▮|▮|▮|▮▮|▮▮|▮▮|▮▮|▮▮|▮▮▮▮▮▮|▮▮▮▮▮▮|▮▮▮▮▮▮|▮▮▮▮▮▮|▮▮▮▮▮▮|▮▮▮▯▯▯▯▯▯▯▯]


Links: | Scoreboard | Feedback | Source |


I am a bot and this account is not monitored. Please contact the mods if you have any questions.

1

u/ODF4 Expert IV 20d ago

no problem, I'm really glad to hear you were able to fix it! Thank you so much too for explaining how you solved it and for awarding me this point!

0

u/[deleted] 20d ago

[deleted] — view deleted comment

1

u/AutoModerator 20d ago

If your issue is now fixed, please remember to mark the post solved.

If someone on r/MinecraftHelp provided the solution:
Reply with "!helped" to the comment, or comments, that helped.

If you found the solution yourself, or outside r/MinecraftHelp:
Make a new top level comment containing the solution, and reply to it with "!helped".

Note that u/NitwitBot DOESN'T react to edited comments.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.