Skip to content
Configured Carvers

Configured Carvers

Generated page, edit scripts/gen_schema_pages.py instead.

PKL4MC, Configured carver schema for Minecraft 1.20.1

Usage

amends "@pkl4mc/configured_carver.pkl"

Example

amends "@pkl4mc/configured_carver.pkl"

type = "minecraft:cave"
config {
  probability = 0.15
  replaceable = "#minecraft:overworld_carver_replaceables"
  lava_level = new AboveBottomAnchor { above_bottom = 8 }
  y = new UniformCarverHeight {
    min_inclusive = new AboveBottomAnchor { above_bottom = 8 }
    max_inclusive = new AbsoluteAnchor { absolute = 180 }
  }
  yScale = new UniformFloatProvider {
    value { min_inclusive = 0.1; max_exclusive = 0.9 }
  }
  floor_level = new UniformFloatProvider {
    value { min_inclusive = -1.0; max_exclusive = -0.4 }
  }
  horizontal_radius_multiplier = new UniformFloatProvider {
    value { min_inclusive = 0.7; max_exclusive = 1.4 }
  }
  vertical_radius_multiplier = new UniformFloatProvider {
    value { min_inclusive = 0.8; max_exclusive = 1.3 }
  }
}