Commit a29a4a8
fix: SurfaceRuleProcessor crash - chunk unavailable during world generation
WorldGenRegion.getChunk() throws IllegalStateException when
SurfaceRuleProcessor.process() -> CarvingContext.topMaterial() ->
BiomeManager.getNoiseBiomeAtPosition() samples biome data from
chunks outside the generation region boundary.
This occurs during Aether structure placement when a block near
the edge of the ±1 chunk bounds triggers a biome quart lookup
that reaches into ±2 chunk range.
Fix: wrap topMaterial() call in try-catch, fall back to unmodified
block info when the chunk is unavailable. Structure blocks at
affected positions use default Aether surface block instead.
Fixes crash: java.lang.IllegalStateException: Requested chunk
unavailable during world generation
Crash UUID: 1ef27643-a82d-409d-a256-7bd08f8f06e9
Version bump: 1.5.11 -> 1.5.12 (uto26)
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent af55d29 commit a29a4a8
File tree
2 files changed
+13
-3
lines changed- src/main/java/com/aetherteam/aether/world/processor
2 files changed
+13
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| |||
Lines changed: 11 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
57 | | - | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
58 | 68 | | |
59 | 69 | | |
60 | 70 | | |
| |||
0 commit comments