Commoble / hyperbox

A minecraft forge mod that adds a box that's smaller on the outside than it is on the inside
MIT License
3 stars 1 forks source link

Lighting breaks when chunkloaded. #22

Open Revv1e opened 6 months ago

Revv1e commented 6 months ago

Unfortunately it seems like when the chunk for the hyperbox is loaded, all lighting turns into a 1 block wide spot, and it doesnt illuminate the whole area...

https://imgur.com/a/BRWmroW

This ends up preventing any crops being placed.

This doesnt seem to be an issue when the chunk is not loaded.

Revv1e commented 6 months ago

Actually, I just checked, I have another hyperbox chunkloaded and the lighting isnt breaking there, the only difference between them is that broken lights box has pipes leading to the apertures.

Revv1e commented 6 months ago

Just checked and nope, the lighting still breaks anyways even without the aperture being used

Commoble commented 5 months ago

Are you using something to keep the chunk from unloading?

Are you keeping the internal hyperbox chunk loaded, or the parent chunk in the outer world unloaded?

Hyperbox already keeps the internal chunk force-loaded while the parent chunk is loaded, so if you forceload the internal chunk yourself then it might cause strangeness. If this is what you're doing, does it work correctly if you keep the parent chunk loaded instead?

Revv1e commented 5 months ago

Using ftb chunks to keep both the outside and inside chunkloaded So far it fixed when I broke the hyperbox and placed it again, will go to keeping the parent chunk loaded only

does this work if there are hyperboxes inside of hyperboxes?

Commoble commented 5 months ago

When you have hyperboxes inside of hyperboxes, as long as the parent chunk is loaded, the outer hyperbox will be loaded, and therefore so will the inner hyperbox (or at least that's the intention)