sandstone 1.0.0-beta.4 → 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (150) hide show
  1. package/README.md +3 -4
  2. package/dist/_internal/index.d.ts +992 -335
  3. package/dist/_internal/index.js +516 -518
  4. package/dist/_internal/index.js.map +1 -1
  5. package/dist/_internal/types/arguments/coords.d.ts +13 -14
  6. package/dist/_internal/types/arguments/generated/_registry/activities.d.ts +1 -1
  7. package/dist/_internal/types/arguments/generated/_registry/atlases.d.ts +1 -1
  8. package/dist/_internal/types/arguments/generated/_registry/attribute_types.d.ts +1 -1
  9. package/dist/_internal/types/arguments/generated/_registry/attributes.d.ts +1 -1
  10. package/dist/_internal/types/arguments/generated/_registry/banner_patterns.d.ts +1 -1
  11. package/dist/_internal/types/arguments/generated/_registry/block_definitions.d.ts +1 -1
  12. package/dist/_internal/types/arguments/generated/_registry/block_entity_types.d.ts +1 -1
  13. package/dist/_internal/types/arguments/generated/_registry/block_types.d.ts +1 -1
  14. package/dist/_internal/types/arguments/generated/_registry/blocks.d.ts +1 -1
  15. package/dist/_internal/types/arguments/generated/_registry/chunk_statuses.d.ts +1 -1
  16. package/dist/_internal/types/arguments/generated/_registry/command_argument_types.d.ts +1 -1
  17. package/dist/_internal/types/arguments/generated/_registry/creative_mode_tabs.d.ts +1 -1
  18. package/dist/_internal/types/arguments/generated/_registry/custom_stats.d.ts +1 -1
  19. package/dist/_internal/types/arguments/generated/_registry/damage_types.d.ts +1 -1
  20. package/dist/_internal/types/arguments/generated/_registry/data_component_predicate_types.d.ts +1 -1
  21. package/dist/_internal/types/arguments/generated/_registry/data_component_types.d.ts +1 -1
  22. package/dist/_internal/types/arguments/generated/_registry/debug_subscriptions.d.ts +1 -1
  23. package/dist/_internal/types/arguments/generated/_registry/decorated_pot_patterns.d.ts +1 -1
  24. package/dist/_internal/types/arguments/generated/_registry/dimension_types.d.ts +1 -1
  25. package/dist/_internal/types/arguments/generated/_registry/enchantment_effect_component_types.d.ts +1 -1
  26. package/dist/_internal/types/arguments/generated/_registry/enchantment_entity_effect_types.d.ts +1 -1
  27. package/dist/_internal/types/arguments/generated/_registry/enchantment_level_based_value_types.d.ts +1 -1
  28. package/dist/_internal/types/arguments/generated/_registry/enchantment_location_based_effect_types.d.ts +1 -1
  29. package/dist/_internal/types/arguments/generated/_registry/enchantment_provider_types.d.ts +1 -1
  30. package/dist/_internal/types/arguments/generated/_registry/enchantment_value_effect_types.d.ts +1 -1
  31. package/dist/_internal/types/arguments/generated/_registry/enchantments.d.ts +1 -1
  32. package/dist/_internal/types/arguments/generated/_registry/equipments.d.ts +1 -1
  33. package/dist/_internal/types/arguments/generated/_registry/float_provider_types.d.ts +1 -1
  34. package/dist/_internal/types/arguments/generated/_registry/fluids.d.ts +1 -1
  35. package/dist/_internal/types/arguments/generated/_registry/game_events.d.ts +1 -1
  36. package/dist/_internal/types/arguments/generated/_registry/game_rules.d.ts +1 -1
  37. package/dist/_internal/types/arguments/generated/_registry/height_provider_types.d.ts +1 -1
  38. package/dist/_internal/types/arguments/generated/_registry/int_provider_types.d.ts +1 -1
  39. package/dist/_internal/types/arguments/generated/_registry/item_definitions.d.ts +1 -1
  40. package/dist/_internal/types/arguments/generated/_registry/items.d.ts +1 -1
  41. package/dist/_internal/types/arguments/generated/_registry/jukebox_songs.d.ts +1 -1
  42. package/dist/_internal/types/arguments/generated/_registry/loot_condition_types.d.ts +1 -1
  43. package/dist/_internal/types/arguments/generated/_registry/loot_function_types.d.ts +1 -1
  44. package/dist/_internal/types/arguments/generated/_registry/loot_nbt_provider_types.d.ts +1 -1
  45. package/dist/_internal/types/arguments/generated/_registry/loot_number_provider_types.d.ts +1 -1
  46. package/dist/_internal/types/arguments/generated/_registry/memory_module_types.d.ts +1 -1
  47. package/dist/_internal/types/arguments/generated/_registry/menus.d.ts +1 -1
  48. package/dist/_internal/types/arguments/generated/_registry/mob_effects.d.ts +1 -1
  49. package/dist/_internal/types/arguments/generated/_registry/models.d.ts +1 -1
  50. package/dist/_internal/types/arguments/generated/_registry/painting_variants.d.ts +1 -1
  51. package/dist/_internal/types/arguments/generated/_registry/particle_types.d.ts +1 -1
  52. package/dist/_internal/types/arguments/generated/_registry/point_of_interest_types.d.ts +1 -1
  53. package/dist/_internal/types/arguments/generated/_registry/post_effects.d.ts +1 -1
  54. package/dist/_internal/types/arguments/generated/_registry/potions.d.ts +1 -1
  55. package/dist/_internal/types/arguments/generated/_registry/recipe_displays.d.ts +1 -1
  56. package/dist/_internal/types/arguments/generated/_registry/recipe_serializers.d.ts +1 -1
  57. package/dist/_internal/types/arguments/generated/_registry/recipe_types.d.ts +1 -1
  58. package/dist/_internal/types/arguments/generated/_registry/recipes.d.ts +1 -1
  59. package/dist/_internal/types/arguments/generated/_registry/slot_displays.d.ts +1 -1
  60. package/dist/_internal/types/arguments/generated/_registry/slot_source_types.d.ts +1 -1
  61. package/dist/_internal/types/arguments/generated/_registry/structures.d.ts +1 -1
  62. package/dist/_internal/types/arguments/generated/_registry/tag_blocks.d.ts +1 -1
  63. package/dist/_internal/types/arguments/generated/_registry/tag_entity_types.d.ts +1 -1
  64. package/dist/_internal/types/arguments/generated/_registry/tag_fluids.d.ts +1 -1
  65. package/dist/_internal/types/arguments/generated/_registry/tag_items.d.ts +1 -1
  66. package/dist/_internal/types/arguments/generated/_registry/tag_point_of_interest_types.d.ts +1 -1
  67. package/dist/_internal/types/arguments/generated/_registry/tag_timelines.d.ts +1 -1
  68. package/dist/_internal/types/arguments/generated/_registry/tag_villager_trades.d.ts +1 -1
  69. package/dist/_internal/types/arguments/generated/_registry/tag_worldgen_structures.d.ts +1 -1
  70. package/dist/_internal/types/arguments/generated/_registry/textures.d.ts +1 -1
  71. package/dist/_internal/types/arguments/generated/_registry/ticket_types.d.ts +1 -1
  72. package/dist/_internal/types/arguments/generated/_registry/trigger_types.d.ts +1 -1
  73. package/dist/_internal/types/arguments/generated/_registry/trim_patterns.d.ts +1 -1
  74. package/dist/_internal/types/arguments/generated/_registry/villager_professions.d.ts +1 -1
  75. package/dist/_internal/types/arguments/generated/_registry/wolf_variants.d.ts +1 -1
  76. package/dist/_internal/types/arguments/generated/_registry/worldgen_biomes.d.ts +1 -1
  77. package/dist/_internal/types/arguments/generated/_registry/worldgen_density_function_types.d.ts +1 -1
  78. package/dist/_internal/types/arguments/generated/_registry/worldgen_features.d.ts +1 -1
  79. package/dist/_internal/types/arguments/generated/_registry/worldgen_material_conditions.d.ts +1 -1
  80. package/dist/_internal/types/arguments/generated/_registry/worldgen_noise_settings.d.ts +1 -1
  81. package/dist/_internal/types/arguments/generated/_registry/worldgen_noises.d.ts +1 -1
  82. package/dist/_internal/types/arguments/generated/_registry/worldgen_placed_features.d.ts +1 -1
  83. package/dist/_internal/types/arguments/generated/_registry/worldgen_placement_modifier_types.d.ts +1 -1
  84. package/dist/_internal/types/arguments/generated/_registry/worldgen_processor_lists.d.ts +1 -1
  85. package/dist/_internal/types/arguments/generated/_registry/worldgen_structure_sets.d.ts +1 -1
  86. package/dist/_internal/types/arguments/generated/_registry/worldgen_structure_types.d.ts +1 -1
  87. package/dist/_internal/types/arguments/generated/_registry/worldgen_structures.d.ts +1 -1
  88. package/dist/_internal/types/arguments/generated/_registry/worldgen_template_pools.d.ts +1 -1
  89. package/dist/_internal/types/arguments/generated/_registry/worldgen_tree_decorator_types.d.ts +1 -1
  90. package/dist/_internal/types/arguments/objective.d.ts +1 -1
  91. package/dist/_internal/types/arguments/range.d.ts +7 -7
  92. package/dist/_internal/types/commands/commands.d.ts +1 -4
  93. package/dist/_internal/types/commands/implementations/entity/execute.d.ts +9 -3
  94. package/dist/_internal/types/commands/implementations/server/gamerule.d.ts +38 -3
  95. package/dist/_internal/types/commands/implementations/server/random.d.ts +3 -3
  96. package/dist/_internal/types/commands/implementations/world/time.d.ts +6 -6
  97. package/dist/_internal/types/core/Macro.d.ts +0 -1
  98. package/dist/_internal/types/core/sandstoneCore.d.ts +8 -0
  99. package/dist/_internal/types/pack/pack.d.ts +2 -3
  100. package/dist/_internal/types/utils.d.ts +79 -0
  101. package/dist/_internal/types/variables/Score.d.ts +20 -4
  102. package/dist/_internal/types/variables/Sleep.d.ts +0 -3
  103. package/dist/_internal/types/variables/nbt/NBTs.d.ts +28 -1
  104. package/dist/browser/package.json +3 -0
  105. package/dist/browser/sandstone.esm.js +61581 -0
  106. package/dist/browser/sandstone.esm.js.map +1 -0
  107. package/dist/exports/commands/index.d.ts +1 -1
  108. package/dist/exports/core/index.d.ts +1 -1
  109. package/dist/exports/index.d.ts +1 -1
  110. package/dist/exports/index.js +1 -1
  111. package/package.json +22 -18
  112. package/src/arguments/coords.ts +11 -14
  113. package/src/arguments/objective.ts +1 -1
  114. package/src/arguments/range.ts +9 -9
  115. package/src/commands/commands.ts +3 -3
  116. package/src/commands/implementations/block/fill.ts +3 -3
  117. package/src/commands/implementations/block/setblock.ts +2 -2
  118. package/src/commands/implementations/entity/clear.ts +5 -1
  119. package/src/commands/implementations/entity/execute.ts +27 -6
  120. package/src/commands/implementations/entity/summon.ts +2 -2
  121. package/src/commands/implementations/player/dialog.ts +2 -2
  122. package/src/commands/implementations/player/give.ts +2 -2
  123. package/src/commands/implementations/player/particle.ts +2 -2
  124. package/src/commands/implementations/server/debug.ts +6 -1
  125. package/src/commands/implementations/server/function.ts +8 -3
  126. package/src/commands/implementations/server/gamerule.ts +75 -3
  127. package/src/commands/implementations/server/random.ts +3 -3
  128. package/src/commands/implementations/server/schedule.ts +10 -2
  129. package/src/commands/implementations/world/data.ts +5 -5
  130. package/src/commands/implementations/world/item.ts +2 -2
  131. package/src/commands/implementations/world/time.ts +5 -5
  132. package/src/core/Macro.ts +0 -2
  133. package/src/core/nodes.ts +17 -1
  134. package/src/core/resources/datapack/mcfunction.ts +12 -5
  135. package/src/core/resources/datapack/structure.ts +1 -0
  136. package/src/core/resources/resourcepack/sound.ts +2 -4
  137. package/src/core/sandstoneCore.ts +17 -0
  138. package/src/flow/conditions/variables/block.ts +2 -2
  139. package/src/flow/loops/for_i.ts +17 -15
  140. package/src/flow/loops/for_of.ts +0 -1
  141. package/src/pack/pack.ts +13 -6
  142. package/src/sandstone.ts +2 -2
  143. package/src/utils.ts +159 -0
  144. package/src/variables/Data.ts +3 -3
  145. package/src/variables/ItemPredicate.ts +2 -2
  146. package/src/variables/Score.ts +18 -10
  147. package/src/variables/Selector.ts +21 -3
  148. package/src/variables/Sleep.ts +2 -10
  149. package/src/variables/Trigger.ts +3 -5
  150. package/src/variables/nbt/NBTs.ts +70 -19
@@ -1,4 +1,4 @@
1
1
  import { Set } from "../../../../index.js";
2
2
  import type { NamespacedLiteralUnion, SetType } from "../../../../index.js";
3
3
  export type TICKET_TYPES = (NamespacedLiteralUnion<SetType<typeof TICKET_TYPES_SET>> | `minecraft:${SetType<typeof TICKET_TYPES_SET>}`);
4
- export declare const TICKET_TYPES_SET: Set<"ender_pearl" | "portal" | "dragon" | "forced" | "player_loading" | "player_simulation" | "player_spawn" | "spawn_search" | "unknown">;
4
+ export declare const TICKET_TYPES_SET: Set<"ender_pearl" | "dragon" | "portal" | "forced" | "player_loading" | "player_simulation" | "player_spawn" | "spawn_search" | "unknown">;
@@ -1,4 +1,4 @@
1
1
  import { Set } from "../../../../index.js";
2
2
  import type { NamespacedLiteralUnion, SetType } from "../../../../index.js";
3
3
  export type TRIGGER_TYPES = (NamespacedLiteralUnion<SetType<typeof TRIGGER_TYPES_SET>> | `minecraft:${SetType<typeof TRIGGER_TYPES_SET>}`);
4
- export declare const TRIGGER_TYPES_SET: Set<"villager_trade" | "target_hit" | "tick" | "lightning_strike" | "hero_of_the_village" | "levitation" | "allay_drop_item_on_block" | "any_block_use" | "avoid_vibration" | "bee_nest_destroyed" | "bred_animals" | "brewed_potion" | "changed_dimension" | "channeled_lightning" | "construct_beacon" | "consume_item" | "crafter_recipe_crafted" | "cured_zombie_villager" | "default_block_use" | "effects_changed" | "enchanted_item" | "enter_block" | "entity_hurt_player" | "entity_killed_player" | "fall_after_explosion" | "fall_from_height" | "filled_bucket" | "fishing_rod_hooked" | "impossible" | "inventory_changed" | "item_durability_changed" | "item_used_on_block" | "kill_mob_near_sculk_catalyst" | "killed_by_arrow" | "location" | "nether_travel" | "placed_block" | "player_generates_container_loot" | "player_hurt_entity" | "player_interacted_with_entity" | "player_killed_entity" | "player_sheared_equipment" | "recipe_crafted" | "recipe_unlocked" | "ride_entity_in_lava" | "shot_crossbow" | "slept_in_bed" | "slide_down_block" | "spear_mobs" | "started_riding" | "summoned_entity" | "tame_animal" | "thrown_item_picked_up_by_entity" | "thrown_item_picked_up_by_player" | "used_ender_eye" | "used_totem" | "using_item" | "voluntary_exile">;
4
+ export declare const TRIGGER_TYPES_SET: Set<"villager_trade" | "lightning_strike" | "hero_of_the_village" | "levitation" | "enchanted_item" | "using_item" | "tick" | "allay_drop_item_on_block" | "any_block_use" | "avoid_vibration" | "bee_nest_destroyed" | "bred_animals" | "brewed_potion" | "changed_dimension" | "channeled_lightning" | "construct_beacon" | "consume_item" | "crafter_recipe_crafted" | "cured_zombie_villager" | "default_block_use" | "effects_changed" | "enter_block" | "entity_hurt_player" | "entity_killed_player" | "fall_after_explosion" | "fall_from_height" | "filled_bucket" | "fishing_rod_hooked" | "impossible" | "inventory_changed" | "item_durability_changed" | "item_used_on_block" | "kill_mob_near_sculk_catalyst" | "killed_by_arrow" | "location" | "nether_travel" | "placed_block" | "player_generates_container_loot" | "player_hurt_entity" | "player_interacted_with_entity" | "player_killed_entity" | "player_sheared_equipment" | "recipe_crafted" | "recipe_unlocked" | "ride_entity_in_lava" | "shot_crossbow" | "slept_in_bed" | "slide_down_block" | "spear_mobs" | "started_riding" | "summoned_entity" | "tame_animal" | "target_hit" | "thrown_item_picked_up_by_entity" | "thrown_item_picked_up_by_player" | "used_ender_eye" | "used_totem" | "voluntary_exile">;
@@ -1,4 +1,4 @@
1
1
  import { Set } from "../../../../index.js";
2
2
  import type { NamespacedLiteralUnion, SetType } from "../../../../index.js";
3
3
  export type TRIM_PATTERNS = (NamespacedLiteralUnion<SetType<typeof TRIM_PATTERNS_SET>> | `minecraft:${SetType<typeof TRIM_PATTERNS_SET>}`);
4
- export declare const TRIM_PATTERNS_SET: Set<"vex" | "flow" | "ward" | "bolt" | "coast" | "dune" | "eye" | "host" | "raiser" | "rib" | "sentry" | "shaper" | "silence" | "snout" | "spire" | "tide" | "wayfinder" | "wild">;
4
+ export declare const TRIM_PATTERNS_SET: Set<"vex" | "eye" | "wild" | "bolt" | "coast" | "dune" | "flow" | "host" | "raiser" | "rib" | "sentry" | "shaper" | "silence" | "snout" | "spire" | "tide" | "ward" | "wayfinder">;
@@ -1,4 +1,4 @@
1
1
  import { Set } from "../../../../index.js";
2
2
  import type { NamespacedLiteralUnion, SetType } from "../../../../index.js";
3
3
  export type VILLAGER_PROFESSIONS = (NamespacedLiteralUnion<SetType<typeof VILLAGER_PROFESSIONS_SET>> | `minecraft:${SetType<typeof VILLAGER_PROFESSIONS_SET>}`);
4
- export declare const VILLAGER_PROFESSIONS_SET: Set<"none" | "armorer" | "butcher" | "cartographer" | "cleric" | "farmer" | "fisherman" | "fletcher" | "leatherworker" | "librarian" | "mason" | "shepherd" | "toolsmith" | "weaponsmith" | "nitwit">;
4
+ export declare const VILLAGER_PROFESSIONS_SET: Set<"none" | "armorer" | "butcher" | "cartographer" | "cleric" | "farmer" | "fisherman" | "fletcher" | "leatherworker" | "librarian" | "mason" | "nitwit" | "shepherd" | "toolsmith" | "weaponsmith">;
@@ -1,4 +1,4 @@
1
1
  import { Set } from "../../../../index.js";
2
2
  import type { NamespacedLiteralUnion, SetType } from "../../../../index.js";
3
3
  export type WOLF_VARIANTS = (NamespacedLiteralUnion<SetType<typeof WOLF_VARIANTS_SET>> | `minecraft:${SetType<typeof WOLF_VARIANTS_SET>}`);
4
- export declare const WOLF_VARIANTS_SET: Set<"black" | "ashen" | "chestnut" | "pale" | "rusty" | "snowy" | "spotted" | "striped" | "woods">;
4
+ export declare const WOLF_VARIANTS_SET: Set<"black" | "snowy" | "chestnut" | "ashen" | "pale" | "rusty" | "spotted" | "striped" | "woods">;
@@ -1,4 +1,4 @@
1
1
  import { Set } from "../../../../index.js";
2
2
  import type { NamespacedLiteralUnion, SetType } from "../../../../index.js";
3
3
  export type WORLDGEN_BIOMES = (NamespacedLiteralUnion<SetType<typeof WORLDGEN_BIOMES_SET>> | `minecraft:${SetType<typeof WORLDGEN_BIOMES_SET>}`);
4
- export declare const WORLDGEN_BIOMES_SET: Set<"the_end" | "badlands" | "bamboo_jungle" | "basalt_deltas" | "beach" | "birch_forest" | "cherry_grove" | "cold_ocean" | "crimson_forest" | "dark_forest" | "deep_cold_ocean" | "deep_dark" | "deep_frozen_ocean" | "deep_lukewarm_ocean" | "deep_ocean" | "desert" | "dripstone_caves" | "end_barrens" | "end_highlands" | "end_midlands" | "eroded_badlands" | "flower_forest" | "forest" | "frozen_ocean" | "frozen_peaks" | "frozen_river" | "grove" | "ice_spikes" | "jagged_peaks" | "jungle" | "lukewarm_ocean" | "lush_caves" | "mangrove_swamp" | "meadow" | "mushroom_fields" | "nether_wastes" | "ocean" | "old_growth_birch_forest" | "old_growth_pine_taiga" | "old_growth_spruce_taiga" | "pale_garden" | "plains" | "river" | "savanna" | "savanna_plateau" | "small_end_islands" | "snowy_beach" | "snowy_plains" | "snowy_slopes" | "snowy_taiga" | "soul_sand_valley" | "sparse_jungle" | "stony_peaks" | "stony_shore" | "sunflower_plains" | "swamp" | "taiga" | "the_void" | "warm_ocean" | "warped_forest" | "windswept_forest" | "windswept_gravelly_hills" | "windswept_hills" | "windswept_savanna" | "wooded_badlands">;
4
+ export declare const WORLDGEN_BIOMES_SET: Set<"the_end" | "desert" | "jungle" | "plains" | "savanna" | "swamp" | "taiga" | "badlands" | "bamboo_jungle" | "basalt_deltas" | "beach" | "birch_forest" | "cherry_grove" | "cold_ocean" | "crimson_forest" | "dark_forest" | "deep_cold_ocean" | "deep_dark" | "deep_frozen_ocean" | "deep_lukewarm_ocean" | "deep_ocean" | "dripstone_caves" | "end_barrens" | "end_highlands" | "end_midlands" | "eroded_badlands" | "flower_forest" | "forest" | "frozen_ocean" | "frozen_peaks" | "frozen_river" | "grove" | "ice_spikes" | "jagged_peaks" | "lukewarm_ocean" | "lush_caves" | "mangrove_swamp" | "meadow" | "mushroom_fields" | "nether_wastes" | "ocean" | "old_growth_birch_forest" | "old_growth_pine_taiga" | "old_growth_spruce_taiga" | "pale_garden" | "river" | "savanna_plateau" | "small_end_islands" | "snowy_beach" | "snowy_plains" | "snowy_slopes" | "snowy_taiga" | "soul_sand_valley" | "sparse_jungle" | "stony_peaks" | "stony_shore" | "sunflower_plains" | "the_void" | "warm_ocean" | "warped_forest" | "windswept_forest" | "windswept_gravelly_hills" | "windswept_hills" | "windswept_savanna" | "wooded_badlands">;
@@ -1,4 +1,4 @@
1
1
  import { Set } from "../../../../index.js";
2
2
  import type { NamespacedLiteralUnion, SetType } from "../../../../index.js";
3
3
  export type WORLDGEN_DENSITY_FUNCTION_TYPES = (NamespacedLiteralUnion<SetType<typeof WORLDGEN_DENSITY_FUNCTION_TYPES_SET>> | `minecraft:${SetType<typeof WORLDGEN_DENSITY_FUNCTION_TYPES_SET>}`);
4
- export declare const WORLDGEN_DENSITY_FUNCTION_TYPES_SET: Set<"shift" | "invert" | "noise" | "add" | "constant" | "abs" | "beardifier" | "blend_alpha" | "blend_density" | "blend_offset" | "cache_2d" | "cache_all_in_cell" | "cache_once" | "clamp" | "cube" | "end_islands" | "find_top_surface" | "flat_cache" | "half_negative" | "interpolated" | "max" | "min" | "mul" | "old_blended_noise" | "quarter_negative" | "range_choice" | "shift_a" | "shift_b" | "shifted_noise" | "spline" | "square" | "squeeze" | "weird_scaled_sampler" | "y_clamped_gradient">;
4
+ export declare const WORLDGEN_DENSITY_FUNCTION_TYPES_SET: Set<"shift" | "add" | "constant" | "min" | "max" | "square" | "noise" | "abs" | "beardifier" | "blend_alpha" | "blend_density" | "blend_offset" | "cache_2d" | "cache_all_in_cell" | "cache_once" | "clamp" | "cube" | "end_islands" | "find_top_surface" | "flat_cache" | "half_negative" | "interpolated" | "invert" | "mul" | "old_blended_noise" | "quarter_negative" | "range_choice" | "shift_a" | "shift_b" | "shifted_noise" | "spline" | "squeeze" | "weird_scaled_sampler" | "y_clamped_gradient">;
@@ -1,4 +1,4 @@
1
1
  import { Set } from "../../../../index.js";
2
2
  import type { NamespacedLiteralUnion, SetType } from "../../../../index.js";
3
3
  export type WORLDGEN_FEATURES = (NamespacedLiteralUnion<SetType<typeof WORLDGEN_FEATURES_SET>> | `minecraft:${SetType<typeof WORLDGEN_FEATURES_SET>}`);
4
- export declare const WORLDGEN_FEATURES_SET: Set<"bamboo" | "blue_ice" | "chorus_plant" | "kelp" | "pointed_dripstone" | "sea_pickle" | "seagrass" | "twisting_vines" | "weeping_vines" | "basalt_pillar" | "bonus_chest" | "desert_well" | "dripstone_cluster" | "end_island" | "end_platform" | "end_spike" | "freeze_top_layer" | "huge_brown_mushroom" | "huge_red_mushroom" | "large_dripstone" | "monster_room" | "underwater_magma" | "vines" | "void_start_platform" | "end_gateway" | "basalt_columns" | "block_blob" | "block_column" | "block_pile" | "coral_claw" | "coral_mushroom" | "coral_tree" | "delta_feature" | "disk" | "fallen_tree" | "fill_layer" | "fossil" | "geode" | "glowstone_blob" | "huge_fungus" | "iceberg" | "lake" | "multiface_growth" | "nether_forest_vegetation" | "netherrack_replace_blobs" | "no_op" | "ore" | "random_boolean_selector" | "random_selector" | "replace_single_block" | "root_system" | "scattered_ore" | "sculk_patch" | "simple_block" | "simple_random_selector" | "spike" | "spring_feature" | "tree" | "vegetation_patch" | "waterlogged_vegetation_patch">;
4
+ export declare const WORLDGEN_FEATURES_SET: Set<"bamboo" | "blue_ice" | "chorus_plant" | "end_gateway" | "kelp" | "pointed_dripstone" | "sea_pickle" | "seagrass" | "twisting_vines" | "weeping_vines" | "basalt_pillar" | "bonus_chest" | "desert_well" | "dripstone_cluster" | "end_island" | "end_platform" | "end_spike" | "freeze_top_layer" | "huge_brown_mushroom" | "huge_red_mushroom" | "large_dripstone" | "monster_room" | "underwater_magma" | "vines" | "void_start_platform" | "iceberg" | "basalt_columns" | "block_blob" | "block_column" | "block_pile" | "coral_claw" | "coral_mushroom" | "coral_tree" | "delta_feature" | "disk" | "fallen_tree" | "fill_layer" | "fossil" | "geode" | "glowstone_blob" | "huge_fungus" | "lake" | "multiface_growth" | "nether_forest_vegetation" | "netherrack_replace_blobs" | "no_op" | "ore" | "random_boolean_selector" | "random_selector" | "replace_single_block" | "root_system" | "scattered_ore" | "sculk_patch" | "simple_block" | "simple_random_selector" | "spike" | "spring_feature" | "tree" | "vegetation_patch" | "waterlogged_vegetation_patch">;
@@ -1,4 +1,4 @@
1
1
  import { Set } from "../../../../index.js";
2
2
  import type { NamespacedLiteralUnion, SetType } from "../../../../index.js";
3
3
  export type WORLDGEN_MATERIAL_CONDITIONS = (NamespacedLiteralUnion<SetType<typeof WORLDGEN_MATERIAL_CONDITIONS_SET>> | `minecraft:${SetType<typeof WORLDGEN_MATERIAL_CONDITIONS_SET>}`);
4
- export declare const WORLDGEN_MATERIAL_CONDITIONS_SET: Set<"water" | "temperature" | "not" | "biome" | "above_preliminary_surface" | "hole" | "noise_threshold" | "steep" | "stone_depth" | "vertical_gradient" | "y_above">;
4
+ export declare const WORLDGEN_MATERIAL_CONDITIONS_SET: Set<"water" | "not" | "biome" | "temperature" | "above_preliminary_surface" | "hole" | "noise_threshold" | "steep" | "stone_depth" | "vertical_gradient" | "y_above">;
@@ -1,4 +1,4 @@
1
1
  import { Set } from "../../../../index.js";
2
2
  import type { NamespacedLiteralUnion, SetType } from "../../../../index.js";
3
3
  export type WORLDGEN_NOISE_SETTINGS = (NamespacedLiteralUnion<SetType<typeof WORLDGEN_NOISE_SETTINGS_SET>> | `minecraft:${SetType<typeof WORLDGEN_NOISE_SETTINGS_SET>}`);
4
- export declare const WORLDGEN_NOISE_SETTINGS_SET: Set<"overworld" | "nether" | "amplified" | "caves" | "end" | "floating_islands" | "large_biomes">;
4
+ export declare const WORLDGEN_NOISE_SETTINGS_SET: Set<"overworld" | "end" | "nether" | "amplified" | "caves" | "floating_islands" | "large_biomes">;
@@ -1,4 +1,4 @@
1
1
  import { Set } from "../../../../index.js";
2
2
  import type { NamespacedLiteralUnion, SetType } from "../../../../index.js";
3
3
  export type WORLDGEN_NOISES = (NamespacedLiteralUnion<SetType<typeof WORLDGEN_NOISES_SET>> | `minecraft:${SetType<typeof WORLDGEN_NOISES_SET>}`);
4
- export declare const WORLDGEN_NOISES_SET: Set<"calcite" | "gravel" | "ice" | "nether_wart" | "netherrack" | "packed_ice" | "aquifer_barrier" | "aquifer_fluid_level_floodedness" | "aquifer_fluid_level_spread" | "aquifer_lava" | "badlands_pillar" | "badlands_pillar_roof" | "badlands_surface" | "cave_cheese" | "cave_entrance" | "cave_layer" | "clay_bands_offset" | "continentalness" | "continentalness_large" | "erosion" | "erosion_large" | "gravel_layer" | "iceberg_pillar" | "iceberg_pillar_roof" | "iceberg_surface" | "jagged" | "nether/temperature" | "nether/vegetation" | "nether_state_selector" | "noodle" | "noodle_ridge_a" | "noodle_ridge_b" | "noodle_thickness" | "offset" | "ore_gap" | "ore_vein_a" | "ore_vein_b" | "ore_veininess" | "patch" | "pillar" | "pillar_rareness" | "pillar_thickness" | "powder_snow" | "ridge" | "soul_sand_layer" | "spaghetti_2d" | "spaghetti_2d_elevation" | "spaghetti_2d_modulator" | "spaghetti_2d_thickness" | "spaghetti_3d_1" | "spaghetti_3d_2" | "spaghetti_3d_rarity" | "spaghetti_3d_thickness" | "spaghetti_roughness" | "spaghetti_roughness_modulator" | "surface" | "surface_secondary" | "surface_swamp" | "temperature" | "temperature_large" | "vegetation" | "vegetation_large">;
4
+ export declare const WORLDGEN_NOISES_SET: Set<"calcite" | "gravel" | "ice" | "nether_wart" | "netherrack" | "packed_ice" | "powder_snow" | "offset" | "surface" | "aquifer_barrier" | "aquifer_fluid_level_floodedness" | "aquifer_fluid_level_spread" | "aquifer_lava" | "badlands_pillar" | "badlands_pillar_roof" | "badlands_surface" | "cave_cheese" | "cave_entrance" | "cave_layer" | "clay_bands_offset" | "continentalness" | "continentalness_large" | "erosion" | "erosion_large" | "gravel_layer" | "iceberg_pillar" | "iceberg_pillar_roof" | "iceberg_surface" | "jagged" | "nether/temperature" | "nether/vegetation" | "nether_state_selector" | "noodle" | "noodle_ridge_a" | "noodle_ridge_b" | "noodle_thickness" | "ore_gap" | "ore_vein_a" | "ore_vein_b" | "ore_veininess" | "patch" | "pillar" | "pillar_rareness" | "pillar_thickness" | "ridge" | "soul_sand_layer" | "spaghetti_2d" | "spaghetti_2d_elevation" | "spaghetti_2d_modulator" | "spaghetti_2d_thickness" | "spaghetti_3d_1" | "spaghetti_3d_2" | "spaghetti_3d_rarity" | "spaghetti_3d_thickness" | "spaghetti_roughness" | "spaghetti_roughness_modulator" | "surface_secondary" | "surface_swamp" | "temperature" | "temperature_large" | "vegetation" | "vegetation_large">;
@@ -1,4 +1,4 @@
1
1
  import { Set } from "../../../../index.js";
2
2
  import type { NamespacedLiteralUnion, SetType } from "../../../../index.js";
3
3
  export type WORLDGEN_PLACED_FEATURES = (NamespacedLiteralUnion<SetType<typeof WORLDGEN_PLACED_FEATURES_SET>> | `minecraft:${SetType<typeof WORLDGEN_PLACED_FEATURES_SET>}`);
4
- export declare const WORLDGEN_PLACED_FEATURES_SET: Set<"bamboo" | "blue_ice" | "chorus_plant" | "glow_lichen" | "glowstone" | "nether_sprouts" | "pointed_dripstone" | "sculk_vein" | "sea_pickle" | "spore_blossom" | "twisting_vines" | "weeping_vines" | "cave_vines" | "acacia" | "amethyst_geode" | "bamboo_vegetation" | "basalt_blobs" | "basalt_pillar" | "birch_bees_0002" | "birch_bees_0002_leaf_litter" | "birch_bees_002" | "birch_leaf_litter" | "birch_tall" | "blackstone_blobs" | "cherry_bees_005" | "crimson_forest_vegetation" | "dark_forest_vegetation" | "dark_oak_leaf_litter" | "delta" | "desert_well" | "disk_clay" | "disk_grass" | "disk_gravel" | "disk_sand" | "dripstone_cluster" | "end_gateway_return" | "end_platform" | "end_spike" | "fallen_birch_tree" | "fallen_jungle_tree" | "fallen_oak_tree" | "fallen_spruce_tree" | "fallen_super_birch_tree" | "fancy_oak_bees" | "fancy_oak_bees_0002_leaf_litter" | "fancy_oak_bees_002" | "fancy_oak_leaf_litter" | "flower_cherry" | "flower_default" | "flower_flower_forest" | "flower_meadow" | "flower_pale_garden" | "flower_plain" | "flower_swamp" | "forest_flowers" | "forest_rock" | "freeze_top_layer" | "glowstone_extra" | "ice_patch" | "ice_spike" | "iceberg_blue" | "iceberg_packed" | "jungle_bush" | "jungle_tree" | "large_basalt_columns" | "large_dripstone" | "lush_caves_clay" | "monster_room" | "mushroom_island_vegetation" | "oak" | "oak_bees_0002_leaf_litter" | "oak_bees_002" | "oak_leaf_litter" | "ore_ancient_debris_large" | "ore_blackstone" | "ore_clay" | "ore_copper_large" | "ore_diamond_buried" | "ore_diamond_large" | "ore_diamond_medium" | "ore_dirt" | "ore_emerald" | "ore_gold" | "ore_gravel" | "ore_gravel_nether" | "ore_infested" | "ore_iron_small" | "ore_lapis" | "ore_lapis_buried" | "ore_magma" | "ore_redstone" | "ore_soul_sand" | "ore_tuff" | "pale_garden_vegetation" | "pale_moss_patch" | "patch_fire" | "patch_soul_fire" | "pile_hay" | "pile_ice" | "pile_melon" | "pile_pumpkin" | "pile_snow" | "pine" | "rooted_azalea_tree" | "sculk_patch_ancient_city" | "sculk_patch_deep_dark" | "small_basalt_columns" | "spring_lava_frozen" | "spring_water" | "spruce" | "super_birch_bees" | "super_birch_bees_0002" | "trees_badlands" | "trees_birch" | "trees_birch_and_oak_leaf_litter" | "trees_flower_forest" | "trees_grove" | "trees_jungle" | "trees_old_growth_pine_taiga" | "trees_old_growth_spruce_taiga" | "trees_plains" | "trees_savanna" | "trees_snowy" | "trees_sparse_jungle" | "trees_taiga" | "trees_water" | "trees_windswept_hills" | "underwater_magma" | "vines" | "void_start_platform" | "warm_ocean_vegetation" | "warped_forest_vegetation" | "acacia_checked" | "bamboo_light" | "birch_checked" | "brown_mushroom_nether" | "brown_mushroom_normal" | "brown_mushroom_old_growth" | "brown_mushroom_swamp" | "brown_mushroom_taiga" | "cherry_checked" | "classic_vines_cave_feature" | "crimson_fungi" | "dark_oak_checked" | "end_island_decorated" | "fancy_oak_checked" | "flower_forest_flowers" | "flower_plains" | "flower_warm" | "fossil_lower" | "fossil_upper" | "grass_bonemeal" | "kelp_cold" | "kelp_warm" | "lake_lava_surface" | "lake_lava_underground" | "lush_caves_ceiling_vegetation" | "lush_caves_vegetation" | "mangrove_checked" | "mega_jungle_tree_checked" | "mega_pine_checked" | "mega_spruce_checked" | "monster_room_deep" | "oak_checked" | "ore_andesite_lower" | "ore_andesite_upper" | "ore_coal_lower" | "ore_coal_upper" | "ore_copper" | "ore_debris_small" | "ore_diamond" | "ore_diorite_lower" | "ore_diorite_upper" | "ore_gold_deltas" | "ore_gold_extra" | "ore_gold_lower" | "ore_gold_nether" | "ore_granite_lower" | "ore_granite_upper" | "ore_iron_middle" | "ore_iron_upper" | "ore_quartz_deltas" | "ore_quartz_nether" | "ore_redstone_lower" | "pale_garden_flowers" | "pale_oak_checked" | "pale_oak_creaking_checked" | "patch_berry_bush" | "patch_berry_common" | "patch_berry_rare" | "patch_bush" | "patch_cactus" | "patch_cactus_decorated" | "patch_cactus_desert" | "patch_crimson_roots" | "patch_dead_bush" | "patch_dead_bush_2" | "patch_dead_bush_badlands" | "patch_dry_grass_badlands" | "patch_dry_grass_desert" | "patch_firefly_bush_near_water" | "patch_firefly_bush_near_water_swamp" | "patch_firefly_bush_swamp" | "patch_grass_badlands" | "patch_grass_forest" | "patch_grass_jungle" | "patch_grass_meadow" | "patch_grass_normal" | "patch_grass_plain" | "patch_grass_savanna" | "patch_grass_taiga" | "patch_grass_taiga_2" | "patch_large_fern" | "patch_leaf_litter" | "patch_melon" | "patch_melon_sparse" | "patch_pumpkin" | "patch_sugar_cane" | "patch_sugar_cane_badlands" | "patch_sugar_cane_desert" | "patch_sugar_cane_swamp" | "patch_sunflower" | "patch_taiga_grass" | "patch_tall_grass" | "patch_tall_grass_2" | "patch_waterlily" | "pine_checked" | "pine_on_snow" | "red_mushroom_nether" | "red_mushroom_normal" | "red_mushroom_old_growth" | "red_mushroom_swamp" | "red_mushroom_taiga" | "seagrass_cold" | "seagrass_deep" | "seagrass_deep_cold" | "seagrass_deep_warm" | "seagrass_normal" | "seagrass_river" | "seagrass_swamp" | "seagrass_warm" | "spring_closed" | "spring_closed_double" | "spring_delta" | "spring_lava" | "spring_open" | "spruce_checked" | "spruce_on_snow" | "tall_mangrove_checked" | "trees_cherry" | "trees_mangrove" | "trees_meadow" | "trees_swamp" | "trees_windswept_forest" | "trees_windswept_savanna" | "warped_fungi" | "wildflowers_birch_forest" | "wildflowers_meadow">;
4
+ export declare const WORLDGEN_PLACED_FEATURES_SET: Set<"bamboo" | "blue_ice" | "cave_vines" | "chorus_plant" | "glow_lichen" | "glowstone" | "nether_sprouts" | "pointed_dripstone" | "sculk_vein" | "sea_pickle" | "spore_blossom" | "twisting_vines" | "weeping_vines" | "acacia" | "amethyst_geode" | "bamboo_vegetation" | "basalt_blobs" | "basalt_pillar" | "birch_bees_0002" | "birch_bees_0002_leaf_litter" | "birch_bees_002" | "birch_leaf_litter" | "birch_tall" | "blackstone_blobs" | "cherry_bees_005" | "crimson_forest_vegetation" | "dark_forest_vegetation" | "dark_oak_leaf_litter" | "delta" | "desert_well" | "disk_clay" | "disk_grass" | "disk_gravel" | "disk_sand" | "dripstone_cluster" | "end_gateway_return" | "end_platform" | "end_spike" | "fallen_birch_tree" | "fallen_jungle_tree" | "fallen_oak_tree" | "fallen_spruce_tree" | "fallen_super_birch_tree" | "fancy_oak_bees" | "fancy_oak_bees_0002_leaf_litter" | "fancy_oak_bees_002" | "fancy_oak_leaf_litter" | "flower_cherry" | "flower_default" | "flower_flower_forest" | "flower_meadow" | "flower_pale_garden" | "flower_plain" | "flower_swamp" | "forest_flowers" | "forest_rock" | "freeze_top_layer" | "glowstone_extra" | "ice_patch" | "ice_spike" | "iceberg_blue" | "iceberg_packed" | "jungle_bush" | "jungle_tree" | "large_basalt_columns" | "large_dripstone" | "lush_caves_clay" | "monster_room" | "mushroom_island_vegetation" | "oak" | "oak_bees_0002_leaf_litter" | "oak_bees_002" | "oak_leaf_litter" | "ore_ancient_debris_large" | "ore_blackstone" | "ore_clay" | "ore_copper_large" | "ore_diamond_buried" | "ore_diamond_large" | "ore_diamond_medium" | "ore_dirt" | "ore_emerald" | "ore_gold" | "ore_gravel" | "ore_gravel_nether" | "ore_infested" | "ore_iron_small" | "ore_lapis" | "ore_lapis_buried" | "ore_magma" | "ore_redstone" | "ore_soul_sand" | "ore_tuff" | "pale_garden_vegetation" | "pale_moss_patch" | "patch_fire" | "patch_soul_fire" | "pile_hay" | "pile_ice" | "pile_melon" | "pile_pumpkin" | "pile_snow" | "pine" | "rooted_azalea_tree" | "sculk_patch_ancient_city" | "sculk_patch_deep_dark" | "small_basalt_columns" | "spring_lava_frozen" | "spring_water" | "spruce" | "super_birch_bees" | "super_birch_bees_0002" | "trees_badlands" | "trees_birch" | "trees_birch_and_oak_leaf_litter" | "trees_flower_forest" | "trees_grove" | "trees_jungle" | "trees_old_growth_pine_taiga" | "trees_old_growth_spruce_taiga" | "trees_plains" | "trees_savanna" | "trees_snowy" | "trees_sparse_jungle" | "trees_taiga" | "trees_water" | "trees_windswept_hills" | "underwater_magma" | "vines" | "void_start_platform" | "warm_ocean_vegetation" | "warped_forest_vegetation" | "acacia_checked" | "bamboo_light" | "birch_checked" | "brown_mushroom_nether" | "brown_mushroom_normal" | "brown_mushroom_old_growth" | "brown_mushroom_swamp" | "brown_mushroom_taiga" | "cherry_checked" | "classic_vines_cave_feature" | "crimson_fungi" | "dark_oak_checked" | "end_island_decorated" | "fancy_oak_checked" | "flower_forest_flowers" | "flower_plains" | "flower_warm" | "fossil_lower" | "fossil_upper" | "grass_bonemeal" | "kelp_cold" | "kelp_warm" | "lake_lava_surface" | "lake_lava_underground" | "lush_caves_ceiling_vegetation" | "lush_caves_vegetation" | "mangrove_checked" | "mega_jungle_tree_checked" | "mega_pine_checked" | "mega_spruce_checked" | "monster_room_deep" | "oak_checked" | "ore_andesite_lower" | "ore_andesite_upper" | "ore_coal_lower" | "ore_coal_upper" | "ore_copper" | "ore_debris_small" | "ore_diamond" | "ore_diorite_lower" | "ore_diorite_upper" | "ore_gold_deltas" | "ore_gold_extra" | "ore_gold_lower" | "ore_gold_nether" | "ore_granite_lower" | "ore_granite_upper" | "ore_iron_middle" | "ore_iron_upper" | "ore_quartz_deltas" | "ore_quartz_nether" | "ore_redstone_lower" | "pale_garden_flowers" | "pale_oak_checked" | "pale_oak_creaking_checked" | "patch_berry_bush" | "patch_berry_common" | "patch_berry_rare" | "patch_bush" | "patch_cactus" | "patch_cactus_decorated" | "patch_cactus_desert" | "patch_crimson_roots" | "patch_dead_bush" | "patch_dead_bush_2" | "patch_dead_bush_badlands" | "patch_dry_grass_badlands" | "patch_dry_grass_desert" | "patch_firefly_bush_near_water" | "patch_firefly_bush_near_water_swamp" | "patch_firefly_bush_swamp" | "patch_grass_badlands" | "patch_grass_forest" | "patch_grass_jungle" | "patch_grass_meadow" | "patch_grass_normal" | "patch_grass_plain" | "patch_grass_savanna" | "patch_grass_taiga" | "patch_grass_taiga_2" | "patch_large_fern" | "patch_leaf_litter" | "patch_melon" | "patch_melon_sparse" | "patch_pumpkin" | "patch_sugar_cane" | "patch_sugar_cane_badlands" | "patch_sugar_cane_desert" | "patch_sugar_cane_swamp" | "patch_sunflower" | "patch_taiga_grass" | "patch_tall_grass" | "patch_tall_grass_2" | "patch_waterlily" | "pine_checked" | "pine_on_snow" | "red_mushroom_nether" | "red_mushroom_normal" | "red_mushroom_old_growth" | "red_mushroom_swamp" | "red_mushroom_taiga" | "seagrass_cold" | "seagrass_deep" | "seagrass_deep_cold" | "seagrass_deep_warm" | "seagrass_normal" | "seagrass_river" | "seagrass_swamp" | "seagrass_warm" | "spring_closed" | "spring_closed_double" | "spring_delta" | "spring_lava" | "spring_open" | "spruce_checked" | "spruce_on_snow" | "tall_mangrove_checked" | "trees_cherry" | "trees_mangrove" | "trees_meadow" | "trees_swamp" | "trees_windswept_forest" | "trees_windswept_savanna" | "warped_fungi" | "wildflowers_birch_forest" | "wildflowers_meadow">;
@@ -1,4 +1,4 @@
1
1
  import { Set } from "../../../../index.js";
2
2
  import type { NamespacedLiteralUnion, SetType } from "../../../../index.js";
3
3
  export type WORLDGEN_PLACEMENT_MODIFIER_TYPES = (NamespacedLiteralUnion<SetType<typeof WORLDGEN_PLACEMENT_MODIFIER_TYPES_SET>> | `minecraft:${SetType<typeof WORLDGEN_PLACEMENT_MODIFIER_TYPES_SET>}`);
4
- export declare const WORLDGEN_PLACEMENT_MODIFIER_TYPES_SET: Set<"heightmap" | "biome" | "block_predicate_filter" | "count" | "count_on_every_layer" | "environment_scan" | "fixed_placement" | "height_range" | "in_square" | "noise_based_count" | "noise_threshold_count" | "random_offset" | "rarity_filter" | "surface_relative_threshold_filter" | "surface_water_depth_filter">;
4
+ export declare const WORLDGEN_PLACEMENT_MODIFIER_TYPES_SET: Set<"count" | "heightmap" | "biome" | "block_predicate_filter" | "count_on_every_layer" | "environment_scan" | "fixed_placement" | "height_range" | "in_square" | "noise_based_count" | "noise_threshold_count" | "random_offset" | "rarity_filter" | "surface_relative_threshold_filter" | "surface_water_depth_filter">;
@@ -1,4 +1,4 @@
1
1
  import { Set } from "../../../../index.js";
2
2
  import type { NamespacedLiteralUnion, SetType } from "../../../../index.js";
3
3
  export type WORLDGEN_PROCESSOR_LISTS = (NamespacedLiteralUnion<SetType<typeof WORLDGEN_PROCESSOR_LISTS_SET>> | `minecraft:${SetType<typeof WORLDGEN_PROCESSOR_LISTS_SET>}`);
4
- export declare const WORLDGEN_PROCESSOR_LISTS_SET: Set<"empty" | "fossil_coal" | "fossil_diamonds" | "ancient_city_generic_degradation" | "ancient_city_start_degradation" | "ancient_city_walls_degradation" | "bastion_generic_degradation" | "bottom_rampart" | "bridge" | "entrance_replacement" | "farm_desert" | "farm_plains" | "farm_savanna" | "farm_snowy" | "farm_taiga" | "fossil_rot" | "high_rampart" | "high_wall" | "housing" | "mossify_10_percent" | "mossify_20_percent" | "mossify_70_percent" | "outpost_rot" | "rampart_degradation" | "roof" | "side_wall_degradation" | "stable_degradation" | "street_plains" | "street_savanna" | "street_snowy_or_taiga" | "trail_ruins_houses_archaeology" | "trail_ruins_roads_archaeology" | "trail_ruins_tower_top_archaeology" | "treasure_rooms" | "trial_chambers_copper_bulb_degradation" | "zombie_desert" | "zombie_plains" | "zombie_savanna" | "zombie_snowy" | "zombie_taiga">;
4
+ export declare const WORLDGEN_PROCESSOR_LISTS_SET: Set<"fossil_coal" | "fossil_diamonds" | "empty" | "ancient_city_generic_degradation" | "ancient_city_start_degradation" | "ancient_city_walls_degradation" | "bastion_generic_degradation" | "bottom_rampart" | "bridge" | "entrance_replacement" | "farm_desert" | "farm_plains" | "farm_savanna" | "farm_snowy" | "farm_taiga" | "fossil_rot" | "high_rampart" | "high_wall" | "housing" | "mossify_10_percent" | "mossify_20_percent" | "mossify_70_percent" | "outpost_rot" | "rampart_degradation" | "roof" | "side_wall_degradation" | "stable_degradation" | "street_plains" | "street_savanna" | "street_snowy_or_taiga" | "trail_ruins_houses_archaeology" | "trail_ruins_roads_archaeology" | "trail_ruins_tower_top_archaeology" | "treasure_rooms" | "trial_chambers_copper_bulb_degradation" | "zombie_desert" | "zombie_plains" | "zombie_savanna" | "zombie_snowy" | "zombie_taiga">;
@@ -1,4 +1,4 @@
1
1
  import { Set } from "../../../../index.js";
2
2
  import type { NamespacedLiteralUnion, SetType } from "../../../../index.js";
3
3
  export type WORLDGEN_STRUCTURE_SETS = (NamespacedLiteralUnion<SetType<typeof WORLDGEN_STRUCTURE_SETS_SET>> | `minecraft:${SetType<typeof WORLDGEN_STRUCTURE_SETS_SET>}`);
4
- export declare const WORLDGEN_STRUCTURE_SETS_SET: Set<"trail_ruins" | "trial_chambers" | "ancient_cities" | "buried_treasures" | "desert_pyramids" | "end_cities" | "igloos" | "jungle_temples" | "mineshafts" | "nether_complexes" | "nether_fossils" | "ocean_monuments" | "ocean_ruins" | "pillager_outposts" | "ruined_portals" | "shipwrecks" | "strongholds" | "swamp_huts" | "villages" | "woodland_mansions">;
4
+ export declare const WORLDGEN_STRUCTURE_SETS_SET: Set<"trail_ruins" | "trial_chambers" | "strongholds" | "ancient_cities" | "buried_treasures" | "desert_pyramids" | "end_cities" | "igloos" | "jungle_temples" | "mineshafts" | "nether_complexes" | "nether_fossils" | "ocean_monuments" | "ocean_ruins" | "pillager_outposts" | "ruined_portals" | "shipwrecks" | "swamp_huts" | "villages" | "woodland_mansions">;
@@ -1,4 +1,4 @@
1
1
  import { Set } from "../../../../index.js";
2
2
  import type { NamespacedLiteralUnion, SetType } from "../../../../index.js";
3
3
  export type WORLDGEN_STRUCTURE_TYPES = (NamespacedLiteralUnion<SetType<typeof WORLDGEN_STRUCTURE_TYPES_SET>> | `minecraft:${SetType<typeof WORLDGEN_STRUCTURE_TYPES_SET>}`);
4
- export declare const WORLDGEN_STRUCTURE_TYPES_SET: Set<"jigsaw" | "mineshaft" | "ocean_ruin" | "ruined_portal" | "shipwreck" | "buried_treasure" | "desert_pyramid" | "end_city" | "fortress" | "igloo" | "nether_fossil" | "stronghold" | "swamp_hut" | "jungle_temple" | "ocean_monument" | "woodland_mansion">;
4
+ export declare const WORLDGEN_STRUCTURE_TYPES_SET: Set<"jigsaw" | "buried_treasure" | "desert_pyramid" | "end_city" | "fortress" | "igloo" | "mineshaft" | "nether_fossil" | "ruined_portal" | "shipwreck" | "stronghold" | "swamp_hut" | "jungle_temple" | "ocean_ruin" | "ocean_monument" | "woodland_mansion">;
@@ -1,4 +1,4 @@
1
1
  import { Set } from "../../../../index.js";
2
2
  import type { NamespacedLiteralUnion, SetType } from "../../../../index.js";
3
3
  export type WORLDGEN_STRUCTURES = (NamespacedLiteralUnion<SetType<typeof WORLDGEN_STRUCTURES_SET>> | `minecraft:${SetType<typeof WORLDGEN_STRUCTURES_SET>}`);
4
- export declare const WORLDGEN_STRUCTURES_SET: Set<"mansion" | "monument" | "mineshaft" | "ruined_portal" | "shipwreck" | "ancient_city" | "bastion_remnant" | "buried_treasure" | "desert_pyramid" | "end_city" | "fortress" | "igloo" | "jungle_pyramid" | "mineshaft_mesa" | "nether_fossil" | "ocean_ruin_cold" | "ocean_ruin_warm" | "pillager_outpost" | "ruined_portal_desert" | "ruined_portal_jungle" | "ruined_portal_mountain" | "ruined_portal_nether" | "ruined_portal_ocean" | "ruined_portal_swamp" | "shipwreck_beached" | "stronghold" | "swamp_hut" | "trail_ruins" | "trial_chambers" | "village_desert" | "village_plains" | "village_savanna" | "village_snowy" | "village_taiga">;
4
+ export declare const WORLDGEN_STRUCTURES_SET: Set<"mansion" | "monument" | "ancient_city" | "bastion_remnant" | "buried_treasure" | "desert_pyramid" | "end_city" | "fortress" | "igloo" | "jungle_pyramid" | "mineshaft" | "mineshaft_mesa" | "nether_fossil" | "ocean_ruin_cold" | "ocean_ruin_warm" | "pillager_outpost" | "ruined_portal" | "ruined_portal_desert" | "ruined_portal_jungle" | "ruined_portal_mountain" | "ruined_portal_nether" | "ruined_portal_ocean" | "ruined_portal_swamp" | "shipwreck" | "shipwreck_beached" | "stronghold" | "swamp_hut" | "trail_ruins" | "trial_chambers" | "village_desert" | "village_plains" | "village_savanna" | "village_snowy" | "village_taiga">;
@@ -1,4 +1,4 @@
1
1
  import { Set } from "../../../../index.js";
2
2
  import type { NamespacedLiteralUnion, SetType } from "../../../../index.js";
3
3
  export type WORLDGEN_TEMPLATE_POOLS = (NamespacedLiteralUnion<SetType<typeof WORLDGEN_TEMPLATE_POOLS_SET>> | `minecraft:${SetType<typeof WORLDGEN_TEMPLATE_POOLS_SET>}`);
4
- export declare const WORLDGEN_TEMPLATE_POOLS_SET: Set<"bastion/blocks/gold" | "bastion/mobs/hoglin" | "bastion/units/fillers/stage_0" | "empty" | "trial_chambers/chamber/assembly" | "trial_chambers/chamber/entrance_cap" | "trial_chambers/chamber/eruption" | "trial_chambers/chamber/pedestal" | "trial_chambers/chamber/slanted" | "trial_chambers/chests/supply" | "trial_chambers/decor/disposal" | "trial_chambers/dispensers/chamber" | "trial_chambers/reward/ominous_vault" | "trial_chambers/spawner/melee/husk" | "trial_chambers/spawner/melee/spider" | "trial_chambers/spawner/melee/zombie" | "trial_chambers/spawner/ranged/poison_skeleton" | "trial_chambers/spawner/ranged/skeleton" | "trial_chambers/spawner/ranged/stray" | "trial_chambers/spawner/slow_ranged/poison_skeleton" | "trial_chambers/spawner/slow_ranged/skeleton" | "trial_chambers/spawner/slow_ranged/stray" | "trial_chambers/spawner/small_melee/baby_zombie" | "trial_chambers/spawner/small_melee/cave_spider" | "trial_chambers/spawner/small_melee/silverfish" | "trial_chambers/spawner/small_melee/slime" | "village/common/iron_golem" | "ancient_city/city/entrance" | "ancient_city/city_center" | "ancient_city/city_center/walls" | "ancient_city/sculk" | "ancient_city/structures" | "ancient_city/walls" | "ancient_city/walls/no_corners" | "bastion/bridge/bridge_pieces" | "bastion/bridge/connectors" | "bastion/bridge/legs" | "bastion/bridge/rampart_plates" | "bastion/bridge/ramparts" | "bastion/bridge/starting_pieces" | "bastion/bridge/walls" | "bastion/hoglin_stable/connectors" | "bastion/hoglin_stable/large_stables/inner" | "bastion/hoglin_stable/large_stables/outer" | "bastion/hoglin_stable/mirrored_starting_pieces" | "bastion/hoglin_stable/posts" | "bastion/hoglin_stable/rampart_plates" | "bastion/hoglin_stable/ramparts" | "bastion/hoglin_stable/small_stables/inner" | "bastion/hoglin_stable/small_stables/outer" | "bastion/hoglin_stable/stairs" | "bastion/hoglin_stable/starting_pieces" | "bastion/hoglin_stable/wall_bases" | "bastion/hoglin_stable/walls" | "bastion/mobs/piglin" | "bastion/mobs/piglin_melee" | "bastion/starts" | "bastion/treasure/bases" | "bastion/treasure/bases/centers" | "bastion/treasure/brains" | "bastion/treasure/connectors" | "bastion/treasure/corners/bottom" | "bastion/treasure/corners/edges" | "bastion/treasure/corners/middle" | "bastion/treasure/corners/top" | "bastion/treasure/entrances" | "bastion/treasure/extensions/houses" | "bastion/treasure/extensions/large_pool" | "bastion/treasure/extensions/small_pool" | "bastion/treasure/ramparts" | "bastion/treasure/roofs" | "bastion/treasure/stairs" | "bastion/treasure/walls" | "bastion/treasure/walls/bottom" | "bastion/treasure/walls/mid" | "bastion/treasure/walls/outer" | "bastion/treasure/walls/top" | "bastion/units/center_pieces" | "bastion/units/edge_wall_units" | "bastion/units/edges" | "bastion/units/large_ramparts" | "bastion/units/pathways" | "bastion/units/rampart_plates" | "bastion/units/ramparts" | "bastion/units/stages/rot/stage_1" | "bastion/units/stages/stage_0" | "bastion/units/stages/stage_1" | "bastion/units/stages/stage_2" | "bastion/units/stages/stage_3" | "bastion/units/wall_units" | "bastion/units/walls/wall_bases" | "pillager_outpost/base_plates" | "pillager_outpost/feature_plates" | "pillager_outpost/features" | "pillager_outpost/towers" | "trail_ruins/buildings" | "trail_ruins/buildings/grouped" | "trail_ruins/decor" | "trail_ruins/roads" | "trail_ruins/tower" | "trail_ruins/tower/additions" | "trail_ruins/tower/tower_top" | "trial_chambers/atrium" | "trial_chambers/chamber/addon" | "trial_chambers/chamber/end" | "trial_chambers/chambers/end" | "trial_chambers/chests/contents/supply" | "trial_chambers/corridor" | "trial_chambers/corridor/slices" | "trial_chambers/corridors/addon/lower" | "trial_chambers/corridors/addon/middle" | "trial_chambers/corridors/addon/middle_upper" | "trial_chambers/decor" | "trial_chambers/decor/bed" | "trial_chambers/decor/chamber" | "trial_chambers/entrance" | "trial_chambers/hallway" | "trial_chambers/hallway/fallback" | "trial_chambers/reward/all" | "trial_chambers/reward/contents/default" | "trial_chambers/spawner/all" | "trial_chambers/spawner/breeze" | "trial_chambers/spawner/contents/breeze" | "trial_chambers/spawner/melee" | "trial_chambers/spawner/ranged" | "trial_chambers/spawner/slow_ranged" | "trial_chambers/spawner/small_melee" | "village/common/animals" | "village/common/butcher_animals" | "village/common/cats" | "village/common/sheep" | "village/common/well_bottoms" | "village/desert/camel" | "village/desert/decor" | "village/desert/houses" | "village/desert/streets" | "village/desert/terminators" | "village/desert/town_centers" | "village/desert/villagers" | "village/desert/zombie/decor" | "village/desert/zombie/houses" | "village/desert/zombie/streets" | "village/desert/zombie/terminators" | "village/desert/zombie/villagers" | "village/plains/decor" | "village/plains/houses" | "village/plains/streets" | "village/plains/terminators" | "village/plains/town_centers" | "village/plains/trees" | "village/plains/villagers" | "village/plains/zombie/decor" | "village/plains/zombie/houses" | "village/plains/zombie/streets" | "village/plains/zombie/villagers" | "village/savanna/decor" | "village/savanna/houses" | "village/savanna/streets" | "village/savanna/terminators" | "village/savanna/town_centers" | "village/savanna/trees" | "village/savanna/villagers" | "village/savanna/zombie/decor" | "village/savanna/zombie/houses" | "village/savanna/zombie/streets" | "village/savanna/zombie/terminators" | "village/savanna/zombie/villagers" | "village/snowy/decor" | "village/snowy/houses" | "village/snowy/streets" | "village/snowy/terminators" | "village/snowy/town_centers" | "village/snowy/trees" | "village/snowy/villagers" | "village/snowy/zombie/decor" | "village/snowy/zombie/houses" | "village/snowy/zombie/streets" | "village/snowy/zombie/villagers" | "village/taiga/decor" | "village/taiga/houses" | "village/taiga/streets" | "village/taiga/terminators" | "village/taiga/town_centers" | "village/taiga/villagers" | "village/taiga/zombie/decor" | "village/taiga/zombie/houses" | "village/taiga/zombie/streets" | "village/taiga/zombie/villagers">;
4
+ export declare const WORLDGEN_TEMPLATE_POOLS_SET: Set<"ancient_city/city/entrance" | "ancient_city/city_center" | "ancient_city/city_center/walls" | "ancient_city/sculk" | "ancient_city/structures" | "ancient_city/walls" | "ancient_city/walls/no_corners" | "bastion/blocks/gold" | "bastion/bridge/bridge_pieces" | "bastion/bridge/connectors" | "bastion/bridge/legs" | "bastion/bridge/rampart_plates" | "bastion/bridge/ramparts" | "bastion/bridge/starting_pieces" | "bastion/bridge/walls" | "bastion/hoglin_stable/connectors" | "bastion/hoglin_stable/large_stables/inner" | "bastion/hoglin_stable/large_stables/outer" | "bastion/hoglin_stable/mirrored_starting_pieces" | "bastion/hoglin_stable/posts" | "bastion/hoglin_stable/rampart_plates" | "bastion/hoglin_stable/ramparts" | "bastion/hoglin_stable/small_stables/inner" | "bastion/hoglin_stable/small_stables/outer" | "bastion/hoglin_stable/stairs" | "bastion/hoglin_stable/starting_pieces" | "bastion/hoglin_stable/wall_bases" | "bastion/hoglin_stable/walls" | "bastion/mobs/hoglin" | "bastion/mobs/piglin" | "bastion/mobs/piglin_melee" | "bastion/starts" | "bastion/treasure/bases" | "bastion/treasure/bases/centers" | "bastion/treasure/brains" | "bastion/treasure/connectors" | "bastion/treasure/corners/bottom" | "bastion/treasure/corners/edges" | "bastion/treasure/corners/middle" | "bastion/treasure/corners/top" | "bastion/treasure/entrances" | "bastion/treasure/extensions/houses" | "bastion/treasure/extensions/large_pool" | "bastion/treasure/extensions/small_pool" | "bastion/treasure/ramparts" | "bastion/treasure/roofs" | "bastion/treasure/stairs" | "bastion/treasure/walls" | "bastion/treasure/walls/bottom" | "bastion/treasure/walls/mid" | "bastion/treasure/walls/outer" | "bastion/treasure/walls/top" | "bastion/units/center_pieces" | "bastion/units/edge_wall_units" | "bastion/units/edges" | "bastion/units/fillers/stage_0" | "bastion/units/large_ramparts" | "bastion/units/pathways" | "bastion/units/rampart_plates" | "bastion/units/ramparts" | "bastion/units/stages/rot/stage_1" | "bastion/units/stages/stage_0" | "bastion/units/stages/stage_1" | "bastion/units/stages/stage_2" | "bastion/units/stages/stage_3" | "bastion/units/wall_units" | "bastion/units/walls/wall_bases" | "empty" | "pillager_outpost/base_plates" | "pillager_outpost/feature_plates" | "pillager_outpost/features" | "pillager_outpost/towers" | "trail_ruins/buildings" | "trail_ruins/buildings/grouped" | "trail_ruins/decor" | "trail_ruins/roads" | "trail_ruins/tower" | "trail_ruins/tower/additions" | "trail_ruins/tower/tower_top" | "trial_chambers/atrium" | "trial_chambers/chamber/addon" | "trial_chambers/chamber/assembly" | "trial_chambers/chamber/end" | "trial_chambers/chamber/entrance_cap" | "trial_chambers/chamber/eruption" | "trial_chambers/chamber/pedestal" | "trial_chambers/chamber/slanted" | "trial_chambers/chambers/end" | "trial_chambers/chests/contents/supply" | "trial_chambers/chests/supply" | "trial_chambers/corridor" | "trial_chambers/corridor/slices" | "trial_chambers/corridors/addon/lower" | "trial_chambers/corridors/addon/middle" | "trial_chambers/corridors/addon/middle_upper" | "trial_chambers/decor" | "trial_chambers/decor/bed" | "trial_chambers/decor/chamber" | "trial_chambers/decor/disposal" | "trial_chambers/dispensers/chamber" | "trial_chambers/entrance" | "trial_chambers/hallway" | "trial_chambers/hallway/fallback" | "trial_chambers/reward/all" | "trial_chambers/reward/contents/default" | "trial_chambers/reward/ominous_vault" | "trial_chambers/spawner/all" | "trial_chambers/spawner/breeze" | "trial_chambers/spawner/contents/breeze" | "trial_chambers/spawner/melee" | "trial_chambers/spawner/melee/husk" | "trial_chambers/spawner/melee/spider" | "trial_chambers/spawner/melee/zombie" | "trial_chambers/spawner/ranged" | "trial_chambers/spawner/ranged/poison_skeleton" | "trial_chambers/spawner/ranged/skeleton" | "trial_chambers/spawner/ranged/stray" | "trial_chambers/spawner/slow_ranged" | "trial_chambers/spawner/slow_ranged/poison_skeleton" | "trial_chambers/spawner/slow_ranged/skeleton" | "trial_chambers/spawner/slow_ranged/stray" | "trial_chambers/spawner/small_melee" | "trial_chambers/spawner/small_melee/baby_zombie" | "trial_chambers/spawner/small_melee/cave_spider" | "trial_chambers/spawner/small_melee/silverfish" | "trial_chambers/spawner/small_melee/slime" | "village/common/animals" | "village/common/butcher_animals" | "village/common/cats" | "village/common/iron_golem" | "village/common/sheep" | "village/common/well_bottoms" | "village/desert/camel" | "village/desert/decor" | "village/desert/houses" | "village/desert/streets" | "village/desert/terminators" | "village/desert/town_centers" | "village/desert/villagers" | "village/desert/zombie/decor" | "village/desert/zombie/houses" | "village/desert/zombie/streets" | "village/desert/zombie/terminators" | "village/desert/zombie/villagers" | "village/plains/decor" | "village/plains/houses" | "village/plains/streets" | "village/plains/terminators" | "village/plains/town_centers" | "village/plains/trees" | "village/plains/villagers" | "village/plains/zombie/decor" | "village/plains/zombie/houses" | "village/plains/zombie/streets" | "village/plains/zombie/villagers" | "village/savanna/decor" | "village/savanna/houses" | "village/savanna/streets" | "village/savanna/terminators" | "village/savanna/town_centers" | "village/savanna/trees" | "village/savanna/villagers" | "village/savanna/zombie/decor" | "village/savanna/zombie/houses" | "village/savanna/zombie/streets" | "village/savanna/zombie/terminators" | "village/savanna/zombie/villagers" | "village/snowy/decor" | "village/snowy/houses" | "village/snowy/streets" | "village/snowy/terminators" | "village/snowy/town_centers" | "village/snowy/trees" | "village/snowy/villagers" | "village/snowy/zombie/decor" | "village/snowy/zombie/houses" | "village/snowy/zombie/streets" | "village/snowy/zombie/villagers" | "village/taiga/decor" | "village/taiga/houses" | "village/taiga/streets" | "village/taiga/terminators" | "village/taiga/town_centers" | "village/taiga/villagers" | "village/taiga/zombie/decor" | "village/taiga/zombie/houses" | "village/taiga/zombie/streets" | "village/taiga/zombie/villagers">;
@@ -1,4 +1,4 @@
1
1
  import { Set } from "../../../../index.js";
2
2
  import type { NamespacedLiteralUnion, SetType } from "../../../../index.js";
3
3
  export type WORLDGEN_TREE_DECORATOR_TYPES = (NamespacedLiteralUnion<SetType<typeof WORLDGEN_TREE_DECORATOR_TYPES_SET>> | `minecraft:${SetType<typeof WORLDGEN_TREE_DECORATOR_TYPES_SET>}`);
4
- export declare const WORLDGEN_TREE_DECORATOR_TYPES_SET: Set<"beehive" | "creaking_heart" | "cocoa" | "alter_ground" | "attached_to_leaves" | "attached_to_logs" | "leave_vine" | "pale_moss" | "place_on_ground" | "trunk_vine">;
4
+ export declare const WORLDGEN_TREE_DECORATOR_TYPES_SET: Set<"beehive" | "cocoa" | "creaking_heart" | "alter_ground" | "attached_to_leaves" | "attached_to_logs" | "leave_vine" | "pale_moss" | "place_on_ground" | "trunk_vine">;
@@ -6,4 +6,4 @@ import type { CUSTOM_STATS_SET } from "./generated/_registry/custom_stats.js";
6
6
  import type { ENTITY_TYPES_SET } from "./generated/_registry/entity_types.js";
7
7
  import type { BLOCK_TYPES_SET } from "./generated/_registry/block_types.js";
8
8
  export type ObjectiveArgument = string | ObjectiveClass;
9
- export type OBJECTIVE_CRITERIA = ('air' | 'armor' | 'deathCount' | 'dummy' | 'food' | 'health' | 'level' | 'playerKillCount' | 'totalKillCount' | 'trigger' | 'xp' | `killedByTeam.${DyeColor}` | `teamKill.${DyeColor}` | `minecraft.${'broken' | 'crafted' | 'dropped' | 'picked_up' | 'used'}:minecraft.${SetType<typeof ITEMS_SET>}` | `minecraft.custom:minecraft.${SetType<typeof CUSTOM_STATS_SET>}` | `minecraft.${'killed' | 'killed_by'}:minecraft.${SetType<typeof ENTITY_TYPES_SET>}` | `minecraft.mined:minecraft:${SetType<typeof BLOCK_TYPES_SET>}`);
9
+ export type OBJECTIVE_CRITERIA = ('air' | 'armor' | 'deathCount' | 'dummy' | 'food' | 'health' | 'level' | 'playerKillCount' | 'totalKillCount' | 'trigger' | 'xp' | `killedByTeam.${DyeColor}` | `teamkill.${DyeColor}` | `minecraft.${'broken' | 'crafted' | 'dropped' | 'picked_up' | 'used'}:minecraft.${SetType<typeof ITEMS_SET>}` | `minecraft.custom:minecraft.${SetType<typeof CUSTOM_STATS_SET>}` | `minecraft.${'killed' | 'killed_by'}:minecraft.${SetType<typeof ENTITY_TYPES_SET>}` | `minecraft.mined:minecraft:${SetType<typeof BLOCK_TYPES_SET>}`);
@@ -1,13 +1,13 @@
1
- import type { MacroString } from "../core/index.js";
2
- export type Range<MACRO extends boolean = false> = MacroString<number, MACRO> | `${number}` | `${MacroString<number, MACRO>}..` | `${MacroString<number, MACRO>}..${MacroString<number, MACRO>}` | `..${MacroString<number, MACRO>}` | [
3
- min: MacroString<number, MACRO>,
4
- max: MacroString<number, MACRO>
1
+ import type { Macroable } from "../core/index.js";
2
+ export type Range<MACRO extends boolean = false> = Macroable<number, MACRO> | `${number}` | `${number}..` | `${number}..${number}` | `..${number}` | [
3
+ min: Macroable<number, MACRO>,
4
+ max: Macroable<number, MACRO>
5
5
  ] | [
6
- min: MacroString<number, MACRO>,
6
+ min: Macroable<number, MACRO>,
7
7
  max: null | undefined
8
8
  ] | [
9
9
  min: null | undefined,
10
- max: MacroString<number, MACRO>
10
+ max: Macroable<number, MACRO>
11
11
  ] | [
12
- min: MacroString<number, MACRO>
12
+ min: Macroable<number, MACRO>
13
13
  ];
@@ -1,8 +1,5 @@
1
1
  import type { SandstonePack } from '../../index.js';
2
- import { PlaceCommand } from "./implementations/block/place.js";
3
- import { DamageCommand } from "./implementations/entity/damage.js";
4
- import { AdvancementCommand, AttributeCommand, BossBarCommand, ClearCommand, CloneCommand, CommentCommand, DataCommand, DataPackCommand, DebugCommand, DefaultGameModeCommand, DialogCommand, DifficultyCommand, EffectCommand, EnchantCommand, ExecuteCommand, ExperienceCommand, FillBiomeCommand, FillCommand, ForceLoadCommand, FunctionCommand, GameModeCommand, GameRuleCommand, GiveCommand, HelpCommand, ItemCommand, JFRCommand, KillCommand, ListCommand, LocateCommand, LootCommand, MeCommand, ParticleCommand, PerfCommand, PlaySoundCommand, RawCommand, RecipeCommand, ReloadCommand, RideCommand, RotateCommand, SayCommand, ScheduleCommand, ScoreboardCommand, SeedCommand, SetBlockCommand, SetIdleTimeoutCommand, SetWorldSpawnCommand, SpawnPointCommand, SpectateCommand, SpreadPlayersCommand, StopSoundCommand, StopwatchCommand, SummonCommand, SwingCommand, TagCommand, TeamCommand, TeamMessageCommand, TeleportCommand, TellCommand, TellRawCommand, TestCommand, TimeCommand, TitleCommand, TransferCommand, TriggerCommand, VersionCommand, WaypointCommand, WeatherCommand, WorldBorderCommand } from "./implementations/index.js";
5
- import { RandomCommand } from "./implementations/server/random.js";
2
+ import { AdvancementCommand, AttributeCommand, BossBarCommand, ClearCommand, CloneCommand, CommentCommand, DamageCommand, DataCommand, DataPackCommand, DebugCommand, DefaultGameModeCommand, DialogCommand, DifficultyCommand, EffectCommand, EnchantCommand, ExecuteCommand, ExperienceCommand, FillBiomeCommand, FillCommand, ForceLoadCommand, FunctionCommand, GameModeCommand, GameRuleCommand, GiveCommand, HelpCommand, ItemCommand, JFRCommand, KillCommand, ListCommand, LocateCommand, LootCommand, MeCommand, ParticleCommand, PerfCommand, PlaceCommand, PlaySoundCommand, RandomCommand, RawCommand, RecipeCommand, ReloadCommand, RideCommand, RotateCommand, SayCommand, ScheduleCommand, ScoreboardCommand, SeedCommand, SetBlockCommand, SetIdleTimeoutCommand, SetWorldSpawnCommand, SpawnPointCommand, SpectateCommand, SpreadPlayersCommand, StopSoundCommand, StopwatchCommand, SummonCommand, SwingCommand, TagCommand, TeamCommand, TeamMessageCommand, TeleportCommand, TellCommand, TellRawCommand, TestCommand, TimeCommand, TitleCommand, TransferCommand, TriggerCommand, VersionCommand, WaypointCommand, WeatherCommand, WorldBorderCommand } from "./implementations/index.js";
6
3
  export declare class SandstoneCommands<MACRO extends boolean = false> {
7
4
  sandstonePack: SandstonePack;
8
5
  constructor(sandstonePack: SandstonePack);
@@ -69,10 +69,10 @@ export declare class ExecuteCommandNode extends ContainerCommandNode<SubCommand[
69
69
  getValue: () => any;
70
70
  createMCFunction: (currentMCFunction: MCFunctionNode | null) => {
71
71
  node: ExecuteCommandNode;
72
- mcFunction?: undefined;
72
+ mcFunction: MCFunctionNode;
73
73
  } | {
74
74
  node: ExecuteCommandNode;
75
- mcFunction: MCFunctionNode;
75
+ mcFunction?: undefined;
76
76
  };
77
77
  }
78
78
  export declare class ExecuteStoreArgsCommand<MACRO extends boolean> extends ExecuteCommandPart<MACRO> {
@@ -121,7 +121,13 @@ export declare class ExecuteStoreArgsCommand<MACRO extends boolean> extends Exec
121
121
  *
122
122
  * @param objective A scoreboard objective.
123
123
  */
124
- score: (targets: Macroable<MultipleEntitiesArgument<MACRO>, MACRO>, objective: Macroable<ObjectiveArgument, MACRO>) => ExecuteCommand<MACRO>;
124
+ score(targets: Macroable<MultipleEntitiesArgument<MACRO>, MACRO>, objective: Macroable<ObjectiveArgument, MACRO>): ExecuteCommand<MACRO>;
125
+ /**
126
+ * Overrides the given score with the final command's return value.
127
+ *
128
+ * @param score The score to override.
129
+ */
130
+ score(score: Score): ExecuteCommand<MACRO>;
125
131
  /**
126
132
  * Uses the `path` within storage `target` to store the return value in.
127
133
  *
@@ -1,7 +1,40 @@
1
1
  import type { SymbolGameRule } from "../../../arguments/index.js";
2
2
  import type { Macroable } from "../../../core/index.js";
3
+ import type { NBTInt } from "../../../variables/nbt/NBTs.js";
4
+ import type { PositiveWholeNumber, NegativeWholeNumber, SmartRange, IsNegative, ToNegative, PositiveRange, Abs, Enumerate, WholeNumber } from "../../../utils.js";
3
5
  import { CommandNode } from "../../../core/nodes.js";
4
- import { CommandArguments } from "../../helpers.js";
6
+ import { CommandArguments, FinalCommandOutput } from "../../helpers.js";
7
+ declare const RangeSymbol: unique symbol;
8
+ export type Inf = 1e999;
9
+ export type NegativeInf = -1e999;
10
+ export type RangedInt<Min, Max = Inf> = number & {
11
+ readonly [RangeSymbol]?: [
12
+ Min,
13
+ Max
14
+ ];
15
+ };
16
+ export type RangeError<Message extends string> = Message & {
17
+ readonly __brand: "RangeError";
18
+ };
19
+ export type ExtractNBTIntRange<T, V extends number> = (T extends NBTInt<infer Range> ? [
20
+ number
21
+ ] extends [
22
+ V
23
+ ] ? Range extends {
24
+ min: infer Min extends number;
25
+ max: infer Max extends number;
26
+ } ? RangedInt<Min, Max> : Range extends {
27
+ max: infer Max extends number;
28
+ } ? RangedInt<NegativeInf, Max> : Range extends {
29
+ min: infer Min extends number;
30
+ } ? RangedInt<Min, Inf> : RangedInt<NegativeInf, Inf> : V extends WholeNumber<V> ? (Range extends {
31
+ min: infer Min extends number;
32
+ max: infer Max extends number;
33
+ } ? (V extends SmartRange<Min, Max> ? V : RangeError<`Error: ${V} is out of bounds (${Min}..${Max})`>) : Range extends {
34
+ max: infer Max extends number;
35
+ } ? (IsNegative<Max> extends true ? (V extends NegativeWholeNumber<V> ? (`${V}` extends `-${infer AbsV extends number}` ? (AbsV extends Enumerate<Abs<Max>> ? RangeError<`Error: Value must be <= ${Max}`> : V) : V) : RangeError<`Error: Value must be <= ${Max}`>) : (V extends (NegativeWholeNumber<V> | 0 | PositiveRange<1, Max>) ? V : RangeError<`Error: ${V} must be <= ${Max}`>)) : Range extends {
36
+ min: infer Min extends number;
37
+ } ? (IsNegative<Min> extends true ? (V extends (ToNegative<PositiveRange<1, Abs<Min>>> | 0 | PositiveWholeNumber<V>) ? V : RangeError<`Error: Value must be >= ${Min}`>) : (V extends 0 ? (Min extends 0 ? 0 : RangeError<`Error: Value must be >= ${Min}`>) : V extends PositiveWholeNumber<V> ? (`${V}` extends `${infer VN extends number}` ? (VN extends Enumerate<Min> ? RangeError<`Error: Value must be >= ${Min}`> : V) : V) : RangeError<`Error: Value must be >= ${Min}`>)) : V) : RangeError<`Error: ${V} must be a whole number (no decimals allowed)`> : T);
5
38
  export declare class GameRuleCommandNode extends CommandNode {
6
39
  command: "gamerule";
7
40
  }
@@ -16,7 +49,7 @@ export declare class GameRuleCommand<MACRO extends boolean> extends CommandArgum
16
49
  *
17
50
  * @param value Optional value to set. If not specified, queries current value.
18
51
  * Boolean rules: true/false
19
- * Numeric rules: integer >= 0
52
+ * Numeric rules: integer
20
53
  *
21
54
  * @example
22
55
  * ```ts
@@ -26,5 +59,7 @@ export declare class GameRuleCommand<MACRO extends boolean> extends CommandArgum
26
59
  * gamerule('doDaylightCycle', false) // Stop day/night cycle
27
60
  * ```
28
61
  */
29
- gamerule<RULE extends Macroable<keyof SymbolGameRule | `${string}:${string}`, MACRO>>(gamerule: RULE, value?: Macroable<RULE extends keyof SymbolGameRule ? SymbolGameRule[RULE] : number | boolean, MACRO>): import("../../index.js").FinalCommandOutput;
62
+ gamerule<RULE extends Macroable<keyof SymbolGameRule | `${string}:${string}`, MACRO>>(gamerule: RULE): FinalCommandOutput;
63
+ gamerule<RULE extends Macroable<keyof SymbolGameRule | (`${string}:${string}` & {}), MACRO>, V extends (RULE extends keyof SymbolGameRule ? number | boolean : number | boolean)>(gamerule: RULE, value: RULE extends keyof SymbolGameRule ? (SymbolGameRule[RULE] extends NBTInt<any> ? ExtractNBTIntRange<SymbolGameRule[RULE], V & number> : Macroable<SymbolGameRule[RULE], MACRO>) : V): FinalCommandOutput;
30
64
  }
65
+ export {};
@@ -12,14 +12,14 @@ export declare class RandomCommand<MACRO extends boolean> extends CommandArgumen
12
12
  * Generate random number for command results.
13
13
  *
14
14
  * @param range Number range for random generation.
15
- * Examples: {min: 1, max: 10}, [5, 15], 20
15
+ * Examples: [null, 10], [5, 15], 20
16
16
  *
17
17
  * @param sequence Random sequence identifier for reproducible results.
18
18
  * Examples: 'my_sequence', 'mypack:dice', 'combat_rng'
19
19
  *
20
20
  * @example
21
21
  * ```ts
22
- * random.value({min: 1, max: 6}, 'dice') // D6 roll
22
+ * random.value([1, 6], 'dice') // D6 roll
23
23
  * random.value([10, 20], 'damage_roll') // 10-20 damage
24
24
  * ```
25
25
  */
@@ -32,7 +32,7 @@ export declare class RandomCommand<MACRO extends boolean> extends CommandArgumen
32
32
  *
33
33
  * @example
34
34
  * ```ts
35
- * random.roll({min: 1, max: 100}) // 1-100 roll
35
+ * random.roll([null, 100]) // roll for a number under 100
36
36
  * random.roll([1, 20], 'public_dice') // D20 with sequence
37
37
  * ```
38
38
  */
@@ -1,8 +1,8 @@
1
- import type { TimeArgument } from "../../../arguments/index.js";
1
+ import type { Registry, TimeArgument } from "../../../arguments/index.js";
2
2
  import type { Macroable, WorldClockClass } from "../../../core/index.js";
3
3
  import { CommandNode } from "../../../core/nodes.js";
4
4
  import { CommandArguments } from "../../helpers.js";
5
- import type { LiteralUnion, NamespacedLiteralUnion } from "../../../../index.js";
5
+ import type { NamespacedLiteralUnion } from "../../../../index.js";
6
6
  type WORLD_CLOCKS = ('overworld' | 'the_end' | 'minecraft:overworld' | 'minecraft:the_end');
7
7
  export declare class TimeCommandNode extends CommandNode {
8
8
  command: "time";
@@ -22,11 +22,11 @@ export declare class TimeArguments<MACRO extends boolean> extends CommandArgumen
22
22
  * Queries current time.
23
23
  *
24
24
  * @param type Specifies the time to query. Can be one of the following:
25
- * - `daytime`: the number of game ticks since dawn. (the in-game daytime modulo 24000)
26
25
  * - `gametime`: the age of the world in game ticks. (the game time modulo 2147483647)
27
- * - `day`: the number of in-game days passed. (the in-game daytime divided by 24000, then modulo 2147483647)
26
+ * - `time`: an alias for the `minecraft:overworld` timeline
27
+ * - Any data-driven timeline (eg. `minecraft:villager_schedule`)
28
28
  */
29
- query: (type: Macroable<LiteralUnion<"daytime" | "gametime" | "day">, MACRO>) => import("../../index.js").FinalCommandOutput;
29
+ query: (type: Macroable<"gametime" | "time" | Registry["minecraft:timeline"], MACRO>) => import("../../index.js").FinalCommandOutput;
30
30
  /**
31
31
  * Sets the in-game daytime.
32
32
  *
@@ -35,7 +35,7 @@ export declare class TimeArguments<MACRO extends boolean> extends CommandArgumen
35
35
  * - `s`: a second, 20 gameticks;
36
36
  * - `t` (default and omitable): a single gametick; the default unit.
37
37
  */
38
- set: (time: Macroable<TimeArgument | LiteralUnion<"day" | "night" | "noon" | "midnight">, MACRO>) => import("../../index.js").FinalCommandOutput;
38
+ set: (time: Macroable<TimeArgument | NamespacedLiteralUnion<"day" | "night" | "noon" | "midnight">, MACRO>) => import("../../index.js").FinalCommandOutput;
39
39
  }
40
40
  export declare class TimeCommand<MACRO extends boolean> extends TimeArguments<MACRO> {
41
41
  protected NodeType: typeof TimeCommandNode;
@@ -7,7 +7,6 @@ export declare class MacroArgument {
7
7
  constructor(sandstoneCore: SandstoneCore);
8
8
  }
9
9
  export type Macroable<T, MACRO extends boolean> = MACRO extends true ? T | MacroArgument : T;
10
- export type MacroString<T, MACRO extends boolean> = MACRO extends true ? T | string : T;
11
10
  export declare function isMacroArgument(core: SandstoneCore, arg: any): MacroArgument | undefined;
12
11
  export declare class MacroLiteral extends MacroArgument {
13
12
  sandstoneCore: SandstoneCore;
@@ -3,6 +3,8 @@ import type { SandstonePack } from '../../index.js';
3
3
  import { MCMetaCache } from "./mcmeta.js";
4
4
  import type { AwaitNode } from "./nodes.js";
5
5
  import type { _RawMCFunctionClass, MCFunctionClass, MCFunctionNode } from "./resources/datapack/mcfunction.js";
6
+ import type { TagClass } from "./resources/datapack/tag.js";
7
+ import type { SoundsClass } from "./resources/resourcepack/sound.js";
6
8
  import { type ResourceClass, ResourceNodesMap } from "./resources/resource.js";
7
9
  import { SmithedDependencyCache } from "./smithed.js";
8
10
  import type { GenericCoreVisitor } from "./visitors.js";
@@ -16,6 +18,12 @@ export declare class SandstoneCore {
16
18
  _mcMetaCache: MCMetaCache | undefined | false;
17
19
  _smithed: SmithedDependencyCache | undefined | false;
18
20
  dependencies: ((() => Promise<true | false>) | true | false)[];
21
+ /** Cache of auto-generated function tags, keyed by tag name. Cleared on reset. */
22
+ functionTags: Map<string, TagClass<'function'>>;
23
+ /** Cache of auto-generated sounds.json definitions, keyed by namespace. Cleared on reset. */
24
+ sounds: Map<string, SoundsClass>;
25
+ /** Cache of auto-generated polling trigger check functions, keyed by polling interval. Cleared on reset. */
26
+ checkTriggers: Record<number, MCFunctionClass<undefined, undefined>>;
19
27
  constructor(pack: SandstonePack);
20
28
  reset: () => void;
21
29
  /**
@@ -162,8 +162,7 @@ export declare class SandstonePack {
162
162
  * @param options.alreadyExists If true, the objective will not be registered as a new one. Defaults to false.
163
163
  * @param options.useDefaultNamespace If true (the default), the objective will be created in the default namespace. \
164
164
  * For example, if the default namespace is `sandstone`, then the objective will be created as `sandstone.objective_name`. \
165
- * If false, the objective will be created without a namespace. \
166
- * This argument is ignored if the `name` already contains a namespace (determined by the presence of a dot `"."` or a double underscore `"__"`).
165
+ * If false, the objective will be created without a namespace.
167
166
  */
168
167
  create: (name: string, criteria?: LiteralUnion<OBJECTIVE_CRITERIA>, display?: JSONTextComponent, options?: {
169
168
  alreadyExists?: boolean;
@@ -308,7 +307,7 @@ export declare class SandstonePack {
308
307
  * Register commands that will be ticked at the rate you specify
309
308
  */
310
309
  registerTickedCommands(runEvery: TimeArgument, callback: () => void): void;
311
- sleep: (delay: TimeArgument) => PromiseLike<SleepClass>;
310
+ sleep: (delay: TimeArgument) => SleepClass;
312
311
  Loop: () => LoopArgument;
313
312
  __customResourceTypes: string[];
314
313
  registerCustomResource(type: string): void;