Skip to main content

Module nether_fossil

Module nether_fossil 

Source
Expand description

Nether fossil: sample a random (x, z) in the chunk and a uniform Y, then walk the base-noise column down until we find air over solid. Fails if the walk reaches sea level.

Structs§

FossilResult
Result of find_generation_point.
NetherFossilStructure
Entry point used by VanillaGenerator.

Constants§

FOSSIL_COUNT
Fossil templates count (minecraft:nether_fossils/fossil_N).
SEA_LEVEL 🔒

Functions§

find_generation_point
Vanilla’s RNG sequence. Returns None if no air-over-solid transition above sea level.
make_nether_fossil_piece 🔒
resolve_vertical_anchor 🔒
sample_height 🔒