RegionIO/internal/worldgen
Daniar Mannanov 798a3ec7b4 world: port ruined portal generation point and expose pre-carve terrain
generateBaseTerrain now factors the noise+surface stage out of chunk
generation so structure placement can read pre-carve heights exactly
like vanilla's STRUCTURE_STARTS stage. RuinedPortalGenerationPoint
replays the ruined_portals set: the weighted pick across all seven
variants on its own stream, each attempt's setup/template/rotation/
mirror draws on a fresh GenerationContext stream (makeRandom reseeds
per attempt, confirmed from bytecode), findSuitableY with corner-column
settle scan against those heights, and the post-draw 3D-biome filter at
quart-snapped coordinates.

Known gap, documented in STRUCTURE_NOTES.md: no variant is accepted in
the window around the fixture's portal yet while vanilla placed one;
the biome/surface inputs need a vanilla-side probe to bisect. Not wired
into the production replay until that closes.
2026-08-26 13:56:51 +03:00
..
data worldgen: load structure templates and transform them like vanilla 2026-08-26 11:40:23 +03:00
aquifer.go Implement the vanilla Aquifer; stop flooding caves 2026-07-27 02:02:12 +03:00
bandlands.go Real badlands clay bands and a real biome temperature table 2026-07-27 02:31:10 +03:00
biome.go worldgen: add vanilla biome search and decoration RNG 2026-08-25 10:24:19 +03:00
biome_temperature.go world: port ruined portal generation point and expose pre-carve terrain 2026-08-26 13:56:51 +03:00
biome_test.go worldgen: add vanilla biome search and decoration RNG 2026-08-25 10:24:19 +03:00
blended.go Initial commit: RegionIO Minecraft server core (26.1.2/protocol 775) 2026-06-24 00:32:51 +03:00
blended_test.go Initial commit: RegionIO Minecraft server core (26.1.2/protocol 775) 2026-06-24 00:32:51 +03:00
blendedcompute_test.go Initial commit: RegionIO Minecraft server core (26.1.2/protocol 775) 2026-06-24 00:32:51 +03:00
blockids.go Bind the surface rule tree to the world seed 2026-07-27 02:25:09 +03:00
carver.go Configured carvers: caves and canyons 2026-07-27 03:58:56 +03:00
carver_random_test.go Configured carvers: caves and canyons 2026-07-27 03:58:56 +03:00
climate_sampler.go 3D per-cell biomes (4x4x4) with surface/underground/cave layers 2026-06-24 01:04:01 +03:00
density.go Parse aquifer and ore-vein noise routers 2026-07-27 01:44:45 +03:00
density_bench_test.go Initial commit: RegionIO Minecraft server core (26.1.2/protocol 775) 2026-06-24 00:32:51 +03:00
feature_data.zip Load vanilla feature stages and place ores 2026-08-10 23:20:43 +03:00
features.go worldgen: parse configured feature definitions 2026-08-25 10:24:19 +03:00
features_cannot_replace.go world: replay stage-3 monster rooms 2026-08-26 02:49:33 +03:00
features_test.go worldgen: parse configured feature definitions 2026-08-25 10:24:19 +03:00
generated_blocks.go Add StructureManager and NBT template loader for large structures 2026-06-27 21:28:11 +03:00
improved_noise.go Initial commit: RegionIO Minecraft server core (26.1.2/protocol 775) 2026-06-24 00:32:51 +03:00
improved_noise_test.go Initial commit: RegionIO Minecraft server core (26.1.2/protocol 775) 2026-06-24 00:32:51 +03:00
loader.go Ore veins from the noise router 2026-07-27 03:48:48 +03:00
loadtest_test.go Initial commit: RegionIO Minecraft server core (26.1.2/protocol 775) 2026-06-24 00:32:51 +03:00
mth.go Configured carvers: caves and canyons 2026-07-27 03:58:56 +03:00
noise_test.go Initial commit: RegionIO Minecraft server core (26.1.2/protocol 775) 2026-06-24 00:32:51 +03:00
normal_noise.go Initial commit: RegionIO Minecraft server core (26.1.2/protocol 775) 2026-06-24 00:32:51 +03:00
orevein.go Ore veins from the noise router 2026-07-27 03:48:48 +03:00
perlin_noise.go Initial commit: RegionIO Minecraft server core (26.1.2/protocol 775) 2026-06-24 00:32:51 +03:00
random.go worldgen: parse structure sets and place them on the vanilla grid 2026-08-26 10:33:10 +03:00
random_test.go worldgen: add vanilla biome search and decoration RNG 2026-08-25 10:24:19 +03:00
randomstate.go Restore the subsurface layers: real above_preliminary_surface and surface depth 2026-07-27 02:15:14 +03:00
router_test.go Parse aquifer and ore-vein noise routers 2026-07-27 01:44:45 +03:00
simple.go Initial commit: RegionIO Minecraft server core (26.1.2/protocol 775) 2026-06-24 00:32:51 +03:00
simplex_noise.go worldgen: add vanilla biome search and decoration RNG 2026-08-25 10:24:19 +03:00
simplex_noise_test.go worldgen: add vanilla biome search and decoration RNG 2026-08-25 10:24:19 +03:00
spline.go Initial commit: RegionIO Minecraft server core (26.1.2/protocol 775) 2026-06-24 00:32:51 +03:00
structure.go Bind the surface rule tree to the world seed 2026-07-27 02:25:09 +03:00
structure_manager.go Fix structures tearing apart and floating due to inconsistent baseY calculations 2026-06-27 21:54:08 +03:00
STRUCTURE_NOTES.md world: port ruined portal generation point and expose pre-carve terrain 2026-08-26 13:56:51 +03:00
structure_template.go world: port ruined portal generation point and expose pre-carve terrain 2026-08-26 13:56:51 +03:00
structure_template_test.go worldgen: load structure templates and transform them like vanilla 2026-08-26 11:40:23 +03:00
structures.go world: port ruined portal generation point and expose pre-carve terrain 2026-08-26 13:56:51 +03:00
surface.go Configured carvers: caves and canyons 2026-07-27 03:58:56 +03:00
surface_level.go Parse aquifer and ore-vein noise routers 2026-07-27 01:44:45 +03:00
surface_system.go Restore the subsurface layers: real above_preliminary_surface and surface depth 2026-07-27 02:15:14 +03:00
surface_test.go Real badlands clay bands and a real biome temperature table 2026-07-27 02:31:10 +03:00
template_cache.go Add StructureManager and NBT template loader for large structures 2026-06-27 21:28:11 +03:00