Skip to main content

Module ocean_ruin

Module ocean_ruin 

Source
Expand description

Ocean ruin: a base piece from a warm/cold × small/large pool, plus — when large and the cluster check passes — a scatter of smaller ruins with collision checks. Warm uses one piece; cold stacks three (brick + cracked + mossy) from the same index.

Structs§

OceanRuinStructure
Registered under "minecraft:ocean_ruin". Warm/cold are distinguished by entry.structure.path.

Constants§

CLUSTER_OFFSETS 🔒
Vanilla’s 8 candidate offsets around a parent ruin.

Statics§

COLD_BIG_BRICK 🔒
COLD_BIG_CRACKED 🔒
COLD_BIG_MOSSY 🔒
COLD_BRICK 🔒
COLD_CRACKED 🔒
COLD_MOSSY 🔒
WARM_LARGE 🔒
WARM_SMALL 🔒

Functions§

ocean_ruin_piece 🔒
template_bb 🔒

Type Aliases§

ClusterOffset 🔒
(x_base, z_base, x_between, z_between) for a single candidate.