redscript-mc 2.4.1 → 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 +16 -0
- package/README.md +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/minecraft/tags/function/load.json +2 -1
- package/dist/data/minecraft/tags/function/tick.json +1 -1
- 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/_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/_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/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/apply_drag.mcfunction +8 -0
- package/dist/data/test/function/apply_gravity.mcfunction +6 -0
- package/dist/data/test/function/approx_eq.mcfunction +1 -2
- package/dist/data/test/function/approx_eq__merge_1.mcfunction +1 -2
- package/dist/data/test/function/atan2_fixed.mcfunction +1 -2
- package/dist/data/test/function/atan2_fixed__loop_body_26.mcfunction +1 -2
- package/dist/data/test/function/atan2_fixed__loop_exit_27.mcfunction +1 -2
- package/dist/data/test/function/atan2_fixed__loop_header_25.mcfunction +1 -2
- package/dist/data/test/function/atan2_fixed__merge_1.mcfunction +1 -2
- package/dist/data/test/function/atan2_fixed__merge_10.mcfunction +1 -2
- package/dist/data/test/function/atan2_fixed__merge_16.mcfunction +1 -2
- package/dist/data/test/function/atan2_fixed__merge_18.mcfunction +1 -2
- package/dist/data/test/function/atan2_fixed__merge_20.mcfunction +1 -2
- package/dist/data/test/function/atan2_fixed__merge_22.mcfunction +1 -2
- package/dist/data/test/function/atan2_fixed__merge_3.mcfunction +1 -2
- package/dist/data/test/function/atan2_fixed__merge_32.mcfunction +1 -2
- package/dist/data/test/function/atan2_fixed__merge_34.mcfunction +1 -2
- package/dist/data/test/function/atan2_fixed__then_0.mcfunction +1 -2
- package/dist/data/test/function/atan2_fixed__then_33.mcfunction +1 -2
- package/dist/data/test/function/atan2_fixed__then_9.mcfunction +1 -2
- 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_borrow_lo.mcfunction +1 -2
- package/dist/data/test/function/bigint3_borrow_mid.mcfunction +1 -2
- package/dist/data/test/function/bigint3_cmp.mcfunction +1 -2
- package/dist/data/test/function/bigint3_cmp__merge_1.mcfunction +1 -2
- package/dist/data/test/function/bigint3_cmp__merge_10.mcfunction +1 -2
- package/dist/data/test/function/bigint3_cmp__merge_13.mcfunction +1 -2
- package/dist/data/test/function/bigint3_cmp__merge_4.mcfunction +1 -2
- package/dist/data/test/function/bigint3_cmp__merge_7.mcfunction +1 -2
- package/dist/data/test/function/bigint3_sub_lo.mcfunction +1 -2
- package/dist/data/test/function/bigint3_sub_mid.mcfunction +1 -2
- 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_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/bounce_v.mcfunction +10 -0
- package/dist/data/test/function/cbrt_fx.mcfunction +1 -2
- package/dist/data/test/function/cbrt_fx__loop_body_6.mcfunction +1 -2
- package/dist/data/test/function/cbrt_fx__loop_header_5.mcfunction +1 -2
- package/dist/data/test/function/cbrt_fx__merge_1.mcfunction +1 -2
- package/dist/data/test/function/cbrt_fx__merge_11.mcfunction +1 -2
- package/dist/data/test/function/cbrt_fx__merge_9.mcfunction +1 -2
- package/dist/data/test/function/chebyshev.mcfunction +1 -2
- package/dist/data/test/function/chebyshev3d.mcfunction +1 -2
- package/dist/data/test/function/chebyshev3d__merge_1.mcfunction +1 -2
- package/dist/data/test/function/chebyshev3d__merge_3.mcfunction +1 -2
- package/dist/data/test/function/chebyshev3d__merge_5.mcfunction +1 -2
- package/dist/data/test/function/chebyshev3d__merge_7.mcfunction +1 -2
- package/dist/data/test/function/chebyshev__merge_1.mcfunction +1 -2
- package/dist/data/test/function/chebyshev__merge_3.mcfunction +1 -2
- 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/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 +1 -2
- package/dist/data/test/function/combinations__loop_header_8.mcfunction +1 -2
- package/dist/data/test/function/combinations__merge_1.mcfunction +1 -2
- package/dist/data/test/function/combinations__merge_4.mcfunction +1 -2
- package/dist/data/test/function/cos_fixed__const_0.mcfunction +5 -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/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/divfix.mcfunction +1 -2
- 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_fx.mcfunction +1 -2
- package/dist/data/test/function/exp_fx__loop_header_4.mcfunction +1 -2
- package/dist/data/test/function/exp_fx__loop_header_9.mcfunction +1 -2
- package/dist/data/test/function/exp_fx__merge_1.mcfunction +1 -2
- package/dist/data/test/function/exp_fx__merge_3.mcfunction +1 -2
- package/dist/data/test/function/factorial.mcfunction +1 -2
- package/dist/data/test/function/factorial__loop_header_3.mcfunction +1 -2
- 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/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 +1 -2
- package/dist/data/test/function/gcd.mcfunction +1 -2
- package/dist/data/test/function/gcd__loop_header_4.mcfunction +1 -2
- package/dist/data/test/function/gcd__merge_1.mcfunction +1 -2
- 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/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/int32_to_bigint3_hi.mcfunction +1 -2
- package/dist/data/test/function/int32_to_bigint3_lo.mcfunction +1 -2
- package/dist/data/test/function/int32_to_bigint3_mid.mcfunction +1 -2
- 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 +1 -2
- package/dist/data/test/function/isqrt__loop_body_13.mcfunction +1 -2
- package/dist/data/test/function/isqrt__loop_header_12.mcfunction +1 -2
- package/dist/data/test/function/isqrt__loop_header_6.mcfunction +1 -2
- package/dist/data/test/function/isqrt__loop_header_9.mcfunction +1 -2
- package/dist/data/test/function/isqrt__merge_1.mcfunction +1 -2
- 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 +1 -2
- 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/ln__loop_header_0.mcfunction +1 -2
- package/dist/data/test/function/ln__loop_header_3.mcfunction +1 -2
- package/dist/data/test/function/log2_int.mcfunction +1 -2
- package/dist/data/test/function/log2_int__loop_header_3.mcfunction +1 -2
- package/dist/data/test/function/loga_fx.mcfunction +1 -2
- 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 +1 -2
- package/dist/data/test/function/manhattan3d.mcfunction +1 -2
- package/dist/data/test/function/manhattan3d__merge_1.mcfunction +1 -2
- package/dist/data/test/function/manhattan3d__merge_3.mcfunction +1 -2
- package/dist/data/test/function/manhattan__merge_1.mcfunction +1 -2
- package/dist/data/test/function/map.mcfunction +1 -2
- 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/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/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/normalize2d_x.mcfunction +1 -2
- package/dist/data/test/function/normalize2d_y.mcfunction +1 -2
- package/dist/data/test/function/pow_int.mcfunction +1 -2
- package/dist/data/test/function/pow_int__loop_body_4.mcfunction +1 -2
- package/dist/data/test/function/pow_int__loop_header_3.mcfunction +1 -2
- 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_x1.mcfunction +1 -2
- package/dist/data/test/function/quadratic_x1__merge_1.mcfunction +1 -2
- package/dist/data/test/function/quadratic_x2.mcfunction +1 -2
- package/dist/data/test/function/quadratic_x2__merge_1.mcfunction +1 -2
- 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/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/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/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/showcase_load.mcfunction +4 -0
- package/dist/data/test/function/showcase_tick.mcfunction +1 -0
- package/dist/data/test/function/sign.mcfunction +1 -2
- package/dist/data/test/function/sign__merge_1.mcfunction +1 -2
- package/dist/data/test/function/sin_fixed.mcfunction +1 -2
- package/dist/data/test/function/sin_fixed__merge_1.mcfunction +1 -2
- package/dist/data/test/function/sin_fixed__merge_3.mcfunction +1 -2
- package/dist/data/test/function/sin_fixed__merge_6.mcfunction +1 -2
- package/dist/data/test/function/smootherstep.mcfunction +1 -2
- package/dist/data/test/function/smootherstep__merge_1.mcfunction +1 -2
- package/dist/data/test/function/smootherstep__merge_4.mcfunction +1 -2
- package/dist/data/test/function/smoothstep.mcfunction +1 -2
- package/dist/data/test/function/smoothstep__merge_1.mcfunction +1 -2
- package/dist/data/test/function/smoothstep__merge_4.mcfunction +1 -2
- package/dist/data/test/function/solve2x2_x.mcfunction +1 -2
- package/dist/data/test/function/solve2x2_y.mcfunction +1 -2
- 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/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/terrain_height.mcfunction +24 -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/pack.mcmeta +1 -1
- package/dist/src/__tests__/optimizer/lir/peephole.test.js +92 -0
- package/dist/src/ast/types.d.ts +7 -0
- package/dist/src/hir/lower.js +51 -0
- package/dist/src/optimizer/lir/peephole.d.ts +13 -4
- package/dist/src/optimizer/lir/peephole.js +44 -5
- package/dist/src/parser/index.js +12 -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__/e2e/for-in-array.test.ts +62 -0
- package/src/__tests__/optimizer/lir/peephole.test.ts +100 -0
- package/src/ast/types.ts +1 -0
- package/src/hir/lower.ts +52 -0
- 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/matrix.mcrs +108 -0
- package/src/stdlib/noise.mcrs +153 -0
- package/src/stdlib/physics.mcrs +134 -0
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
scoreboard players operation $ease_in_out_sine_t0 __mathdemo = $p0 __mathdemo
|
|
2
|
+
scoreboard players set $__const_5000 __mathdemo 5000
|
|
3
|
+
execute store success score $ease_in_out_sine_t1 __mathdemo if score $ease_in_out_sine_t0 __mathdemo < $__const_5000 __mathdemo
|
|
4
|
+
execute if score $ease_in_out_sine_t1 __mathdemo matches 1 run return run function mathdemo:ease_in_out_sine__then_0
|
|
5
|
+
function mathdemo:ease_in_out_sine__merge_1
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
scoreboard players operation $ease_in_out_sine_t5 __mathdemo = $ease_in_out_sine_t0 __mathdemo
|
|
2
|
+
scoreboard players remove $ease_in_out_sine_t5 __mathdemo 5000
|
|
3
|
+
scoreboard players operation $ease_in_out_sine_t6 __mathdemo = $ease_in_out_sine_t5 __mathdemo
|
|
4
|
+
scoreboard players set $__const_2 __mathdemo 2
|
|
5
|
+
scoreboard players operation $ease_in_out_sine_t6 __mathdemo *= $__const_2 __mathdemo
|
|
6
|
+
scoreboard players operation $p0 __mathdemo = $ease_in_out_sine_t6 __mathdemo
|
|
7
|
+
function mathdemo:ease_out_sine
|
|
8
|
+
scoreboard players operation $ease_in_out_sine_t7 __mathdemo = $ret __mathdemo
|
|
9
|
+
scoreboard players operation $ease_in_out_sine_t8 __mathdemo = $ease_in_out_sine_t7 __mathdemo
|
|
10
|
+
scoreboard players set $__const_2 __mathdemo 2
|
|
11
|
+
scoreboard players operation $ease_in_out_sine_t8 __mathdemo /= $__const_2 __mathdemo
|
|
12
|
+
scoreboard players set $ease_in_out_sine_t9 __mathdemo 5000
|
|
13
|
+
scoreboard players operation $ease_in_out_sine_t9 __mathdemo += $ease_in_out_sine_t8 __mathdemo
|
|
14
|
+
scoreboard players operation $ret __mathdemo = $ease_in_out_sine_t9 __mathdemo
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
scoreboard players operation $ease_in_out_sine_t2 __mathdemo = $ease_in_out_sine_t0 __mathdemo
|
|
2
|
+
scoreboard players set $__const_2 __mathdemo 2
|
|
3
|
+
scoreboard players operation $ease_in_out_sine_t2 __mathdemo *= $__const_2 __mathdemo
|
|
4
|
+
scoreboard players operation $p0 __mathdemo = $ease_in_out_sine_t2 __mathdemo
|
|
5
|
+
function mathdemo:ease_in_sine
|
|
6
|
+
scoreboard players operation $ease_in_out_sine_t3 __mathdemo = $ret __mathdemo
|
|
7
|
+
scoreboard players operation $ease_in_out_sine_t4 __mathdemo = $ease_in_out_sine_t3 __mathdemo
|
|
8
|
+
scoreboard players set $__const_2 __mathdemo 2
|
|
9
|
+
scoreboard players operation $ease_in_out_sine_t4 __mathdemo /= $__const_2 __mathdemo
|
|
10
|
+
scoreboard players operation $ret __mathdemo = $ease_in_out_sine_t4 __mathdemo
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
scoreboard players operation $ease_in_quad_t0 __mathdemo = $p0 __mathdemo
|
|
2
|
+
scoreboard players operation $ease_in_quad_t1 __mathdemo = $ease_in_quad_t0 __mathdemo
|
|
3
|
+
scoreboard players operation $ease_in_quad_t1 __mathdemo *= $ease_in_quad_t0 __mathdemo
|
|
4
|
+
scoreboard players operation $ease_in_quad_t2 __mathdemo = $ease_in_quad_t1 __mathdemo
|
|
5
|
+
scoreboard players set $__const_10000 __mathdemo 10000
|
|
6
|
+
scoreboard players operation $ease_in_quad_t2 __mathdemo /= $__const_10000 __mathdemo
|
|
7
|
+
scoreboard players operation $ret __mathdemo = $ease_in_quad_t2 __mathdemo
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
scoreboard players set $ease_in_quad__const_5000_t1 __mathdemo 25000000
|
|
2
|
+
scoreboard players operation $ease_in_quad__const_5000_t2 __mathdemo = $ease_in_quad__const_5000_t1 __mathdemo
|
|
3
|
+
scoreboard players set $__const_10000 __mathdemo 10000
|
|
4
|
+
scoreboard players operation $ease_in_quad__const_5000_t2 __mathdemo /= $__const_10000 __mathdemo
|
|
5
|
+
scoreboard players operation $ret __mathdemo = $ease_in_quad__const_5000_t2 __mathdemo
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
scoreboard players operation $ease_in_quart_t0 __mathdemo = $p0 __mathdemo
|
|
2
|
+
scoreboard players operation $ease_in_quart_t1 __mathdemo = $ease_in_quart_t0 __mathdemo
|
|
3
|
+
scoreboard players operation $ease_in_quart_t1 __mathdemo *= $ease_in_quart_t0 __mathdemo
|
|
4
|
+
scoreboard players operation $ease_in_quart_t2 __mathdemo = $ease_in_quart_t1 __mathdemo
|
|
5
|
+
scoreboard players set $__const_10000 __mathdemo 10000
|
|
6
|
+
scoreboard players operation $ease_in_quart_t2 __mathdemo /= $__const_10000 __mathdemo
|
|
7
|
+
scoreboard players operation $ease_in_quart_t4 __mathdemo = $ease_in_quart_t2 __mathdemo
|
|
8
|
+
scoreboard players operation $ease_in_quart_t4 __mathdemo *= $ease_in_quart_t2 __mathdemo
|
|
9
|
+
scoreboard players operation $ease_in_quart_t5 __mathdemo = $ease_in_quart_t4 __mathdemo
|
|
10
|
+
scoreboard players set $__const_10000 __mathdemo 10000
|
|
11
|
+
scoreboard players operation $ease_in_quart_t5 __mathdemo /= $__const_10000 __mathdemo
|
|
12
|
+
scoreboard players operation $ret __mathdemo = $ease_in_quart_t5 __mathdemo
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
scoreboard players operation $ease_in_sine_t0 __mathdemo = $p0 __mathdemo
|
|
2
|
+
scoreboard players operation $ease_in_sine_t1 __mathdemo = $ease_in_sine_t0 __mathdemo
|
|
3
|
+
scoreboard players operation $ease_in_sine_t1 __mathdemo *= $ease_in_sine_t0 __mathdemo
|
|
4
|
+
scoreboard players operation $ease_in_sine_t2 __mathdemo = $ease_in_sine_t1 __mathdemo
|
|
5
|
+
scoreboard players set $__const_10000 __mathdemo 10000
|
|
6
|
+
scoreboard players operation $ease_in_sine_t2 __mathdemo /= $__const_10000 __mathdemo
|
|
7
|
+
scoreboard players operation $ease_in_sine_t4 __mathdemo = $ease_in_sine_t2 __mathdemo
|
|
8
|
+
scoreboard players operation $ease_in_sine_t4 __mathdemo *= $ease_in_sine_t2 __mathdemo
|
|
9
|
+
scoreboard players operation $ease_in_sine_t5 __mathdemo = $ease_in_sine_t4 __mathdemo
|
|
10
|
+
scoreboard players set $__const_10000 __mathdemo 10000
|
|
11
|
+
scoreboard players operation $ease_in_sine_t5 __mathdemo /= $__const_10000 __mathdemo
|
|
12
|
+
scoreboard players operation $ease_in_sine_t7 __mathdemo = $ease_in_sine_t2 __mathdemo
|
|
13
|
+
scoreboard players set $__const_4934 __mathdemo 4934
|
|
14
|
+
scoreboard players operation $ease_in_sine_t7 __mathdemo *= $__const_4934 __mathdemo
|
|
15
|
+
scoreboard players operation $ease_in_sine_t8 __mathdemo = $ease_in_sine_t7 __mathdemo
|
|
16
|
+
scoreboard players set $__const_10000 __mathdemo 10000
|
|
17
|
+
scoreboard players operation $ease_in_sine_t8 __mathdemo /= $__const_10000 __mathdemo
|
|
18
|
+
scoreboard players set $ease_in_sine_t9 __mathdemo 10000
|
|
19
|
+
scoreboard players operation $ease_in_sine_t9 __mathdemo -= $ease_in_sine_t8 __mathdemo
|
|
20
|
+
scoreboard players operation $ease_in_sine_t10 __mathdemo = $ease_in_sine_t5 __mathdemo
|
|
21
|
+
scoreboard players set $__const_405 __mathdemo 405
|
|
22
|
+
scoreboard players operation $ease_in_sine_t10 __mathdemo *= $__const_405 __mathdemo
|
|
23
|
+
scoreboard players operation $ease_in_sine_t11 __mathdemo = $ease_in_sine_t10 __mathdemo
|
|
24
|
+
scoreboard players set $__const_10000 __mathdemo 10000
|
|
25
|
+
scoreboard players operation $ease_in_sine_t11 __mathdemo /= $__const_10000 __mathdemo
|
|
26
|
+
scoreboard players operation $ease_in_sine_t12 __mathdemo = $ease_in_sine_t9 __mathdemo
|
|
27
|
+
scoreboard players operation $ease_in_sine_t12 __mathdemo += $ease_in_sine_t11 __mathdemo
|
|
28
|
+
scoreboard players set $ease_in_sine_t14 __mathdemo 10000
|
|
29
|
+
scoreboard players operation $ease_in_sine_t14 __mathdemo -= $ease_in_sine_t12 __mathdemo
|
|
30
|
+
scoreboard players operation $ret __mathdemo = $ease_in_sine_t14 __mathdemo
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
scoreboard players operation $ease_out_back_t0 __mathdemo = $p0 __mathdemo
|
|
2
|
+
scoreboard players set $ease_out_back_t1 __mathdemo 10000
|
|
3
|
+
scoreboard players operation $ease_out_back_t1 __mathdemo -= $ease_out_back_t0 __mathdemo
|
|
4
|
+
scoreboard players operation $p0 __mathdemo = $ease_out_back_t1 __mathdemo
|
|
5
|
+
function mathdemo:ease_in_back
|
|
6
|
+
scoreboard players operation $ease_out_back_t2 __mathdemo = $ret __mathdemo
|
|
7
|
+
scoreboard players set $ease_out_back_t3 __mathdemo 10000
|
|
8
|
+
scoreboard players operation $ease_out_back_t3 __mathdemo -= $ease_out_back_t2 __mathdemo
|
|
9
|
+
scoreboard players operation $ret __mathdemo = $ease_out_back_t3 __mathdemo
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
scoreboard players set $ease_out_back__const_5000_t1 __mathdemo 5000
|
|
2
|
+
scoreboard players operation $p0 __mathdemo = $ease_out_back__const_5000_t1 __mathdemo
|
|
3
|
+
function mathdemo:ease_in_back
|
|
4
|
+
scoreboard players operation $ease_out_back__const_5000_t2 __mathdemo = $ret __mathdemo
|
|
5
|
+
scoreboard players set $ease_out_back__const_5000_t3 __mathdemo 10000
|
|
6
|
+
scoreboard players operation $ease_out_back__const_5000_t3 __mathdemo -= $ease_out_back__const_5000_t2 __mathdemo
|
|
7
|
+
scoreboard players operation $ret __mathdemo = $ease_out_back__const_5000_t3 __mathdemo
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
scoreboard players operation $ease_out_bounce_t0 __mathdemo = $p0 __mathdemo
|
|
2
|
+
scoreboard players set $ease_out_bounce_t1 __mathdemo 75625
|
|
3
|
+
scoreboard players set $__const_3636 __mathdemo 3636
|
|
4
|
+
execute store success score $ease_out_bounce_t3 __mathdemo if score $ease_out_bounce_t0 __mathdemo < $__const_3636 __mathdemo
|
|
5
|
+
execute if score $ease_out_bounce_t3 __mathdemo matches 1 run return run function mathdemo:ease_out_bounce__then_0
|
|
6
|
+
function mathdemo:ease_out_bounce__merge_1
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
scoreboard players set $__const_7272 __mathdemo 7272
|
|
2
|
+
execute store success score $ease_out_bounce_t8 __mathdemo if score $ease_out_bounce_t0 __mathdemo < $__const_7272 __mathdemo
|
|
3
|
+
execute if score $ease_out_bounce_t8 __mathdemo matches 1 run return run function mathdemo:ease_out_bounce__then_3
|
|
4
|
+
function mathdemo:ease_out_bounce__merge_4
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
scoreboard players set $__const_9090 __mathdemo 9090
|
|
2
|
+
execute store success score $ease_out_bounce_t16 __mathdemo if score $ease_out_bounce_t0 __mathdemo < $__const_9090 __mathdemo
|
|
3
|
+
execute if score $ease_out_bounce_t16 __mathdemo matches 1 run return run function mathdemo:ease_out_bounce__then_6
|
|
4
|
+
function mathdemo:ease_out_bounce__merge_7
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
scoreboard players operation $ease_out_bounce_t24 __mathdemo = $ease_out_bounce_t0 __mathdemo
|
|
2
|
+
scoreboard players remove $ease_out_bounce_t24 __mathdemo 9545
|
|
3
|
+
scoreboard players operation $ease_out_bounce_t26 __mathdemo = $ease_out_bounce_t1 __mathdemo
|
|
4
|
+
scoreboard players operation $ease_out_bounce_t26 __mathdemo *= $ease_out_bounce_t24 __mathdemo
|
|
5
|
+
scoreboard players operation $ease_out_bounce_t27 __mathdemo = $ease_out_bounce_t26 __mathdemo
|
|
6
|
+
scoreboard players set $__const_10000 __mathdemo 10000
|
|
7
|
+
scoreboard players operation $ease_out_bounce_t27 __mathdemo /= $__const_10000 __mathdemo
|
|
8
|
+
scoreboard players operation $ease_out_bounce_t28 __mathdemo = $ease_out_bounce_t27 __mathdemo
|
|
9
|
+
scoreboard players operation $ease_out_bounce_t28 __mathdemo *= $ease_out_bounce_t24 __mathdemo
|
|
10
|
+
scoreboard players operation $ease_out_bounce_t29 __mathdemo = $ease_out_bounce_t28 __mathdemo
|
|
11
|
+
scoreboard players set $__const_10000 __mathdemo 10000
|
|
12
|
+
scoreboard players operation $ease_out_bounce_t29 __mathdemo /= $__const_10000 __mathdemo
|
|
13
|
+
scoreboard players operation $ease_out_bounce_t30 __mathdemo = $ease_out_bounce_t29 __mathdemo
|
|
14
|
+
scoreboard players add $ease_out_bounce_t30 __mathdemo 9844
|
|
15
|
+
scoreboard players operation $ret __mathdemo = $ease_out_bounce_t30 __mathdemo
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
scoreboard players operation $ease_out_bounce_t4 __mathdemo = $ease_out_bounce_t1 __mathdemo
|
|
2
|
+
scoreboard players operation $ease_out_bounce_t4 __mathdemo *= $ease_out_bounce_t0 __mathdemo
|
|
3
|
+
scoreboard players operation $ease_out_bounce_t5 __mathdemo = $ease_out_bounce_t4 __mathdemo
|
|
4
|
+
scoreboard players set $__const_10000 __mathdemo 10000
|
|
5
|
+
scoreboard players operation $ease_out_bounce_t5 __mathdemo /= $__const_10000 __mathdemo
|
|
6
|
+
scoreboard players operation $ease_out_bounce_t6 __mathdemo = $ease_out_bounce_t5 __mathdemo
|
|
7
|
+
scoreboard players operation $ease_out_bounce_t6 __mathdemo *= $ease_out_bounce_t0 __mathdemo
|
|
8
|
+
scoreboard players operation $ease_out_bounce_t7 __mathdemo = $ease_out_bounce_t6 __mathdemo
|
|
9
|
+
scoreboard players set $__const_10000 __mathdemo 10000
|
|
10
|
+
scoreboard players operation $ease_out_bounce_t7 __mathdemo /= $__const_10000 __mathdemo
|
|
11
|
+
scoreboard players operation $ret __mathdemo = $ease_out_bounce_t7 __mathdemo
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
scoreboard players operation $ease_out_bounce_t9 __mathdemo = $ease_out_bounce_t0 __mathdemo
|
|
2
|
+
scoreboard players remove $ease_out_bounce_t9 __mathdemo 5454
|
|
3
|
+
scoreboard players operation $ease_out_bounce_t11 __mathdemo = $ease_out_bounce_t1 __mathdemo
|
|
4
|
+
scoreboard players operation $ease_out_bounce_t11 __mathdemo *= $ease_out_bounce_t9 __mathdemo
|
|
5
|
+
scoreboard players operation $ease_out_bounce_t12 __mathdemo = $ease_out_bounce_t11 __mathdemo
|
|
6
|
+
scoreboard players set $__const_10000 __mathdemo 10000
|
|
7
|
+
scoreboard players operation $ease_out_bounce_t12 __mathdemo /= $__const_10000 __mathdemo
|
|
8
|
+
scoreboard players operation $ease_out_bounce_t13 __mathdemo = $ease_out_bounce_t12 __mathdemo
|
|
9
|
+
scoreboard players operation $ease_out_bounce_t13 __mathdemo *= $ease_out_bounce_t9 __mathdemo
|
|
10
|
+
scoreboard players operation $ease_out_bounce_t14 __mathdemo = $ease_out_bounce_t13 __mathdemo
|
|
11
|
+
scoreboard players set $__const_10000 __mathdemo 10000
|
|
12
|
+
scoreboard players operation $ease_out_bounce_t14 __mathdemo /= $__const_10000 __mathdemo
|
|
13
|
+
scoreboard players operation $ease_out_bounce_t15 __mathdemo = $ease_out_bounce_t14 __mathdemo
|
|
14
|
+
scoreboard players add $ease_out_bounce_t15 __mathdemo 7500
|
|
15
|
+
scoreboard players operation $ret __mathdemo = $ease_out_bounce_t15 __mathdemo
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
scoreboard players operation $ease_out_bounce_t17 __mathdemo = $ease_out_bounce_t0 __mathdemo
|
|
2
|
+
scoreboard players remove $ease_out_bounce_t17 __mathdemo 8181
|
|
3
|
+
scoreboard players operation $ease_out_bounce_t19 __mathdemo = $ease_out_bounce_t1 __mathdemo
|
|
4
|
+
scoreboard players operation $ease_out_bounce_t19 __mathdemo *= $ease_out_bounce_t17 __mathdemo
|
|
5
|
+
scoreboard players operation $ease_out_bounce_t20 __mathdemo = $ease_out_bounce_t19 __mathdemo
|
|
6
|
+
scoreboard players set $__const_10000 __mathdemo 10000
|
|
7
|
+
scoreboard players operation $ease_out_bounce_t20 __mathdemo /= $__const_10000 __mathdemo
|
|
8
|
+
scoreboard players operation $ease_out_bounce_t21 __mathdemo = $ease_out_bounce_t20 __mathdemo
|
|
9
|
+
scoreboard players operation $ease_out_bounce_t21 __mathdemo *= $ease_out_bounce_t17 __mathdemo
|
|
10
|
+
scoreboard players operation $ease_out_bounce_t22 __mathdemo = $ease_out_bounce_t21 __mathdemo
|
|
11
|
+
scoreboard players set $__const_10000 __mathdemo 10000
|
|
12
|
+
scoreboard players operation $ease_out_bounce_t22 __mathdemo /= $__const_10000 __mathdemo
|
|
13
|
+
scoreboard players operation $ease_out_bounce_t23 __mathdemo = $ease_out_bounce_t22 __mathdemo
|
|
14
|
+
scoreboard players add $ease_out_bounce_t23 __mathdemo 9375
|
|
15
|
+
scoreboard players operation $ret __mathdemo = $ease_out_bounce_t23 __mathdemo
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
scoreboard players operation $ease_out_cubic_t0 __mathdemo = $p0 __mathdemo
|
|
2
|
+
scoreboard players set $ease_out_cubic_t1 __mathdemo 10000
|
|
3
|
+
scoreboard players operation $ease_out_cubic_t1 __mathdemo -= $ease_out_cubic_t0 __mathdemo
|
|
4
|
+
scoreboard players operation $ease_out_cubic_t3 __mathdemo = $ease_out_cubic_t1 __mathdemo
|
|
5
|
+
scoreboard players operation $ease_out_cubic_t3 __mathdemo *= $ease_out_cubic_t1 __mathdemo
|
|
6
|
+
scoreboard players operation $ease_out_cubic_t4 __mathdemo = $ease_out_cubic_t3 __mathdemo
|
|
7
|
+
scoreboard players set $__const_10000 __mathdemo 10000
|
|
8
|
+
scoreboard players operation $ease_out_cubic_t4 __mathdemo /= $__const_10000 __mathdemo
|
|
9
|
+
scoreboard players operation $ease_out_cubic_t5 __mathdemo = $ease_out_cubic_t4 __mathdemo
|
|
10
|
+
scoreboard players operation $ease_out_cubic_t5 __mathdemo *= $ease_out_cubic_t1 __mathdemo
|
|
11
|
+
scoreboard players operation $ease_out_cubic_t6 __mathdemo = $ease_out_cubic_t5 __mathdemo
|
|
12
|
+
scoreboard players set $__const_10000 __mathdemo 10000
|
|
13
|
+
scoreboard players operation $ease_out_cubic_t6 __mathdemo /= $__const_10000 __mathdemo
|
|
14
|
+
scoreboard players set $ease_out_cubic_t7 __mathdemo 10000
|
|
15
|
+
scoreboard players operation $ease_out_cubic_t7 __mathdemo -= $ease_out_cubic_t6 __mathdemo
|
|
16
|
+
scoreboard players operation $ret __mathdemo = $ease_out_cubic_t7 __mathdemo
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
scoreboard players set $ease_out_cubic__const_5000_t1 __mathdemo 5000
|
|
2
|
+
scoreboard players operation $ease_out_cubic__const_5000_t3 __mathdemo = $ease_out_cubic__const_5000_t1 __mathdemo
|
|
3
|
+
scoreboard players operation $ease_out_cubic__const_5000_t3 __mathdemo *= $ease_out_cubic__const_5000_t1 __mathdemo
|
|
4
|
+
scoreboard players operation $ease_out_cubic__const_5000_t4 __mathdemo = $ease_out_cubic__const_5000_t3 __mathdemo
|
|
5
|
+
scoreboard players set $__const_10000 __mathdemo 10000
|
|
6
|
+
scoreboard players operation $ease_out_cubic__const_5000_t4 __mathdemo /= $__const_10000 __mathdemo
|
|
7
|
+
scoreboard players operation $ease_out_cubic__const_5000_t5 __mathdemo = $ease_out_cubic__const_5000_t4 __mathdemo
|
|
8
|
+
scoreboard players operation $ease_out_cubic__const_5000_t5 __mathdemo *= $ease_out_cubic__const_5000_t1 __mathdemo
|
|
9
|
+
scoreboard players operation $ease_out_cubic__const_5000_t6 __mathdemo = $ease_out_cubic__const_5000_t5 __mathdemo
|
|
10
|
+
scoreboard players set $__const_10000 __mathdemo 10000
|
|
11
|
+
scoreboard players operation $ease_out_cubic__const_5000_t6 __mathdemo /= $__const_10000 __mathdemo
|
|
12
|
+
scoreboard players set $ease_out_cubic__const_5000_t7 __mathdemo 10000
|
|
13
|
+
scoreboard players operation $ease_out_cubic__const_5000_t7 __mathdemo -= $ease_out_cubic__const_5000_t6 __mathdemo
|
|
14
|
+
scoreboard players operation $ret __mathdemo = $ease_out_cubic__const_5000_t7 __mathdemo
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
scoreboard players operation $ease_out_expo_t0 __mathdemo = $p0 __mathdemo
|
|
2
|
+
scoreboard players set $__const_10000 __mathdemo 10000
|
|
3
|
+
execute store success score $ease_out_expo_t1 __mathdemo if score $ease_out_expo_t0 __mathdemo >= $__const_10000 __mathdemo
|
|
4
|
+
execute if score $ease_out_expo_t1 __mathdemo matches 1 run return run function mathdemo:ease_out_expo__then_0
|
|
5
|
+
function mathdemo:ease_out_expo__merge_1
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
scoreboard players set $ease_out_expo_t2 __mathdemo 10000
|
|
2
|
+
scoreboard players operation $ease_out_expo_t2 __mathdemo -= $ease_out_expo_t0 __mathdemo
|
|
3
|
+
scoreboard players operation $p0 __mathdemo = $ease_out_expo_t2 __mathdemo
|
|
4
|
+
function mathdemo:ease_in_expo
|
|
5
|
+
scoreboard players operation $ease_out_expo_t3 __mathdemo = $ret __mathdemo
|
|
6
|
+
scoreboard players set $ease_out_expo_t4 __mathdemo 10000
|
|
7
|
+
scoreboard players operation $ease_out_expo_t4 __mathdemo -= $ease_out_expo_t3 __mathdemo
|
|
8
|
+
scoreboard players operation $ret __mathdemo = $ease_out_expo_t4 __mathdemo
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
scoreboard players operation $ease_out_quad_t0 __mathdemo = $p0 __mathdemo
|
|
2
|
+
scoreboard players set $ease_out_quad_t1 __mathdemo 10000
|
|
3
|
+
scoreboard players operation $ease_out_quad_t1 __mathdemo -= $ease_out_quad_t0 __mathdemo
|
|
4
|
+
scoreboard players operation $ease_out_quad_t3 __mathdemo = $ease_out_quad_t1 __mathdemo
|
|
5
|
+
scoreboard players operation $ease_out_quad_t3 __mathdemo *= $ease_out_quad_t1 __mathdemo
|
|
6
|
+
scoreboard players operation $ease_out_quad_t4 __mathdemo = $ease_out_quad_t3 __mathdemo
|
|
7
|
+
scoreboard players set $__const_10000 __mathdemo 10000
|
|
8
|
+
scoreboard players operation $ease_out_quad_t4 __mathdemo /= $__const_10000 __mathdemo
|
|
9
|
+
scoreboard players set $ease_out_quad_t5 __mathdemo 10000
|
|
10
|
+
scoreboard players operation $ease_out_quad_t5 __mathdemo -= $ease_out_quad_t4 __mathdemo
|
|
11
|
+
scoreboard players operation $ret __mathdemo = $ease_out_quad_t5 __mathdemo
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
scoreboard players operation $ease_out_quart_t0 __mathdemo = $p0 __mathdemo
|
|
2
|
+
scoreboard players set $ease_out_quart_t1 __mathdemo 10000
|
|
3
|
+
scoreboard players operation $ease_out_quart_t1 __mathdemo -= $ease_out_quart_t0 __mathdemo
|
|
4
|
+
scoreboard players operation $ease_out_quart_t3 __mathdemo = $ease_out_quart_t1 __mathdemo
|
|
5
|
+
scoreboard players operation $ease_out_quart_t3 __mathdemo *= $ease_out_quart_t1 __mathdemo
|
|
6
|
+
scoreboard players operation $ease_out_quart_t4 __mathdemo = $ease_out_quart_t3 __mathdemo
|
|
7
|
+
scoreboard players set $__const_10000 __mathdemo 10000
|
|
8
|
+
scoreboard players operation $ease_out_quart_t4 __mathdemo /= $__const_10000 __mathdemo
|
|
9
|
+
scoreboard players operation $ease_out_quart_t6 __mathdemo = $ease_out_quart_t4 __mathdemo
|
|
10
|
+
scoreboard players operation $ease_out_quart_t6 __mathdemo *= $ease_out_quart_t4 __mathdemo
|
|
11
|
+
scoreboard players operation $ease_out_quart_t7 __mathdemo = $ease_out_quart_t6 __mathdemo
|
|
12
|
+
scoreboard players set $__const_10000 __mathdemo 10000
|
|
13
|
+
scoreboard players operation $ease_out_quart_t7 __mathdemo /= $__const_10000 __mathdemo
|
|
14
|
+
scoreboard players set $ease_out_quart_t8 __mathdemo 10000
|
|
15
|
+
scoreboard players operation $ease_out_quart_t8 __mathdemo -= $ease_out_quart_t7 __mathdemo
|
|
16
|
+
scoreboard players operation $ret __mathdemo = $ease_out_quart_t8 __mathdemo
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
scoreboard players operation $ease_out_sine_t0 __mathdemo = $p0 __mathdemo
|
|
2
|
+
scoreboard players set $ease_out_sine_t1 __mathdemo 10000
|
|
3
|
+
scoreboard players operation $ease_out_sine_t1 __mathdemo -= $ease_out_sine_t0 __mathdemo
|
|
4
|
+
scoreboard players operation $p0 __mathdemo = $ease_out_sine_t1 __mathdemo
|
|
5
|
+
function mathdemo:ease_in_sine
|
|
6
|
+
scoreboard players operation $ease_out_sine_t2 __mathdemo = $ret __mathdemo
|
|
7
|
+
scoreboard players set $ease_out_sine_t3 __mathdemo 10000
|
|
8
|
+
scoreboard players operation $ease_out_sine_t3 __mathdemo -= $ease_out_sine_t2 __mathdemo
|
|
9
|
+
scoreboard players operation $ret __mathdemo = $ease_out_sine_t3 __mathdemo
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
scoreboard players operation $ease_smooth_t0 __mathdemo = $p0 __mathdemo
|
|
2
|
+
scoreboard players set $ease_smooth_t1 __mathdemo 3
|
|
3
|
+
scoreboard players operation $ease_smooth_t1 __mathdemo *= $ease_smooth_t0 __mathdemo
|
|
4
|
+
scoreboard players operation $ease_smooth_t2 __mathdemo = $ease_smooth_t1 __mathdemo
|
|
5
|
+
scoreboard players operation $ease_smooth_t2 __mathdemo *= $ease_smooth_t0 __mathdemo
|
|
6
|
+
scoreboard players operation $ease_smooth_t3 __mathdemo = $ease_smooth_t2 __mathdemo
|
|
7
|
+
scoreboard players set $__const_10000 __mathdemo 10000
|
|
8
|
+
scoreboard players operation $ease_smooth_t3 __mathdemo /= $__const_10000 __mathdemo
|
|
9
|
+
scoreboard players set $ease_smooth_t4 __mathdemo 2
|
|
10
|
+
scoreboard players operation $ease_smooth_t4 __mathdemo *= $ease_smooth_t0 __mathdemo
|
|
11
|
+
scoreboard players operation $ease_smooth_t5 __mathdemo = $ease_smooth_t4 __mathdemo
|
|
12
|
+
scoreboard players operation $ease_smooth_t5 __mathdemo *= $ease_smooth_t0 __mathdemo
|
|
13
|
+
scoreboard players operation $ease_smooth_t6 __mathdemo = $ease_smooth_t5 __mathdemo
|
|
14
|
+
scoreboard players set $__const_10000 __mathdemo 10000
|
|
15
|
+
scoreboard players operation $ease_smooth_t6 __mathdemo /= $__const_10000 __mathdemo
|
|
16
|
+
scoreboard players operation $ease_smooth_t7 __mathdemo = $ease_smooth_t6 __mathdemo
|
|
17
|
+
scoreboard players operation $ease_smooth_t7 __mathdemo *= $ease_smooth_t0 __mathdemo
|
|
18
|
+
scoreboard players operation $ease_smooth_t8 __mathdemo = $ease_smooth_t7 __mathdemo
|
|
19
|
+
scoreboard players set $__const_10000 __mathdemo 10000
|
|
20
|
+
scoreboard players operation $ease_smooth_t8 __mathdemo /= $__const_10000 __mathdemo
|
|
21
|
+
scoreboard players operation $ease_smooth_t9 __mathdemo = $ease_smooth_t3 __mathdemo
|
|
22
|
+
scoreboard players operation $ease_smooth_t9 __mathdemo -= $ease_smooth_t8 __mathdemo
|
|
23
|
+
scoreboard players operation $ret __mathdemo = $ease_smooth_t9 __mathdemo
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
scoreboard players operation $ease_smoother_t0 __mathdemo = $p0 __mathdemo
|
|
2
|
+
scoreboard players operation $ease_smoother_t1 __mathdemo = $ease_smoother_t0 __mathdemo
|
|
3
|
+
scoreboard players operation $ease_smoother_t1 __mathdemo *= $ease_smoother_t0 __mathdemo
|
|
4
|
+
scoreboard players operation $ease_smoother_t2 __mathdemo = $ease_smoother_t1 __mathdemo
|
|
5
|
+
scoreboard players set $__const_10000 __mathdemo 10000
|
|
6
|
+
scoreboard players operation $ease_smoother_t2 __mathdemo /= $__const_10000 __mathdemo
|
|
7
|
+
scoreboard players operation $ease_smoother_t4 __mathdemo = $ease_smoother_t2 __mathdemo
|
|
8
|
+
scoreboard players operation $ease_smoother_t4 __mathdemo *= $ease_smoother_t0 __mathdemo
|
|
9
|
+
scoreboard players operation $ease_smoother_t5 __mathdemo = $ease_smoother_t4 __mathdemo
|
|
10
|
+
scoreboard players set $__const_10000 __mathdemo 10000
|
|
11
|
+
scoreboard players operation $ease_smoother_t5 __mathdemo /= $__const_10000 __mathdemo
|
|
12
|
+
scoreboard players operation $ease_smoother_t7 __mathdemo = $ease_smoother_t5 __mathdemo
|
|
13
|
+
scoreboard players operation $ease_smoother_t7 __mathdemo *= $ease_smoother_t0 __mathdemo
|
|
14
|
+
scoreboard players operation $ease_smoother_t8 __mathdemo = $ease_smoother_t7 __mathdemo
|
|
15
|
+
scoreboard players set $__const_10000 __mathdemo 10000
|
|
16
|
+
scoreboard players operation $ease_smoother_t8 __mathdemo /= $__const_10000 __mathdemo
|
|
17
|
+
scoreboard players operation $ease_smoother_t10 __mathdemo = $ease_smoother_t8 __mathdemo
|
|
18
|
+
scoreboard players operation $ease_smoother_t10 __mathdemo *= $ease_smoother_t0 __mathdemo
|
|
19
|
+
scoreboard players operation $ease_smoother_t11 __mathdemo = $ease_smoother_t10 __mathdemo
|
|
20
|
+
scoreboard players set $__const_10000 __mathdemo 10000
|
|
21
|
+
scoreboard players operation $ease_smoother_t11 __mathdemo /= $__const_10000 __mathdemo
|
|
22
|
+
scoreboard players set $ease_smoother_t13 __mathdemo 6
|
|
23
|
+
scoreboard players operation $ease_smoother_t13 __mathdemo *= $ease_smoother_t11 __mathdemo
|
|
24
|
+
scoreboard players operation $ease_smoother_t14 __mathdemo = $ease_smoother_t13 __mathdemo
|
|
25
|
+
scoreboard players set $__const_10000 __mathdemo 10000
|
|
26
|
+
scoreboard players operation $ease_smoother_t14 __mathdemo /= $__const_10000 __mathdemo
|
|
27
|
+
scoreboard players set $ease_smoother_t15 __mathdemo 15
|
|
28
|
+
scoreboard players operation $ease_smoother_t15 __mathdemo *= $ease_smoother_t8 __mathdemo
|
|
29
|
+
scoreboard players operation $ease_smoother_t16 __mathdemo = $ease_smoother_t15 __mathdemo
|
|
30
|
+
scoreboard players set $__const_10000 __mathdemo 10000
|
|
31
|
+
scoreboard players operation $ease_smoother_t16 __mathdemo /= $__const_10000 __mathdemo
|
|
32
|
+
scoreboard players operation $ease_smoother_t17 __mathdemo = $ease_smoother_t14 __mathdemo
|
|
33
|
+
scoreboard players operation $ease_smoother_t17 __mathdemo -= $ease_smoother_t16 __mathdemo
|
|
34
|
+
scoreboard players set $ease_smoother_t18 __mathdemo 10
|
|
35
|
+
scoreboard players operation $ease_smoother_t18 __mathdemo *= $ease_smoother_t5 __mathdemo
|
|
36
|
+
scoreboard players operation $ease_smoother_t19 __mathdemo = $ease_smoother_t18 __mathdemo
|
|
37
|
+
scoreboard players set $__const_10000 __mathdemo 10000
|
|
38
|
+
scoreboard players operation $ease_smoother_t19 __mathdemo /= $__const_10000 __mathdemo
|
|
39
|
+
scoreboard players operation $ease_smoother_t20 __mathdemo = $ease_smoother_t17 __mathdemo
|
|
40
|
+
scoreboard players operation $ease_smoother_t20 __mathdemo += $ease_smoother_t19 __mathdemo
|
|
41
|
+
scoreboard players operation $ret __mathdemo = $ease_smoother_t20 __mathdemo
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
scoreboard players operation $exp_fx_t0 __mathdemo = $p0 __mathdemo
|
|
2
|
+
scoreboard players set $exp_fx_t1 __mathdemo 6931
|
|
3
|
+
scoreboard players operation $exp_fx_t2 __mathdemo = $exp_fx_t0 __mathdemo
|
|
4
|
+
scoreboard players set $__const_6931 __mathdemo 6931
|
|
5
|
+
scoreboard players operation $exp_fx_t2 __mathdemo /= $__const_6931 __mathdemo
|
|
6
|
+
scoreboard players operation $exp_fx_t3 __mathdemo = $exp_fx_t2 __mathdemo
|
|
7
|
+
scoreboard players operation $exp_fx_t4 __mathdemo = $exp_fx_t2 __mathdemo
|
|
8
|
+
scoreboard players set $__const_6931 __mathdemo 6931
|
|
9
|
+
scoreboard players operation $exp_fx_t4 __mathdemo *= $__const_6931 __mathdemo
|
|
10
|
+
scoreboard players operation $exp_fx_t5 __mathdemo = $exp_fx_t0 __mathdemo
|
|
11
|
+
scoreboard players operation $exp_fx_t5 __mathdemo -= $exp_fx_t4 __mathdemo
|
|
12
|
+
scoreboard players operation $exp_fx_t6 __mathdemo = $exp_fx_t5 __mathdemo
|
|
13
|
+
scoreboard players set $__const_0 __mathdemo 0
|
|
14
|
+
execute store success score $exp_fx_t7 __mathdemo if score $exp_fx_t5 __mathdemo < $__const_0 __mathdemo
|
|
15
|
+
execute if score $exp_fx_t7 __mathdemo matches 1 run return run function mathdemo:exp_fx__then_0
|
|
16
|
+
function mathdemo:exp_fx__merge_1
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
scoreboard players operation $exp_fx_t40 __mathdemo = $exp_fx_t29 __mathdemo
|
|
2
|
+
scoreboard players set $__const_2 __mathdemo 2
|
|
3
|
+
scoreboard players operation $exp_fx_t40 __mathdemo /= $__const_2 __mathdemo
|
|
4
|
+
scoreboard players operation $exp_fx_t29 __mathdemo = $exp_fx_t40 __mathdemo
|
|
5
|
+
scoreboard players operation $exp_fx_t41 __mathdemo = $exp_fx_t36 __mathdemo
|
|
6
|
+
scoreboard players add $exp_fx_t41 __mathdemo 1
|
|
7
|
+
scoreboard players operation $exp_fx_t36 __mathdemo = $exp_fx_t41 __mathdemo
|
|
8
|
+
function mathdemo:exp_fx__loop_header_9
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
scoreboard players operation $exp_fx_t33 __mathdemo = $exp_fx_t29 __mathdemo
|
|
2
|
+
scoreboard players set $__const_2 __mathdemo 2
|
|
3
|
+
scoreboard players operation $exp_fx_t33 __mathdemo *= $__const_2 __mathdemo
|
|
4
|
+
scoreboard players operation $exp_fx_t29 __mathdemo = $exp_fx_t33 __mathdemo
|
|
5
|
+
scoreboard players operation $exp_fx_t34 __mathdemo = $exp_fx_t31 __mathdemo
|
|
6
|
+
scoreboard players add $exp_fx_t34 __mathdemo 1
|
|
7
|
+
scoreboard players operation $exp_fx_t31 __mathdemo = $exp_fx_t34 __mathdemo
|
|
8
|
+
function mathdemo:exp_fx__loop_header_4
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
function mathdemo:exp_fx__merge_8
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
function mathdemo:exp_fx__merge_3
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
scoreboard players set $exp_fx_t11 __mathdemo 14
|
|
2
|
+
scoreboard players operation $exp_fx_t11 __mathdemo *= $exp_fx_t6 __mathdemo
|
|
3
|
+
scoreboard players operation $exp_fx_t12 __mathdemo = $exp_fx_t11 __mathdemo
|
|
4
|
+
scoreboard players set $__const_10000 __mathdemo 10000
|
|
5
|
+
scoreboard players operation $exp_fx_t12 __mathdemo /= $__const_10000 __mathdemo
|
|
6
|
+
scoreboard players set $exp_fx_t13 __mathdemo 83
|
|
7
|
+
scoreboard players operation $exp_fx_t13 __mathdemo += $exp_fx_t12 __mathdemo
|
|
8
|
+
scoreboard players operation $exp_fx_t14 __mathdemo = $exp_fx_t13 __mathdemo
|
|
9
|
+
scoreboard players operation $exp_fx_t14 __mathdemo *= $exp_fx_t6 __mathdemo
|
|
10
|
+
scoreboard players operation $exp_fx_t15 __mathdemo = $exp_fx_t14 __mathdemo
|
|
11
|
+
scoreboard players set $__const_10000 __mathdemo 10000
|
|
12
|
+
scoreboard players operation $exp_fx_t15 __mathdemo /= $__const_10000 __mathdemo
|
|
13
|
+
scoreboard players set $exp_fx_t16 __mathdemo 417
|
|
14
|
+
scoreboard players operation $exp_fx_t16 __mathdemo += $exp_fx_t15 __mathdemo
|
|
15
|
+
scoreboard players operation $exp_fx_t17 __mathdemo = $exp_fx_t16 __mathdemo
|
|
16
|
+
scoreboard players operation $exp_fx_t17 __mathdemo *= $exp_fx_t6 __mathdemo
|
|
17
|
+
scoreboard players operation $exp_fx_t18 __mathdemo = $exp_fx_t17 __mathdemo
|
|
18
|
+
scoreboard players set $__const_10000 __mathdemo 10000
|
|
19
|
+
scoreboard players operation $exp_fx_t18 __mathdemo /= $__const_10000 __mathdemo
|
|
20
|
+
scoreboard players set $exp_fx_t19 __mathdemo 1667
|
|
21
|
+
scoreboard players operation $exp_fx_t19 __mathdemo += $exp_fx_t18 __mathdemo
|
|
22
|
+
scoreboard players operation $exp_fx_t20 __mathdemo = $exp_fx_t19 __mathdemo
|
|
23
|
+
scoreboard players operation $exp_fx_t20 __mathdemo *= $exp_fx_t6 __mathdemo
|
|
24
|
+
scoreboard players operation $exp_fx_t21 __mathdemo = $exp_fx_t20 __mathdemo
|
|
25
|
+
scoreboard players set $__const_10000 __mathdemo 10000
|
|
26
|
+
scoreboard players operation $exp_fx_t21 __mathdemo /= $__const_10000 __mathdemo
|
|
27
|
+
scoreboard players set $exp_fx_t22 __mathdemo 5000
|
|
28
|
+
scoreboard players operation $exp_fx_t22 __mathdemo += $exp_fx_t21 __mathdemo
|
|
29
|
+
scoreboard players operation $exp_fx_t23 __mathdemo = $exp_fx_t22 __mathdemo
|
|
30
|
+
scoreboard players operation $exp_fx_t23 __mathdemo *= $exp_fx_t6 __mathdemo
|
|
31
|
+
scoreboard players operation $exp_fx_t24 __mathdemo = $exp_fx_t23 __mathdemo
|
|
32
|
+
scoreboard players set $__const_10000 __mathdemo 10000
|
|
33
|
+
scoreboard players operation $exp_fx_t24 __mathdemo /= $__const_10000 __mathdemo
|
|
34
|
+
scoreboard players set $exp_fx_t25 __mathdemo 10000
|
|
35
|
+
scoreboard players operation $exp_fx_t25 __mathdemo += $exp_fx_t24 __mathdemo
|
|
36
|
+
scoreboard players operation $exp_fx_t26 __mathdemo = $exp_fx_t25 __mathdemo
|
|
37
|
+
scoreboard players operation $exp_fx_t26 __mathdemo *= $exp_fx_t6 __mathdemo
|
|
38
|
+
scoreboard players operation $exp_fx_t27 __mathdemo = $exp_fx_t26 __mathdemo
|
|
39
|
+
scoreboard players set $__const_10000 __mathdemo 10000
|
|
40
|
+
scoreboard players operation $exp_fx_t27 __mathdemo /= $__const_10000 __mathdemo
|
|
41
|
+
scoreboard players set $exp_fx_t28 __mathdemo 10000
|
|
42
|
+
scoreboard players operation $exp_fx_t28 __mathdemo += $exp_fx_t27 __mathdemo
|
|
43
|
+
scoreboard players operation $exp_fx_t29 __mathdemo = $exp_fx_t28 __mathdemo
|
|
44
|
+
scoreboard players set $__const_0 __mathdemo 0
|
|
45
|
+
execute store success score $exp_fx_t30 __mathdemo if score $exp_fx_t3 __mathdemo >= $__const_0 __mathdemo
|
|
46
|
+
execute if score $exp_fx_t30 __mathdemo matches 1 run return run function mathdemo:exp_fx__then_2
|
|
47
|
+
function mathdemo:exp_fx__merge_3
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
scoreboard players set $__const_0 __mathdemo 0
|
|
2
|
+
execute store success score $exp_fx_t35 __mathdemo if score $exp_fx_t3 __mathdemo < $__const_0 __mathdemo
|
|
3
|
+
execute if score $exp_fx_t35 __mathdemo matches 1 run return run function mathdemo:exp_fx__then_7
|
|
4
|
+
function mathdemo:exp_fx__merge_8
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
scoreboard players operation $ret __mathdemo = $exp_fx_t29 __mathdemo
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
scoreboard players operation $exp_fx_t8 __mathdemo = $exp_fx_t6 __mathdemo
|
|
2
|
+
scoreboard players operation $exp_fx_t8 __mathdemo += $exp_fx_t1 __mathdemo
|
|
3
|
+
scoreboard players operation $exp_fx_t6 __mathdemo = $exp_fx_t8 __mathdemo
|
|
4
|
+
scoreboard players operation $exp_fx_t9 __mathdemo = $exp_fx_t3 __mathdemo
|
|
5
|
+
scoreboard players remove $exp_fx_t9 __mathdemo 1
|
|
6
|
+
scoreboard players operation $exp_fx_t3 __mathdemo = $exp_fx_t9 __mathdemo
|
|
7
|
+
function mathdemo:exp_fx__merge_1
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
scoreboard players set $exp_fx_t36 __mathdemo 0
|
|
2
|
+
scoreboard players set $exp_fx_t37 __mathdemo 0
|
|
3
|
+
scoreboard players operation $exp_fx_t37 __mathdemo -= $exp_fx_t3 __mathdemo
|
|
4
|
+
scoreboard players operation $exp_fx_t38 __mathdemo = $exp_fx_t37 __mathdemo
|
|
5
|
+
function mathdemo:exp_fx__loop_header_9
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
scoreboard players operation $factorial_t0 __mathdemo = $p0 __mathdemo
|
|
2
|
+
scoreboard players set $__const_1 __mathdemo 1
|
|
3
|
+
execute store success score $factorial_t1 __mathdemo if score $factorial_t0 __mathdemo <= $__const_1 __mathdemo
|
|
4
|
+
execute if score $factorial_t1 __mathdemo matches 1 run return run function mathdemo:factorial__then_0
|
|
5
|
+
function mathdemo:factorial__merge_1
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
scoreboard players operation $factorial_t5 __mathdemo = $factorial_t2 __mathdemo
|
|
2
|
+
scoreboard players operation $factorial_t5 __mathdemo *= $factorial_t3 __mathdemo
|
|
3
|
+
scoreboard players operation $factorial_t2 __mathdemo = $factorial_t5 __mathdemo
|
|
4
|
+
scoreboard players operation $factorial_t6 __mathdemo = $factorial_t3 __mathdemo
|
|
5
|
+
scoreboard players add $factorial_t6 __mathdemo 1
|
|
6
|
+
scoreboard players operation $factorial_t3 __mathdemo = $factorial_t6 __mathdemo
|
|
7
|
+
function mathdemo:factorial__loop_header_3
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
scoreboard players operation $ret __mathdemo = $factorial_t2 __mathdemo
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
scoreboard players operation $fbm_1d_t0 __mathdemo = $p0 __mathdemo
|
|
2
|
+
scoreboard players operation $fbm_1d_t1 __mathdemo = $p1 __mathdemo
|
|
3
|
+
scoreboard players operation $fbm_1d_t2 __mathdemo = $p2 __mathdemo
|
|
4
|
+
scoreboard players set $fbm_1d_t3 __mathdemo 0
|
|
5
|
+
scoreboard players set $fbm_1d_t4 __mathdemo 10000
|
|
6
|
+
scoreboard players set $fbm_1d_t5 __mathdemo 10000
|
|
7
|
+
scoreboard players set $fbm_1d_t6 __mathdemo 0
|
|
8
|
+
scoreboard players set $fbm_1d_t7 __mathdemo 0
|
|
9
|
+
function mathdemo:fbm_1d__loop_header_0
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
scoreboard players operation $fbm_1d_t9 __mathdemo = $fbm_1d_t0 __mathdemo
|
|
2
|
+
scoreboard players operation $fbm_1d_t9 __mathdemo *= $fbm_1d_t5 __mathdemo
|
|
3
|
+
scoreboard players operation $fbm_1d_t10 __mathdemo = $fbm_1d_t9 __mathdemo
|
|
4
|
+
scoreboard players set $__const_10000 __mathdemo 10000
|
|
5
|
+
scoreboard players operation $fbm_1d_t10 __mathdemo /= $__const_10000 __mathdemo
|
|
6
|
+
scoreboard players operation $p0 __mathdemo = $fbm_1d_t10 __mathdemo
|
|
7
|
+
function mathdemo:value_noise_1d
|
|
8
|
+
scoreboard players operation $fbm_1d_t12 __mathdemo = $ret __mathdemo
|
|
9
|
+
scoreboard players operation $fbm_1d_t13 __mathdemo = $fbm_1d_t12 __mathdemo
|
|
10
|
+
scoreboard players operation $fbm_1d_t13 __mathdemo *= $fbm_1d_t4 __mathdemo
|
|
11
|
+
scoreboard players operation $fbm_1d_t14 __mathdemo = $fbm_1d_t13 __mathdemo
|
|
12
|
+
scoreboard players set $__const_10000 __mathdemo 10000
|
|
13
|
+
scoreboard players operation $fbm_1d_t14 __mathdemo /= $__const_10000 __mathdemo
|
|
14
|
+
scoreboard players operation $fbm_1d_t15 __mathdemo = $fbm_1d_t3 __mathdemo
|
|
15
|
+
scoreboard players operation $fbm_1d_t15 __mathdemo += $fbm_1d_t14 __mathdemo
|
|
16
|
+
scoreboard players operation $fbm_1d_t3 __mathdemo = $fbm_1d_t15 __mathdemo
|
|
17
|
+
scoreboard players operation $fbm_1d_t16 __mathdemo = $fbm_1d_t6 __mathdemo
|
|
18
|
+
scoreboard players operation $fbm_1d_t16 __mathdemo += $fbm_1d_t4 __mathdemo
|
|
19
|
+
scoreboard players operation $fbm_1d_t6 __mathdemo = $fbm_1d_t16 __mathdemo
|
|
20
|
+
scoreboard players operation $fbm_1d_t17 __mathdemo = $fbm_1d_t4 __mathdemo
|
|
21
|
+
scoreboard players operation $fbm_1d_t17 __mathdemo *= $fbm_1d_t2 __mathdemo
|
|
22
|
+
scoreboard players operation $fbm_1d_t18 __mathdemo = $fbm_1d_t17 __mathdemo
|
|
23
|
+
scoreboard players set $__const_10000 __mathdemo 10000
|
|
24
|
+
scoreboard players operation $fbm_1d_t18 __mathdemo /= $__const_10000 __mathdemo
|
|
25
|
+
scoreboard players operation $fbm_1d_t4 __mathdemo = $fbm_1d_t18 __mathdemo
|
|
26
|
+
scoreboard players operation $fbm_1d_t19 __mathdemo = $fbm_1d_t5 __mathdemo
|
|
27
|
+
scoreboard players set $__const_2 __mathdemo 2
|
|
28
|
+
scoreboard players operation $fbm_1d_t19 __mathdemo *= $__const_2 __mathdemo
|
|
29
|
+
scoreboard players operation $fbm_1d_t5 __mathdemo = $fbm_1d_t19 __mathdemo
|
|
30
|
+
scoreboard players operation $fbm_1d_t20 __mathdemo = $fbm_1d_t7 __mathdemo
|
|
31
|
+
scoreboard players add $fbm_1d_t20 __mathdemo 1
|
|
32
|
+
scoreboard players operation $fbm_1d_t7 __mathdemo = $fbm_1d_t20 __mathdemo
|
|
33
|
+
function mathdemo:fbm_1d__loop_header_0
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
scoreboard players set $__const_0 __mathdemo 0
|
|
2
|
+
execute store success score $fbm_1d_t21 __mathdemo if score $fbm_1d_t6 __mathdemo <= $__const_0 __mathdemo
|
|
3
|
+
execute if score $fbm_1d_t21 __mathdemo matches 1 run return run function mathdemo:fbm_1d__then_3
|
|
4
|
+
function mathdemo:fbm_1d__merge_4
|