Skip to main content

Module ruined_portal

Module ruined_portal 

Source
Expand description

Ruined portal. Mirrors vanilla’s RuinedPortalStructure.findGenerationPoint RNG consumption and persists the selected template-backed piece.

Structs§

PortalResult
Result of ruined portal generation point computation.
RuinedPortalStructure
Registered under "minecraft:ruined_portal" and its biome variants (desert / jungle / mountain / ocean / swamp / nether). The terrain closure creates a fresh aquifer + column cache per query since piece gen can probe outside this chunk.

Enums§

TerrainQuery
Terrain query operations needed by the ruined portal generation.
TerrainResult
Result of a terrain query.

Constants§

GIANT_PORTAL_TEMPLATES 🔒
PORTAL_TEMPLATES 🔒

Statics§

BIOME_INFO_NOISE 🔒
FROZEN_TEMPERATURE_NOISE 🔒
TEMPERATURE_NOISE 🔒

Functions§

biome_temperature 🔒
cold_enough_to_snow 🔒
find_generation_point
Matches vanilla’s RuinedPortalStructure.findGenerationPoint.
make_ruined_portal_piece 🔒