minecraft-datapack-language 17.0.1__tar.gz → 17.0.3__tar.gz
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.
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/PKG-INFO +1 -1
- minecraft_datapack_language-17.0.3/docs/_data/version.yml +3 -0
- minecraft_datapack_language-17.0.3/docs/_docs/examples.md +194 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/docs/_docs/getting-started.md +3 -3
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/minecraft_datapack_language/_version.py +3 -3
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/minecraft_datapack_language.egg-info/PKG-INFO +1 -1
- minecraft_datapack_language-17.0.1/docs/_data/version.yml +0 -3
- minecraft_datapack_language-17.0.1/docs/_docs/examples.md +0 -444
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/.cursor/rules/aispec.mdc +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/.github/actions/mdl-compile/action.yml +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/.github/workflows/ci.yml +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/.github/workflows/docs.yml +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/.github/workflows/pypi.yml +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/.github/workflows/release.yml +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/.github/workflows/update-website-version.yml +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/.gitignore +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/.mdl-out-test1/data/minecraft/tags/function/load.json +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/.mdl-out-test1/data/test1/function/load.mcfunction +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/.mdl-out-test1/data/test1/function/load1.mcfunction +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/.mdl-out-test1/data/test1/function/main.mcfunction +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/.mdl-out-test1/data/test1/function/main__else_1.mcfunction +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/.mdl-out-test1/data/test1/function/main__if_1.mcfunction +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/.mdl-out-test1/data/test1/function/testfunc.mcfunction +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/.mdl-out-test1/data/test1/function/testfunc__while_1.mcfunction +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/.mdl-out-test1/pack.mcmeta +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/.mdl-out-test1-confirm/data/minecraft/tags/function/load.json +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/.mdl-out-test1-confirm/data/test1/function/load.mcfunction +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/.mdl-out-test1-confirm/data/test1/function/load1.mcfunction +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/.mdl-out-test1-confirm/data/test1/function/main.mcfunction +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/.mdl-out-test1-confirm/data/test1/function/main__else_1.mcfunction +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/.mdl-out-test1-confirm/data/test1/function/main__if_1.mcfunction +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/.mdl-out-test1-confirm/data/test1/function/testfunc.mcfunction +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/.mdl-out-test1-confirm/data/test1/function/testfunc__while_1.mcfunction +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/.mdl-out-test1-confirm/pack.mcmeta +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/.tmp_compile_bwe.py +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/.tmp_compile_bwe2.py +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/.tmp_compile_bwe3.py +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/.tmp_verify_loops.py +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/LICENSE +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/Makefile +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/README.md +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/advancements/diamond_sword.json +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/advancements/first_spell.json +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/advancements/other_advancement.json +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/advancements/test_advancement.json +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/comprehensive_error_test.mdl +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/data/complex_scopes/function/main_else_8.mcfunction +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/data/complex_scopes/function/main_if_8.mcfunction +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/data/comprehensive_control_test/function/test_basic_if_if_2.mcfunction +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/data/comprehensive_control_test/function/test_basic_if_if_3.mcfunction +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/data/comprehensive_control_test/function/test_basic_if_if_4.mcfunction +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/data/comprehensive_control_test/function/test_complex_if_if_2.mcfunction +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/data/comprehensive_control_test/function/test_complex_if_if_3.mcfunction +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/data/comprehensive_control_test/function/test_complex_if_if_4.mcfunction +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/data/comprehensive_control_test/function/test_complex_if_if_5.mcfunction +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/data/comprehensive_control_test/function/test_control_complex_expressions_if_2.mcfunction +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/data/comprehensive_control_test/function/test_control_complex_expressions_if_4.mcfunction +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/data/comprehensive_control_test/function/test_control_variable_substitution_if_2.mcfunction +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/data/comprehensive_control_test/function/test_control_with_raw_if_2.mcfunction +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/data/comprehensive_control_test/function/test_control_with_scopes_if_5.mcfunction +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/data/comprehensive_control_test/function/test_control_with_tellraw_else_2.mcfunction +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/data/comprehensive_control_test/function/test_control_with_tellraw_if_2.mcfunction +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/data/comprehensive_control_test/function/test_control_with_tellraw_if_4.mcfunction +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/data/comprehensive_control_test/function/test_if_else_else_2.mcfunction +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/data/comprehensive_control_test/function/test_if_else_else_3.mcfunction +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/data/comprehensive_control_test/function/test_if_else_else_4.mcfunction +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/data/comprehensive_control_test/function/test_if_else_if_2.mcfunction +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/data/comprehensive_control_test/function/test_if_else_if_3.mcfunction +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/data/comprehensive_control_test/function/test_if_else_if_4.mcfunction +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/data/comprehensive_control_test/function/test_nested_if_else_2.mcfunction +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/data/comprehensive_control_test/function/test_nested_if_else_3.mcfunction +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/data/comprehensive_control_test/function/test_nested_if_else_3_else_0.mcfunction +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/data/comprehensive_control_test/function/test_nested_if_else_3_if_0.mcfunction +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/data/comprehensive_control_test/function/test_nested_if_if_2.mcfunction +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/data/comprehensive_control_test/function/test_nested_if_if_2_else_0.mcfunction +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/data/comprehensive_control_test/function/test_nested_if_if_2_if_0.mcfunction +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/data/comprehensive_control_test/function/test_nested_if_if_2_if_0_else_0.mcfunction +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/data/comprehensive_control_test/function/test_nested_if_if_2_if_0_if_0.mcfunction +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/data/comprehensive_control_test/function/test_nested_if_if_3.mcfunction +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/data/comprehensive_control_test/function/test_nested_if_if_3_else_0.mcfunction +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/data/comprehensive_control_test/function/test_nested_if_if_3_if_0.mcfunction +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/data/control_test/function/main_if_0.mcfunction +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/data/control_test/function/main_while_1.mcfunction +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/data/control_test/function/main_while_body_1.mcfunction +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/data/if_test/function/main_else_1.mcfunction +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/data/if_test/function/main_if_1.mcfunction +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/data/test/function/conditional_demo_else_3.mcfunction +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/data/test/function/conditional_demo_if_3.mcfunction +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/data/test/function/conditional_demo_if_3_else_0.mcfunction +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/data/test/function/conditional_demo_if_3_if_0.mcfunction +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/data/test/function/conditional_demo_if_3_if_0_else_0.mcfunction +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/data/test/function/conditional_demo_if_3_if_0_if_0.mcfunction +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/data/test/function/countdown_while_1.mcfunction +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/data/test/function/countdown_while_body_1.mcfunction +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/data/test/function/increase_tick_per_player_if_1.mcfunction +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/data/test/function/increase_tick_per_player_if_1_if_0.mcfunction +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/data/test/function/loop_demo_while_2.mcfunction +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/data/test/function/loop_demo_while_body_2.mcfunction +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/data/test/function/loop_demo_while_body_2_else_0.mcfunction +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/data/test/function/loop_demo_while_body_2_if_0.mcfunction +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/data/test/function/loop_demo_while_body_2_if_2.mcfunction +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/data/test/function/main_else_0.mcfunction +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/data/test/function/main_else_1.mcfunction +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/data/test/function/main_else_5.mcfunction +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/data/test/function/main_if_0.mcfunction +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/data/test/function/main_if_1.mcfunction +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/data/test/function/main_if_5.mcfunction +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/data/test/function/main_while_0.mcfunction +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/data/test/function/main_while_1.mcfunction +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/data/test/function/main_while_2.mcfunction +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/data/test/function/main_while_6.mcfunction +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/data/test/function/main_while_7.mcfunction +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/data/test/function/main_while_body_0.mcfunction +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/data/test/function/main_while_body_1.mcfunction +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/data/test/function/main_while_body_2.mcfunction +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/data/test/function/main_while_body_6.mcfunction +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/data/test/function/main_while_body_7.mcfunction +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/data/test/function/scoreboard_demo_while_3.mcfunction +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/data/test/function/scoreboard_demo_while_body_3.mcfunction +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/data/test/function/scoreboard_demo_while_body_3_if_1.mcfunction +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/data/test/function/start_game_if_1.mcfunction +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/data/test/function/start_game_if_5.mcfunction +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/data/test/function/start_game_while_4.mcfunction +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/data/test/function/start_game_while_body_4.mcfunction +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/data/test/function/test_basic_if_if_1.mcfunction +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/data/test/function/test_basic_if_if_2.mcfunction +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/data/test/function/test_basic_if_if_3.mcfunction +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/data/test/function/test_basic_while_while_2.mcfunction +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/data/test/function/test_basic_while_while_4.mcfunction +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/data/test/function/test_basic_while_while_body_2.mcfunction +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/data/test/function/test_basic_while_while_body_4.mcfunction +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/data/test/function/test_complex_if_if_1.mcfunction +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/data/test/function/test_complex_if_if_2.mcfunction +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/data/test/function/test_complex_if_if_3.mcfunction +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/data/test/function/test_complex_if_if_4.mcfunction +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/data/test/function/test_complex_nested_control_while_2.mcfunction +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/data/test/function/test_complex_nested_control_while_body_2.mcfunction +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/data/test/function/test_complex_nested_control_while_body_2_else_1.mcfunction +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/data/test/function/test_complex_nested_control_while_body_2_else_1_if_1.mcfunction +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/data/test/function/test_complex_nested_control_while_body_2_if_1.mcfunction +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/data/test/function/test_complex_nested_control_while_body_2_if_1_if_1.mcfunction +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/data/test/function/test_complex_nested_control_while_body_2_if_2.mcfunction +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/data/test/function/test_complex_scope_scenarios_if_1.mcfunction +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/data/test/function/test_complex_scope_scenarios_if_2.mcfunction +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/data/test/function/test_complex_scope_scenarios_if_3.mcfunction +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/data/test/function/test_complex_scope_scenarios_if_4.mcfunction +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/data/test/function/test_complex_while_while_3.mcfunction +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/data/test/function/test_complex_while_while_6.mcfunction +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/data/test/function/test_complex_while_while_body_3.mcfunction +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/data/test/function/test_complex_while_while_body_6.mcfunction +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/data/test/function/test_control_complex_expressions_if_1.mcfunction +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/data/test/function/test_control_complex_expressions_if_3.mcfunction +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/data/test/function/test_control_complex_expressions_while_2.mcfunction +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/data/test/function/test_control_complex_expressions_while_body_2.mcfunction +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/data/test/function/test_control_error_handling_if_1.mcfunction +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/data/test/function/test_control_error_handling_if_2.mcfunction +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/data/test/function/test_control_error_handling_while_3.mcfunction +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/data/test/function/test_control_error_handling_while_body_3.mcfunction +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/data/test/function/test_control_performance_while_2.mcfunction +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/data/test/function/test_control_performance_while_4.mcfunction +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/data/test/function/test_control_performance_while_body_2.mcfunction +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/data/test/function/test_control_performance_while_body_2_if_1.mcfunction +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/data/test/function/test_control_performance_while_body_4.mcfunction +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/data/test/function/test_control_performance_while_body_4_while_2.mcfunction +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/data/test/function/test_control_performance_while_body_4_while_body_2.mcfunction +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/data/test/function/test_control_scoped_functions_if_1.mcfunction +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/data/test/function/test_control_scoped_functions_if_3.mcfunction +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/data/test/function/test_control_scoped_functions_while_2.mcfunction +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/data/test/function/test_control_scoped_functions_while_body_2.mcfunction +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/data/test/function/test_control_variable_substitution_if_1.mcfunction +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/data/test/function/test_control_variable_substitution_if_3.mcfunction +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/data/test/function/test_control_variable_substitution_while_2.mcfunction +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/data/test/function/test_control_variable_substitution_while_body_2.mcfunction +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/data/test/function/test_control_with_assignments_if_1.mcfunction +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/data/test/function/test_control_with_assignments_if_3.mcfunction +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/data/test/function/test_control_with_assignments_while_2.mcfunction +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/data/test/function/test_control_with_assignments_while_body_2.mcfunction +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/data/test/function/test_control_with_functions_if_1.mcfunction +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/data/test/function/test_control_with_functions_if_3.mcfunction +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/data/test/function/test_control_with_functions_while_2.mcfunction +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/data/test/function/test_control_with_functions_while_body_2.mcfunction +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/data/test/function/test_control_with_raw_if_1.mcfunction +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/data/test/function/test_control_with_raw_while_2.mcfunction +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/data/test/function/test_control_with_raw_while_body_2.mcfunction +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/data/test/function/test_control_with_scopes_if_1.mcfunction +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/data/test/function/test_control_with_scopes_if_2.mcfunction +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/data/test/function/test_control_with_scopes_if_3.mcfunction +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/data/test/function/test_control_with_scopes_if_4.mcfunction +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/data/test/function/test_control_with_tellraw_else_1.mcfunction +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/data/test/function/test_control_with_tellraw_if_1.mcfunction +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/data/test/function/test_control_with_tellraw_if_3.mcfunction +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/data/test/function/test_control_with_tellraw_while_2.mcfunction +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/data/test/function/test_control_with_tellraw_while_body_2.mcfunction +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/data/test/function/test_if_else_else_1.mcfunction +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/data/test/function/test_if_else_else_2.mcfunction +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/data/test/function/test_if_else_else_3.mcfunction +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/data/test/function/test_if_else_if_1.mcfunction +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/data/test/function/test_if_else_if_2.mcfunction +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/data/test/function/test_if_else_if_3.mcfunction +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/data/test/function/test_main_while_0.mcfunction +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/data/test/function/test_main_while_body_0.mcfunction +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/data/test/function/test_nested_if_else_1.mcfunction +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/data/test/function/test_nested_if_else_2.mcfunction +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/data/test/function/test_nested_if_else_2_else_0.mcfunction +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/data/test/function/test_nested_if_else_2_if_0.mcfunction +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/data/test/function/test_nested_if_if_1.mcfunction +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/data/test/function/test_nested_if_if_1_else_0.mcfunction +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/data/test/function/test_nested_if_if_1_if_0.mcfunction +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/data/test/function/test_nested_if_if_1_if_0_else_0.mcfunction +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/data/test/function/test_nested_if_if_1_if_0_if_0.mcfunction +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/data/test/function/test_nested_if_if_2.mcfunction +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/data/test/function/test_nested_if_if_2_else_0.mcfunction +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/data/test/function/test_nested_if_if_2_if_0.mcfunction +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/data/test/function/test_scope_conditionals_if_1.mcfunction +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/data/test/function/test_scope_conditionals_if_2.mcfunction +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/data/test/function/test_scope_conditionals_if_3.mcfunction +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/data/test/function/test_scope_conditionals_while_4.mcfunction +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/data/test/function/test_scope_conditionals_while_5.mcfunction +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/data/test/function/test_scope_conditionals_while_body_4.mcfunction +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/data/test/function/test_scope_conditionals_while_body_5.mcfunction +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/data/test/function/test_scope_interactions_if_1.mcfunction +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/data/test/function/test_scope_interactions_if_2.mcfunction +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/data/test/function/test_scope_interactions_if_3.mcfunction +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/data/test/function/test_while_break_while_2.mcfunction +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/data/test/function/test_while_break_while_body_2.mcfunction +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/data/test/function/test_while_break_while_body_2_if_1.mcfunction +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/data/test/function/test_while_break_while_body_2_if_2.mcfunction +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/data/test/function/tick_if_1.mcfunction +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/data/test/function/tick_if_2.mcfunction +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/data/test/function/tick_if_2_while_1.mcfunction +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/data/test/function/tick_if_2_while_body_1.mcfunction +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/data/test/function/weapon_effects_else_1.mcfunction +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/data/test/function/weapon_effects_if_1.mcfunction +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/data/test_final_template_fixed/function/main_else_8.mcfunction +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/data/test_final_template_fixed/function/main_if_8.mcfunction +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/data/while_test/function/main_while_0.mcfunction +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/data/while_test/function/main_while_body_0.mcfunction +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/dist.zip +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/docs/.env +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/docs/404.html +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/docs/Gemfile +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/docs/README.md +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/docs/_config.yml +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/docs/_docs/cli-reference.md +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/docs/_docs/contributing.md +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/docs/_docs/docs-hub.md +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/docs/_docs/documentation.md +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/docs/_docs/language-reference.md +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/docs/_docs/multi-file-projects.md +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/docs/_docs/python-bindings.md +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/docs/_docs/vscode-extension.md +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/docs/_includes/head-custom.html +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/docs/_includes/navigation.html +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/docs/_layouts/default.html +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/docs/_layouts/page.html +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/docs/_plugins/test_version.rb +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/docs/_plugins/version_reader.rb +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/docs/assets/css/style.css +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/docs/docs.md +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/docs/downloads.md +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/docs/icons/favicon-16.png +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/docs/icons/favicon-32.png +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/docs/icons/favicon-48.png +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/docs/icons/favicon-64.png +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/docs/icons/icon-1024.png +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/docs/icons/icon-128.png +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/docs/icons/icon-256.png +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/docs/icons/icon-512.png +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/docs/icons/icon-64.png +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/docs/index.md +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/examples/hello_world.mdl +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/examples/macros_example.mdl +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/examples/scope_examples.mdl +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/examples/simple_counter.mdl +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/icons/favicon-16.png +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/icons/favicon-32.png +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/icons/favicon-48.png +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/icons/favicon-64.png +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/icons/icon-1024.png +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/icons/icon-128.png +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/icons/icon-256.png +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/icons/icon-512.png +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/icons/icon-64.png +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/item_modifiers/diamond_sword.json +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/item_modifiers/enchant_tool.json +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/item_modifiers/test_item_modifier.json +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/loot_tables/diamond_sword.json +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/loot_tables/epic_loot.json +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/loot_tables/main_loot.json +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/loot_tables/test_loot.json +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/mdllocal.sh +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/minecraft_datapack_language/__init__.py +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/minecraft_datapack_language/ast_nodes.py +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/minecraft_datapack_language/cli.py +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/minecraft_datapack_language/dir_map.py +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/minecraft_datapack_language/mdl_compiler.py +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/minecraft_datapack_language/mdl_errors.py +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/minecraft_datapack_language/mdl_lexer.py +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/minecraft_datapack_language/mdl_linter.py +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/minecraft_datapack_language/mdl_parser.py +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/minecraft_datapack_language/python_api.py +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/minecraft_datapack_language/utils.py +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/minecraft_datapack_language.egg-info/SOURCES.txt +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/minecraft_datapack_language.egg-info/dependency_links.txt +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/minecraft_datapack_language.egg-info/entry_points.txt +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/minecraft_datapack_language.egg-info/requires.txt +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/minecraft_datapack_language.egg-info/top_level.txt +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/multi_scope_example.mdl +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/my_awesome_pack/README.md +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/my_awesome_pack/minecraft_datapack_language.mdl +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/predicates/diamond_sword.json +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/predicates/has_mana.json +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/predicates/other_predicate.json +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/predicates/test_predicate.json +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/pyproject.toml +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/pytest.ini +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/recipes/custom_pickaxe.json +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/recipes/diamond_sword.json +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/recipes/first.json +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/recipes/inlet.json +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/recipes/main_recipe.json +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/recipes/outlet.json +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/recipes/pipe.json +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/recipes/second.json +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/recipes/test_recipe.json +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/recipes/wrench.json +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/scope_demo.mdl +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/scoreboard_test.mdl +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/scripts/UpdateMDL.sh +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/scripts/bootstrap.ps1 +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/scripts/bootstrap.sh +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/scripts/build_pkg.ps1 +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/scripts/build_pkg.sh +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/scripts/dev_build.ps1 +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/scripts/dev_build.sh +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/scripts/dev_setup.ps1 +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/scripts/dev_setup.sh +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/scripts/git-bash/bootstrap-gitbash.sh +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/scripts/git-bash/build_pkg-gitbash.sh +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/scripts/git-bash/test_cli-gitbash.sh +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/scripts/release.sh +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/scripts/test_cli.ps1 +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/scripts/test_cli.sh +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/scripts/test_dev.ps1 +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/scripts/test_dev.sh +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/scripts/update_docs.sh +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/scripts/update_version_info.sh +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/setup.cfg +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/structures/diamond_sword.json +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/structures/test_structure.json +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/structures/workshop.json +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/tellraw_variables_test.mdl +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/temp_output/data/minecraft/tags/function/load.json +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/temp_output/data/test/function/helper.mcfunction +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/temp_output/data/test/function/load.mcfunction +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/temp_output/data/test/function/main.mcfunction +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/temp_output/pack.mcmeta +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/test_all_registry.mdl +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/test_complex_scenarios.mdl +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/test_comprehensive_fixes.mdl +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/test_if_else_while.mdl +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/test_project/complex_test.mdl +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/test_simple.mdl +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/tests/__init__.py +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/tests/run_all_tests.py +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/tests/test_arithmetic_codegen.py +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/tests/test_cli.py +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/tests/test_codegen_naming_and_logic.py +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/tests/test_compiler_fixes.py +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/tests/test_complex_logic_and_arithmetic.py +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/tests/test_complex_scenarios.py +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/tests/test_comprehensive_end_to_end.py +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/tests/test_examples.py +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/tests/test_global_scope.py +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/tests/test_macros.py +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/tests/test_python_api.py +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/tests/test_python_bindings.py +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/tests/test_scheduledwhile.py +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/tests/test_user_regression_test1.py +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/tmp_local_cli_out.zip +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/tmp_test1.mdl +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/tmp_test1.mdl~ +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/tmp_test1_confirm.mdl +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/vscode-extension/README.md +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/vscode-extension/icons/favicon-16.png +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/vscode-extension/icons/favicon-32.png +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/vscode-extension/icons/favicon-48.png +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/vscode-extension/icons/favicon-64.png +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/vscode-extension/icons/icon-1024.png +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/vscode-extension/icons/icon-128.png +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/vscode-extension/icons/icon-256.png +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/vscode-extension/icons/icon-512.png +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/vscode-extension/language-configuration.json +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/vscode-extension/package-lock.json +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/vscode-extension/package.json +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/vscode-extension/snippets/mdl.json +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/vscode-extension/src/extension.ts +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/vscode-extension/syntaxes/mdl.tmLanguage.json +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/vscode-extension/themes/mdl-color-theme.json +0 -0
- {minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/vscode-extension/tsconfig.json +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: minecraft-datapack-language
|
3
|
-
Version: 17.0.
|
3
|
+
Version: 17.0.3
|
4
4
|
Summary: Compile MDL language with explicit scoping into a Minecraft datapack (1.21+ ready). Features variables, control flow, error handling, and VS Code extension.
|
5
5
|
Project-URL: Homepage, https://www.mcmdl.com
|
6
6
|
Project-URL: Documentation, https://www.mcmdl.com/docs
|
@@ -0,0 +1,194 @@
|
|
1
|
+
---
|
2
|
+
layout: page
|
3
|
+
title: MDL Examples
|
4
|
+
permalink: /docs/examples/
|
5
|
+
---
|
6
|
+
|
7
|
+
This page contains working examples of MDL features.
|
8
|
+
|
9
|
+
## Basic Hello World
|
10
|
+
|
11
|
+
A simple datapack that says hello when loaded:
|
12
|
+
|
13
|
+
```mdl
|
14
|
+
pack "hello" "A simple hello world datapack" 82;
|
15
|
+
namespace "hello";
|
16
|
+
|
17
|
+
function hello:main {
|
18
|
+
say "Hello, Minecraft!";
|
19
|
+
tellraw @a {"text":"Welcome to my datapack!","color":"green"};
|
20
|
+
}
|
21
|
+
|
22
|
+
on_load hello:main;
|
23
|
+
```
|
24
|
+
|
25
|
+
## Logical Operators and Precedence
|
26
|
+
|
27
|
+
```mdl
|
28
|
+
pack "logicalops" "Generated by MDL CLI" 82;
|
29
|
+
namespace "logicalops";
|
30
|
+
|
31
|
+
// Variables (default scope @s)
|
32
|
+
var num a = 0;
|
33
|
+
var num b = 0;
|
34
|
+
|
35
|
+
// Main function
|
36
|
+
function logicalops:main {
|
37
|
+
say "Hello from logicalops!";
|
38
|
+
exec logicalops:add<@a>;
|
39
|
+
}
|
40
|
+
|
41
|
+
function logicalops:init {
|
42
|
+
a = 1;
|
43
|
+
b = 2;
|
44
|
+
}
|
45
|
+
|
46
|
+
function logicalops:add {
|
47
|
+
var result = $a$ + $b$;
|
48
|
+
say "Result: $result$";
|
49
|
+
}
|
50
|
+
|
51
|
+
function logicalops:subtract {
|
52
|
+
var result = $a$ - $b$;
|
53
|
+
say "Result: $result$";
|
54
|
+
}
|
55
|
+
|
56
|
+
function logicalops:multiply {
|
57
|
+
var result = $a$ * $b$;
|
58
|
+
say "Result: $result$";
|
59
|
+
}
|
60
|
+
|
61
|
+
function logicalops:divide {
|
62
|
+
var result = $a$ / $b$;
|
63
|
+
say "Result: $result$";
|
64
|
+
}
|
65
|
+
|
66
|
+
function logicalops:andop {
|
67
|
+
if $a$ > 0 && $b$ > 0 {
|
68
|
+
say "Both are greater than 0";
|
69
|
+
} else {
|
70
|
+
say "At least one is not greater than 0";
|
71
|
+
}
|
72
|
+
}
|
73
|
+
|
74
|
+
function logicalops:orop {
|
75
|
+
if $a$ > 0 || $b$ > 0 {
|
76
|
+
say "At least one is greater than 0";
|
77
|
+
} else {
|
78
|
+
say "Both are not greater than 0";
|
79
|
+
}
|
80
|
+
}
|
81
|
+
|
82
|
+
function logicalops:notop {
|
83
|
+
if !$a$ > 0 {
|
84
|
+
say "a is not greater than 0";
|
85
|
+
} else {
|
86
|
+
say "a is greater than 0";
|
87
|
+
}
|
88
|
+
}
|
89
|
+
|
90
|
+
function logicalops:whileloop {
|
91
|
+
a = 0;
|
92
|
+
while $a$ < 10 {
|
93
|
+
say "a is less than 10";
|
94
|
+
a = $a$ + 1;
|
95
|
+
}
|
96
|
+
}
|
97
|
+
|
98
|
+
function logicalops:scheduledwhileloop {
|
99
|
+
// the scheduledwhile is just like the while loop, but it is scheduled to run every tick. This is useful for large calculations that would exceed the command recursion limit.
|
100
|
+
a = 0;
|
101
|
+
scheduledwhile $a$ < 10 {
|
102
|
+
say "a is less than 10";
|
103
|
+
a = $a$ + 1;
|
104
|
+
}
|
105
|
+
}
|
106
|
+
|
107
|
+
function logicalops:complexops {
|
108
|
+
var c = 5;
|
109
|
+
var d = 10;
|
110
|
+
var e = 15;
|
111
|
+
var f = 20;
|
112
|
+
var g = 2;
|
113
|
+
var h = 0;
|
114
|
+
h = $h$ - 1;
|
115
|
+
|
116
|
+
var result = ($c$ + $d$ - $e$ * $f$ / $g$) * $h$;
|
117
|
+
|
118
|
+
if !$result$ == 135 {
|
119
|
+
say "Result is not 135, there is an issue!";
|
120
|
+
} else {
|
121
|
+
say "Result is -135, everything is good!";
|
122
|
+
}
|
123
|
+
}
|
124
|
+
|
125
|
+
on_load logicalops:main;
|
126
|
+
```
|
127
|
+
|
128
|
+
<!-- Trimmed non-core examples to focus on core language concepts -->
|
129
|
+
|
130
|
+
## Raw Commands
|
131
|
+
|
132
|
+
Using raw Minecraft commands:
|
133
|
+
|
134
|
+
```mdl
|
135
|
+
pack "raw" "Raw command example" 82;
|
136
|
+
namespace "raw";
|
137
|
+
|
138
|
+
function raw:custom {
|
139
|
+
// Use raw Minecraft commands
|
140
|
+
effect give @s minecraft:speed 10 1;
|
141
|
+
particle minecraft:explosion ~ ~ ~ 1 1 1 0 10;
|
142
|
+
playsound minecraft:entity.player.levelup player @s ~ ~ ~ 1 1;
|
143
|
+
}
|
144
|
+
|
145
|
+
on_load raw:custom;
|
146
|
+
```
|
147
|
+
|
148
|
+
## Function Macros
|
149
|
+
|
150
|
+
Demonstrates macro lines and passing macro data to functions:
|
151
|
+
|
152
|
+
```mdl
|
153
|
+
pack "macros" "Function macro examples" 82;
|
154
|
+
namespace "macros";
|
155
|
+
|
156
|
+
// Target function using a macro line with $(name)
|
157
|
+
function macros:greeter {
|
158
|
+
$say "Hello $(name)"
|
159
|
+
say "Done";
|
160
|
+
}
|
161
|
+
|
162
|
+
// Callers using inline JSON and with-clause
|
163
|
+
function macros:callers {
|
164
|
+
// Inline JSON compound (prefer single quotes outside)
|
165
|
+
exec macros:greeter '{name:"Alex"}';
|
166
|
+
|
167
|
+
// Pull compound from a data source via with-clause
|
168
|
+
exec macros:greeter with storage macros:ctx player.info;
|
169
|
+
}
|
170
|
+
|
171
|
+
on_load macros:callers;
|
172
|
+
```
|
173
|
+
|
174
|
+
## Fan-out Execution Pattern
|
175
|
+
|
176
|
+
Run a function once per matching entity using an outer exec scope, then use default `@s` inside:
|
177
|
+
|
178
|
+
```mdl
|
179
|
+
pack "fanout" "Fan-out example" 82;
|
180
|
+
namespace "fanout";
|
181
|
+
|
182
|
+
var num visits<@s> = 0;
|
183
|
+
|
184
|
+
function fanout:increment {
|
185
|
+
// Runs per-entity; scope defaults to @s inside
|
186
|
+
visits = $visits$ + 1;
|
187
|
+
say "Visits: $visits$";
|
188
|
+
}
|
189
|
+
|
190
|
+
// Fan out to all players on load
|
191
|
+
on_load fanout:increment<@a>;
|
192
|
+
```
|
193
|
+
|
194
|
+
|
@@ -199,12 +199,12 @@ on_tick "example:update";
|
|
199
199
|
mdl build --mdl myfile.mdl -o dist
|
200
200
|
```
|
201
201
|
|
202
|
-
###
|
202
|
+
### Build a directory (multiple files)
|
203
203
|
```bash
|
204
|
-
mdl build --mdl
|
204
|
+
mdl build --mdl . -o dist
|
205
205
|
```
|
206
206
|
|
207
|
-
### Directory
|
207
|
+
### Directory (explicit path)
|
208
208
|
```bash
|
209
209
|
mdl build --mdl myproject/ -o dist
|
210
210
|
```
|
@@ -28,7 +28,7 @@ version_tuple: VERSION_TUPLE
|
|
28
28
|
commit_id: COMMIT_ID
|
29
29
|
__commit_id__: COMMIT_ID
|
30
30
|
|
31
|
-
__version__ = version = '17.0.
|
32
|
-
__version_tuple__ = version_tuple = (17, 0,
|
31
|
+
__version__ = version = '17.0.3'
|
32
|
+
__version_tuple__ = version_tuple = (17, 0, 3)
|
33
33
|
|
34
|
-
__commit_id__ = commit_id = '
|
34
|
+
__commit_id__ = commit_id = 'g88ac7aced'
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: minecraft-datapack-language
|
3
|
-
Version: 17.0.
|
3
|
+
Version: 17.0.3
|
4
4
|
Summary: Compile MDL language with explicit scoping into a Minecraft datapack (1.21+ ready). Features variables, control flow, error handling, and VS Code extension.
|
5
5
|
Project-URL: Homepage, https://www.mcmdl.com
|
6
6
|
Project-URL: Documentation, https://www.mcmdl.com/docs
|
@@ -1,444 +0,0 @@
|
|
1
|
-
---
|
2
|
-
layout: page
|
3
|
-
title: MDL Examples
|
4
|
-
permalink: /docs/examples/
|
5
|
-
---
|
6
|
-
|
7
|
-
This page contains working examples of MDL features.
|
8
|
-
|
9
|
-
## Basic Hello World
|
10
|
-
|
11
|
-
A simple datapack that says hello when loaded:
|
12
|
-
|
13
|
-
```mdl
|
14
|
-
pack "hello" "A simple hello world datapack" 82;
|
15
|
-
namespace "hello";
|
16
|
-
|
17
|
-
function hello:main {
|
18
|
-
say "Hello, Minecraft!";
|
19
|
-
tellraw @a {"text":"Welcome to my datapack!","color":"green"};
|
20
|
-
}
|
21
|
-
|
22
|
-
on_load hello:main;
|
23
|
-
```
|
24
|
-
|
25
|
-
## Logical Operators and Precedence
|
26
|
-
|
27
|
-
```mdl
|
28
|
-
pack "logicalops" "Generated by MDL CLI" 82;
|
29
|
-
namespace "logicalops";
|
30
|
-
|
31
|
-
// Variables
|
32
|
-
var num a<@s> = 0;
|
33
|
-
var num b<@s> = 0;
|
34
|
-
|
35
|
-
// Main function
|
36
|
-
function logicalops:main {
|
37
|
-
say "Hello from logicalops!";
|
38
|
-
exec logicalops:add<@a>;
|
39
|
-
}
|
40
|
-
|
41
|
-
function logicalops:init {
|
42
|
-
a<@s> = 1;
|
43
|
-
b<@s> = 2;
|
44
|
-
}
|
45
|
-
|
46
|
-
function logicalops:add {
|
47
|
-
var result<@s> = $a<@s>$ + $b<@s>$;
|
48
|
-
say "Result: $result$";
|
49
|
-
}
|
50
|
-
|
51
|
-
function logicalops:subtract {
|
52
|
-
var result<@s> = $a<@s>$ - $b<@s>$;
|
53
|
-
say "Result: $result$";
|
54
|
-
}
|
55
|
-
|
56
|
-
function logicalops:multiply {
|
57
|
-
var result<@s> = $a<@s>$ * $b<@s>$;
|
58
|
-
say "Result: $result$";
|
59
|
-
}
|
60
|
-
|
61
|
-
function logicalops:divide {
|
62
|
-
var result<@s> = $a<@s>$ / $b<@s>$;
|
63
|
-
say "Result: $result$";
|
64
|
-
}
|
65
|
-
|
66
|
-
function logicalops:andop {
|
67
|
-
if $a<@s>$ > 0 && $b<@s>$ > 0 {
|
68
|
-
say "Both are greater than 0";
|
69
|
-
} else {
|
70
|
-
say "At least one is not greater than 0";
|
71
|
-
}
|
72
|
-
}
|
73
|
-
|
74
|
-
function logicalops:orop {
|
75
|
-
if $a<@s>$ > 0 || $b<@s>$ > 0 {
|
76
|
-
say "At least one is greater than 0";
|
77
|
-
} else {
|
78
|
-
say "Both are not greater than 0";
|
79
|
-
}
|
80
|
-
}
|
81
|
-
|
82
|
-
function logicalops:notop {
|
83
|
-
if !$a<@s>$ > 0 {
|
84
|
-
say "a is not greater than 0";
|
85
|
-
} else {
|
86
|
-
say "a is greater than 0";
|
87
|
-
}
|
88
|
-
}
|
89
|
-
|
90
|
-
function logicalops:whileloop {
|
91
|
-
a<@s> = 0;
|
92
|
-
while $a<@s>$ < 10 {
|
93
|
-
say "a is less than 10";
|
94
|
-
a<@s> = $a<@s>$ + 1;
|
95
|
-
}
|
96
|
-
}
|
97
|
-
|
98
|
-
function logicalops:scheduledwhileloop {
|
99
|
-
// the scheduledwhile is just like the while loop, but it is scheduled to run every tick. This is useful for large calculations that would exceed the command recursion limit.
|
100
|
-
a<@s> = 0;
|
101
|
-
scheduledwhile $a<@s>$ < 10 {
|
102
|
-
say "a is less than 10";
|
103
|
-
a<@s> = $a<@s>$ + 1;
|
104
|
-
}
|
105
|
-
}
|
106
|
-
|
107
|
-
function logicalops:complexops {
|
108
|
-
var c<@s> = 5;
|
109
|
-
var d<@s> = 10;
|
110
|
-
var e<@s> = 15;
|
111
|
-
var f<@s> = 20;
|
112
|
-
var g<@s> = 2;
|
113
|
-
var h<@s> = 0;
|
114
|
-
h<@s> = $h<@s>$ - 1;
|
115
|
-
|
116
|
-
var result<@s> = ($c<@s>$ + $d<@s>$ - $e<@s>$ * $f<@s>$ / $g<@s>$) * $h<@s>$;
|
117
|
-
|
118
|
-
if !$result<@s>$ == 135 {
|
119
|
-
say "Result is not 135, there is an issue!";
|
120
|
-
} else {
|
121
|
-
say "Result is -135, everything is good!";
|
122
|
-
}
|
123
|
-
}
|
124
|
-
```
|
125
|
-
|
126
|
-
## Counter with Scoped Variables
|
127
|
-
|
128
|
-
Demonstrates variables with different scopes:
|
129
|
-
|
130
|
-
```mdl
|
131
|
-
pack "counter" "Counter example" 82;
|
132
|
-
namespace "counter";
|
133
|
-
|
134
|
-
var num globalCounter<@a> = 0;
|
135
|
-
var num playerCounter<@s> = 0; // Defaults to player-specific scope
|
136
|
-
|
137
|
-
function counter:increment {
|
138
|
-
globalCounter<@a> = $globalCounter<@a>$ + 1;
|
139
|
-
playerCounter<@s> = $playerCounter<@s>$ + 1;
|
140
|
-
say "Global: $globalCounter<@a>$, Player: $playerCounter<@s>$";
|
141
|
-
}
|
142
|
-
|
143
|
-
function counter:show_all {
|
144
|
-
exec counter:increment<@a>;
|
145
|
-
}
|
146
|
-
|
147
|
-
on_load counter:increment;
|
148
|
-
```
|
149
|
-
|
150
|
-
## While Loop Example
|
151
|
-
|
152
|
-
A countdown timer using a while loop:
|
153
|
-
|
154
|
-
```mdl
|
155
|
-
pack "loops" "Loop example" 82;
|
156
|
-
namespace "loops";
|
157
|
-
|
158
|
-
var num counter<@a> = 0;
|
159
|
-
|
160
|
-
function loops:countdown {
|
161
|
-
counter<@a> = 5;
|
162
|
-
while $counter<@a>$ > 0 {
|
163
|
-
say "Countdown: $counter<@a>$";
|
164
|
-
counter<@a> = $counter<@a>$ - 1;
|
165
|
-
}
|
166
|
-
say "Blast off!";
|
167
|
-
}
|
168
|
-
|
169
|
-
on_load loops:countdown;
|
170
|
-
```
|
171
|
-
|
172
|
-
## Raw Commands
|
173
|
-
|
174
|
-
Using raw Minecraft commands:
|
175
|
-
|
176
|
-
```mdl
|
177
|
-
pack "raw" "Raw command example" 82;
|
178
|
-
namespace "raw";
|
179
|
-
|
180
|
-
function raw:custom {
|
181
|
-
// Use raw Minecraft commands
|
182
|
-
effect give @s minecraft:speed 10 1;
|
183
|
-
particle minecraft:explosion ~ ~ ~ 1 1 1 0 10;
|
184
|
-
playsound minecraft:entity.player.levelup player @s ~ ~ ~ 1 1;
|
185
|
-
}
|
186
|
-
|
187
|
-
on_load raw:custom;
|
188
|
-
```
|
189
|
-
|
190
|
-
## Function Macros
|
191
|
-
|
192
|
-
Demonstrates macro lines and passing macro data to functions:
|
193
|
-
|
194
|
-
```mdl
|
195
|
-
pack "macros" "Function macro examples" 82;
|
196
|
-
namespace "macros";
|
197
|
-
|
198
|
-
// Target function using a macro line with $(name)
|
199
|
-
function macros:greeter {
|
200
|
-
$say "Hello $(name)"
|
201
|
-
say "Done";
|
202
|
-
}
|
203
|
-
|
204
|
-
// Callers using inline JSON and with-clause
|
205
|
-
function macros:callers {
|
206
|
-
// Inline JSON compound (prefer single quotes outside)
|
207
|
-
exec macros:greeter '{name:"Alex"}';
|
208
|
-
|
209
|
-
// Pull compound from a data source via with-clause
|
210
|
-
exec macros:greeter with storage macros:ctx player.info;
|
211
|
-
}
|
212
|
-
|
213
|
-
on_load macros:callers;
|
214
|
-
```
|
215
|
-
|
216
|
-
## Complete Game Example
|
217
|
-
|
218
|
-
A complete game with scoring, levels, and timers:
|
219
|
-
|
220
|
-
```mdl
|
221
|
-
pack "game" "Complete game example" 82;
|
222
|
-
namespace "game";
|
223
|
-
|
224
|
-
// Variables
|
225
|
-
var num score<@s> = 0; // Defaults to player-specific scope
|
226
|
-
var num level<@s> = 1; // Defaults to player-specific scope
|
227
|
-
var num globalTimer<@a> = 0;
|
228
|
-
|
229
|
-
// Main game function
|
230
|
-
function "start_game" {
|
231
|
-
score<@s> = 0;
|
232
|
-
level<@s> = 1;
|
233
|
-
say "Game started! Level: $level<@s>$, Score: $score<@s>$";
|
234
|
-
}
|
235
|
-
|
236
|
-
// Level up function
|
237
|
-
function "level_up" {
|
238
|
-
if $score<@s>$ >= 100 {
|
239
|
-
level<@s> = level<@s> + 1;
|
240
|
-
score<@s> = score<@s> - 100;
|
241
|
-
say "Level up! New level: $level<@s>$";
|
242
|
-
tellraw @a {"text":"Player leveled up!","color":"gold"};
|
243
|
-
}
|
244
|
-
}
|
245
|
-
|
246
|
-
// Timer function
|
247
|
-
function "update_timer" {
|
248
|
-
globalTimer<global> = globalTimer<global> + 1;
|
249
|
-
if $globalTimer<@a>$ >= 1200 { // 60 seconds
|
250
|
-
globalTimer<global> = 0;
|
251
|
-
say "Time's up! Final score: $score<@s>$";
|
252
|
-
}
|
253
|
-
}
|
254
|
-
|
255
|
-
// Add score function
|
256
|
-
function "add_score" {
|
257
|
-
score<@s> = score<@s> + 10;
|
258
|
-
say "Score: $score<@s>$";
|
259
|
-
function "game:level_up";
|
260
|
-
}
|
261
|
-
|
262
|
-
// Hooks
|
263
|
-
on_load "game:start_game";
|
264
|
-
on_tick "game:update_timer";
|
265
|
-
```
|
266
|
-
|
267
|
-
## Team-Based System
|
268
|
-
|
269
|
-
A system that tracks team scores:
|
270
|
-
|
271
|
-
```mdl
|
272
|
-
pack "teams" "Team system example" 82;
|
273
|
-
namespace "teams";
|
274
|
-
|
275
|
-
// Team variables
|
276
|
-
var num redScore<@a[team=red]> = 0;
|
277
|
-
var num blueScore<@a[team=blue]> = 0;
|
278
|
-
var num gameTimer<@a> = 0;
|
279
|
-
|
280
|
-
// Initialize teams
|
281
|
-
function "init" {
|
282
|
-
redScore<@a[team=red]> = 0;
|
283
|
-
blueScore<@a[team=blue]> = 0;
|
284
|
-
gameTimer<global> = 0;
|
285
|
-
say Team game initialized!;
|
286
|
-
}
|
287
|
-
|
288
|
-
// Update game
|
289
|
-
function "update" {
|
290
|
-
gameTimer<global> = gameTimer<global> + 1;
|
291
|
-
|
292
|
-
if $gameTimer<@a>$ >= 2400 { // 2 minutes
|
293
|
-
gameTimer<global> = 0;
|
294
|
-
say "Game over! Red: $redScore<@a[team=red]>$, Blue: $blueScore<@a[team=blue]>$";
|
295
|
-
|
296
|
-
if $redScore<@a[team=red]>$ > $blueScore<@a[team=blue]>$ {
|
297
|
-
tellraw @a {"text":"Red team wins!","color":"red"};
|
298
|
-
} else if $blueScore<@a[team=blue]>$ > $redScore<@a[team=red]>$ {
|
299
|
-
tellraw @a {"text":"Blue team wins!","color":"blue"};
|
300
|
-
} else {
|
301
|
-
tellraw @a {"text":"It's a tie!","color":"yellow"};
|
302
|
-
}
|
303
|
-
}
|
304
|
-
}
|
305
|
-
|
306
|
-
// Add points to red team
|
307
|
-
function "red_point" {
|
308
|
-
redScore<@a[team=red]> = redScore<@a[team=red]> + 1;
|
309
|
-
say "Red team score: $redScore<@a[team=red]>$";
|
310
|
-
}
|
311
|
-
|
312
|
-
// Add points to blue team
|
313
|
-
function "blue_point" {
|
314
|
-
blueScore<@a[team=blue]> = blueScore<@a[team=blue]> + 1;
|
315
|
-
say "Blue team score: $blueScore<@a[team=blue]>$";
|
316
|
-
}
|
317
|
-
|
318
|
-
// Hooks
|
319
|
-
on_load "teams:init";
|
320
|
-
on_tick "teams:update";
|
321
|
-
```
|
322
|
-
|
323
|
-
## Multi-File Example
|
324
|
-
|
325
|
-
Organizing code across multiple files:
|
326
|
-
|
327
|
-
**`main.mdl`** (with pack declaration):
|
328
|
-
```mdl
|
329
|
-
pack "multifile" "Multi-file example" 82;
|
330
|
-
namespace "core";
|
331
|
-
|
332
|
-
var num playerCount<@a> = 0;
|
333
|
-
|
334
|
-
function "init" {
|
335
|
-
playerCount = 0;
|
336
|
-
say Core system initialized!;
|
337
|
-
}
|
338
|
-
|
339
|
-
on_load "core:init";
|
340
|
-
```
|
341
|
-
|
342
|
-
**`ui.mdl`** (no pack declaration needed):
|
343
|
-
```mdl
|
344
|
-
namespace "ui";
|
345
|
-
|
346
|
-
function "show_hud" {
|
347
|
-
tellraw @a {"text":"Players: $playerCount<@a>$","color":"green"};
|
348
|
-
}
|
349
|
-
|
350
|
-
function "update_hud" {
|
351
|
-
function "ui:show_hud<@a>";
|
352
|
-
}
|
353
|
-
```
|
354
|
-
|
355
|
-
**`game.mdl`** (no pack declaration needed):
|
356
|
-
```mdl
|
357
|
-
namespace "game";
|
358
|
-
|
359
|
-
function "start" {
|
360
|
-
say Game started!;
|
361
|
-
function "ui:update_hud";
|
362
|
-
}
|
363
|
-
```
|
364
|
-
|
365
|
-
Build all files together:
|
366
|
-
```bash
|
367
|
-
mdl build --mdl "main.mdl ui.mdl game.mdl" -o dist
|
368
|
-
```
|
369
|
-
|
370
|
-
## Explicit Scopes in Conditions
|
371
|
-
|
372
|
-
Demonstrates how to use explicit scope selectors in if/while conditions to override declared variable scopes:
|
373
|
-
|
374
|
-
```mdl
|
375
|
-
pack "scopes" "Explicit scope conditions example" 82;
|
376
|
-
namespace "scopes";
|
377
|
-
|
378
|
-
// Variables with different scopes
|
379
|
-
var num playerScore = 0; // Defaults to @s
|
380
|
-
var num globalCounter<@a> = 0; // Global scope
|
381
|
-
var num teamScore<@a[team=red]> = 0; // Team scope
|
382
|
-
|
383
|
-
function "main" {
|
384
|
-
// Test explicit scope overrides in if conditions
|
385
|
-
if "$playerScore<@s>$ > 10" {
|
386
|
-
say "Current player score is high!";
|
387
|
-
}
|
388
|
-
|
389
|
-
if "$globalCounter<global>$ > 100" {
|
390
|
-
say "Global counter reached milestone!";
|
391
|
-
}
|
392
|
-
|
393
|
-
if "$teamScore<@a[team=red]>$ > 50" {
|
394
|
-
say "Red team is winning!";
|
395
|
-
}
|
396
|
-
|
397
|
-
// Check another player's score
|
398
|
-
if "$playerScore<@p[name=Steve]>$ > 5" {
|
399
|
-
say "Steve has a good score!";
|
400
|
-
}
|
401
|
-
|
402
|
-
// Check if any player has a high score
|
403
|
-
if "$playerScore<@a>$ > 20" {
|
404
|
-
say "Someone has a very high score!";
|
405
|
-
}
|
406
|
-
|
407
|
-
// Use explicit scopes in while loops too
|
408
|
-
while "$globalCounter<global>$ < 10" {
|
409
|
-
globalCounter<global> = globalCounter<global> + 1;
|
410
|
-
say "Counter: $globalCounter<@a>$";
|
411
|
-
}
|
412
|
-
}
|
413
|
-
|
414
|
-
// Function to test different scopes
|
415
|
-
function "test_scopes" {
|
416
|
-
// Set different values for different scopes
|
417
|
-
playerScore<@s> = 15; // Current player
|
418
|
-
globalCounter<global> = 150; // Global
|
419
|
-
teamScore<@a[team=red]> = 75; // Red team
|
420
|
-
|
421
|
-
// Test conditions with explicit scopes
|
422
|
-
if "$playerScore<@s>$ > 10" {
|
423
|
-
say "Player score check passed!";
|
424
|
-
}
|
425
|
-
|
426
|
-
if "$globalCounter<global>$ > 100" {
|
427
|
-
say "Global counter check passed!";
|
428
|
-
}
|
429
|
-
|
430
|
-
if "$teamScore<@a[team=red]>$ > 50" {
|
431
|
-
say "Team score check passed!";
|
432
|
-
}
|
433
|
-
}
|
434
|
-
|
435
|
-
on_load "scopes:main";
|
436
|
-
```
|
437
|
-
|
438
|
-
**Key Features:**
|
439
|
-
- **Override declared scopes**: Use `<@s>`, `<global>`, `<@a[team=red]>` in conditions
|
440
|
-
- **Check other entities**: Compare scores across different players/teams
|
441
|
-
- **Flexible conditions**: Mix and match scopes as needed
|
442
|
-
- **Clear intent**: Explicit scope makes code more readable and debuggable
|
443
|
-
|
444
|
-
|
{minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/.cursor/rules/aispec.mdc
RENAMED
File without changes
|
File without changes
|
{minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/.github/workflows/ci.yml
RENAMED
File without changes
|
{minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/.github/workflows/docs.yml
RENAMED
File without changes
|
{minecraft_datapack_language-17.0.1 → minecraft_datapack_language-17.0.3}/.github/workflows/pypi.yml
RENAMED
File without changes
|
File without changes
|