chunky-dev / chunky

A path tracer to create realistic images of your Minecraft worlds.
https://chunky-dev.github.io/docs
GNU General Public License v3.0
633 stars 76 forks source link

Beacon beams are not loaded from save if player is not within ~50 blocks of the Beacon #1723

Open ThisIsBrady opened 2 months ago

ThisIsBrady commented 2 months ago

Minecraft seems to save the Levels tag for the Beacon BlockEntity as 0 instead of the actual value when there are no players within range of the beacon (or maybe when the beacon leaves simulation distance of the server?). Chunky checks that this tag is >0 to determine whether to generate a beam entity for the beacon.

Workarounds for the user include loading the chunks multiple times while moving the player in range of each beacon in the scene, or manually adding BeaconBeam entities through the Entities tab.

A possible solution for Chunky could be to check for at least one layer of valid blocks below the beacon block.

Related discussion in Discord: https://discord.com/channels/541221265512464394/1235105317759746130

NotStirred commented 2 months ago

could we instead always create the beacon beam entity but hide it based on some check? That way it's easy to toggle on.

Alternatively we could add a finalizer that checks for the pyramid etc. that minecraft does