Repository navigation
Open
Labels
documentationImprovements or additions to documentationImprovements or additions to documentationgood first issueGood for newcomersGood for newcomerspriority: mediumworldgenWorld Generation RelatedWorld Generation Related
Description
Small corrections to engine/sema/helpdocs/density.md and the sky-islands example, found while checking the helper text against the 26.3 vanilla data and Mojang's snapshot notes.
helpdocs/density.md
end_outer_islandssays "The End's island terrain: the main island in the middle, and scattered islands beyond 1024 blocks." Since 26.3 Snapshot 6 the function was renamed fromend_islandsand "no longer computes the density of the main island". Vanilla now builds the main island separately inend/islands.jsonfromdistance_to_point(clamp(100 − d, −100, 80) − 8) / 128, sliced at y = 0) andmaxes it withend_outer_islands. Suggested text: "The End's outer islands only. The main island is built separately fromdistance_to_point; see vanillaend/islands."half_negativesays "Vanilla uses it to soften cave walls." Vanilla's only use is on thejaggednoise insideoverworld/sloped_cheese(and the amplified/large-biomes variants):jaggedness * half_negative(noise(jagged, 1500, 0)), which biases mountain peaks upward. Cave walls are not involved.mulsays "Vanilla stops computingrightwhereleftis 0." The static-range short-circuit existed through 1.21; I could not confirm it survived the 26.3 single-precision rewrite (Snapshot 7). Suggest hedging or dropping the sentence.interpolatedcould mention the vanilla cells (4, 8for overworld/nether/caves,8, 4for the End,16, 1forchunk_surface_level) and that thresholds (range_choice, thinabstubes) belong outside it, since interpolation blurs a sign change across the cell.noiseshift_x/shift_z: "Vanilla usesShiftA/ShiftB" is right; worth adding thatshift_bsamples with x and z swapped so the two warps are decorrelated, and that the vanilla files areminecraft:shift_x/minecraft:shift_z, which a pack can reference directly to line up with vanilla coastlines.
examples/sky-islands/terrain.mms
islandsis used asfinal_densitywith noInterpolated, so a 3D noise is sampled at every block. Wrapping it (Interpolated(islands, 4, 8)or aSqueezearound that, as vanilla does) is both faster and the pattern the example should teach.- No
Beardifier(); fine for islands, but a one-line comment saying so would stop people copying the omission into overworld-style packs (26.3 no longer adds it implicitly).
Sources
- 26.3 Snapshot 6: https://www.minecraft.net/en-us/article/minecraft-26-3-snapshot-6
- 26.3 Snapshot 4: https://www.minecraft.net/en-us/article/minecraft-26-3-snapshot-4
- Vanilla 26.3 files: https://github.com/misode/mcmeta/tree/26.3-data/data/minecraft/worldgen/density_function
Generated by Claude Code
Metadata
Metadata
Assignees
Labels
documentationImprovements or additions to documentationImprovements or additions to documentationgood first issueGood for newcomersGood for newcomerspriority: mediumworldgenWorld Generation RelatedWorld Generation Related
Activity