import type { CaveSurface, FloatProvider, IntProvider } from 'sandstone/arguments/generated/data/worldgen.ts' import type { BlockPredicate } from 'sandstone/arguments/generated/data/worldgen/feature/block_predicate.ts' import type { BlockStateProviderRef, } from 'sandstone/arguments/generated/data/worldgen/feature/block_state_provider.ts' import type { ConfiguredDecorator } from 'sandstone/arguments/generated/data/worldgen/feature/decorator.ts' import type { PlacedFeatureListRef, PlacedFeatureRef, } from 'sandstone/arguments/generated/data/worldgen/feature/placement.ts' import type { FallenTreeConfig, TreeConfig } from 'sandstone/arguments/generated/data/worldgen/feature/tree.ts' import type { ProcessorListRef, RuleTest } from 'sandstone/arguments/generated/data/worldgen/processor_list.ts' import type { Registry } from 'sandstone/arguments/generated/registry.ts' import type { BlockState } from 'sandstone/arguments/generated/util/block_state.ts' import type { Direction, VerticalDirection } from 'sandstone/arguments/generated/util/direction.ts' import type { FluidState } from 'sandstone/arguments/generated/util/fluid_state.ts' import type { Rotation, WeightedList } from 'sandstone/arguments/generated/util.ts' import type { RootNBT } from 'sandstone/arguments/nbt.ts' import type { NamespacedString, NBTFloat, NBTInt, NBTList, StructureClass, TagClass } from 'sandstone' export type BlockBlobConfig = { state: BlockState, can_place_on: BlockPredicate, } export type BlockColumnConfig = { /** * Value: * * - Down(`down`) * - Up(`up`) * - North(`north`) * - East(`east`) * - South(`south`) * - West(`west`) */ direction: Direction, allowed_placement: BlockPredicate, prioritize_tip: boolean, layers: Array, } export type BlockColumnLayer = { height: IntProvider>, provider: BlockStateProviderRef, } export type BlockPileConfig = { state_provider: BlockStateProviderRef, } export type BlockPlacer = NonNullable<({ [S in Extract, string>]?: ({ type: S, } & (S extends keyof SymbolBlockPlacer ? SymbolBlockPlacer[S] : RootNBT)) }[Extract])> export type BlockStateRuleProviderEntry = { if_true: BlockPredicate, then: BlockStateProviderRef, } export type ColumnPlacer = { size: IntProvider>, } export type ColumnsConfig = { block: BlockStateProviderRef, can_replace: BlockPredicate, continue_through: BlockPredicate, cannot_place_on: (( | Registry['minecraft:block'] | `#${Registry['minecraft:tag/block']}` | TagClass<'block'>) | Array), column_reach: IntProvider>, column_count: IntProvider>, height: IntProvider>, /** * The effective reach is limited by `height`. */ cluster_reach: IntProvider>, } export type ConfiguredFeature = NonNullable<({ [S in Extract, string>]?: ({ type: S, } & (S extends keyof SymbolFeatureConfig ? SymbolFeatureConfig[S] : RootNBT)) }[Extract])> export type ConfiguredFeatureRef = (Registry['minecraft:worldgen/feature'] | ConfiguredFeature) export type CoralConfig = { feature: PlacedFeatureRef, } export type DecoratedConfig = { decorator: ConfiguredDecorator, feature: FeatureRef, } export type DeltaConfig = { contents: BlockState, rim: BlockState, size: IntProvider>, rim_size: IntProvider>, } export type DiskConfig = { state_provider: BlockStateProviderRef, radius: IntProvider>, /** * Value: * Range: 0..4 */ half_height: NBTInt<{ min: 0, max: 4, }>, target: BlockPredicate, } export type EmeraldOreConfig = { state: BlockState, target: BlockState, } export type EndGatewayConfig = { exact: boolean, /** * Value: * List length range: 3 */ exit?: NBTList, } export type EndPodiumConfig = { /** * Defaults to `false`. */ active?: boolean, } export type EndSpike = { centerX: NBTInt, centerZ: NBTInt, radius: NBTInt, height: NBTInt, guarded?: boolean, } export type EndSpikeConfig = { spikes: Array, crystal_invulnerable?: boolean, /** * Value: * List length range: 3 */ crystal_beam_target?: NBTList, } export type FeatureRef = PlacedFeatureRef export type FillLayerConfig = { state: BlockState, /** * Value: * Range: 0..255 */ height: NBTInt<{ min: 0, }>, } export type ForestRockConfig = { state: BlockState, } export type FossilConfig = { /** * If more corners are exposed to air, feature placement is cancelled. * * Value: * Range: 0..7 */ max_empty_corners_allowed: NBTInt<{ min: 0, max: 7, }>, fossil_structures: Array<(Registry['minecraft:structure'] | StructureClass)>, overlay_structures: Array<(Registry['minecraft:structure'] | StructureClass)>, fossil_processors: ProcessorListRef, overlay_processors: ProcessorListRef, } export type GeodeBlockSettings = { filling_provider: BlockStateProviderRef, inner_layer_provider: BlockStateProviderRef, alternate_inner_layer_provider: BlockStateProviderRef, middle_layer_provider: BlockStateProviderRef, outer_layer_provider: BlockStateProviderRef, /** * Value: * List length range: 1.. */ inner_placements: NBTList, /** * Blocks that will not be replaced by the geode. */ cannot_replace: (( | Registry['minecraft:block'] | `#${Registry['minecraft:tag/block']}` | TagClass<'block'>) | Array), /** * When encountering an invalid block, feature placement is cancelled. */ invalid_blocks: (( | Registry['minecraft:block'] | `#${Registry['minecraft:tag/block']}` | TagClass<'block'>) | Array), } export type GeodeConfig = { blocks: GeodeBlockSettings, layers: GeodeLayerSettings, crack: GeodeCrackSettings, /** * Value: * Range: 0..1 */ noise_multiplier?: NBTFloat<{ leftExclusive: false, rightExclusive: false, min: 0, max: 1, }>, /** * Value: * Range: 0..1 */ use_potential_placements_chance?: NBTFloat<{ leftExclusive: false, rightExclusive: false, min: 0, max: 1, }>, /** * Value: * Range: 0..1 */ use_alternate_layer0_chance?: NBTFloat<{ leftExclusive: false, rightExclusive: false, min: 0, max: 1, }>, placements_require_layer0_alternate?: boolean, outer_wall_distance?: IntProvider>, distribution_points?: IntProvider>, point_offset?: IntProvider>, min_gen_offset?: NBTInt, max_gen_offset?: NBTInt, invalid_blocks_threshold: NBTInt, } export type GeodeCrackSettings = { /** * Value: * Range: 0..1 */ generate_crack_chance?: NBTFloat<{ leftExclusive: false, rightExclusive: false, min: 0, max: 1, }>, /** * Value: * Range: 0..5 */ base_crack_size?: NBTFloat<{ leftExclusive: false, rightExclusive: false, min: 0, }>, /** * Value: * Range: 0..10 */ crack_point_offset?: NBTInt<{ min: 0, max: 10, }>, } export type GeodeLayerSettings = { /** * Value: * Range: 0.01..50 */ filling?: NBTFloat<{ leftExclusive: false, rightExclusive: false, min: 0, }>, /** * Value: * Range: 0.01..50 */ inner_layer?: NBTFloat<{ leftExclusive: false, rightExclusive: false, min: 0, }>, /** * Value: * Range: 0.01..50 */ middle_layer?: NBTFloat<{ leftExclusive: false, rightExclusive: false, min: 0, }>, /** * Value: * Range: 0.01..50 */ outer_layer?: NBTFloat<{ leftExclusive: false, rightExclusive: false, min: 0, }>, } export type GrowingPlantConfig = { /** * Value: * * - Down(`down`) * - Up(`up`) * - North(`north`) * - East(`east`) * - South(`south`) * - West(`west`) */ direction: Direction, allow_water: boolean, height_distribution: WeightedList>, body_provider: BlockStateProviderRef, head_provider: BlockStateProviderRef, } export type HugeFungusConfig = { hat_state: BlockState, decor_state: BlockState, stem_state: BlockState, valid_base_block: BlockState, planted?: boolean, replaceable_blocks: BlockPredicate, } export type HugeMushroomConfig = { cap_provider: BlockStateProviderRef, stem_provider: BlockStateProviderRef, foliage_radius: NBTInt, can_place_on: BlockPredicate, } export type IcebergConfig = { state: BlockState, } export type LakeConfig = { fluid: BlockStateProviderRef, barrier: BlockStateProviderRef, can_place_feature: BlockPredicate, can_replace_with_air_or_fluid: BlockPredicate, can_replace_with_barrier: BlockPredicate, } export type LargeDripstoneConfig = { replaceable_blocks: ( | Array | ( Registry['minecraft:block'] | `#${Registry['minecraft:tag/block']}` | TagClass<'block'>)), /** * Value: * Range: 1..512 */ floor_to_ceiling_search_range?: NBTInt<{ min: 1, }>, column_radius: IntProvider>, height_scale: FloatProvider>, /** * Value: * Range: 0..1 */ max_column_radius_to_cave_height_ratio: NBTFloat<{ leftExclusive: false, rightExclusive: false, min: 0, max: 1, }>, stalactite_bluntness: FloatProvider>, stalagmite_bluntness: FloatProvider>, wind_speed: FloatProvider>, /** * Value: * Range: 0..100 */ min_radius_for_wind: NBTInt<{ min: 0, max: 100, }>, /** * Value: * Range: 0..1 */ min_bluntness_for_wind: NBTFloat<{ leftExclusive: false, rightExclusive: false, min: 0, max: 1, }>, } export type ModernNetherVegetationConfig = { /** * Value: * Range: 1.. */ spread_width: NBTInt<{ min: 1, }>, /** * Value: * Range: 1.. */ spread_height: NBTInt<{ min: 1, }>, } export type ModernPatchConfig = { /** * Defaults to 7. * * Value: * Range: 0.. */ xz_spread?: NBTInt<{ min: 0, }>, /** * Defaults to 3. * * Value: * Range: 0.. */ y_spread?: NBTInt<{ min: 0, }>, feature: FeatureRef, } export type MultifaceBlock = ('glow_lichen' | 'sculk_vein') export type MultifaceGrowthConfig = ({ /** * Value: * * - GlowLichen(`glow_lichen`) * - SculkVein(`sculk_vein`) */ block: (MultifaceBlock | `minecraft:${MultifaceBlock}`), } & { /** * Value: * Range: 1..64 */ search_range?: NBTInt<{ min: 1, max: 64, }>, /** * Value: * Range: 0..1 */ chance_of_spreading?: NBTFloat<{ leftExclusive: false, rightExclusive: false, min: 0, max: 1, }>, can_place_on_floor?: boolean, can_place_on_ceiling?: boolean, can_place_on_wall?: boolean, can_be_placed_on?: ( | Array | ( Registry['minecraft:block'] | `#${Registry['minecraft:tag/block']}` | TagClass<'block'>)), }) export type NetherForestVegetationConfig = ({ state_provider: BlockStateProviderRef, } & { /** * Value: * Range: 1.. */ spread_width: NBTInt<{ min: 1, }>, /** * Value: * Range: 1.. */ spread_height: NBTInt<{ min: 1, }>, }) export type NetherrackReplaceBlobsConfig = { state: BlockState, target: BlockState, radius: IntProvider>, } export type OldPatchConfig = { can_replace?: boolean, project?: boolean, need_water?: boolean, /** * Value: * Range: 0.. */ xspread?: NBTInt<{ min: 0, }>, /** * Value: * Range: 0.. */ yspread?: NBTInt<{ min: 0, }>, /** * Value: * Range: 0.. */ zspread?: NBTInt<{ min: 0, }>, state_provider: BlockStateProviderRef, block_placer: BlockPlacer, whitelist: Array, blacklist: Array, } export type OldSimpleBlockConfig = { place_on: Array, place_in: Array, place_under: Array, } export type OptionalSimpleBlockConfig = { place_on?: Array, place_in?: Array, place_under?: Array, } export type OreConfig = { targets: Array, /** * Value: * Range: 0..64 */ size: NBTInt<{ min: 0, max: 64, }>, /** * Chance that feature placement will be discarded if the ore is exposed to air blocks. * * Value: * Range: 0..1 */ discard_chance_on_air_exposure: NBTFloat<{ leftExclusive: false, rightExclusive: false, min: 0, max: 1, }>, } export type OverlayConfig = { /** * The features to generate, in order. \ * All features are placed regardless of individual placement success. */ features: PlacedFeatureListRef, } export type ProbabilityConfig = { /** * Value: * Range: 0..1 */ probability: NBTFloat<{ leftExclusive: false, rightExclusive: false, min: 0, max: 1, }>, } export type ProjectedSquareConfig = { block: BlockStateProviderRef, project_through: BlockPredicate, size: IntProvider>, /** * Value: * Range: 0.. */ max_projection_height: NBTInt<{ min: 0, }>, } export type RandomBooleanSelector = { feature_false: FeatureRef, feature_true: FeatureRef, } export type RandomFeatureEntry = { /** * Value: * Range: 0..1 */ chance: NBTFloat<{ leftExclusive: false, rightExclusive: false, min: 0, max: 1, }>, feature: FeatureRef, } export type RandomNeighborSpreadConfig = { block: BlockStateProviderRef, accepted_neighbors: (( | Registry['minecraft:block'] | `#${Registry['minecraft:tag/block']}` | TagClass<'block'>) | Array), can_replace: BlockPredicate, attempts: IntProvider>, xz_offset: IntProvider>, y_offset: IntProvider>, } export type RandomPatchConfig = ({ /** * How many attempts will be made to find a placement. Defaults to 128. * * Value: * Range: 1.. */ tries?: NBTInt<{ min: 1, }>, } & { /** * Defaults to 7. * * Value: * Range: 0.. */ xz_spread?: NBTInt<{ min: 0, }>, /** * Defaults to 3. * * Value: * Range: 0.. */ y_spread?: NBTInt<{ min: 0, }>, feature: FeatureRef, }) export type RandomSelector = { features: Array<{ /** * Value: * Range: 0..1 */ chance: NBTFloat<{ leftExclusive: false, rightExclusive: false, min: 0, max: 1, }>, feature: FeatureRef, }>, default: FeatureRef, } export type ReplaceSingleBlockConfig = { targets: Array, } export type RootSystemConfig = { /** * Value: * Range: 1..64 */ required_vertical_space_for_tree: NBTInt<{ min: 1, max: 64, }>, /** * Value: * Range: 0..16 */ level_test_distance: NBTInt<{ min: 0, max: 16, }>, /** * Value: * Range: 0..64 */ max_level_deviation: NBTInt<{ min: 0, max: 64, }>, /** * Value: * Range: 1..64 */ root_radius: NBTInt<{ min: 1, max: 64, }>, /** * Value: * Range: 1..256 */ root_placement_attempts: NBTInt<{ min: 1, }>, /** * Value: * Range: 1..4096 */ root_column_max_height: NBTInt<{ min: 1, }>, /** * Value: * Range: 1..64 */ hanging_root_radius: NBTInt<{ min: 1, max: 64, }>, /** * Value: * Range: 1..16 */ hanging_roots_vertical_span: NBTInt<{ min: 1, max: 16, }>, /** * Value: * Range: 0..256 */ hanging_root_placement_attempts: NBTInt<{ min: 0, }>, /** * Value: * Range: 1..64 */ allowed_vertical_water_for_tree: NBTInt<{ min: 1, max: 64, }>, root_replaceable: (( | Registry['minecraft:block'] | `#${Registry['minecraft:tag/block']}` | TagClass<'block'>) | Array), root_state_provider: BlockStateProviderRef, hanging_root_state_provider: BlockStateProviderRef, allowed_tree_position: BlockPredicate, feature: FeatureRef, } export type RuleBasedBlockStateProvider = ({ fallback?: BlockStateProviderRef, } & { rules: Array<{ if_true: BlockPredicate, then: BlockStateProviderRef, }>, }) export type SculkPatchConfig = { /** * Value: * Range: 1..32 */ charge_count: NBTInt<{ min: 1, max: 32, }>, /** * Value: * Range: 1..500 */ amount_per_charge: NBTInt<{ min: 1, }>, /** * Value: * Range: 1..64 */ spread_attempts: NBTInt<{ min: 1, max: 64, }>, /** * Value: * Range: 0..8 */ growth_rounds: NBTInt<{ min: 0, max: 8, }>, /** * Value: * Range: 0..8 */ spread_rounds: NBTInt<{ min: 0, max: 8, }>, } export type SeaPickleConfig = { count: IntProvider>, } export type SequenceConfig = { /** * The features to generate, in order. \ * If any feature in the list is not placed, the following features will also be skipped. */ features: PlacedFeatureListRef, } export type SimpleBlockConfig = { to_place: BlockStateProviderRef, /** * Whether to schedule a block update. Defaults to `false`. */ schedule_tick?: boolean, } export type SimpleRandomSelectorConfig = { features: PlacedFeatureListRef, } export type SingleBlockPillarConfig = { block: BlockStateProviderRef, /** * Defaults to "always true". */ can_replace?: BlockPredicate, /** * Value: * * - Down(`down`) * - Up(`up`) */ direction: VerticalDirection, /** * Defaults to 1. * * Value: * Range: 0..1 */ chance_to_continue?: NBTFloat<{ leftExclusive: false, rightExclusive: false, min: 0, max: 1, }>, cap_feature?: PlacedFeatureRef, } export type SmallDripstoneConfig = { /** * Value: * Range: 0..100 */ max_placements?: NBTInt<{ min: 0, max: 100, }>, /** * Value: * Range: 0..20 */ empty_space_search_radius?: NBTInt<{ min: 0, max: 20, }>, /** * Value: * Range: 0..20 */ max_offset_from_origin?: NBTInt<{ min: 0, max: 20, }>, /** * Value: * Range: 0..1 */ chance_of_taller_dripstone?: NBTFloat<{ leftExclusive: false, rightExclusive: false, min: 0, max: 1, }>, } export type SpeleothemClusterConfig = { base_block: BlockState, pointed_block: BlockState, replaceable_blocks: ( | Array | ( Registry['minecraft:block'] | `#${Registry['minecraft:tag/block']}` | TagClass<'block'>)), /** * Value: * Range: 1..512 */ floor_to_ceiling_search_range: NBTInt<{ min: 1, }>, height: IntProvider>, radius: IntProvider>, /** * Max height difference between the stalagmite and stalactite. * * Value: * Range: 0..64 */ max_stalagmite_stalactite_height_diff: NBTInt<{ min: 0, max: 64, }>, /** * Value: * Range: 1..64 */ height_deviation: NBTInt<{ min: 1, max: 64, }>, speleothem_block_layer_thickness: IntProvider>, density: FloatProvider>, wetness: FloatProvider>, /** * Value: * Range: 0..1 */ chance_of_speleothem_at_max_distance_from_center: NBTFloat<{ leftExclusive: false, rightExclusive: false, min: 0, max: 1, }>, /** * Value: * Range: 1..64 */ max_distance_from_edge_affecting_chance_of_speleothem: NBTInt<{ min: 1, max: 64, }>, /** * Value: * Range: 1..64 */ max_distance_from_center_affecting_height_bias: NBTInt<{ min: 1, max: 64, }>, } export type SpeleothemConfig = { base_block: BlockState, pointed_block: BlockState, replaceable_blocks: ( | Array | ( Registry['minecraft:block'] | `#${Registry['minecraft:tag/block']}` | TagClass<'block'>)), /** * Value: * Range: 0..1 */ chance_of_taller_generation?: NBTFloat<{ leftExclusive: false, rightExclusive: false, min: 0, max: 1, }>, /** * Value: * Range: 0..1 */ chance_of_directional_spread?: NBTFloat<{ leftExclusive: false, rightExclusive: false, min: 0, max: 1, }>, /** * Value: * Range: 0..1 */ chance_of_spread_radius2?: NBTFloat<{ leftExclusive: false, rightExclusive: false, min: 0, max: 1, }>, /** * Value: * Range: 0..1 */ chance_of_spread_radius3?: NBTFloat<{ leftExclusive: false, rightExclusive: false, min: 0, max: 1, }>, } export type SpikeConfig = { state: BlockState, can_place_on: BlockPredicate, can_replace: BlockPredicate, } export type SpringConfig = { state: FluidState, rock_count: NBTInt, hole_count: NBTInt, requires_block_below: boolean, valid_blocks: ( | Array | ( Registry['minecraft:block'] | `#${Registry['minecraft:tag/block']}` | TagClass<'block'>)), } export type TargetBlock = { target: RuleTest, state: BlockState, } export type TemplateConfig = { templates: WeightedList, processors?: ProcessorListRef, } export type TemplateEntry = { /** * The structure template to place. */ id: (Registry['minecraft:structure'] | StructureClass), /** * Rotations to choose from and apply to this template, centered around the origin. * If not specified, defaults to all allowed rotations. */ rotations?: Array, } export type TwistingVinesConfig = { /** * Value: * Range: 1.. */ spread_width: NBTInt<{ min: 1, }>, /** * Value: * Range: 1.. */ spread_height: NBTInt<{ min: 1, }>, /** * Value: * Range: 1.. */ max_height: NBTInt<{ min: 1, }>, } export type UnderwaterMagmaConfig = { /** * Value: * Range: 0..512 */ floor_search_range: NBTInt<{ min: 0, }>, /** * Value: * Range: 0..64 */ placement_radius_around_floor: NBTInt<{ min: 0, max: 64, }>, /** * Value: * Range: 0..1 */ placement_probability_per_valid_position: NBTFloat<{ leftExclusive: false, rightExclusive: false, min: 0, max: 1, }>, } export type VegetationPatchConfig = { /** * Value: * * - Floor(`floor`) * - Ceiling(`ceiling`) */ surface: CaveSurface, depth: IntProvider>, /** * Value: * Range: 1..256 */ vertical_range: NBTInt<{ min: 1, }>, /** * Value: * Range: 0..1 */ extra_bottom_block_chance: NBTFloat<{ leftExclusive: false, rightExclusive: false, min: 0, max: 1, }>, /** * Value: * Range: 0..1 */ extra_edge_column_chance: NBTFloat<{ leftExclusive: false, rightExclusive: false, min: 0, max: 1, }>, /** * Value: * Range: 0..1 */ vegetation_chance: NBTFloat<{ leftExclusive: false, rightExclusive: false, min: 0, max: 1, }>, xz_radius: IntProvider, replaceable: (( | Registry['minecraft:block'] | `#${Registry['minecraft:tag/block']}` | TagClass<'block'>) | Array), ground_state: BlockStateProviderRef, vegetation_feature: FeatureRef, } export type WeightedRandomFeatureConfig = { features: WeightedList, } type BlockPlacerDispatcherMap = { 'column_placer': BlockPlacerColumnPlacer, 'minecraft:column_placer': BlockPlacerColumnPlacer, 'double_plant_placer': BlockPlacerDoublePlantPlacer, 'minecraft:double_plant_placer': BlockPlacerDoublePlantPlacer, 'simple_block_placer': BlockPlacerSimpleBlockPlacer, 'minecraft:simple_block_placer': BlockPlacerSimpleBlockPlacer, } type BlockPlacerKeys = keyof BlockPlacerDispatcherMap type BlockPlacerFallback = (BlockPlacerColumnPlacer | BlockPlacerDoublePlantPlacer | BlockPlacerSimpleBlockPlacer) type BlockPlacerColumnPlacer = ColumnPlacer type BlockPlacerDoublePlantPlacer = Record type BlockPlacerSimpleBlockPlacer = Record export type SymbolBlockPlacer = CASE extends 'map' ? BlockPlacerDispatcherMap : CASE extends 'keys' ? BlockPlacerKeys : CASE extends '%fallback' ? BlockPlacerFallback : never type FeatureConfigDispatcherMap = { 'bamboo': FeatureConfigBamboo, 'minecraft:bamboo': FeatureConfigBamboo, 'block_blob': FeatureConfigBlockBlob, 'minecraft:block_blob': FeatureConfigBlockBlob, 'block_column': FeatureConfigBlockColumn, 'minecraft:block_column': FeatureConfigBlockColumn, 'block_pile': FeatureConfigBlockPile, 'minecraft:block_pile': FeatureConfigBlockPile, 'coral_claw': FeatureConfigCoralClaw, 'minecraft:coral_claw': FeatureConfigCoralClaw, 'coral_tree': FeatureConfigCoralTree, 'minecraft:coral_tree': FeatureConfigCoralTree, 'delta_feature': FeatureConfigDeltaFeature, 'minecraft:delta_feature': FeatureConfigDeltaFeature, 'disk': FeatureConfigDisk, 'minecraft:disk': FeatureConfigDisk, 'emerald_ore': FeatureConfigEmeraldOre, 'minecraft:emerald_ore': FeatureConfigEmeraldOre, 'end_gateway': FeatureConfigEndGateway, 'minecraft:end_gateway': FeatureConfigEndGateway, 'end_podium': FeatureConfigEndPodium, 'minecraft:end_podium': FeatureConfigEndPodium, 'end_spike': FeatureConfigEndSpike, 'minecraft:end_spike': FeatureConfigEndSpike, 'fallen_tree': FeatureConfigFallenTree, 'minecraft:fallen_tree': FeatureConfigFallenTree, 'fill_layer': FeatureConfigFillLayer, 'minecraft:fill_layer': FeatureConfigFillLayer, 'flower': FeatureConfigFlower, 'minecraft:flower': FeatureConfigFlower, 'fossil': FeatureConfigFossil, 'minecraft:fossil': FeatureConfigFossil, 'geode': FeatureConfigGeode, 'minecraft:geode': FeatureConfigGeode, 'glow_lichen': FeatureConfigGlowLichen, 'minecraft:glow_lichen': FeatureConfigGlowLichen, 'huge_brown_mushroom': FeatureConfigHugeBrownMushroom, 'minecraft:huge_brown_mushroom': FeatureConfigHugeBrownMushroom, 'huge_fungus': FeatureConfigHugeFungus, 'minecraft:huge_fungus': FeatureConfigHugeFungus, 'huge_red_mushroom': FeatureConfigHugeRedMushroom, 'minecraft:huge_red_mushroom': FeatureConfigHugeRedMushroom, 'ice_patch': FeatureConfigIcePatch, 'minecraft:ice_patch': FeatureConfigIcePatch, 'iceberg': FeatureConfigIceberg, 'minecraft:iceberg': FeatureConfigIceberg, 'lake': FeatureConfigLake, 'minecraft:lake': FeatureConfigLake, 'large_dripstone': FeatureConfigLargeDripstone, 'minecraft:large_dripstone': FeatureConfigLargeDripstone, 'multiface_growth': FeatureConfigMultifaceGrowth, 'minecraft:multiface_growth': FeatureConfigMultifaceGrowth, 'netherrack_replace_blobs': FeatureConfigNetherrackReplaceBlobs, 'minecraft:netherrack_replace_blobs': FeatureConfigNetherrackReplaceBlobs, 'no_bonemeal_flower': FeatureConfigNoBonemealFlower, 'minecraft:no_bonemeal_flower': FeatureConfigNoBonemealFlower, 'no_surface_ore': FeatureConfigNoSurfaceOre, 'minecraft:no_surface_ore': FeatureConfigNoSurfaceOre, 'ore': FeatureConfigOre, 'minecraft:ore': FeatureConfigOre, 'overlay': FeatureConfigOverlay, 'minecraft:overlay': FeatureConfigOverlay, 'projected_random_patchy_square': FeatureConfigProjectedRandomPatchySquare, 'minecraft:projected_random_patchy_square': FeatureConfigProjectedRandomPatchySquare, 'random_boolean_selector': FeatureConfigRandomBooleanSelector, 'minecraft:random_boolean_selector': FeatureConfigRandomBooleanSelector, 'random_neighbor_spread': FeatureConfigRandomNeighborSpread, 'minecraft:random_neighbor_spread': FeatureConfigRandomNeighborSpread, 'random_patch': FeatureConfigRandomPatch, 'minecraft:random_patch': FeatureConfigRandomPatch, 'random_selector': FeatureConfigRandomSelector, 'minecraft:random_selector': FeatureConfigRandomSelector, 'replace_single_block': FeatureConfigReplaceSingleBlock, 'minecraft:replace_single_block': FeatureConfigReplaceSingleBlock, 'root_system': FeatureConfigRootSystem, 'minecraft:root_system': FeatureConfigRootSystem, 'scattered_ore': FeatureConfigScatteredOre, 'minecraft:scattered_ore': FeatureConfigScatteredOre, 'sculk_patch': FeatureConfigSculkPatch, 'minecraft:sculk_patch': FeatureConfigSculkPatch, 'sequence': FeatureConfigSequence, 'minecraft:sequence': FeatureConfigSequence, 'simple_block': FeatureConfigSimpleBlock, 'minecraft:simple_block': FeatureConfigSimpleBlock, 'simple_random_selector': FeatureConfigSimpleRandomSelector, 'minecraft:simple_random_selector': FeatureConfigSimpleRandomSelector, 'single_block_pillar': FeatureConfigSingleBlockPillar, 'minecraft:single_block_pillar': FeatureConfigSingleBlockPillar, 'speleothem': FeatureConfigSpeleothem, 'minecraft:speleothem': FeatureConfigSpeleothem, 'speleothem_cluster': FeatureConfigSpeleothemCluster, 'minecraft:speleothem_cluster': FeatureConfigSpeleothemCluster, 'spike': FeatureConfigSpike, 'minecraft:spike': FeatureConfigSpike, 'spring_feature': FeatureConfigSpringFeature, 'minecraft:spring_feature': FeatureConfigSpringFeature, 'stepped_column_cluster': FeatureConfigSteppedColumnCluster, 'minecraft:stepped_column_cluster': FeatureConfigSteppedColumnCluster, 'template': FeatureConfigTemplate, 'minecraft:template': FeatureConfigTemplate, 'tree': FeatureConfigTree, 'minecraft:tree': FeatureConfigTree, 'underwater_magma': FeatureConfigUnderwaterMagma, 'minecraft:underwater_magma': FeatureConfigUnderwaterMagma, 'vegetation_patch': FeatureConfigVegetationPatch, 'minecraft:vegetation_patch': FeatureConfigVegetationPatch, 'waterlogged_vegetation_patch': FeatureConfigWaterloggedVegetationPatch, 'minecraft:waterlogged_vegetation_patch': FeatureConfigWaterloggedVegetationPatch, 'weighted_random_selector': FeatureConfigWeightedRandomSelector, 'minecraft:weighted_random_selector': FeatureConfigWeightedRandomSelector, } type FeatureConfigKeys = keyof FeatureConfigDispatcherMap type FeatureConfigFallback = ( | FeatureConfigBamboo | FeatureConfigBlockBlob | FeatureConfigBlockColumn | FeatureConfigBlockPile | FeatureConfigCoralClaw | FeatureConfigCoralTree | FeatureConfigDeltaFeature | FeatureConfigDisk | FeatureConfigEmeraldOre | FeatureConfigEndGateway | FeatureConfigEndPodium | FeatureConfigEndSpike | FeatureConfigFallenTree | FeatureConfigFillLayer | FeatureConfigFlower | FeatureConfigFossil | FeatureConfigGeode | FeatureConfigGlowLichen | FeatureConfigHugeBrownMushroom | FeatureConfigHugeFungus | FeatureConfigHugeRedMushroom | FeatureConfigIcePatch | FeatureConfigIceberg | FeatureConfigLake | FeatureConfigLargeDripstone | FeatureConfigMultifaceGrowth | FeatureConfigNetherrackReplaceBlobs | FeatureConfigNoBonemealFlower | FeatureConfigNoSurfaceOre | FeatureConfigOre | FeatureConfigOverlay | FeatureConfigProjectedRandomPatchySquare | FeatureConfigRandomBooleanSelector | FeatureConfigRandomNeighborSpread | FeatureConfigRandomPatch | FeatureConfigRandomSelector | FeatureConfigReplaceSingleBlock | FeatureConfigRootSystem | FeatureConfigScatteredOre | FeatureConfigSculkPatch | FeatureConfigSequence | FeatureConfigSimpleBlock | FeatureConfigSimpleRandomSelector | FeatureConfigSingleBlockPillar | FeatureConfigSpeleothem | FeatureConfigSpeleothemCluster | FeatureConfigSpike | FeatureConfigSpringFeature | FeatureConfigSteppedColumnCluster | FeatureConfigTemplate | FeatureConfigTree | FeatureConfigUnderwaterMagma | FeatureConfigVegetationPatch | FeatureConfigWaterloggedVegetationPatch | FeatureConfigWeightedRandomSelector) type FeatureConfigBamboo = ProbabilityConfig type FeatureConfigBlockBlob = BlockBlobConfig type FeatureConfigBlockColumn = BlockColumnConfig type FeatureConfigBlockPile = BlockPileConfig type FeatureConfigCoralClaw = CoralConfig type FeatureConfigCoralTree = CoralConfig type FeatureConfigDeltaFeature = DeltaConfig type FeatureConfigDisk = DiskConfig type FeatureConfigEmeraldOre = EmeraldOreConfig type FeatureConfigEndGateway = EndGatewayConfig type FeatureConfigEndPodium = EndPodiumConfig type FeatureConfigEndSpike = EndSpikeConfig type FeatureConfigFallenTree = FallenTreeConfig type FeatureConfigFillLayer = FillLayerConfig type FeatureConfigFlower = RandomPatchConfig type FeatureConfigFossil = FossilConfig type FeatureConfigGeode = GeodeConfig type FeatureConfigGlowLichen = MultifaceGrowthConfig type FeatureConfigHugeBrownMushroom = HugeMushroomConfig type FeatureConfigHugeFungus = HugeFungusConfig type FeatureConfigHugeRedMushroom = HugeMushroomConfig type FeatureConfigIcePatch = DiskConfig type FeatureConfigIceberg = IcebergConfig type FeatureConfigLake = LakeConfig type FeatureConfigLargeDripstone = LargeDripstoneConfig type FeatureConfigMultifaceGrowth = MultifaceGrowthConfig type FeatureConfigNetherrackReplaceBlobs = NetherrackReplaceBlobsConfig type FeatureConfigNoBonemealFlower = RandomPatchConfig type FeatureConfigNoSurfaceOre = OreConfig type FeatureConfigOre = OreConfig type FeatureConfigOverlay = OverlayConfig type FeatureConfigProjectedRandomPatchySquare = ProjectedSquareConfig type FeatureConfigRandomBooleanSelector = RandomBooleanSelector type FeatureConfigRandomNeighborSpread = RandomNeighborSpreadConfig type FeatureConfigRandomPatch = RandomPatchConfig type FeatureConfigRandomSelector = RandomSelector type FeatureConfigReplaceSingleBlock = ReplaceSingleBlockConfig type FeatureConfigRootSystem = RootSystemConfig type FeatureConfigScatteredOre = OreConfig type FeatureConfigSculkPatch = SculkPatchConfig type FeatureConfigSequence = SequenceConfig type FeatureConfigSimpleBlock = SimpleBlockConfig type FeatureConfigSimpleRandomSelector = SimpleRandomSelectorConfig type FeatureConfigSingleBlockPillar = SingleBlockPillarConfig type FeatureConfigSpeleothem = SpeleothemConfig type FeatureConfigSpeleothemCluster = SpeleothemClusterConfig type FeatureConfigSpike = SpikeConfig type FeatureConfigSpringFeature = SpringConfig type FeatureConfigSteppedColumnCluster = ColumnsConfig type FeatureConfigTemplate = TemplateConfig type FeatureConfigTree = TreeConfig type FeatureConfigUnderwaterMagma = UnderwaterMagmaConfig type FeatureConfigVegetationPatch = VegetationPatchConfig type FeatureConfigWaterloggedVegetationPatch = VegetationPatchConfig type FeatureConfigWeightedRandomSelector = WeightedRandomFeatureConfig export type SymbolFeatureConfig = CASE extends 'map' ? FeatureConfigDispatcherMap : CASE extends 'keys' ? FeatureConfigKeys : CASE extends '%fallback' ? FeatureConfigFallback : never