OpenCubicChunks / CubicChunks2

Infinite* height mod for Minecraft - rewrite for versions above 1.12
MIT License
72 stars 21 forks source link

Implement MixinLevelChunk.isYSpaceEmpty #42

Open Barteks2x opened 2 years ago

CursedFlames commented 1 year ago

The two callers of this method are PathNavigationRegion and RenderRegionCache.isAllEmpty. PathNavigationRegion doesn't seem to do anything with the result, so in vanilla it's seemingly only used as a rendering optimization. It's possible that mods could use it in unexpected ways though, so I'm not sure whether unloaded sections should count as empty or not?