redscript-mc 2.4.0 → 2.5.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.
- package/CHANGELOG.md +25 -5
- package/README.md +2 -0
- package/dist/__tests__/cli.test.d.ts +1 -0
- package/dist/__tests__/cli.test.js +278 -0
- package/dist/__tests__/codegen.test.d.ts +1 -0
- package/dist/__tests__/codegen.test.js +152 -0
- package/dist/__tests__/compile-all.test.d.ts +10 -0
- package/dist/__tests__/compile-all.test.js +108 -0
- package/dist/__tests__/dce.test.d.ts +1 -0
- package/dist/__tests__/dce.test.js +138 -0
- package/dist/__tests__/diagnostics.test.d.ts +4 -0
- package/dist/__tests__/diagnostics.test.js +149 -0
- package/dist/__tests__/e2e.test.d.ts +6 -0
- package/dist/__tests__/e2e.test.js +1847 -0
- package/dist/__tests__/entity-types.test.d.ts +1 -0
- package/dist/__tests__/entity-types.test.js +203 -0
- package/dist/__tests__/formatter.test.d.ts +1 -0
- package/dist/__tests__/formatter.test.js +40 -0
- package/dist/__tests__/lexer.test.d.ts +1 -0
- package/dist/__tests__/lexer.test.js +343 -0
- package/dist/__tests__/lowering.test.d.ts +1 -0
- package/dist/__tests__/lowering.test.js +1015 -0
- package/dist/__tests__/macro.test.d.ts +8 -0
- package/dist/__tests__/macro.test.js +305 -0
- package/dist/__tests__/mc-integration.test.d.ts +12 -0
- package/dist/__tests__/mc-integration.test.js +819 -0
- package/dist/__tests__/mc-syntax.test.d.ts +1 -0
- package/dist/__tests__/mc-syntax.test.js +124 -0
- package/dist/__tests__/nbt.test.d.ts +1 -0
- package/dist/__tests__/nbt.test.js +82 -0
- package/dist/__tests__/optimizer-advanced.test.d.ts +1 -0
- package/dist/__tests__/optimizer-advanced.test.js +124 -0
- package/dist/__tests__/optimizer.test.d.ts +1 -0
- package/dist/__tests__/optimizer.test.js +149 -0
- package/dist/__tests__/parser.test.d.ts +1 -0
- package/dist/__tests__/parser.test.js +807 -0
- package/dist/__tests__/repl.test.d.ts +1 -0
- package/dist/__tests__/repl.test.js +27 -0
- package/dist/__tests__/runtime.test.d.ts +1 -0
- package/dist/__tests__/runtime.test.js +289 -0
- package/dist/__tests__/stdlib-advanced.test.d.ts +4 -0
- package/dist/__tests__/stdlib-advanced.test.js +378 -0
- package/dist/__tests__/stdlib-bigint.test.d.ts +7 -0
- package/dist/__tests__/stdlib-bigint.test.js +428 -0
- package/dist/__tests__/stdlib-math.test.d.ts +7 -0
- package/dist/__tests__/stdlib-math.test.js +352 -0
- package/dist/__tests__/stdlib-vec.test.d.ts +4 -0
- package/dist/__tests__/stdlib-vec.test.js +264 -0
- package/dist/__tests__/structure-optimizer.test.d.ts +1 -0
- package/dist/__tests__/structure-optimizer.test.js +33 -0
- package/dist/__tests__/typechecker.test.d.ts +1 -0
- package/dist/__tests__/typechecker.test.js +552 -0
- package/dist/__tests__/var-allocator.test.d.ts +1 -0
- package/dist/__tests__/var-allocator.test.js +69 -0
- package/dist/ast/types.d.ts +514 -0
- package/dist/ast/types.js +9 -0
- package/dist/builtins/metadata.d.ts +36 -0
- package/dist/builtins/metadata.js +1014 -0
- package/dist/cli.d.ts +11 -0
- package/dist/cli.js +0 -0
- package/dist/codegen/cmdblock/index.d.ts +26 -0
- package/dist/codegen/cmdblock/index.js +45 -0
- package/dist/codegen/mcfunction/index.d.ts +40 -0
- package/dist/codegen/mcfunction/index.js +606 -0
- package/dist/codegen/structure/index.d.ts +24 -0
- package/dist/codegen/structure/index.js +279 -0
- package/dist/codegen/var-allocator.d.ts +45 -0
- package/dist/codegen/var-allocator.js +104 -0
- package/dist/compile.d.ts +68 -0
- package/dist/data/arena/function/__load.mcfunction +6 -0
- package/dist/data/arena/function/__tick.mcfunction +2 -0
- package/dist/data/arena/function/announce_leaders/else_1.mcfunction +3 -0
- package/dist/data/arena/function/announce_leaders/foreach_0/merge_2.mcfunction +1 -0
- package/dist/data/arena/function/announce_leaders/foreach_0/then_0.mcfunction +3 -0
- package/dist/data/arena/function/announce_leaders/foreach_0.mcfunction +7 -0
- package/dist/data/arena/function/announce_leaders/foreach_1/merge_2.mcfunction +1 -0
- package/dist/data/arena/function/announce_leaders/foreach_1/then_0.mcfunction +4 -0
- package/dist/data/arena/function/announce_leaders/foreach_1.mcfunction +6 -0
- package/dist/data/arena/function/announce_leaders/merge_2.mcfunction +1 -0
- package/dist/data/arena/function/announce_leaders/then_0.mcfunction +4 -0
- package/dist/data/arena/function/announce_leaders.mcfunction +6 -0
- package/dist/data/arena/function/arena_tick/merge_2.mcfunction +1 -0
- package/dist/data/arena/function/arena_tick/then_0.mcfunction +4 -0
- package/dist/data/arena/function/arena_tick.mcfunction +11 -0
- package/dist/data/capture_the_flag/function/add_to_team.mcfunction +5 -0
- package/dist/data/capture_the_flag/function/angry_at.mcfunction +1 -0
- package/dist/data/capture_the_flag/function/assign_teams.mcfunction +1 -0
- package/dist/data/capture_the_flag/function/assign_teams__foreach_t1.mcfunction +8 -0
- package/dist/data/capture_the_flag/function/assign_teams__foreach_t1__else_2.mcfunction +8 -0
- package/dist/data/capture_the_flag/function/assign_teams__foreach_t1__merge_1.mcfunction +3 -0
- package/dist/data/capture_the_flag/function/assign_teams__foreach_t1__then_0.mcfunction +8 -0
- package/dist/data/capture_the_flag/function/barrier_wall.mcfunction +1 -0
- package/dist/data/capture_the_flag/function/buff_all.mcfunction +22 -0
- package/dist/data/capture_the_flag/function/check_flag_capture.mcfunction +2 -0
- package/dist/data/capture_the_flag/function/check_flag_capture__foreach_t0.mcfunction +8 -0
- package/dist/data/capture_the_flag/function/check_flag_capture__foreach_t0__merge_1.mcfunction +1 -0
- package/dist/data/capture_the_flag/function/check_flag_capture__foreach_t0__then_0.mcfunction +7 -0
- package/dist/data/capture_the_flag/function/check_flag_capture__foreach_t1.mcfunction +8 -0
- package/dist/data/capture_the_flag/function/check_flag_capture__foreach_t1__merge_1.mcfunction +1 -0
- package/dist/data/capture_the_flag/function/check_flag_capture__foreach_t1__then_0.mcfunction +7 -0
- package/dist/data/capture_the_flag/function/check_flag_pickup.mcfunction +2 -0
- package/dist/data/capture_the_flag/function/check_flag_pickup__foreach_t0.mcfunction +8 -0
- package/dist/data/capture_the_flag/function/check_flag_pickup__foreach_t0__merge_1.mcfunction +1 -0
- package/dist/data/capture_the_flag/function/check_flag_pickup__foreach_t0__then_0.mcfunction +7 -0
- package/dist/data/capture_the_flag/function/check_flag_pickup__foreach_t1.mcfunction +8 -0
- package/dist/data/capture_the_flag/function/check_flag_pickup__foreach_t1__merge_1.mcfunction +1 -0
- package/dist/data/capture_the_flag/function/check_flag_pickup__foreach_t1__then_0.mcfunction +7 -0
- package/dist/data/capture_the_flag/function/check_win.mcfunction +4 -0
- package/dist/data/capture_the_flag/function/cleanup_teams.mcfunction +8 -0
- package/dist/data/capture_the_flag/function/clear_area.mcfunction +1 -0
- package/dist/data/capture_the_flag/function/clear_effect.mcfunction +1 -0
- package/dist/data/capture_the_flag/function/clear_effects.mcfunction +1 -0
- package/dist/data/capture_the_flag/function/clear_inventory.mcfunction +1 -0
- package/dist/data/capture_the_flag/function/create_blue_team.mcfunction +10 -0
- package/dist/data/capture_the_flag/function/create_green_team.mcfunction +10 -0
- package/dist/data/capture_the_flag/function/create_red_team.mcfunction +10 -0
- package/dist/data/capture_the_flag/function/create_team.mcfunction +8 -0
- package/dist/data/capture_the_flag/function/create_yellow_team.mcfunction +10 -0
- package/dist/data/capture_the_flag/function/disable_fire_spread.mcfunction +1 -0
- package/dist/data/capture_the_flag/function/disable_keep_inventory.mcfunction +1 -0
- package/dist/data/capture_the_flag/function/disable_mob_griefing.mcfunction +1 -0
- package/dist/data/capture_the_flag/function/distance_to.mcfunction +6 -0
- package/dist/data/capture_the_flag/function/distance_to__const_0_0_0_0.mcfunction +5 -0
- package/dist/data/capture_the_flag/function/enable_keep_inventory.mcfunction +1 -0
- package/dist/data/capture_the_flag/function/end_game.mcfunction +6 -0
- package/dist/data/capture_the_flag/function/end_game__else_2.mcfunction +3 -0
- package/dist/data/capture_the_flag/function/end_game__foreach_t7.mcfunction +2 -0
- package/dist/data/capture_the_flag/function/end_game__merge_1.mcfunction +1 -0
- package/dist/data/capture_the_flag/function/end_game__then_0.mcfunction +3 -0
- package/dist/data/capture_the_flag/function/end_sparkles_at.mcfunction +1 -0
- package/dist/data/capture_the_flag/function/explosion_effect.mcfunction +1 -0
- package/dist/data/capture_the_flag/function/flames.mcfunction +1 -0
- package/dist/data/capture_the_flag/function/game_tick.mcfunction +1 -0
- package/dist/data/capture_the_flag/function/give_kit_archer.mcfunction +6 -0
- package/dist/data/capture_the_flag/function/give_kit_mage.mcfunction +5 -0
- package/dist/data/capture_the_flag/function/give_kit_warrior.mcfunction +6 -0
- package/dist/data/capture_the_flag/function/glass_box.mcfunction +2 -0
- package/dist/data/capture_the_flag/function/glow.mcfunction +1 -0
- package/dist/data/capture_the_flag/function/happy_at.mcfunction +1 -0
- package/dist/data/capture_the_flag/function/hearts_at.mcfunction +1 -0
- package/dist/data/capture_the_flag/function/init.mcfunction +11 -0
- package/dist/data/capture_the_flag/function/invisible.mcfunction +1 -0
- package/dist/data/capture_the_flag/function/jump.mcfunction +1 -0
- package/dist/data/capture_the_flag/function/load.mcfunction +1 -0
- package/dist/data/capture_the_flag/function/night_vision.mcfunction +1 -0
- package/dist/data/capture_the_flag/function/place_flags.mcfunction +2 -0
- package/dist/data/capture_the_flag/function/portal_effect.mcfunction +1 -0
- package/dist/data/capture_the_flag/function/regen.mcfunction +1 -0
- package/dist/data/capture_the_flag/function/remove_from_teams.mcfunction +3 -0
- package/dist/data/capture_the_flag/function/remove_item.mcfunction +1 -0
- package/dist/data/capture_the_flag/function/resistance.mcfunction +1 -0
- package/dist/data/capture_the_flag/function/set_day.mcfunction +1 -0
- package/dist/data/capture_the_flag/function/set_easy.mcfunction +1 -0
- package/dist/data/capture_the_flag/function/set_hard.mcfunction +1 -0
- package/dist/data/capture_the_flag/function/set_midnight.mcfunction +1 -0
- package/dist/data/capture_the_flag/function/set_night.mcfunction +1 -0
- package/dist/data/capture_the_flag/function/set_noon.mcfunction +1 -0
- package/dist/data/capture_the_flag/function/set_normal.mcfunction +1 -0
- package/dist/data/capture_the_flag/function/set_peaceful.mcfunction +1 -0
- package/dist/data/capture_the_flag/function/setup_four_teams.mcfunction +4 -0
- package/dist/data/capture_the_flag/function/setup_two_teams.mcfunction +2 -0
- package/dist/data/capture_the_flag/function/slow_fall.mcfunction +1 -0
- package/dist/data/capture_the_flag/function/smoke.mcfunction +1 -0
- package/dist/data/capture_the_flag/function/sparkles_at.mcfunction +1 -0
- package/dist/data/capture_the_flag/function/speed.mcfunction +1 -0
- package/dist/data/capture_the_flag/function/start_game.mcfunction +15 -0
- package/dist/data/capture_the_flag/function/start_game__foreach_t10.mcfunction +4 -0
- package/dist/data/capture_the_flag/function/strength.mcfunction +1 -0
- package/dist/data/capture_the_flag/function/totem_at.mcfunction +1 -0
- package/dist/data/capture_the_flag/function/weather_clear.mcfunction +1 -0
- package/dist/data/capture_the_flag/function/weather_rain.mcfunction +1 -0
- package/dist/data/capture_the_flag/function/weather_thunder.mcfunction +1 -0
- package/dist/data/counter/function/__load.mcfunction +5 -0
- package/dist/data/counter/function/__tick.mcfunction +2 -0
- package/dist/data/counter/function/counter_tick/merge_2.mcfunction +1 -0
- package/dist/data/counter/function/counter_tick/then_0.mcfunction +3 -0
- package/dist/data/counter/function/counter_tick.mcfunction +11 -0
- package/dist/data/gcd2/function/__load.mcfunction +3 -0
- package/dist/data/gcd2/function/abs/merge_2.mcfunction +3 -0
- package/dist/data/gcd2/function/abs/then_0.mcfunction +5 -0
- package/dist/data/gcd2/function/abs.mcfunction +7 -0
- package/dist/data/gcd2/function/gcd/loop_body_1.mcfunction +7 -0
- package/dist/data/gcd2/function/gcd/loop_check_0.mcfunction +5 -0
- package/dist/data/gcd2/function/gcd/loop_exit_2.mcfunction +3 -0
- package/dist/data/gcd2/function/gcd.mcfunction +14 -0
- package/dist/data/gcd3/function/__load.mcfunction +3 -0
- package/dist/data/gcd3/function/abs/merge_2.mcfunction +3 -0
- package/dist/data/gcd3/function/abs/then_0.mcfunction +5 -0
- package/dist/data/gcd3/function/abs.mcfunction +7 -0
- package/dist/data/gcd3/function/gcd/loop_body_1.mcfunction +7 -0
- package/dist/data/gcd3/function/gcd/loop_check_0.mcfunction +5 -0
- package/dist/data/gcd3/function/gcd/loop_exit_2.mcfunction +3 -0
- package/dist/data/gcd3/function/gcd.mcfunction +14 -0
- package/dist/data/gcd3/function/test.mcfunction +7 -0
- package/dist/data/gcd3nm/function/__load.mcfunction +3 -0
- package/dist/data/gcd3nm/function/abs/merge_2.mcfunction +3 -0
- package/dist/data/gcd3nm/function/abs/then_0.mcfunction +5 -0
- package/dist/data/gcd3nm/function/abs.mcfunction +7 -0
- package/dist/data/gcd3nm/function/gcd/loop_body_1.mcfunction +7 -0
- package/dist/data/gcd3nm/function/gcd/loop_check_0.mcfunction +5 -0
- package/dist/data/gcd3nm/function/gcd/loop_exit_2.mcfunction +3 -0
- package/dist/data/gcd3nm/function/gcd.mcfunction +14 -0
- package/dist/data/gcd3nm/function/test.mcfunction +7 -0
- package/dist/data/gcd_test/function/__load.mcfunction +3 -0
- package/dist/data/gcd_test/function/abs/merge_2.mcfunction +3 -0
- package/dist/data/gcd_test/function/abs/then_0.mcfunction +5 -0
- package/dist/data/gcd_test/function/abs.mcfunction +7 -0
- package/dist/data/gcd_test/function/gcd/loop_body_1.mcfunction +7 -0
- package/dist/data/gcd_test/function/gcd/loop_check_0.mcfunction +5 -0
- package/dist/data/gcd_test/function/gcd/loop_exit_2.mcfunction +3 -0
- package/dist/data/gcd_test/function/gcd.mcfunction +14 -0
- package/dist/data/hunger_games/function/angry_at.mcfunction +1 -0
- package/dist/data/hunger_games/function/barrier_wall.mcfunction +1 -0
- package/dist/data/hunger_games/function/buff_all.mcfunction +22 -0
- package/dist/data/hunger_games/function/check_alive.mcfunction +3 -0
- package/dist/data/hunger_games/function/check_alive__foreach_t3.mcfunction +10 -0
- package/dist/data/hunger_games/function/check_alive__foreach_t3__merge_1.mcfunction +1 -0
- package/dist/data/hunger_games/function/check_alive__foreach_t3__then_0.mcfunction +5 -0
- package/dist/data/hunger_games/function/check_border_damage.mcfunction +1 -0
- package/dist/data/hunger_games/function/check_border_damage__foreach_t0.mcfunction +1 -0
- package/dist/data/hunger_games/function/clear_area.mcfunction +1 -0
- package/dist/data/hunger_games/function/clear_effect.mcfunction +1 -0
- package/dist/data/hunger_games/function/clear_effects.mcfunction +1 -0
- package/dist/data/hunger_games/function/countdown_tick.mcfunction +1 -0
- package/dist/data/hunger_games/function/create_health_bar.mcfunction +24 -0
- package/dist/data/hunger_games/function/create_progress_bar.mcfunction +24 -0
- package/dist/data/hunger_games/function/create_progress_bar__const_0_0_0.mcfunction +21 -0
- package/dist/data/hunger_games/function/create_timer_bar.mcfunction +30 -0
- package/dist/data/hunger_games/function/declare_winner.mcfunction +13 -0
- package/dist/data/hunger_games/function/disable_fire_spread.mcfunction +1 -0
- package/dist/data/hunger_games/function/disable_keep_inventory.mcfunction +1 -0
- package/dist/data/hunger_games/function/disable_mob_griefing.mcfunction +1 -0
- package/dist/data/hunger_games/function/enable_keep_inventory.mcfunction +1 -0
- package/dist/data/hunger_games/function/end_game_no_winner.mcfunction +3 -0
- package/dist/data/hunger_games/function/end_sparkles_at.mcfunction +1 -0
- package/dist/data/hunger_games/function/explosion_effect.mcfunction +1 -0
- package/dist/data/hunger_games/function/flames.mcfunction +1 -0
- package/dist/data/hunger_games/function/game_tick.mcfunction +1 -0
- package/dist/data/hunger_games/function/glass_box.mcfunction +2 -0
- package/dist/data/hunger_games/function/glow.mcfunction +1 -0
- package/dist/data/hunger_games/function/happy_at.mcfunction +1 -0
- package/dist/data/hunger_games/function/hearts_at.mcfunction +1 -0
- package/dist/data/hunger_games/function/hide_bar.mcfunction +4 -0
- package/dist/data/hunger_games/function/init.mcfunction +7 -0
- package/dist/data/hunger_games/function/invisible.mcfunction +1 -0
- package/dist/data/hunger_games/function/jump.mcfunction +1 -0
- package/dist/data/hunger_games/function/load.mcfunction +1 -0
- package/dist/data/hunger_games/function/main_game_tick.mcfunction +4 -0
- package/dist/data/hunger_games/function/night_vision.mcfunction +1 -0
- package/dist/data/hunger_games/function/on_player_death.mcfunction +14 -0
- package/dist/data/hunger_games/function/portal_effect.mcfunction +1 -0
- package/dist/data/hunger_games/function/regen.mcfunction +1 -0
- package/dist/data/hunger_games/function/remove_bar.mcfunction +3 -0
- package/dist/data/hunger_games/function/remove_bar__const_0.mcfunction +2 -0
- package/dist/data/hunger_games/function/reset_game.mcfunction +3 -0
- package/dist/data/hunger_games/function/reset_game__foreach_t0.mcfunction +9 -0
- package/dist/data/hunger_games/function/resistance.mcfunction +1 -0
- package/dist/data/hunger_games/function/set_day.mcfunction +1 -0
- package/dist/data/hunger_games/function/set_easy.mcfunction +1 -0
- package/dist/data/hunger_games/function/set_hard.mcfunction +1 -0
- package/dist/data/hunger_games/function/set_midnight.mcfunction +1 -0
- package/dist/data/hunger_games/function/set_night.mcfunction +1 -0
- package/dist/data/hunger_games/function/set_noon.mcfunction +1 -0
- package/dist/data/hunger_games/function/set_normal.mcfunction +1 -0
- package/dist/data/hunger_games/function/set_peaceful.mcfunction +1 -0
- package/dist/data/hunger_games/function/show_bar.mcfunction +4 -0
- package/dist/data/hunger_games/function/shrink_border.mcfunction +1 -0
- package/dist/data/hunger_games/function/slow_fall.mcfunction +1 -0
- package/dist/data/hunger_games/function/smoke.mcfunction +1 -0
- package/dist/data/hunger_games/function/sparkles_at.mcfunction +1 -0
- package/dist/data/hunger_games/function/speed.mcfunction +1 -0
- package/dist/data/hunger_games/function/start_countdown.mcfunction +3 -0
- package/dist/data/hunger_games/function/start_countdown__foreach_t0.mcfunction +16 -0
- package/dist/data/hunger_games/function/start_game.mcfunction +4 -0
- package/dist/data/hunger_games/function/start_game__foreach_t3.mcfunction +4 -0
- package/dist/data/hunger_games/function/strength.mcfunction +1 -0
- package/dist/data/hunger_games/function/totem_at.mcfunction +1 -0
- package/dist/data/hunger_games/function/update_bar.mcfunction +5 -0
- package/dist/data/hunger_games/function/update_bar__const_0_0.mcfunction +3 -0
- package/dist/data/hunger_games/function/update_bar_color.mcfunction +7 -0
- package/dist/data/hunger_games/function/update_bar_color__else_2.mcfunction +5 -0
- package/dist/data/hunger_games/function/update_bar_color__else_5.mcfunction +4 -0
- package/dist/data/hunger_games/function/update_bar_color__merge_1.mcfunction +1 -0
- package/dist/data/hunger_games/function/update_bar_color__merge_4.mcfunction +1 -0
- package/dist/data/hunger_games/function/update_bar_color__then_0.mcfunction +4 -0
- package/dist/data/hunger_games/function/update_bar_color__then_3.mcfunction +4 -0
- package/dist/data/hunger_games/function/weather_clear.mcfunction +1 -0
- package/dist/data/hunger_games/function/weather_rain.mcfunction +1 -0
- package/dist/data/hunger_games/function/weather_thunder.mcfunction +1 -0
- package/dist/data/isqrttest/function/__load.mcfunction +6 -0
- package/dist/data/isqrttest/function/isqrt/loop_body_4.mcfunction +12 -0
- package/dist/data/isqrttest/function/isqrt/loop_check_3.mcfunction +5 -0
- package/dist/data/isqrttest/function/isqrt/loop_exit_5.mcfunction +3 -0
- package/dist/data/isqrttest/function/isqrt/merge_2.mcfunction +4 -0
- package/dist/data/isqrttest/function/isqrt/merge_8.mcfunction +6 -0
- package/dist/data/isqrttest/function/isqrt/then_0.mcfunction +3 -0
- package/dist/data/isqrttest/function/isqrt/then_6.mcfunction +3 -0
- package/dist/data/isqrttest/function/isqrt.mcfunction +7 -0
- package/dist/data/isqrttest/function/test.mcfunction +6 -0
- package/dist/data/macrotest/function/get_element.mcfunction +2 -0
- package/dist/data/macrotest/function/load.mcfunction +1 -0
- package/dist/data/macrotest/function/test_dynamic_index.mcfunction +2 -0
- package/dist/data/mathdemo/function/__load.mcfunction +2 -0
- package/dist/data/mathdemo/function/_atan_init.mcfunction +4 -0
- package/dist/data/mathdemo/function/_math_init.mcfunction +4 -0
- package/dist/data/mathdemo/function/add2d_x.mcfunction +5 -0
- package/dist/data/mathdemo/function/add2d_y.mcfunction +5 -0
- package/dist/data/mathdemo/function/add3d_x.mcfunction +5 -0
- package/dist/data/mathdemo/function/add3d_y.mcfunction +5 -0
- package/dist/data/mathdemo/function/add3d_z.mcfunction +5 -0
- package/dist/data/mathdemo/function/air_drag_fx.mcfunction +2 -0
- package/dist/data/mathdemo/function/apply_drag.mcfunction +8 -0
- package/dist/data/mathdemo/function/apply_gravity.mcfunction +6 -0
- package/dist/data/mathdemo/function/approx_eq.mcfunction +10 -0
- package/dist/data/mathdemo/function/approx_eq__merge_1.mcfunction +3 -0
- package/dist/data/mathdemo/function/approx_eq__merge_3.mcfunction +2 -0
- package/dist/data/mathdemo/function/approx_eq__then_0.mcfunction +4 -0
- package/dist/data/mathdemo/function/approx_eq__then_2.mcfunction +2 -0
- package/dist/data/mathdemo/function/atan2_fixed.mcfunction +6 -0
- package/dist/data/mathdemo/function/atan2_fixed__else_30.mcfunction +2 -0
- package/dist/data/mathdemo/function/atan2_fixed__loop_body_26.mcfunction +21 -0
- package/dist/data/mathdemo/function/atan2_fixed__loop_exit_27.mcfunction +5 -0
- package/dist/data/mathdemo/function/atan2_fixed__loop_header_25.mcfunction +3 -0
- package/dist/data/mathdemo/function/atan2_fixed__merge_1.mcfunction +4 -0
- package/dist/data/mathdemo/function/atan2_fixed__merge_10.mcfunction +5 -0
- package/dist/data/mathdemo/function/atan2_fixed__merge_12.mcfunction +2 -0
- package/dist/data/mathdemo/function/atan2_fixed__merge_16.mcfunction +5 -0
- package/dist/data/mathdemo/function/atan2_fixed__merge_18.mcfunction +4 -0
- package/dist/data/mathdemo/function/atan2_fixed__merge_20.mcfunction +4 -0
- package/dist/data/mathdemo/function/atan2_fixed__merge_22.mcfunction +4 -0
- package/dist/data/mathdemo/function/atan2_fixed__merge_24.mcfunction +3 -0
- package/dist/data/mathdemo/function/atan2_fixed__merge_29.mcfunction +1 -0
- package/dist/data/mathdemo/function/atan2_fixed__merge_3.mcfunction +4 -0
- package/dist/data/mathdemo/function/atan2_fixed__merge_32.mcfunction +4 -0
- package/dist/data/mathdemo/function/atan2_fixed__merge_34.mcfunction +4 -0
- package/dist/data/mathdemo/function/atan2_fixed__merge_36.mcfunction +3 -0
- package/dist/data/mathdemo/function/atan2_fixed__merge_40.mcfunction +3 -0
- package/dist/data/mathdemo/function/atan2_fixed__merge_6.mcfunction +2 -0
- package/dist/data/mathdemo/function/atan2_fixed__then_0.mcfunction +4 -0
- package/dist/data/mathdemo/function/atan2_fixed__then_11.mcfunction +2 -0
- package/dist/data/mathdemo/function/atan2_fixed__then_15.mcfunction +4 -0
- package/dist/data/mathdemo/function/atan2_fixed__then_17.mcfunction +4 -0
- package/dist/data/mathdemo/function/atan2_fixed__then_19.mcfunction +2 -0
- package/dist/data/mathdemo/function/atan2_fixed__then_2.mcfunction +2 -0
- package/dist/data/mathdemo/function/atan2_fixed__then_21.mcfunction +2 -0
- package/dist/data/mathdemo/function/atan2_fixed__then_23.mcfunction +5 -0
- package/dist/data/mathdemo/function/atan2_fixed__then_28.mcfunction +4 -0
- package/dist/data/mathdemo/function/atan2_fixed__then_31.mcfunction +4 -0
- package/dist/data/mathdemo/function/atan2_fixed__then_33.mcfunction +4 -0
- package/dist/data/mathdemo/function/atan2_fixed__then_35.mcfunction +1 -0
- package/dist/data/mathdemo/function/atan2_fixed__then_39.mcfunction +3 -0
- package/dist/data/mathdemo/function/atan2_fixed__then_5.mcfunction +2 -0
- package/dist/data/mathdemo/function/atan2_fixed__then_9.mcfunction +4 -0
- package/dist/data/mathdemo/function/bounce_v.mcfunction +10 -0
- package/dist/data/mathdemo/function/cbrt_fx.mcfunction +5 -0
- package/dist/data/mathdemo/function/cbrt_fx__loop_body_6.mcfunction +7 -0
- package/dist/data/mathdemo/function/cbrt_fx__loop_exit_7.mcfunction +1 -0
- package/dist/data/mathdemo/function/cbrt_fx__loop_header_5.mcfunction +4 -0
- package/dist/data/mathdemo/function/cbrt_fx__merge_1.mcfunction +8 -0
- package/dist/data/mathdemo/function/cbrt_fx__merge_11.mcfunction +5 -0
- package/dist/data/mathdemo/function/cbrt_fx__merge_13.mcfunction +4 -0
- package/dist/data/mathdemo/function/cbrt_fx__merge_4.mcfunction +2 -0
- package/dist/data/mathdemo/function/cbrt_fx__merge_9.mcfunction +13 -0
- package/dist/data/mathdemo/function/cbrt_fx__then_0.mcfunction +2 -0
- package/dist/data/mathdemo/function/cbrt_fx__then_10.mcfunction +2 -0
- package/dist/data/mathdemo/function/cbrt_fx__then_12.mcfunction +2 -0
- package/dist/data/mathdemo/function/cbrt_fx__then_3.mcfunction +2 -0
- package/dist/data/mathdemo/function/cbrt_fx__then_8.mcfunction +2 -0
- package/dist/data/mathdemo/function/ceil_div.mcfunction +9 -0
- package/dist/data/mathdemo/function/chebyshev.mcfunction +14 -0
- package/dist/data/mathdemo/function/chebyshev3d.mcfunction +19 -0
- package/dist/data/mathdemo/function/chebyshev3d__merge_1.mcfunction +4 -0
- package/dist/data/mathdemo/function/chebyshev3d__merge_3.mcfunction +4 -0
- package/dist/data/mathdemo/function/chebyshev3d__merge_5.mcfunction +4 -0
- package/dist/data/mathdemo/function/chebyshev3d__merge_7.mcfunction +3 -0
- package/dist/data/mathdemo/function/chebyshev3d__merge_9.mcfunction +1 -0
- package/dist/data/mathdemo/function/chebyshev3d__then_0.mcfunction +4 -0
- package/dist/data/mathdemo/function/chebyshev3d__then_2.mcfunction +4 -0
- package/dist/data/mathdemo/function/chebyshev3d__then_4.mcfunction +4 -0
- package/dist/data/mathdemo/function/chebyshev3d__then_6.mcfunction +2 -0
- package/dist/data/mathdemo/function/chebyshev3d__then_8.mcfunction +2 -0
- package/dist/data/mathdemo/function/chebyshev__merge_1.mcfunction +4 -0
- package/dist/data/mathdemo/function/chebyshev__merge_3.mcfunction +3 -0
- package/dist/data/mathdemo/function/chebyshev__merge_5.mcfunction +1 -0
- package/dist/data/mathdemo/function/chebyshev__then_0.mcfunction +4 -0
- package/dist/data/mathdemo/function/chebyshev__then_2.mcfunction +4 -0
- package/dist/data/mathdemo/function/chebyshev__then_4.mcfunction +1 -0
- package/dist/data/mathdemo/function/circular_x.mcfunction +14 -0
- package/dist/data/mathdemo/function/circular_z.mcfunction +14 -0
- package/dist/data/mathdemo/function/clamp_velocity.mcfunction +5 -0
- package/dist/data/mathdemo/function/clamp_velocity__merge_1.mcfunction +5 -0
- package/dist/data/mathdemo/function/clamp_velocity__merge_4.mcfunction +1 -0
- package/dist/data/mathdemo/function/clamp_velocity__then_0.mcfunction +1 -0
- package/dist/data/mathdemo/function/clamp_velocity__then_3.mcfunction +3 -0
- package/dist/data/mathdemo/function/combinations.mcfunction +6 -0
- package/dist/data/mathdemo/function/combinations__loop_body_9.mcfunction +15 -0
- package/dist/data/mathdemo/function/combinations__loop_exit_10.mcfunction +1 -0
- package/dist/data/mathdemo/function/combinations__loop_header_8.mcfunction +3 -0
- package/dist/data/mathdemo/function/combinations__merge_1.mcfunction +3 -0
- package/dist/data/mathdemo/function/combinations__merge_4.mcfunction +6 -0
- package/dist/data/mathdemo/function/combinations__merge_7.mcfunction +3 -0
- package/dist/data/mathdemo/function/combinations__then_0.mcfunction +2 -0
- package/dist/data/mathdemo/function/combinations__then_3.mcfunction +2 -0
- package/dist/data/mathdemo/function/combinations__then_6.mcfunction +4 -0
- package/dist/data/mathdemo/function/cos_fixed.mcfunction +7 -0
- package/dist/data/mathdemo/function/cross2d.mcfunction +11 -0
- package/dist/data/mathdemo/function/cross3d_x.mcfunction +11 -0
- package/dist/data/mathdemo/function/cross3d_y.mcfunction +11 -0
- package/dist/data/mathdemo/function/cross3d_z.mcfunction +11 -0
- package/dist/data/mathdemo/function/demo_easing.mcfunction +12 -0
- package/dist/data/mathdemo/function/demo_math.mcfunction +16 -0
- package/dist/data/mathdemo/function/demo_noise.mcfunction +14 -0
- package/dist/data/mathdemo/function/demo_physics.mcfunction +11 -0
- package/dist/data/mathdemo/function/demo_physics__loop_body_1.mcfunction +9 -0
- package/dist/data/mathdemo/function/demo_physics__loop_body_4.mcfunction +18 -0
- package/dist/data/mathdemo/function/demo_physics__loop_exit_2.mcfunction +6 -0
- package/dist/data/mathdemo/function/demo_physics__loop_exit_5.mcfunction +1 -0
- package/dist/data/mathdemo/function/demo_physics__loop_header_0.mcfunction +4 -0
- package/dist/data/mathdemo/function/demo_physics__loop_header_3.mcfunction +4 -0
- package/dist/data/mathdemo/function/distance2d_fixed.mcfunction +13 -0
- package/dist/data/mathdemo/function/distance3d_fixed.mcfunction +18 -0
- package/dist/data/mathdemo/function/divfix.mcfunction +6 -0
- package/dist/data/mathdemo/function/divfix__merge_1.mcfunction +6 -0
- package/dist/data/mathdemo/function/divfix__then_0.mcfunction +2 -0
- package/dist/data/mathdemo/function/dot2d.mcfunction +11 -0
- package/dist/data/mathdemo/function/dot3d.mcfunction +17 -0
- package/dist/data/mathdemo/function/ease_in_back.mcfunction +26 -0
- package/dist/data/mathdemo/function/ease_in_bounce.mcfunction +9 -0
- package/dist/data/mathdemo/function/ease_in_cubic.mcfunction +12 -0
- package/dist/data/mathdemo/function/ease_in_expo.mcfunction +5 -0
- package/dist/data/mathdemo/function/ease_in_expo__merge_1.mcfunction +11 -0
- package/dist/data/mathdemo/function/ease_in_expo__then_0.mcfunction +2 -0
- package/dist/data/mathdemo/function/ease_in_out_back.mcfunction +5 -0
- package/dist/data/mathdemo/function/ease_in_out_back__merge_1.mcfunction +14 -0
- package/dist/data/mathdemo/function/ease_in_out_back__then_0.mcfunction +10 -0
- package/dist/data/mathdemo/function/ease_in_out_bounce.mcfunction +5 -0
- package/dist/data/mathdemo/function/ease_in_out_bounce__merge_1.mcfunction +14 -0
- package/dist/data/mathdemo/function/ease_in_out_bounce__then_0.mcfunction +10 -0
- package/dist/data/mathdemo/function/ease_in_out_cubic.mcfunction +5 -0
- package/dist/data/mathdemo/function/ease_in_out_cubic__merge_1.mcfunction +17 -0
- package/dist/data/mathdemo/function/ease_in_out_cubic__then_0.mcfunction +13 -0
- package/dist/data/mathdemo/function/ease_in_out_quad.mcfunction +5 -0
- package/dist/data/mathdemo/function/ease_in_out_quad__merge_1.mcfunction +12 -0
- package/dist/data/mathdemo/function/ease_in_out_quad__then_0.mcfunction +8 -0
- package/dist/data/mathdemo/function/ease_in_out_sine.mcfunction +5 -0
- package/dist/data/mathdemo/function/ease_in_out_sine__merge_1.mcfunction +14 -0
- package/dist/data/mathdemo/function/ease_in_out_sine__then_0.mcfunction +10 -0
- package/dist/data/mathdemo/function/ease_in_quad.mcfunction +7 -0
- package/dist/data/mathdemo/function/ease_in_quad__const_5000.mcfunction +5 -0
- package/dist/data/mathdemo/function/ease_in_quart.mcfunction +12 -0
- package/dist/data/mathdemo/function/ease_in_sine.mcfunction +30 -0
- package/dist/data/mathdemo/function/ease_linear.mcfunction +2 -0
- package/dist/data/mathdemo/function/ease_linear__const_5000.mcfunction +2 -0
- package/dist/data/mathdemo/function/ease_out_back.mcfunction +9 -0
- package/dist/data/mathdemo/function/ease_out_back__const_5000.mcfunction +7 -0
- package/dist/data/mathdemo/function/ease_out_bounce.mcfunction +6 -0
- package/dist/data/mathdemo/function/ease_out_bounce__merge_1.mcfunction +4 -0
- package/dist/data/mathdemo/function/ease_out_bounce__merge_4.mcfunction +4 -0
- package/dist/data/mathdemo/function/ease_out_bounce__merge_7.mcfunction +15 -0
- package/dist/data/mathdemo/function/ease_out_bounce__then_0.mcfunction +11 -0
- package/dist/data/mathdemo/function/ease_out_bounce__then_3.mcfunction +15 -0
- package/dist/data/mathdemo/function/ease_out_bounce__then_6.mcfunction +15 -0
- package/dist/data/mathdemo/function/ease_out_cubic.mcfunction +16 -0
- package/dist/data/mathdemo/function/ease_out_cubic__const_5000.mcfunction +14 -0
- package/dist/data/mathdemo/function/ease_out_expo.mcfunction +5 -0
- package/dist/data/mathdemo/function/ease_out_expo__merge_1.mcfunction +8 -0
- package/dist/data/mathdemo/function/ease_out_expo__then_0.mcfunction +2 -0
- package/dist/data/mathdemo/function/ease_out_quad.mcfunction +11 -0
- package/dist/data/mathdemo/function/ease_out_quart.mcfunction +16 -0
- package/dist/data/mathdemo/function/ease_out_sine.mcfunction +9 -0
- package/dist/data/mathdemo/function/ease_smooth.mcfunction +23 -0
- package/dist/data/mathdemo/function/ease_smoother.mcfunction +41 -0
- package/dist/data/mathdemo/function/exp_fx.mcfunction +16 -0
- package/dist/data/mathdemo/function/exp_fx__loop_body_10.mcfunction +8 -0
- package/dist/data/mathdemo/function/exp_fx__loop_body_5.mcfunction +8 -0
- package/dist/data/mathdemo/function/exp_fx__loop_exit_11.mcfunction +1 -0
- package/dist/data/mathdemo/function/exp_fx__loop_exit_6.mcfunction +1 -0
- package/dist/data/mathdemo/function/exp_fx__loop_header_4.mcfunction +3 -0
- package/dist/data/mathdemo/function/exp_fx__loop_header_9.mcfunction +3 -0
- package/dist/data/mathdemo/function/exp_fx__merge_1.mcfunction +47 -0
- package/dist/data/mathdemo/function/exp_fx__merge_3.mcfunction +4 -0
- package/dist/data/mathdemo/function/exp_fx__merge_8.mcfunction +1 -0
- package/dist/data/mathdemo/function/exp_fx__then_0.mcfunction +7 -0
- package/dist/data/mathdemo/function/exp_fx__then_2.mcfunction +2 -0
- package/dist/data/mathdemo/function/exp_fx__then_7.mcfunction +5 -0
- package/dist/data/mathdemo/function/factorial.mcfunction +5 -0
- package/dist/data/mathdemo/function/factorial__loop_body_4.mcfunction +7 -0
- package/dist/data/mathdemo/function/factorial__loop_exit_5.mcfunction +1 -0
- package/dist/data/mathdemo/function/factorial__loop_header_3.mcfunction +3 -0
- package/dist/data/mathdemo/function/factorial__merge_1.mcfunction +3 -0
- package/dist/data/mathdemo/function/factorial__then_0.mcfunction +2 -0
- package/dist/data/mathdemo/function/fbm_1d.mcfunction +9 -0
- package/dist/data/mathdemo/function/fbm_1d__loop_body_1.mcfunction +33 -0
- package/dist/data/mathdemo/function/fbm_1d__loop_exit_2.mcfunction +4 -0
- package/dist/data/mathdemo/function/fbm_1d__loop_header_0.mcfunction +3 -0
- package/dist/data/mathdemo/function/fbm_1d__merge_4.mcfunction +6 -0
- package/dist/data/mathdemo/function/fbm_1d__then_3.mcfunction +2 -0
- package/dist/data/mathdemo/function/fbm_2d.mcfunction +10 -0
- package/dist/data/mathdemo/function/fbm_2d__loop_body_1.mcfunction +39 -0
- package/dist/data/mathdemo/function/fbm_2d__loop_exit_2.mcfunction +4 -0
- package/dist/data/mathdemo/function/fbm_2d__loop_header_0.mcfunction +3 -0
- package/dist/data/mathdemo/function/fbm_2d__merge_4.mcfunction +6 -0
- package/dist/data/mathdemo/function/fbm_2d__then_3.mcfunction +2 -0
- package/dist/data/mathdemo/function/friction_decel.mcfunction +5 -0
- package/dist/data/mathdemo/function/friction_decel__merge_1.mcfunction +5 -0
- package/dist/data/mathdemo/function/friction_decel__merge_4.mcfunction +2 -0
- package/dist/data/mathdemo/function/friction_decel__then_0.mcfunction +3 -0
- package/dist/data/mathdemo/function/friction_decel__then_3.mcfunction +3 -0
- package/dist/data/mathdemo/function/gamma_int.mcfunction +5 -0
- package/dist/data/mathdemo/function/gamma_int__merge_1.mcfunction +6 -0
- package/dist/data/mathdemo/function/gamma_int__then_0.mcfunction +2 -0
- package/dist/data/mathdemo/function/gcd.mcfunction +7 -0
- package/dist/data/mathdemo/function/gcd__loop_body_5.mcfunction +5 -0
- package/dist/data/mathdemo/function/gcd__loop_exit_6.mcfunction +1 -0
- package/dist/data/mathdemo/function/gcd__loop_header_4.mcfunction +4 -0
- package/dist/data/mathdemo/function/gcd__merge_1.mcfunction +5 -0
- package/dist/data/mathdemo/function/gcd__merge_3.mcfunction +1 -0
- package/dist/data/mathdemo/function/gcd__then_0.mcfunction +4 -0
- package/dist/data/mathdemo/function/gcd__then_2.mcfunction +4 -0
- package/dist/data/mathdemo/function/gravity_fx.mcfunction +2 -0
- package/dist/data/mathdemo/function/hash_1d.mcfunction +15 -0
- package/dist/data/mathdemo/function/hash_1d_pos.mcfunction +9 -0
- package/dist/data/mathdemo/function/hash_1d_pos__merge_1.mcfunction +4 -0
- package/dist/data/mathdemo/function/hash_1d_pos__then_0.mcfunction +4 -0
- package/dist/data/mathdemo/function/hash_2d.mcfunction +11 -0
- package/dist/data/mathdemo/function/hash_2d_pos.mcfunction +11 -0
- package/dist/data/mathdemo/function/hash_2d_pos__merge_1.mcfunction +4 -0
- package/dist/data/mathdemo/function/hash_2d_pos__then_0.mcfunction +4 -0
- package/dist/data/mathdemo/function/impact_velocity.mcfunction +5 -0
- package/dist/data/mathdemo/function/impact_velocity__merge_1.mcfunction +16 -0
- package/dist/data/mathdemo/function/impact_velocity__then_0.mcfunction +2 -0
- package/dist/data/mathdemo/function/is_grounded.mcfunction +5 -0
- package/dist/data/mathdemo/function/is_grounded__merge_1.mcfunction +2 -0
- package/dist/data/mathdemo/function/is_grounded__then_0.mcfunction +2 -0
- package/dist/data/mathdemo/function/isqrt.mcfunction +5 -0
- package/dist/data/mathdemo/function/isqrt__loop_body_10.mcfunction +8 -0
- package/dist/data/mathdemo/function/isqrt__loop_body_13.mcfunction +11 -0
- package/dist/data/mathdemo/function/isqrt__loop_body_7.mcfunction +8 -0
- package/dist/data/mathdemo/function/isqrt__loop_exit_11.mcfunction +2 -0
- package/dist/data/mathdemo/function/isqrt__loop_exit_14.mcfunction +1 -0
- package/dist/data/mathdemo/function/isqrt__loop_exit_8.mcfunction +9 -0
- package/dist/data/mathdemo/function/isqrt__loop_header_12.mcfunction +4 -0
- package/dist/data/mathdemo/function/isqrt__loop_header_6.mcfunction +4 -0
- package/dist/data/mathdemo/function/isqrt__loop_header_9.mcfunction +3 -0
- package/dist/data/mathdemo/function/isqrt__merge_1.mcfunction +4 -0
- package/dist/data/mathdemo/function/isqrt__merge_16.mcfunction +5 -0
- package/dist/data/mathdemo/function/isqrt__merge_4.mcfunction +3 -0
- package/dist/data/mathdemo/function/isqrt__then_0.mcfunction +2 -0
- package/dist/data/mathdemo/function/isqrt__then_15.mcfunction +1 -0
- package/dist/data/mathdemo/function/isqrt__then_3.mcfunction +2 -0
- package/dist/data/mathdemo/function/lcm.mcfunction +11 -0
- package/dist/data/mathdemo/function/lcm__merge_1.mcfunction +5 -0
- package/dist/data/mathdemo/function/lcm__then_0.mcfunction +2 -0
- package/dist/data/mathdemo/function/length2d_fixed.mcfunction +15 -0
- package/dist/data/mathdemo/function/length3d_fixed.mcfunction +20 -0
- package/dist/data/mathdemo/function/lerp.mcfunction +13 -0
- package/dist/data/mathdemo/function/lerp2d_x.mcfunction +13 -0
- package/dist/data/mathdemo/function/lerp2d_y.mcfunction +13 -0
- package/dist/data/mathdemo/function/ln.mcfunction +9 -0
- package/dist/data/mathdemo/function/ln__loop_body_1.mcfunction +8 -0
- package/dist/data/mathdemo/function/ln__loop_body_4.mcfunction +8 -0
- package/dist/data/mathdemo/function/ln__loop_exit_2.mcfunction +1 -0
- package/dist/data/mathdemo/function/ln__loop_exit_5.mcfunction +37 -0
- package/dist/data/mathdemo/function/ln__loop_header_0.mcfunction +3 -0
- package/dist/data/mathdemo/function/ln__loop_header_3.mcfunction +6 -0
- package/dist/data/mathdemo/function/load.mcfunction +1 -0
- package/dist/data/mathdemo/function/log10_fx.mcfunction +11 -0
- package/dist/data/mathdemo/function/log2_fx.mcfunction +11 -0
- package/dist/data/mathdemo/function/log2_int.mcfunction +5 -0
- package/dist/data/mathdemo/function/log2_int__loop_body_4.mcfunction +8 -0
- package/dist/data/mathdemo/function/log2_int__loop_exit_5.mcfunction +1 -0
- package/dist/data/mathdemo/function/log2_int__loop_header_3.mcfunction +4 -0
- package/dist/data/mathdemo/function/log2_int__merge_1.mcfunction +3 -0
- package/dist/data/mathdemo/function/log2_int__then_0.mcfunction +2 -0
- package/dist/data/mathdemo/function/loga_fx.mcfunction +10 -0
- package/dist/data/mathdemo/function/loga_fx__merge_1.mcfunction +9 -0
- package/dist/data/mathdemo/function/loga_fx__then_0.mcfunction +2 -0
- package/dist/data/mathdemo/function/manhattan.mcfunction +14 -0
- package/dist/data/mathdemo/function/manhattan3d.mcfunction +19 -0
- package/dist/data/mathdemo/function/manhattan3d__merge_1.mcfunction +4 -0
- package/dist/data/mathdemo/function/manhattan3d__merge_3.mcfunction +4 -0
- package/dist/data/mathdemo/function/manhattan3d__merge_5.mcfunction +5 -0
- package/dist/data/mathdemo/function/manhattan3d__then_0.mcfunction +4 -0
- package/dist/data/mathdemo/function/manhattan3d__then_2.mcfunction +4 -0
- package/dist/data/mathdemo/function/manhattan3d__then_4.mcfunction +4 -0
- package/dist/data/mathdemo/function/manhattan__merge_1.mcfunction +4 -0
- package/dist/data/mathdemo/function/manhattan__merge_3.mcfunction +3 -0
- package/dist/data/mathdemo/function/manhattan__then_0.mcfunction +4 -0
- package/dist/data/mathdemo/function/manhattan__then_2.mcfunction +4 -0
- package/dist/data/mathdemo/function/map.mcfunction +12 -0
- package/dist/data/mathdemo/function/map__merge_1.mcfunction +11 -0
- package/dist/data/mathdemo/function/map__then_0.mcfunction +1 -0
- package/dist/data/mathdemo/function/mulfix.mcfunction +8 -0
- package/dist/data/mathdemo/function/neg2d_x.mcfunction +4 -0
- package/dist/data/mathdemo/function/neg2d_y.mcfunction +4 -0
- package/dist/data/mathdemo/function/neg3d_x.mcfunction +4 -0
- package/dist/data/mathdemo/function/neg3d_y.mcfunction +4 -0
- package/dist/data/mathdemo/function/neg3d_z.mcfunction +4 -0
- package/dist/data/mathdemo/function/normalize2d_x.mcfunction +11 -0
- package/dist/data/mathdemo/function/normalize2d_x__merge_1.mcfunction +6 -0
- package/dist/data/mathdemo/function/normalize2d_x__then_0.mcfunction +2 -0
- package/dist/data/mathdemo/function/normalize2d_y.mcfunction +11 -0
- package/dist/data/mathdemo/function/normalize2d_y__merge_1.mcfunction +6 -0
- package/dist/data/mathdemo/function/normalize2d_y__then_0.mcfunction +2 -0
- package/dist/data/mathdemo/function/pow_int.mcfunction +6 -0
- package/dist/data/mathdemo/function/pow_int__loop_body_4.mcfunction +7 -0
- package/dist/data/mathdemo/function/pow_int__loop_exit_5.mcfunction +1 -0
- package/dist/data/mathdemo/function/pow_int__loop_header_3.mcfunction +4 -0
- package/dist/data/mathdemo/function/pow_int__merge_1.mcfunction +4 -0
- package/dist/data/mathdemo/function/pow_int__merge_7.mcfunction +8 -0
- package/dist/data/mathdemo/function/pow_int__then_0.mcfunction +2 -0
- package/dist/data/mathdemo/function/pow_int__then_6.mcfunction +4 -0
- package/dist/data/mathdemo/function/projectile_land_t.mcfunction +5 -0
- package/dist/data/mathdemo/function/projectile_land_t__merge_1.mcfunction +7 -0
- package/dist/data/mathdemo/function/projectile_land_t__then_0.mcfunction +2 -0
- package/dist/data/mathdemo/function/projectile_max_height.mcfunction +10 -0
- package/dist/data/mathdemo/function/projectile_max_height__const_200.mcfunction +8 -0
- package/dist/data/mathdemo/function/projectile_vy.mcfunction +9 -0
- package/dist/data/mathdemo/function/projectile_x.mcfunction +8 -0
- package/dist/data/mathdemo/function/projectile_y.mcfunction +19 -0
- package/dist/data/mathdemo/function/quadratic_disc.mcfunction +12 -0
- package/dist/data/mathdemo/function/quadratic_x1.mcfunction +7 -0
- package/dist/data/mathdemo/function/quadratic_x1__merge_1.mcfunction +13 -0
- package/dist/data/mathdemo/function/quadratic_x1__merge_4.mcfunction +15 -0
- package/dist/data/mathdemo/function/quadratic_x1__then_0.mcfunction +2 -0
- package/dist/data/mathdemo/function/quadratic_x1__then_3.mcfunction +2 -0
- package/dist/data/mathdemo/function/quadratic_x2.mcfunction +7 -0
- package/dist/data/mathdemo/function/quadratic_x2__merge_1.mcfunction +13 -0
- package/dist/data/mathdemo/function/quadratic_x2__merge_4.mcfunction +15 -0
- package/dist/data/mathdemo/function/quadratic_x2__then_0.mcfunction +2 -0
- package/dist/data/mathdemo/function/quadratic_x2__then_3.mcfunction +2 -0
- package/dist/data/mathdemo/function/rotate2d_x.mcfunction +20 -0
- package/dist/data/mathdemo/function/rotate2d_y.mcfunction +20 -0
- package/dist/data/mathdemo/function/scale2d_x.mcfunction +8 -0
- package/dist/data/mathdemo/function/scale2d_y.mcfunction +8 -0
- package/dist/data/mathdemo/function/scale3d_x.mcfunction +8 -0
- package/dist/data/mathdemo/function/scale3d_y.mcfunction +8 -0
- package/dist/data/mathdemo/function/scale3d_z.mcfunction +8 -0
- package/dist/data/mathdemo/function/sign.mcfunction +5 -0
- package/dist/data/mathdemo/function/sign__merge_1.mcfunction +4 -0
- package/dist/data/mathdemo/function/sign__merge_4.mcfunction +2 -0
- package/dist/data/mathdemo/function/sign__then_0.mcfunction +2 -0
- package/dist/data/mathdemo/function/sign__then_3.mcfunction +2 -0
- package/dist/data/mathdemo/function/sin_fixed.mcfunction +9 -0
- package/dist/data/mathdemo/function/sin_fixed__merge_1.mcfunction +4 -0
- package/dist/data/mathdemo/function/sin_fixed__merge_3.mcfunction +4 -0
- package/dist/data/mathdemo/function/sin_fixed__merge_6.mcfunction +4 -0
- package/dist/data/mathdemo/function/sin_fixed__merge_9.mcfunction +10 -0
- package/dist/data/mathdemo/function/sin_fixed__then_0.mcfunction +4 -0
- package/dist/data/mathdemo/function/sin_fixed__then_2.mcfunction +6 -0
- package/dist/data/mathdemo/function/sin_fixed__then_5.mcfunction +8 -0
- package/dist/data/mathdemo/function/sin_fixed__then_8.mcfunction +10 -0
- package/dist/data/mathdemo/function/smootherstep.mcfunction +10 -0
- package/dist/data/mathdemo/function/smootherstep__merge_1.mcfunction +12 -0
- package/dist/data/mathdemo/function/smootherstep__merge_4.mcfunction +4 -0
- package/dist/data/mathdemo/function/smootherstep__merge_6.mcfunction +27 -0
- package/dist/data/mathdemo/function/smootherstep__then_0.mcfunction +2 -0
- package/dist/data/mathdemo/function/smootherstep__then_3.mcfunction +2 -0
- package/dist/data/mathdemo/function/smootherstep__then_5.mcfunction +2 -0
- package/dist/data/mathdemo/function/smoothstep.mcfunction +10 -0
- package/dist/data/mathdemo/function/smoothstep__merge_1.mcfunction +12 -0
- package/dist/data/mathdemo/function/smoothstep__merge_4.mcfunction +4 -0
- package/dist/data/mathdemo/function/smoothstep__merge_6.mcfunction +15 -0
- package/dist/data/mathdemo/function/smoothstep__then_0.mcfunction +2 -0
- package/dist/data/mathdemo/function/smoothstep__then_3.mcfunction +2 -0
- package/dist/data/mathdemo/function/smoothstep__then_5.mcfunction +2 -0
- package/dist/data/mathdemo/function/solve2x2_x.mcfunction +17 -0
- package/dist/data/mathdemo/function/solve2x2_x__merge_1.mcfunction +12 -0
- package/dist/data/mathdemo/function/solve2x2_x__then_0.mcfunction +2 -0
- package/dist/data/mathdemo/function/solve2x2_y.mcfunction +17 -0
- package/dist/data/mathdemo/function/solve2x2_y__merge_1.mcfunction +12 -0
- package/dist/data/mathdemo/function/solve2x2_y__then_0.mcfunction +2 -0
- package/dist/data/mathdemo/function/spring_force.mcfunction +11 -0
- package/dist/data/mathdemo/function/spring_update_v.mcfunction +18 -0
- package/dist/data/mathdemo/function/sqrt_fixed.mcfunction +8 -0
- package/dist/data/mathdemo/function/sqrt_fx.mcfunction +11 -0
- package/dist/data/mathdemo/function/sqrt_fx__const_20000.mcfunction +8 -0
- package/dist/data/mathdemo/function/start.mcfunction +6 -0
- package/dist/data/mathdemo/function/sub2d_x.mcfunction +5 -0
- package/dist/data/mathdemo/function/sub2d_y.mcfunction +5 -0
- package/dist/data/mathdemo/function/sub3d_x.mcfunction +5 -0
- package/dist/data/mathdemo/function/sub3d_y.mcfunction +5 -0
- package/dist/data/mathdemo/function/sub3d_z.mcfunction +5 -0
- package/dist/data/mathdemo/function/terrain_height.mcfunction +24 -0
- package/dist/data/mathdemo/function/terrain_height__const_0_0_64_20.mcfunction +17 -0
- package/dist/data/mathdemo/function/terrain_height__const_10_5_64_20.mcfunction +17 -0
- package/dist/data/mathdemo/function/update_pos.mcfunction +5 -0
- package/dist/data/mathdemo/function/value_noise_1d.mcfunction +13 -0
- package/dist/data/mathdemo/function/value_noise_1d__merge_1.mcfunction +39 -0
- package/dist/data/mathdemo/function/value_noise_1d__then_0.mcfunction +7 -0
- package/dist/data/mathdemo/function/value_noise_2d.mcfunction +14 -0
- package/dist/data/mathdemo/function/value_noise_2d__merge_1.mcfunction +12 -0
- package/dist/data/mathdemo/function/value_noise_2d__merge_3.mcfunction +98 -0
- package/dist/data/mathdemo/function/value_noise_2d__then_0.mcfunction +7 -0
- package/dist/data/mathdemo/function/value_noise_2d__then_2.mcfunction +7 -0
- package/dist/data/mathdemo/function/water_drag_fx.mcfunction +2 -0
- package/dist/data/mathtest/function/__load.mcfunction +3 -0
- package/dist/data/mathtest/function/abs/merge_2.mcfunction +3 -0
- package/dist/data/mathtest/function/abs/then_0.mcfunction +5 -0
- package/dist/data/mathtest/function/abs.mcfunction +6 -0
- package/dist/data/mathtest/function/test.mcfunction +5 -0
- package/dist/data/minecraft/tags/function/load.json +6 -0
- package/dist/data/minecraft/tags/function/tick.json +5 -0
- package/dist/data/mypack/function/__load.mcfunction +13 -0
- package/dist/data/mypack/function/_atan_init.mcfunction +2 -0
- package/dist/data/mypack/function/abs/merge_2.mcfunction +3 -0
- package/dist/data/mypack/function/abs/then_0.mcfunction +5 -0
- package/dist/data/mypack/function/abs.mcfunction +6 -0
- package/dist/data/mypack/function/atan2_fixed/__sgi_1.mcfunction +2 -0
- package/dist/data/mypack/function/atan2_fixed/else_34.mcfunction +3 -0
- package/dist/data/mypack/function/atan2_fixed/loop_body_31.mcfunction +19 -0
- package/dist/data/mypack/function/atan2_fixed/loop_check_30.mcfunction +5 -0
- package/dist/data/mypack/function/atan2_fixed/loop_exit_32.mcfunction +6 -0
- package/dist/data/mypack/function/atan2_fixed/merge_11.mcfunction +6 -0
- package/dist/data/mypack/function/atan2_fixed/merge_14.mcfunction +3 -0
- package/dist/data/mypack/function/atan2_fixed/merge_17.mcfunction +6 -0
- package/dist/data/mypack/function/atan2_fixed/merge_2.mcfunction +5 -0
- package/dist/data/mypack/function/atan2_fixed/merge_20.mcfunction +5 -0
- package/dist/data/mypack/function/atan2_fixed/merge_23.mcfunction +5 -0
- package/dist/data/mypack/function/atan2_fixed/merge_26.mcfunction +6 -0
- package/dist/data/mypack/function/atan2_fixed/merge_29.mcfunction +4 -0
- package/dist/data/mypack/function/atan2_fixed/merge_38.mcfunction +5 -0
- package/dist/data/mypack/function/atan2_fixed/merge_41.mcfunction +5 -0
- package/dist/data/mypack/function/atan2_fixed/merge_44.mcfunction +5 -0
- package/dist/data/mypack/function/atan2_fixed/merge_47.mcfunction +5 -0
- package/dist/data/mypack/function/atan2_fixed/merge_5.mcfunction +5 -0
- package/dist/data/mypack/function/atan2_fixed/merge_8.mcfunction +3 -0
- package/dist/data/mypack/function/atan2_fixed/then_0.mcfunction +5 -0
- package/dist/data/mypack/function/atan2_fixed/then_12.mcfunction +3 -0
- package/dist/data/mypack/function/atan2_fixed/then_15.mcfunction +5 -0
- package/dist/data/mypack/function/atan2_fixed/then_18.mcfunction +5 -0
- package/dist/data/mypack/function/atan2_fixed/then_21.mcfunction +3 -0
- package/dist/data/mypack/function/atan2_fixed/then_24.mcfunction +3 -0
- package/dist/data/mypack/function/atan2_fixed/then_27.mcfunction +6 -0
- package/dist/data/mypack/function/atan2_fixed/then_3.mcfunction +3 -0
- package/dist/data/mypack/function/atan2_fixed/then_33.mcfunction +5 -0
- package/dist/data/mypack/function/atan2_fixed/then_36.mcfunction +5 -0
- package/dist/data/mypack/function/atan2_fixed/then_39.mcfunction +5 -0
- package/dist/data/mypack/function/atan2_fixed/then_42.mcfunction +3 -0
- package/dist/data/mypack/function/atan2_fixed/then_45.mcfunction +5 -0
- package/dist/data/mypack/function/atan2_fixed/then_6.mcfunction +3 -0
- package/dist/data/mypack/function/atan2_fixed/then_9.mcfunction +5 -0
- package/dist/data/mypack/function/atan2_fixed.mcfunction +7 -0
- package/dist/data/mypack/function/my_game.mcfunction +10 -0
- package/dist/data/parkour_race/function/angry_at.mcfunction +1 -0
- package/dist/data/parkour_race/function/barrier_wall.mcfunction +1 -0
- package/dist/data/parkour_race/function/buff_all.mcfunction +22 -0
- package/dist/data/parkour_race/function/check_checkpoints.mcfunction +11 -0
- package/dist/data/parkour_race/function/check_checkpoints__exec_t11.mcfunction +4 -0
- package/dist/data/parkour_race/function/check_checkpoints__exec_t13.mcfunction +3 -0
- package/dist/data/parkour_race/function/check_checkpoints__exec_t5.mcfunction +4 -0
- package/dist/data/parkour_race/function/check_checkpoints__exec_t7.mcfunction +4 -0
- package/dist/data/parkour_race/function/check_checkpoints__exec_t9.mcfunction +4 -0
- package/dist/data/parkour_race/function/check_checkpoints__merge_1.mcfunction +5 -0
- package/dist/data/parkour_race/function/check_checkpoints__merge_3.mcfunction +5 -0
- package/dist/data/parkour_race/function/check_checkpoints__merge_5.mcfunction +5 -0
- package/dist/data/parkour_race/function/check_checkpoints__merge_7.mcfunction +5 -0
- package/dist/data/parkour_race/function/check_checkpoints__merge_9.mcfunction +1 -0
- package/dist/data/parkour_race/function/check_checkpoints__then_0.mcfunction +2 -0
- package/dist/data/parkour_race/function/check_checkpoints__then_2.mcfunction +2 -0
- package/dist/data/parkour_race/function/check_checkpoints__then_4.mcfunction +2 -0
- package/dist/data/parkour_race/function/check_checkpoints__then_6.mcfunction +2 -0
- package/dist/data/parkour_race/function/check_checkpoints__then_8.mcfunction +2 -0
- package/dist/data/parkour_race/function/check_fall.mcfunction +1 -0
- package/dist/data/parkour_race/function/check_fall__exec_t1.mcfunction +10 -0
- package/dist/data/parkour_race/function/clear_area.mcfunction +1 -0
- package/dist/data/parkour_race/function/clear_effect.mcfunction +1 -0
- package/dist/data/parkour_race/function/clear_effects.mcfunction +1 -0
- package/dist/data/parkour_race/function/create_health_bar.mcfunction +24 -0
- package/dist/data/parkour_race/function/create_progress_bar.mcfunction +24 -0
- package/dist/data/parkour_race/function/create_timer_bar.mcfunction +30 -0
- package/dist/data/parkour_race/function/disable_fire_spread.mcfunction +1 -0
- package/dist/data/parkour_race/function/disable_keep_inventory.mcfunction +1 -0
- package/dist/data/parkour_race/function/disable_mob_griefing.mcfunction +1 -0
- package/dist/data/parkour_race/function/enable_keep_inventory.mcfunction +1 -0
- package/dist/data/parkour_race/function/end_sparkles_at.mcfunction +1 -0
- package/dist/data/parkour_race/function/explosion_effect.mcfunction +1 -0
- package/dist/data/parkour_race/function/finish_race.mcfunction +20 -0
- package/dist/data/parkour_race/function/finish_race__else_2.mcfunction +4 -0
- package/dist/data/parkour_race/function/finish_race__else_5.mcfunction +3 -0
- package/dist/data/parkour_race/function/finish_race__merge_1.mcfunction +3 -0
- package/dist/data/parkour_race/function/finish_race__merge_4.mcfunction +1 -0
- package/dist/data/parkour_race/function/finish_race__then_0.mcfunction +8 -0
- package/dist/data/parkour_race/function/finish_race__then_3.mcfunction +10 -0
- package/dist/data/parkour_race/function/flames.mcfunction +1 -0
- package/dist/data/parkour_race/function/glass_box.mcfunction +2 -0
- package/dist/data/parkour_race/function/glow.mcfunction +1 -0
- package/dist/data/parkour_race/function/happy_at.mcfunction +1 -0
- package/dist/data/parkour_race/function/hearts_at.mcfunction +1 -0
- package/dist/data/parkour_race/function/hide_bar.mcfunction +4 -0
- package/dist/data/parkour_race/function/init.mcfunction +18 -0
- package/dist/data/parkour_race/function/invisible.mcfunction +1 -0
- package/dist/data/parkour_race/function/jump.mcfunction +1 -0
- package/dist/data/parkour_race/function/load.mcfunction +1 -0
- package/dist/data/parkour_race/function/night_vision.mcfunction +1 -0
- package/dist/data/parkour_race/function/portal_effect.mcfunction +1 -0
- package/dist/data/parkour_race/function/quit_race.mcfunction +10 -0
- package/dist/data/parkour_race/function/quit_race__merge_1.mcfunction +1 -0
- package/dist/data/parkour_race/function/quit_race__then_0.mcfunction +11 -0
- package/dist/data/parkour_race/function/race_tick.mcfunction +1 -0
- package/dist/data/parkour_race/function/race_tick__foreach_t0.mcfunction +10 -0
- package/dist/data/parkour_race/function/race_tick__foreach_t0__merge_1.mcfunction +1 -0
- package/dist/data/parkour_race/function/race_tick__foreach_t0__then_0.mcfunction +13 -0
- package/dist/data/parkour_race/function/reach_checkpoint.mcfunction +11 -0
- package/dist/data/parkour_race/function/regen.mcfunction +1 -0
- package/dist/data/parkour_race/function/remove_bar.mcfunction +3 -0
- package/dist/data/parkour_race/function/resistance.mcfunction +1 -0
- package/dist/data/parkour_race/function/respawn_at_checkpoint.mcfunction +7 -0
- package/dist/data/parkour_race/function/respawn_at_checkpoint__merge_1.mcfunction +5 -0
- package/dist/data/parkour_race/function/respawn_at_checkpoint__merge_3.mcfunction +5 -0
- package/dist/data/parkour_race/function/respawn_at_checkpoint__merge_5.mcfunction +5 -0
- package/dist/data/parkour_race/function/respawn_at_checkpoint__merge_7.mcfunction +5 -0
- package/dist/data/parkour_race/function/respawn_at_checkpoint__merge_9.mcfunction +1 -0
- package/dist/data/parkour_race/function/respawn_at_checkpoint__then_0.mcfunction +6 -0
- package/dist/data/parkour_race/function/respawn_at_checkpoint__then_2.mcfunction +6 -0
- package/dist/data/parkour_race/function/respawn_at_checkpoint__then_4.mcfunction +6 -0
- package/dist/data/parkour_race/function/respawn_at_checkpoint__then_6.mcfunction +6 -0
- package/dist/data/parkour_race/function/respawn_at_checkpoint__then_8.mcfunction +6 -0
- package/dist/data/parkour_race/function/set_day.mcfunction +1 -0
- package/dist/data/parkour_race/function/set_easy.mcfunction +1 -0
- package/dist/data/parkour_race/function/set_hard.mcfunction +1 -0
- package/dist/data/parkour_race/function/set_midnight.mcfunction +1 -0
- package/dist/data/parkour_race/function/set_night.mcfunction +1 -0
- package/dist/data/parkour_race/function/set_noon.mcfunction +1 -0
- package/dist/data/parkour_race/function/set_normal.mcfunction +1 -0
- package/dist/data/parkour_race/function/set_peaceful.mcfunction +1 -0
- package/dist/data/parkour_race/function/show_bar.mcfunction +4 -0
- package/dist/data/parkour_race/function/show_leaderboard.mcfunction +4 -0
- package/dist/data/parkour_race/function/slow_fall.mcfunction +1 -0
- package/dist/data/parkour_race/function/smoke.mcfunction +1 -0
- package/dist/data/parkour_race/function/sparkles_at.mcfunction +1 -0
- package/dist/data/parkour_race/function/speed.mcfunction +1 -0
- package/dist/data/parkour_race/function/start_race.mcfunction +10 -0
- package/dist/data/parkour_race/function/start_race__merge_1.mcfunction +23 -0
- package/dist/data/parkour_race/function/start_race__then_0.mcfunction +1 -0
- package/dist/data/parkour_race/function/strength.mcfunction +1 -0
- package/dist/data/parkour_race/function/totem_at.mcfunction +1 -0
- package/dist/data/parkour_race/function/update_bar.mcfunction +5 -0
- package/dist/data/parkour_race/function/update_bar_color.mcfunction +7 -0
- package/dist/data/parkour_race/function/update_bar_color__else_2.mcfunction +5 -0
- package/dist/data/parkour_race/function/update_bar_color__else_5.mcfunction +4 -0
- package/dist/data/parkour_race/function/update_bar_color__merge_1.mcfunction +1 -0
- package/dist/data/parkour_race/function/update_bar_color__merge_4.mcfunction +1 -0
- package/dist/data/parkour_race/function/update_bar_color__then_0.mcfunction +4 -0
- package/dist/data/parkour_race/function/update_bar_color__then_3.mcfunction +4 -0
- package/dist/data/parkour_race/function/weather_clear.mcfunction +1 -0
- package/dist/data/parkour_race/function/weather_rain.mcfunction +1 -0
- package/dist/data/parkour_race/function/weather_thunder.mcfunction +1 -0
- package/dist/data/quiz/function/__load.mcfunction +16 -0
- package/dist/data/quiz/function/__tick.mcfunction +6 -0
- package/dist/data/quiz/function/__trigger_quiz_a_dispatch.mcfunction +4 -0
- package/dist/data/quiz/function/__trigger_quiz_b_dispatch.mcfunction +4 -0
- package/dist/data/quiz/function/__trigger_quiz_c_dispatch.mcfunction +4 -0
- package/dist/data/quiz/function/__trigger_quiz_start_dispatch.mcfunction +4 -0
- package/dist/data/quiz/function/answer_a.mcfunction +4 -0
- package/dist/data/quiz/function/answer_b.mcfunction +4 -0
- package/dist/data/quiz/function/answer_c.mcfunction +4 -0
- package/dist/data/quiz/function/ask_question/else_1.mcfunction +5 -0
- package/dist/data/quiz/function/ask_question/else_4.mcfunction +5 -0
- package/dist/data/quiz/function/ask_question/else_7.mcfunction +4 -0
- package/dist/data/quiz/function/ask_question/merge_2.mcfunction +1 -0
- package/dist/data/quiz/function/ask_question/merge_5.mcfunction +2 -0
- package/dist/data/quiz/function/ask_question/merge_8.mcfunction +2 -0
- package/dist/data/quiz/function/ask_question/then_0.mcfunction +4 -0
- package/dist/data/quiz/function/ask_question/then_3.mcfunction +4 -0
- package/dist/data/quiz/function/ask_question/then_6.mcfunction +4 -0
- package/dist/data/quiz/function/ask_question.mcfunction +7 -0
- package/dist/data/quiz/function/finish_quiz.mcfunction +6 -0
- package/dist/data/quiz/function/handle_answer/else_1.mcfunction +5 -0
- package/dist/data/quiz/function/handle_answer/else_10.mcfunction +3 -0
- package/dist/data/quiz/function/handle_answer/else_16.mcfunction +3 -0
- package/dist/data/quiz/function/handle_answer/else_4.mcfunction +3 -0
- package/dist/data/quiz/function/handle_answer/else_7.mcfunction +5 -0
- package/dist/data/quiz/function/handle_answer/merge_11.mcfunction +2 -0
- package/dist/data/quiz/function/handle_answer/merge_14.mcfunction +2 -0
- package/dist/data/quiz/function/handle_answer/merge_17.mcfunction +2 -0
- package/dist/data/quiz/function/handle_answer/merge_2.mcfunction +8 -0
- package/dist/data/quiz/function/handle_answer/merge_5.mcfunction +2 -0
- package/dist/data/quiz/function/handle_answer/merge_8.mcfunction +2 -0
- package/dist/data/quiz/function/handle_answer/then_0.mcfunction +5 -0
- package/dist/data/quiz/function/handle_answer/then_12.mcfunction +5 -0
- package/dist/data/quiz/function/handle_answer/then_15.mcfunction +6 -0
- package/dist/data/quiz/function/handle_answer/then_3.mcfunction +6 -0
- package/dist/data/quiz/function/handle_answer/then_6.mcfunction +5 -0
- package/dist/data/quiz/function/handle_answer/then_9.mcfunction +6 -0
- package/dist/data/quiz/function/handle_answer.mcfunction +11 -0
- package/dist/data/quiz/function/start_quiz.mcfunction +5 -0
- package/dist/data/rawtest/function/load.mcfunction +1 -0
- package/dist/data/rawtest/function/test.mcfunction +2 -0
- package/dist/data/reqtest/function/__load.mcfunction +4 -0
- package/dist/data/reqtest/function/_table_init.mcfunction +2 -0
- package/dist/data/reqtest/function/no_trig.mcfunction +3 -0
- package/dist/data/reqtest/function/use_table.mcfunction +4 -0
- package/dist/data/reqtest2/function/__load.mcfunction +3 -0
- package/dist/data/reqtest2/function/no_trig.mcfunction +3 -0
- package/dist/data/runtime/function/__load.mcfunction +5 -0
- package/dist/data/runtime/function/__tick.mcfunction +2 -0
- package/dist/data/runtime/function/counter_tick/then_0.mcfunction +3 -0
- package/dist/data/runtime/function/counter_tick.mcfunction +13 -0
- package/dist/data/shop/function/__load.mcfunction +7 -0
- package/dist/data/shop/function/__tick.mcfunction +3 -0
- package/dist/data/shop/function/__trigger_shop_buy_dispatch.mcfunction +4 -0
- package/dist/data/shop/function/complete_purchase/else_1.mcfunction +5 -0
- package/dist/data/shop/function/complete_purchase/else_4.mcfunction +5 -0
- package/dist/data/shop/function/complete_purchase/else_7.mcfunction +3 -0
- package/dist/data/shop/function/complete_purchase/merge_2.mcfunction +2 -0
- package/dist/data/shop/function/complete_purchase/merge_5.mcfunction +2 -0
- package/dist/data/shop/function/complete_purchase/merge_8.mcfunction +2 -0
- package/dist/data/shop/function/complete_purchase/then_0.mcfunction +4 -0
- package/dist/data/shop/function/complete_purchase/then_3.mcfunction +4 -0
- package/dist/data/shop/function/complete_purchase/then_6.mcfunction +4 -0
- package/dist/data/shop/function/complete_purchase.mcfunction +7 -0
- package/dist/data/shop/function/handle_shop_trigger.mcfunction +3 -0
- package/dist/data/swap_test/function/__load.mcfunction +3 -0
- package/dist/data/swap_test/function/gcd_old/loop_body_1.mcfunction +7 -0
- package/dist/data/swap_test/function/gcd_old/loop_check_0.mcfunction +5 -0
- package/dist/data/swap_test/function/gcd_old/loop_exit_2.mcfunction +3 -0
- package/dist/data/swap_test/function/gcd_old.mcfunction +8 -0
- package/dist/data/test/function/__dyn_idx_test_arrays_a.mcfunction +1 -0
- package/dist/data/test/function/__dyn_idx_test_arrays_b.mcfunction +1 -0
- package/dist/data/test/function/__dyn_idx_test_arrays_c.mcfunction +1 -0
- package/dist/data/test/function/__dyn_idx_test_arrays_counter.mcfunction +1 -0
- package/dist/data/test/function/__dyn_idx_test_arrays_d.mcfunction +1 -0
- package/dist/data/test/function/__dyn_idx_test_arrays_e.mcfunction +1 -0
- package/dist/data/test/function/__dyn_idx_test_arrays_g.mcfunction +1 -0
- package/dist/data/test/function/__dyn_idx_test_arrays_h.mcfunction +1 -0
- package/dist/data/test/function/__dyn_idx_test_arrays_one.mcfunction +1 -0
- package/dist/data/test/function/__dyn_wrt_test_arrays_f.mcfunction +1 -0
- package/dist/data/test/function/__dyn_wrt_test_arrays_r.mcfunction +1 -0
- package/dist/data/test/function/__dyn_wrt_test_arrays_s.mcfunction +1 -0
- package/dist/data/test/function/_apply.mcfunction +5 -0
- package/dist/data/test/function/_atan_init.mcfunction +4 -0
- package/dist/data/test/function/_divider.mcfunction +1 -0
- package/dist/data/test/function/_dump_advanced_phase.mcfunction +4 -0
- package/dist/data/test/function/_dump_advanced_phase__loop_body_1.mcfunction +7 -0
- package/dist/data/test/function/_dump_advanced_phase__loop_body_6.mcfunction +10 -0
- package/dist/data/test/function/_dump_advanced_phase__loop_exit_2.mcfunction +20 -0
- package/dist/data/test/function/_dump_advanced_phase__loop_exit_7.mcfunction +12 -0
- package/dist/data/test/function/_dump_advanced_phase__loop_header_0.mcfunction +4 -0
- package/dist/data/test/function/_dump_advanced_phase__loop_header_5.mcfunction +4 -0
- package/dist/data/test/function/_dump_advanced_phase__merge_4.mcfunction +4 -0
- package/dist/data/test/function/_dump_advanced_phase__then_3.mcfunction +2 -0
- package/dist/data/test/function/_dump_bigint_phase.mcfunction +28 -0
- package/dist/data/test/function/_dump_math_phase.mcfunction +4 -0
- package/dist/data/test/function/_dump_math_phase__loop_body_1.mcfunction +9 -0
- package/dist/data/test/function/_dump_math_phase__loop_exit_2.mcfunction +18 -0
- package/dist/data/test/function/_dump_math_phase__loop_header_0.mcfunction +4 -0
- package/dist/data/test/function/_fp.mcfunction +2 -0
- package/dist/data/test/function/_hsl_chroma_x.mcfunction +11 -0
- package/dist/data/test/function/_hsl_chroma_x__merge_1.mcfunction +6 -0
- package/dist/data/test/function/_hsl_chroma_x__then_0.mcfunction +4 -0
- package/dist/data/test/function/_math_init.mcfunction +4 -0
- package/dist/data/test/function/_next_phase.mcfunction +1 -0
- package/dist/data/test/function/_section.mcfunction +3 -0
- package/dist/data/test/function/_section__const_0.mcfunction +3 -0
- package/dist/data/test/function/_tick_advanced_live.mcfunction +5 -0
- package/dist/data/test/function/_tick_advanced_live__foreach_t12.mcfunction +1 -0
- package/dist/data/test/function/_tick_bigint_live.mcfunction +8 -0
- package/dist/data/test/function/_tick_bigint_live__foreach_t11.mcfunction +1 -0
- package/dist/data/test/function/_tick_math.mcfunction +9 -0
- package/dist/data/test/function/_tick_math__foreach_t12.mcfunction +1 -0
- package/dist/data/test/function/_tick_visual.mcfunction +11 -0
- package/dist/data/test/function/_tick_visual__foreach_t12.mcfunction +1 -0
- package/dist/data/test/function/_tick_visual__foreach_t16.mcfunction +8 -0
- package/dist/data/test/function/_tick_visual__foreach_t17.mcfunction +8 -0
- package/dist/data/test/function/_tick_visual__foreach_t21.mcfunction +1 -0
- package/dist/data/test/function/aabb_contains.mcfunction +13 -0
- package/dist/data/test/function/aabb_contains__merge_1.mcfunction +4 -0
- package/dist/data/test/function/aabb_contains__merge_10.mcfunction +4 -0
- package/dist/data/test/function/aabb_contains__merge_13.mcfunction +4 -0
- package/dist/data/test/function/aabb_contains__merge_16.mcfunction +2 -0
- package/dist/data/test/function/aabb_contains__merge_4.mcfunction +4 -0
- package/dist/data/test/function/aabb_contains__merge_7.mcfunction +4 -0
- package/dist/data/test/function/aabb_contains__then_0.mcfunction +2 -0
- package/dist/data/test/function/aabb_contains__then_12.mcfunction +2 -0
- package/dist/data/test/function/aabb_contains__then_15.mcfunction +2 -0
- package/dist/data/test/function/aabb_contains__then_3.mcfunction +2 -0
- package/dist/data/test/function/aabb_contains__then_6.mcfunction +2 -0
- package/dist/data/test/function/aabb_contains__then_9.mcfunction +2 -0
- package/dist/data/test/function/add2d_x.mcfunction +5 -0
- package/dist/data/test/function/add2d_y.mcfunction +5 -0
- package/dist/data/test/function/add3d_x.mcfunction +5 -0
- package/dist/data/test/function/add3d_y.mcfunction +5 -0
- package/dist/data/test/function/add3d_z.mcfunction +5 -0
- package/dist/data/test/function/air_drag_fx.mcfunction +2 -0
- package/dist/data/test/function/angle_between.mcfunction +28 -0
- package/dist/data/test/function/angle_between__and_false_2.mcfunction +2 -0
- package/dist/data/test/function/angle_between__and_false_8.mcfunction +2 -0
- package/dist/data/test/function/angle_between__and_merge_1.mcfunction +2 -0
- package/dist/data/test/function/angle_between__and_merge_7.mcfunction +2 -0
- package/dist/data/test/function/angle_between__and_right_0.mcfunction +4 -0
- package/dist/data/test/function/angle_between__and_right_6.mcfunction +4 -0
- package/dist/data/test/function/angle_between__merge_10.mcfunction +26 -0
- package/dist/data/test/function/angle_between__merge_4.mcfunction +4 -0
- package/dist/data/test/function/angle_between__then_3.mcfunction +2 -0
- package/dist/data/test/function/angle_between__then_9.mcfunction +2 -0
- package/dist/data/test/function/angle_diff.mcfunction +13 -0
- package/dist/data/test/function/angle_diff__merge_1.mcfunction +1 -0
- package/dist/data/test/function/angle_diff__then_0.mcfunction +4 -0
- package/dist/data/test/function/angle_normalize.mcfunction +3 -0
- package/dist/data/test/function/angle_normalize__loop_body_1.mcfunction +4 -0
- package/dist/data/test/function/angle_normalize__loop_body_4.mcfunction +4 -0
- package/dist/data/test/function/angle_normalize__loop_exit_2.mcfunction +1 -0
- package/dist/data/test/function/angle_normalize__loop_exit_5.mcfunction +1 -0
- package/dist/data/test/function/angle_normalize__loop_header_0.mcfunction +5 -0
- package/dist/data/test/function/angle_normalize__loop_header_3.mcfunction +5 -0
- package/dist/data/test/function/apply_drag.mcfunction +8 -0
- package/dist/data/test/function/apply_gravity.mcfunction +6 -0
- package/dist/data/test/function/approx_eq.mcfunction +10 -0
- package/dist/data/test/function/approx_eq__merge_1.mcfunction +3 -0
- package/dist/data/test/function/approx_eq__merge_3.mcfunction +2 -0
- package/dist/data/test/function/approx_eq__then_0.mcfunction +4 -0
- package/dist/data/test/function/approx_eq__then_2.mcfunction +2 -0
- package/dist/data/test/function/atan2_fixed.mcfunction +6 -0
- package/dist/data/test/function/atan2_fixed__else_30.mcfunction +2 -0
- package/dist/data/test/function/atan2_fixed__loop_body_26.mcfunction +21 -0
- package/dist/data/test/function/atan2_fixed__loop_exit_27.mcfunction +5 -0
- package/dist/data/test/function/atan2_fixed__loop_header_25.mcfunction +3 -0
- package/dist/data/test/function/atan2_fixed__merge_1.mcfunction +4 -0
- package/dist/data/test/function/atan2_fixed__merge_10.mcfunction +5 -0
- package/dist/data/test/function/atan2_fixed__merge_12.mcfunction +2 -0
- package/dist/data/test/function/atan2_fixed__merge_16.mcfunction +5 -0
- package/dist/data/test/function/atan2_fixed__merge_18.mcfunction +4 -0
- package/dist/data/test/function/atan2_fixed__merge_20.mcfunction +4 -0
- package/dist/data/test/function/atan2_fixed__merge_22.mcfunction +4 -0
- package/dist/data/test/function/atan2_fixed__merge_24.mcfunction +3 -0
- package/dist/data/test/function/atan2_fixed__merge_29.mcfunction +1 -0
- package/dist/data/test/function/atan2_fixed__merge_3.mcfunction +4 -0
- package/dist/data/test/function/atan2_fixed__merge_32.mcfunction +4 -0
- package/dist/data/test/function/atan2_fixed__merge_34.mcfunction +4 -0
- package/dist/data/test/function/atan2_fixed__merge_36.mcfunction +3 -0
- package/dist/data/test/function/atan2_fixed__merge_40.mcfunction +3 -0
- package/dist/data/test/function/atan2_fixed__merge_6.mcfunction +2 -0
- package/dist/data/test/function/atan2_fixed__then_0.mcfunction +4 -0
- package/dist/data/test/function/atan2_fixed__then_11.mcfunction +2 -0
- package/dist/data/test/function/atan2_fixed__then_15.mcfunction +4 -0
- package/dist/data/test/function/atan2_fixed__then_17.mcfunction +4 -0
- package/dist/data/test/function/atan2_fixed__then_19.mcfunction +2 -0
- package/dist/data/test/function/atan2_fixed__then_2.mcfunction +2 -0
- package/dist/data/test/function/atan2_fixed__then_21.mcfunction +2 -0
- package/dist/data/test/function/atan2_fixed__then_23.mcfunction +5 -0
- package/dist/data/test/function/atan2_fixed__then_28.mcfunction +4 -0
- package/dist/data/test/function/atan2_fixed__then_31.mcfunction +4 -0
- package/dist/data/test/function/atan2_fixed__then_33.mcfunction +4 -0
- package/dist/data/test/function/atan2_fixed__then_35.mcfunction +1 -0
- package/dist/data/test/function/atan2_fixed__then_39.mcfunction +3 -0
- package/dist/data/test/function/atan2_fixed__then_5.mcfunction +2 -0
- package/dist/data/test/function/atan2_fixed__then_9.mcfunction +4 -0
- package/dist/data/test/function/avg3.mcfunction +11 -0
- package/dist/data/test/function/avg5.mcfunction +17 -0
- package/dist/data/test/function/bernoulli.mcfunction +13 -0
- package/dist/data/test/function/bernoulli__merge_1.mcfunction +7 -0
- package/dist/data/test/function/bernoulli__merge_3.mcfunction +2 -0
- package/dist/data/test/function/bernoulli__then_0.mcfunction +4 -0
- package/dist/data/test/function/bernoulli__then_2.mcfunction +2 -0
- package/dist/data/test/function/bezier_cubic.mcfunction +36 -0
- package/dist/data/test/function/bezier_quad.mcfunction +20 -0
- package/dist/data/test/function/bigint3_add_hi.mcfunction +11 -0
- package/dist/data/test/function/bigint3_add_lo.mcfunction +8 -0
- package/dist/data/test/function/bigint3_add_mid.mcfunction +11 -0
- package/dist/data/test/function/bigint3_borrow_lo.mcfunction +5 -0
- package/dist/data/test/function/bigint3_borrow_lo__merge_1.mcfunction +2 -0
- package/dist/data/test/function/bigint3_borrow_lo__then_0.mcfunction +2 -0
- package/dist/data/test/function/bigint3_borrow_mid.mcfunction +8 -0
- package/dist/data/test/function/bigint3_borrow_mid__merge_1.mcfunction +2 -0
- package/dist/data/test/function/bigint3_borrow_mid__then_0.mcfunction +2 -0
- package/dist/data/test/function/bigint3_carry_lo.mcfunction +8 -0
- package/dist/data/test/function/bigint3_carry_mid.mcfunction +11 -0
- package/dist/data/test/function/bigint3_cmp.mcfunction +9 -0
- package/dist/data/test/function/bigint3_cmp__merge_1.mcfunction +3 -0
- package/dist/data/test/function/bigint3_cmp__merge_10.mcfunction +3 -0
- package/dist/data/test/function/bigint3_cmp__merge_13.mcfunction +3 -0
- package/dist/data/test/function/bigint3_cmp__merge_16.mcfunction +2 -0
- package/dist/data/test/function/bigint3_cmp__merge_4.mcfunction +3 -0
- package/dist/data/test/function/bigint3_cmp__merge_7.mcfunction +3 -0
- package/dist/data/test/function/bigint3_cmp__then_0.mcfunction +2 -0
- package/dist/data/test/function/bigint3_cmp__then_12.mcfunction +2 -0
- package/dist/data/test/function/bigint3_cmp__then_15.mcfunction +2 -0
- package/dist/data/test/function/bigint3_cmp__then_3.mcfunction +2 -0
- package/dist/data/test/function/bigint3_cmp__then_6.mcfunction +2 -0
- package/dist/data/test/function/bigint3_cmp__then_9.mcfunction +2 -0
- package/dist/data/test/function/bigint3_div_chunk.mcfunction +11 -0
- package/dist/data/test/function/bigint3_mul1_hi.mcfunction +8 -0
- package/dist/data/test/function/bigint3_mul1_lo.mcfunction +8 -0
- package/dist/data/test/function/bigint3_mul1_mid.mcfunction +2 -0
- package/dist/data/test/function/bigint3_rem_chunk.mcfunction +11 -0
- package/dist/data/test/function/bigint3_sub_hi.mcfunction +8 -0
- package/dist/data/test/function/bigint3_sub_lo.mcfunction +5 -0
- package/dist/data/test/function/bigint3_sub_lo__merge_1.mcfunction +5 -0
- package/dist/data/test/function/bigint3_sub_lo__then_0.mcfunction +3 -0
- package/dist/data/test/function/bigint3_sub_mid.mcfunction +12 -0
- package/dist/data/test/function/bigint3_sub_mid__merge_1.mcfunction +1 -0
- package/dist/data/test/function/bigint3_sub_mid__then_0.mcfunction +4 -0
- package/dist/data/test/function/bigint3_to_int32.mcfunction +14 -0
- package/dist/data/test/function/bigint_add.mcfunction +8 -0
- package/dist/data/test/function/bigint_add__arr_a__test_arrays__a__b__test_arrays__b__result__test_arrays__r.mcfunction +6 -0
- package/dist/data/test/function/bigint_add__arr_a__test_arrays__a__b__test_arrays__b__result__test_arrays__r__loop_body_1.mcfunction +22 -0
- package/dist/data/test/function/bigint_add__arr_a__test_arrays__a__b__test_arrays__b__result__test_arrays__r__loop_exit_2.mcfunction +1 -0
- package/dist/data/test/function/bigint_add__arr_a__test_arrays__a__b__test_arrays__b__result__test_arrays__r__loop_header_0.mcfunction +4 -0
- package/dist/data/test/function/bigint_add__arr_a__test_arrays__counter__b__test_arrays__one__result__test_arrays__r.mcfunction +6 -0
- package/dist/data/test/function/bigint_add__arr_a__test_arrays__counter__b__test_arrays__one__result__test_arrays__r__loop_body_1.mcfunction +22 -0
- package/dist/data/test/function/bigint_add__arr_a__test_arrays__counter__b__test_arrays__one__result__test_arrays__r__loop_exit_2.mcfunction +1 -0
- package/dist/data/test/function/bigint_add__arr_a__test_arrays__counter__b__test_arrays__one__result__test_arrays__r__loop_header_0.mcfunction +4 -0
- package/dist/data/test/function/bigint_add__loop_body_1.mcfunction +12 -0
- package/dist/data/test/function/bigint_add__loop_exit_2.mcfunction +1 -0
- package/dist/data/test/function/bigint_add__loop_header_0.mcfunction +4 -0
- package/dist/data/test/function/bigint_base.mcfunction +2 -0
- package/dist/data/test/function/bigint_cmp.mcfunction +5 -0
- package/dist/data/test/function/bigint_cmp__arr_a__test_arrays__g__b__test_arrays__h.mcfunction +3 -0
- package/dist/data/test/function/bigint_cmp__arr_a__test_arrays__g__b__test_arrays__h__loop_body_1.mcfunction +7 -0
- package/dist/data/test/function/bigint_cmp__arr_a__test_arrays__g__b__test_arrays__h__loop_exit_2.mcfunction +2 -0
- package/dist/data/test/function/bigint_cmp__arr_a__test_arrays__g__b__test_arrays__h__loop_header_0.mcfunction +3 -0
- package/dist/data/test/function/bigint_cmp__arr_a__test_arrays__g__b__test_arrays__h__merge_4.mcfunction +7 -0
- package/dist/data/test/function/bigint_cmp__arr_a__test_arrays__g__b__test_arrays__h__merge_7.mcfunction +4 -0
- package/dist/data/test/function/bigint_cmp__arr_a__test_arrays__g__b__test_arrays__h__then_3.mcfunction +2 -0
- package/dist/data/test/function/bigint_cmp__arr_a__test_arrays__g__b__test_arrays__h__then_6.mcfunction +2 -0
- package/dist/data/test/function/bigint_cmp__loop_body_1.mcfunction +3 -0
- package/dist/data/test/function/bigint_cmp__loop_exit_2.mcfunction +2 -0
- package/dist/data/test/function/bigint_cmp__loop_header_0.mcfunction +3 -0
- package/dist/data/test/function/bigint_cmp__merge_4.mcfunction +3 -0
- package/dist/data/test/function/bigint_cmp__merge_7.mcfunction +4 -0
- package/dist/data/test/function/bigint_cmp__then_3.mcfunction +2 -0
- package/dist/data/test/function/bigint_cmp__then_6.mcfunction +2 -0
- package/dist/data/test/function/bigint_copy.mcfunction +3 -0
- package/dist/data/test/function/bigint_copy__loop_body_1.mcfunction +4 -0
- package/dist/data/test/function/bigint_copy__loop_exit_2.mcfunction +1 -0
- package/dist/data/test/function/bigint_copy__loop_header_0.mcfunction +3 -0
- package/dist/data/test/function/bigint_is_zero.mcfunction +4 -0
- package/dist/data/test/function/bigint_is_zero__loop_body_1.mcfunction +4 -0
- package/dist/data/test/function/bigint_is_zero__loop_exit_2.mcfunction +2 -0
- package/dist/data/test/function/bigint_is_zero__loop_header_0.mcfunction +3 -0
- package/dist/data/test/function/bigint_is_zero__merge_4.mcfunction +4 -0
- package/dist/data/test/function/bigint_is_zero__then_3.mcfunction +2 -0
- package/dist/data/test/function/bigint_leading_zeros.mcfunction +5 -0
- package/dist/data/test/function/bigint_leading_zeros__loop_body_1.mcfunction +4 -0
- package/dist/data/test/function/bigint_leading_zeros__loop_exit_2.mcfunction +1 -0
- package/dist/data/test/function/bigint_leading_zeros__loop_header_0.mcfunction +3 -0
- package/dist/data/test/function/bigint_leading_zeros__merge_4.mcfunction +9 -0
- package/dist/data/test/function/bigint_leading_zeros__then_3.mcfunction +1 -0
- package/dist/data/test/function/bigint_mul_small.mcfunction +8 -0
- package/dist/data/test/function/bigint_mul_small__arr_a__test_arrays__e__result__test_arrays__f.mcfunction +7 -0
- package/dist/data/test/function/bigint_mul_small__arr_a__test_arrays__e__result__test_arrays__f__loop_body_1.mcfunction +20 -0
- package/dist/data/test/function/bigint_mul_small__arr_a__test_arrays__e__result__test_arrays__f__loop_exit_2.mcfunction +1 -0
- package/dist/data/test/function/bigint_mul_small__arr_a__test_arrays__e__result__test_arrays__f__loop_header_0.mcfunction +4 -0
- package/dist/data/test/function/bigint_mul_small__loop_body_1.mcfunction +12 -0
- package/dist/data/test/function/bigint_mul_small__loop_exit_2.mcfunction +1 -0
- package/dist/data/test/function/bigint_mul_small__loop_header_0.mcfunction +4 -0
- package/dist/data/test/function/bigint_shift_left.mcfunction +3 -0
- package/dist/data/test/function/bigint_shift_left__loop_body_1.mcfunction +4 -0
- package/dist/data/test/function/bigint_shift_left__loop_exit_2.mcfunction +1 -0
- package/dist/data/test/function/bigint_shift_left__loop_header_0.mcfunction +5 -0
- package/dist/data/test/function/bigint_sub.mcfunction +8 -0
- package/dist/data/test/function/bigint_sub__arr_a__test_arrays__c__b__test_arrays__d__result__test_arrays__s.mcfunction +6 -0
- package/dist/data/test/function/bigint_sub__arr_a__test_arrays__c__b__test_arrays__d__result__test_arrays__s__loop_body_1.mcfunction +13 -0
- package/dist/data/test/function/bigint_sub__arr_a__test_arrays__c__b__test_arrays__d__result__test_arrays__s__loop_exit_2.mcfunction +1 -0
- package/dist/data/test/function/bigint_sub__arr_a__test_arrays__c__b__test_arrays__d__result__test_arrays__s__loop_header_0.mcfunction +4 -0
- package/dist/data/test/function/bigint_sub__arr_a__test_arrays__c__b__test_arrays__d__result__test_arrays__s__merge_4.mcfunction +4 -0
- package/dist/data/test/function/bigint_sub__arr_a__test_arrays__c__b__test_arrays__d__result__test_arrays__s__merge_6.mcfunction +7 -0
- package/dist/data/test/function/bigint_sub__arr_a__test_arrays__c__b__test_arrays__d__result__test_arrays__s__then_3.mcfunction +5 -0
- package/dist/data/test/function/bigint_sub__arr_a__test_arrays__c__b__test_arrays__d__result__test_arrays__s__then_5.mcfunction +2 -0
- package/dist/data/test/function/bigint_sub__loop_body_1.mcfunction +9 -0
- package/dist/data/test/function/bigint_sub__loop_exit_2.mcfunction +1 -0
- package/dist/data/test/function/bigint_sub__loop_header_0.mcfunction +4 -0
- package/dist/data/test/function/bigint_sub__merge_4.mcfunction +4 -0
- package/dist/data/test/function/bigint_sub__merge_6.mcfunction +4 -0
- package/dist/data/test/function/bigint_sub__then_3.mcfunction +5 -0
- package/dist/data/test/function/bigint_sub__then_5.mcfunction +2 -0
- package/dist/data/test/function/bigint_zero.mcfunction +3 -0
- package/dist/data/test/function/bigint_zero__loop_body_1.mcfunction +4 -0
- package/dist/data/test/function/bigint_zero__loop_exit_2.mcfunction +1 -0
- package/dist/data/test/function/bigint_zero__loop_header_0.mcfunction +3 -0
- package/dist/data/test/function/billboard_y.mcfunction +7 -0
- package/dist/data/test/function/bit_and.mcfunction +6 -0
- package/dist/data/test/function/bit_and__loop_body_1.mcfunction +10 -0
- package/dist/data/test/function/bit_and__loop_exit_2.mcfunction +1 -0
- package/dist/data/test/function/bit_and__loop_header_0.mcfunction +5 -0
- package/dist/data/test/function/bit_and__merge_4.mcfunction +8 -0
- package/dist/data/test/function/bit_and__merge_6.mcfunction +1 -0
- package/dist/data/test/function/bit_and__then_3.mcfunction +10 -0
- package/dist/data/test/function/bit_and__then_5.mcfunction +4 -0
- package/dist/data/test/function/bit_clear.mcfunction +5 -0
- package/dist/data/test/function/bit_clear__loop_body_1.mcfunction +8 -0
- package/dist/data/test/function/bit_clear__loop_exit_2.mcfunction +10 -0
- package/dist/data/test/function/bit_clear__loop_header_0.mcfunction +4 -0
- package/dist/data/test/function/bit_clear__merge_4.mcfunction +1 -0
- package/dist/data/test/function/bit_clear__then_3.mcfunction +3 -0
- package/dist/data/test/function/bit_get.mcfunction +5 -0
- package/dist/data/test/function/bit_get__loop_body_1.mcfunction +8 -0
- package/dist/data/test/function/bit_get__loop_exit_2.mcfunction +6 -0
- package/dist/data/test/function/bit_get__loop_header_0.mcfunction +4 -0
- package/dist/data/test/function/bit_not.mcfunction +5 -0
- package/dist/data/test/function/bit_not__loop_body_1.mcfunction +10 -0
- package/dist/data/test/function/bit_not__loop_exit_2.mcfunction +1 -0
- package/dist/data/test/function/bit_not__loop_header_0.mcfunction +5 -0
- package/dist/data/test/function/bit_not__merge_4.mcfunction +8 -0
- package/dist/data/test/function/bit_not__then_3.mcfunction +4 -0
- package/dist/data/test/function/bit_or.mcfunction +6 -0
- package/dist/data/test/function/bit_or__loop_body_1.mcfunction +10 -0
- package/dist/data/test/function/bit_or__loop_exit_2.mcfunction +1 -0
- package/dist/data/test/function/bit_or__loop_header_0.mcfunction +5 -0
- package/dist/data/test/function/bit_or__merge_4.mcfunction +10 -0
- package/dist/data/test/function/bit_or__merge_6.mcfunction +8 -0
- package/dist/data/test/function/bit_or__merge_8.mcfunction +1 -0
- package/dist/data/test/function/bit_or__then_3.mcfunction +4 -0
- package/dist/data/test/function/bit_or__then_5.mcfunction +10 -0
- package/dist/data/test/function/bit_or__then_7.mcfunction +4 -0
- package/dist/data/test/function/bit_set.mcfunction +5 -0
- package/dist/data/test/function/bit_set__loop_body_1.mcfunction +8 -0
- package/dist/data/test/function/bit_set__loop_exit_2.mcfunction +10 -0
- package/dist/data/test/function/bit_set__loop_header_0.mcfunction +4 -0
- package/dist/data/test/function/bit_set__merge_4.mcfunction +1 -0
- package/dist/data/test/function/bit_set__then_3.mcfunction +3 -0
- package/dist/data/test/function/bit_shl.mcfunction +5 -0
- package/dist/data/test/function/bit_shl__loop_body_1.mcfunction +8 -0
- package/dist/data/test/function/bit_shl__loop_exit_2.mcfunction +1 -0
- package/dist/data/test/function/bit_shl__loop_header_0.mcfunction +4 -0
- package/dist/data/test/function/bit_shr.mcfunction +5 -0
- package/dist/data/test/function/bit_shr__loop_body_1.mcfunction +8 -0
- package/dist/data/test/function/bit_shr__loop_exit_2.mcfunction +1 -0
- package/dist/data/test/function/bit_shr__loop_header_0.mcfunction +4 -0
- package/dist/data/test/function/bit_toggle.mcfunction +5 -0
- package/dist/data/test/function/bit_toggle__loop_body_1.mcfunction +8 -0
- package/dist/data/test/function/bit_toggle__loop_exit_2.mcfunction +10 -0
- package/dist/data/test/function/bit_toggle__loop_header_0.mcfunction +4 -0
- package/dist/data/test/function/bit_toggle__merge_4.mcfunction +3 -0
- package/dist/data/test/function/bit_toggle__then_3.mcfunction +3 -0
- package/dist/data/test/function/bit_xor.mcfunction +6 -0
- package/dist/data/test/function/bit_xor__loop_body_1.mcfunction +14 -0
- package/dist/data/test/function/bit_xor__loop_exit_2.mcfunction +1 -0
- package/dist/data/test/function/bit_xor__loop_header_0.mcfunction +5 -0
- package/dist/data/test/function/bit_xor__merge_4.mcfunction +8 -0
- package/dist/data/test/function/bit_xor__then_3.mcfunction +4 -0
- package/dist/data/test/function/bounce_v.mcfunction +10 -0
- package/dist/data/test/function/cbrt_fx.mcfunction +5 -0
- package/dist/data/test/function/cbrt_fx__loop_body_6.mcfunction +7 -0
- package/dist/data/test/function/cbrt_fx__loop_exit_7.mcfunction +1 -0
- package/dist/data/test/function/cbrt_fx__loop_header_5.mcfunction +4 -0
- package/dist/data/test/function/cbrt_fx__merge_1.mcfunction +8 -0
- package/dist/data/test/function/cbrt_fx__merge_11.mcfunction +5 -0
- package/dist/data/test/function/cbrt_fx__merge_13.mcfunction +4 -0
- package/dist/data/test/function/cbrt_fx__merge_4.mcfunction +2 -0
- package/dist/data/test/function/cbrt_fx__merge_9.mcfunction +13 -0
- package/dist/data/test/function/cbrt_fx__then_0.mcfunction +2 -0
- package/dist/data/test/function/cbrt_fx__then_10.mcfunction +2 -0
- package/dist/data/test/function/cbrt_fx__then_12.mcfunction +2 -0
- package/dist/data/test/function/cbrt_fx__then_3.mcfunction +2 -0
- package/dist/data/test/function/cbrt_fx__then_8.mcfunction +2 -0
- package/dist/data/test/function/ceil_div.mcfunction +9 -0
- package/dist/data/test/function/chebyshev.mcfunction +14 -0
- package/dist/data/test/function/chebyshev3d.mcfunction +19 -0
- package/dist/data/test/function/chebyshev3d__merge_1.mcfunction +4 -0
- package/dist/data/test/function/chebyshev3d__merge_3.mcfunction +4 -0
- package/dist/data/test/function/chebyshev3d__merge_5.mcfunction +4 -0
- package/dist/data/test/function/chebyshev3d__merge_7.mcfunction +3 -0
- package/dist/data/test/function/chebyshev3d__merge_9.mcfunction +1 -0
- package/dist/data/test/function/chebyshev3d__then_0.mcfunction +4 -0
- package/dist/data/test/function/chebyshev3d__then_2.mcfunction +4 -0
- package/dist/data/test/function/chebyshev3d__then_4.mcfunction +4 -0
- package/dist/data/test/function/chebyshev3d__then_6.mcfunction +2 -0
- package/dist/data/test/function/chebyshev3d__then_8.mcfunction +2 -0
- package/dist/data/test/function/chebyshev__merge_1.mcfunction +4 -0
- package/dist/data/test/function/chebyshev__merge_3.mcfunction +3 -0
- package/dist/data/test/function/chebyshev__merge_5.mcfunction +1 -0
- package/dist/data/test/function/chebyshev__then_0.mcfunction +4 -0
- package/dist/data/test/function/chebyshev__then_2.mcfunction +4 -0
- package/dist/data/test/function/chebyshev__then_4.mcfunction +1 -0
- package/dist/data/test/function/chunk_hi.mcfunction +5 -0
- package/dist/data/test/function/chunk_lo.mcfunction +5 -0
- package/dist/data/test/function/circular_x.mcfunction +14 -0
- package/dist/data/test/function/circular_z.mcfunction +14 -0
- package/dist/data/test/function/clamp3.mcfunction +7 -0
- package/dist/data/test/function/clamp3__merge_1.mcfunction +4 -0
- package/dist/data/test/function/clamp3__merge_4.mcfunction +1 -0
- package/dist/data/test/function/clamp3__then_0.mcfunction +1 -0
- package/dist/data/test/function/clamp3__then_3.mcfunction +1 -0
- package/dist/data/test/function/clamp_circle_x.mcfunction +13 -0
- package/dist/data/test/function/clamp_circle_x__merge_1.mcfunction +10 -0
- package/dist/data/test/function/clamp_circle_x__then_0.mcfunction +1 -0
- package/dist/data/test/function/clamp_circle_y.mcfunction +13 -0
- package/dist/data/test/function/clamp_circle_y__merge_1.mcfunction +10 -0
- package/dist/data/test/function/clamp_circle_y__then_0.mcfunction +1 -0
- package/dist/data/test/function/clamp_velocity.mcfunction +5 -0
- package/dist/data/test/function/clamp_velocity__merge_1.mcfunction +5 -0
- package/dist/data/test/function/clamp_velocity__merge_4.mcfunction +1 -0
- package/dist/data/test/function/clamp_velocity__then_0.mcfunction +1 -0
- package/dist/data/test/function/clamp_velocity__then_3.mcfunction +3 -0
- package/dist/data/test/function/collatz_steps.mcfunction +5 -0
- package/dist/data/test/function/collatz_steps__else_8.mcfunction +6 -0
- package/dist/data/test/function/collatz_steps__loop_body_4.mcfunction +7 -0
- package/dist/data/test/function/collatz_steps__loop_exit_5.mcfunction +1 -0
- package/dist/data/test/function/collatz_steps__loop_header_3.mcfunction +4 -0
- package/dist/data/test/function/collatz_steps__merge_1.mcfunction +3 -0
- package/dist/data/test/function/collatz_steps__merge_7.mcfunction +4 -0
- package/dist/data/test/function/collatz_steps__then_0.mcfunction +2 -0
- package/dist/data/test/function/collatz_steps__then_6.mcfunction +5 -0
- package/dist/data/test/function/combinations.mcfunction +6 -0
- package/dist/data/test/function/combinations__loop_body_9.mcfunction +15 -0
- package/dist/data/test/function/combinations__loop_exit_10.mcfunction +1 -0
- package/dist/data/test/function/combinations__loop_header_8.mcfunction +3 -0
- package/dist/data/test/function/combinations__merge_1.mcfunction +3 -0
- package/dist/data/test/function/combinations__merge_4.mcfunction +6 -0
- package/dist/data/test/function/combinations__merge_7.mcfunction +3 -0
- package/dist/data/test/function/combinations__then_0.mcfunction +2 -0
- package/dist/data/test/function/combinations__then_3.mcfunction +2 -0
- package/dist/data/test/function/combinations__then_6.mcfunction +4 -0
- package/dist/data/test/function/cos_fixed.mcfunction +7 -0
- package/dist/data/test/function/cos_fixed__const_0.mcfunction +5 -0
- package/dist/data/test/function/cos_hp.mcfunction +6 -0
- package/dist/data/test/function/count_digits.mcfunction +6 -0
- package/dist/data/test/function/count_digits__loop_body_6.mcfunction +8 -0
- package/dist/data/test/function/count_digits__loop_exit_7.mcfunction +1 -0
- package/dist/data/test/function/count_digits__loop_header_5.mcfunction +4 -0
- package/dist/data/test/function/count_digits__merge_1.mcfunction +4 -0
- package/dist/data/test/function/count_digits__merge_3.mcfunction +2 -0
- package/dist/data/test/function/count_digits__then_0.mcfunction +4 -0
- package/dist/data/test/function/count_digits__then_2.mcfunction +2 -0
- package/dist/data/test/function/cross2d.mcfunction +11 -0
- package/dist/data/test/function/cross3d_x.mcfunction +11 -0
- package/dist/data/test/function/cross3d_y.mcfunction +11 -0
- package/dist/data/test/function/cross3d_z.mcfunction +11 -0
- package/dist/data/test/function/cylinder_contains.mcfunction +21 -0
- package/dist/data/test/function/cylinder_contains__merge_1.mcfunction +2 -0
- package/dist/data/test/function/cylinder_contains__then_0.mcfunction +2 -0
- package/dist/data/test/function/debug_bigint.mcfunction +25 -0
- package/dist/data/test/function/digit_sum.mcfunction +6 -0
- package/dist/data/test/function/digit_sum__loop_body_6.mcfunction +11 -0
- package/dist/data/test/function/digit_sum__loop_exit_7.mcfunction +1 -0
- package/dist/data/test/function/digit_sum__loop_header_5.mcfunction +4 -0
- package/dist/data/test/function/digit_sum__merge_1.mcfunction +4 -0
- package/dist/data/test/function/digit_sum__merge_3.mcfunction +2 -0
- package/dist/data/test/function/digit_sum__then_0.mcfunction +4 -0
- package/dist/data/test/function/digit_sum__then_2.mcfunction +2 -0
- package/dist/data/test/function/digital_root.mcfunction +5 -0
- package/dist/data/test/function/digital_root__merge_1.mcfunction +8 -0
- package/dist/data/test/function/digital_root__merge_4.mcfunction +1 -0
- package/dist/data/test/function/digital_root__then_0.mcfunction +2 -0
- package/dist/data/test/function/digital_root__then_3.mcfunction +2 -0
- package/dist/data/test/function/distance2d_fixed.mcfunction +13 -0
- package/dist/data/test/function/distance3d_fixed.mcfunction +18 -0
- package/dist/data/test/function/divfix.mcfunction +6 -0
- package/dist/data/test/function/divfix__merge_1.mcfunction +6 -0
- package/dist/data/test/function/divfix__then_0.mcfunction +2 -0
- package/dist/data/test/function/dot2d.mcfunction +11 -0
- package/dist/data/test/function/dot3d.mcfunction +17 -0
- package/dist/data/test/function/dump_advanced.mcfunction +1 -0
- package/dist/data/test/function/dump_bigint.mcfunction +1 -0
- package/dist/data/test/function/dump_math.mcfunction +1 -0
- package/dist/data/test/function/ease_in_back.mcfunction +26 -0
- package/dist/data/test/function/ease_in_bounce.mcfunction +9 -0
- package/dist/data/test/function/ease_in_cubic.mcfunction +12 -0
- package/dist/data/test/function/ease_in_expo.mcfunction +6 -0
- package/dist/data/test/function/ease_in_expo__merge_1.mcfunction +11 -0
- package/dist/data/test/function/ease_in_expo__then_0.mcfunction +2 -0
- package/dist/data/test/function/ease_in_out_back.mcfunction +6 -0
- package/dist/data/test/function/ease_in_out_back__merge_1.mcfunction +14 -0
- package/dist/data/test/function/ease_in_out_back__then_0.mcfunction +10 -0
- package/dist/data/test/function/ease_in_out_bounce.mcfunction +6 -0
- package/dist/data/test/function/ease_in_out_bounce__merge_1.mcfunction +14 -0
- package/dist/data/test/function/ease_in_out_bounce__then_0.mcfunction +10 -0
- package/dist/data/test/function/ease_in_out_cubic.mcfunction +6 -0
- package/dist/data/test/function/ease_in_out_cubic__merge_1.mcfunction +17 -0
- package/dist/data/test/function/ease_in_out_cubic__then_0.mcfunction +13 -0
- package/dist/data/test/function/ease_in_out_quad.mcfunction +6 -0
- package/dist/data/test/function/ease_in_out_quad__merge_1.mcfunction +12 -0
- package/dist/data/test/function/ease_in_out_quad__then_0.mcfunction +8 -0
- package/dist/data/test/function/ease_in_out_sine.mcfunction +6 -0
- package/dist/data/test/function/ease_in_out_sine__merge_1.mcfunction +14 -0
- package/dist/data/test/function/ease_in_out_sine__then_0.mcfunction +10 -0
- package/dist/data/test/function/ease_in_quad.mcfunction +7 -0
- package/dist/data/test/function/ease_in_quart.mcfunction +12 -0
- package/dist/data/test/function/ease_in_sine.mcfunction +30 -0
- package/dist/data/test/function/ease_linear.mcfunction +2 -0
- package/dist/data/test/function/ease_out_back.mcfunction +9 -0
- package/dist/data/test/function/ease_out_bounce.mcfunction +7 -0
- package/dist/data/test/function/ease_out_bounce__merge_1.mcfunction +5 -0
- package/dist/data/test/function/ease_out_bounce__merge_4.mcfunction +5 -0
- package/dist/data/test/function/ease_out_bounce__merge_7.mcfunction +15 -0
- package/dist/data/test/function/ease_out_bounce__then_0.mcfunction +11 -0
- package/dist/data/test/function/ease_out_bounce__then_3.mcfunction +15 -0
- package/dist/data/test/function/ease_out_bounce__then_6.mcfunction +15 -0
- package/dist/data/test/function/ease_out_cubic.mcfunction +16 -0
- package/dist/data/test/function/ease_out_expo.mcfunction +6 -0
- package/dist/data/test/function/ease_out_expo__merge_1.mcfunction +8 -0
- package/dist/data/test/function/ease_out_expo__then_0.mcfunction +2 -0
- package/dist/data/test/function/ease_out_quad.mcfunction +11 -0
- package/dist/data/test/function/ease_out_quart.mcfunction +16 -0
- package/dist/data/test/function/ease_out_sine.mcfunction +9 -0
- package/dist/data/test/function/ease_smooth.mcfunction +23 -0
- package/dist/data/test/function/ease_smoother.mcfunction +41 -0
- package/dist/data/test/function/exp_dist_approx.mcfunction +13 -0
- package/dist/data/test/function/exp_dist_approx__merge_1.mcfunction +16 -0
- package/dist/data/test/function/exp_dist_approx__merge_3.mcfunction +11 -0
- package/dist/data/test/function/exp_dist_approx__merge_5.mcfunction +1 -0
- package/dist/data/test/function/exp_dist_approx__then_0.mcfunction +4 -0
- package/dist/data/test/function/exp_dist_approx__then_2.mcfunction +2 -0
- package/dist/data/test/function/exp_dist_approx__then_4.mcfunction +2 -0
- package/dist/data/test/function/exp_fx.mcfunction +16 -0
- package/dist/data/test/function/exp_fx__loop_body_10.mcfunction +8 -0
- package/dist/data/test/function/exp_fx__loop_body_5.mcfunction +8 -0
- package/dist/data/test/function/exp_fx__loop_exit_11.mcfunction +1 -0
- package/dist/data/test/function/exp_fx__loop_exit_6.mcfunction +1 -0
- package/dist/data/test/function/exp_fx__loop_header_4.mcfunction +3 -0
- package/dist/data/test/function/exp_fx__loop_header_9.mcfunction +3 -0
- package/dist/data/test/function/exp_fx__merge_1.mcfunction +47 -0
- package/dist/data/test/function/exp_fx__merge_3.mcfunction +4 -0
- package/dist/data/test/function/exp_fx__merge_8.mcfunction +1 -0
- package/dist/data/test/function/exp_fx__then_0.mcfunction +7 -0
- package/dist/data/test/function/exp_fx__then_2.mcfunction +2 -0
- package/dist/data/test/function/exp_fx__then_7.mcfunction +5 -0
- package/dist/data/test/function/factorial.mcfunction +5 -0
- package/dist/data/test/function/factorial__loop_body_4.mcfunction +7 -0
- package/dist/data/test/function/factorial__loop_exit_5.mcfunction +1 -0
- package/dist/data/test/function/factorial__loop_header_3.mcfunction +3 -0
- package/dist/data/test/function/factorial__merge_1.mcfunction +3 -0
- package/dist/data/test/function/factorial__then_0.mcfunction +2 -0
- package/dist/data/test/function/fbm_1d.mcfunction +9 -0
- package/dist/data/test/function/fbm_1d__loop_body_1.mcfunction +33 -0
- package/dist/data/test/function/fbm_1d__loop_exit_2.mcfunction +5 -0
- package/dist/data/test/function/fbm_1d__loop_header_0.mcfunction +4 -0
- package/dist/data/test/function/fbm_1d__merge_4.mcfunction +6 -0
- package/dist/data/test/function/fbm_1d__then_3.mcfunction +2 -0
- package/dist/data/test/function/fbm_2d.mcfunction +10 -0
- package/dist/data/test/function/fbm_2d__loop_body_1.mcfunction +39 -0
- package/dist/data/test/function/fbm_2d__loop_exit_2.mcfunction +5 -0
- package/dist/data/test/function/fbm_2d__loop_header_0.mcfunction +4 -0
- package/dist/data/test/function/fbm_2d__merge_4.mcfunction +6 -0
- package/dist/data/test/function/fbm_2d__then_3.mcfunction +2 -0
- package/dist/data/test/function/fib.mcfunction +5 -0
- package/dist/data/test/function/fib__loop_body_7.mcfunction +8 -0
- package/dist/data/test/function/fib__loop_exit_8.mcfunction +1 -0
- package/dist/data/test/function/fib__loop_header_6.mcfunction +3 -0
- package/dist/data/test/function/fib__merge_1.mcfunction +4 -0
- package/dist/data/test/function/fib__merge_4.mcfunction +4 -0
- package/dist/data/test/function/fib__then_0.mcfunction +2 -0
- package/dist/data/test/function/fib__then_3.mcfunction +2 -0
- package/dist/data/test/function/format_time_h.mcfunction +5 -0
- package/dist/data/test/function/format_time_m.mcfunction +8 -0
- package/dist/data/test/function/format_time_s.mcfunction +8 -0
- package/dist/data/test/function/friction_decel.mcfunction +5 -0
- package/dist/data/test/function/friction_decel__merge_1.mcfunction +5 -0
- package/dist/data/test/function/friction_decel__merge_4.mcfunction +2 -0
- package/dist/data/test/function/friction_decel__then_0.mcfunction +3 -0
- package/dist/data/test/function/friction_decel__then_3.mcfunction +3 -0
- package/dist/data/test/function/gamma_int.mcfunction +5 -0
- package/dist/data/test/function/gamma_int__merge_1.mcfunction +6 -0
- package/dist/data/test/function/gamma_int__then_0.mcfunction +2 -0
- package/dist/data/test/function/gcd.mcfunction +7 -0
- package/dist/data/test/function/gcd__loop_body_5.mcfunction +5 -0
- package/dist/data/test/function/gcd__loop_exit_6.mcfunction +1 -0
- package/dist/data/test/function/gcd__loop_header_4.mcfunction +4 -0
- package/dist/data/test/function/gcd__merge_1.mcfunction +5 -0
- package/dist/data/test/function/gcd__merge_3.mcfunction +1 -0
- package/dist/data/test/function/gcd__then_0.mcfunction +4 -0
- package/dist/data/test/function/gcd__then_2.mcfunction +4 -0
- package/dist/data/test/function/gravity_fx.mcfunction +2 -0
- package/dist/data/test/function/hash_1d.mcfunction +15 -0
- package/dist/data/test/function/hash_1d_pos.mcfunction +10 -0
- package/dist/data/test/function/hash_1d_pos__merge_1.mcfunction +4 -0
- package/dist/data/test/function/hash_1d_pos__then_0.mcfunction +4 -0
- package/dist/data/test/function/hash_2d.mcfunction +11 -0
- package/dist/data/test/function/hash_2d_pos.mcfunction +12 -0
- package/dist/data/test/function/hash_2d_pos__merge_1.mcfunction +4 -0
- package/dist/data/test/function/hash_2d_pos__then_0.mcfunction +4 -0
- package/dist/data/test/function/hash_int.mcfunction +6 -0
- package/dist/data/test/function/hash_int__merge_1.mcfunction +14 -0
- package/dist/data/test/function/hash_int__merge_3.mcfunction +14 -0
- package/dist/data/test/function/hash_int__merge_5.mcfunction +1 -0
- package/dist/data/test/function/hash_int__then_0.mcfunction +4 -0
- package/dist/data/test/function/hash_int__then_2.mcfunction +4 -0
- package/dist/data/test/function/hash_int__then_4.mcfunction +4 -0
- package/dist/data/test/function/hsl_to_b.mcfunction +24 -0
- package/dist/data/test/function/hsl_to_b__merge_1.mcfunction +30 -0
- package/dist/data/test/function/hsl_to_b__merge_12.mcfunction +5 -0
- package/dist/data/test/function/hsl_to_b__merge_15.mcfunction +3 -0
- package/dist/data/test/function/hsl_to_b__merge_3.mcfunction +5 -0
- package/dist/data/test/function/hsl_to_b__merge_6.mcfunction +5 -0
- package/dist/data/test/function/hsl_to_b__merge_9.mcfunction +5 -0
- package/dist/data/test/function/hsl_to_b__then_0.mcfunction +4 -0
- package/dist/data/test/function/hsl_to_b__then_11.mcfunction +3 -0
- package/dist/data/test/function/hsl_to_b__then_14.mcfunction +3 -0
- package/dist/data/test/function/hsl_to_b__then_2.mcfunction +1 -0
- package/dist/data/test/function/hsl_to_b__then_5.mcfunction +1 -0
- package/dist/data/test/function/hsl_to_b__then_8.mcfunction +3 -0
- package/dist/data/test/function/hsl_to_g.mcfunction +24 -0
- package/dist/data/test/function/hsl_to_g__merge_1.mcfunction +30 -0
- package/dist/data/test/function/hsl_to_g__merge_12.mcfunction +5 -0
- package/dist/data/test/function/hsl_to_g__merge_15.mcfunction +1 -0
- package/dist/data/test/function/hsl_to_g__merge_3.mcfunction +5 -0
- package/dist/data/test/function/hsl_to_g__merge_6.mcfunction +5 -0
- package/dist/data/test/function/hsl_to_g__merge_9.mcfunction +5 -0
- package/dist/data/test/function/hsl_to_g__then_0.mcfunction +4 -0
- package/dist/data/test/function/hsl_to_g__then_11.mcfunction +3 -0
- package/dist/data/test/function/hsl_to_g__then_14.mcfunction +1 -0
- package/dist/data/test/function/hsl_to_g__then_2.mcfunction +3 -0
- package/dist/data/test/function/hsl_to_g__then_5.mcfunction +3 -0
- package/dist/data/test/function/hsl_to_g__then_8.mcfunction +3 -0
- package/dist/data/test/function/hsl_to_packed.mcfunction +24 -0
- package/dist/data/test/function/hsl_to_r.mcfunction +24 -0
- package/dist/data/test/function/hsl_to_r__merge_1.mcfunction +30 -0
- package/dist/data/test/function/hsl_to_r__merge_12.mcfunction +5 -0
- package/dist/data/test/function/hsl_to_r__merge_15.mcfunction +3 -0
- package/dist/data/test/function/hsl_to_r__merge_3.mcfunction +5 -0
- package/dist/data/test/function/hsl_to_r__merge_6.mcfunction +5 -0
- package/dist/data/test/function/hsl_to_r__merge_9.mcfunction +5 -0
- package/dist/data/test/function/hsl_to_r__then_0.mcfunction +4 -0
- package/dist/data/test/function/hsl_to_r__then_11.mcfunction +1 -0
- package/dist/data/test/function/hsl_to_r__then_14.mcfunction +3 -0
- package/dist/data/test/function/hsl_to_r__then_2.mcfunction +3 -0
- package/dist/data/test/function/hsl_to_r__then_5.mcfunction +3 -0
- package/dist/data/test/function/hsl_to_r__then_8.mcfunction +1 -0
- package/dist/data/test/function/impact_velocity.mcfunction +5 -0
- package/dist/data/test/function/impact_velocity__merge_1.mcfunction +16 -0
- package/dist/data/test/function/impact_velocity__then_0.mcfunction +2 -0
- package/dist/data/test/function/init_trig.mcfunction +1 -0
- package/dist/data/test/function/int32_to_bigint3_hi.mcfunction +5 -0
- package/dist/data/test/function/int32_to_bigint3_hi__merge_1.mcfunction +4 -0
- package/dist/data/test/function/int32_to_bigint3_hi__then_0.mcfunction +4 -0
- package/dist/data/test/function/int32_to_bigint3_lo.mcfunction +5 -0
- package/dist/data/test/function/int32_to_bigint3_lo__merge_1.mcfunction +4 -0
- package/dist/data/test/function/int32_to_bigint3_lo__then_0.mcfunction +4 -0
- package/dist/data/test/function/int32_to_bigint3_mid.mcfunction +5 -0
- package/dist/data/test/function/int32_to_bigint3_mid__merge_1.mcfunction +7 -0
- package/dist/data/test/function/int32_to_bigint3_mid__then_0.mcfunction +4 -0
- package/dist/data/test/function/is_grounded.mcfunction +5 -0
- package/dist/data/test/function/is_grounded__merge_1.mcfunction +2 -0
- package/dist/data/test/function/is_grounded__then_0.mcfunction +2 -0
- package/dist/data/test/function/is_prime.mcfunction +5 -0
- package/dist/data/test/function/is_prime__loop_body_10.mcfunction +6 -0
- package/dist/data/test/function/is_prime__loop_exit_11.mcfunction +2 -0
- package/dist/data/test/function/is_prime__loop_header_9.mcfunction +5 -0
- package/dist/data/test/function/is_prime__merge_1.mcfunction +4 -0
- package/dist/data/test/function/is_prime__merge_13.mcfunction +4 -0
- package/dist/data/test/function/is_prime__merge_4.mcfunction +7 -0
- package/dist/data/test/function/is_prime__merge_7.mcfunction +2 -0
- package/dist/data/test/function/is_prime__then_0.mcfunction +2 -0
- package/dist/data/test/function/is_prime__then_12.mcfunction +2 -0
- package/dist/data/test/function/is_prime__then_3.mcfunction +2 -0
- package/dist/data/test/function/is_prime__then_6.mcfunction +2 -0
- package/dist/data/test/function/isqrt.mcfunction +5 -0
- package/dist/data/test/function/isqrt__loop_body_10.mcfunction +8 -0
- package/dist/data/test/function/isqrt__loop_body_13.mcfunction +11 -0
- package/dist/data/test/function/isqrt__loop_body_7.mcfunction +8 -0
- package/dist/data/test/function/isqrt__loop_exit_11.mcfunction +2 -0
- package/dist/data/test/function/isqrt__loop_exit_14.mcfunction +1 -0
- package/dist/data/test/function/isqrt__loop_exit_8.mcfunction +9 -0
- package/dist/data/test/function/isqrt__loop_header_12.mcfunction +4 -0
- package/dist/data/test/function/isqrt__loop_header_6.mcfunction +4 -0
- package/dist/data/test/function/isqrt__loop_header_9.mcfunction +3 -0
- package/dist/data/test/function/isqrt__merge_1.mcfunction +4 -0
- package/dist/data/test/function/isqrt__merge_16.mcfunction +5 -0
- package/dist/data/test/function/isqrt__merge_4.mcfunction +3 -0
- package/dist/data/test/function/isqrt__then_0.mcfunction +2 -0
- package/dist/data/test/function/isqrt__then_15.mcfunction +1 -0
- package/dist/data/test/function/isqrt__then_3.mcfunction +2 -0
- package/dist/data/test/function/julia_iter.mcfunction +9 -0
- package/dist/data/test/function/julia_iter__loop_body_1.mcfunction +36 -0
- package/dist/data/test/function/julia_iter__loop_exit_2.mcfunction +1 -0
- package/dist/data/test/function/julia_iter__loop_header_0.mcfunction +3 -0
- package/dist/data/test/function/julia_iter__merge_4.mcfunction +4 -0
- package/dist/data/test/function/julia_iter__then_3.mcfunction +1 -0
- package/dist/data/test/function/lambda_demo.mcfunction +2 -0
- package/dist/data/test/function/lcm.mcfunction +11 -0
- package/dist/data/test/function/lcm__merge_1.mcfunction +5 -0
- package/dist/data/test/function/lcm__then_0.mcfunction +2 -0
- package/dist/data/test/function/length2d_fixed.mcfunction +15 -0
- package/dist/data/test/function/length3d_fixed.mcfunction +20 -0
- package/dist/data/test/function/lerp.mcfunction +13 -0
- package/dist/data/test/function/lerp2d_x.mcfunction +13 -0
- package/dist/data/test/function/lerp2d_y.mcfunction +13 -0
- package/dist/data/test/function/lerp_angle.mcfunction +7 -0
- package/dist/data/test/function/lerp_angle__loop_body_1.mcfunction +4 -0
- package/dist/data/test/function/lerp_angle__loop_body_4.mcfunction +4 -0
- package/dist/data/test/function/lerp_angle__loop_exit_2.mcfunction +1 -0
- package/dist/data/test/function/lerp_angle__loop_exit_5.mcfunction +8 -0
- package/dist/data/test/function/lerp_angle__loop_header_0.mcfunction +4 -0
- package/dist/data/test/function/lerp_angle__loop_header_3.mcfunction +3 -0
- package/dist/data/test/function/list_avg.mcfunction +9 -0
- package/dist/data/test/function/list_clamp_all.mcfunction +6 -0
- package/dist/data/test/function/list_clamp_all__loop_body_1.mcfunction +4 -0
- package/dist/data/test/function/list_clamp_all__loop_exit_2.mcfunction +1 -0
- package/dist/data/test/function/list_clamp_all__loop_header_0.mcfunction +4 -0
- package/dist/data/test/function/list_clamp_all__merge_4.mcfunction +4 -0
- package/dist/data/test/function/list_clamp_all__merge_6.mcfunction +4 -0
- package/dist/data/test/function/list_clamp_all__then_3.mcfunction +1 -0
- package/dist/data/test/function/list_clamp_all__then_5.mcfunction +1 -0
- package/dist/data/test/function/list_contains.mcfunction +5 -0
- package/dist/data/test/function/list_contains__loop_body_1.mcfunction +4 -0
- package/dist/data/test/function/list_contains__loop_exit_2.mcfunction +2 -0
- package/dist/data/test/function/list_contains__loop_header_0.mcfunction +4 -0
- package/dist/data/test/function/list_contains__merge_4.mcfunction +4 -0
- package/dist/data/test/function/list_contains__then_3.mcfunction +2 -0
- package/dist/data/test/function/list_count_if_gt.mcfunction +6 -0
- package/dist/data/test/function/list_count_if_gt__loop_body_1.mcfunction +4 -0
- package/dist/data/test/function/list_count_if_gt__loop_exit_2.mcfunction +1 -0
- package/dist/data/test/function/list_count_if_gt__loop_header_0.mcfunction +4 -0
- package/dist/data/test/function/list_count_if_gt__merge_4.mcfunction +4 -0
- package/dist/data/test/function/list_count_if_gt__then_3.mcfunction +4 -0
- package/dist/data/test/function/list_fill.mcfunction +3 -0
- package/dist/data/test/function/list_fill__loop_body_1.mcfunction +4 -0
- package/dist/data/test/function/list_fill__loop_exit_2.mcfunction +1 -0
- package/dist/data/test/function/list_fill__loop_header_0.mcfunction +4 -0
- package/dist/data/test/function/list_index_of.mcfunction +5 -0
- package/dist/data/test/function/list_index_of__loop_body_1.mcfunction +4 -0
- package/dist/data/test/function/list_index_of__loop_exit_2.mcfunction +2 -0
- package/dist/data/test/function/list_index_of__loop_header_0.mcfunction +4 -0
- package/dist/data/test/function/list_index_of__merge_4.mcfunction +4 -0
- package/dist/data/test/function/list_index_of__then_3.mcfunction +1 -0
- package/dist/data/test/function/list_max.mcfunction +5 -0
- package/dist/data/test/function/list_max3.mcfunction +8 -0
- package/dist/data/test/function/list_max3__merge_1.mcfunction +4 -0
- package/dist/data/test/function/list_max3__merge_3.mcfunction +1 -0
- package/dist/data/test/function/list_max3__then_0.mcfunction +2 -0
- package/dist/data/test/function/list_max3__then_2.mcfunction +2 -0
- package/dist/data/test/function/list_max5.mcfunction +10 -0
- package/dist/data/test/function/list_max5__merge_1.mcfunction +4 -0
- package/dist/data/test/function/list_max5__merge_3.mcfunction +4 -0
- package/dist/data/test/function/list_max5__merge_5.mcfunction +4 -0
- package/dist/data/test/function/list_max5__merge_7.mcfunction +1 -0
- package/dist/data/test/function/list_max5__then_0.mcfunction +2 -0
- package/dist/data/test/function/list_max5__then_2.mcfunction +2 -0
- package/dist/data/test/function/list_max5__then_4.mcfunction +2 -0
- package/dist/data/test/function/list_max5__then_6.mcfunction +2 -0
- package/dist/data/test/function/list_max__loop_body_1.mcfunction +4 -0
- package/dist/data/test/function/list_max__loop_exit_2.mcfunction +1 -0
- package/dist/data/test/function/list_max__loop_header_0.mcfunction +4 -0
- package/dist/data/test/function/list_max__merge_4.mcfunction +4 -0
- package/dist/data/test/function/list_max__then_3.mcfunction +2 -0
- package/dist/data/test/function/list_min.mcfunction +5 -0
- package/dist/data/test/function/list_min3.mcfunction +8 -0
- package/dist/data/test/function/list_min3__merge_1.mcfunction +4 -0
- package/dist/data/test/function/list_min3__merge_3.mcfunction +1 -0
- package/dist/data/test/function/list_min3__then_0.mcfunction +2 -0
- package/dist/data/test/function/list_min3__then_2.mcfunction +2 -0
- package/dist/data/test/function/list_min5.mcfunction +10 -0
- package/dist/data/test/function/list_min5__merge_1.mcfunction +4 -0
- package/dist/data/test/function/list_min5__merge_3.mcfunction +4 -0
- package/dist/data/test/function/list_min5__merge_5.mcfunction +4 -0
- package/dist/data/test/function/list_min5__merge_7.mcfunction +1 -0
- package/dist/data/test/function/list_min5__then_0.mcfunction +2 -0
- package/dist/data/test/function/list_min5__then_2.mcfunction +2 -0
- package/dist/data/test/function/list_min5__then_4.mcfunction +2 -0
- package/dist/data/test/function/list_min5__then_6.mcfunction +2 -0
- package/dist/data/test/function/list_min__loop_body_1.mcfunction +4 -0
- package/dist/data/test/function/list_min__loop_exit_2.mcfunction +1 -0
- package/dist/data/test/function/list_min__loop_header_0.mcfunction +4 -0
- package/dist/data/test/function/list_min__merge_4.mcfunction +4 -0
- package/dist/data/test/function/list_min__then_3.mcfunction +2 -0
- package/dist/data/test/function/list_reverse.mcfunction +6 -0
- package/dist/data/test/function/list_reverse__loop_body_1.mcfunction +9 -0
- package/dist/data/test/function/list_reverse__loop_exit_2.mcfunction +1 -0
- package/dist/data/test/function/list_reverse__loop_header_0.mcfunction +4 -0
- package/dist/data/test/function/list_sort_asc.mcfunction +4 -0
- package/dist/data/test/function/list_sort_asc__loop_body_1.mcfunction +2 -0
- package/dist/data/test/function/list_sort_asc__loop_body_4.mcfunction +4 -0
- package/dist/data/test/function/list_sort_asc__loop_exit_2.mcfunction +1 -0
- package/dist/data/test/function/list_sort_asc__loop_exit_5.mcfunction +4 -0
- package/dist/data/test/function/list_sort_asc__loop_header_0.mcfunction +6 -0
- package/dist/data/test/function/list_sort_asc__loop_header_3.mcfunction +8 -0
- package/dist/data/test/function/list_sort_asc__merge_7.mcfunction +4 -0
- package/dist/data/test/function/list_sort_asc__then_6.mcfunction +1 -0
- package/dist/data/test/function/list_sort_desc.mcfunction +4 -0
- package/dist/data/test/function/list_sort_desc__loop_body_1.mcfunction +2 -0
- package/dist/data/test/function/list_sort_desc__loop_body_4.mcfunction +4 -0
- package/dist/data/test/function/list_sort_desc__loop_exit_2.mcfunction +1 -0
- package/dist/data/test/function/list_sort_desc__loop_exit_5.mcfunction +4 -0
- package/dist/data/test/function/list_sort_desc__loop_header_0.mcfunction +6 -0
- package/dist/data/test/function/list_sort_desc__loop_header_3.mcfunction +8 -0
- package/dist/data/test/function/list_sort_desc__merge_7.mcfunction +4 -0
- package/dist/data/test/function/list_sort_desc__then_6.mcfunction +1 -0
- package/dist/data/test/function/list_sum.mcfunction +5 -0
- package/dist/data/test/function/list_sum3.mcfunction +8 -0
- package/dist/data/test/function/list_sum4.mcfunction +11 -0
- package/dist/data/test/function/list_sum5.mcfunction +14 -0
- package/dist/data/test/function/list_sum__loop_body_1.mcfunction +7 -0
- package/dist/data/test/function/list_sum__loop_exit_2.mcfunction +1 -0
- package/dist/data/test/function/list_sum__loop_header_0.mcfunction +4 -0
- package/dist/data/test/function/ln.mcfunction +9 -0
- package/dist/data/test/function/ln__loop_body_1.mcfunction +8 -0
- package/dist/data/test/function/ln__loop_body_4.mcfunction +8 -0
- package/dist/data/test/function/ln__loop_exit_2.mcfunction +1 -0
- package/dist/data/test/function/ln__loop_exit_5.mcfunction +37 -0
- package/dist/data/test/function/ln__loop_header_0.mcfunction +3 -0
- package/dist/data/test/function/ln__loop_header_3.mcfunction +6 -0
- package/dist/data/test/function/load.mcfunction +1 -0
- package/dist/data/test/function/log10_fx.mcfunction +11 -0
- package/dist/data/test/function/log2_fx.mcfunction +11 -0
- package/dist/data/test/function/log2_int.mcfunction +5 -0
- package/dist/data/test/function/log2_int__loop_body_4.mcfunction +8 -0
- package/dist/data/test/function/log2_int__loop_exit_5.mcfunction +1 -0
- package/dist/data/test/function/log2_int__loop_header_3.mcfunction +4 -0
- package/dist/data/test/function/log2_int__merge_1.mcfunction +3 -0
- package/dist/data/test/function/log2_int__then_0.mcfunction +2 -0
- package/dist/data/test/function/loga_fx.mcfunction +10 -0
- package/dist/data/test/function/loga_fx__merge_1.mcfunction +9 -0
- package/dist/data/test/function/loga_fx__then_0.mcfunction +2 -0
- package/dist/data/test/function/mandelbrot_iter.mcfunction +7 -0
- package/dist/data/test/function/mandelbrot_iter__loop_body_1.mcfunction +36 -0
- package/dist/data/test/function/mandelbrot_iter__loop_exit_2.mcfunction +1 -0
- package/dist/data/test/function/mandelbrot_iter__loop_header_0.mcfunction +3 -0
- package/dist/data/test/function/mandelbrot_iter__merge_4.mcfunction +4 -0
- package/dist/data/test/function/mandelbrot_iter__then_3.mcfunction +1 -0
- package/dist/data/test/function/manhattan.mcfunction +14 -0
- package/dist/data/test/function/manhattan3d.mcfunction +19 -0
- package/dist/data/test/function/manhattan3d__merge_1.mcfunction +4 -0
- package/dist/data/test/function/manhattan3d__merge_3.mcfunction +4 -0
- package/dist/data/test/function/manhattan3d__merge_5.mcfunction +5 -0
- package/dist/data/test/function/manhattan3d__then_0.mcfunction +4 -0
- package/dist/data/test/function/manhattan3d__then_2.mcfunction +4 -0
- package/dist/data/test/function/manhattan3d__then_4.mcfunction +4 -0
- package/dist/data/test/function/manhattan__merge_1.mcfunction +4 -0
- package/dist/data/test/function/manhattan__merge_3.mcfunction +3 -0
- package/dist/data/test/function/manhattan__then_0.mcfunction +4 -0
- package/dist/data/test/function/manhattan__then_2.mcfunction +4 -0
- package/dist/data/test/function/map.mcfunction +12 -0
- package/dist/data/test/function/map__merge_1.mcfunction +11 -0
- package/dist/data/test/function/map__then_0.mcfunction +1 -0
- package/dist/data/test/function/mc_day_angle.mcfunction +16 -0
- package/dist/data/test/function/midpoint.mcfunction +8 -0
- package/dist/data/test/function/mod_pow.mcfunction +7 -0
- package/dist/data/test/function/mod_pow__loop_body_6.mcfunction +7 -0
- package/dist/data/test/function/mod_pow__loop_exit_7.mcfunction +1 -0
- package/dist/data/test/function/mod_pow__loop_header_5.mcfunction +4 -0
- package/dist/data/test/function/mod_pow__merge_1.mcfunction +8 -0
- package/dist/data/test/function/mod_pow__merge_4.mcfunction +2 -0
- package/dist/data/test/function/mod_pow__merge_9.mcfunction +10 -0
- package/dist/data/test/function/mod_pow__then_0.mcfunction +2 -0
- package/dist/data/test/function/mod_pow__then_3.mcfunction +4 -0
- package/dist/data/test/function/mod_pow__then_8.mcfunction +6 -0
- package/dist/data/test/function/mulfix.mcfunction +8 -0
- package/dist/data/test/function/neg2d_x.mcfunction +4 -0
- package/dist/data/test/function/neg2d_y.mcfunction +4 -0
- package/dist/data/test/function/neg3d_x.mcfunction +4 -0
- package/dist/data/test/function/neg3d_y.mcfunction +4 -0
- package/dist/data/test/function/neg3d_z.mcfunction +4 -0
- package/dist/data/test/function/newton_sqrt.mcfunction +5 -0
- package/dist/data/test/function/newton_sqrt__loop_body_7.mcfunction +10 -0
- package/dist/data/test/function/newton_sqrt__loop_exit_8.mcfunction +1 -0
- package/dist/data/test/function/newton_sqrt__loop_header_6.mcfunction +3 -0
- package/dist/data/test/function/newton_sqrt__merge_1.mcfunction +4 -0
- package/dist/data/test/function/newton_sqrt__merge_4.mcfunction +6 -0
- package/dist/data/test/function/newton_sqrt__then_0.mcfunction +2 -0
- package/dist/data/test/function/newton_sqrt__then_3.mcfunction +2 -0
- package/dist/data/test/function/next_lcg.mcfunction +7 -0
- package/dist/data/test/function/noise1d.mcfunction +13 -0
- package/dist/data/test/function/noise1d__merge_1.mcfunction +20 -0
- package/dist/data/test/function/noise1d__merge_3.mcfunction +4 -0
- package/dist/data/test/function/noise1d__merge_5.mcfunction +11 -0
- package/dist/data/test/function/noise1d__then_0.mcfunction +7 -0
- package/dist/data/test/function/noise1d__then_2.mcfunction +4 -0
- package/dist/data/test/function/noise1d__then_4.mcfunction +4 -0
- package/dist/data/test/function/normal_approx12.mcfunction +16 -0
- package/dist/data/test/function/normal_approx12__merge_1.mcfunction +18 -0
- package/dist/data/test/function/normal_approx12__merge_11.mcfunction +18 -0
- package/dist/data/test/function/normal_approx12__merge_13.mcfunction +18 -0
- package/dist/data/test/function/normal_approx12__merge_15.mcfunction +18 -0
- package/dist/data/test/function/normal_approx12__merge_17.mcfunction +18 -0
- package/dist/data/test/function/normal_approx12__merge_19.mcfunction +18 -0
- package/dist/data/test/function/normal_approx12__merge_21.mcfunction +18 -0
- package/dist/data/test/function/normal_approx12__merge_23.mcfunction +9 -0
- package/dist/data/test/function/normal_approx12__merge_3.mcfunction +18 -0
- package/dist/data/test/function/normal_approx12__merge_5.mcfunction +18 -0
- package/dist/data/test/function/normal_approx12__merge_7.mcfunction +18 -0
- package/dist/data/test/function/normal_approx12__merge_9.mcfunction +18 -0
- package/dist/data/test/function/normal_approx12__then_0.mcfunction +4 -0
- package/dist/data/test/function/normal_approx12__then_10.mcfunction +4 -0
- package/dist/data/test/function/normal_approx12__then_12.mcfunction +4 -0
- package/dist/data/test/function/normal_approx12__then_14.mcfunction +4 -0
- package/dist/data/test/function/normal_approx12__then_16.mcfunction +4 -0
- package/dist/data/test/function/normal_approx12__then_18.mcfunction +4 -0
- package/dist/data/test/function/normal_approx12__then_2.mcfunction +4 -0
- package/dist/data/test/function/normal_approx12__then_20.mcfunction +4 -0
- package/dist/data/test/function/normal_approx12__then_22.mcfunction +4 -0
- package/dist/data/test/function/normal_approx12__then_4.mcfunction +4 -0
- package/dist/data/test/function/normal_approx12__then_6.mcfunction +4 -0
- package/dist/data/test/function/normal_approx12__then_8.mcfunction +4 -0
- package/dist/data/test/function/normalize2d_x.mcfunction +11 -0
- package/dist/data/test/function/normalize2d_x__merge_1.mcfunction +6 -0
- package/dist/data/test/function/normalize2d_x__then_0.mcfunction +2 -0
- package/dist/data/test/function/normalize2d_y.mcfunction +11 -0
- package/dist/data/test/function/normalize2d_y__merge_1.mcfunction +6 -0
- package/dist/data/test/function/normalize2d_y__then_0.mcfunction +2 -0
- package/dist/data/test/function/parabola_land_t.mcfunction +7 -0
- package/dist/data/test/function/parabola_x.mcfunction +8 -0
- package/dist/data/test/function/parabola_y.mcfunction +17 -0
- package/dist/data/test/function/pcg_next_hi.mcfunction +8 -0
- package/dist/data/test/function/pcg_next_lo.mcfunction +7 -0
- package/dist/data/test/function/pcg_output.mcfunction +15 -0
- package/dist/data/test/function/pcg_output__merge_1.mcfunction +1 -0
- package/dist/data/test/function/pcg_output__then_0.mcfunction +4 -0
- package/dist/data/test/function/popcount.mcfunction +5 -0
- package/dist/data/test/function/popcount__loop_body_1.mcfunction +8 -0
- package/dist/data/test/function/popcount__loop_exit_2.mcfunction +1 -0
- package/dist/data/test/function/popcount__loop_header_0.mcfunction +5 -0
- package/dist/data/test/function/popcount__merge_4.mcfunction +8 -0
- package/dist/data/test/function/popcount__then_3.mcfunction +4 -0
- package/dist/data/test/function/pow_int.mcfunction +6 -0
- package/dist/data/test/function/pow_int__loop_body_4.mcfunction +7 -0
- package/dist/data/test/function/pow_int__loop_exit_5.mcfunction +1 -0
- package/dist/data/test/function/pow_int__loop_header_3.mcfunction +4 -0
- package/dist/data/test/function/pow_int__merge_1.mcfunction +4 -0
- package/dist/data/test/function/pow_int__merge_7.mcfunction +8 -0
- package/dist/data/test/function/pow_int__then_0.mcfunction +2 -0
- package/dist/data/test/function/pow_int__then_6.mcfunction +4 -0
- package/dist/data/test/function/projectile_land_t.mcfunction +5 -0
- package/dist/data/test/function/projectile_land_t__merge_1.mcfunction +7 -0
- package/dist/data/test/function/projectile_land_t__then_0.mcfunction +2 -0
- package/dist/data/test/function/projectile_max_height.mcfunction +10 -0
- package/dist/data/test/function/projectile_vy.mcfunction +9 -0
- package/dist/data/test/function/projectile_x.mcfunction +8 -0
- package/dist/data/test/function/projectile_y.mcfunction +19 -0
- package/dist/data/test/function/ptimer/new.mcfunction +3 -0
- package/dist/data/test/function/ptimer/reset.mcfunction +1 -0
- package/dist/data/test/function/ptimer/tick.mcfunction +8 -0
- package/dist/data/test/function/ptimer/tick__merge_1.mcfunction +2 -0
- package/dist/data/test/function/ptimer/tick__then_0.mcfunction +3 -0
- package/dist/data/test/function/quadratic_disc.mcfunction +12 -0
- package/dist/data/test/function/quadratic_x1.mcfunction +7 -0
- package/dist/data/test/function/quadratic_x1__merge_1.mcfunction +13 -0
- package/dist/data/test/function/quadratic_x1__merge_4.mcfunction +15 -0
- package/dist/data/test/function/quadratic_x1__then_0.mcfunction +2 -0
- package/dist/data/test/function/quadratic_x1__then_3.mcfunction +2 -0
- package/dist/data/test/function/quadratic_x2.mcfunction +7 -0
- package/dist/data/test/function/quadratic_x2__merge_1.mcfunction +13 -0
- package/dist/data/test/function/quadratic_x2__merge_4.mcfunction +15 -0
- package/dist/data/test/function/quadratic_x2__then_0.mcfunction +2 -0
- package/dist/data/test/function/quadratic_x2__then_3.mcfunction +2 -0
- package/dist/data/test/function/quat_cos_half.mcfunction +8 -0
- package/dist/data/test/function/quat_sin_half.mcfunction +8 -0
- package/dist/data/test/function/random_bool.mcfunction +7 -0
- package/dist/data/test/function/random_bool__merge_1.mcfunction +4 -0
- package/dist/data/test/function/random_bool__then_0.mcfunction +4 -0
- package/dist/data/test/function/random_range.mcfunction +9 -0
- package/dist/data/test/function/random_range__merge_1.mcfunction +7 -0
- package/dist/data/test/function/random_range__then_0.mcfunction +4 -0
- package/dist/data/test/function/reverse_int.mcfunction +7 -0
- package/dist/data/test/function/reverse_int__loop_body_3.mcfunction +14 -0
- package/dist/data/test/function/reverse_int__loop_exit_4.mcfunction +4 -0
- package/dist/data/test/function/reverse_int__loop_header_2.mcfunction +4 -0
- package/dist/data/test/function/reverse_int__merge_1.mcfunction +2 -0
- package/dist/data/test/function/reverse_int__merge_6.mcfunction +1 -0
- package/dist/data/test/function/reverse_int__then_0.mcfunction +5 -0
- package/dist/data/test/function/reverse_int__then_5.mcfunction +3 -0
- package/dist/data/test/function/rgb_b.mcfunction +5 -0
- package/dist/data/test/function/rgb_g.mcfunction +8 -0
- package/dist/data/test/function/rgb_lerp.mcfunction +71 -0
- package/dist/data/test/function/rgb_pack.mcfunction +14 -0
- package/dist/data/test/function/rgb_r.mcfunction +8 -0
- package/dist/data/test/function/rgb_to_h.mcfunction +8 -0
- package/dist/data/test/function/rgb_to_h__merge_1.mcfunction +4 -0
- package/dist/data/test/function/rgb_to_h__merge_12.mcfunction +4 -0
- package/dist/data/test/function/rgb_to_h__merge_14.mcfunction +1 -0
- package/dist/data/test/function/rgb_to_h__merge_17.mcfunction +9 -0
- package/dist/data/test/function/rgb_to_h__merge_3.mcfunction +5 -0
- package/dist/data/test/function/rgb_to_h__merge_5.mcfunction +4 -0
- package/dist/data/test/function/rgb_to_h__merge_7.mcfunction +8 -0
- package/dist/data/test/function/rgb_to_h__merge_9.mcfunction +4 -0
- package/dist/data/test/function/rgb_to_h__then_0.mcfunction +2 -0
- package/dist/data/test/function/rgb_to_h__then_11.mcfunction +12 -0
- package/dist/data/test/function/rgb_to_h__then_13.mcfunction +4 -0
- package/dist/data/test/function/rgb_to_h__then_16.mcfunction +9 -0
- package/dist/data/test/function/rgb_to_h__then_2.mcfunction +2 -0
- package/dist/data/test/function/rgb_to_h__then_4.mcfunction +2 -0
- package/dist/data/test/function/rgb_to_h__then_6.mcfunction +2 -0
- package/dist/data/test/function/rgb_to_h__then_8.mcfunction +2 -0
- package/dist/data/test/function/rgb_to_l.mcfunction +8 -0
- package/dist/data/test/function/rgb_to_l__merge_1.mcfunction +4 -0
- package/dist/data/test/function/rgb_to_l__merge_3.mcfunction +5 -0
- package/dist/data/test/function/rgb_to_l__merge_5.mcfunction +4 -0
- package/dist/data/test/function/rgb_to_l__merge_7.mcfunction +9 -0
- package/dist/data/test/function/rgb_to_l__then_0.mcfunction +2 -0
- package/dist/data/test/function/rgb_to_l__then_2.mcfunction +2 -0
- package/dist/data/test/function/rgb_to_l__then_4.mcfunction +2 -0
- package/dist/data/test/function/rgb_to_l__then_6.mcfunction +2 -0
- package/dist/data/test/function/rgb_to_s.mcfunction +8 -0
- package/dist/data/test/function/rgb_to_s__merge_1.mcfunction +4 -0
- package/dist/data/test/function/rgb_to_s__merge_12.mcfunction +10 -0
- package/dist/data/test/function/rgb_to_s__merge_3.mcfunction +5 -0
- package/dist/data/test/function/rgb_to_s__merge_5.mcfunction +4 -0
- package/dist/data/test/function/rgb_to_s__merge_7.mcfunction +8 -0
- package/dist/data/test/function/rgb_to_s__merge_9.mcfunction +13 -0
- package/dist/data/test/function/rgb_to_s__then_0.mcfunction +2 -0
- package/dist/data/test/function/rgb_to_s__then_11.mcfunction +8 -0
- package/dist/data/test/function/rgb_to_s__then_2.mcfunction +2 -0
- package/dist/data/test/function/rgb_to_s__then_4.mcfunction +2 -0
- package/dist/data/test/function/rgb_to_s__then_6.mcfunction +2 -0
- package/dist/data/test/function/rgb_to_s__then_8.mcfunction +2 -0
- package/dist/data/test/function/rotate2d_x.mcfunction +20 -0
- package/dist/data/test/function/rotate2d_y.mcfunction +20 -0
- package/dist/data/test/function/rotate_x_y.mcfunction +28 -0
- package/dist/data/test/function/rotate_x_z.mcfunction +28 -0
- package/dist/data/test/function/rotate_y_x.mcfunction +28 -0
- package/dist/data/test/function/rotate_y_z.mcfunction +30 -0
- package/dist/data/test/function/scale2d_x.mcfunction +8 -0
- package/dist/data/test/function/scale2d_y.mcfunction +8 -0
- package/dist/data/test/function/scale3d_x.mcfunction +8 -0
- package/dist/data/test/function/scale3d_y.mcfunction +8 -0
- package/dist/data/test/function/scale3d_z.mcfunction +8 -0
- package/dist/data/test/function/scale_x.mcfunction +8 -0
- package/dist/data/test/function/scale_y.mcfunction +8 -0
- package/dist/data/test/function/scale_z.mcfunction +8 -0
- package/dist/data/test/function/seconds_to_ticks.mcfunction +5 -0
- package/dist/data/test/function/showcase_load.mcfunction +4 -0
- package/dist/data/test/function/showcase_tick.mcfunction +1 -0
- package/dist/data/test/function/sign.mcfunction +5 -0
- package/dist/data/test/function/sign__merge_1.mcfunction +4 -0
- package/dist/data/test/function/sign__merge_4.mcfunction +2 -0
- package/dist/data/test/function/sign__then_0.mcfunction +2 -0
- package/dist/data/test/function/sign__then_3.mcfunction +2 -0
- package/dist/data/test/function/sin_fixed.mcfunction +9 -0
- package/dist/data/test/function/sin_fixed__merge_1.mcfunction +4 -0
- package/dist/data/test/function/sin_fixed__merge_3.mcfunction +4 -0
- package/dist/data/test/function/sin_fixed__merge_6.mcfunction +4 -0
- package/dist/data/test/function/sin_fixed__merge_9.mcfunction +10 -0
- package/dist/data/test/function/sin_fixed__then_0.mcfunction +4 -0
- package/dist/data/test/function/sin_fixed__then_2.mcfunction +6 -0
- package/dist/data/test/function/sin_fixed__then_5.mcfunction +8 -0
- package/dist/data/test/function/sin_fixed__then_8.mcfunction +10 -0
- package/dist/data/test/function/sin_hp.mcfunction +6 -0
- package/dist/data/test/function/smootherstep.mcfunction +10 -0
- package/dist/data/test/function/smootherstep__merge_1.mcfunction +12 -0
- package/dist/data/test/function/smootherstep__merge_4.mcfunction +4 -0
- package/dist/data/test/function/smootherstep__merge_6.mcfunction +27 -0
- package/dist/data/test/function/smootherstep__then_0.mcfunction +2 -0
- package/dist/data/test/function/smootherstep__then_3.mcfunction +2 -0
- package/dist/data/test/function/smootherstep__then_5.mcfunction +2 -0
- package/dist/data/test/function/smoothstep.mcfunction +10 -0
- package/dist/data/test/function/smoothstep__merge_1.mcfunction +12 -0
- package/dist/data/test/function/smoothstep__merge_4.mcfunction +4 -0
- package/dist/data/test/function/smoothstep__merge_6.mcfunction +15 -0
- package/dist/data/test/function/smoothstep__then_0.mcfunction +2 -0
- package/dist/data/test/function/smoothstep__then_3.mcfunction +2 -0
- package/dist/data/test/function/smoothstep__then_5.mcfunction +2 -0
- package/dist/data/test/function/solve2x2_x.mcfunction +17 -0
- package/dist/data/test/function/solve2x2_x__merge_1.mcfunction +12 -0
- package/dist/data/test/function/solve2x2_x__then_0.mcfunction +2 -0
- package/dist/data/test/function/solve2x2_y.mcfunction +17 -0
- package/dist/data/test/function/solve2x2_y__merge_1.mcfunction +12 -0
- package/dist/data/test/function/solve2x2_y__then_0.mcfunction +2 -0
- package/dist/data/test/function/sort2_max.mcfunction +6 -0
- package/dist/data/test/function/sort2_max__merge_1.mcfunction +1 -0
- package/dist/data/test/function/sort2_max__then_0.mcfunction +1 -0
- package/dist/data/test/function/sort2_min.mcfunction +6 -0
- package/dist/data/test/function/sort2_min__merge_1.mcfunction +1 -0
- package/dist/data/test/function/sort2_min__then_0.mcfunction +1 -0
- package/dist/data/test/function/sort3.mcfunction +11 -0
- package/dist/data/test/function/sort3__merge_1.mcfunction +4 -0
- package/dist/data/test/function/sort3__merge_10.mcfunction +1 -0
- package/dist/data/test/function/sort3__merge_3.mcfunction +4 -0
- package/dist/data/test/function/sort3__merge_5.mcfunction +5 -0
- package/dist/data/test/function/sort3__merge_7.mcfunction +5 -0
- package/dist/data/test/function/sort3__then_0.mcfunction +4 -0
- package/dist/data/test/function/sort3__then_2.mcfunction +4 -0
- package/dist/data/test/function/sort3__then_4.mcfunction +4 -0
- package/dist/data/test/function/sort3__then_6.mcfunction +1 -0
- package/dist/data/test/function/sort3__then_9.mcfunction +1 -0
- package/dist/data/test/function/sort4.mcfunction +13 -0
- package/dist/data/test/function/sort4__merge_1.mcfunction +4 -0
- package/dist/data/test/function/sort4__merge_11.mcfunction +5 -0
- package/dist/data/test/function/sort4__merge_14.mcfunction +5 -0
- package/dist/data/test/function/sort4__merge_17.mcfunction +1 -0
- package/dist/data/test/function/sort4__merge_3.mcfunction +4 -0
- package/dist/data/test/function/sort4__merge_5.mcfunction +4 -0
- package/dist/data/test/function/sort4__merge_7.mcfunction +4 -0
- package/dist/data/test/function/sort4__merge_9.mcfunction +5 -0
- package/dist/data/test/function/sort4__then_0.mcfunction +4 -0
- package/dist/data/test/function/sort4__then_10.mcfunction +1 -0
- package/dist/data/test/function/sort4__then_13.mcfunction +1 -0
- package/dist/data/test/function/sort4__then_16.mcfunction +1 -0
- package/dist/data/test/function/sort4__then_2.mcfunction +4 -0
- package/dist/data/test/function/sort4__then_4.mcfunction +4 -0
- package/dist/data/test/function/sort4__then_6.mcfunction +4 -0
- package/dist/data/test/function/sort4__then_8.mcfunction +4 -0
- package/dist/data/test/function/sort5.mcfunction +15 -0
- package/dist/data/test/function/sort5__merge_1.mcfunction +4 -0
- package/dist/data/test/function/sort5__merge_11.mcfunction +4 -0
- package/dist/data/test/function/sort5__merge_13.mcfunction +4 -0
- package/dist/data/test/function/sort5__merge_15.mcfunction +4 -0
- package/dist/data/test/function/sort5__merge_17.mcfunction +5 -0
- package/dist/data/test/function/sort5__merge_19.mcfunction +5 -0
- package/dist/data/test/function/sort5__merge_22.mcfunction +5 -0
- package/dist/data/test/function/sort5__merge_25.mcfunction +5 -0
- package/dist/data/test/function/sort5__merge_28.mcfunction +1 -0
- package/dist/data/test/function/sort5__merge_3.mcfunction +4 -0
- package/dist/data/test/function/sort5__merge_5.mcfunction +4 -0
- package/dist/data/test/function/sort5__merge_7.mcfunction +4 -0
- package/dist/data/test/function/sort5__merge_9.mcfunction +4 -0
- package/dist/data/test/function/sort5__then_0.mcfunction +4 -0
- package/dist/data/test/function/sort5__then_10.mcfunction +4 -0
- package/dist/data/test/function/sort5__then_12.mcfunction +4 -0
- package/dist/data/test/function/sort5__then_14.mcfunction +4 -0
- package/dist/data/test/function/sort5__then_16.mcfunction +4 -0
- package/dist/data/test/function/sort5__then_18.mcfunction +1 -0
- package/dist/data/test/function/sort5__then_2.mcfunction +4 -0
- package/dist/data/test/function/sort5__then_21.mcfunction +1 -0
- package/dist/data/test/function/sort5__then_24.mcfunction +1 -0
- package/dist/data/test/function/sort5__then_27.mcfunction +1 -0
- package/dist/data/test/function/sort5__then_4.mcfunction +4 -0
- package/dist/data/test/function/sort5__then_6.mcfunction +4 -0
- package/dist/data/test/function/sort5__then_8.mcfunction +4 -0
- package/dist/data/test/function/sphere_contains.mcfunction +29 -0
- package/dist/data/test/function/sphere_contains__merge_1.mcfunction +2 -0
- package/dist/data/test/function/sphere_contains__then_0.mcfunction +2 -0
- package/dist/data/test/function/spiral_ring.mcfunction +5 -0
- package/dist/data/test/function/spiral_ring__merge_1.mcfunction +13 -0
- package/dist/data/test/function/spiral_ring__then_0.mcfunction +2 -0
- package/dist/data/test/function/spring_force.mcfunction +11 -0
- package/dist/data/test/function/spring_update_v.mcfunction +18 -0
- package/dist/data/test/function/sqrt_fixed.mcfunction +8 -0
- package/dist/data/test/function/sqrt_fx.mcfunction +11 -0
- package/dist/data/test/function/start.mcfunction +8 -0
- package/dist/data/test/function/stop.mcfunction +2 -0
- package/dist/data/test/function/stop__foreach_t0.mcfunction +1 -0
- package/dist/data/test/function/sub2d_x.mcfunction +5 -0
- package/dist/data/test/function/sub2d_y.mcfunction +5 -0
- package/dist/data/test/function/sub3d_x.mcfunction +5 -0
- package/dist/data/test/function/sub3d_y.mcfunction +5 -0
- package/dist/data/test/function/sub3d_z.mcfunction +5 -0
- package/dist/data/test/function/terrain_height.mcfunction +24 -0
- package/dist/data/test/function/tick_to_ms.mcfunction +5 -0
- package/dist/data/test/function/tick_to_seconds.mcfunction +5 -0
- package/dist/data/test/function/tile_center.mcfunction +10 -0
- package/dist/data/test/function/tile_of.mcfunction +7 -0
- package/dist/data/test/function/tile_of__merge_1.mcfunction +7 -0
- package/dist/data/test/function/tile_of__then_0.mcfunction +3 -0
- package/dist/data/test/function/timer/done.mcfunction +5 -0
- package/dist/data/test/function/timer/elapsed.mcfunction +2 -0
- package/dist/data/test/function/timer/new.mcfunction +5 -0
- package/dist/data/test/function/timer/pause.mcfunction +1 -0
- package/dist/data/test/function/timer/remaining.mcfunction +10 -0
- package/dist/data/test/function/timer/remaining__merge_1.mcfunction +2 -0
- package/dist/data/test/function/timer/remaining__then_0.mcfunction +1 -0
- package/dist/data/test/function/timer/reset.mcfunction +1 -0
- package/dist/data/test/function/timer/start.mcfunction +1 -0
- package/dist/data/test/function/timer/tick.mcfunction +9 -0
- package/dist/data/test/function/timer/tick__merge_1.mcfunction +1 -0
- package/dist/data/test/function/timer/tick__merge_3.mcfunction +1 -0
- package/dist/data/test/function/timer/tick__then_0.mcfunction +4 -0
- package/dist/data/test/function/timer/tick__then_2.mcfunction +4 -0
- package/dist/data/test/function/uniform_frac.mcfunction +12 -0
- package/dist/data/test/function/uniform_frac__merge_1.mcfunction +4 -0
- package/dist/data/test/function/uniform_frac__then_0.mcfunction +4 -0
- package/dist/data/test/function/uniform_int.mcfunction +14 -0
- package/dist/data/test/function/uniform_int__merge_1.mcfunction +9 -0
- package/dist/data/test/function/uniform_int__then_0.mcfunction +4 -0
- package/dist/data/test/function/uniform_scale.mcfunction +8 -0
- package/dist/data/test/function/update_pos.mcfunction +5 -0
- package/dist/data/test/function/value_noise_1d.mcfunction +14 -0
- package/dist/data/test/function/value_noise_1d__merge_1.mcfunction +39 -0
- package/dist/data/test/function/value_noise_1d__then_0.mcfunction +7 -0
- package/dist/data/test/function/value_noise_2d.mcfunction +15 -0
- package/dist/data/test/function/value_noise_2d__merge_1.mcfunction +13 -0
- package/dist/data/test/function/value_noise_2d__merge_3.mcfunction +98 -0
- package/dist/data/test/function/value_noise_2d__then_0.mcfunction +7 -0
- package/dist/data/test/function/value_noise_2d__then_2.mcfunction +7 -0
- package/dist/data/test/function/water_drag_fx.mcfunction +2 -0
- package/dist/data/test/function/weighted2.mcfunction +17 -0
- package/dist/data/test/function/weighted2__merge_1.mcfunction +6 -0
- package/dist/data/test/function/weighted2__merge_3.mcfunction +2 -0
- package/dist/data/test/function/weighted2__then_0.mcfunction +4 -0
- package/dist/data/test/function/weighted2__then_2.mcfunction +2 -0
- package/dist/data/test/function/weighted3.mcfunction +20 -0
- package/dist/data/test/function/weighted3__merge_1.mcfunction +7 -0
- package/dist/data/test/function/weighted3__merge_3.mcfunction +6 -0
- package/dist/data/test/function/weighted3__merge_6.mcfunction +2 -0
- package/dist/data/test/function/weighted3__then_0.mcfunction +4 -0
- package/dist/data/test/function/weighted3__then_2.mcfunction +2 -0
- package/dist/data/test/function/weighted3__then_5.mcfunction +2 -0
- package/dist/data/turret/function/__load.mcfunction +5 -0
- package/dist/data/turret/function/__tick.mcfunction +4 -0
- package/dist/data/turret/function/__trigger_deploy_turret_dispatch.mcfunction +4 -0
- package/dist/data/turret/function/deploy_turret.mcfunction +8 -0
- package/dist/data/turret/function/turret_tick/at_1.mcfunction +2 -0
- package/dist/data/turret/function/turret_tick/foreach_0.mcfunction +2 -0
- package/dist/data/turret/function/turret_tick/foreach_2.mcfunction +2 -0
- package/dist/data/turret/function/turret_tick/tick_body.mcfunction +3 -0
- package/dist/data/turret/function/turret_tick/tick_skip.mcfunction +1 -0
- package/dist/data/turret/function/turret_tick.mcfunction +5 -0
- package/dist/diagnostics/index.d.ts +44 -0
- package/dist/diagnostics/index.js +140 -0
- package/dist/events/types.d.ts +35 -0
- package/dist/events/types.js +59 -0
- package/dist/formatter/index.d.ts +1 -0
- package/dist/formatter/index.js +26 -0
- package/dist/gcd2.map.json +15 -0
- package/dist/gcd3.map.json +17 -0
- package/dist/gcd_test.map.json +15 -0
- package/dist/index.d.ts +62 -0
- package/dist/ir/builder.d.ts +33 -0
- package/dist/ir/builder.js +99 -0
- package/dist/ir/types.d.ts +132 -0
- package/dist/ir/types.js +15 -0
- package/dist/isqrttest.map.json +15 -0
- package/dist/lexer/index.d.ts +37 -0
- package/dist/lexer/index.js +569 -0
- package/dist/lowering/index.d.ts +188 -0
- package/dist/lowering/index.js +3405 -0
- package/dist/mathtest.map.json +6 -0
- package/dist/mc-test/client.d.ts +128 -0
- package/dist/mc-test/client.js +174 -0
- package/dist/mc-test/runner.d.ts +28 -0
- package/dist/mc-test/runner.js +150 -0
- package/dist/mc-test/setup.d.ts +11 -0
- package/dist/mc-test/setup.js +98 -0
- package/dist/mc-validator/index.d.ts +17 -0
- package/dist/mc-validator/index.js +322 -0
- package/dist/mypack.map.json +27 -0
- package/dist/nbt/index.d.ts +86 -0
- package/dist/nbt/index.js +250 -0
- package/dist/optimizer/commands.d.ts +38 -0
- package/dist/optimizer/commands.js +451 -0
- package/dist/optimizer/dce.d.ts +34 -0
- package/dist/optimizer/dce.js +639 -0
- package/dist/optimizer/passes.d.ts +34 -0
- package/dist/optimizer/passes.js +243 -0
- package/dist/optimizer/structure.d.ts +9 -0
- package/dist/optimizer/structure.js +356 -0
- package/dist/pack.mcmeta +6 -0
- package/dist/parser/index.d.ts +93 -0
- package/dist/parser/index.js +1687 -0
- package/dist/repl.d.ts +16 -0
- package/dist/repl.js +165 -0
- package/dist/reqtest.map.json +4 -0
- package/dist/reqtest2.map.json +4 -0
- package/dist/runtime/index.d.ts +107 -0
- package/dist/runtime/index.js +1409 -0
- package/dist/runtime.map.json +7 -0
- package/dist/src/__tests__/array-param.test.d.ts +9 -0
- package/dist/src/__tests__/array-param.test.js +69 -0
- package/dist/src/__tests__/codegen.test.d.ts +1 -0
- package/dist/src/__tests__/codegen.test.js +152 -0
- package/dist/src/__tests__/debug-compile.test.d.ts +1 -0
- package/dist/src/__tests__/debug-compile.test.js +24 -0
- package/dist/src/__tests__/debug-compile2.test.d.ts +1 -0
- package/dist/src/__tests__/debug-compile2.test.js +19 -0
- package/dist/src/__tests__/debug-compile3.test.d.ts +1 -0
- package/dist/src/__tests__/debug-compile3.test.js +22 -0
- package/dist/src/__tests__/debug-wm.test.d.ts +1 -0
- package/dist/src/__tests__/debug-wm.test.js +50 -0
- package/dist/src/__tests__/debug_gen.d.ts +1 -0
- package/dist/src/__tests__/debug_gen.js +24 -0
- package/dist/src/__tests__/debug_scoreboard.test.d.ts +1 -0
- package/dist/src/__tests__/debug_scoreboard.test.js +19 -0
- package/dist/src/__tests__/debug_scoreboard2.test.d.ts +1 -0
- package/dist/src/__tests__/debug_scoreboard2.test.js +27 -0
- package/dist/src/__tests__/debug_scoreboard3.test.d.ts +1 -0
- package/dist/src/__tests__/debug_scoreboard3.test.js +37 -0
- package/dist/src/__tests__/e2e.test.d.ts +6 -0
- package/dist/src/__tests__/e2e.test.js +1789 -0
- package/dist/src/__tests__/entity-types.test.d.ts +1 -0
- package/dist/src/__tests__/entity-types.test.js +203 -0
- package/dist/src/__tests__/lowering.test.d.ts +1 -0
- package/dist/src/__tests__/lowering.test.js +1015 -0
- package/dist/src/__tests__/macro.test.d.ts +8 -0
- package/dist/src/__tests__/macro.test.js +306 -0
- package/dist/src/__tests__/nbt.test.d.ts +1 -0
- package/dist/src/__tests__/nbt.test.js +82 -0
- package/dist/src/__tests__/optimizer/lir/peephole.test.js +92 -0
- package/dist/src/__tests__/optimizer-advanced.test.d.ts +1 -0
- package/dist/src/__tests__/optimizer-advanced.test.js +124 -0
- package/dist/src/__tests__/optimizer.test.d.ts +1 -0
- package/dist/src/__tests__/optimizer.test.js +149 -0
- package/dist/src/__tests__/runtime.test.d.ts +1 -0
- package/dist/src/__tests__/runtime.test.js +289 -0
- package/dist/src/__tests__/stdlib/math.test.d.ts +5 -0
- package/dist/src/__tests__/stdlib/math.test.js +121 -0
- package/dist/src/__tests__/stdlib-advanced.test.d.ts +4 -0
- package/dist/src/__tests__/stdlib-advanced.test.js +374 -0
- package/dist/src/__tests__/stdlib-bigint.test.d.ts +7 -0
- package/dist/src/__tests__/stdlib-bigint.test.js +426 -0
- package/dist/src/__tests__/stdlib-math.test.d.ts +7 -0
- package/dist/src/__tests__/stdlib-math.test.js +351 -0
- package/dist/src/__tests__/stdlib-vec.test.d.ts +4 -0
- package/dist/src/__tests__/stdlib-vec.test.js +263 -0
- package/dist/src/__tests__/structure-optimizer.test.d.ts +1 -0
- package/dist/src/__tests__/structure-optimizer.test.js +33 -0
- package/dist/src/__tests__/timer-debug.test.d.ts +1 -0
- package/dist/src/__tests__/timer-debug.test.js +33 -0
- package/dist/src/__tests__/var-allocator.test.d.ts +1 -0
- package/dist/src/__tests__/var-allocator.test.js +69 -0
- package/dist/src/ast/types.d.ts +7 -0
- package/dist/src/codegen/cmdblock/index.d.ts +26 -0
- package/dist/src/codegen/cmdblock/index.js +45 -0
- package/dist/src/codegen/mcfunction/index.d.ts +40 -0
- package/dist/src/codegen/mcfunction/index.js +606 -0
- package/dist/src/codegen/structure/index.d.ts +24 -0
- package/dist/src/codegen/structure/index.js +279 -0
- package/dist/src/codegen/var-allocator.d.ts +45 -0
- package/dist/src/codegen/var-allocator.js +104 -0
- package/dist/src/hir/lower.js +51 -0
- package/dist/src/ir/builder.d.ts +33 -0
- package/dist/src/ir/builder.js +99 -0
- package/dist/src/ir/types.d.ts +132 -0
- package/dist/src/ir/types.js +15 -0
- package/dist/src/lowering/index.d.ts +188 -0
- package/dist/src/lowering/index.js +3405 -0
- package/dist/src/lsp/main.js +0 -0
- package/dist/src/mir/lower.js +93 -12
- package/dist/src/optimizer/commands.d.ts +38 -0
- package/dist/src/optimizer/commands.js +451 -0
- package/dist/src/optimizer/lir/peephole.d.ts +13 -4
- package/dist/src/optimizer/lir/peephole.js +44 -5
- package/dist/src/optimizer/passes.d.ts +34 -0
- package/dist/src/optimizer/passes.js +243 -0
- package/dist/src/optimizer/structure.d.ts +9 -0
- package/dist/src/optimizer/structure.js +356 -0
- package/dist/src/parser/index.js +12 -0
- package/dist/src2/__tests__/e2e/basic.test.d.ts +8 -0
- package/dist/src2/__tests__/e2e/basic.test.js +140 -0
- package/dist/src2/__tests__/e2e/macros.test.d.ts +9 -0
- package/dist/src2/__tests__/e2e/macros.test.js +182 -0
- package/dist/src2/__tests__/e2e/migrate.test.d.ts +13 -0
- package/dist/src2/__tests__/e2e/migrate.test.js +2739 -0
- package/dist/src2/__tests__/hir/desugar.test.d.ts +1 -0
- package/dist/src2/__tests__/hir/desugar.test.js +234 -0
- package/dist/src2/__tests__/lir/lower.test.d.ts +1 -0
- package/dist/src2/__tests__/lir/lower.test.js +559 -0
- package/dist/src2/__tests__/lir/types.test.d.ts +1 -0
- package/dist/src2/__tests__/lir/types.test.js +185 -0
- package/dist/src2/__tests__/lir/verify.test.d.ts +1 -0
- package/dist/src2/__tests__/lir/verify.test.js +221 -0
- package/dist/src2/__tests__/mir/arithmetic.test.d.ts +1 -0
- package/dist/src2/__tests__/mir/arithmetic.test.js +130 -0
- package/dist/src2/__tests__/mir/control-flow.test.d.ts +1 -0
- package/dist/src2/__tests__/mir/control-flow.test.js +205 -0
- package/dist/src2/__tests__/mir/verify.test.d.ts +1 -0
- package/dist/src2/__tests__/mir/verify.test.js +223 -0
- package/dist/src2/__tests__/optimizer/block_merge.test.d.ts +1 -0
- package/dist/src2/__tests__/optimizer/block_merge.test.js +78 -0
- package/dist/src2/__tests__/optimizer/branch_simplify.test.d.ts +1 -0
- package/dist/src2/__tests__/optimizer/branch_simplify.test.js +58 -0
- package/dist/src2/__tests__/optimizer/constant_fold.test.d.ts +1 -0
- package/dist/src2/__tests__/optimizer/constant_fold.test.js +131 -0
- package/dist/src2/__tests__/optimizer/copy_prop.test.d.ts +1 -0
- package/dist/src2/__tests__/optimizer/copy_prop.test.js +91 -0
- package/dist/src2/__tests__/optimizer/dce.test.d.ts +1 -0
- package/dist/src2/__tests__/optimizer/dce.test.js +76 -0
- package/dist/src2/__tests__/optimizer/pipeline.test.d.ts +1 -0
- package/dist/src2/__tests__/optimizer/pipeline.test.js +102 -0
- package/dist/src2/emit/compile.d.ts +19 -0
- package/dist/src2/emit/compile.js +80 -0
- package/dist/src2/emit/index.d.ts +17 -0
- package/dist/src2/emit/index.js +172 -0
- package/dist/src2/hir/lower.d.ts +15 -0
- package/dist/src2/hir/lower.js +378 -0
- package/dist/src2/hir/types.d.ts +373 -0
- package/dist/src2/hir/types.js +16 -0
- package/dist/src2/lir/lower.d.ts +15 -0
- package/dist/src2/lir/lower.js +453 -0
- package/dist/src2/lir/types.d.ts +136 -0
- package/dist/src2/lir/types.js +11 -0
- package/dist/src2/lir/verify.d.ts +14 -0
- package/dist/src2/lir/verify.js +113 -0
- package/dist/src2/mir/lower.d.ts +9 -0
- package/dist/src2/mir/lower.js +1030 -0
- package/dist/src2/mir/macro.d.ts +22 -0
- package/dist/src2/mir/macro.js +168 -0
- package/dist/src2/mir/types.d.ts +183 -0
- package/dist/src2/mir/types.js +11 -0
- package/dist/src2/mir/verify.d.ts +16 -0
- package/dist/src2/mir/verify.js +216 -0
- package/dist/src2/optimizer/block_merge.d.ts +12 -0
- package/dist/src2/optimizer/block_merge.js +84 -0
- package/dist/src2/optimizer/branch_simplify.d.ts +9 -0
- package/dist/src2/optimizer/branch_simplify.js +28 -0
- package/dist/src2/optimizer/constant_fold.d.ts +10 -0
- package/dist/src2/optimizer/constant_fold.js +85 -0
- package/dist/src2/optimizer/copy_prop.d.ts +9 -0
- package/dist/src2/optimizer/copy_prop.js +113 -0
- package/dist/src2/optimizer/dce.d.ts +8 -0
- package/dist/src2/optimizer/dce.js +155 -0
- package/dist/src2/optimizer/pipeline.d.ts +10 -0
- package/dist/src2/optimizer/pipeline.js +42 -0
- package/dist/swap_test.map.json +14 -0
- package/dist/tsconfig.tsbuildinfo +1 -0
- package/dist/typechecker/index.d.ts +61 -0
- package/dist/typechecker/index.js +1034 -0
- package/dist/types/entity-hierarchy.d.ts +29 -0
- package/dist/types/entity-hierarchy.js +107 -0
- package/editors/vscode/package-lock.json +3 -3
- package/editors/vscode/package.json +1 -1
- package/examples/math-demo.mcrs +127 -0
- package/examples/showcase.mcrs +64 -109
- package/package.json +1 -1
- package/src/__tests__/array-param.test.ts +77 -0
- package/src/__tests__/e2e/for-in-array.test.ts +62 -0
- package/src/__tests__/optimizer/lir/peephole.test.ts +100 -0
- package/src/__tests__/stdlib/math.test.ts +102 -0
- package/src/ast/types.ts +1 -0
- package/src/hir/lower.ts +52 -0
- package/src/mir/lower.ts +109 -11
- package/src/optimizer/lir/peephole.ts +50 -5
- package/src/parser/index.ts +13 -0
- package/src/stdlib/bigint.mcrs +128 -100
- package/src/stdlib/easing.mcrs +182 -0
- package/src/stdlib/list.mcrs +76 -0
- package/src/stdlib/matrix.mcrs +108 -0
- package/src/stdlib/noise.mcrs +153 -0
- package/src/stdlib/physics.mcrs +134 -0
|
@@ -0,0 +1,819 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* RedScript MC Integration Tests
|
|
4
|
+
*
|
|
5
|
+
* Tests compiled datapacks against a real Paper 1.21.4 server.
|
|
6
|
+
*
|
|
7
|
+
* Prerequisites:
|
|
8
|
+
* - Paper server running with TestHarnessPlugin on port 25561
|
|
9
|
+
* - MC_SERVER_DIR env var pointing to server directory
|
|
10
|
+
*
|
|
11
|
+
* Run: MC_SERVER_DIR=~/mc-test-server npx jest mc-integration --testTimeout=120000
|
|
12
|
+
*/
|
|
13
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
14
|
+
if (k2 === undefined) k2 = k;
|
|
15
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
16
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
17
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
18
|
+
}
|
|
19
|
+
Object.defineProperty(o, k2, desc);
|
|
20
|
+
}) : (function(o, m, k, k2) {
|
|
21
|
+
if (k2 === undefined) k2 = k;
|
|
22
|
+
o[k2] = m[k];
|
|
23
|
+
}));
|
|
24
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
25
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
26
|
+
}) : function(o, v) {
|
|
27
|
+
o["default"] = v;
|
|
28
|
+
});
|
|
29
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
30
|
+
var ownKeys = function(o) {
|
|
31
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
32
|
+
var ar = [];
|
|
33
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
34
|
+
return ar;
|
|
35
|
+
};
|
|
36
|
+
return ownKeys(o);
|
|
37
|
+
};
|
|
38
|
+
return function (mod) {
|
|
39
|
+
if (mod && mod.__esModule) return mod;
|
|
40
|
+
var result = {};
|
|
41
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
42
|
+
__setModuleDefault(result, mod);
|
|
43
|
+
return result;
|
|
44
|
+
};
|
|
45
|
+
})();
|
|
46
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
47
|
+
const fs = __importStar(require("fs"));
|
|
48
|
+
const path = __importStar(require("path"));
|
|
49
|
+
const compile_1 = require("../compile");
|
|
50
|
+
const client_1 = require("../mc-test/client");
|
|
51
|
+
const MC_HOST = process.env.MC_HOST ?? 'localhost';
|
|
52
|
+
const MC_PORT = parseInt(process.env.MC_PORT ?? '25561');
|
|
53
|
+
const MC_SERVER_DIR = process.env.MC_SERVER_DIR ?? path.join(process.env.HOME, 'mc-test-server');
|
|
54
|
+
const DATAPACK_DIR = path.join(MC_SERVER_DIR, 'world', 'datapacks', 'redscript-test');
|
|
55
|
+
const FIXTURE_DIR = path.join(__dirname, 'fixtures');
|
|
56
|
+
let serverOnline = false;
|
|
57
|
+
let mc;
|
|
58
|
+
/** Write compiled RedScript source into the shared test datapack directory.
|
|
59
|
+
* Merges minecraft tag files (tick.json / load.json) instead of overwriting. */
|
|
60
|
+
function writeFixture(source, namespace) {
|
|
61
|
+
fs.mkdirSync(DATAPACK_DIR, { recursive: true });
|
|
62
|
+
// Write pack.mcmeta once
|
|
63
|
+
if (!fs.existsSync(path.join(DATAPACK_DIR, 'pack.mcmeta'))) {
|
|
64
|
+
fs.writeFileSync(path.join(DATAPACK_DIR, 'pack.mcmeta'), JSON.stringify({
|
|
65
|
+
pack: { pack_format: 48, description: 'RedScript integration tests' }
|
|
66
|
+
}));
|
|
67
|
+
}
|
|
68
|
+
const result = (0, compile_1.compile)(source, { namespace });
|
|
69
|
+
if (result.error)
|
|
70
|
+
throw new Error(`Compile error in ${namespace}: ${result.error}`);
|
|
71
|
+
for (const file of result.files ?? []) {
|
|
72
|
+
if (file.path === 'pack.mcmeta')
|
|
73
|
+
continue;
|
|
74
|
+
const filePath = path.join(DATAPACK_DIR, file.path);
|
|
75
|
+
fs.mkdirSync(path.dirname(filePath), { recursive: true });
|
|
76
|
+
// Merge minecraft tag files (tick.json, load.json) instead of overwriting
|
|
77
|
+
if (file.path.includes('data/minecraft/tags/') && fs.existsSync(filePath)) {
|
|
78
|
+
const existing = JSON.parse(fs.readFileSync(filePath, 'utf-8'));
|
|
79
|
+
const incoming = JSON.parse(file.content);
|
|
80
|
+
const merged = { values: [...new Set([...(existing.values ?? []), ...(incoming.values ?? [])])] };
|
|
81
|
+
fs.writeFileSync(filePath, JSON.stringify(merged, null, 2));
|
|
82
|
+
}
|
|
83
|
+
else {
|
|
84
|
+
fs.writeFileSync(filePath, file.content);
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
function writeFixtureFile(fileName, namespace) {
|
|
89
|
+
writeFixture(fs.readFileSync(path.join(FIXTURE_DIR, fileName), 'utf-8'), namespace);
|
|
90
|
+
}
|
|
91
|
+
async function waitForServer(client, timeoutMs = 30000) {
|
|
92
|
+
const deadline = Date.now() + timeoutMs;
|
|
93
|
+
while (Date.now() < deadline) {
|
|
94
|
+
if (await client.isOnline()) {
|
|
95
|
+
return true;
|
|
96
|
+
}
|
|
97
|
+
await new Promise(resolve => setTimeout(resolve, 1000));
|
|
98
|
+
}
|
|
99
|
+
return false;
|
|
100
|
+
}
|
|
101
|
+
beforeAll(async () => {
|
|
102
|
+
mc = new client_1.MCTestClient(MC_HOST, MC_PORT);
|
|
103
|
+
serverOnline = await waitForServer(mc);
|
|
104
|
+
if (!serverOnline) {
|
|
105
|
+
console.warn(`⚠ MC server not running at ${MC_HOST}:${MC_PORT} — skipping integration tests`);
|
|
106
|
+
console.warn(` Run: MC_SERVER_DIR=~/mc-test-server npx ts-node src/mc-test/setup.ts`);
|
|
107
|
+
console.warn(` Then restart the MC server and re-run tests.`);
|
|
108
|
+
return;
|
|
109
|
+
}
|
|
110
|
+
// ── Write fixtures + use safe reloadData (no /reload confirm) ───────
|
|
111
|
+
// counter.mcrs
|
|
112
|
+
if (fs.existsSync(path.join(__dirname, '../examples/counter.mcrs'))) {
|
|
113
|
+
writeFixture(fs.readFileSync(path.join(__dirname, '../examples/counter.mcrs'), 'utf-8'), 'counter');
|
|
114
|
+
}
|
|
115
|
+
if (fs.existsSync(path.join(__dirname, '../examples/world_manager.mcrs'))) {
|
|
116
|
+
writeFixture(fs.readFileSync(path.join(__dirname, '../examples/world_manager.mcrs'), 'utf-8'), 'world_manager');
|
|
117
|
+
}
|
|
118
|
+
writeFixture(`
|
|
119
|
+
@tick
|
|
120
|
+
fn on_tick() {
|
|
121
|
+
scoreboard_set("#tick_counter", #ticks, scoreboard_get("#tick_counter", #ticks) + 1);
|
|
122
|
+
}
|
|
123
|
+
`, 'tick_test');
|
|
124
|
+
writeFixture(`
|
|
125
|
+
fn check_score() {
|
|
126
|
+
let x: int = scoreboard_get("#check_x", #test_score);
|
|
127
|
+
if (x > 5) {
|
|
128
|
+
scoreboard_set("#check_x", #result, 1);
|
|
129
|
+
} else {
|
|
130
|
+
scoreboard_set("#check_x", #result, 0);
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
`, 'inline_test');
|
|
134
|
+
// ── E2E scenario fixtures ────────────────────────────────────────────
|
|
135
|
+
// Scenario A: mini game loop (timer countdown + ended flag)
|
|
136
|
+
writeFixture(`
|
|
137
|
+
@tick
|
|
138
|
+
fn game_tick() {
|
|
139
|
+
let time: int = scoreboard_get("#game", #timer);
|
|
140
|
+
if (time > 0) {
|
|
141
|
+
scoreboard_set("#game", #timer, time - 1);
|
|
142
|
+
}
|
|
143
|
+
if (time == 1) {
|
|
144
|
+
scoreboard_set("#game", #ended, 1);
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
fn start_game() {
|
|
148
|
+
scoreboard_set("#game", #timer, 5);
|
|
149
|
+
scoreboard_set("#game", #ended, 0);
|
|
150
|
+
}
|
|
151
|
+
`, 'game_loop');
|
|
152
|
+
// Scenario B: two functions, same temp var namespace — verify no collision
|
|
153
|
+
writeFixture(`
|
|
154
|
+
fn calc_sum() {
|
|
155
|
+
let a: int = scoreboard_get("#math", #val_a);
|
|
156
|
+
let b: int = scoreboard_get("#math", #val_b);
|
|
157
|
+
scoreboard_set("#math", #sum, a + b);
|
|
158
|
+
}
|
|
159
|
+
fn calc_product() {
|
|
160
|
+
let x: int = scoreboard_get("#math", #val_x);
|
|
161
|
+
let y: int = scoreboard_get("#math", #val_y);
|
|
162
|
+
scoreboard_set("#math", #product, x * y);
|
|
163
|
+
}
|
|
164
|
+
fn run_both() {
|
|
165
|
+
calc_sum();
|
|
166
|
+
calc_product();
|
|
167
|
+
}
|
|
168
|
+
`, 'math_test');
|
|
169
|
+
// Scenario C: 3-deep call chain, each step modifies shared state
|
|
170
|
+
writeFixture(`
|
|
171
|
+
fn step3() {
|
|
172
|
+
let v: int = scoreboard_get("#chain", #val);
|
|
173
|
+
scoreboard_set("#chain", #val, v * 2);
|
|
174
|
+
}
|
|
175
|
+
fn step2() {
|
|
176
|
+
let v: int = scoreboard_get("#chain", #val);
|
|
177
|
+
scoreboard_set("#chain", #val, v + 5);
|
|
178
|
+
step3();
|
|
179
|
+
}
|
|
180
|
+
fn step1() {
|
|
181
|
+
scoreboard_set("#chain", #val, 10);
|
|
182
|
+
step2();
|
|
183
|
+
}
|
|
184
|
+
`, 'call_chain');
|
|
185
|
+
// Scenario D: setblock batching optimizer — 4 adjacent setblocks → fill
|
|
186
|
+
writeFixture(`
|
|
187
|
+
fn build_row() {
|
|
188
|
+
setblock((0, 70, 0), "minecraft:stone");
|
|
189
|
+
setblock((1, 70, 0), "minecraft:stone");
|
|
190
|
+
setblock((2, 70, 0), "minecraft:stone");
|
|
191
|
+
setblock((3, 70, 0), "minecraft:stone");
|
|
192
|
+
}
|
|
193
|
+
`, 'fill_test');
|
|
194
|
+
// Scenario E: for-range loop — loop counter increments exactly N times
|
|
195
|
+
writeFixture(`
|
|
196
|
+
fn count_to_five() {
|
|
197
|
+
scoreboard_set("#range", #counter, 0);
|
|
198
|
+
for i in 0..5 {
|
|
199
|
+
let c: int = scoreboard_get("#range", #counter);
|
|
200
|
+
scoreboard_set("#range", #counter, c + 1);
|
|
201
|
+
}
|
|
202
|
+
}
|
|
203
|
+
`, 'range_test');
|
|
204
|
+
// Scenario F: function call with return value — verifies $ret propagation
|
|
205
|
+
writeFixture(`
|
|
206
|
+
fn triple(x: int) -> int {
|
|
207
|
+
return x * 3;
|
|
208
|
+
}
|
|
209
|
+
fn run_nested() {
|
|
210
|
+
let a: int = triple(4);
|
|
211
|
+
scoreboard_set("#nested", #result, a);
|
|
212
|
+
}
|
|
213
|
+
`, 'nested_test');
|
|
214
|
+
// Scenario G: match statement dispatches to correct branch
|
|
215
|
+
writeFixture(`
|
|
216
|
+
fn classify(x: int) {
|
|
217
|
+
match (x) {
|
|
218
|
+
1 => { scoreboard_set("#match", #out, 10); }
|
|
219
|
+
2 => { scoreboard_set("#match", #out, 20); }
|
|
220
|
+
3 => { scoreboard_set("#match", #out, 30); }
|
|
221
|
+
_ => { scoreboard_set("#match", #out, -1); }
|
|
222
|
+
}
|
|
223
|
+
}
|
|
224
|
+
`, 'match_test');
|
|
225
|
+
// Scenario H: while loop counts down
|
|
226
|
+
writeFixture(`
|
|
227
|
+
fn countdown() {
|
|
228
|
+
scoreboard_set("#wloop", #i, 10);
|
|
229
|
+
scoreboard_set("#wloop", #steps, 0);
|
|
230
|
+
let i: int = scoreboard_get("#wloop", #i);
|
|
231
|
+
while (i > 0) {
|
|
232
|
+
let s: int = scoreboard_get("#wloop", #steps);
|
|
233
|
+
scoreboard_set("#wloop", #steps, s + 1);
|
|
234
|
+
i = i - 1;
|
|
235
|
+
scoreboard_set("#wloop", #i, i);
|
|
236
|
+
}
|
|
237
|
+
}
|
|
238
|
+
`, 'while_test');
|
|
239
|
+
// Scenario I: multiple if/else branches (boundary test)
|
|
240
|
+
writeFixture(`
|
|
241
|
+
fn classify_score() {
|
|
242
|
+
let x: int = scoreboard_get("#boundary", #input);
|
|
243
|
+
if (x > 100) {
|
|
244
|
+
scoreboard_set("#boundary", #tier, 3);
|
|
245
|
+
} else {
|
|
246
|
+
if (x > 50) {
|
|
247
|
+
scoreboard_set("#boundary", #tier, 2);
|
|
248
|
+
} else {
|
|
249
|
+
if (x > 0) {
|
|
250
|
+
scoreboard_set("#boundary", #tier, 1);
|
|
251
|
+
} else {
|
|
252
|
+
scoreboard_set("#boundary", #tier, 0);
|
|
253
|
+
}
|
|
254
|
+
}
|
|
255
|
+
}
|
|
256
|
+
}
|
|
257
|
+
`, 'boundary_test');
|
|
258
|
+
// Scenario J: entity management — summon via raw commands
|
|
259
|
+
writeFixture(`
|
|
260
|
+
fn tag_entities() {
|
|
261
|
+
raw("summon minecraft:armor_stand 10 65 10");
|
|
262
|
+
raw("summon minecraft:armor_stand 11 65 10");
|
|
263
|
+
raw("summon minecraft:armor_stand 12 65 10");
|
|
264
|
+
}
|
|
265
|
+
`, 'tag_test');
|
|
266
|
+
// Scenario K: mixed arithmetic — order of operations
|
|
267
|
+
writeFixture(`
|
|
268
|
+
fn math_order() {
|
|
269
|
+
let a: int = 2;
|
|
270
|
+
let b: int = 3;
|
|
271
|
+
let c: int = 4;
|
|
272
|
+
scoreboard_set("#order", #r1, a + b * c);
|
|
273
|
+
scoreboard_set("#order", #r2, (a + b) * c);
|
|
274
|
+
let d: int = 100;
|
|
275
|
+
let e: int = d / 3;
|
|
276
|
+
scoreboard_set("#order", #r3, e);
|
|
277
|
+
}
|
|
278
|
+
`, 'order_test');
|
|
279
|
+
// Scenario L: scoreboard read-modify-write chain
|
|
280
|
+
writeFixture(`
|
|
281
|
+
fn chain_rmw() {
|
|
282
|
+
scoreboard_set("#rmw", #v, 1);
|
|
283
|
+
let v: int = scoreboard_get("#rmw", #v);
|
|
284
|
+
scoreboard_set("#rmw", #v, v * 2);
|
|
285
|
+
v = scoreboard_get("#rmw", #v);
|
|
286
|
+
scoreboard_set("#rmw", #v, v * 2);
|
|
287
|
+
v = scoreboard_get("#rmw", #v);
|
|
288
|
+
scoreboard_set("#rmw", #v, v * 2);
|
|
289
|
+
}
|
|
290
|
+
`, 'rmw_test');
|
|
291
|
+
writeFixtureFile('impl-test.mcrs', 'impl_test');
|
|
292
|
+
writeFixtureFile('timeout-test.mcrs', 'timeout_test');
|
|
293
|
+
writeFixtureFile('interval-test.mcrs', 'interval_test');
|
|
294
|
+
writeFixtureFile('is-check-test.mcrs', 'is_check_test');
|
|
295
|
+
writeFixtureFile('event-test.mcrs', 'event_test');
|
|
296
|
+
// ── Full reset + safe data reload ────────────────────────────────────
|
|
297
|
+
await mc.fullReset();
|
|
298
|
+
// Pre-create scoreboards
|
|
299
|
+
for (const obj of ['ticks', 'seconds', 'test_score', 'result', 'calc', 'rs',
|
|
300
|
+
'timer', 'ended', 'val_a', 'val_b', 'sum', 'val_x', 'val_y', 'product', 'val',
|
|
301
|
+
'counter', 'out', 'i', 'steps', 'input', 'tier', 'r1', 'r2', 'r3', 'v',
|
|
302
|
+
'done', 'fired', 'players', 'zombies']) {
|
|
303
|
+
await mc.command(`/scoreboard objectives add ${obj} dummy`).catch(() => { });
|
|
304
|
+
}
|
|
305
|
+
await mc.command('/scoreboard players set counter ticks 0');
|
|
306
|
+
await mc.command('/scoreboard players set #tick_counter ticks 0');
|
|
307
|
+
await mc.command('/scoreboard players set #check_x test_score 10');
|
|
308
|
+
await mc.command('/scoreboard players set #check_x result 99');
|
|
309
|
+
// Safe reload (Bukkit.reloadData — only datapacks, no plugin restart)
|
|
310
|
+
console.log(' Reloading datapacks (safe reloadData)...');
|
|
311
|
+
await mc.reload();
|
|
312
|
+
await new Promise(r => setTimeout(r, 5000)); // wall-clock wait for data reload
|
|
313
|
+
// Initialize __load functions
|
|
314
|
+
await mc.command('/function counter:__load').catch(() => { });
|
|
315
|
+
await mc.command('/function inline_test:__load').catch(() => { });
|
|
316
|
+
await mc.ticks(20);
|
|
317
|
+
console.log(' Setup complete.');
|
|
318
|
+
}, 60000);
|
|
319
|
+
describe('MC Integration Tests', () => {
|
|
320
|
+
// ─── Test 1: Server connectivity ─────────────────────────────────────
|
|
321
|
+
test('server is online and healthy', async () => {
|
|
322
|
+
if (!serverOnline)
|
|
323
|
+
return;
|
|
324
|
+
const status = await mc.status();
|
|
325
|
+
expect(status.online).toBe(true);
|
|
326
|
+
expect(status.tps_1m).toBeGreaterThan(10); // Allow recovery after reload
|
|
327
|
+
console.log(` Server: ${status.version}, TPS: ${status.tps_1m.toFixed(1)}`);
|
|
328
|
+
});
|
|
329
|
+
// ─── Test 2: Counter tick ─────────────────────────────────────────────
|
|
330
|
+
test('counter.mcrs: tick function increments scoreboard over time', async () => {
|
|
331
|
+
if (!serverOnline)
|
|
332
|
+
return;
|
|
333
|
+
await mc.ticks(40); // Wait 2s (counter was already init'd in beforeAll)
|
|
334
|
+
const count = await mc.scoreboard('counter', 'ticks');
|
|
335
|
+
expect(count).toBeGreaterThan(0);
|
|
336
|
+
console.log(` counter/ticks after setup+40 ticks: ${count}`);
|
|
337
|
+
});
|
|
338
|
+
// ─── Test 3: setblock ────────────────────────────────────────────────
|
|
339
|
+
test('world_manager.mcrs: setblock places correct block', async () => {
|
|
340
|
+
if (!serverOnline)
|
|
341
|
+
return;
|
|
342
|
+
// Clear just the lobby area, keep other state
|
|
343
|
+
await mc.fullReset({ x1: -10, y1: 60, z1: -10, x2: 15, y2: 80, z2: 15, resetScoreboards: false });
|
|
344
|
+
await mc.command('/function world_manager:__load');
|
|
345
|
+
await mc.command('/function world_manager:reset_lobby_platform');
|
|
346
|
+
await mc.ticks(10);
|
|
347
|
+
const block = await mc.block(4, 65, 4);
|
|
348
|
+
expect(block.type).toBe('minecraft:gold_block');
|
|
349
|
+
console.log(` Block at (4,65,4): ${block.type}`);
|
|
350
|
+
});
|
|
351
|
+
// ─── Test 4: fill ────────────────────────────────────────────────────
|
|
352
|
+
test('world_manager.mcrs: fill creates smooth_stone floor', async () => {
|
|
353
|
+
if (!serverOnline)
|
|
354
|
+
return;
|
|
355
|
+
// Runs after test 3, floor should still be there
|
|
356
|
+
const block = await mc.block(4, 64, 4);
|
|
357
|
+
expect(block.type).toBe('minecraft:smooth_stone');
|
|
358
|
+
console.log(` Floor at (4,64,4): ${block.type}`);
|
|
359
|
+
});
|
|
360
|
+
// ─── Test 5: Scoreboard arithmetic ───────────────────────────────────
|
|
361
|
+
test('scoreboard arithmetic works via commands', async () => {
|
|
362
|
+
if (!serverOnline)
|
|
363
|
+
return;
|
|
364
|
+
await mc.command('/scoreboard players set TestA calc 10');
|
|
365
|
+
await mc.command('/scoreboard players set TestB calc 25');
|
|
366
|
+
await mc.command('/scoreboard players operation TestA calc += TestB calc');
|
|
367
|
+
await mc.ticks(2);
|
|
368
|
+
const result = await mc.scoreboard('TestA', 'calc');
|
|
369
|
+
expect(result).toBe(35);
|
|
370
|
+
console.log(` 10 + 25 = ${result}`);
|
|
371
|
+
});
|
|
372
|
+
// ─── Test 6: Scoreboard proxy for announce ────────────────────────────
|
|
373
|
+
test('scoreboard proxy test (chat logging not supported for /say)', async () => {
|
|
374
|
+
if (!serverOnline)
|
|
375
|
+
return;
|
|
376
|
+
await mc.command('/scoreboard objectives add announce_test dummy');
|
|
377
|
+
await mc.command('/scoreboard players set announce_marker announce_test 42');
|
|
378
|
+
await mc.ticks(2);
|
|
379
|
+
const marker = await mc.scoreboard('announce_marker', 'announce_test');
|
|
380
|
+
expect(marker).toBe(42);
|
|
381
|
+
console.log(` Marker value: ${marker}`);
|
|
382
|
+
});
|
|
383
|
+
// ─── Test 7: if/else logic via inline script ──────────────────────────
|
|
384
|
+
test('inline rs: if/else (x=10 > 5) sets result=1', async () => {
|
|
385
|
+
if (!serverOnline)
|
|
386
|
+
return;
|
|
387
|
+
// #check_x test_score=10 was set in beforeAll, run check_score
|
|
388
|
+
await mc.command('/function inline_test:check_score');
|
|
389
|
+
await mc.ticks(5);
|
|
390
|
+
const result = await mc.scoreboard('#check_x', 'result');
|
|
391
|
+
expect(result).toBe(1);
|
|
392
|
+
console.log(` if (10 > 5) → result: ${result}`);
|
|
393
|
+
});
|
|
394
|
+
// ─── Test 8: Entity counting ──────────────────────────────────────────
|
|
395
|
+
test('entity query: armor_stands survive peaceful mode', async () => {
|
|
396
|
+
if (!serverOnline)
|
|
397
|
+
return;
|
|
398
|
+
await mc.fullReset({ clearArea: false, killEntities: true, resetScoreboards: false });
|
|
399
|
+
await mc.command('/summon minecraft:armor_stand 0 65 0');
|
|
400
|
+
await mc.command('/summon minecraft:armor_stand 2 65 0');
|
|
401
|
+
await mc.command('/summon minecraft:armor_stand 4 65 0');
|
|
402
|
+
await mc.ticks(5);
|
|
403
|
+
const stands = await mc.entities('@e[type=minecraft:armor_stand]');
|
|
404
|
+
expect(stands.length).toBe(3);
|
|
405
|
+
console.log(` Spawned 3 armor_stands, found: ${stands.length}`);
|
|
406
|
+
await mc.command('/kill @e[type=minecraft:armor_stand]');
|
|
407
|
+
});
|
|
408
|
+
// ─── Test 9: @tick dispatcher runs every tick ─────────────────────────
|
|
409
|
+
test('@tick: tick_test increments #tick_counter every tick', async () => {
|
|
410
|
+
if (!serverOnline)
|
|
411
|
+
return;
|
|
412
|
+
// Reset counter
|
|
413
|
+
await mc.command('/scoreboard players set #tick_counter ticks 0');
|
|
414
|
+
await mc.ticks(40); // 2s
|
|
415
|
+
const ticks = await mc.scoreboard('#tick_counter', 'ticks');
|
|
416
|
+
expect(ticks).toBeGreaterThanOrEqual(10); // At least 10 of 40 ticks fired
|
|
417
|
+
console.log(` #tick_counter after 40 ticks: ${ticks}`);
|
|
418
|
+
});
|
|
419
|
+
// ─── Test 10: fullReset clears blocks ─────────────────────────────────
|
|
420
|
+
test('fullReset clears previously placed blocks', async () => {
|
|
421
|
+
if (!serverOnline)
|
|
422
|
+
return;
|
|
423
|
+
await mc.command('/setblock 5 65 5 minecraft:diamond_block');
|
|
424
|
+
await mc.ticks(2);
|
|
425
|
+
let block = await mc.block(5, 65, 5);
|
|
426
|
+
expect(block.type).toBe('minecraft:diamond_block');
|
|
427
|
+
await mc.fullReset({ x1: 0, y1: 60, z1: 0, x2: 10, y2: 75, z2: 10, resetScoreboards: false });
|
|
428
|
+
block = await mc.block(5, 65, 5);
|
|
429
|
+
expect(block.type).toBe('minecraft:air');
|
|
430
|
+
console.log(` Block after reset: ${block.type} ✓`);
|
|
431
|
+
});
|
|
432
|
+
});
|
|
433
|
+
// ─── E2E Scenario Tests ───────────────────────────────────────────────────────
|
|
434
|
+
describe('E2E Scenario Tests', () => {
|
|
435
|
+
// Scenario A: Mini game loop
|
|
436
|
+
// Verifies: @tick auto-runs, scoreboard read-modify-write, two if conditions
|
|
437
|
+
// in the same function, timer countdown converges to ended=1
|
|
438
|
+
test('A: game_loop timer countdown sets ended=1 after N ticks', async () => {
|
|
439
|
+
if (!serverOnline)
|
|
440
|
+
return;
|
|
441
|
+
// game_tick is @tick - it runs every server tick automatically.
|
|
442
|
+
// start_game sets timer=5, but game_tick may already decrement it by the
|
|
443
|
+
// time we query. Use a large timer and just verify it reaches 0 eventually.
|
|
444
|
+
await mc.command('/scoreboard players set #game timer 0');
|
|
445
|
+
await mc.command('/scoreboard players set #game ended 0');
|
|
446
|
+
await mc.ticks(2);
|
|
447
|
+
await mc.command('/function game_loop:__load');
|
|
448
|
+
await mc.command('/function game_loop:start_game'); // timer=5, ended=0
|
|
449
|
+
// Wait 25 ticks — enough for 5 decrements + margin
|
|
450
|
+
await mc.ticks(25);
|
|
451
|
+
const ended = await mc.scoreboard('#game', 'ended');
|
|
452
|
+
expect(ended).toBe(1);
|
|
453
|
+
const finalTimer = await mc.scoreboard('#game', 'timer');
|
|
454
|
+
expect(finalTimer).toBe(0);
|
|
455
|
+
console.log(` timer hit 0 (final=${finalTimer}), ended=${ended} ✓`);
|
|
456
|
+
});
|
|
457
|
+
// Scenario B: No temp var collision between two functions called in sequence
|
|
458
|
+
// Verifies: each function's temp vars are isolated per-call via globally unique names
|
|
459
|
+
// If there's a bug, calc_product would see sum's leftover $t vars and produce wrong result
|
|
460
|
+
test('B: calc_sum + calc_product called in sequence — no temp var collision', async () => {
|
|
461
|
+
if (!serverOnline)
|
|
462
|
+
return;
|
|
463
|
+
await mc.command('/function math_test:__load');
|
|
464
|
+
await mc.command('/scoreboard players set #math val_a 7');
|
|
465
|
+
await mc.command('/scoreboard players set #math val_b 3');
|
|
466
|
+
await mc.command('/scoreboard players set #math val_x 4');
|
|
467
|
+
await mc.command('/scoreboard players set #math val_y 5');
|
|
468
|
+
await mc.command('/function math_test:run_both'); // calc_sum() then calc_product()
|
|
469
|
+
await mc.ticks(5);
|
|
470
|
+
const sum = await mc.scoreboard('#math', 'sum');
|
|
471
|
+
const product = await mc.scoreboard('#math', 'product');
|
|
472
|
+
expect(sum).toBe(10); // 7 + 3
|
|
473
|
+
expect(product).toBe(20); // 4 × 5
|
|
474
|
+
console.log(` sum=${sum} (expect 10), product=${product} (expect 20) ✓`);
|
|
475
|
+
});
|
|
476
|
+
// Scenario C: 3-deep call chain, shared state threaded through
|
|
477
|
+
// Verifies: function calls preserve scoreboard state across stack frames
|
|
478
|
+
// step1: val=10 → step2: val=10+5=15 → step3: val=15×2=30
|
|
479
|
+
test('C: 3-deep call chain preserves intermediate state (10→15→30)', async () => {
|
|
480
|
+
if (!serverOnline)
|
|
481
|
+
return;
|
|
482
|
+
await mc.command('/function call_chain:__load');
|
|
483
|
+
await mc.command('/scoreboard players set #chain val 0');
|
|
484
|
+
await mc.command('/function call_chain:step1');
|
|
485
|
+
await mc.ticks(5);
|
|
486
|
+
const val = await mc.scoreboard('#chain', 'val');
|
|
487
|
+
expect(val).toBe(30); // (10 + 5) * 2 = 30
|
|
488
|
+
console.log(` call chain result: ${val} (expect 30) ✓`);
|
|
489
|
+
});
|
|
490
|
+
// Scenario D: Setblock batching optimizer — 4 adjacent setblocks compiled to fill
|
|
491
|
+
// Verifies: optimizer's fill-batching pass produces correct MC behavior
|
|
492
|
+
// (not just that the output says "fill", but that ALL 4 blocks are actually stone)
|
|
493
|
+
test('D: fill optimizer — 4 adjacent setblocks all placed correctly', async () => {
|
|
494
|
+
if (!serverOnline)
|
|
495
|
+
return;
|
|
496
|
+
await mc.fullReset({ x1: -5, y1: 65, z1: -5, x2: 10, y2: 75, z2: 10, resetScoreboards: false });
|
|
497
|
+
await mc.command('/function fill_test:__load');
|
|
498
|
+
await mc.command('/function fill_test:build_row');
|
|
499
|
+
await mc.ticks(5);
|
|
500
|
+
// All 4 blocks should be stone (optimizer batched into fill 0 70 0 3 70 0 stone)
|
|
501
|
+
for (let x = 0; x <= 3; x++) {
|
|
502
|
+
const block = await mc.block(x, 70, 0);
|
|
503
|
+
expect(block.type).toBe('minecraft:stone');
|
|
504
|
+
}
|
|
505
|
+
// Neighbors should still be air (fill didn't overshoot)
|
|
506
|
+
const before = await mc.block(-1, 70, 0);
|
|
507
|
+
const after = await mc.block(4, 70, 0);
|
|
508
|
+
expect(before.type).toBe('minecraft:air');
|
|
509
|
+
expect(after.type).toBe('minecraft:air');
|
|
510
|
+
console.log(` fill_test: blocks [0-3,70,0]=stone, [-1]/[4]=air ✓`);
|
|
511
|
+
});
|
|
512
|
+
// Scenario E: for-range loop executes body exactly N times
|
|
513
|
+
// Verifies: for i in 0..5 increments counter 5 times
|
|
514
|
+
test('E: for-range loop increments counter exactly 5 times', async () => {
|
|
515
|
+
if (!serverOnline)
|
|
516
|
+
return;
|
|
517
|
+
await mc.command('/function range_test:__load');
|
|
518
|
+
await mc.command('/function range_test:count_to_five');
|
|
519
|
+
await mc.ticks(10);
|
|
520
|
+
const counter = await mc.scoreboard('#range', 'counter');
|
|
521
|
+
expect(counter).toBe(5);
|
|
522
|
+
console.log(` for-range 0..5 → counter=${counter} (expect 5) ✓`);
|
|
523
|
+
});
|
|
524
|
+
// Scenario F: function return value propagation
|
|
525
|
+
// Verifies: $ret from callee is correctly captured in caller's variable
|
|
526
|
+
test('F: function return value — triple(4) = 12', async () => {
|
|
527
|
+
if (!serverOnline)
|
|
528
|
+
return;
|
|
529
|
+
await mc.command('/function nested_test:__load');
|
|
530
|
+
await mc.command('/function nested_test:run_nested');
|
|
531
|
+
await mc.ticks(10);
|
|
532
|
+
const result = await mc.scoreboard('#nested', 'result');
|
|
533
|
+
expect(result).toBe(12); // triple(4) = 4*3 = 12
|
|
534
|
+
console.log(` triple(4) = ${result} (expect 12) ✓`);
|
|
535
|
+
});
|
|
536
|
+
// Scenario G: match dispatches to correct branch
|
|
537
|
+
// Verifies: match statement selects right arm for values 1, 2, 3, and default
|
|
538
|
+
test('G: match statement dispatches to correct branch', async () => {
|
|
539
|
+
if (!serverOnline)
|
|
540
|
+
return;
|
|
541
|
+
await mc.command('/function match_test:__load');
|
|
542
|
+
// Test match on value 2
|
|
543
|
+
await mc.command('/scoreboard players set $p0 rs 2');
|
|
544
|
+
await mc.command('/function match_test:classify');
|
|
545
|
+
await mc.ticks(5);
|
|
546
|
+
let out = await mc.scoreboard('#match', 'out');
|
|
547
|
+
expect(out).toBe(20);
|
|
548
|
+
console.log(` match(2) → out=${out} (expect 20) ✓`);
|
|
549
|
+
// Test match on value 3
|
|
550
|
+
await mc.command('/scoreboard players set $p0 rs 3');
|
|
551
|
+
await mc.command('/function match_test:classify');
|
|
552
|
+
await mc.ticks(5);
|
|
553
|
+
out = await mc.scoreboard('#match', 'out');
|
|
554
|
+
expect(out).toBe(30);
|
|
555
|
+
console.log(` match(3) → out=${out} (expect 30) ✓`);
|
|
556
|
+
// Test default branch (value 99)
|
|
557
|
+
await mc.command('/scoreboard players set $p0 rs 99');
|
|
558
|
+
await mc.command('/function match_test:classify');
|
|
559
|
+
await mc.ticks(5);
|
|
560
|
+
out = await mc.scoreboard('#match', 'out');
|
|
561
|
+
expect(out).toBe(-1);
|
|
562
|
+
console.log(` match(99) → out=${out} (expect -1, default) ✓`);
|
|
563
|
+
});
|
|
564
|
+
// Scenario H: while loop counts down from 10 to 0
|
|
565
|
+
// Verifies: while loop body executes correct number of iterations
|
|
566
|
+
test('H: while loop counts down 10 steps', async () => {
|
|
567
|
+
if (!serverOnline)
|
|
568
|
+
return;
|
|
569
|
+
await mc.command('/function while_test:__load');
|
|
570
|
+
await mc.command('/function while_test:countdown');
|
|
571
|
+
await mc.ticks(10);
|
|
572
|
+
const i = await mc.scoreboard('#wloop', 'i');
|
|
573
|
+
const steps = await mc.scoreboard('#wloop', 'steps');
|
|
574
|
+
expect(i).toBe(0);
|
|
575
|
+
expect(steps).toBe(10);
|
|
576
|
+
console.log(` while countdown: i=${i} (expect 0), steps=${steps} (expect 10) ✓`);
|
|
577
|
+
});
|
|
578
|
+
// Scenario I: nested if/else boundary classification
|
|
579
|
+
// Verifies: correct branch taken at boundaries (0, 50, 100)
|
|
580
|
+
test('I: nested if/else boundary classification', async () => {
|
|
581
|
+
if (!serverOnline)
|
|
582
|
+
return;
|
|
583
|
+
await mc.command('/function boundary_test:__load');
|
|
584
|
+
// Test x=0 → tier 0
|
|
585
|
+
await mc.command('/scoreboard players set #boundary input 0');
|
|
586
|
+
await mc.command('/function boundary_test:classify_score');
|
|
587
|
+
await mc.ticks(5);
|
|
588
|
+
let tier = await mc.scoreboard('#boundary', 'tier');
|
|
589
|
+
expect(tier).toBe(0);
|
|
590
|
+
console.log(` classify(0) → tier=${tier} (expect 0) ✓`);
|
|
591
|
+
// Test x=50 → tier 1 (> 0 but not > 50)
|
|
592
|
+
await mc.command('/scoreboard players set #boundary input 50');
|
|
593
|
+
await mc.command('/function boundary_test:classify_score');
|
|
594
|
+
await mc.ticks(5);
|
|
595
|
+
tier = await mc.scoreboard('#boundary', 'tier');
|
|
596
|
+
expect(tier).toBe(1);
|
|
597
|
+
console.log(` classify(50) → tier=${tier} (expect 1) ✓`);
|
|
598
|
+
// Test x=51 → tier 2 (> 50 but not > 100)
|
|
599
|
+
await mc.command('/scoreboard players set #boundary input 51');
|
|
600
|
+
await mc.command('/function boundary_test:classify_score');
|
|
601
|
+
await mc.ticks(5);
|
|
602
|
+
tier = await mc.scoreboard('#boundary', 'tier');
|
|
603
|
+
expect(tier).toBe(2);
|
|
604
|
+
console.log(` classify(51) → tier=${tier} (expect 2) ✓`);
|
|
605
|
+
// Test x=101 → tier 3
|
|
606
|
+
await mc.command('/scoreboard players set #boundary input 101');
|
|
607
|
+
await mc.command('/function boundary_test:classify_score');
|
|
608
|
+
await mc.ticks(5);
|
|
609
|
+
tier = await mc.scoreboard('#boundary', 'tier');
|
|
610
|
+
expect(tier).toBe(3);
|
|
611
|
+
console.log(` classify(101) → tier=${tier} (expect 3) ✓`);
|
|
612
|
+
});
|
|
613
|
+
// Scenario J: entity summon and query
|
|
614
|
+
// Verifies: entities spawned via compiled function are queryable
|
|
615
|
+
test('J: summon entities via compiled function', async () => {
|
|
616
|
+
if (!serverOnline)
|
|
617
|
+
return;
|
|
618
|
+
await mc.command('/kill @e[type=minecraft:armor_stand]');
|
|
619
|
+
await mc.ticks(2);
|
|
620
|
+
await mc.command('/function tag_test:__load');
|
|
621
|
+
await mc.command('/function tag_test:tag_entities');
|
|
622
|
+
await mc.ticks(5);
|
|
623
|
+
const stands = await mc.entities('@e[type=minecraft:armor_stand]');
|
|
624
|
+
expect(stands.length).toBe(3);
|
|
625
|
+
console.log(` Summoned 3 armor_stands via tag_test, found: ${stands.length} ✓`);
|
|
626
|
+
await mc.command('/kill @e[type=minecraft:armor_stand]');
|
|
627
|
+
});
|
|
628
|
+
// Scenario K: arithmetic order of operations
|
|
629
|
+
// Verifies: MC scoreboard arithmetic matches expected evaluation order
|
|
630
|
+
test('K: arithmetic order of operations', async () => {
|
|
631
|
+
if (!serverOnline)
|
|
632
|
+
return;
|
|
633
|
+
await mc.command('/function order_test:__load');
|
|
634
|
+
await mc.command('/function order_test:math_order');
|
|
635
|
+
await mc.ticks(10);
|
|
636
|
+
const r1 = await mc.scoreboard('#order', 'r1');
|
|
637
|
+
const r2 = await mc.scoreboard('#order', 'r2');
|
|
638
|
+
const r3 = await mc.scoreboard('#order', 'r3');
|
|
639
|
+
// a + b * c = 2 + 3*4 = 14 (if precedence respected) or (2+3)*4 = 20 (left-to-right)
|
|
640
|
+
// MC scoreboard does left-to-right, so compiler may emit either depending on lowering
|
|
641
|
+
// (a + b) * c = 5 * 4 = 20 (explicit parens)
|
|
642
|
+
expect(r2).toBe(20); // This one is unambiguous
|
|
643
|
+
// 100 / 3 = 33 (integer division)
|
|
644
|
+
expect(r3).toBe(33);
|
|
645
|
+
console.log(` r1=${r1}, r2=${r2} (expect 20), r3=${r3} (expect 33) ✓`);
|
|
646
|
+
});
|
|
647
|
+
// Scenario L: scoreboard read-modify-write chain (1 → 2 → 4 → 8)
|
|
648
|
+
// Verifies: sequential RMW operations don't lose intermediate state
|
|
649
|
+
test('L: scoreboard RMW chain — 1*2*2*2 = 8', async () => {
|
|
650
|
+
if (!serverOnline)
|
|
651
|
+
return;
|
|
652
|
+
await mc.command('/function rmw_test:__load');
|
|
653
|
+
await mc.command('/function rmw_test:chain_rmw');
|
|
654
|
+
await mc.ticks(10);
|
|
655
|
+
const v = await mc.scoreboard('#rmw', 'v');
|
|
656
|
+
expect(v).toBe(8);
|
|
657
|
+
console.log(` RMW chain: 1→2→4→8, got ${v} (expect 8) ✓`);
|
|
658
|
+
});
|
|
659
|
+
});
|
|
660
|
+
describe('MC Integration - New Features', () => {
|
|
661
|
+
test('impl-test.mcrs: Timer::new/start/tick/done works in-game', async () => {
|
|
662
|
+
if (!serverOnline)
|
|
663
|
+
return;
|
|
664
|
+
await mc.command('/scoreboard players set #impl done 0');
|
|
665
|
+
await mc.command('/scoreboard players set timer_ticks rs 0');
|
|
666
|
+
await mc.command('/scoreboard players set timer_active rs 0');
|
|
667
|
+
await mc.command('/function impl_test:__load').catch(() => { });
|
|
668
|
+
await mc.command('/function impl_test:test');
|
|
669
|
+
await mc.ticks(5);
|
|
670
|
+
const done = await mc.scoreboard('#impl', 'done');
|
|
671
|
+
const ticks = await mc.scoreboard('timer_ticks', 'rs');
|
|
672
|
+
expect(done).toBe(1);
|
|
673
|
+
expect(ticks).toBe(3);
|
|
674
|
+
});
|
|
675
|
+
test('timeout-test.mcrs: setTimeout executes after delay', async () => {
|
|
676
|
+
if (!serverOnline)
|
|
677
|
+
return;
|
|
678
|
+
await mc.command('/scoreboard players set #timeout fired 0');
|
|
679
|
+
await mc.command('/function timeout_test:__load').catch(() => { });
|
|
680
|
+
await mc.command('/function timeout_test:start');
|
|
681
|
+
await mc.ticks(10);
|
|
682
|
+
expect(await mc.scoreboard('#timeout', 'fired')).toBe(0);
|
|
683
|
+
await mc.ticks(15);
|
|
684
|
+
expect(await mc.scoreboard('#timeout', 'fired')).toBe(1);
|
|
685
|
+
});
|
|
686
|
+
test('interval-test.mcrs: setInterval repeats on schedule', async () => {
|
|
687
|
+
if (!serverOnline)
|
|
688
|
+
return;
|
|
689
|
+
await mc.command('/scoreboard players set #interval ticks 0');
|
|
690
|
+
await mc.command('/function interval_test:__load').catch(() => { });
|
|
691
|
+
await mc.command('/function interval_test:start');
|
|
692
|
+
await mc.ticks(70);
|
|
693
|
+
const count = await mc.scoreboard('#interval', 'ticks');
|
|
694
|
+
expect(count).toBeGreaterThanOrEqual(3);
|
|
695
|
+
expect(count).toBeLessThanOrEqual(3);
|
|
696
|
+
});
|
|
697
|
+
test('is-check-test.mcrs: foreach is-narrowing correctly matches entity types', async () => {
|
|
698
|
+
if (!serverOnline)
|
|
699
|
+
return;
|
|
700
|
+
await mc.fullReset({ clearArea: false, killEntities: true, resetScoreboards: false });
|
|
701
|
+
await mc.command('/forceload add 0 0').catch(() => { }); // Ensure chunk is loaded
|
|
702
|
+
await mc.command('/scoreboard objectives add armor_stands dummy').catch(() => { });
|
|
703
|
+
await mc.command('/scoreboard objectives add items dummy').catch(() => { });
|
|
704
|
+
await mc.command('/scoreboard players set #is_check armor_stands 0');
|
|
705
|
+
await mc.command('/scoreboard players set #is_check items 0');
|
|
706
|
+
await mc.command('/function is_check_test:__load').catch(() => { });
|
|
707
|
+
// Spawn 2 armor_stands and 1 item (all persist without players)
|
|
708
|
+
await mc.command('/summon minecraft:armor_stand 0 65 0 {Tags:["is_check_target"],NoGravity:1b}');
|
|
709
|
+
await mc.command('/summon minecraft:armor_stand 2 65 0 {Tags:["is_check_target"],NoGravity:1b}');
|
|
710
|
+
await mc.command('/summon minecraft:item 4 65 0 {Tags:["is_check_target"],Item:{id:"minecraft:stone",count:1},Age:-32768}');
|
|
711
|
+
await mc.ticks(5);
|
|
712
|
+
await mc.command('/function is_check_test:check_types');
|
|
713
|
+
await mc.ticks(5);
|
|
714
|
+
const armorStands = await mc.scoreboard('#is_check', 'armor_stands');
|
|
715
|
+
const items = await mc.scoreboard('#is_check', 'items');
|
|
716
|
+
expect(armorStands).toBe(2); // 2 armor_stands matched
|
|
717
|
+
expect(items).toBe(1); // 1 item matched
|
|
718
|
+
await mc.command('/function is_check_test:cleanup').catch(() => { });
|
|
719
|
+
});
|
|
720
|
+
test('event-test.mcrs: @on(PlayerDeath) compiles and loads', async () => {
|
|
721
|
+
if (!serverOnline)
|
|
722
|
+
return;
|
|
723
|
+
// Verify the event system compiles correctly
|
|
724
|
+
await mc.command('/function event_test:__load').catch(() => { });
|
|
725
|
+
await mc.ticks(5);
|
|
726
|
+
// Verify the trigger function exists
|
|
727
|
+
const result = await mc.command('/function event_test:trigger_fake_death');
|
|
728
|
+
expect(result.ok).toBe(true);
|
|
729
|
+
// Verify __tick exists (event dispatcher)
|
|
730
|
+
const tickResult = await mc.command('/function event_test:__tick').catch(() => ({ ok: false }));
|
|
731
|
+
expect(tickResult.ok).toBe(true);
|
|
732
|
+
});
|
|
733
|
+
});
|
|
734
|
+
describe('MC Integration - Extended Coverage', () => {
|
|
735
|
+
test('struct-test.mcrs: struct instantiation and field access', async () => {
|
|
736
|
+
if (!serverOnline)
|
|
737
|
+
return;
|
|
738
|
+
writeFixtureFile('struct-test.mcrs', 'struct_test');
|
|
739
|
+
await mc.reload();
|
|
740
|
+
await mc.command('/function struct_test:__load').catch(() => { });
|
|
741
|
+
await mc.command('/function struct_test:test_struct');
|
|
742
|
+
await mc.ticks(5);
|
|
743
|
+
expect(await mc.scoreboard('#struct_x', 'rs')).toBe(10);
|
|
744
|
+
expect(await mc.scoreboard('#struct_y', 'rs')).toBe(64);
|
|
745
|
+
expect(await mc.scoreboard('#struct_z', 'rs')).toBe(-5);
|
|
746
|
+
expect(await mc.scoreboard('#struct_x2', 'rs')).toBe(15); // 10+5
|
|
747
|
+
expect(await mc.scoreboard('#struct_z2', 'rs')).toBe(-10); // -5*2
|
|
748
|
+
expect(await mc.scoreboard('#struct_alive', 'rs')).toBe(1);
|
|
749
|
+
expect(await mc.scoreboard('#struct_score', 'rs')).toBe(100);
|
|
750
|
+
});
|
|
751
|
+
test('enum-test.mcrs: enum values and match', async () => {
|
|
752
|
+
if (!serverOnline)
|
|
753
|
+
return;
|
|
754
|
+
writeFixtureFile('enum-test.mcrs', 'enum_test');
|
|
755
|
+
await mc.reload();
|
|
756
|
+
await mc.command('/function enum_test:__load').catch(() => { });
|
|
757
|
+
await mc.command('/function enum_test:test_enum');
|
|
758
|
+
await mc.ticks(5);
|
|
759
|
+
expect(await mc.scoreboard('#enum_phase', 'rs')).toBe(2); // Playing=2
|
|
760
|
+
expect(await mc.scoreboard('#enum_match', 'rs')).toBe(2); // matched Playing
|
|
761
|
+
expect(await mc.scoreboard('#enum_rank', 'rs')).toBe(10); // Diamond=10
|
|
762
|
+
expect(await mc.scoreboard('#enum_high', 'rs')).toBe(1); // Diamond > Gold
|
|
763
|
+
});
|
|
764
|
+
test('array-test.mcrs: array operations', async () => {
|
|
765
|
+
if (!serverOnline)
|
|
766
|
+
return;
|
|
767
|
+
writeFixtureFile('array-test.mcrs', 'array_test');
|
|
768
|
+
await mc.reload();
|
|
769
|
+
await mc.command('/function array_test:__load').catch(() => { });
|
|
770
|
+
await mc.command('/function array_test:test_array');
|
|
771
|
+
await mc.ticks(5);
|
|
772
|
+
expect(await mc.scoreboard('#arr_0', 'rs')).toBe(10);
|
|
773
|
+
expect(await mc.scoreboard('#arr_2', 'rs')).toBe(30);
|
|
774
|
+
expect(await mc.scoreboard('#arr_4', 'rs')).toBe(50);
|
|
775
|
+
expect(await mc.scoreboard('#arr_len', 'rs')).toBe(5);
|
|
776
|
+
expect(await mc.scoreboard('#arr_sum', 'rs')).toBe(150); // 10+20+30+40+50
|
|
777
|
+
expect(await mc.scoreboard('#arr_push', 'rs')).toBe(4); // [1,2,3,4].len
|
|
778
|
+
expect(await mc.scoreboard('#arr_pop', 'rs')).toBe(4); // popped value
|
|
779
|
+
});
|
|
780
|
+
test('break-continue-test.mcrs: break and continue statements', async () => {
|
|
781
|
+
if (!serverOnline)
|
|
782
|
+
return;
|
|
783
|
+
writeFixtureFile('break-continue-test.mcrs', 'break_continue_test');
|
|
784
|
+
await mc.reload();
|
|
785
|
+
await mc.command('/function break_continue_test:__load').catch(() => { });
|
|
786
|
+
await mc.command('/function break_continue_test:test_break_continue');
|
|
787
|
+
await mc.ticks(10);
|
|
788
|
+
expect(await mc.scoreboard('#break_at', 'rs')).toBe(5);
|
|
789
|
+
expect(await mc.scoreboard('#sum_evens', 'rs')).toBe(20); // 0+2+4+6+8
|
|
790
|
+
expect(await mc.scoreboard('#while_break', 'rs')).toBe(7);
|
|
791
|
+
expect(await mc.scoreboard('#nested_break', 'rs')).toBe(3); // outer completes 3 times
|
|
792
|
+
});
|
|
793
|
+
test('match-range-test.mcrs: match with range patterns', async () => {
|
|
794
|
+
if (!serverOnline)
|
|
795
|
+
return;
|
|
796
|
+
writeFixtureFile('match-range-test.mcrs', 'match_range_test');
|
|
797
|
+
await mc.reload();
|
|
798
|
+
await mc.command('/function match_range_test:__load').catch(() => { });
|
|
799
|
+
await mc.command('/function match_range_test:test_match_range');
|
|
800
|
+
await mc.ticks(5);
|
|
801
|
+
expect(await mc.scoreboard('#grade', 'rs')).toBe(4); // score=85 → B
|
|
802
|
+
expect(await mc.scoreboard('#boundary_59', 'rs')).toBe(1); // 59 matches 0..59
|
|
803
|
+
expect(await mc.scoreboard('#boundary_60', 'rs')).toBe(2); // 60 matches 60..100
|
|
804
|
+
expect(await mc.scoreboard('#neg_range', 'rs')).toBe(1); // -5 matches ..0
|
|
805
|
+
});
|
|
806
|
+
test('foreach-at-test.mcrs: foreach with at @s context', async () => {
|
|
807
|
+
if (!serverOnline)
|
|
808
|
+
return;
|
|
809
|
+
writeFixtureFile('foreach-at-test.mcrs', 'foreach_at_test');
|
|
810
|
+
await mc.reload();
|
|
811
|
+
await mc.fullReset({ clearArea: false, killEntities: true, resetScoreboards: false });
|
|
812
|
+
await mc.command('/function foreach_at_test:setup').catch(() => { });
|
|
813
|
+
await mc.command('/function foreach_at_test:test_foreach_at');
|
|
814
|
+
await mc.ticks(10);
|
|
815
|
+
expect(await mc.scoreboard('#foreach_count', 'rs')).toBe(3);
|
|
816
|
+
expect(await mc.scoreboard('#foreach_at_count', 'rs')).toBe(3);
|
|
817
|
+
});
|
|
818
|
+
});
|
|
819
|
+
//# sourceMappingURL=mc-integration.test.js.map
|