RegionIO/internal/worldgen
Daniar Mannanov 90eb08f37d world: ruined portal stub matches vanilla's saved start bit-for-bit
Three fixes close the loop against the captured region file: the giant
roll precedes the template draw, surfaceY is the topmost non-air block
(getHeight already returns one past it), and structure biome refs
resolve through has_structure/ tags to the extracted tag files. The
weighted variant pick walks a fresh per-attempt GenerationContext
stream while failed entries drop from the pick stream without reseeding.

TestRuinedPortalStubMatchesVanillaStart pins chunk (1,0) to vanilla's
own saved start: portal_6, CLOCKWISE_90, mirror NONE, air pocket,
template position (16,12,0) — and asserts the neighbouring fixture
chunks stay portal-free.
2026-08-26 14:42:18 +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: ruined portal stub matches vanilla's saved start bit-for-bit 2026-08-26 14:42:18 +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