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.
Files changed (905) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/README.md +2 -0
  3. package/dist/data/mathdemo/function/__load.mcfunction +2 -0
  4. package/dist/data/mathdemo/function/_atan_init.mcfunction +4 -0
  5. package/dist/data/mathdemo/function/_math_init.mcfunction +4 -0
  6. package/dist/data/mathdemo/function/add2d_x.mcfunction +5 -0
  7. package/dist/data/mathdemo/function/add2d_y.mcfunction +5 -0
  8. package/dist/data/mathdemo/function/add3d_x.mcfunction +5 -0
  9. package/dist/data/mathdemo/function/add3d_y.mcfunction +5 -0
  10. package/dist/data/mathdemo/function/add3d_z.mcfunction +5 -0
  11. package/dist/data/mathdemo/function/air_drag_fx.mcfunction +2 -0
  12. package/dist/data/mathdemo/function/apply_drag.mcfunction +8 -0
  13. package/dist/data/mathdemo/function/apply_gravity.mcfunction +6 -0
  14. package/dist/data/mathdemo/function/approx_eq.mcfunction +10 -0
  15. package/dist/data/mathdemo/function/approx_eq__merge_1.mcfunction +3 -0
  16. package/dist/data/mathdemo/function/approx_eq__merge_3.mcfunction +2 -0
  17. package/dist/data/mathdemo/function/approx_eq__then_0.mcfunction +4 -0
  18. package/dist/data/mathdemo/function/approx_eq__then_2.mcfunction +2 -0
  19. package/dist/data/mathdemo/function/atan2_fixed.mcfunction +6 -0
  20. package/dist/data/mathdemo/function/atan2_fixed__else_30.mcfunction +2 -0
  21. package/dist/data/mathdemo/function/atan2_fixed__loop_body_26.mcfunction +21 -0
  22. package/dist/data/mathdemo/function/atan2_fixed__loop_exit_27.mcfunction +5 -0
  23. package/dist/data/mathdemo/function/atan2_fixed__loop_header_25.mcfunction +3 -0
  24. package/dist/data/mathdemo/function/atan2_fixed__merge_1.mcfunction +4 -0
  25. package/dist/data/mathdemo/function/atan2_fixed__merge_10.mcfunction +5 -0
  26. package/dist/data/mathdemo/function/atan2_fixed__merge_12.mcfunction +2 -0
  27. package/dist/data/mathdemo/function/atan2_fixed__merge_16.mcfunction +5 -0
  28. package/dist/data/mathdemo/function/atan2_fixed__merge_18.mcfunction +4 -0
  29. package/dist/data/mathdemo/function/atan2_fixed__merge_20.mcfunction +4 -0
  30. package/dist/data/mathdemo/function/atan2_fixed__merge_22.mcfunction +4 -0
  31. package/dist/data/mathdemo/function/atan2_fixed__merge_24.mcfunction +3 -0
  32. package/dist/data/mathdemo/function/atan2_fixed__merge_29.mcfunction +1 -0
  33. package/dist/data/mathdemo/function/atan2_fixed__merge_3.mcfunction +4 -0
  34. package/dist/data/mathdemo/function/atan2_fixed__merge_32.mcfunction +4 -0
  35. package/dist/data/mathdemo/function/atan2_fixed__merge_34.mcfunction +4 -0
  36. package/dist/data/mathdemo/function/atan2_fixed__merge_36.mcfunction +3 -0
  37. package/dist/data/mathdemo/function/atan2_fixed__merge_40.mcfunction +3 -0
  38. package/dist/data/mathdemo/function/atan2_fixed__merge_6.mcfunction +2 -0
  39. package/dist/data/mathdemo/function/atan2_fixed__then_0.mcfunction +4 -0
  40. package/dist/data/mathdemo/function/atan2_fixed__then_11.mcfunction +2 -0
  41. package/dist/data/mathdemo/function/atan2_fixed__then_15.mcfunction +4 -0
  42. package/dist/data/mathdemo/function/atan2_fixed__then_17.mcfunction +4 -0
  43. package/dist/data/mathdemo/function/atan2_fixed__then_19.mcfunction +2 -0
  44. package/dist/data/mathdemo/function/atan2_fixed__then_2.mcfunction +2 -0
  45. package/dist/data/mathdemo/function/atan2_fixed__then_21.mcfunction +2 -0
  46. package/dist/data/mathdemo/function/atan2_fixed__then_23.mcfunction +5 -0
  47. package/dist/data/mathdemo/function/atan2_fixed__then_28.mcfunction +4 -0
  48. package/dist/data/mathdemo/function/atan2_fixed__then_31.mcfunction +4 -0
  49. package/dist/data/mathdemo/function/atan2_fixed__then_33.mcfunction +4 -0
  50. package/dist/data/mathdemo/function/atan2_fixed__then_35.mcfunction +1 -0
  51. package/dist/data/mathdemo/function/atan2_fixed__then_39.mcfunction +3 -0
  52. package/dist/data/mathdemo/function/atan2_fixed__then_5.mcfunction +2 -0
  53. package/dist/data/mathdemo/function/atan2_fixed__then_9.mcfunction +4 -0
  54. package/dist/data/mathdemo/function/bounce_v.mcfunction +10 -0
  55. package/dist/data/mathdemo/function/cbrt_fx.mcfunction +5 -0
  56. package/dist/data/mathdemo/function/cbrt_fx__loop_body_6.mcfunction +7 -0
  57. package/dist/data/mathdemo/function/cbrt_fx__loop_exit_7.mcfunction +1 -0
  58. package/dist/data/mathdemo/function/cbrt_fx__loop_header_5.mcfunction +4 -0
  59. package/dist/data/mathdemo/function/cbrt_fx__merge_1.mcfunction +8 -0
  60. package/dist/data/mathdemo/function/cbrt_fx__merge_11.mcfunction +5 -0
  61. package/dist/data/mathdemo/function/cbrt_fx__merge_13.mcfunction +4 -0
  62. package/dist/data/mathdemo/function/cbrt_fx__merge_4.mcfunction +2 -0
  63. package/dist/data/mathdemo/function/cbrt_fx__merge_9.mcfunction +13 -0
  64. package/dist/data/mathdemo/function/cbrt_fx__then_0.mcfunction +2 -0
  65. package/dist/data/mathdemo/function/cbrt_fx__then_10.mcfunction +2 -0
  66. package/dist/data/mathdemo/function/cbrt_fx__then_12.mcfunction +2 -0
  67. package/dist/data/mathdemo/function/cbrt_fx__then_3.mcfunction +2 -0
  68. package/dist/data/mathdemo/function/cbrt_fx__then_8.mcfunction +2 -0
  69. package/dist/data/mathdemo/function/ceil_div.mcfunction +9 -0
  70. package/dist/data/mathdemo/function/chebyshev.mcfunction +14 -0
  71. package/dist/data/mathdemo/function/chebyshev3d.mcfunction +19 -0
  72. package/dist/data/mathdemo/function/chebyshev3d__merge_1.mcfunction +4 -0
  73. package/dist/data/mathdemo/function/chebyshev3d__merge_3.mcfunction +4 -0
  74. package/dist/data/mathdemo/function/chebyshev3d__merge_5.mcfunction +4 -0
  75. package/dist/data/mathdemo/function/chebyshev3d__merge_7.mcfunction +3 -0
  76. package/dist/data/mathdemo/function/chebyshev3d__merge_9.mcfunction +1 -0
  77. package/dist/data/mathdemo/function/chebyshev3d__then_0.mcfunction +4 -0
  78. package/dist/data/mathdemo/function/chebyshev3d__then_2.mcfunction +4 -0
  79. package/dist/data/mathdemo/function/chebyshev3d__then_4.mcfunction +4 -0
  80. package/dist/data/mathdemo/function/chebyshev3d__then_6.mcfunction +2 -0
  81. package/dist/data/mathdemo/function/chebyshev3d__then_8.mcfunction +2 -0
  82. package/dist/data/mathdemo/function/chebyshev__merge_1.mcfunction +4 -0
  83. package/dist/data/mathdemo/function/chebyshev__merge_3.mcfunction +3 -0
  84. package/dist/data/mathdemo/function/chebyshev__merge_5.mcfunction +1 -0
  85. package/dist/data/mathdemo/function/chebyshev__then_0.mcfunction +4 -0
  86. package/dist/data/mathdemo/function/chebyshev__then_2.mcfunction +4 -0
  87. package/dist/data/mathdemo/function/chebyshev__then_4.mcfunction +1 -0
  88. package/dist/data/mathdemo/function/circular_x.mcfunction +14 -0
  89. package/dist/data/mathdemo/function/circular_z.mcfunction +14 -0
  90. package/dist/data/mathdemo/function/clamp_velocity.mcfunction +5 -0
  91. package/dist/data/mathdemo/function/clamp_velocity__merge_1.mcfunction +5 -0
  92. package/dist/data/mathdemo/function/clamp_velocity__merge_4.mcfunction +1 -0
  93. package/dist/data/mathdemo/function/clamp_velocity__then_0.mcfunction +1 -0
  94. package/dist/data/mathdemo/function/clamp_velocity__then_3.mcfunction +3 -0
  95. package/dist/data/mathdemo/function/combinations.mcfunction +6 -0
  96. package/dist/data/mathdemo/function/combinations__loop_body_9.mcfunction +15 -0
  97. package/dist/data/mathdemo/function/combinations__loop_exit_10.mcfunction +1 -0
  98. package/dist/data/mathdemo/function/combinations__loop_header_8.mcfunction +3 -0
  99. package/dist/data/mathdemo/function/combinations__merge_1.mcfunction +3 -0
  100. package/dist/data/mathdemo/function/combinations__merge_4.mcfunction +6 -0
  101. package/dist/data/mathdemo/function/combinations__merge_7.mcfunction +3 -0
  102. package/dist/data/mathdemo/function/combinations__then_0.mcfunction +2 -0
  103. package/dist/data/mathdemo/function/combinations__then_3.mcfunction +2 -0
  104. package/dist/data/mathdemo/function/combinations__then_6.mcfunction +4 -0
  105. package/dist/data/mathdemo/function/cos_fixed.mcfunction +7 -0
  106. package/dist/data/mathdemo/function/cross2d.mcfunction +11 -0
  107. package/dist/data/mathdemo/function/cross3d_x.mcfunction +11 -0
  108. package/dist/data/mathdemo/function/cross3d_y.mcfunction +11 -0
  109. package/dist/data/mathdemo/function/cross3d_z.mcfunction +11 -0
  110. package/dist/data/mathdemo/function/demo_easing.mcfunction +12 -0
  111. package/dist/data/mathdemo/function/demo_math.mcfunction +16 -0
  112. package/dist/data/mathdemo/function/demo_noise.mcfunction +14 -0
  113. package/dist/data/mathdemo/function/demo_physics.mcfunction +11 -0
  114. package/dist/data/mathdemo/function/demo_physics__loop_body_1.mcfunction +9 -0
  115. package/dist/data/mathdemo/function/demo_physics__loop_body_4.mcfunction +18 -0
  116. package/dist/data/mathdemo/function/demo_physics__loop_exit_2.mcfunction +6 -0
  117. package/dist/data/mathdemo/function/demo_physics__loop_exit_5.mcfunction +1 -0
  118. package/dist/data/mathdemo/function/demo_physics__loop_header_0.mcfunction +4 -0
  119. package/dist/data/mathdemo/function/demo_physics__loop_header_3.mcfunction +4 -0
  120. package/dist/data/mathdemo/function/distance2d_fixed.mcfunction +13 -0
  121. package/dist/data/mathdemo/function/distance3d_fixed.mcfunction +18 -0
  122. package/dist/data/mathdemo/function/divfix.mcfunction +6 -0
  123. package/dist/data/mathdemo/function/divfix__merge_1.mcfunction +6 -0
  124. package/dist/data/mathdemo/function/divfix__then_0.mcfunction +2 -0
  125. package/dist/data/mathdemo/function/dot2d.mcfunction +11 -0
  126. package/dist/data/mathdemo/function/dot3d.mcfunction +17 -0
  127. package/dist/data/mathdemo/function/ease_in_back.mcfunction +26 -0
  128. package/dist/data/mathdemo/function/ease_in_bounce.mcfunction +9 -0
  129. package/dist/data/mathdemo/function/ease_in_cubic.mcfunction +12 -0
  130. package/dist/data/mathdemo/function/ease_in_expo.mcfunction +5 -0
  131. package/dist/data/mathdemo/function/ease_in_expo__merge_1.mcfunction +11 -0
  132. package/dist/data/mathdemo/function/ease_in_expo__then_0.mcfunction +2 -0
  133. package/dist/data/mathdemo/function/ease_in_out_back.mcfunction +5 -0
  134. package/dist/data/mathdemo/function/ease_in_out_back__merge_1.mcfunction +14 -0
  135. package/dist/data/mathdemo/function/ease_in_out_back__then_0.mcfunction +10 -0
  136. package/dist/data/mathdemo/function/ease_in_out_bounce.mcfunction +5 -0
  137. package/dist/data/mathdemo/function/ease_in_out_bounce__merge_1.mcfunction +14 -0
  138. package/dist/data/mathdemo/function/ease_in_out_bounce__then_0.mcfunction +10 -0
  139. package/dist/data/mathdemo/function/ease_in_out_cubic.mcfunction +5 -0
  140. package/dist/data/mathdemo/function/ease_in_out_cubic__merge_1.mcfunction +17 -0
  141. package/dist/data/mathdemo/function/ease_in_out_cubic__then_0.mcfunction +13 -0
  142. package/dist/data/mathdemo/function/ease_in_out_quad.mcfunction +5 -0
  143. package/dist/data/mathdemo/function/ease_in_out_quad__merge_1.mcfunction +12 -0
  144. package/dist/data/mathdemo/function/ease_in_out_quad__then_0.mcfunction +8 -0
  145. package/dist/data/mathdemo/function/ease_in_out_sine.mcfunction +5 -0
  146. package/dist/data/mathdemo/function/ease_in_out_sine__merge_1.mcfunction +14 -0
  147. package/dist/data/mathdemo/function/ease_in_out_sine__then_0.mcfunction +10 -0
  148. package/dist/data/mathdemo/function/ease_in_quad.mcfunction +7 -0
  149. package/dist/data/mathdemo/function/ease_in_quad__const_5000.mcfunction +5 -0
  150. package/dist/data/mathdemo/function/ease_in_quart.mcfunction +12 -0
  151. package/dist/data/mathdemo/function/ease_in_sine.mcfunction +30 -0
  152. package/dist/data/mathdemo/function/ease_linear.mcfunction +2 -0
  153. package/dist/data/mathdemo/function/ease_linear__const_5000.mcfunction +2 -0
  154. package/dist/data/mathdemo/function/ease_out_back.mcfunction +9 -0
  155. package/dist/data/mathdemo/function/ease_out_back__const_5000.mcfunction +7 -0
  156. package/dist/data/mathdemo/function/ease_out_bounce.mcfunction +6 -0
  157. package/dist/data/mathdemo/function/ease_out_bounce__merge_1.mcfunction +4 -0
  158. package/dist/data/mathdemo/function/ease_out_bounce__merge_4.mcfunction +4 -0
  159. package/dist/data/mathdemo/function/ease_out_bounce__merge_7.mcfunction +15 -0
  160. package/dist/data/mathdemo/function/ease_out_bounce__then_0.mcfunction +11 -0
  161. package/dist/data/mathdemo/function/ease_out_bounce__then_3.mcfunction +15 -0
  162. package/dist/data/mathdemo/function/ease_out_bounce__then_6.mcfunction +15 -0
  163. package/dist/data/mathdemo/function/ease_out_cubic.mcfunction +16 -0
  164. package/dist/data/mathdemo/function/ease_out_cubic__const_5000.mcfunction +14 -0
  165. package/dist/data/mathdemo/function/ease_out_expo.mcfunction +5 -0
  166. package/dist/data/mathdemo/function/ease_out_expo__merge_1.mcfunction +8 -0
  167. package/dist/data/mathdemo/function/ease_out_expo__then_0.mcfunction +2 -0
  168. package/dist/data/mathdemo/function/ease_out_quad.mcfunction +11 -0
  169. package/dist/data/mathdemo/function/ease_out_quart.mcfunction +16 -0
  170. package/dist/data/mathdemo/function/ease_out_sine.mcfunction +9 -0
  171. package/dist/data/mathdemo/function/ease_smooth.mcfunction +23 -0
  172. package/dist/data/mathdemo/function/ease_smoother.mcfunction +41 -0
  173. package/dist/data/mathdemo/function/exp_fx.mcfunction +16 -0
  174. package/dist/data/mathdemo/function/exp_fx__loop_body_10.mcfunction +8 -0
  175. package/dist/data/mathdemo/function/exp_fx__loop_body_5.mcfunction +8 -0
  176. package/dist/data/mathdemo/function/exp_fx__loop_exit_11.mcfunction +1 -0
  177. package/dist/data/mathdemo/function/exp_fx__loop_exit_6.mcfunction +1 -0
  178. package/dist/data/mathdemo/function/exp_fx__loop_header_4.mcfunction +3 -0
  179. package/dist/data/mathdemo/function/exp_fx__loop_header_9.mcfunction +3 -0
  180. package/dist/data/mathdemo/function/exp_fx__merge_1.mcfunction +47 -0
  181. package/dist/data/mathdemo/function/exp_fx__merge_3.mcfunction +4 -0
  182. package/dist/data/mathdemo/function/exp_fx__merge_8.mcfunction +1 -0
  183. package/dist/data/mathdemo/function/exp_fx__then_0.mcfunction +7 -0
  184. package/dist/data/mathdemo/function/exp_fx__then_2.mcfunction +2 -0
  185. package/dist/data/mathdemo/function/exp_fx__then_7.mcfunction +5 -0
  186. package/dist/data/mathdemo/function/factorial.mcfunction +5 -0
  187. package/dist/data/mathdemo/function/factorial__loop_body_4.mcfunction +7 -0
  188. package/dist/data/mathdemo/function/factorial__loop_exit_5.mcfunction +1 -0
  189. package/dist/data/mathdemo/function/factorial__loop_header_3.mcfunction +3 -0
  190. package/dist/data/mathdemo/function/factorial__merge_1.mcfunction +3 -0
  191. package/dist/data/mathdemo/function/factorial__then_0.mcfunction +2 -0
  192. package/dist/data/mathdemo/function/fbm_1d.mcfunction +9 -0
  193. package/dist/data/mathdemo/function/fbm_1d__loop_body_1.mcfunction +33 -0
  194. package/dist/data/mathdemo/function/fbm_1d__loop_exit_2.mcfunction +4 -0
  195. package/dist/data/mathdemo/function/fbm_1d__loop_header_0.mcfunction +3 -0
  196. package/dist/data/mathdemo/function/fbm_1d__merge_4.mcfunction +6 -0
  197. package/dist/data/mathdemo/function/fbm_1d__then_3.mcfunction +2 -0
  198. package/dist/data/mathdemo/function/fbm_2d.mcfunction +10 -0
  199. package/dist/data/mathdemo/function/fbm_2d__loop_body_1.mcfunction +39 -0
  200. package/dist/data/mathdemo/function/fbm_2d__loop_exit_2.mcfunction +4 -0
  201. package/dist/data/mathdemo/function/fbm_2d__loop_header_0.mcfunction +3 -0
  202. package/dist/data/mathdemo/function/fbm_2d__merge_4.mcfunction +6 -0
  203. package/dist/data/mathdemo/function/fbm_2d__then_3.mcfunction +2 -0
  204. package/dist/data/mathdemo/function/friction_decel.mcfunction +5 -0
  205. package/dist/data/mathdemo/function/friction_decel__merge_1.mcfunction +5 -0
  206. package/dist/data/mathdemo/function/friction_decel__merge_4.mcfunction +2 -0
  207. package/dist/data/mathdemo/function/friction_decel__then_0.mcfunction +3 -0
  208. package/dist/data/mathdemo/function/friction_decel__then_3.mcfunction +3 -0
  209. package/dist/data/mathdemo/function/gamma_int.mcfunction +5 -0
  210. package/dist/data/mathdemo/function/gamma_int__merge_1.mcfunction +6 -0
  211. package/dist/data/mathdemo/function/gamma_int__then_0.mcfunction +2 -0
  212. package/dist/data/mathdemo/function/gcd.mcfunction +7 -0
  213. package/dist/data/mathdemo/function/gcd__loop_body_5.mcfunction +5 -0
  214. package/dist/data/mathdemo/function/gcd__loop_exit_6.mcfunction +1 -0
  215. package/dist/data/mathdemo/function/gcd__loop_header_4.mcfunction +4 -0
  216. package/dist/data/mathdemo/function/gcd__merge_1.mcfunction +5 -0
  217. package/dist/data/mathdemo/function/gcd__merge_3.mcfunction +1 -0
  218. package/dist/data/mathdemo/function/gcd__then_0.mcfunction +4 -0
  219. package/dist/data/mathdemo/function/gcd__then_2.mcfunction +4 -0
  220. package/dist/data/mathdemo/function/gravity_fx.mcfunction +2 -0
  221. package/dist/data/mathdemo/function/hash_1d.mcfunction +15 -0
  222. package/dist/data/mathdemo/function/hash_1d_pos.mcfunction +9 -0
  223. package/dist/data/mathdemo/function/hash_1d_pos__merge_1.mcfunction +4 -0
  224. package/dist/data/mathdemo/function/hash_1d_pos__then_0.mcfunction +4 -0
  225. package/dist/data/mathdemo/function/hash_2d.mcfunction +11 -0
  226. package/dist/data/mathdemo/function/hash_2d_pos.mcfunction +11 -0
  227. package/dist/data/mathdemo/function/hash_2d_pos__merge_1.mcfunction +4 -0
  228. package/dist/data/mathdemo/function/hash_2d_pos__then_0.mcfunction +4 -0
  229. package/dist/data/mathdemo/function/impact_velocity.mcfunction +5 -0
  230. package/dist/data/mathdemo/function/impact_velocity__merge_1.mcfunction +16 -0
  231. package/dist/data/mathdemo/function/impact_velocity__then_0.mcfunction +2 -0
  232. package/dist/data/mathdemo/function/is_grounded.mcfunction +5 -0
  233. package/dist/data/mathdemo/function/is_grounded__merge_1.mcfunction +2 -0
  234. package/dist/data/mathdemo/function/is_grounded__then_0.mcfunction +2 -0
  235. package/dist/data/mathdemo/function/isqrt.mcfunction +5 -0
  236. package/dist/data/mathdemo/function/isqrt__loop_body_10.mcfunction +8 -0
  237. package/dist/data/mathdemo/function/isqrt__loop_body_13.mcfunction +11 -0
  238. package/dist/data/mathdemo/function/isqrt__loop_body_7.mcfunction +8 -0
  239. package/dist/data/mathdemo/function/isqrt__loop_exit_11.mcfunction +2 -0
  240. package/dist/data/mathdemo/function/isqrt__loop_exit_14.mcfunction +1 -0
  241. package/dist/data/mathdemo/function/isqrt__loop_exit_8.mcfunction +9 -0
  242. package/dist/data/mathdemo/function/isqrt__loop_header_12.mcfunction +4 -0
  243. package/dist/data/mathdemo/function/isqrt__loop_header_6.mcfunction +4 -0
  244. package/dist/data/mathdemo/function/isqrt__loop_header_9.mcfunction +3 -0
  245. package/dist/data/mathdemo/function/isqrt__merge_1.mcfunction +4 -0
  246. package/dist/data/mathdemo/function/isqrt__merge_16.mcfunction +5 -0
  247. package/dist/data/mathdemo/function/isqrt__merge_4.mcfunction +3 -0
  248. package/dist/data/mathdemo/function/isqrt__then_0.mcfunction +2 -0
  249. package/dist/data/mathdemo/function/isqrt__then_15.mcfunction +1 -0
  250. package/dist/data/mathdemo/function/isqrt__then_3.mcfunction +2 -0
  251. package/dist/data/mathdemo/function/lcm.mcfunction +11 -0
  252. package/dist/data/mathdemo/function/lcm__merge_1.mcfunction +5 -0
  253. package/dist/data/mathdemo/function/lcm__then_0.mcfunction +2 -0
  254. package/dist/data/mathdemo/function/length2d_fixed.mcfunction +15 -0
  255. package/dist/data/mathdemo/function/length3d_fixed.mcfunction +20 -0
  256. package/dist/data/mathdemo/function/lerp.mcfunction +13 -0
  257. package/dist/data/mathdemo/function/lerp2d_x.mcfunction +13 -0
  258. package/dist/data/mathdemo/function/lerp2d_y.mcfunction +13 -0
  259. package/dist/data/mathdemo/function/ln.mcfunction +9 -0
  260. package/dist/data/mathdemo/function/ln__loop_body_1.mcfunction +8 -0
  261. package/dist/data/mathdemo/function/ln__loop_body_4.mcfunction +8 -0
  262. package/dist/data/mathdemo/function/ln__loop_exit_2.mcfunction +1 -0
  263. package/dist/data/mathdemo/function/ln__loop_exit_5.mcfunction +37 -0
  264. package/dist/data/mathdemo/function/ln__loop_header_0.mcfunction +3 -0
  265. package/dist/data/mathdemo/function/ln__loop_header_3.mcfunction +6 -0
  266. package/dist/data/mathdemo/function/load.mcfunction +1 -0
  267. package/dist/data/mathdemo/function/log10_fx.mcfunction +11 -0
  268. package/dist/data/mathdemo/function/log2_fx.mcfunction +11 -0
  269. package/dist/data/mathdemo/function/log2_int.mcfunction +5 -0
  270. package/dist/data/mathdemo/function/log2_int__loop_body_4.mcfunction +8 -0
  271. package/dist/data/mathdemo/function/log2_int__loop_exit_5.mcfunction +1 -0
  272. package/dist/data/mathdemo/function/log2_int__loop_header_3.mcfunction +4 -0
  273. package/dist/data/mathdemo/function/log2_int__merge_1.mcfunction +3 -0
  274. package/dist/data/mathdemo/function/log2_int__then_0.mcfunction +2 -0
  275. package/dist/data/mathdemo/function/loga_fx.mcfunction +10 -0
  276. package/dist/data/mathdemo/function/loga_fx__merge_1.mcfunction +9 -0
  277. package/dist/data/mathdemo/function/loga_fx__then_0.mcfunction +2 -0
  278. package/dist/data/mathdemo/function/manhattan.mcfunction +14 -0
  279. package/dist/data/mathdemo/function/manhattan3d.mcfunction +19 -0
  280. package/dist/data/mathdemo/function/manhattan3d__merge_1.mcfunction +4 -0
  281. package/dist/data/mathdemo/function/manhattan3d__merge_3.mcfunction +4 -0
  282. package/dist/data/mathdemo/function/manhattan3d__merge_5.mcfunction +5 -0
  283. package/dist/data/mathdemo/function/manhattan3d__then_0.mcfunction +4 -0
  284. package/dist/data/mathdemo/function/manhattan3d__then_2.mcfunction +4 -0
  285. package/dist/data/mathdemo/function/manhattan3d__then_4.mcfunction +4 -0
  286. package/dist/data/mathdemo/function/manhattan__merge_1.mcfunction +4 -0
  287. package/dist/data/mathdemo/function/manhattan__merge_3.mcfunction +3 -0
  288. package/dist/data/mathdemo/function/manhattan__then_0.mcfunction +4 -0
  289. package/dist/data/mathdemo/function/manhattan__then_2.mcfunction +4 -0
  290. package/dist/data/mathdemo/function/map.mcfunction +12 -0
  291. package/dist/data/mathdemo/function/map__merge_1.mcfunction +11 -0
  292. package/dist/data/mathdemo/function/map__then_0.mcfunction +1 -0
  293. package/dist/data/mathdemo/function/mulfix.mcfunction +8 -0
  294. package/dist/data/mathdemo/function/neg2d_x.mcfunction +4 -0
  295. package/dist/data/mathdemo/function/neg2d_y.mcfunction +4 -0
  296. package/dist/data/mathdemo/function/neg3d_x.mcfunction +4 -0
  297. package/dist/data/mathdemo/function/neg3d_y.mcfunction +4 -0
  298. package/dist/data/mathdemo/function/neg3d_z.mcfunction +4 -0
  299. package/dist/data/mathdemo/function/normalize2d_x.mcfunction +11 -0
  300. package/dist/data/mathdemo/function/normalize2d_x__merge_1.mcfunction +6 -0
  301. package/dist/data/mathdemo/function/normalize2d_x__then_0.mcfunction +2 -0
  302. package/dist/data/mathdemo/function/normalize2d_y.mcfunction +11 -0
  303. package/dist/data/mathdemo/function/normalize2d_y__merge_1.mcfunction +6 -0
  304. package/dist/data/mathdemo/function/normalize2d_y__then_0.mcfunction +2 -0
  305. package/dist/data/mathdemo/function/pow_int.mcfunction +6 -0
  306. package/dist/data/mathdemo/function/pow_int__loop_body_4.mcfunction +7 -0
  307. package/dist/data/mathdemo/function/pow_int__loop_exit_5.mcfunction +1 -0
  308. package/dist/data/mathdemo/function/pow_int__loop_header_3.mcfunction +4 -0
  309. package/dist/data/mathdemo/function/pow_int__merge_1.mcfunction +4 -0
  310. package/dist/data/mathdemo/function/pow_int__merge_7.mcfunction +8 -0
  311. package/dist/data/mathdemo/function/pow_int__then_0.mcfunction +2 -0
  312. package/dist/data/mathdemo/function/pow_int__then_6.mcfunction +4 -0
  313. package/dist/data/mathdemo/function/projectile_land_t.mcfunction +5 -0
  314. package/dist/data/mathdemo/function/projectile_land_t__merge_1.mcfunction +7 -0
  315. package/dist/data/mathdemo/function/projectile_land_t__then_0.mcfunction +2 -0
  316. package/dist/data/mathdemo/function/projectile_max_height.mcfunction +10 -0
  317. package/dist/data/mathdemo/function/projectile_max_height__const_200.mcfunction +8 -0
  318. package/dist/data/mathdemo/function/projectile_vy.mcfunction +9 -0
  319. package/dist/data/mathdemo/function/projectile_x.mcfunction +8 -0
  320. package/dist/data/mathdemo/function/projectile_y.mcfunction +19 -0
  321. package/dist/data/mathdemo/function/quadratic_disc.mcfunction +12 -0
  322. package/dist/data/mathdemo/function/quadratic_x1.mcfunction +7 -0
  323. package/dist/data/mathdemo/function/quadratic_x1__merge_1.mcfunction +13 -0
  324. package/dist/data/mathdemo/function/quadratic_x1__merge_4.mcfunction +15 -0
  325. package/dist/data/mathdemo/function/quadratic_x1__then_0.mcfunction +2 -0
  326. package/dist/data/mathdemo/function/quadratic_x1__then_3.mcfunction +2 -0
  327. package/dist/data/mathdemo/function/quadratic_x2.mcfunction +7 -0
  328. package/dist/data/mathdemo/function/quadratic_x2__merge_1.mcfunction +13 -0
  329. package/dist/data/mathdemo/function/quadratic_x2__merge_4.mcfunction +15 -0
  330. package/dist/data/mathdemo/function/quadratic_x2__then_0.mcfunction +2 -0
  331. package/dist/data/mathdemo/function/quadratic_x2__then_3.mcfunction +2 -0
  332. package/dist/data/mathdemo/function/rotate2d_x.mcfunction +20 -0
  333. package/dist/data/mathdemo/function/rotate2d_y.mcfunction +20 -0
  334. package/dist/data/mathdemo/function/scale2d_x.mcfunction +8 -0
  335. package/dist/data/mathdemo/function/scale2d_y.mcfunction +8 -0
  336. package/dist/data/mathdemo/function/scale3d_x.mcfunction +8 -0
  337. package/dist/data/mathdemo/function/scale3d_y.mcfunction +8 -0
  338. package/dist/data/mathdemo/function/scale3d_z.mcfunction +8 -0
  339. package/dist/data/mathdemo/function/sign.mcfunction +5 -0
  340. package/dist/data/mathdemo/function/sign__merge_1.mcfunction +4 -0
  341. package/dist/data/mathdemo/function/sign__merge_4.mcfunction +2 -0
  342. package/dist/data/mathdemo/function/sign__then_0.mcfunction +2 -0
  343. package/dist/data/mathdemo/function/sign__then_3.mcfunction +2 -0
  344. package/dist/data/mathdemo/function/sin_fixed.mcfunction +9 -0
  345. package/dist/data/mathdemo/function/sin_fixed__merge_1.mcfunction +4 -0
  346. package/dist/data/mathdemo/function/sin_fixed__merge_3.mcfunction +4 -0
  347. package/dist/data/mathdemo/function/sin_fixed__merge_6.mcfunction +4 -0
  348. package/dist/data/mathdemo/function/sin_fixed__merge_9.mcfunction +10 -0
  349. package/dist/data/mathdemo/function/sin_fixed__then_0.mcfunction +4 -0
  350. package/dist/data/mathdemo/function/sin_fixed__then_2.mcfunction +6 -0
  351. package/dist/data/mathdemo/function/sin_fixed__then_5.mcfunction +8 -0
  352. package/dist/data/mathdemo/function/sin_fixed__then_8.mcfunction +10 -0
  353. package/dist/data/mathdemo/function/smootherstep.mcfunction +10 -0
  354. package/dist/data/mathdemo/function/smootherstep__merge_1.mcfunction +12 -0
  355. package/dist/data/mathdemo/function/smootherstep__merge_4.mcfunction +4 -0
  356. package/dist/data/mathdemo/function/smootherstep__merge_6.mcfunction +27 -0
  357. package/dist/data/mathdemo/function/smootherstep__then_0.mcfunction +2 -0
  358. package/dist/data/mathdemo/function/smootherstep__then_3.mcfunction +2 -0
  359. package/dist/data/mathdemo/function/smootherstep__then_5.mcfunction +2 -0
  360. package/dist/data/mathdemo/function/smoothstep.mcfunction +10 -0
  361. package/dist/data/mathdemo/function/smoothstep__merge_1.mcfunction +12 -0
  362. package/dist/data/mathdemo/function/smoothstep__merge_4.mcfunction +4 -0
  363. package/dist/data/mathdemo/function/smoothstep__merge_6.mcfunction +15 -0
  364. package/dist/data/mathdemo/function/smoothstep__then_0.mcfunction +2 -0
  365. package/dist/data/mathdemo/function/smoothstep__then_3.mcfunction +2 -0
  366. package/dist/data/mathdemo/function/smoothstep__then_5.mcfunction +2 -0
  367. package/dist/data/mathdemo/function/solve2x2_x.mcfunction +17 -0
  368. package/dist/data/mathdemo/function/solve2x2_x__merge_1.mcfunction +12 -0
  369. package/dist/data/mathdemo/function/solve2x2_x__then_0.mcfunction +2 -0
  370. package/dist/data/mathdemo/function/solve2x2_y.mcfunction +17 -0
  371. package/dist/data/mathdemo/function/solve2x2_y__merge_1.mcfunction +12 -0
  372. package/dist/data/mathdemo/function/solve2x2_y__then_0.mcfunction +2 -0
  373. package/dist/data/mathdemo/function/spring_force.mcfunction +11 -0
  374. package/dist/data/mathdemo/function/spring_update_v.mcfunction +18 -0
  375. package/dist/data/mathdemo/function/sqrt_fixed.mcfunction +8 -0
  376. package/dist/data/mathdemo/function/sqrt_fx.mcfunction +11 -0
  377. package/dist/data/mathdemo/function/sqrt_fx__const_20000.mcfunction +8 -0
  378. package/dist/data/mathdemo/function/start.mcfunction +6 -0
  379. package/dist/data/mathdemo/function/sub2d_x.mcfunction +5 -0
  380. package/dist/data/mathdemo/function/sub2d_y.mcfunction +5 -0
  381. package/dist/data/mathdemo/function/sub3d_x.mcfunction +5 -0
  382. package/dist/data/mathdemo/function/sub3d_y.mcfunction +5 -0
  383. package/dist/data/mathdemo/function/sub3d_z.mcfunction +5 -0
  384. package/dist/data/mathdemo/function/terrain_height.mcfunction +24 -0
  385. package/dist/data/mathdemo/function/terrain_height__const_0_0_64_20.mcfunction +17 -0
  386. package/dist/data/mathdemo/function/terrain_height__const_10_5_64_20.mcfunction +17 -0
  387. package/dist/data/mathdemo/function/update_pos.mcfunction +5 -0
  388. package/dist/data/mathdemo/function/value_noise_1d.mcfunction +13 -0
  389. package/dist/data/mathdemo/function/value_noise_1d__merge_1.mcfunction +39 -0
  390. package/dist/data/mathdemo/function/value_noise_1d__then_0.mcfunction +7 -0
  391. package/dist/data/mathdemo/function/value_noise_2d.mcfunction +14 -0
  392. package/dist/data/mathdemo/function/value_noise_2d__merge_1.mcfunction +12 -0
  393. package/dist/data/mathdemo/function/value_noise_2d__merge_3.mcfunction +98 -0
  394. package/dist/data/mathdemo/function/value_noise_2d__then_0.mcfunction +7 -0
  395. package/dist/data/mathdemo/function/value_noise_2d__then_2.mcfunction +7 -0
  396. package/dist/data/mathdemo/function/water_drag_fx.mcfunction +2 -0
  397. package/dist/data/minecraft/tags/function/load.json +2 -1
  398. package/dist/data/minecraft/tags/function/tick.json +1 -1
  399. package/dist/data/test/function/__dyn_idx_test_arrays_a.mcfunction +1 -0
  400. package/dist/data/test/function/__dyn_idx_test_arrays_b.mcfunction +1 -0
  401. package/dist/data/test/function/__dyn_idx_test_arrays_c.mcfunction +1 -0
  402. package/dist/data/test/function/__dyn_idx_test_arrays_counter.mcfunction +1 -0
  403. package/dist/data/test/function/__dyn_idx_test_arrays_d.mcfunction +1 -0
  404. package/dist/data/test/function/__dyn_idx_test_arrays_e.mcfunction +1 -0
  405. package/dist/data/test/function/__dyn_idx_test_arrays_g.mcfunction +1 -0
  406. package/dist/data/test/function/__dyn_idx_test_arrays_h.mcfunction +1 -0
  407. package/dist/data/test/function/__dyn_idx_test_arrays_one.mcfunction +1 -0
  408. package/dist/data/test/function/__dyn_wrt_test_arrays_f.mcfunction +1 -0
  409. package/dist/data/test/function/__dyn_wrt_test_arrays_r.mcfunction +1 -0
  410. package/dist/data/test/function/__dyn_wrt_test_arrays_s.mcfunction +1 -0
  411. package/dist/data/test/function/_apply.mcfunction +5 -0
  412. package/dist/data/test/function/_divider.mcfunction +1 -0
  413. package/dist/data/test/function/_dump_advanced_phase.mcfunction +4 -0
  414. package/dist/data/test/function/_dump_advanced_phase__loop_body_1.mcfunction +7 -0
  415. package/dist/data/test/function/_dump_advanced_phase__loop_body_6.mcfunction +10 -0
  416. package/dist/data/test/function/_dump_advanced_phase__loop_exit_2.mcfunction +20 -0
  417. package/dist/data/test/function/_dump_advanced_phase__loop_exit_7.mcfunction +12 -0
  418. package/dist/data/test/function/_dump_advanced_phase__loop_header_0.mcfunction +4 -0
  419. package/dist/data/test/function/_dump_advanced_phase__loop_header_5.mcfunction +4 -0
  420. package/dist/data/test/function/_dump_advanced_phase__merge_4.mcfunction +4 -0
  421. package/dist/data/test/function/_dump_advanced_phase__then_3.mcfunction +2 -0
  422. package/dist/data/test/function/_dump_bigint_phase.mcfunction +28 -0
  423. package/dist/data/test/function/_dump_math_phase.mcfunction +4 -0
  424. package/dist/data/test/function/_dump_math_phase__loop_body_1.mcfunction +9 -0
  425. package/dist/data/test/function/_dump_math_phase__loop_exit_2.mcfunction +18 -0
  426. package/dist/data/test/function/_dump_math_phase__loop_header_0.mcfunction +4 -0
  427. package/dist/data/test/function/_fp.mcfunction +2 -0
  428. package/dist/data/test/function/_next_phase.mcfunction +1 -0
  429. package/dist/data/test/function/_section.mcfunction +3 -0
  430. package/dist/data/test/function/_section__const_0.mcfunction +3 -0
  431. package/dist/data/test/function/_tick_advanced_live.mcfunction +5 -0
  432. package/dist/data/test/function/_tick_advanced_live__foreach_t12.mcfunction +1 -0
  433. package/dist/data/test/function/_tick_bigint_live.mcfunction +8 -0
  434. package/dist/data/test/function/_tick_bigint_live__foreach_t11.mcfunction +1 -0
  435. package/dist/data/test/function/_tick_math.mcfunction +9 -0
  436. package/dist/data/test/function/_tick_math__foreach_t12.mcfunction +1 -0
  437. package/dist/data/test/function/_tick_visual.mcfunction +11 -0
  438. package/dist/data/test/function/_tick_visual__foreach_t12.mcfunction +1 -0
  439. package/dist/data/test/function/_tick_visual__foreach_t16.mcfunction +8 -0
  440. package/dist/data/test/function/_tick_visual__foreach_t17.mcfunction +8 -0
  441. package/dist/data/test/function/_tick_visual__foreach_t21.mcfunction +1 -0
  442. package/dist/data/test/function/air_drag_fx.mcfunction +2 -0
  443. package/dist/data/test/function/angle_between.mcfunction +28 -0
  444. package/dist/data/test/function/angle_between__and_false_2.mcfunction +2 -0
  445. package/dist/data/test/function/angle_between__and_false_8.mcfunction +2 -0
  446. package/dist/data/test/function/angle_between__and_merge_1.mcfunction +2 -0
  447. package/dist/data/test/function/angle_between__and_merge_7.mcfunction +2 -0
  448. package/dist/data/test/function/angle_between__and_right_0.mcfunction +4 -0
  449. package/dist/data/test/function/angle_between__and_right_6.mcfunction +4 -0
  450. package/dist/data/test/function/angle_between__merge_10.mcfunction +26 -0
  451. package/dist/data/test/function/angle_between__merge_4.mcfunction +4 -0
  452. package/dist/data/test/function/angle_between__then_3.mcfunction +2 -0
  453. package/dist/data/test/function/angle_between__then_9.mcfunction +2 -0
  454. package/dist/data/test/function/apply_drag.mcfunction +8 -0
  455. package/dist/data/test/function/apply_gravity.mcfunction +6 -0
  456. package/dist/data/test/function/approx_eq.mcfunction +1 -2
  457. package/dist/data/test/function/approx_eq__merge_1.mcfunction +1 -2
  458. package/dist/data/test/function/atan2_fixed.mcfunction +1 -2
  459. package/dist/data/test/function/atan2_fixed__loop_body_26.mcfunction +1 -2
  460. package/dist/data/test/function/atan2_fixed__loop_exit_27.mcfunction +1 -2
  461. package/dist/data/test/function/atan2_fixed__loop_header_25.mcfunction +1 -2
  462. package/dist/data/test/function/atan2_fixed__merge_1.mcfunction +1 -2
  463. package/dist/data/test/function/atan2_fixed__merge_10.mcfunction +1 -2
  464. package/dist/data/test/function/atan2_fixed__merge_16.mcfunction +1 -2
  465. package/dist/data/test/function/atan2_fixed__merge_18.mcfunction +1 -2
  466. package/dist/data/test/function/atan2_fixed__merge_20.mcfunction +1 -2
  467. package/dist/data/test/function/atan2_fixed__merge_22.mcfunction +1 -2
  468. package/dist/data/test/function/atan2_fixed__merge_3.mcfunction +1 -2
  469. package/dist/data/test/function/atan2_fixed__merge_32.mcfunction +1 -2
  470. package/dist/data/test/function/atan2_fixed__merge_34.mcfunction +1 -2
  471. package/dist/data/test/function/atan2_fixed__then_0.mcfunction +1 -2
  472. package/dist/data/test/function/atan2_fixed__then_33.mcfunction +1 -2
  473. package/dist/data/test/function/atan2_fixed__then_9.mcfunction +1 -2
  474. package/dist/data/test/function/bezier_cubic.mcfunction +36 -0
  475. package/dist/data/test/function/bezier_quad.mcfunction +20 -0
  476. package/dist/data/test/function/bigint3_borrow_lo.mcfunction +1 -2
  477. package/dist/data/test/function/bigint3_borrow_mid.mcfunction +1 -2
  478. package/dist/data/test/function/bigint3_cmp.mcfunction +1 -2
  479. package/dist/data/test/function/bigint3_cmp__merge_1.mcfunction +1 -2
  480. package/dist/data/test/function/bigint3_cmp__merge_10.mcfunction +1 -2
  481. package/dist/data/test/function/bigint3_cmp__merge_13.mcfunction +1 -2
  482. package/dist/data/test/function/bigint3_cmp__merge_4.mcfunction +1 -2
  483. package/dist/data/test/function/bigint3_cmp__merge_7.mcfunction +1 -2
  484. package/dist/data/test/function/bigint3_sub_lo.mcfunction +1 -2
  485. package/dist/data/test/function/bigint3_sub_mid.mcfunction +1 -2
  486. package/dist/data/test/function/bigint_add.mcfunction +8 -0
  487. package/dist/data/test/function/bigint_add__arr_a__test_arrays__a__b__test_arrays__b__result__test_arrays__r.mcfunction +6 -0
  488. 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
  489. 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
  490. 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
  491. package/dist/data/test/function/bigint_add__arr_a__test_arrays__counter__b__test_arrays__one__result__test_arrays__r.mcfunction +6 -0
  492. 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
  493. 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
  494. 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
  495. package/dist/data/test/function/bigint_add__loop_body_1.mcfunction +12 -0
  496. package/dist/data/test/function/bigint_add__loop_exit_2.mcfunction +1 -0
  497. package/dist/data/test/function/bigint_add__loop_header_0.mcfunction +4 -0
  498. package/dist/data/test/function/bigint_cmp.mcfunction +5 -0
  499. package/dist/data/test/function/bigint_cmp__arr_a__test_arrays__g__b__test_arrays__h.mcfunction +3 -0
  500. package/dist/data/test/function/bigint_cmp__arr_a__test_arrays__g__b__test_arrays__h__loop_body_1.mcfunction +7 -0
  501. package/dist/data/test/function/bigint_cmp__arr_a__test_arrays__g__b__test_arrays__h__loop_exit_2.mcfunction +2 -0
  502. package/dist/data/test/function/bigint_cmp__arr_a__test_arrays__g__b__test_arrays__h__loop_header_0.mcfunction +3 -0
  503. package/dist/data/test/function/bigint_cmp__arr_a__test_arrays__g__b__test_arrays__h__merge_4.mcfunction +7 -0
  504. package/dist/data/test/function/bigint_cmp__arr_a__test_arrays__g__b__test_arrays__h__merge_7.mcfunction +4 -0
  505. package/dist/data/test/function/bigint_cmp__arr_a__test_arrays__g__b__test_arrays__h__then_3.mcfunction +2 -0
  506. package/dist/data/test/function/bigint_cmp__arr_a__test_arrays__g__b__test_arrays__h__then_6.mcfunction +2 -0
  507. package/dist/data/test/function/bigint_cmp__loop_body_1.mcfunction +3 -0
  508. package/dist/data/test/function/bigint_cmp__loop_exit_2.mcfunction +2 -0
  509. package/dist/data/test/function/bigint_cmp__loop_header_0.mcfunction +3 -0
  510. package/dist/data/test/function/bigint_cmp__merge_4.mcfunction +3 -0
  511. package/dist/data/test/function/bigint_cmp__merge_7.mcfunction +4 -0
  512. package/dist/data/test/function/bigint_cmp__then_3.mcfunction +2 -0
  513. package/dist/data/test/function/bigint_cmp__then_6.mcfunction +2 -0
  514. package/dist/data/test/function/bigint_copy.mcfunction +3 -0
  515. package/dist/data/test/function/bigint_copy__loop_body_1.mcfunction +4 -0
  516. package/dist/data/test/function/bigint_copy__loop_exit_2.mcfunction +1 -0
  517. package/dist/data/test/function/bigint_copy__loop_header_0.mcfunction +3 -0
  518. package/dist/data/test/function/bigint_is_zero.mcfunction +4 -0
  519. package/dist/data/test/function/bigint_is_zero__loop_body_1.mcfunction +4 -0
  520. package/dist/data/test/function/bigint_is_zero__loop_exit_2.mcfunction +2 -0
  521. package/dist/data/test/function/bigint_is_zero__loop_header_0.mcfunction +3 -0
  522. package/dist/data/test/function/bigint_is_zero__merge_4.mcfunction +4 -0
  523. package/dist/data/test/function/bigint_is_zero__then_3.mcfunction +2 -0
  524. package/dist/data/test/function/bigint_leading_zeros.mcfunction +5 -0
  525. package/dist/data/test/function/bigint_leading_zeros__loop_body_1.mcfunction +4 -0
  526. package/dist/data/test/function/bigint_leading_zeros__loop_exit_2.mcfunction +1 -0
  527. package/dist/data/test/function/bigint_leading_zeros__loop_header_0.mcfunction +3 -0
  528. package/dist/data/test/function/bigint_leading_zeros__merge_4.mcfunction +9 -0
  529. package/dist/data/test/function/bigint_leading_zeros__then_3.mcfunction +1 -0
  530. package/dist/data/test/function/bigint_mul_small.mcfunction +8 -0
  531. package/dist/data/test/function/bigint_mul_small__arr_a__test_arrays__e__result__test_arrays__f.mcfunction +7 -0
  532. package/dist/data/test/function/bigint_mul_small__arr_a__test_arrays__e__result__test_arrays__f__loop_body_1.mcfunction +20 -0
  533. package/dist/data/test/function/bigint_mul_small__arr_a__test_arrays__e__result__test_arrays__f__loop_exit_2.mcfunction +1 -0
  534. package/dist/data/test/function/bigint_mul_small__arr_a__test_arrays__e__result__test_arrays__f__loop_header_0.mcfunction +4 -0
  535. package/dist/data/test/function/bigint_mul_small__loop_body_1.mcfunction +12 -0
  536. package/dist/data/test/function/bigint_mul_small__loop_exit_2.mcfunction +1 -0
  537. package/dist/data/test/function/bigint_mul_small__loop_header_0.mcfunction +4 -0
  538. package/dist/data/test/function/bigint_shift_left.mcfunction +3 -0
  539. package/dist/data/test/function/bigint_shift_left__loop_body_1.mcfunction +4 -0
  540. package/dist/data/test/function/bigint_shift_left__loop_exit_2.mcfunction +1 -0
  541. package/dist/data/test/function/bigint_shift_left__loop_header_0.mcfunction +5 -0
  542. package/dist/data/test/function/bigint_sub.mcfunction +8 -0
  543. package/dist/data/test/function/bigint_sub__arr_a__test_arrays__c__b__test_arrays__d__result__test_arrays__s.mcfunction +6 -0
  544. 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
  545. 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
  546. 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
  547. 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
  548. 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
  549. 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
  550. 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
  551. package/dist/data/test/function/bigint_sub__loop_body_1.mcfunction +9 -0
  552. package/dist/data/test/function/bigint_sub__loop_exit_2.mcfunction +1 -0
  553. package/dist/data/test/function/bigint_sub__loop_header_0.mcfunction +4 -0
  554. package/dist/data/test/function/bigint_sub__merge_4.mcfunction +4 -0
  555. package/dist/data/test/function/bigint_sub__merge_6.mcfunction +4 -0
  556. package/dist/data/test/function/bigint_sub__then_3.mcfunction +5 -0
  557. package/dist/data/test/function/bigint_sub__then_5.mcfunction +2 -0
  558. package/dist/data/test/function/bigint_zero.mcfunction +3 -0
  559. package/dist/data/test/function/bigint_zero__loop_body_1.mcfunction +4 -0
  560. package/dist/data/test/function/bigint_zero__loop_exit_2.mcfunction +1 -0
  561. package/dist/data/test/function/bigint_zero__loop_header_0.mcfunction +3 -0
  562. package/dist/data/test/function/billboard_y.mcfunction +7 -0
  563. package/dist/data/test/function/bounce_v.mcfunction +10 -0
  564. package/dist/data/test/function/cbrt_fx.mcfunction +1 -2
  565. package/dist/data/test/function/cbrt_fx__loop_body_6.mcfunction +1 -2
  566. package/dist/data/test/function/cbrt_fx__loop_header_5.mcfunction +1 -2
  567. package/dist/data/test/function/cbrt_fx__merge_1.mcfunction +1 -2
  568. package/dist/data/test/function/cbrt_fx__merge_11.mcfunction +1 -2
  569. package/dist/data/test/function/cbrt_fx__merge_9.mcfunction +1 -2
  570. package/dist/data/test/function/chebyshev.mcfunction +1 -2
  571. package/dist/data/test/function/chebyshev3d.mcfunction +1 -2
  572. package/dist/data/test/function/chebyshev3d__merge_1.mcfunction +1 -2
  573. package/dist/data/test/function/chebyshev3d__merge_3.mcfunction +1 -2
  574. package/dist/data/test/function/chebyshev3d__merge_5.mcfunction +1 -2
  575. package/dist/data/test/function/chebyshev3d__merge_7.mcfunction +1 -2
  576. package/dist/data/test/function/chebyshev__merge_1.mcfunction +1 -2
  577. package/dist/data/test/function/chebyshev__merge_3.mcfunction +1 -2
  578. package/dist/data/test/function/circular_x.mcfunction +14 -0
  579. package/dist/data/test/function/circular_z.mcfunction +14 -0
  580. package/dist/data/test/function/clamp_circle_x.mcfunction +13 -0
  581. package/dist/data/test/function/clamp_circle_x__merge_1.mcfunction +10 -0
  582. package/dist/data/test/function/clamp_circle_x__then_0.mcfunction +1 -0
  583. package/dist/data/test/function/clamp_circle_y.mcfunction +13 -0
  584. package/dist/data/test/function/clamp_circle_y__merge_1.mcfunction +10 -0
  585. package/dist/data/test/function/clamp_circle_y__then_0.mcfunction +1 -0
  586. package/dist/data/test/function/clamp_velocity.mcfunction +5 -0
  587. package/dist/data/test/function/clamp_velocity__merge_1.mcfunction +5 -0
  588. package/dist/data/test/function/clamp_velocity__merge_4.mcfunction +1 -0
  589. package/dist/data/test/function/clamp_velocity__then_0.mcfunction +1 -0
  590. package/dist/data/test/function/clamp_velocity__then_3.mcfunction +3 -0
  591. package/dist/data/test/function/collatz_steps.mcfunction +5 -0
  592. package/dist/data/test/function/collatz_steps__else_8.mcfunction +6 -0
  593. package/dist/data/test/function/collatz_steps__loop_body_4.mcfunction +7 -0
  594. package/dist/data/test/function/collatz_steps__loop_exit_5.mcfunction +1 -0
  595. package/dist/data/test/function/collatz_steps__loop_header_3.mcfunction +4 -0
  596. package/dist/data/test/function/collatz_steps__merge_1.mcfunction +3 -0
  597. package/dist/data/test/function/collatz_steps__merge_7.mcfunction +4 -0
  598. package/dist/data/test/function/collatz_steps__then_0.mcfunction +2 -0
  599. package/dist/data/test/function/collatz_steps__then_6.mcfunction +5 -0
  600. package/dist/data/test/function/combinations.mcfunction +1 -2
  601. package/dist/data/test/function/combinations__loop_header_8.mcfunction +1 -2
  602. package/dist/data/test/function/combinations__merge_1.mcfunction +1 -2
  603. package/dist/data/test/function/combinations__merge_4.mcfunction +1 -2
  604. package/dist/data/test/function/cos_fixed__const_0.mcfunction +5 -0
  605. package/dist/data/test/function/count_digits.mcfunction +6 -0
  606. package/dist/data/test/function/count_digits__loop_body_6.mcfunction +8 -0
  607. package/dist/data/test/function/count_digits__loop_exit_7.mcfunction +1 -0
  608. package/dist/data/test/function/count_digits__loop_header_5.mcfunction +4 -0
  609. package/dist/data/test/function/count_digits__merge_1.mcfunction +4 -0
  610. package/dist/data/test/function/count_digits__merge_3.mcfunction +2 -0
  611. package/dist/data/test/function/count_digits__then_0.mcfunction +4 -0
  612. package/dist/data/test/function/count_digits__then_2.mcfunction +2 -0
  613. package/dist/data/test/function/debug_bigint.mcfunction +25 -0
  614. package/dist/data/test/function/digit_sum.mcfunction +6 -0
  615. package/dist/data/test/function/digit_sum__loop_body_6.mcfunction +11 -0
  616. package/dist/data/test/function/digit_sum__loop_exit_7.mcfunction +1 -0
  617. package/dist/data/test/function/digit_sum__loop_header_5.mcfunction +4 -0
  618. package/dist/data/test/function/digit_sum__merge_1.mcfunction +4 -0
  619. package/dist/data/test/function/digit_sum__merge_3.mcfunction +2 -0
  620. package/dist/data/test/function/digit_sum__then_0.mcfunction +4 -0
  621. package/dist/data/test/function/digit_sum__then_2.mcfunction +2 -0
  622. package/dist/data/test/function/digital_root.mcfunction +5 -0
  623. package/dist/data/test/function/digital_root__merge_1.mcfunction +8 -0
  624. package/dist/data/test/function/digital_root__merge_4.mcfunction +1 -0
  625. package/dist/data/test/function/digital_root__then_0.mcfunction +2 -0
  626. package/dist/data/test/function/digital_root__then_3.mcfunction +2 -0
  627. package/dist/data/test/function/divfix.mcfunction +1 -2
  628. package/dist/data/test/function/dump_advanced.mcfunction +1 -0
  629. package/dist/data/test/function/dump_bigint.mcfunction +1 -0
  630. package/dist/data/test/function/dump_math.mcfunction +1 -0
  631. package/dist/data/test/function/ease_in_back.mcfunction +26 -0
  632. package/dist/data/test/function/ease_in_bounce.mcfunction +9 -0
  633. package/dist/data/test/function/ease_in_cubic.mcfunction +12 -0
  634. package/dist/data/test/function/ease_in_expo.mcfunction +6 -0
  635. package/dist/data/test/function/ease_in_expo__merge_1.mcfunction +11 -0
  636. package/dist/data/test/function/ease_in_expo__then_0.mcfunction +2 -0
  637. package/dist/data/test/function/ease_in_out_back.mcfunction +6 -0
  638. package/dist/data/test/function/ease_in_out_back__merge_1.mcfunction +14 -0
  639. package/dist/data/test/function/ease_in_out_back__then_0.mcfunction +10 -0
  640. package/dist/data/test/function/ease_in_out_bounce.mcfunction +6 -0
  641. package/dist/data/test/function/ease_in_out_bounce__merge_1.mcfunction +14 -0
  642. package/dist/data/test/function/ease_in_out_bounce__then_0.mcfunction +10 -0
  643. package/dist/data/test/function/ease_in_out_cubic.mcfunction +6 -0
  644. package/dist/data/test/function/ease_in_out_cubic__merge_1.mcfunction +17 -0
  645. package/dist/data/test/function/ease_in_out_cubic__then_0.mcfunction +13 -0
  646. package/dist/data/test/function/ease_in_out_quad.mcfunction +6 -0
  647. package/dist/data/test/function/ease_in_out_quad__merge_1.mcfunction +12 -0
  648. package/dist/data/test/function/ease_in_out_quad__then_0.mcfunction +8 -0
  649. package/dist/data/test/function/ease_in_out_sine.mcfunction +6 -0
  650. package/dist/data/test/function/ease_in_out_sine__merge_1.mcfunction +14 -0
  651. package/dist/data/test/function/ease_in_out_sine__then_0.mcfunction +10 -0
  652. package/dist/data/test/function/ease_in_quad.mcfunction +7 -0
  653. package/dist/data/test/function/ease_in_quart.mcfunction +12 -0
  654. package/dist/data/test/function/ease_in_sine.mcfunction +30 -0
  655. package/dist/data/test/function/ease_linear.mcfunction +2 -0
  656. package/dist/data/test/function/ease_out_back.mcfunction +9 -0
  657. package/dist/data/test/function/ease_out_bounce.mcfunction +7 -0
  658. package/dist/data/test/function/ease_out_bounce__merge_1.mcfunction +5 -0
  659. package/dist/data/test/function/ease_out_bounce__merge_4.mcfunction +5 -0
  660. package/dist/data/test/function/ease_out_bounce__merge_7.mcfunction +15 -0
  661. package/dist/data/test/function/ease_out_bounce__then_0.mcfunction +11 -0
  662. package/dist/data/test/function/ease_out_bounce__then_3.mcfunction +15 -0
  663. package/dist/data/test/function/ease_out_bounce__then_6.mcfunction +15 -0
  664. package/dist/data/test/function/ease_out_cubic.mcfunction +16 -0
  665. package/dist/data/test/function/ease_out_expo.mcfunction +6 -0
  666. package/dist/data/test/function/ease_out_expo__merge_1.mcfunction +8 -0
  667. package/dist/data/test/function/ease_out_expo__then_0.mcfunction +2 -0
  668. package/dist/data/test/function/ease_out_quad.mcfunction +11 -0
  669. package/dist/data/test/function/ease_out_quart.mcfunction +16 -0
  670. package/dist/data/test/function/ease_out_sine.mcfunction +9 -0
  671. package/dist/data/test/function/ease_smooth.mcfunction +23 -0
  672. package/dist/data/test/function/ease_smoother.mcfunction +41 -0
  673. package/dist/data/test/function/exp_fx.mcfunction +1 -2
  674. package/dist/data/test/function/exp_fx__loop_header_4.mcfunction +1 -2
  675. package/dist/data/test/function/exp_fx__loop_header_9.mcfunction +1 -2
  676. package/dist/data/test/function/exp_fx__merge_1.mcfunction +1 -2
  677. package/dist/data/test/function/exp_fx__merge_3.mcfunction +1 -2
  678. package/dist/data/test/function/factorial.mcfunction +1 -2
  679. package/dist/data/test/function/factorial__loop_header_3.mcfunction +1 -2
  680. package/dist/data/test/function/fbm_1d.mcfunction +9 -0
  681. package/dist/data/test/function/fbm_1d__loop_body_1.mcfunction +33 -0
  682. package/dist/data/test/function/fbm_1d__loop_exit_2.mcfunction +5 -0
  683. package/dist/data/test/function/fbm_1d__loop_header_0.mcfunction +4 -0
  684. package/dist/data/test/function/fbm_1d__merge_4.mcfunction +6 -0
  685. package/dist/data/test/function/fbm_1d__then_3.mcfunction +2 -0
  686. package/dist/data/test/function/fbm_2d.mcfunction +10 -0
  687. package/dist/data/test/function/fbm_2d__loop_body_1.mcfunction +39 -0
  688. package/dist/data/test/function/fbm_2d__loop_exit_2.mcfunction +5 -0
  689. package/dist/data/test/function/fbm_2d__loop_header_0.mcfunction +4 -0
  690. package/dist/data/test/function/fbm_2d__merge_4.mcfunction +6 -0
  691. package/dist/data/test/function/fbm_2d__then_3.mcfunction +2 -0
  692. package/dist/data/test/function/fib.mcfunction +5 -0
  693. package/dist/data/test/function/fib__loop_body_7.mcfunction +8 -0
  694. package/dist/data/test/function/fib__loop_exit_8.mcfunction +1 -0
  695. package/dist/data/test/function/fib__loop_header_6.mcfunction +3 -0
  696. package/dist/data/test/function/fib__merge_1.mcfunction +4 -0
  697. package/dist/data/test/function/fib__merge_4.mcfunction +4 -0
  698. package/dist/data/test/function/fib__then_0.mcfunction +2 -0
  699. package/dist/data/test/function/fib__then_3.mcfunction +2 -0
  700. package/dist/data/test/function/friction_decel.mcfunction +5 -0
  701. package/dist/data/test/function/friction_decel__merge_1.mcfunction +5 -0
  702. package/dist/data/test/function/friction_decel__merge_4.mcfunction +2 -0
  703. package/dist/data/test/function/friction_decel__then_0.mcfunction +3 -0
  704. package/dist/data/test/function/friction_decel__then_3.mcfunction +3 -0
  705. package/dist/data/test/function/gamma_int.mcfunction +1 -2
  706. package/dist/data/test/function/gcd.mcfunction +1 -2
  707. package/dist/data/test/function/gcd__loop_header_4.mcfunction +1 -2
  708. package/dist/data/test/function/gcd__merge_1.mcfunction +1 -2
  709. package/dist/data/test/function/gravity_fx.mcfunction +2 -0
  710. package/dist/data/test/function/hash_1d.mcfunction +15 -0
  711. package/dist/data/test/function/hash_1d_pos.mcfunction +10 -0
  712. package/dist/data/test/function/hash_1d_pos__merge_1.mcfunction +4 -0
  713. package/dist/data/test/function/hash_1d_pos__then_0.mcfunction +4 -0
  714. package/dist/data/test/function/hash_2d.mcfunction +11 -0
  715. package/dist/data/test/function/hash_2d_pos.mcfunction +12 -0
  716. package/dist/data/test/function/hash_2d_pos__merge_1.mcfunction +4 -0
  717. package/dist/data/test/function/hash_2d_pos__then_0.mcfunction +4 -0
  718. package/dist/data/test/function/hash_int.mcfunction +6 -0
  719. package/dist/data/test/function/hash_int__merge_1.mcfunction +14 -0
  720. package/dist/data/test/function/hash_int__merge_3.mcfunction +14 -0
  721. package/dist/data/test/function/hash_int__merge_5.mcfunction +1 -0
  722. package/dist/data/test/function/hash_int__then_0.mcfunction +4 -0
  723. package/dist/data/test/function/hash_int__then_2.mcfunction +4 -0
  724. package/dist/data/test/function/hash_int__then_4.mcfunction +4 -0
  725. package/dist/data/test/function/impact_velocity.mcfunction +5 -0
  726. package/dist/data/test/function/impact_velocity__merge_1.mcfunction +16 -0
  727. package/dist/data/test/function/impact_velocity__then_0.mcfunction +2 -0
  728. package/dist/data/test/function/int32_to_bigint3_hi.mcfunction +1 -2
  729. package/dist/data/test/function/int32_to_bigint3_lo.mcfunction +1 -2
  730. package/dist/data/test/function/int32_to_bigint3_mid.mcfunction +1 -2
  731. package/dist/data/test/function/is_grounded.mcfunction +5 -0
  732. package/dist/data/test/function/is_grounded__merge_1.mcfunction +2 -0
  733. package/dist/data/test/function/is_grounded__then_0.mcfunction +2 -0
  734. package/dist/data/test/function/is_prime.mcfunction +5 -0
  735. package/dist/data/test/function/is_prime__loop_body_10.mcfunction +6 -0
  736. package/dist/data/test/function/is_prime__loop_exit_11.mcfunction +2 -0
  737. package/dist/data/test/function/is_prime__loop_header_9.mcfunction +5 -0
  738. package/dist/data/test/function/is_prime__merge_1.mcfunction +4 -0
  739. package/dist/data/test/function/is_prime__merge_13.mcfunction +4 -0
  740. package/dist/data/test/function/is_prime__merge_4.mcfunction +7 -0
  741. package/dist/data/test/function/is_prime__merge_7.mcfunction +2 -0
  742. package/dist/data/test/function/is_prime__then_0.mcfunction +2 -0
  743. package/dist/data/test/function/is_prime__then_12.mcfunction +2 -0
  744. package/dist/data/test/function/is_prime__then_3.mcfunction +2 -0
  745. package/dist/data/test/function/is_prime__then_6.mcfunction +2 -0
  746. package/dist/data/test/function/isqrt.mcfunction +1 -2
  747. package/dist/data/test/function/isqrt__loop_body_13.mcfunction +1 -2
  748. package/dist/data/test/function/isqrt__loop_header_12.mcfunction +1 -2
  749. package/dist/data/test/function/isqrt__loop_header_6.mcfunction +1 -2
  750. package/dist/data/test/function/isqrt__loop_header_9.mcfunction +1 -2
  751. package/dist/data/test/function/isqrt__merge_1.mcfunction +1 -2
  752. package/dist/data/test/function/julia_iter.mcfunction +9 -0
  753. package/dist/data/test/function/julia_iter__loop_body_1.mcfunction +36 -0
  754. package/dist/data/test/function/julia_iter__loop_exit_2.mcfunction +1 -0
  755. package/dist/data/test/function/julia_iter__loop_header_0.mcfunction +3 -0
  756. package/dist/data/test/function/julia_iter__merge_4.mcfunction +4 -0
  757. package/dist/data/test/function/julia_iter__then_3.mcfunction +1 -0
  758. package/dist/data/test/function/lambda_demo.mcfunction +2 -0
  759. package/dist/data/test/function/lcm.mcfunction +1 -2
  760. package/dist/data/test/function/lerp_angle.mcfunction +7 -0
  761. package/dist/data/test/function/lerp_angle__loop_body_1.mcfunction +4 -0
  762. package/dist/data/test/function/lerp_angle__loop_body_4.mcfunction +4 -0
  763. package/dist/data/test/function/lerp_angle__loop_exit_2.mcfunction +1 -0
  764. package/dist/data/test/function/lerp_angle__loop_exit_5.mcfunction +8 -0
  765. package/dist/data/test/function/lerp_angle__loop_header_0.mcfunction +4 -0
  766. package/dist/data/test/function/lerp_angle__loop_header_3.mcfunction +3 -0
  767. package/dist/data/test/function/ln__loop_header_0.mcfunction +1 -2
  768. package/dist/data/test/function/ln__loop_header_3.mcfunction +1 -2
  769. package/dist/data/test/function/log2_int.mcfunction +1 -2
  770. package/dist/data/test/function/log2_int__loop_header_3.mcfunction +1 -2
  771. package/dist/data/test/function/loga_fx.mcfunction +1 -2
  772. package/dist/data/test/function/mandelbrot_iter.mcfunction +7 -0
  773. package/dist/data/test/function/mandelbrot_iter__loop_body_1.mcfunction +36 -0
  774. package/dist/data/test/function/mandelbrot_iter__loop_exit_2.mcfunction +1 -0
  775. package/dist/data/test/function/mandelbrot_iter__loop_header_0.mcfunction +3 -0
  776. package/dist/data/test/function/mandelbrot_iter__merge_4.mcfunction +4 -0
  777. package/dist/data/test/function/mandelbrot_iter__then_3.mcfunction +1 -0
  778. package/dist/data/test/function/manhattan.mcfunction +1 -2
  779. package/dist/data/test/function/manhattan3d.mcfunction +1 -2
  780. package/dist/data/test/function/manhattan3d__merge_1.mcfunction +1 -2
  781. package/dist/data/test/function/manhattan3d__merge_3.mcfunction +1 -2
  782. package/dist/data/test/function/manhattan__merge_1.mcfunction +1 -2
  783. package/dist/data/test/function/map.mcfunction +1 -2
  784. package/dist/data/test/function/mod_pow.mcfunction +7 -0
  785. package/dist/data/test/function/mod_pow__loop_body_6.mcfunction +7 -0
  786. package/dist/data/test/function/mod_pow__loop_exit_7.mcfunction +1 -0
  787. package/dist/data/test/function/mod_pow__loop_header_5.mcfunction +4 -0
  788. package/dist/data/test/function/mod_pow__merge_1.mcfunction +8 -0
  789. package/dist/data/test/function/mod_pow__merge_4.mcfunction +2 -0
  790. package/dist/data/test/function/mod_pow__merge_9.mcfunction +10 -0
  791. package/dist/data/test/function/mod_pow__then_0.mcfunction +2 -0
  792. package/dist/data/test/function/mod_pow__then_3.mcfunction +4 -0
  793. package/dist/data/test/function/mod_pow__then_8.mcfunction +6 -0
  794. package/dist/data/test/function/newton_sqrt.mcfunction +5 -0
  795. package/dist/data/test/function/newton_sqrt__loop_body_7.mcfunction +10 -0
  796. package/dist/data/test/function/newton_sqrt__loop_exit_8.mcfunction +1 -0
  797. package/dist/data/test/function/newton_sqrt__loop_header_6.mcfunction +3 -0
  798. package/dist/data/test/function/newton_sqrt__merge_1.mcfunction +4 -0
  799. package/dist/data/test/function/newton_sqrt__merge_4.mcfunction +6 -0
  800. package/dist/data/test/function/newton_sqrt__then_0.mcfunction +2 -0
  801. package/dist/data/test/function/newton_sqrt__then_3.mcfunction +2 -0
  802. package/dist/data/test/function/noise1d.mcfunction +13 -0
  803. package/dist/data/test/function/noise1d__merge_1.mcfunction +20 -0
  804. package/dist/data/test/function/noise1d__merge_3.mcfunction +4 -0
  805. package/dist/data/test/function/noise1d__merge_5.mcfunction +11 -0
  806. package/dist/data/test/function/noise1d__then_0.mcfunction +7 -0
  807. package/dist/data/test/function/noise1d__then_2.mcfunction +4 -0
  808. package/dist/data/test/function/noise1d__then_4.mcfunction +4 -0
  809. package/dist/data/test/function/normalize2d_x.mcfunction +1 -2
  810. package/dist/data/test/function/normalize2d_y.mcfunction +1 -2
  811. package/dist/data/test/function/pow_int.mcfunction +1 -2
  812. package/dist/data/test/function/pow_int__loop_body_4.mcfunction +1 -2
  813. package/dist/data/test/function/pow_int__loop_header_3.mcfunction +1 -2
  814. package/dist/data/test/function/projectile_land_t.mcfunction +5 -0
  815. package/dist/data/test/function/projectile_land_t__merge_1.mcfunction +7 -0
  816. package/dist/data/test/function/projectile_land_t__then_0.mcfunction +2 -0
  817. package/dist/data/test/function/projectile_max_height.mcfunction +10 -0
  818. package/dist/data/test/function/projectile_vy.mcfunction +9 -0
  819. package/dist/data/test/function/projectile_x.mcfunction +8 -0
  820. package/dist/data/test/function/projectile_y.mcfunction +19 -0
  821. package/dist/data/test/function/ptimer/new.mcfunction +3 -0
  822. package/dist/data/test/function/ptimer/reset.mcfunction +1 -0
  823. package/dist/data/test/function/ptimer/tick.mcfunction +8 -0
  824. package/dist/data/test/function/ptimer/tick__merge_1.mcfunction +2 -0
  825. package/dist/data/test/function/ptimer/tick__then_0.mcfunction +3 -0
  826. package/dist/data/test/function/quadratic_x1.mcfunction +1 -2
  827. package/dist/data/test/function/quadratic_x1__merge_1.mcfunction +1 -2
  828. package/dist/data/test/function/quadratic_x2.mcfunction +1 -2
  829. package/dist/data/test/function/quadratic_x2__merge_1.mcfunction +1 -2
  830. package/dist/data/test/function/quat_cos_half.mcfunction +8 -0
  831. package/dist/data/test/function/quat_sin_half.mcfunction +8 -0
  832. package/dist/data/test/function/reverse_int.mcfunction +7 -0
  833. package/dist/data/test/function/reverse_int__loop_body_3.mcfunction +14 -0
  834. package/dist/data/test/function/reverse_int__loop_exit_4.mcfunction +4 -0
  835. package/dist/data/test/function/reverse_int__loop_header_2.mcfunction +4 -0
  836. package/dist/data/test/function/reverse_int__merge_1.mcfunction +2 -0
  837. package/dist/data/test/function/reverse_int__merge_6.mcfunction +1 -0
  838. package/dist/data/test/function/reverse_int__then_0.mcfunction +5 -0
  839. package/dist/data/test/function/reverse_int__then_5.mcfunction +3 -0
  840. package/dist/data/test/function/rotate_x_y.mcfunction +28 -0
  841. package/dist/data/test/function/rotate_x_z.mcfunction +28 -0
  842. package/dist/data/test/function/rotate_y_x.mcfunction +28 -0
  843. package/dist/data/test/function/rotate_y_z.mcfunction +30 -0
  844. package/dist/data/test/function/scale_x.mcfunction +8 -0
  845. package/dist/data/test/function/scale_y.mcfunction +8 -0
  846. package/dist/data/test/function/scale_z.mcfunction +8 -0
  847. package/dist/data/test/function/showcase_load.mcfunction +4 -0
  848. package/dist/data/test/function/showcase_tick.mcfunction +1 -0
  849. package/dist/data/test/function/sign.mcfunction +1 -2
  850. package/dist/data/test/function/sign__merge_1.mcfunction +1 -2
  851. package/dist/data/test/function/sin_fixed.mcfunction +1 -2
  852. package/dist/data/test/function/sin_fixed__merge_1.mcfunction +1 -2
  853. package/dist/data/test/function/sin_fixed__merge_3.mcfunction +1 -2
  854. package/dist/data/test/function/sin_fixed__merge_6.mcfunction +1 -2
  855. package/dist/data/test/function/smootherstep.mcfunction +1 -2
  856. package/dist/data/test/function/smootherstep__merge_1.mcfunction +1 -2
  857. package/dist/data/test/function/smootherstep__merge_4.mcfunction +1 -2
  858. package/dist/data/test/function/smoothstep.mcfunction +1 -2
  859. package/dist/data/test/function/smoothstep__merge_1.mcfunction +1 -2
  860. package/dist/data/test/function/smoothstep__merge_4.mcfunction +1 -2
  861. package/dist/data/test/function/solve2x2_x.mcfunction +1 -2
  862. package/dist/data/test/function/solve2x2_y.mcfunction +1 -2
  863. package/dist/data/test/function/spiral_ring.mcfunction +5 -0
  864. package/dist/data/test/function/spiral_ring__merge_1.mcfunction +13 -0
  865. package/dist/data/test/function/spiral_ring__then_0.mcfunction +2 -0
  866. package/dist/data/test/function/spring_force.mcfunction +11 -0
  867. package/dist/data/test/function/spring_update_v.mcfunction +18 -0
  868. package/dist/data/test/function/start.mcfunction +8 -0
  869. package/dist/data/test/function/stop.mcfunction +2 -0
  870. package/dist/data/test/function/stop__foreach_t0.mcfunction +1 -0
  871. package/dist/data/test/function/terrain_height.mcfunction +24 -0
  872. package/dist/data/test/function/uniform_scale.mcfunction +8 -0
  873. package/dist/data/test/function/update_pos.mcfunction +5 -0
  874. package/dist/data/test/function/value_noise_1d.mcfunction +14 -0
  875. package/dist/data/test/function/value_noise_1d__merge_1.mcfunction +39 -0
  876. package/dist/data/test/function/value_noise_1d__then_0.mcfunction +7 -0
  877. package/dist/data/test/function/value_noise_2d.mcfunction +15 -0
  878. package/dist/data/test/function/value_noise_2d__merge_1.mcfunction +13 -0
  879. package/dist/data/test/function/value_noise_2d__merge_3.mcfunction +98 -0
  880. package/dist/data/test/function/value_noise_2d__then_0.mcfunction +7 -0
  881. package/dist/data/test/function/value_noise_2d__then_2.mcfunction +7 -0
  882. package/dist/data/test/function/water_drag_fx.mcfunction +2 -0
  883. package/dist/pack.mcmeta +1 -1
  884. package/dist/src/__tests__/optimizer/lir/peephole.test.js +92 -0
  885. package/dist/src/ast/types.d.ts +7 -0
  886. package/dist/src/hir/lower.js +51 -0
  887. package/dist/src/optimizer/lir/peephole.d.ts +13 -4
  888. package/dist/src/optimizer/lir/peephole.js +44 -5
  889. package/dist/src/parser/index.js +12 -0
  890. package/editors/vscode/package-lock.json +3 -3
  891. package/editors/vscode/package.json +1 -1
  892. package/examples/math-demo.mcrs +127 -0
  893. package/examples/showcase.mcrs +64 -109
  894. package/package.json +1 -1
  895. package/src/__tests__/e2e/for-in-array.test.ts +62 -0
  896. package/src/__tests__/optimizer/lir/peephole.test.ts +100 -0
  897. package/src/ast/types.ts +1 -0
  898. package/src/hir/lower.ts +52 -0
  899. package/src/optimizer/lir/peephole.ts +50 -5
  900. package/src/parser/index.ts +13 -0
  901. package/src/stdlib/bigint.mcrs +128 -100
  902. package/src/stdlib/easing.mcrs +182 -0
  903. package/src/stdlib/matrix.mcrs +108 -0
  904. package/src/stdlib/noise.mcrs +153 -0
  905. package/src/stdlib/physics.mcrs +134 -0
@@ -0,0 +1,6 @@
1
+ scoreboard players operation $fbm_1d_t22 __mathdemo = $fbm_1d_t3 __mathdemo
2
+ scoreboard players set $__const_10000 __mathdemo 10000
3
+ scoreboard players operation $fbm_1d_t22 __mathdemo *= $__const_10000 __mathdemo
4
+ scoreboard players operation $fbm_1d_t23 __mathdemo = $fbm_1d_t22 __mathdemo
5
+ scoreboard players operation $fbm_1d_t23 __mathdemo /= $fbm_1d_t6 __mathdemo
6
+ scoreboard players operation $ret __mathdemo = $fbm_1d_t23 __mathdemo
@@ -0,0 +1,2 @@
1
+ scoreboard players set $__const_0 __mathdemo 0
2
+ scoreboard players operation $ret __mathdemo = $__const_0 __mathdemo
@@ -0,0 +1,10 @@
1
+ scoreboard players operation $fbm_2d_t0 __mathdemo = $p0 __mathdemo
2
+ scoreboard players operation $fbm_2d_t1 __mathdemo = $p1 __mathdemo
3
+ scoreboard players operation $fbm_2d_t2 __mathdemo = $p2 __mathdemo
4
+ scoreboard players operation $fbm_2d_t3 __mathdemo = $p3 __mathdemo
5
+ scoreboard players set $fbm_2d_t4 __mathdemo 0
6
+ scoreboard players set $fbm_2d_t5 __mathdemo 10000
7
+ scoreboard players set $fbm_2d_t6 __mathdemo 10000
8
+ scoreboard players set $fbm_2d_t7 __mathdemo 0
9
+ scoreboard players set $fbm_2d_t8 __mathdemo 0
10
+ function mathdemo:fbm_2d__loop_header_0
@@ -0,0 +1,39 @@
1
+ scoreboard players operation $fbm_2d_t10 __mathdemo = $fbm_2d_t0 __mathdemo
2
+ scoreboard players operation $fbm_2d_t10 __mathdemo *= $fbm_2d_t6 __mathdemo
3
+ scoreboard players operation $fbm_2d_t11 __mathdemo = $fbm_2d_t10 __mathdemo
4
+ scoreboard players set $__const_10000 __mathdemo 10000
5
+ scoreboard players operation $fbm_2d_t11 __mathdemo /= $__const_10000 __mathdemo
6
+ scoreboard players operation $fbm_2d_t13 __mathdemo = $fbm_2d_t1 __mathdemo
7
+ scoreboard players operation $fbm_2d_t13 __mathdemo *= $fbm_2d_t6 __mathdemo
8
+ scoreboard players operation $fbm_2d_t14 __mathdemo = $fbm_2d_t13 __mathdemo
9
+ scoreboard players set $__const_10000 __mathdemo 10000
10
+ scoreboard players operation $fbm_2d_t14 __mathdemo /= $__const_10000 __mathdemo
11
+ scoreboard players operation $p0 __mathdemo = $fbm_2d_t11 __mathdemo
12
+ scoreboard players operation $p1 __mathdemo = $fbm_2d_t14 __mathdemo
13
+ function mathdemo:value_noise_2d
14
+ scoreboard players operation $fbm_2d_t16 __mathdemo = $ret __mathdemo
15
+ scoreboard players operation $fbm_2d_t17 __mathdemo = $fbm_2d_t16 __mathdemo
16
+ scoreboard players operation $fbm_2d_t17 __mathdemo *= $fbm_2d_t5 __mathdemo
17
+ scoreboard players operation $fbm_2d_t18 __mathdemo = $fbm_2d_t17 __mathdemo
18
+ scoreboard players set $__const_10000 __mathdemo 10000
19
+ scoreboard players operation $fbm_2d_t18 __mathdemo /= $__const_10000 __mathdemo
20
+ scoreboard players operation $fbm_2d_t19 __mathdemo = $fbm_2d_t4 __mathdemo
21
+ scoreboard players operation $fbm_2d_t19 __mathdemo += $fbm_2d_t18 __mathdemo
22
+ scoreboard players operation $fbm_2d_t4 __mathdemo = $fbm_2d_t19 __mathdemo
23
+ scoreboard players operation $fbm_2d_t20 __mathdemo = $fbm_2d_t7 __mathdemo
24
+ scoreboard players operation $fbm_2d_t20 __mathdemo += $fbm_2d_t5 __mathdemo
25
+ scoreboard players operation $fbm_2d_t7 __mathdemo = $fbm_2d_t20 __mathdemo
26
+ scoreboard players operation $fbm_2d_t21 __mathdemo = $fbm_2d_t5 __mathdemo
27
+ scoreboard players operation $fbm_2d_t21 __mathdemo *= $fbm_2d_t3 __mathdemo
28
+ scoreboard players operation $fbm_2d_t22 __mathdemo = $fbm_2d_t21 __mathdemo
29
+ scoreboard players set $__const_10000 __mathdemo 10000
30
+ scoreboard players operation $fbm_2d_t22 __mathdemo /= $__const_10000 __mathdemo
31
+ scoreboard players operation $fbm_2d_t5 __mathdemo = $fbm_2d_t22 __mathdemo
32
+ scoreboard players operation $fbm_2d_t23 __mathdemo = $fbm_2d_t6 __mathdemo
33
+ scoreboard players set $__const_2 __mathdemo 2
34
+ scoreboard players operation $fbm_2d_t23 __mathdemo *= $__const_2 __mathdemo
35
+ scoreboard players operation $fbm_2d_t6 __mathdemo = $fbm_2d_t23 __mathdemo
36
+ scoreboard players operation $fbm_2d_t24 __mathdemo = $fbm_2d_t8 __mathdemo
37
+ scoreboard players add $fbm_2d_t24 __mathdemo 1
38
+ scoreboard players operation $fbm_2d_t8 __mathdemo = $fbm_2d_t24 __mathdemo
39
+ function mathdemo:fbm_2d__loop_header_0
@@ -0,0 +1,4 @@
1
+ scoreboard players set $__const_0 __mathdemo 0
2
+ execute store success score $fbm_2d_t25 __mathdemo if score $fbm_2d_t7 __mathdemo <= $__const_0 __mathdemo
3
+ execute if score $fbm_2d_t25 __mathdemo matches 1 run return run function mathdemo:fbm_2d__then_3
4
+ function mathdemo:fbm_2d__merge_4
@@ -0,0 +1,3 @@
1
+ execute store success score $fbm_2d_t9 __mathdemo if score $fbm_2d_t8 __mathdemo < $fbm_2d_t2 __mathdemo
2
+ execute if score $fbm_2d_t9 __mathdemo matches 1 run return run function mathdemo:fbm_2d__loop_body_1
3
+ function mathdemo:fbm_2d__loop_exit_2
@@ -0,0 +1,6 @@
1
+ scoreboard players operation $fbm_2d_t26 __mathdemo = $fbm_2d_t4 __mathdemo
2
+ scoreboard players set $__const_10000 __mathdemo 10000
3
+ scoreboard players operation $fbm_2d_t26 __mathdemo *= $__const_10000 __mathdemo
4
+ scoreboard players operation $fbm_2d_t27 __mathdemo = $fbm_2d_t26 __mathdemo
5
+ scoreboard players operation $fbm_2d_t27 __mathdemo /= $fbm_2d_t7 __mathdemo
6
+ scoreboard players operation $ret __mathdemo = $fbm_2d_t27 __mathdemo
@@ -0,0 +1,2 @@
1
+ scoreboard players set $__const_0 __mathdemo 0
2
+ scoreboard players operation $ret __mathdemo = $__const_0 __mathdemo
@@ -0,0 +1,5 @@
1
+ scoreboard players operation $friction_decel_t0 __mathdemo = $p0 __mathdemo
2
+ scoreboard players operation $friction_decel_t1 __mathdemo = $p1 __mathdemo
3
+ execute store success score $friction_decel_t2 __mathdemo if score $friction_decel_t0 __mathdemo > $friction_decel_t1 __mathdemo
4
+ execute if score $friction_decel_t2 __mathdemo matches 1 run return run function mathdemo:friction_decel__then_0
5
+ function mathdemo:friction_decel__merge_1
@@ -0,0 +1,5 @@
1
+ scoreboard players set $friction_decel_t4 __mathdemo 0
2
+ scoreboard players operation $friction_decel_t4 __mathdemo -= $friction_decel_t1 __mathdemo
3
+ execute store success score $friction_decel_t5 __mathdemo if score $friction_decel_t0 __mathdemo < $friction_decel_t4 __mathdemo
4
+ execute if score $friction_decel_t5 __mathdemo matches 1 run return run function mathdemo:friction_decel__then_3
5
+ function mathdemo:friction_decel__merge_4
@@ -0,0 +1,2 @@
1
+ scoreboard players set $__const_0 __mathdemo 0
2
+ scoreboard players operation $ret __mathdemo = $__const_0 __mathdemo
@@ -0,0 +1,3 @@
1
+ scoreboard players operation $friction_decel_t3 __mathdemo = $friction_decel_t0 __mathdemo
2
+ scoreboard players operation $friction_decel_t3 __mathdemo -= $friction_decel_t1 __mathdemo
3
+ scoreboard players operation $ret __mathdemo = $friction_decel_t3 __mathdemo
@@ -0,0 +1,3 @@
1
+ scoreboard players operation $friction_decel_t6 __mathdemo = $friction_decel_t0 __mathdemo
2
+ scoreboard players operation $friction_decel_t6 __mathdemo += $friction_decel_t1 __mathdemo
3
+ scoreboard players operation $ret __mathdemo = $friction_decel_t6 __mathdemo
@@ -0,0 +1,5 @@
1
+ scoreboard players operation $gamma_int_t0 __mathdemo = $p0 __mathdemo
2
+ scoreboard players set $__const_1 __mathdemo 1
3
+ execute store success score $gamma_int_t1 __mathdemo if score $gamma_int_t0 __mathdemo <= $__const_1 __mathdemo
4
+ execute if score $gamma_int_t1 __mathdemo matches 1 run return run function mathdemo:gamma_int__then_0
5
+ function mathdemo:gamma_int__merge_1
@@ -0,0 +1,6 @@
1
+ scoreboard players operation $gamma_int_t2 __mathdemo = $gamma_int_t0 __mathdemo
2
+ scoreboard players remove $gamma_int_t2 __mathdemo 1
3
+ scoreboard players operation $p0 __mathdemo = $gamma_int_t2 __mathdemo
4
+ function mathdemo:factorial
5
+ scoreboard players operation $gamma_int_t3 __mathdemo = $ret __mathdemo
6
+ scoreboard players operation $ret __mathdemo = $gamma_int_t3 __mathdemo
@@ -0,0 +1,2 @@
1
+ scoreboard players set $__const_1 __mathdemo 1
2
+ scoreboard players operation $ret __mathdemo = $__const_1 __mathdemo
@@ -0,0 +1,7 @@
1
+ scoreboard players operation $gcd_t0 __mathdemo = $p0 __mathdemo
2
+ scoreboard players operation $gcd_t1 __mathdemo = $p1 __mathdemo
3
+ scoreboard players operation $gcd_t2 __mathdemo = $gcd_t0 __mathdemo
4
+ scoreboard players set $__const_0 __mathdemo 0
5
+ execute store success score $gcd_t3 __mathdemo if score $gcd_t0 __mathdemo < $__const_0 __mathdemo
6
+ execute if score $gcd_t3 __mathdemo matches 1 run return run function mathdemo:gcd__then_0
7
+ function mathdemo:gcd__merge_1
@@ -0,0 +1,5 @@
1
+ scoreboard players operation $gcd_t9 __mathdemo = $gcd_t2 __mathdemo
2
+ scoreboard players operation $gcd_t9 __mathdemo %= $gcd_t5 __mathdemo
3
+ scoreboard players operation $gcd_t2 __mathdemo = $gcd_t5 __mathdemo
4
+ scoreboard players operation $gcd_t5 __mathdemo = $gcd_t9 __mathdemo
5
+ function mathdemo:gcd__loop_header_4
@@ -0,0 +1 @@
1
+ scoreboard players operation $ret __mathdemo = $gcd_t2 __mathdemo
@@ -0,0 +1,4 @@
1
+ scoreboard players set $__const_0 __mathdemo 0
2
+ execute store success score $gcd_t8 __mathdemo if score $gcd_t5 __mathdemo > $__const_0 __mathdemo
3
+ execute if score $gcd_t8 __mathdemo matches 1 run return run function mathdemo:gcd__loop_body_5
4
+ function mathdemo:gcd__loop_exit_6
@@ -0,0 +1,5 @@
1
+ scoreboard players operation $gcd_t5 __mathdemo = $gcd_t1 __mathdemo
2
+ scoreboard players set $__const_0 __mathdemo 0
3
+ execute store success score $gcd_t6 __mathdemo if score $gcd_t1 __mathdemo < $__const_0 __mathdemo
4
+ execute if score $gcd_t6 __mathdemo matches 1 run return run function mathdemo:gcd__then_2
5
+ function mathdemo:gcd__merge_3
@@ -0,0 +1 @@
1
+ function mathdemo:gcd__loop_header_4
@@ -0,0 +1,4 @@
1
+ scoreboard players set $gcd_t4 __mathdemo 0
2
+ scoreboard players operation $gcd_t4 __mathdemo -= $gcd_t2 __mathdemo
3
+ scoreboard players operation $gcd_t2 __mathdemo = $gcd_t4 __mathdemo
4
+ function mathdemo:gcd__merge_1
@@ -0,0 +1,4 @@
1
+ scoreboard players set $gcd_t7 __mathdemo 0
2
+ scoreboard players operation $gcd_t7 __mathdemo -= $gcd_t5 __mathdemo
3
+ scoreboard players operation $gcd_t5 __mathdemo = $gcd_t7 __mathdemo
4
+ function mathdemo:gcd__merge_3
@@ -0,0 +1,2 @@
1
+ scoreboard players set $__const_8 __mathdemo 8
2
+ scoreboard players operation $ret __mathdemo = $__const_8 __mathdemo
@@ -0,0 +1,15 @@
1
+ scoreboard players operation $hash_1d_t0 __mathdemo = $p0 __mathdemo
2
+ scoreboard players operation $hash_1d_t1 __mathdemo = $hash_1d_t0 __mathdemo
3
+ scoreboard players set $__const_374761393 __mathdemo 374761393
4
+ scoreboard players operation $hash_1d_t1 __mathdemo *= $__const_374761393 __mathdemo
5
+ scoreboard players operation $hash_1d_t3 __mathdemo = $hash_1d_t1 __mathdemo
6
+ scoreboard players add $hash_1d_t3 __mathdemo 1013904223
7
+ scoreboard players operation $hash_1d_t4 __mathdemo = $hash_1d_t3 __mathdemo
8
+ scoreboard players set $__const_1664525 __mathdemo 1664525
9
+ scoreboard players operation $hash_1d_t4 __mathdemo *= $__const_1664525 __mathdemo
10
+ scoreboard players operation $hash_1d_t5 __mathdemo = $hash_1d_t4 __mathdemo
11
+ scoreboard players set $__const_65536 __mathdemo 65536
12
+ scoreboard players operation $hash_1d_t5 __mathdemo /= $__const_65536 __mathdemo
13
+ scoreboard players operation $hash_1d_t6 __mathdemo = $hash_1d_t4 __mathdemo
14
+ scoreboard players operation $hash_1d_t6 __mathdemo += $hash_1d_t5 __mathdemo
15
+ scoreboard players operation $ret __mathdemo = $hash_1d_t6 __mathdemo
@@ -0,0 +1,9 @@
1
+ scoreboard players operation $hash_1d_pos_t0 __mathdemo = $p0 __mathdemo
2
+ scoreboard players operation $p0 __mathdemo = $hash_1d_pos_t0 __mathdemo
3
+ function mathdemo:hash_1d
4
+ scoreboard players operation $hash_1d_pos_t1 __mathdemo = $ret __mathdemo
5
+ scoreboard players operation $hash_1d_pos_t2 __mathdemo = $hash_1d_pos_t1 __mathdemo
6
+ scoreboard players set $__const_0 __mathdemo 0
7
+ execute store success score $hash_1d_pos_t3 __mathdemo if score $hash_1d_pos_t1 __mathdemo < $__const_0 __mathdemo
8
+ execute if score $hash_1d_pos_t3 __mathdemo matches 1 run return run function mathdemo:hash_1d_pos__then_0
9
+ function mathdemo:hash_1d_pos__merge_1
@@ -0,0 +1,4 @@
1
+ scoreboard players operation $hash_1d_pos_t5 __mathdemo = $hash_1d_pos_t2 __mathdemo
2
+ scoreboard players set $__const_10001 __mathdemo 10001
3
+ scoreboard players operation $hash_1d_pos_t5 __mathdemo %= $__const_10001 __mathdemo
4
+ scoreboard players operation $ret __mathdemo = $hash_1d_pos_t5 __mathdemo
@@ -0,0 +1,4 @@
1
+ scoreboard players set $hash_1d_pos_t4 __mathdemo 0
2
+ scoreboard players operation $hash_1d_pos_t4 __mathdemo -= $hash_1d_pos_t2 __mathdemo
3
+ scoreboard players operation $hash_1d_pos_t2 __mathdemo = $hash_1d_pos_t4 __mathdemo
4
+ function mathdemo:hash_1d_pos__merge_1
@@ -0,0 +1,11 @@
1
+ scoreboard players operation $hash_2d_t0 __mathdemo = $p0 __mathdemo
2
+ scoreboard players operation $hash_2d_t1 __mathdemo = $p1 __mathdemo
3
+ scoreboard players operation $p0 __mathdemo = $hash_2d_t1 __mathdemo
4
+ function mathdemo:hash_1d
5
+ scoreboard players operation $hash_2d_t2 __mathdemo = $ret __mathdemo
6
+ scoreboard players operation $hash_2d_t3 __mathdemo = $hash_2d_t0 __mathdemo
7
+ scoreboard players operation $hash_2d_t3 __mathdemo += $hash_2d_t2 __mathdemo
8
+ scoreboard players operation $p0 __mathdemo = $hash_2d_t3 __mathdemo
9
+ function mathdemo:hash_1d
10
+ scoreboard players operation $hash_2d_t4 __mathdemo = $ret __mathdemo
11
+ scoreboard players operation $ret __mathdemo = $hash_2d_t4 __mathdemo
@@ -0,0 +1,11 @@
1
+ scoreboard players operation $hash_2d_pos_t0 __mathdemo = $p0 __mathdemo
2
+ scoreboard players operation $hash_2d_pos_t1 __mathdemo = $p1 __mathdemo
3
+ scoreboard players operation $p0 __mathdemo = $hash_2d_pos_t0 __mathdemo
4
+ scoreboard players operation $p1 __mathdemo = $hash_2d_pos_t1 __mathdemo
5
+ function mathdemo:hash_2d
6
+ scoreboard players operation $hash_2d_pos_t2 __mathdemo = $ret __mathdemo
7
+ scoreboard players operation $hash_2d_pos_t3 __mathdemo = $hash_2d_pos_t2 __mathdemo
8
+ scoreboard players set $__const_0 __mathdemo 0
9
+ execute store success score $hash_2d_pos_t4 __mathdemo if score $hash_2d_pos_t2 __mathdemo < $__const_0 __mathdemo
10
+ execute if score $hash_2d_pos_t4 __mathdemo matches 1 run return run function mathdemo:hash_2d_pos__then_0
11
+ function mathdemo:hash_2d_pos__merge_1
@@ -0,0 +1,4 @@
1
+ scoreboard players operation $hash_2d_pos_t6 __mathdemo = $hash_2d_pos_t3 __mathdemo
2
+ scoreboard players set $__const_10001 __mathdemo 10001
3
+ scoreboard players operation $hash_2d_pos_t6 __mathdemo %= $__const_10001 __mathdemo
4
+ scoreboard players operation $ret __mathdemo = $hash_2d_pos_t6 __mathdemo
@@ -0,0 +1,4 @@
1
+ scoreboard players set $hash_2d_pos_t5 __mathdemo 0
2
+ scoreboard players operation $hash_2d_pos_t5 __mathdemo -= $hash_2d_pos_t3 __mathdemo
3
+ scoreboard players operation $hash_2d_pos_t3 __mathdemo = $hash_2d_pos_t5 __mathdemo
4
+ function mathdemo:hash_2d_pos__merge_1
@@ -0,0 +1,5 @@
1
+ scoreboard players operation $impact_velocity_t0 __mathdemo = $p0 __mathdemo
2
+ scoreboard players set $__const_0 __mathdemo 0
3
+ execute store success score $impact_velocity_t1 __mathdemo if score $impact_velocity_t0 __mathdemo <= $__const_0 __mathdemo
4
+ execute if score $impact_velocity_t1 __mathdemo matches 1 run return run function mathdemo:impact_velocity__then_0
5
+ function mathdemo:impact_velocity__merge_1
@@ -0,0 +1,16 @@
1
+ function mathdemo:gravity_fx
2
+ scoreboard players operation $impact_velocity_t2 __mathdemo = $ret __mathdemo
3
+ scoreboard players set $impact_velocity_t3 __mathdemo 2
4
+ scoreboard players operation $impact_velocity_t3 __mathdemo *= $impact_velocity_t2 __mathdemo
5
+ scoreboard players operation $impact_velocity_t4 __mathdemo = $impact_velocity_t3 __mathdemo
6
+ scoreboard players operation $impact_velocity_t4 __mathdemo *= $impact_velocity_t0 __mathdemo
7
+ scoreboard players operation $impact_velocity_t5 __mathdemo = $impact_velocity_t4 __mathdemo
8
+ scoreboard players set $__const_100 __mathdemo 100
9
+ scoreboard players operation $impact_velocity_t5 __mathdemo /= $__const_100 __mathdemo
10
+ scoreboard players operation $p0 __mathdemo = $impact_velocity_t5 __mathdemo
11
+ function mathdemo:isqrt
12
+ scoreboard players operation $impact_velocity_t6 __mathdemo = $ret __mathdemo
13
+ scoreboard players operation $impact_velocity_t7 __mathdemo = $impact_velocity_t6 __mathdemo
14
+ scoreboard players set $__const_10 __mathdemo 10
15
+ scoreboard players operation $impact_velocity_t7 __mathdemo *= $__const_10 __mathdemo
16
+ scoreboard players operation $ret __mathdemo = $impact_velocity_t7 __mathdemo
@@ -0,0 +1,2 @@
1
+ scoreboard players set $__const_0 __mathdemo 0
2
+ scoreboard players operation $ret __mathdemo = $__const_0 __mathdemo
@@ -0,0 +1,5 @@
1
+ scoreboard players operation $is_grounded_t0 __mathdemo = $p0 __mathdemo
2
+ scoreboard players operation $is_grounded_t1 __mathdemo = $p1 __mathdemo
3
+ execute store success score $is_grounded_t2 __mathdemo if score $is_grounded_t0 __mathdemo <= $is_grounded_t1 __mathdemo
4
+ execute if score $is_grounded_t2 __mathdemo matches 1 run return run function mathdemo:is_grounded__then_0
5
+ function mathdemo:is_grounded__merge_1
@@ -0,0 +1,2 @@
1
+ scoreboard players set $__const_0 __mathdemo 0
2
+ scoreboard players operation $ret __mathdemo = $__const_0 __mathdemo
@@ -0,0 +1,2 @@
1
+ scoreboard players set $__const_1 __mathdemo 1
2
+ scoreboard players operation $ret __mathdemo = $__const_1 __mathdemo
@@ -0,0 +1,5 @@
1
+ scoreboard players operation $isqrt_t0 __mathdemo = $p0 __mathdemo
2
+ scoreboard players set $__const_0 __mathdemo 0
3
+ execute store success score $isqrt_t1 __mathdemo if score $isqrt_t0 __mathdemo <= $__const_0 __mathdemo
4
+ execute if score $isqrt_t1 __mathdemo matches 1 run return run function mathdemo:isqrt__then_0
5
+ function mathdemo:isqrt__merge_1
@@ -0,0 +1,8 @@
1
+ scoreboard players operation $isqrt_t14 __mathdemo = $isqrt_t11 __mathdemo
2
+ scoreboard players set $__const_2 __mathdemo 2
3
+ scoreboard players operation $isqrt_t14 __mathdemo *= $__const_2 __mathdemo
4
+ scoreboard players operation $isqrt_t11 __mathdemo = $isqrt_t14 __mathdemo
5
+ scoreboard players operation $isqrt_t15 __mathdemo = $isqrt_t12 __mathdemo
6
+ scoreboard players add $isqrt_t15 __mathdemo 1
7
+ scoreboard players operation $isqrt_t12 __mathdemo = $isqrt_t15 __mathdemo
8
+ function mathdemo:isqrt__loop_header_9
@@ -0,0 +1,11 @@
1
+ scoreboard players operation $isqrt_t18 __mathdemo = $isqrt_t0 __mathdemo
2
+ scoreboard players operation $isqrt_t18 __mathdemo /= $isqrt_t11 __mathdemo
3
+ scoreboard players operation $isqrt_t19 __mathdemo = $isqrt_t11 __mathdemo
4
+ scoreboard players operation $isqrt_t19 __mathdemo += $isqrt_t18 __mathdemo
5
+ scoreboard players operation $isqrt_t20 __mathdemo = $isqrt_t19 __mathdemo
6
+ scoreboard players set $__const_2 __mathdemo 2
7
+ scoreboard players operation $isqrt_t20 __mathdemo /= $__const_2 __mathdemo
8
+ scoreboard players operation $isqrt_t21 __mathdemo = $isqrt_t20 __mathdemo
9
+ execute store success score $isqrt_t22 __mathdemo if score $isqrt_t20 __mathdemo >= $isqrt_t11 __mathdemo
10
+ execute if score $isqrt_t22 __mathdemo matches 1 run return run function mathdemo:isqrt__then_15
11
+ function mathdemo:isqrt__merge_16
@@ -0,0 +1,8 @@
1
+ scoreboard players operation $isqrt_t6 __mathdemo = $isqrt_t4 __mathdemo
2
+ scoreboard players set $__const_2 __mathdemo 2
3
+ scoreboard players operation $isqrt_t6 __mathdemo /= $__const_2 __mathdemo
4
+ scoreboard players operation $isqrt_t4 __mathdemo = $isqrt_t6 __mathdemo
5
+ scoreboard players operation $isqrt_t7 __mathdemo = $isqrt_t3 __mathdemo
6
+ scoreboard players add $isqrt_t7 __mathdemo 1
7
+ scoreboard players operation $isqrt_t3 __mathdemo = $isqrt_t7 __mathdemo
8
+ function mathdemo:isqrt__loop_header_6
@@ -0,0 +1,2 @@
1
+ scoreboard players set $isqrt_t16 __mathdemo 0
2
+ function mathdemo:isqrt__loop_header_12
@@ -0,0 +1 @@
1
+ scoreboard players operation $ret __mathdemo = $isqrt_t11 __mathdemo
@@ -0,0 +1,9 @@
1
+ scoreboard players operation $isqrt_t8 __mathdemo = $isqrt_t3 __mathdemo
2
+ scoreboard players add $isqrt_t8 __mathdemo 1
3
+ scoreboard players operation $isqrt_t9 __mathdemo = $isqrt_t8 __mathdemo
4
+ scoreboard players set $__const_2 __mathdemo 2
5
+ scoreboard players operation $isqrt_t9 __mathdemo /= $__const_2 __mathdemo
6
+ scoreboard players operation $isqrt_t10 __mathdemo = $isqrt_t9 __mathdemo
7
+ scoreboard players set $isqrt_t11 __mathdemo 1
8
+ scoreboard players set $isqrt_t12 __mathdemo 0
9
+ function mathdemo:isqrt__loop_header_9
@@ -0,0 +1,4 @@
1
+ scoreboard players set $__const_16 __mathdemo 16
2
+ execute store success score $isqrt_t17 __mathdemo if score $isqrt_t16 __mathdemo < $__const_16 __mathdemo
3
+ execute if score $isqrt_t17 __mathdemo matches 1 run return run function mathdemo:isqrt__loop_body_13
4
+ function mathdemo:isqrt__loop_exit_14
@@ -0,0 +1,4 @@
1
+ scoreboard players set $__const_0 __mathdemo 0
2
+ execute store success score $isqrt_t5 __mathdemo if score $isqrt_t4 __mathdemo > $__const_0 __mathdemo
3
+ execute if score $isqrt_t5 __mathdemo matches 1 run return run function mathdemo:isqrt__loop_body_7
4
+ function mathdemo:isqrt__loop_exit_8
@@ -0,0 +1,3 @@
1
+ execute store success score $isqrt_t13 __mathdemo if score $isqrt_t12 __mathdemo < $isqrt_t10 __mathdemo
2
+ execute if score $isqrt_t13 __mathdemo matches 1 run return run function mathdemo:isqrt__loop_body_10
3
+ function mathdemo:isqrt__loop_exit_11
@@ -0,0 +1,4 @@
1
+ scoreboard players set $__const_1 __mathdemo 1
2
+ execute store success score $isqrt_t2 __mathdemo if score $isqrt_t0 __mathdemo = $__const_1 __mathdemo
3
+ execute if score $isqrt_t2 __mathdemo matches 1 run return run function mathdemo:isqrt__then_3
4
+ function mathdemo:isqrt__merge_4
@@ -0,0 +1,5 @@
1
+ scoreboard players operation $isqrt_t11 __mathdemo = $isqrt_t21 __mathdemo
2
+ scoreboard players operation $isqrt_t23 __mathdemo = $isqrt_t16 __mathdemo
3
+ scoreboard players add $isqrt_t23 __mathdemo 1
4
+ scoreboard players operation $isqrt_t16 __mathdemo = $isqrt_t23 __mathdemo
5
+ function mathdemo:isqrt__loop_header_12
@@ -0,0 +1,3 @@
1
+ scoreboard players set $isqrt_t3 __mathdemo 0
2
+ scoreboard players operation $isqrt_t4 __mathdemo = $isqrt_t0 __mathdemo
3
+ function mathdemo:isqrt__loop_header_6
@@ -0,0 +1,2 @@
1
+ scoreboard players set $__const_0 __mathdemo 0
2
+ scoreboard players operation $ret __mathdemo = $__const_0 __mathdemo
@@ -0,0 +1 @@
1
+ scoreboard players operation $ret __mathdemo = $isqrt_t11 __mathdemo
@@ -0,0 +1,2 @@
1
+ scoreboard players set $__const_1 __mathdemo 1
2
+ scoreboard players operation $ret __mathdemo = $__const_1 __mathdemo
@@ -0,0 +1,11 @@
1
+ scoreboard players operation $lcm_t0 __mathdemo = $p0 __mathdemo
2
+ scoreboard players operation $lcm_t1 __mathdemo = $p1 __mathdemo
3
+ scoreboard players operation $p0 __mathdemo = $lcm_t0 __mathdemo
4
+ scoreboard players operation $p1 __mathdemo = $lcm_t1 __mathdemo
5
+ function mathdemo:gcd
6
+ scoreboard players operation $lcm_t2 __mathdemo = $ret __mathdemo
7
+ scoreboard players operation $lcm_t3 __mathdemo = $lcm_t2 __mathdemo
8
+ scoreboard players set $__const_0 __mathdemo 0
9
+ execute store success score $lcm_t4 __mathdemo if score $lcm_t2 __mathdemo = $__const_0 __mathdemo
10
+ execute if score $lcm_t4 __mathdemo matches 1 run return run function mathdemo:lcm__then_0
11
+ function mathdemo:lcm__merge_1
@@ -0,0 +1,5 @@
1
+ scoreboard players operation $lcm_t5 __mathdemo = $lcm_t0 __mathdemo
2
+ scoreboard players operation $lcm_t5 __mathdemo /= $lcm_t3 __mathdemo
3
+ scoreboard players operation $lcm_t6 __mathdemo = $lcm_t5 __mathdemo
4
+ scoreboard players operation $lcm_t6 __mathdemo *= $lcm_t1 __mathdemo
5
+ scoreboard players operation $ret __mathdemo = $lcm_t6 __mathdemo
@@ -0,0 +1,2 @@
1
+ scoreboard players set $__const_0 __mathdemo 0
2
+ scoreboard players operation $ret __mathdemo = $__const_0 __mathdemo
@@ -0,0 +1,15 @@
1
+ scoreboard players operation $length2d_fixed_t0 __mathdemo = $p0 __mathdemo
2
+ scoreboard players operation $length2d_fixed_t1 __mathdemo = $p1 __mathdemo
3
+ scoreboard players operation $length2d_fixed_t2 __mathdemo = $length2d_fixed_t0 __mathdemo
4
+ scoreboard players operation $length2d_fixed_t2 __mathdemo *= $length2d_fixed_t0 __mathdemo
5
+ scoreboard players operation $length2d_fixed_t3 __mathdemo = $length2d_fixed_t1 __mathdemo
6
+ scoreboard players operation $length2d_fixed_t3 __mathdemo *= $length2d_fixed_t1 __mathdemo
7
+ scoreboard players operation $length2d_fixed_t4 __mathdemo = $length2d_fixed_t2 __mathdemo
8
+ scoreboard players operation $length2d_fixed_t4 __mathdemo += $length2d_fixed_t3 __mathdemo
9
+ scoreboard players operation $length2d_fixed_t5 __mathdemo = $length2d_fixed_t4 __mathdemo
10
+ scoreboard players set $__const_1000 __mathdemo 1000
11
+ scoreboard players operation $length2d_fixed_t5 __mathdemo *= $__const_1000 __mathdemo
12
+ scoreboard players operation $p0 __mathdemo = $length2d_fixed_t5 __mathdemo
13
+ function mathdemo:sqrt_fixed
14
+ scoreboard players operation $length2d_fixed_t6 __mathdemo = $ret __mathdemo
15
+ scoreboard players operation $ret __mathdemo = $length2d_fixed_t6 __mathdemo
@@ -0,0 +1,20 @@
1
+ scoreboard players operation $length3d_fixed_t0 __mathdemo = $p0 __mathdemo
2
+ scoreboard players operation $length3d_fixed_t1 __mathdemo = $p1 __mathdemo
3
+ scoreboard players operation $length3d_fixed_t2 __mathdemo = $p2 __mathdemo
4
+ scoreboard players operation $length3d_fixed_t3 __mathdemo = $length3d_fixed_t0 __mathdemo
5
+ scoreboard players operation $length3d_fixed_t3 __mathdemo *= $length3d_fixed_t0 __mathdemo
6
+ scoreboard players operation $length3d_fixed_t4 __mathdemo = $length3d_fixed_t1 __mathdemo
7
+ scoreboard players operation $length3d_fixed_t4 __mathdemo *= $length3d_fixed_t1 __mathdemo
8
+ scoreboard players operation $length3d_fixed_t5 __mathdemo = $length3d_fixed_t3 __mathdemo
9
+ scoreboard players operation $length3d_fixed_t5 __mathdemo += $length3d_fixed_t4 __mathdemo
10
+ scoreboard players operation $length3d_fixed_t6 __mathdemo = $length3d_fixed_t2 __mathdemo
11
+ scoreboard players operation $length3d_fixed_t6 __mathdemo *= $length3d_fixed_t2 __mathdemo
12
+ scoreboard players operation $length3d_fixed_t7 __mathdemo = $length3d_fixed_t5 __mathdemo
13
+ scoreboard players operation $length3d_fixed_t7 __mathdemo += $length3d_fixed_t6 __mathdemo
14
+ scoreboard players operation $length3d_fixed_t8 __mathdemo = $length3d_fixed_t7 __mathdemo
15
+ scoreboard players set $__const_1000 __mathdemo 1000
16
+ scoreboard players operation $length3d_fixed_t8 __mathdemo *= $__const_1000 __mathdemo
17
+ scoreboard players operation $p0 __mathdemo = $length3d_fixed_t8 __mathdemo
18
+ function mathdemo:sqrt_fixed
19
+ scoreboard players operation $length3d_fixed_t9 __mathdemo = $ret __mathdemo
20
+ scoreboard players operation $ret __mathdemo = $length3d_fixed_t9 __mathdemo
@@ -0,0 +1,13 @@
1
+ scoreboard players operation $lerp_t0 __mathdemo = $p0 __mathdemo
2
+ scoreboard players operation $lerp_t1 __mathdemo = $p1 __mathdemo
3
+ scoreboard players operation $lerp_t2 __mathdemo = $p2 __mathdemo
4
+ scoreboard players operation $lerp_t3 __mathdemo = $lerp_t1 __mathdemo
5
+ scoreboard players operation $lerp_t3 __mathdemo -= $lerp_t0 __mathdemo
6
+ scoreboard players operation $lerp_t4 __mathdemo = $lerp_t3 __mathdemo
7
+ scoreboard players operation $lerp_t4 __mathdemo *= $lerp_t2 __mathdemo
8
+ scoreboard players operation $lerp_t5 __mathdemo = $lerp_t4 __mathdemo
9
+ scoreboard players set $__const_1000 __mathdemo 1000
10
+ scoreboard players operation $lerp_t5 __mathdemo /= $__const_1000 __mathdemo
11
+ scoreboard players operation $lerp_t6 __mathdemo = $lerp_t0 __mathdemo
12
+ scoreboard players operation $lerp_t6 __mathdemo += $lerp_t5 __mathdemo
13
+ scoreboard players operation $ret __mathdemo = $lerp_t6 __mathdemo
@@ -0,0 +1,13 @@
1
+ scoreboard players operation $lerp2d_x_t0 __mathdemo = $p0 __mathdemo
2
+ scoreboard players operation $lerp2d_x_t2 __mathdemo = $p2 __mathdemo
3
+ scoreboard players operation $lerp2d_x_t4 __mathdemo = $p4 __mathdemo
4
+ scoreboard players operation $lerp2d_x_t5 __mathdemo = $lerp2d_x_t2 __mathdemo
5
+ scoreboard players operation $lerp2d_x_t5 __mathdemo -= $lerp2d_x_t0 __mathdemo
6
+ scoreboard players operation $lerp2d_x_t6 __mathdemo = $lerp2d_x_t5 __mathdemo
7
+ scoreboard players operation $lerp2d_x_t6 __mathdemo *= $lerp2d_x_t4 __mathdemo
8
+ scoreboard players operation $lerp2d_x_t7 __mathdemo = $lerp2d_x_t6 __mathdemo
9
+ scoreboard players set $__const_1000 __mathdemo 1000
10
+ scoreboard players operation $lerp2d_x_t7 __mathdemo /= $__const_1000 __mathdemo
11
+ scoreboard players operation $lerp2d_x_t8 __mathdemo = $lerp2d_x_t0 __mathdemo
12
+ scoreboard players operation $lerp2d_x_t8 __mathdemo += $lerp2d_x_t7 __mathdemo
13
+ scoreboard players operation $ret __mathdemo = $lerp2d_x_t8 __mathdemo
@@ -0,0 +1,13 @@
1
+ scoreboard players operation $lerp2d_y_t1 __mathdemo = $p1 __mathdemo
2
+ scoreboard players operation $lerp2d_y_t3 __mathdemo = $p3 __mathdemo
3
+ scoreboard players operation $lerp2d_y_t4 __mathdemo = $p4 __mathdemo
4
+ scoreboard players operation $lerp2d_y_t5 __mathdemo = $lerp2d_y_t3 __mathdemo
5
+ scoreboard players operation $lerp2d_y_t5 __mathdemo -= $lerp2d_y_t1 __mathdemo
6
+ scoreboard players operation $lerp2d_y_t6 __mathdemo = $lerp2d_y_t5 __mathdemo
7
+ scoreboard players operation $lerp2d_y_t6 __mathdemo *= $lerp2d_y_t4 __mathdemo
8
+ scoreboard players operation $lerp2d_y_t7 __mathdemo = $lerp2d_y_t6 __mathdemo
9
+ scoreboard players set $__const_1000 __mathdemo 1000
10
+ scoreboard players operation $lerp2d_y_t7 __mathdemo /= $__const_1000 __mathdemo
11
+ scoreboard players operation $lerp2d_y_t8 __mathdemo = $lerp2d_y_t1 __mathdemo
12
+ scoreboard players operation $lerp2d_y_t8 __mathdemo += $lerp2d_y_t7 __mathdemo
13
+ scoreboard players operation $ret __mathdemo = $lerp2d_y_t8 __mathdemo
@@ -0,0 +1,9 @@
1
+ scoreboard players operation $ln_t0 __mathdemo = $p0 __mathdemo
2
+ scoreboard players set $ln_t1 __mathdemo 10000
3
+ scoreboard players set $ln_t2 __mathdemo 6931
4
+ scoreboard players set $ln_t3 __mathdemo 20010
5
+ scoreboard players set $ln_t4 __mathdemo 6856
6
+ scoreboard players set $ln_t5 __mathdemo 2539
7
+ scoreboard players operation $ln_t6 __mathdemo = $ln_t0 __mathdemo
8
+ scoreboard players set $ln_t7 __mathdemo 0
9
+ function mathdemo:ln__loop_header_0
@@ -0,0 +1,8 @@
1
+ scoreboard players operation $ln_t9 __mathdemo = $ln_t6 __mathdemo
2
+ scoreboard players set $__const_2 __mathdemo 2
3
+ scoreboard players operation $ln_t9 __mathdemo *= $__const_2 __mathdemo
4
+ scoreboard players operation $ln_t6 __mathdemo = $ln_t9 __mathdemo
5
+ scoreboard players operation $ln_t10 __mathdemo = $ln_t7 __mathdemo
6
+ scoreboard players remove $ln_t10 __mathdemo 1
7
+ scoreboard players operation $ln_t7 __mathdemo = $ln_t10 __mathdemo
8
+ function mathdemo:ln__loop_header_0
@@ -0,0 +1,8 @@
1
+ scoreboard players operation $ln_t13 __mathdemo = $ln_t6 __mathdemo
2
+ scoreboard players set $__const_2 __mathdemo 2
3
+ scoreboard players operation $ln_t13 __mathdemo /= $__const_2 __mathdemo
4
+ scoreboard players operation $ln_t6 __mathdemo = $ln_t13 __mathdemo
5
+ scoreboard players operation $ln_t14 __mathdemo = $ln_t7 __mathdemo
6
+ scoreboard players add $ln_t14 __mathdemo 1
7
+ scoreboard players operation $ln_t7 __mathdemo = $ln_t14 __mathdemo
8
+ function mathdemo:ln__loop_header_3
@@ -0,0 +1 @@
1
+ function mathdemo:ln__loop_header_3
@@ -0,0 +1,37 @@
1
+ scoreboard players operation $ln_t15 __mathdemo = $ln_t6 __mathdemo
2
+ scoreboard players operation $ln_t15 __mathdemo -= $ln_t1 __mathdemo
3
+ scoreboard players operation $ln_t16 __mathdemo = $ln_t15 __mathdemo
4
+ scoreboard players operation $ln_t16 __mathdemo *= $ln_t1 __mathdemo
5
+ scoreboard players operation $ln_t17 __mathdemo = $ln_t6 __mathdemo
6
+ scoreboard players operation $ln_t17 __mathdemo += $ln_t1 __mathdemo
7
+ scoreboard players operation $ln_t18 __mathdemo = $ln_t16 __mathdemo
8
+ scoreboard players operation $ln_t18 __mathdemo /= $ln_t17 __mathdemo
9
+ scoreboard players operation $ln_t20 __mathdemo = $ln_t18 __mathdemo
10
+ scoreboard players operation $ln_t20 __mathdemo *= $ln_t18 __mathdemo
11
+ scoreboard players operation $ln_t21 __mathdemo = $ln_t20 __mathdemo
12
+ scoreboard players operation $ln_t21 __mathdemo /= $ln_t1 __mathdemo
13
+ scoreboard players operation $ln_t23 __mathdemo = $ln_t18 __mathdemo
14
+ scoreboard players operation $ln_t23 __mathdemo *= $ln_t21 __mathdemo
15
+ scoreboard players operation $ln_t25 __mathdemo = $ln_t23 __mathdemo
16
+ scoreboard players operation $ln_t25 __mathdemo *= $ln_t21 __mathdemo
17
+ scoreboard players operation $ln_t27 __mathdemo = $ln_t3 __mathdemo
18
+ scoreboard players operation $ln_t27 __mathdemo *= $ln_t18 __mathdemo
19
+ scoreboard players operation $ln_t28 __mathdemo = $ln_t27 __mathdemo
20
+ scoreboard players operation $ln_t28 __mathdemo /= $ln_t1 __mathdemo
21
+ scoreboard players operation $ln_t29 __mathdemo = $ln_t4 __mathdemo
22
+ scoreboard players operation $ln_t29 __mathdemo *= $ln_t23 __mathdemo
23
+ scoreboard players operation $ln_t30 __mathdemo = $ln_t29 __mathdemo
24
+ scoreboard players operation $ln_t30 __mathdemo /= $ln_t1 __mathdemo
25
+ scoreboard players operation $ln_t31 __mathdemo = $ln_t28 __mathdemo
26
+ scoreboard players operation $ln_t31 __mathdemo += $ln_t30 __mathdemo
27
+ scoreboard players operation $ln_t32 __mathdemo = $ln_t5 __mathdemo
28
+ scoreboard players operation $ln_t32 __mathdemo *= $ln_t25 __mathdemo
29
+ scoreboard players operation $ln_t33 __mathdemo = $ln_t32 __mathdemo
30
+ scoreboard players operation $ln_t33 __mathdemo /= $ln_t1 __mathdemo
31
+ scoreboard players operation $ln_t34 __mathdemo = $ln_t31 __mathdemo
32
+ scoreboard players operation $ln_t34 __mathdemo += $ln_t33 __mathdemo
33
+ scoreboard players operation $ln_t36 __mathdemo = $ln_t7 __mathdemo
34
+ scoreboard players operation $ln_t36 __mathdemo *= $ln_t2 __mathdemo
35
+ scoreboard players operation $ln_t37 __mathdemo = $ln_t36 __mathdemo
36
+ scoreboard players operation $ln_t37 __mathdemo += $ln_t34 __mathdemo
37
+ scoreboard players operation $ret __mathdemo = $ln_t37 __mathdemo