redscript-mc 2.6.0 → 2.6.2

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 (3201) hide show
  1. package/CHANGELOG.md +80 -0
  2. package/README.md +3 -75
  3. package/README.zh.md +165 -147
  4. package/ROADMAP.md +115 -65
  5. package/dist/__tests__/cli.test.d.ts +1 -0
  6. package/dist/__tests__/cli.test.js +278 -0
  7. package/dist/__tests__/codegen.test.d.ts +1 -0
  8. package/dist/__tests__/codegen.test.js +152 -0
  9. package/dist/__tests__/compile-all.test.d.ts +10 -0
  10. package/dist/__tests__/compile-all.test.js +108 -0
  11. package/dist/__tests__/dce.test.d.ts +1 -0
  12. package/dist/__tests__/dce.test.js +138 -0
  13. package/dist/__tests__/diagnostics.test.d.ts +4 -0
  14. package/dist/__tests__/diagnostics.test.js +149 -0
  15. package/dist/__tests__/e2e.test.d.ts +6 -0
  16. package/dist/__tests__/e2e.test.js +1847 -0
  17. package/dist/__tests__/entity-types.test.d.ts +1 -0
  18. package/dist/__tests__/entity-types.test.js +203 -0
  19. package/dist/__tests__/formatter.test.d.ts +1 -0
  20. package/dist/__tests__/formatter.test.js +40 -0
  21. package/dist/__tests__/lexer.test.d.ts +1 -0
  22. package/dist/__tests__/lexer.test.js +343 -0
  23. package/dist/__tests__/lowering.test.d.ts +1 -0
  24. package/dist/__tests__/lowering.test.js +1015 -0
  25. package/dist/__tests__/macro.test.d.ts +8 -0
  26. package/dist/__tests__/macro.test.js +305 -0
  27. package/dist/__tests__/mc-integration.test.d.ts +12 -0
  28. package/dist/__tests__/mc-integration.test.js +819 -0
  29. package/dist/__tests__/mc-syntax.test.d.ts +1 -0
  30. package/dist/__tests__/mc-syntax.test.js +124 -0
  31. package/dist/__tests__/nbt.test.d.ts +1 -0
  32. package/dist/__tests__/nbt.test.js +82 -0
  33. package/dist/__tests__/optimizer-advanced.test.d.ts +1 -0
  34. package/dist/__tests__/optimizer-advanced.test.js +124 -0
  35. package/dist/__tests__/optimizer.test.d.ts +1 -0
  36. package/dist/__tests__/optimizer.test.js +149 -0
  37. package/dist/__tests__/parser.test.d.ts +1 -0
  38. package/dist/__tests__/parser.test.js +807 -0
  39. package/dist/__tests__/repl.test.d.ts +1 -0
  40. package/dist/__tests__/repl.test.js +27 -0
  41. package/dist/__tests__/runtime.test.d.ts +1 -0
  42. package/dist/__tests__/runtime.test.js +289 -0
  43. package/dist/__tests__/stdlib-advanced.test.d.ts +4 -0
  44. package/dist/__tests__/stdlib-advanced.test.js +378 -0
  45. package/dist/__tests__/stdlib-bigint.test.d.ts +7 -0
  46. package/dist/__tests__/stdlib-bigint.test.js +428 -0
  47. package/dist/__tests__/stdlib-math.test.d.ts +7 -0
  48. package/dist/__tests__/stdlib-math.test.js +352 -0
  49. package/dist/__tests__/stdlib-vec.test.d.ts +4 -0
  50. package/dist/__tests__/stdlib-vec.test.js +264 -0
  51. package/dist/__tests__/structure-optimizer.test.d.ts +1 -0
  52. package/dist/__tests__/structure-optimizer.test.js +33 -0
  53. package/dist/__tests__/typechecker.test.d.ts +1 -0
  54. package/dist/__tests__/typechecker.test.js +552 -0
  55. package/dist/__tests__/var-allocator.test.d.ts +1 -0
  56. package/dist/__tests__/var-allocator.test.js +69 -0
  57. package/dist/ast/types.d.ts +514 -0
  58. package/dist/ast/types.js +9 -0
  59. package/dist/builtins/metadata.d.ts +36 -0
  60. package/dist/builtins/metadata.js +1014 -0
  61. package/dist/cli.d.ts +11 -0
  62. package/dist/cli.js +0 -0
  63. package/dist/codegen/cmdblock/index.d.ts +26 -0
  64. package/dist/codegen/cmdblock/index.js +45 -0
  65. package/dist/codegen/mcfunction/index.d.ts +40 -0
  66. package/dist/codegen/mcfunction/index.js +606 -0
  67. package/dist/codegen/structure/index.d.ts +24 -0
  68. package/dist/codegen/structure/index.js +279 -0
  69. package/dist/codegen/var-allocator.d.ts +45 -0
  70. package/dist/codegen/var-allocator.js +104 -0
  71. package/dist/compile.d.ts +68 -0
  72. package/dist/data/arena/function/__load.mcfunction +6 -0
  73. package/dist/data/arena/function/__tick.mcfunction +2 -0
  74. package/dist/data/arena/function/announce_leaders/else_1.mcfunction +3 -0
  75. package/dist/data/arena/function/announce_leaders/foreach_0/merge_2.mcfunction +1 -0
  76. package/dist/data/arena/function/announce_leaders/foreach_0/then_0.mcfunction +3 -0
  77. package/dist/data/arena/function/announce_leaders/foreach_0.mcfunction +7 -0
  78. package/dist/data/arena/function/announce_leaders/foreach_1/merge_2.mcfunction +1 -0
  79. package/dist/data/arena/function/announce_leaders/foreach_1/then_0.mcfunction +4 -0
  80. package/dist/data/arena/function/announce_leaders/foreach_1.mcfunction +6 -0
  81. package/dist/data/arena/function/announce_leaders/merge_2.mcfunction +1 -0
  82. package/dist/data/arena/function/announce_leaders/then_0.mcfunction +4 -0
  83. package/dist/data/arena/function/announce_leaders.mcfunction +6 -0
  84. package/dist/data/arena/function/arena_tick/merge_2.mcfunction +1 -0
  85. package/dist/data/arena/function/arena_tick/then_0.mcfunction +4 -0
  86. package/dist/data/arena/function/arena_tick.mcfunction +11 -0
  87. package/dist/data/capture_the_flag/function/add_to_team.mcfunction +5 -0
  88. package/dist/data/capture_the_flag/function/angry_at.mcfunction +1 -0
  89. package/dist/data/capture_the_flag/function/assign_teams.mcfunction +1 -0
  90. package/dist/data/capture_the_flag/function/assign_teams__foreach_t1.mcfunction +8 -0
  91. package/dist/data/capture_the_flag/function/assign_teams__foreach_t1__else_2.mcfunction +8 -0
  92. package/dist/data/capture_the_flag/function/assign_teams__foreach_t1__merge_1.mcfunction +3 -0
  93. package/dist/data/capture_the_flag/function/assign_teams__foreach_t1__then_0.mcfunction +8 -0
  94. package/dist/data/capture_the_flag/function/barrier_wall.mcfunction +1 -0
  95. package/dist/data/capture_the_flag/function/buff_all.mcfunction +22 -0
  96. package/dist/data/capture_the_flag/function/check_flag_capture.mcfunction +2 -0
  97. package/dist/data/capture_the_flag/function/check_flag_capture__foreach_t0.mcfunction +8 -0
  98. package/dist/data/capture_the_flag/function/check_flag_capture__foreach_t0__merge_1.mcfunction +1 -0
  99. package/dist/data/capture_the_flag/function/check_flag_capture__foreach_t0__then_0.mcfunction +7 -0
  100. package/dist/data/capture_the_flag/function/check_flag_capture__foreach_t1.mcfunction +8 -0
  101. package/dist/data/capture_the_flag/function/check_flag_capture__foreach_t1__merge_1.mcfunction +1 -0
  102. package/dist/data/capture_the_flag/function/check_flag_capture__foreach_t1__then_0.mcfunction +7 -0
  103. package/dist/data/capture_the_flag/function/check_flag_pickup.mcfunction +2 -0
  104. package/dist/data/capture_the_flag/function/check_flag_pickup__foreach_t0.mcfunction +8 -0
  105. package/dist/data/capture_the_flag/function/check_flag_pickup__foreach_t0__merge_1.mcfunction +1 -0
  106. package/dist/data/capture_the_flag/function/check_flag_pickup__foreach_t0__then_0.mcfunction +7 -0
  107. package/dist/data/capture_the_flag/function/check_flag_pickup__foreach_t1.mcfunction +8 -0
  108. package/dist/data/capture_the_flag/function/check_flag_pickup__foreach_t1__merge_1.mcfunction +1 -0
  109. package/dist/data/capture_the_flag/function/check_flag_pickup__foreach_t1__then_0.mcfunction +7 -0
  110. package/dist/data/capture_the_flag/function/check_win.mcfunction +4 -0
  111. package/dist/data/capture_the_flag/function/cleanup_teams.mcfunction +8 -0
  112. package/dist/data/capture_the_flag/function/clear_area.mcfunction +1 -0
  113. package/dist/data/capture_the_flag/function/clear_effect.mcfunction +1 -0
  114. package/dist/data/capture_the_flag/function/clear_effects.mcfunction +1 -0
  115. package/dist/data/capture_the_flag/function/clear_inventory.mcfunction +1 -0
  116. package/dist/data/capture_the_flag/function/create_blue_team.mcfunction +10 -0
  117. package/dist/data/capture_the_flag/function/create_green_team.mcfunction +10 -0
  118. package/dist/data/capture_the_flag/function/create_red_team.mcfunction +10 -0
  119. package/dist/data/capture_the_flag/function/create_team.mcfunction +8 -0
  120. package/dist/data/capture_the_flag/function/create_yellow_team.mcfunction +10 -0
  121. package/dist/data/capture_the_flag/function/disable_fire_spread.mcfunction +1 -0
  122. package/dist/data/capture_the_flag/function/disable_keep_inventory.mcfunction +1 -0
  123. package/dist/data/capture_the_flag/function/disable_mob_griefing.mcfunction +1 -0
  124. package/dist/data/capture_the_flag/function/distance_to.mcfunction +6 -0
  125. package/dist/data/capture_the_flag/function/distance_to__const_0_0_0_0.mcfunction +5 -0
  126. package/dist/data/capture_the_flag/function/enable_keep_inventory.mcfunction +1 -0
  127. package/dist/data/capture_the_flag/function/end_game.mcfunction +6 -0
  128. package/dist/data/capture_the_flag/function/end_game__else_2.mcfunction +3 -0
  129. package/dist/data/capture_the_flag/function/end_game__foreach_t7.mcfunction +2 -0
  130. package/dist/data/capture_the_flag/function/end_game__merge_1.mcfunction +1 -0
  131. package/dist/data/capture_the_flag/function/end_game__then_0.mcfunction +3 -0
  132. package/dist/data/capture_the_flag/function/end_sparkles_at.mcfunction +1 -0
  133. package/dist/data/capture_the_flag/function/explosion_effect.mcfunction +1 -0
  134. package/dist/data/capture_the_flag/function/flames.mcfunction +1 -0
  135. package/dist/data/capture_the_flag/function/game_tick.mcfunction +1 -0
  136. package/dist/data/capture_the_flag/function/give_kit_archer.mcfunction +6 -0
  137. package/dist/data/capture_the_flag/function/give_kit_mage.mcfunction +5 -0
  138. package/dist/data/capture_the_flag/function/give_kit_warrior.mcfunction +6 -0
  139. package/dist/data/capture_the_flag/function/glass_box.mcfunction +2 -0
  140. package/dist/data/capture_the_flag/function/glow.mcfunction +1 -0
  141. package/dist/data/capture_the_flag/function/happy_at.mcfunction +1 -0
  142. package/dist/data/capture_the_flag/function/hearts_at.mcfunction +1 -0
  143. package/dist/data/capture_the_flag/function/init.mcfunction +11 -0
  144. package/dist/data/capture_the_flag/function/invisible.mcfunction +1 -0
  145. package/dist/data/capture_the_flag/function/jump.mcfunction +1 -0
  146. package/dist/data/capture_the_flag/function/load.mcfunction +1 -0
  147. package/dist/data/capture_the_flag/function/night_vision.mcfunction +1 -0
  148. package/dist/data/capture_the_flag/function/place_flags.mcfunction +2 -0
  149. package/dist/data/capture_the_flag/function/portal_effect.mcfunction +1 -0
  150. package/dist/data/capture_the_flag/function/regen.mcfunction +1 -0
  151. package/dist/data/capture_the_flag/function/remove_from_teams.mcfunction +3 -0
  152. package/dist/data/capture_the_flag/function/remove_item.mcfunction +1 -0
  153. package/dist/data/capture_the_flag/function/resistance.mcfunction +1 -0
  154. package/dist/data/capture_the_flag/function/set_day.mcfunction +1 -0
  155. package/dist/data/capture_the_flag/function/set_easy.mcfunction +1 -0
  156. package/dist/data/capture_the_flag/function/set_hard.mcfunction +1 -0
  157. package/dist/data/capture_the_flag/function/set_midnight.mcfunction +1 -0
  158. package/dist/data/capture_the_flag/function/set_night.mcfunction +1 -0
  159. package/dist/data/capture_the_flag/function/set_noon.mcfunction +1 -0
  160. package/dist/data/capture_the_flag/function/set_normal.mcfunction +1 -0
  161. package/dist/data/capture_the_flag/function/set_peaceful.mcfunction +1 -0
  162. package/dist/data/capture_the_flag/function/setup_four_teams.mcfunction +4 -0
  163. package/dist/data/capture_the_flag/function/setup_two_teams.mcfunction +2 -0
  164. package/dist/data/capture_the_flag/function/slow_fall.mcfunction +1 -0
  165. package/dist/data/capture_the_flag/function/smoke.mcfunction +1 -0
  166. package/dist/data/capture_the_flag/function/sparkles_at.mcfunction +1 -0
  167. package/dist/data/capture_the_flag/function/speed.mcfunction +1 -0
  168. package/dist/data/capture_the_flag/function/start_game.mcfunction +15 -0
  169. package/dist/data/capture_the_flag/function/start_game__foreach_t10.mcfunction +4 -0
  170. package/dist/data/capture_the_flag/function/strength.mcfunction +1 -0
  171. package/dist/data/capture_the_flag/function/totem_at.mcfunction +1 -0
  172. package/dist/data/capture_the_flag/function/weather_clear.mcfunction +1 -0
  173. package/dist/data/capture_the_flag/function/weather_rain.mcfunction +1 -0
  174. package/dist/data/capture_the_flag/function/weather_thunder.mcfunction +1 -0
  175. package/dist/data/counter/function/__load.mcfunction +5 -0
  176. package/dist/data/counter/function/__tick.mcfunction +2 -0
  177. package/dist/data/counter/function/counter_tick/merge_2.mcfunction +1 -0
  178. package/dist/data/counter/function/counter_tick/then_0.mcfunction +3 -0
  179. package/dist/data/counter/function/counter_tick.mcfunction +11 -0
  180. package/dist/data/gcd2/function/__load.mcfunction +3 -0
  181. package/dist/data/gcd2/function/abs/merge_2.mcfunction +3 -0
  182. package/dist/data/gcd2/function/abs/then_0.mcfunction +5 -0
  183. package/dist/data/gcd2/function/abs.mcfunction +7 -0
  184. package/dist/data/gcd2/function/gcd/loop_body_1.mcfunction +7 -0
  185. package/dist/data/gcd2/function/gcd/loop_check_0.mcfunction +5 -0
  186. package/dist/data/gcd2/function/gcd/loop_exit_2.mcfunction +3 -0
  187. package/dist/data/gcd2/function/gcd.mcfunction +14 -0
  188. package/dist/data/gcd3/function/__load.mcfunction +3 -0
  189. package/dist/data/gcd3/function/abs/merge_2.mcfunction +3 -0
  190. package/dist/data/gcd3/function/abs/then_0.mcfunction +5 -0
  191. package/dist/data/gcd3/function/abs.mcfunction +7 -0
  192. package/dist/data/gcd3/function/gcd/loop_body_1.mcfunction +7 -0
  193. package/dist/data/gcd3/function/gcd/loop_check_0.mcfunction +5 -0
  194. package/dist/data/gcd3/function/gcd/loop_exit_2.mcfunction +3 -0
  195. package/dist/data/gcd3/function/gcd.mcfunction +14 -0
  196. package/dist/data/gcd3/function/test.mcfunction +7 -0
  197. package/dist/data/gcd3nm/function/__load.mcfunction +3 -0
  198. package/dist/data/gcd3nm/function/abs/merge_2.mcfunction +3 -0
  199. package/dist/data/gcd3nm/function/abs/then_0.mcfunction +5 -0
  200. package/dist/data/gcd3nm/function/abs.mcfunction +7 -0
  201. package/dist/data/gcd3nm/function/gcd/loop_body_1.mcfunction +7 -0
  202. package/dist/data/gcd3nm/function/gcd/loop_check_0.mcfunction +5 -0
  203. package/dist/data/gcd3nm/function/gcd/loop_exit_2.mcfunction +3 -0
  204. package/dist/data/gcd3nm/function/gcd.mcfunction +14 -0
  205. package/dist/data/gcd3nm/function/test.mcfunction +7 -0
  206. package/dist/data/gcd_test/function/__load.mcfunction +3 -0
  207. package/dist/data/gcd_test/function/abs/merge_2.mcfunction +3 -0
  208. package/dist/data/gcd_test/function/abs/then_0.mcfunction +5 -0
  209. package/dist/data/gcd_test/function/abs.mcfunction +7 -0
  210. package/dist/data/gcd_test/function/gcd/loop_body_1.mcfunction +7 -0
  211. package/dist/data/gcd_test/function/gcd/loop_check_0.mcfunction +5 -0
  212. package/dist/data/gcd_test/function/gcd/loop_exit_2.mcfunction +3 -0
  213. package/dist/data/gcd_test/function/gcd.mcfunction +14 -0
  214. package/dist/data/hunger_games/function/angry_at.mcfunction +1 -0
  215. package/dist/data/hunger_games/function/barrier_wall.mcfunction +1 -0
  216. package/dist/data/hunger_games/function/buff_all.mcfunction +22 -0
  217. package/dist/data/hunger_games/function/check_alive.mcfunction +3 -0
  218. package/dist/data/hunger_games/function/check_alive__foreach_t3.mcfunction +10 -0
  219. package/dist/data/hunger_games/function/check_alive__foreach_t3__merge_1.mcfunction +1 -0
  220. package/dist/data/hunger_games/function/check_alive__foreach_t3__then_0.mcfunction +5 -0
  221. package/dist/data/hunger_games/function/check_border_damage.mcfunction +1 -0
  222. package/dist/data/hunger_games/function/check_border_damage__foreach_t0.mcfunction +1 -0
  223. package/dist/data/hunger_games/function/clear_area.mcfunction +1 -0
  224. package/dist/data/hunger_games/function/clear_effect.mcfunction +1 -0
  225. package/dist/data/hunger_games/function/clear_effects.mcfunction +1 -0
  226. package/dist/data/hunger_games/function/countdown_tick.mcfunction +1 -0
  227. package/dist/data/hunger_games/function/create_health_bar.mcfunction +24 -0
  228. package/dist/data/hunger_games/function/create_progress_bar.mcfunction +24 -0
  229. package/dist/data/hunger_games/function/create_progress_bar__const_0_0_0.mcfunction +21 -0
  230. package/dist/data/hunger_games/function/create_timer_bar.mcfunction +30 -0
  231. package/dist/data/hunger_games/function/declare_winner.mcfunction +13 -0
  232. package/dist/data/hunger_games/function/disable_fire_spread.mcfunction +1 -0
  233. package/dist/data/hunger_games/function/disable_keep_inventory.mcfunction +1 -0
  234. package/dist/data/hunger_games/function/disable_mob_griefing.mcfunction +1 -0
  235. package/dist/data/hunger_games/function/enable_keep_inventory.mcfunction +1 -0
  236. package/dist/data/hunger_games/function/end_game_no_winner.mcfunction +3 -0
  237. package/dist/data/hunger_games/function/end_sparkles_at.mcfunction +1 -0
  238. package/dist/data/hunger_games/function/explosion_effect.mcfunction +1 -0
  239. package/dist/data/hunger_games/function/flames.mcfunction +1 -0
  240. package/dist/data/hunger_games/function/game_tick.mcfunction +1 -0
  241. package/dist/data/hunger_games/function/glass_box.mcfunction +2 -0
  242. package/dist/data/hunger_games/function/glow.mcfunction +1 -0
  243. package/dist/data/hunger_games/function/happy_at.mcfunction +1 -0
  244. package/dist/data/hunger_games/function/hearts_at.mcfunction +1 -0
  245. package/dist/data/hunger_games/function/hide_bar.mcfunction +4 -0
  246. package/dist/data/hunger_games/function/init.mcfunction +7 -0
  247. package/dist/data/hunger_games/function/invisible.mcfunction +1 -0
  248. package/dist/data/hunger_games/function/jump.mcfunction +1 -0
  249. package/dist/data/hunger_games/function/load.mcfunction +1 -0
  250. package/dist/data/hunger_games/function/main_game_tick.mcfunction +4 -0
  251. package/dist/data/hunger_games/function/night_vision.mcfunction +1 -0
  252. package/dist/data/hunger_games/function/on_player_death.mcfunction +14 -0
  253. package/dist/data/hunger_games/function/portal_effect.mcfunction +1 -0
  254. package/dist/data/hunger_games/function/regen.mcfunction +1 -0
  255. package/dist/data/hunger_games/function/remove_bar.mcfunction +3 -0
  256. package/dist/data/hunger_games/function/remove_bar__const_0.mcfunction +2 -0
  257. package/dist/data/hunger_games/function/reset_game.mcfunction +3 -0
  258. package/dist/data/hunger_games/function/reset_game__foreach_t0.mcfunction +9 -0
  259. package/dist/data/hunger_games/function/resistance.mcfunction +1 -0
  260. package/dist/data/hunger_games/function/set_day.mcfunction +1 -0
  261. package/dist/data/hunger_games/function/set_easy.mcfunction +1 -0
  262. package/dist/data/hunger_games/function/set_hard.mcfunction +1 -0
  263. package/dist/data/hunger_games/function/set_midnight.mcfunction +1 -0
  264. package/dist/data/hunger_games/function/set_night.mcfunction +1 -0
  265. package/dist/data/hunger_games/function/set_noon.mcfunction +1 -0
  266. package/dist/data/hunger_games/function/set_normal.mcfunction +1 -0
  267. package/dist/data/hunger_games/function/set_peaceful.mcfunction +1 -0
  268. package/dist/data/hunger_games/function/show_bar.mcfunction +4 -0
  269. package/dist/data/hunger_games/function/shrink_border.mcfunction +1 -0
  270. package/dist/data/hunger_games/function/slow_fall.mcfunction +1 -0
  271. package/dist/data/hunger_games/function/smoke.mcfunction +1 -0
  272. package/dist/data/hunger_games/function/sparkles_at.mcfunction +1 -0
  273. package/dist/data/hunger_games/function/speed.mcfunction +1 -0
  274. package/dist/data/hunger_games/function/start_countdown.mcfunction +3 -0
  275. package/dist/data/hunger_games/function/start_countdown__foreach_t0.mcfunction +16 -0
  276. package/dist/data/hunger_games/function/start_game.mcfunction +4 -0
  277. package/dist/data/hunger_games/function/start_game__foreach_t3.mcfunction +4 -0
  278. package/dist/data/hunger_games/function/strength.mcfunction +1 -0
  279. package/dist/data/hunger_games/function/totem_at.mcfunction +1 -0
  280. package/dist/data/hunger_games/function/update_bar.mcfunction +5 -0
  281. package/dist/data/hunger_games/function/update_bar__const_0_0.mcfunction +3 -0
  282. package/dist/data/hunger_games/function/update_bar_color.mcfunction +7 -0
  283. package/dist/data/hunger_games/function/update_bar_color__else_2.mcfunction +5 -0
  284. package/dist/data/hunger_games/function/update_bar_color__else_5.mcfunction +4 -0
  285. package/dist/data/hunger_games/function/update_bar_color__merge_1.mcfunction +1 -0
  286. package/dist/data/hunger_games/function/update_bar_color__merge_4.mcfunction +1 -0
  287. package/dist/data/hunger_games/function/update_bar_color__then_0.mcfunction +4 -0
  288. package/dist/data/hunger_games/function/update_bar_color__then_3.mcfunction +4 -0
  289. package/dist/data/hunger_games/function/weather_clear.mcfunction +1 -0
  290. package/dist/data/hunger_games/function/weather_rain.mcfunction +1 -0
  291. package/dist/data/hunger_games/function/weather_thunder.mcfunction +1 -0
  292. package/dist/data/isqrttest/function/__load.mcfunction +6 -0
  293. package/dist/data/isqrttest/function/isqrt/loop_body_4.mcfunction +12 -0
  294. package/dist/data/isqrttest/function/isqrt/loop_check_3.mcfunction +5 -0
  295. package/dist/data/isqrttest/function/isqrt/loop_exit_5.mcfunction +3 -0
  296. package/dist/data/isqrttest/function/isqrt/merge_2.mcfunction +4 -0
  297. package/dist/data/isqrttest/function/isqrt/merge_8.mcfunction +6 -0
  298. package/dist/data/isqrttest/function/isqrt/then_0.mcfunction +3 -0
  299. package/dist/data/isqrttest/function/isqrt/then_6.mcfunction +3 -0
  300. package/dist/data/isqrttest/function/isqrt.mcfunction +7 -0
  301. package/dist/data/isqrttest/function/test.mcfunction +6 -0
  302. package/dist/data/linalg/function/_vec2d_len_sq_fx.mcfunction +17 -0
  303. package/dist/data/linalg/function/_vec3d_len_sq_fx.mcfunction +27 -0
  304. package/dist/data/linalg/function/load.mcfunction +1 -0
  305. package/dist/data/linalg/function/mat2d_det.mcfunction +16 -0
  306. package/dist/data/linalg/function/mat2d_mul_r0c0.mcfunction +16 -0
  307. package/dist/data/linalg/function/mat2d_mul_r0c1.mcfunction +16 -0
  308. package/dist/data/linalg/function/mat2d_mul_r1c0.mcfunction +16 -0
  309. package/dist/data/linalg/function/mat2d_mul_r1c1.mcfunction +16 -0
  310. package/dist/data/linalg/function/mat2d_vecmul_x.mcfunction +16 -0
  311. package/dist/data/linalg/function/mat2d_vecmul_y.mcfunction +16 -0
  312. package/dist/data/linalg/function/solve2d_x.mcfunction +27 -0
  313. package/dist/data/linalg/function/solve2d_y.mcfunction +27 -0
  314. package/dist/data/linalg/function/vec2d_dist.mcfunction +15 -0
  315. package/dist/data/linalg/function/vec2d_dot.mcfunction +16 -0
  316. package/dist/data/linalg/function/vec2d_length.mcfunction +21 -0
  317. package/dist/data/linalg/function/vec2d_normalize_x.mcfunction +8 -0
  318. package/dist/data/linalg/function/vec2d_normalize_x__merge_1.mcfunction +10 -0
  319. package/dist/data/linalg/function/vec2d_normalize_x__then_0.mcfunction +3 -0
  320. package/dist/data/linalg/function/vec2d_normalize_y.mcfunction +8 -0
  321. package/dist/data/linalg/function/vec2d_normalize_y__merge_1.mcfunction +10 -0
  322. package/dist/data/linalg/function/vec2d_normalize_y__then_0.mcfunction +3 -0
  323. package/dist/data/linalg/function/vec3d_cross_x.mcfunction +16 -0
  324. package/dist/data/linalg/function/vec3d_cross_y.mcfunction +16 -0
  325. package/dist/data/linalg/function/vec3d_cross_z.mcfunction +16 -0
  326. package/dist/data/linalg/function/vec3d_dist.mcfunction +21 -0
  327. package/dist/data/linalg/function/vec3d_dot.mcfunction +26 -0
  328. package/dist/data/linalg/function/vec3d_length.mcfunction +31 -0
  329. package/dist/data/linalg/function/vec3d_normalize_x.mcfunction +9 -0
  330. package/dist/data/linalg/function/vec3d_normalize_x__merge_1.mcfunction +11 -0
  331. package/dist/data/linalg/function/vec3d_normalize_x__then_0.mcfunction +3 -0
  332. package/dist/data/linalg/function/vec3d_normalize_y.mcfunction +9 -0
  333. package/dist/data/linalg/function/vec3d_normalize_y__merge_1.mcfunction +11 -0
  334. package/dist/data/linalg/function/vec3d_normalize_y__then_0.mcfunction +3 -0
  335. package/dist/data/linalg/function/vec3d_normalize_z.mcfunction +9 -0
  336. package/dist/data/linalg/function/vec3d_normalize_z__merge_1.mcfunction +11 -0
  337. package/dist/data/linalg/function/vec3d_normalize_z__then_0.mcfunction +3 -0
  338. package/dist/data/macrotest/function/get_element.mcfunction +2 -0
  339. package/dist/data/macrotest/function/load.mcfunction +1 -0
  340. package/dist/data/macrotest/function/test_dynamic_index.mcfunction +2 -0
  341. package/dist/data/math_hp/function/cos_hp.mcfunction +8 -0
  342. package/dist/data/math_hp/function/div3_hp.mcfunction +23 -0
  343. package/dist/data/math_hp/function/div_hp.mcfunction +13 -0
  344. package/dist/data/math_hp/function/init_div.mcfunction +1 -0
  345. package/dist/data/math_hp/function/init_trig.mcfunction +1 -0
  346. package/dist/data/math_hp/function/ln_5term.mcfunction +6 -0
  347. package/dist/data/math_hp/function/ln_5term__loop_body_1.mcfunction +8 -0
  348. package/dist/data/math_hp/function/ln_5term__loop_body_4.mcfunction +8 -0
  349. package/dist/data/math_hp/function/ln_5term__loop_exit_2.mcfunction +1 -0
  350. package/dist/data/math_hp/function/ln_5term__loop_exit_5.mcfunction +61 -0
  351. package/dist/data/math_hp/function/ln_5term__loop_header_0.mcfunction +3 -0
  352. package/dist/data/math_hp/function/ln_5term__loop_header_3.mcfunction +6 -0
  353. package/dist/data/math_hp/function/load.mcfunction +1 -0
  354. package/dist/data/math_hp/function/norm3_hp.mcfunction +43 -0
  355. package/dist/data/math_hp/function/sin_hp.mcfunction +8 -0
  356. package/dist/data/math_hp/function/sqrt_hp.mcfunction +17 -0
  357. package/dist/data/math_hp/function/sqrt_hp__merge_1.mcfunction +21 -0
  358. package/dist/data/math_hp/function/sqrt_hp__then_0.mcfunction +2 -0
  359. package/dist/data/mathdemo/function/__load.mcfunction +2 -0
  360. package/dist/data/mathdemo/function/_atan_init.mcfunction +4 -0
  361. package/dist/data/mathdemo/function/_math_init.mcfunction +4 -0
  362. package/dist/data/mathdemo/function/add2d_x.mcfunction +5 -0
  363. package/dist/data/mathdemo/function/add2d_y.mcfunction +5 -0
  364. package/dist/data/mathdemo/function/add3d_x.mcfunction +5 -0
  365. package/dist/data/mathdemo/function/add3d_y.mcfunction +5 -0
  366. package/dist/data/mathdemo/function/add3d_z.mcfunction +5 -0
  367. package/dist/data/mathdemo/function/air_drag_fx.mcfunction +2 -0
  368. package/dist/data/mathdemo/function/apply_drag.mcfunction +8 -0
  369. package/dist/data/mathdemo/function/apply_gravity.mcfunction +6 -0
  370. package/dist/data/mathdemo/function/approx_eq.mcfunction +10 -0
  371. package/dist/data/mathdemo/function/approx_eq__merge_1.mcfunction +3 -0
  372. package/dist/data/mathdemo/function/approx_eq__merge_3.mcfunction +2 -0
  373. package/dist/data/mathdemo/function/approx_eq__then_0.mcfunction +4 -0
  374. package/dist/data/mathdemo/function/approx_eq__then_2.mcfunction +2 -0
  375. package/dist/data/mathdemo/function/atan2_fixed.mcfunction +6 -0
  376. package/dist/data/mathdemo/function/atan2_fixed__else_30.mcfunction +2 -0
  377. package/dist/data/mathdemo/function/atan2_fixed__loop_body_26.mcfunction +21 -0
  378. package/dist/data/mathdemo/function/atan2_fixed__loop_exit_27.mcfunction +5 -0
  379. package/dist/data/mathdemo/function/atan2_fixed__loop_header_25.mcfunction +3 -0
  380. package/dist/data/mathdemo/function/atan2_fixed__merge_1.mcfunction +4 -0
  381. package/dist/data/mathdemo/function/atan2_fixed__merge_10.mcfunction +5 -0
  382. package/dist/data/mathdemo/function/atan2_fixed__merge_12.mcfunction +2 -0
  383. package/dist/data/mathdemo/function/atan2_fixed__merge_16.mcfunction +5 -0
  384. package/dist/data/mathdemo/function/atan2_fixed__merge_18.mcfunction +4 -0
  385. package/dist/data/mathdemo/function/atan2_fixed__merge_20.mcfunction +4 -0
  386. package/dist/data/mathdemo/function/atan2_fixed__merge_22.mcfunction +4 -0
  387. package/dist/data/mathdemo/function/atan2_fixed__merge_24.mcfunction +3 -0
  388. package/dist/data/mathdemo/function/atan2_fixed__merge_29.mcfunction +1 -0
  389. package/dist/data/mathdemo/function/atan2_fixed__merge_3.mcfunction +4 -0
  390. package/dist/data/mathdemo/function/atan2_fixed__merge_32.mcfunction +4 -0
  391. package/dist/data/mathdemo/function/atan2_fixed__merge_34.mcfunction +4 -0
  392. package/dist/data/mathdemo/function/atan2_fixed__merge_36.mcfunction +3 -0
  393. package/dist/data/mathdemo/function/atan2_fixed__merge_40.mcfunction +3 -0
  394. package/dist/data/mathdemo/function/atan2_fixed__merge_6.mcfunction +2 -0
  395. package/dist/data/mathdemo/function/atan2_fixed__then_0.mcfunction +4 -0
  396. package/dist/data/mathdemo/function/atan2_fixed__then_11.mcfunction +2 -0
  397. package/dist/data/mathdemo/function/atan2_fixed__then_15.mcfunction +4 -0
  398. package/dist/data/mathdemo/function/atan2_fixed__then_17.mcfunction +4 -0
  399. package/dist/data/mathdemo/function/atan2_fixed__then_19.mcfunction +2 -0
  400. package/dist/data/mathdemo/function/atan2_fixed__then_2.mcfunction +2 -0
  401. package/dist/data/mathdemo/function/atan2_fixed__then_21.mcfunction +2 -0
  402. package/dist/data/mathdemo/function/atan2_fixed__then_23.mcfunction +5 -0
  403. package/dist/data/mathdemo/function/atan2_fixed__then_28.mcfunction +4 -0
  404. package/dist/data/mathdemo/function/atan2_fixed__then_31.mcfunction +4 -0
  405. package/dist/data/mathdemo/function/atan2_fixed__then_33.mcfunction +4 -0
  406. package/dist/data/mathdemo/function/atan2_fixed__then_35.mcfunction +1 -0
  407. package/dist/data/mathdemo/function/atan2_fixed__then_39.mcfunction +3 -0
  408. package/dist/data/mathdemo/function/atan2_fixed__then_5.mcfunction +2 -0
  409. package/dist/data/mathdemo/function/atan2_fixed__then_9.mcfunction +4 -0
  410. package/dist/data/mathdemo/function/bounce_v.mcfunction +10 -0
  411. package/dist/data/mathdemo/function/cbrt_fx.mcfunction +5 -0
  412. package/dist/data/mathdemo/function/cbrt_fx__loop_body_6.mcfunction +7 -0
  413. package/dist/data/mathdemo/function/cbrt_fx__loop_exit_7.mcfunction +1 -0
  414. package/dist/data/mathdemo/function/cbrt_fx__loop_header_5.mcfunction +4 -0
  415. package/dist/data/mathdemo/function/cbrt_fx__merge_1.mcfunction +8 -0
  416. package/dist/data/mathdemo/function/cbrt_fx__merge_11.mcfunction +5 -0
  417. package/dist/data/mathdemo/function/cbrt_fx__merge_13.mcfunction +4 -0
  418. package/dist/data/mathdemo/function/cbrt_fx__merge_4.mcfunction +2 -0
  419. package/dist/data/mathdemo/function/cbrt_fx__merge_9.mcfunction +13 -0
  420. package/dist/data/mathdemo/function/cbrt_fx__then_0.mcfunction +2 -0
  421. package/dist/data/mathdemo/function/cbrt_fx__then_10.mcfunction +2 -0
  422. package/dist/data/mathdemo/function/cbrt_fx__then_12.mcfunction +2 -0
  423. package/dist/data/mathdemo/function/cbrt_fx__then_3.mcfunction +2 -0
  424. package/dist/data/mathdemo/function/cbrt_fx__then_8.mcfunction +2 -0
  425. package/dist/data/mathdemo/function/ceil_div.mcfunction +9 -0
  426. package/dist/data/mathdemo/function/chebyshev.mcfunction +14 -0
  427. package/dist/data/mathdemo/function/chebyshev3d.mcfunction +19 -0
  428. package/dist/data/mathdemo/function/chebyshev3d__merge_1.mcfunction +4 -0
  429. package/dist/data/mathdemo/function/chebyshev3d__merge_3.mcfunction +4 -0
  430. package/dist/data/mathdemo/function/chebyshev3d__merge_5.mcfunction +4 -0
  431. package/dist/data/mathdemo/function/chebyshev3d__merge_7.mcfunction +3 -0
  432. package/dist/data/mathdemo/function/chebyshev3d__merge_9.mcfunction +1 -0
  433. package/dist/data/mathdemo/function/chebyshev3d__then_0.mcfunction +4 -0
  434. package/dist/data/mathdemo/function/chebyshev3d__then_2.mcfunction +4 -0
  435. package/dist/data/mathdemo/function/chebyshev3d__then_4.mcfunction +4 -0
  436. package/dist/data/mathdemo/function/chebyshev3d__then_6.mcfunction +2 -0
  437. package/dist/data/mathdemo/function/chebyshev3d__then_8.mcfunction +2 -0
  438. package/dist/data/mathdemo/function/chebyshev__merge_1.mcfunction +4 -0
  439. package/dist/data/mathdemo/function/chebyshev__merge_3.mcfunction +3 -0
  440. package/dist/data/mathdemo/function/chebyshev__merge_5.mcfunction +1 -0
  441. package/dist/data/mathdemo/function/chebyshev__then_0.mcfunction +4 -0
  442. package/dist/data/mathdemo/function/chebyshev__then_2.mcfunction +4 -0
  443. package/dist/data/mathdemo/function/chebyshev__then_4.mcfunction +1 -0
  444. package/dist/data/mathdemo/function/circular_x.mcfunction +14 -0
  445. package/dist/data/mathdemo/function/circular_z.mcfunction +14 -0
  446. package/dist/data/mathdemo/function/clamp_velocity.mcfunction +5 -0
  447. package/dist/data/mathdemo/function/clamp_velocity__merge_1.mcfunction +5 -0
  448. package/dist/data/mathdemo/function/clamp_velocity__merge_4.mcfunction +1 -0
  449. package/dist/data/mathdemo/function/clamp_velocity__then_0.mcfunction +1 -0
  450. package/dist/data/mathdemo/function/clamp_velocity__then_3.mcfunction +3 -0
  451. package/dist/data/mathdemo/function/combinations.mcfunction +6 -0
  452. package/dist/data/mathdemo/function/combinations__loop_body_9.mcfunction +15 -0
  453. package/dist/data/mathdemo/function/combinations__loop_exit_10.mcfunction +1 -0
  454. package/dist/data/mathdemo/function/combinations__loop_header_8.mcfunction +3 -0
  455. package/dist/data/mathdemo/function/combinations__merge_1.mcfunction +3 -0
  456. package/dist/data/mathdemo/function/combinations__merge_4.mcfunction +6 -0
  457. package/dist/data/mathdemo/function/combinations__merge_7.mcfunction +3 -0
  458. package/dist/data/mathdemo/function/combinations__then_0.mcfunction +2 -0
  459. package/dist/data/mathdemo/function/combinations__then_3.mcfunction +2 -0
  460. package/dist/data/mathdemo/function/combinations__then_6.mcfunction +4 -0
  461. package/dist/data/mathdemo/function/cos_fixed.mcfunction +7 -0
  462. package/dist/data/mathdemo/function/cross2d.mcfunction +11 -0
  463. package/dist/data/mathdemo/function/cross3d_x.mcfunction +11 -0
  464. package/dist/data/mathdemo/function/cross3d_y.mcfunction +11 -0
  465. package/dist/data/mathdemo/function/cross3d_z.mcfunction +11 -0
  466. package/dist/data/mathdemo/function/demo_easing.mcfunction +12 -0
  467. package/dist/data/mathdemo/function/demo_math.mcfunction +16 -0
  468. package/dist/data/mathdemo/function/demo_noise.mcfunction +14 -0
  469. package/dist/data/mathdemo/function/demo_physics.mcfunction +11 -0
  470. package/dist/data/mathdemo/function/demo_physics__loop_body_1.mcfunction +9 -0
  471. package/dist/data/mathdemo/function/demo_physics__loop_body_4.mcfunction +18 -0
  472. package/dist/data/mathdemo/function/demo_physics__loop_exit_2.mcfunction +6 -0
  473. package/dist/data/mathdemo/function/demo_physics__loop_exit_5.mcfunction +1 -0
  474. package/dist/data/mathdemo/function/demo_physics__loop_header_0.mcfunction +4 -0
  475. package/dist/data/mathdemo/function/demo_physics__loop_header_3.mcfunction +4 -0
  476. package/dist/data/mathdemo/function/distance2d_fixed.mcfunction +13 -0
  477. package/dist/data/mathdemo/function/distance3d_fixed.mcfunction +18 -0
  478. package/dist/data/mathdemo/function/divfix.mcfunction +6 -0
  479. package/dist/data/mathdemo/function/divfix__merge_1.mcfunction +6 -0
  480. package/dist/data/mathdemo/function/divfix__then_0.mcfunction +2 -0
  481. package/dist/data/mathdemo/function/dot2d.mcfunction +11 -0
  482. package/dist/data/mathdemo/function/dot3d.mcfunction +17 -0
  483. package/dist/data/mathdemo/function/ease_in_back.mcfunction +26 -0
  484. package/dist/data/mathdemo/function/ease_in_bounce.mcfunction +9 -0
  485. package/dist/data/mathdemo/function/ease_in_cubic.mcfunction +12 -0
  486. package/dist/data/mathdemo/function/ease_in_expo.mcfunction +5 -0
  487. package/dist/data/mathdemo/function/ease_in_expo__merge_1.mcfunction +11 -0
  488. package/dist/data/mathdemo/function/ease_in_expo__then_0.mcfunction +2 -0
  489. package/dist/data/mathdemo/function/ease_in_out_back.mcfunction +5 -0
  490. package/dist/data/mathdemo/function/ease_in_out_back__merge_1.mcfunction +14 -0
  491. package/dist/data/mathdemo/function/ease_in_out_back__then_0.mcfunction +10 -0
  492. package/dist/data/mathdemo/function/ease_in_out_bounce.mcfunction +5 -0
  493. package/dist/data/mathdemo/function/ease_in_out_bounce__merge_1.mcfunction +14 -0
  494. package/dist/data/mathdemo/function/ease_in_out_bounce__then_0.mcfunction +10 -0
  495. package/dist/data/mathdemo/function/ease_in_out_cubic.mcfunction +5 -0
  496. package/dist/data/mathdemo/function/ease_in_out_cubic__merge_1.mcfunction +17 -0
  497. package/dist/data/mathdemo/function/ease_in_out_cubic__then_0.mcfunction +13 -0
  498. package/dist/data/mathdemo/function/ease_in_out_quad.mcfunction +5 -0
  499. package/dist/data/mathdemo/function/ease_in_out_quad__merge_1.mcfunction +12 -0
  500. package/dist/data/mathdemo/function/ease_in_out_quad__then_0.mcfunction +8 -0
  501. package/dist/data/mathdemo/function/ease_in_out_sine.mcfunction +5 -0
  502. package/dist/data/mathdemo/function/ease_in_out_sine__merge_1.mcfunction +14 -0
  503. package/dist/data/mathdemo/function/ease_in_out_sine__then_0.mcfunction +10 -0
  504. package/dist/data/mathdemo/function/ease_in_quad.mcfunction +7 -0
  505. package/dist/data/mathdemo/function/ease_in_quad__const_5000.mcfunction +5 -0
  506. package/dist/data/mathdemo/function/ease_in_quart.mcfunction +12 -0
  507. package/dist/data/mathdemo/function/ease_in_sine.mcfunction +30 -0
  508. package/dist/data/mathdemo/function/ease_linear.mcfunction +2 -0
  509. package/dist/data/mathdemo/function/ease_linear__const_5000.mcfunction +2 -0
  510. package/dist/data/mathdemo/function/ease_out_back.mcfunction +9 -0
  511. package/dist/data/mathdemo/function/ease_out_back__const_5000.mcfunction +7 -0
  512. package/dist/data/mathdemo/function/ease_out_bounce.mcfunction +6 -0
  513. package/dist/data/mathdemo/function/ease_out_bounce__merge_1.mcfunction +4 -0
  514. package/dist/data/mathdemo/function/ease_out_bounce__merge_4.mcfunction +4 -0
  515. package/dist/data/mathdemo/function/ease_out_bounce__merge_7.mcfunction +15 -0
  516. package/dist/data/mathdemo/function/ease_out_bounce__then_0.mcfunction +11 -0
  517. package/dist/data/mathdemo/function/ease_out_bounce__then_3.mcfunction +15 -0
  518. package/dist/data/mathdemo/function/ease_out_bounce__then_6.mcfunction +15 -0
  519. package/dist/data/mathdemo/function/ease_out_cubic.mcfunction +16 -0
  520. package/dist/data/mathdemo/function/ease_out_cubic__const_5000.mcfunction +14 -0
  521. package/dist/data/mathdemo/function/ease_out_expo.mcfunction +5 -0
  522. package/dist/data/mathdemo/function/ease_out_expo__merge_1.mcfunction +8 -0
  523. package/dist/data/mathdemo/function/ease_out_expo__then_0.mcfunction +2 -0
  524. package/dist/data/mathdemo/function/ease_out_quad.mcfunction +11 -0
  525. package/dist/data/mathdemo/function/ease_out_quart.mcfunction +16 -0
  526. package/dist/data/mathdemo/function/ease_out_sine.mcfunction +9 -0
  527. package/dist/data/mathdemo/function/ease_smooth.mcfunction +23 -0
  528. package/dist/data/mathdemo/function/ease_smoother.mcfunction +41 -0
  529. package/dist/data/mathdemo/function/exp_fx.mcfunction +16 -0
  530. package/dist/data/mathdemo/function/exp_fx__loop_body_10.mcfunction +8 -0
  531. package/dist/data/mathdemo/function/exp_fx__loop_body_5.mcfunction +8 -0
  532. package/dist/data/mathdemo/function/exp_fx__loop_exit_11.mcfunction +1 -0
  533. package/dist/data/mathdemo/function/exp_fx__loop_exit_6.mcfunction +1 -0
  534. package/dist/data/mathdemo/function/exp_fx__loop_header_4.mcfunction +3 -0
  535. package/dist/data/mathdemo/function/exp_fx__loop_header_9.mcfunction +3 -0
  536. package/dist/data/mathdemo/function/exp_fx__merge_1.mcfunction +47 -0
  537. package/dist/data/mathdemo/function/exp_fx__merge_3.mcfunction +4 -0
  538. package/dist/data/mathdemo/function/exp_fx__merge_8.mcfunction +1 -0
  539. package/dist/data/mathdemo/function/exp_fx__then_0.mcfunction +7 -0
  540. package/dist/data/mathdemo/function/exp_fx__then_2.mcfunction +2 -0
  541. package/dist/data/mathdemo/function/exp_fx__then_7.mcfunction +5 -0
  542. package/dist/data/mathdemo/function/factorial.mcfunction +5 -0
  543. package/dist/data/mathdemo/function/factorial__loop_body_4.mcfunction +7 -0
  544. package/dist/data/mathdemo/function/factorial__loop_exit_5.mcfunction +1 -0
  545. package/dist/data/mathdemo/function/factorial__loop_header_3.mcfunction +3 -0
  546. package/dist/data/mathdemo/function/factorial__merge_1.mcfunction +3 -0
  547. package/dist/data/mathdemo/function/factorial__then_0.mcfunction +2 -0
  548. package/dist/data/mathdemo/function/fbm_1d.mcfunction +9 -0
  549. package/dist/data/mathdemo/function/fbm_1d__loop_body_1.mcfunction +33 -0
  550. package/dist/data/mathdemo/function/fbm_1d__loop_exit_2.mcfunction +4 -0
  551. package/dist/data/mathdemo/function/fbm_1d__loop_header_0.mcfunction +3 -0
  552. package/dist/data/mathdemo/function/fbm_1d__merge_4.mcfunction +6 -0
  553. package/dist/data/mathdemo/function/fbm_1d__then_3.mcfunction +2 -0
  554. package/dist/data/mathdemo/function/fbm_2d.mcfunction +10 -0
  555. package/dist/data/mathdemo/function/fbm_2d__loop_body_1.mcfunction +39 -0
  556. package/dist/data/mathdemo/function/fbm_2d__loop_exit_2.mcfunction +4 -0
  557. package/dist/data/mathdemo/function/fbm_2d__loop_header_0.mcfunction +3 -0
  558. package/dist/data/mathdemo/function/fbm_2d__merge_4.mcfunction +6 -0
  559. package/dist/data/mathdemo/function/fbm_2d__then_3.mcfunction +2 -0
  560. package/dist/data/mathdemo/function/friction_decel.mcfunction +5 -0
  561. package/dist/data/mathdemo/function/friction_decel__merge_1.mcfunction +5 -0
  562. package/dist/data/mathdemo/function/friction_decel__merge_4.mcfunction +2 -0
  563. package/dist/data/mathdemo/function/friction_decel__then_0.mcfunction +3 -0
  564. package/dist/data/mathdemo/function/friction_decel__then_3.mcfunction +3 -0
  565. package/dist/data/mathdemo/function/gamma_int.mcfunction +5 -0
  566. package/dist/data/mathdemo/function/gamma_int__merge_1.mcfunction +6 -0
  567. package/dist/data/mathdemo/function/gamma_int__then_0.mcfunction +2 -0
  568. package/dist/data/mathdemo/function/gcd.mcfunction +7 -0
  569. package/dist/data/mathdemo/function/gcd__loop_body_5.mcfunction +5 -0
  570. package/dist/data/mathdemo/function/gcd__loop_exit_6.mcfunction +1 -0
  571. package/dist/data/mathdemo/function/gcd__loop_header_4.mcfunction +4 -0
  572. package/dist/data/mathdemo/function/gcd__merge_1.mcfunction +5 -0
  573. package/dist/data/mathdemo/function/gcd__merge_3.mcfunction +1 -0
  574. package/dist/data/mathdemo/function/gcd__then_0.mcfunction +4 -0
  575. package/dist/data/mathdemo/function/gcd__then_2.mcfunction +4 -0
  576. package/dist/data/mathdemo/function/gravity_fx.mcfunction +2 -0
  577. package/dist/data/mathdemo/function/hash_1d.mcfunction +15 -0
  578. package/dist/data/mathdemo/function/hash_1d_pos.mcfunction +9 -0
  579. package/dist/data/mathdemo/function/hash_1d_pos__merge_1.mcfunction +4 -0
  580. package/dist/data/mathdemo/function/hash_1d_pos__then_0.mcfunction +4 -0
  581. package/dist/data/mathdemo/function/hash_2d.mcfunction +11 -0
  582. package/dist/data/mathdemo/function/hash_2d_pos.mcfunction +11 -0
  583. package/dist/data/mathdemo/function/hash_2d_pos__merge_1.mcfunction +4 -0
  584. package/dist/data/mathdemo/function/hash_2d_pos__then_0.mcfunction +4 -0
  585. package/dist/data/mathdemo/function/impact_velocity.mcfunction +5 -0
  586. package/dist/data/mathdemo/function/impact_velocity__merge_1.mcfunction +16 -0
  587. package/dist/data/mathdemo/function/impact_velocity__then_0.mcfunction +2 -0
  588. package/dist/data/mathdemo/function/is_grounded.mcfunction +5 -0
  589. package/dist/data/mathdemo/function/is_grounded__merge_1.mcfunction +2 -0
  590. package/dist/data/mathdemo/function/is_grounded__then_0.mcfunction +2 -0
  591. package/dist/data/mathdemo/function/isqrt.mcfunction +5 -0
  592. package/dist/data/mathdemo/function/isqrt__loop_body_10.mcfunction +8 -0
  593. package/dist/data/mathdemo/function/isqrt__loop_body_13.mcfunction +11 -0
  594. package/dist/data/mathdemo/function/isqrt__loop_body_7.mcfunction +8 -0
  595. package/dist/data/mathdemo/function/isqrt__loop_exit_11.mcfunction +2 -0
  596. package/dist/data/mathdemo/function/isqrt__loop_exit_14.mcfunction +1 -0
  597. package/dist/data/mathdemo/function/isqrt__loop_exit_8.mcfunction +9 -0
  598. package/dist/data/mathdemo/function/isqrt__loop_header_12.mcfunction +4 -0
  599. package/dist/data/mathdemo/function/isqrt__loop_header_6.mcfunction +4 -0
  600. package/dist/data/mathdemo/function/isqrt__loop_header_9.mcfunction +3 -0
  601. package/dist/data/mathdemo/function/isqrt__merge_1.mcfunction +4 -0
  602. package/dist/data/mathdemo/function/isqrt__merge_16.mcfunction +5 -0
  603. package/dist/data/mathdemo/function/isqrt__merge_4.mcfunction +3 -0
  604. package/dist/data/mathdemo/function/isqrt__then_0.mcfunction +2 -0
  605. package/dist/data/mathdemo/function/isqrt__then_15.mcfunction +1 -0
  606. package/dist/data/mathdemo/function/isqrt__then_3.mcfunction +2 -0
  607. package/dist/data/mathdemo/function/lcm.mcfunction +11 -0
  608. package/dist/data/mathdemo/function/lcm__merge_1.mcfunction +5 -0
  609. package/dist/data/mathdemo/function/lcm__then_0.mcfunction +2 -0
  610. package/dist/data/mathdemo/function/length2d_fixed.mcfunction +15 -0
  611. package/dist/data/mathdemo/function/length3d_fixed.mcfunction +20 -0
  612. package/dist/data/mathdemo/function/lerp.mcfunction +13 -0
  613. package/dist/data/mathdemo/function/lerp2d_x.mcfunction +13 -0
  614. package/dist/data/mathdemo/function/lerp2d_y.mcfunction +13 -0
  615. package/dist/data/mathdemo/function/ln.mcfunction +9 -0
  616. package/dist/data/mathdemo/function/ln__loop_body_1.mcfunction +8 -0
  617. package/dist/data/mathdemo/function/ln__loop_body_4.mcfunction +8 -0
  618. package/dist/data/mathdemo/function/ln__loop_exit_2.mcfunction +1 -0
  619. package/dist/data/mathdemo/function/ln__loop_exit_5.mcfunction +37 -0
  620. package/dist/data/mathdemo/function/ln__loop_header_0.mcfunction +3 -0
  621. package/dist/data/mathdemo/function/ln__loop_header_3.mcfunction +6 -0
  622. package/dist/data/mathdemo/function/load.mcfunction +1 -0
  623. package/dist/data/mathdemo/function/log10_fx.mcfunction +11 -0
  624. package/dist/data/mathdemo/function/log2_fx.mcfunction +11 -0
  625. package/dist/data/mathdemo/function/log2_int.mcfunction +5 -0
  626. package/dist/data/mathdemo/function/log2_int__loop_body_4.mcfunction +8 -0
  627. package/dist/data/mathdemo/function/log2_int__loop_exit_5.mcfunction +1 -0
  628. package/dist/data/mathdemo/function/log2_int__loop_header_3.mcfunction +4 -0
  629. package/dist/data/mathdemo/function/log2_int__merge_1.mcfunction +3 -0
  630. package/dist/data/mathdemo/function/log2_int__then_0.mcfunction +2 -0
  631. package/dist/data/mathdemo/function/loga_fx.mcfunction +10 -0
  632. package/dist/data/mathdemo/function/loga_fx__merge_1.mcfunction +9 -0
  633. package/dist/data/mathdemo/function/loga_fx__then_0.mcfunction +2 -0
  634. package/dist/data/mathdemo/function/manhattan.mcfunction +14 -0
  635. package/dist/data/mathdemo/function/manhattan3d.mcfunction +19 -0
  636. package/dist/data/mathdemo/function/manhattan3d__merge_1.mcfunction +4 -0
  637. package/dist/data/mathdemo/function/manhattan3d__merge_3.mcfunction +4 -0
  638. package/dist/data/mathdemo/function/manhattan3d__merge_5.mcfunction +5 -0
  639. package/dist/data/mathdemo/function/manhattan3d__then_0.mcfunction +4 -0
  640. package/dist/data/mathdemo/function/manhattan3d__then_2.mcfunction +4 -0
  641. package/dist/data/mathdemo/function/manhattan3d__then_4.mcfunction +4 -0
  642. package/dist/data/mathdemo/function/manhattan__merge_1.mcfunction +4 -0
  643. package/dist/data/mathdemo/function/manhattan__merge_3.mcfunction +3 -0
  644. package/dist/data/mathdemo/function/manhattan__then_0.mcfunction +4 -0
  645. package/dist/data/mathdemo/function/manhattan__then_2.mcfunction +4 -0
  646. package/dist/data/mathdemo/function/map.mcfunction +12 -0
  647. package/dist/data/mathdemo/function/map__merge_1.mcfunction +11 -0
  648. package/dist/data/mathdemo/function/map__then_0.mcfunction +1 -0
  649. package/dist/data/mathdemo/function/mulfix.mcfunction +8 -0
  650. package/dist/data/mathdemo/function/neg2d_x.mcfunction +4 -0
  651. package/dist/data/mathdemo/function/neg2d_y.mcfunction +4 -0
  652. package/dist/data/mathdemo/function/neg3d_x.mcfunction +4 -0
  653. package/dist/data/mathdemo/function/neg3d_y.mcfunction +4 -0
  654. package/dist/data/mathdemo/function/neg3d_z.mcfunction +4 -0
  655. package/dist/data/mathdemo/function/normalize2d_x.mcfunction +11 -0
  656. package/dist/data/mathdemo/function/normalize2d_x__merge_1.mcfunction +6 -0
  657. package/dist/data/mathdemo/function/normalize2d_x__then_0.mcfunction +2 -0
  658. package/dist/data/mathdemo/function/normalize2d_y.mcfunction +11 -0
  659. package/dist/data/mathdemo/function/normalize2d_y__merge_1.mcfunction +6 -0
  660. package/dist/data/mathdemo/function/normalize2d_y__then_0.mcfunction +2 -0
  661. package/dist/data/mathdemo/function/pow_int.mcfunction +6 -0
  662. package/dist/data/mathdemo/function/pow_int__loop_body_4.mcfunction +7 -0
  663. package/dist/data/mathdemo/function/pow_int__loop_exit_5.mcfunction +1 -0
  664. package/dist/data/mathdemo/function/pow_int__loop_header_3.mcfunction +4 -0
  665. package/dist/data/mathdemo/function/pow_int__merge_1.mcfunction +4 -0
  666. package/dist/data/mathdemo/function/pow_int__merge_7.mcfunction +8 -0
  667. package/dist/data/mathdemo/function/pow_int__then_0.mcfunction +2 -0
  668. package/dist/data/mathdemo/function/pow_int__then_6.mcfunction +4 -0
  669. package/dist/data/mathdemo/function/projectile_land_t.mcfunction +5 -0
  670. package/dist/data/mathdemo/function/projectile_land_t__merge_1.mcfunction +7 -0
  671. package/dist/data/mathdemo/function/projectile_land_t__then_0.mcfunction +2 -0
  672. package/dist/data/mathdemo/function/projectile_max_height.mcfunction +10 -0
  673. package/dist/data/mathdemo/function/projectile_max_height__const_200.mcfunction +8 -0
  674. package/dist/data/mathdemo/function/projectile_vy.mcfunction +9 -0
  675. package/dist/data/mathdemo/function/projectile_x.mcfunction +8 -0
  676. package/dist/data/mathdemo/function/projectile_y.mcfunction +19 -0
  677. package/dist/data/mathdemo/function/quadratic_disc.mcfunction +12 -0
  678. package/dist/data/mathdemo/function/quadratic_x1.mcfunction +7 -0
  679. package/dist/data/mathdemo/function/quadratic_x1__merge_1.mcfunction +13 -0
  680. package/dist/data/mathdemo/function/quadratic_x1__merge_4.mcfunction +15 -0
  681. package/dist/data/mathdemo/function/quadratic_x1__then_0.mcfunction +2 -0
  682. package/dist/data/mathdemo/function/quadratic_x1__then_3.mcfunction +2 -0
  683. package/dist/data/mathdemo/function/quadratic_x2.mcfunction +7 -0
  684. package/dist/data/mathdemo/function/quadratic_x2__merge_1.mcfunction +13 -0
  685. package/dist/data/mathdemo/function/quadratic_x2__merge_4.mcfunction +15 -0
  686. package/dist/data/mathdemo/function/quadratic_x2__then_0.mcfunction +2 -0
  687. package/dist/data/mathdemo/function/quadratic_x2__then_3.mcfunction +2 -0
  688. package/dist/data/mathdemo/function/rotate2d_x.mcfunction +20 -0
  689. package/dist/data/mathdemo/function/rotate2d_y.mcfunction +20 -0
  690. package/dist/data/mathdemo/function/scale2d_x.mcfunction +8 -0
  691. package/dist/data/mathdemo/function/scale2d_y.mcfunction +8 -0
  692. package/dist/data/mathdemo/function/scale3d_x.mcfunction +8 -0
  693. package/dist/data/mathdemo/function/scale3d_y.mcfunction +8 -0
  694. package/dist/data/mathdemo/function/scale3d_z.mcfunction +8 -0
  695. package/dist/data/mathdemo/function/sign.mcfunction +5 -0
  696. package/dist/data/mathdemo/function/sign__merge_1.mcfunction +4 -0
  697. package/dist/data/mathdemo/function/sign__merge_4.mcfunction +2 -0
  698. package/dist/data/mathdemo/function/sign__then_0.mcfunction +2 -0
  699. package/dist/data/mathdemo/function/sign__then_3.mcfunction +2 -0
  700. package/dist/data/mathdemo/function/sin_fixed.mcfunction +9 -0
  701. package/dist/data/mathdemo/function/sin_fixed__merge_1.mcfunction +4 -0
  702. package/dist/data/mathdemo/function/sin_fixed__merge_3.mcfunction +4 -0
  703. package/dist/data/mathdemo/function/sin_fixed__merge_6.mcfunction +4 -0
  704. package/dist/data/mathdemo/function/sin_fixed__merge_9.mcfunction +10 -0
  705. package/dist/data/mathdemo/function/sin_fixed__then_0.mcfunction +4 -0
  706. package/dist/data/mathdemo/function/sin_fixed__then_2.mcfunction +6 -0
  707. package/dist/data/mathdemo/function/sin_fixed__then_5.mcfunction +8 -0
  708. package/dist/data/mathdemo/function/sin_fixed__then_8.mcfunction +10 -0
  709. package/dist/data/mathdemo/function/smootherstep.mcfunction +10 -0
  710. package/dist/data/mathdemo/function/smootherstep__merge_1.mcfunction +12 -0
  711. package/dist/data/mathdemo/function/smootherstep__merge_4.mcfunction +4 -0
  712. package/dist/data/mathdemo/function/smootherstep__merge_6.mcfunction +27 -0
  713. package/dist/data/mathdemo/function/smootherstep__then_0.mcfunction +2 -0
  714. package/dist/data/mathdemo/function/smootherstep__then_3.mcfunction +2 -0
  715. package/dist/data/mathdemo/function/smootherstep__then_5.mcfunction +2 -0
  716. package/dist/data/mathdemo/function/smoothstep.mcfunction +10 -0
  717. package/dist/data/mathdemo/function/smoothstep__merge_1.mcfunction +12 -0
  718. package/dist/data/mathdemo/function/smoothstep__merge_4.mcfunction +4 -0
  719. package/dist/data/mathdemo/function/smoothstep__merge_6.mcfunction +15 -0
  720. package/dist/data/mathdemo/function/smoothstep__then_0.mcfunction +2 -0
  721. package/dist/data/mathdemo/function/smoothstep__then_3.mcfunction +2 -0
  722. package/dist/data/mathdemo/function/smoothstep__then_5.mcfunction +2 -0
  723. package/dist/data/mathdemo/function/solve2x2_x.mcfunction +17 -0
  724. package/dist/data/mathdemo/function/solve2x2_x__merge_1.mcfunction +12 -0
  725. package/dist/data/mathdemo/function/solve2x2_x__then_0.mcfunction +2 -0
  726. package/dist/data/mathdemo/function/solve2x2_y.mcfunction +17 -0
  727. package/dist/data/mathdemo/function/solve2x2_y__merge_1.mcfunction +12 -0
  728. package/dist/data/mathdemo/function/solve2x2_y__then_0.mcfunction +2 -0
  729. package/dist/data/mathdemo/function/spring_force.mcfunction +11 -0
  730. package/dist/data/mathdemo/function/spring_update_v.mcfunction +18 -0
  731. package/dist/data/mathdemo/function/sqrt_fixed.mcfunction +8 -0
  732. package/dist/data/mathdemo/function/sqrt_fx.mcfunction +11 -0
  733. package/dist/data/mathdemo/function/sqrt_fx__const_20000.mcfunction +8 -0
  734. package/dist/data/mathdemo/function/start.mcfunction +6 -0
  735. package/dist/data/mathdemo/function/sub2d_x.mcfunction +5 -0
  736. package/dist/data/mathdemo/function/sub2d_y.mcfunction +5 -0
  737. package/dist/data/mathdemo/function/sub3d_x.mcfunction +5 -0
  738. package/dist/data/mathdemo/function/sub3d_y.mcfunction +5 -0
  739. package/dist/data/mathdemo/function/sub3d_z.mcfunction +5 -0
  740. package/dist/data/mathdemo/function/terrain_height.mcfunction +24 -0
  741. package/dist/data/mathdemo/function/terrain_height__const_0_0_64_20.mcfunction +17 -0
  742. package/dist/data/mathdemo/function/terrain_height__const_10_5_64_20.mcfunction +17 -0
  743. package/dist/data/mathdemo/function/update_pos.mcfunction +5 -0
  744. package/dist/data/mathdemo/function/value_noise_1d.mcfunction +13 -0
  745. package/dist/data/mathdemo/function/value_noise_1d__merge_1.mcfunction +39 -0
  746. package/dist/data/mathdemo/function/value_noise_1d__then_0.mcfunction +7 -0
  747. package/dist/data/mathdemo/function/value_noise_2d.mcfunction +14 -0
  748. package/dist/data/mathdemo/function/value_noise_2d__merge_1.mcfunction +12 -0
  749. package/dist/data/mathdemo/function/value_noise_2d__merge_3.mcfunction +98 -0
  750. package/dist/data/mathdemo/function/value_noise_2d__then_0.mcfunction +7 -0
  751. package/dist/data/mathdemo/function/value_noise_2d__then_2.mcfunction +7 -0
  752. package/dist/data/mathdemo/function/water_drag_fx.mcfunction +2 -0
  753. package/dist/data/mathtest/function/__load.mcfunction +3 -0
  754. package/dist/data/mathtest/function/abs/merge_2.mcfunction +3 -0
  755. package/dist/data/mathtest/function/abs/then_0.mcfunction +5 -0
  756. package/dist/data/mathtest/function/abs.mcfunction +6 -0
  757. package/dist/data/mathtest/function/test.mcfunction +5 -0
  758. package/dist/data/minecraft/tags/function/load.json +5 -0
  759. package/dist/data/minecraft/tags/function/tick.json +5 -0
  760. package/dist/data/mypack/function/__load.mcfunction +13 -0
  761. package/dist/data/mypack/function/_atan_init.mcfunction +2 -0
  762. package/dist/data/mypack/function/abs/merge_2.mcfunction +3 -0
  763. package/dist/data/mypack/function/abs/then_0.mcfunction +5 -0
  764. package/dist/data/mypack/function/abs.mcfunction +6 -0
  765. package/dist/data/mypack/function/atan2_fixed/__sgi_1.mcfunction +2 -0
  766. package/dist/data/mypack/function/atan2_fixed/else_34.mcfunction +3 -0
  767. package/dist/data/mypack/function/atan2_fixed/loop_body_31.mcfunction +19 -0
  768. package/dist/data/mypack/function/atan2_fixed/loop_check_30.mcfunction +5 -0
  769. package/dist/data/mypack/function/atan2_fixed/loop_exit_32.mcfunction +6 -0
  770. package/dist/data/mypack/function/atan2_fixed/merge_11.mcfunction +6 -0
  771. package/dist/data/mypack/function/atan2_fixed/merge_14.mcfunction +3 -0
  772. package/dist/data/mypack/function/atan2_fixed/merge_17.mcfunction +6 -0
  773. package/dist/data/mypack/function/atan2_fixed/merge_2.mcfunction +5 -0
  774. package/dist/data/mypack/function/atan2_fixed/merge_20.mcfunction +5 -0
  775. package/dist/data/mypack/function/atan2_fixed/merge_23.mcfunction +5 -0
  776. package/dist/data/mypack/function/atan2_fixed/merge_26.mcfunction +6 -0
  777. package/dist/data/mypack/function/atan2_fixed/merge_29.mcfunction +4 -0
  778. package/dist/data/mypack/function/atan2_fixed/merge_38.mcfunction +5 -0
  779. package/dist/data/mypack/function/atan2_fixed/merge_41.mcfunction +5 -0
  780. package/dist/data/mypack/function/atan2_fixed/merge_44.mcfunction +5 -0
  781. package/dist/data/mypack/function/atan2_fixed/merge_47.mcfunction +5 -0
  782. package/dist/data/mypack/function/atan2_fixed/merge_5.mcfunction +5 -0
  783. package/dist/data/mypack/function/atan2_fixed/merge_8.mcfunction +3 -0
  784. package/dist/data/mypack/function/atan2_fixed/then_0.mcfunction +5 -0
  785. package/dist/data/mypack/function/atan2_fixed/then_12.mcfunction +3 -0
  786. package/dist/data/mypack/function/atan2_fixed/then_15.mcfunction +5 -0
  787. package/dist/data/mypack/function/atan2_fixed/then_18.mcfunction +5 -0
  788. package/dist/data/mypack/function/atan2_fixed/then_21.mcfunction +3 -0
  789. package/dist/data/mypack/function/atan2_fixed/then_24.mcfunction +3 -0
  790. package/dist/data/mypack/function/atan2_fixed/then_27.mcfunction +6 -0
  791. package/dist/data/mypack/function/atan2_fixed/then_3.mcfunction +3 -0
  792. package/dist/data/mypack/function/atan2_fixed/then_33.mcfunction +5 -0
  793. package/dist/data/mypack/function/atan2_fixed/then_36.mcfunction +5 -0
  794. package/dist/data/mypack/function/atan2_fixed/then_39.mcfunction +5 -0
  795. package/dist/data/mypack/function/atan2_fixed/then_42.mcfunction +3 -0
  796. package/dist/data/mypack/function/atan2_fixed/then_45.mcfunction +5 -0
  797. package/dist/data/mypack/function/atan2_fixed/then_6.mcfunction +3 -0
  798. package/dist/data/mypack/function/atan2_fixed/then_9.mcfunction +5 -0
  799. package/dist/data/mypack/function/atan2_fixed.mcfunction +7 -0
  800. package/dist/data/mypack/function/my_game.mcfunction +10 -0
  801. package/dist/data/parkour_race/function/angry_at.mcfunction +1 -0
  802. package/dist/data/parkour_race/function/barrier_wall.mcfunction +1 -0
  803. package/dist/data/parkour_race/function/buff_all.mcfunction +22 -0
  804. package/dist/data/parkour_race/function/check_checkpoints.mcfunction +11 -0
  805. package/dist/data/parkour_race/function/check_checkpoints__exec_t11.mcfunction +4 -0
  806. package/dist/data/parkour_race/function/check_checkpoints__exec_t13.mcfunction +3 -0
  807. package/dist/data/parkour_race/function/check_checkpoints__exec_t5.mcfunction +4 -0
  808. package/dist/data/parkour_race/function/check_checkpoints__exec_t7.mcfunction +4 -0
  809. package/dist/data/parkour_race/function/check_checkpoints__exec_t9.mcfunction +4 -0
  810. package/dist/data/parkour_race/function/check_checkpoints__merge_1.mcfunction +5 -0
  811. package/dist/data/parkour_race/function/check_checkpoints__merge_3.mcfunction +5 -0
  812. package/dist/data/parkour_race/function/check_checkpoints__merge_5.mcfunction +5 -0
  813. package/dist/data/parkour_race/function/check_checkpoints__merge_7.mcfunction +5 -0
  814. package/dist/data/parkour_race/function/check_checkpoints__merge_9.mcfunction +1 -0
  815. package/dist/data/parkour_race/function/check_checkpoints__then_0.mcfunction +2 -0
  816. package/dist/data/parkour_race/function/check_checkpoints__then_2.mcfunction +2 -0
  817. package/dist/data/parkour_race/function/check_checkpoints__then_4.mcfunction +2 -0
  818. package/dist/data/parkour_race/function/check_checkpoints__then_6.mcfunction +2 -0
  819. package/dist/data/parkour_race/function/check_checkpoints__then_8.mcfunction +2 -0
  820. package/dist/data/parkour_race/function/check_fall.mcfunction +1 -0
  821. package/dist/data/parkour_race/function/check_fall__exec_t1.mcfunction +10 -0
  822. package/dist/data/parkour_race/function/clear_area.mcfunction +1 -0
  823. package/dist/data/parkour_race/function/clear_effect.mcfunction +1 -0
  824. package/dist/data/parkour_race/function/clear_effects.mcfunction +1 -0
  825. package/dist/data/parkour_race/function/create_health_bar.mcfunction +24 -0
  826. package/dist/data/parkour_race/function/create_progress_bar.mcfunction +24 -0
  827. package/dist/data/parkour_race/function/create_timer_bar.mcfunction +30 -0
  828. package/dist/data/parkour_race/function/disable_fire_spread.mcfunction +1 -0
  829. package/dist/data/parkour_race/function/disable_keep_inventory.mcfunction +1 -0
  830. package/dist/data/parkour_race/function/disable_mob_griefing.mcfunction +1 -0
  831. package/dist/data/parkour_race/function/enable_keep_inventory.mcfunction +1 -0
  832. package/dist/data/parkour_race/function/end_sparkles_at.mcfunction +1 -0
  833. package/dist/data/parkour_race/function/explosion_effect.mcfunction +1 -0
  834. package/dist/data/parkour_race/function/finish_race.mcfunction +20 -0
  835. package/dist/data/parkour_race/function/finish_race__else_2.mcfunction +4 -0
  836. package/dist/data/parkour_race/function/finish_race__else_5.mcfunction +3 -0
  837. package/dist/data/parkour_race/function/finish_race__merge_1.mcfunction +3 -0
  838. package/dist/data/parkour_race/function/finish_race__merge_4.mcfunction +1 -0
  839. package/dist/data/parkour_race/function/finish_race__then_0.mcfunction +8 -0
  840. package/dist/data/parkour_race/function/finish_race__then_3.mcfunction +10 -0
  841. package/dist/data/parkour_race/function/flames.mcfunction +1 -0
  842. package/dist/data/parkour_race/function/glass_box.mcfunction +2 -0
  843. package/dist/data/parkour_race/function/glow.mcfunction +1 -0
  844. package/dist/data/parkour_race/function/happy_at.mcfunction +1 -0
  845. package/dist/data/parkour_race/function/hearts_at.mcfunction +1 -0
  846. package/dist/data/parkour_race/function/hide_bar.mcfunction +4 -0
  847. package/dist/data/parkour_race/function/init.mcfunction +18 -0
  848. package/dist/data/parkour_race/function/invisible.mcfunction +1 -0
  849. package/dist/data/parkour_race/function/jump.mcfunction +1 -0
  850. package/dist/data/parkour_race/function/load.mcfunction +1 -0
  851. package/dist/data/parkour_race/function/night_vision.mcfunction +1 -0
  852. package/dist/data/parkour_race/function/portal_effect.mcfunction +1 -0
  853. package/dist/data/parkour_race/function/quit_race.mcfunction +10 -0
  854. package/dist/data/parkour_race/function/quit_race__merge_1.mcfunction +1 -0
  855. package/dist/data/parkour_race/function/quit_race__then_0.mcfunction +11 -0
  856. package/dist/data/parkour_race/function/race_tick.mcfunction +1 -0
  857. package/dist/data/parkour_race/function/race_tick__foreach_t0.mcfunction +10 -0
  858. package/dist/data/parkour_race/function/race_tick__foreach_t0__merge_1.mcfunction +1 -0
  859. package/dist/data/parkour_race/function/race_tick__foreach_t0__then_0.mcfunction +13 -0
  860. package/dist/data/parkour_race/function/reach_checkpoint.mcfunction +11 -0
  861. package/dist/data/parkour_race/function/regen.mcfunction +1 -0
  862. package/dist/data/parkour_race/function/remove_bar.mcfunction +3 -0
  863. package/dist/data/parkour_race/function/resistance.mcfunction +1 -0
  864. package/dist/data/parkour_race/function/respawn_at_checkpoint.mcfunction +7 -0
  865. package/dist/data/parkour_race/function/respawn_at_checkpoint__merge_1.mcfunction +5 -0
  866. package/dist/data/parkour_race/function/respawn_at_checkpoint__merge_3.mcfunction +5 -0
  867. package/dist/data/parkour_race/function/respawn_at_checkpoint__merge_5.mcfunction +5 -0
  868. package/dist/data/parkour_race/function/respawn_at_checkpoint__merge_7.mcfunction +5 -0
  869. package/dist/data/parkour_race/function/respawn_at_checkpoint__merge_9.mcfunction +1 -0
  870. package/dist/data/parkour_race/function/respawn_at_checkpoint__then_0.mcfunction +6 -0
  871. package/dist/data/parkour_race/function/respawn_at_checkpoint__then_2.mcfunction +6 -0
  872. package/dist/data/parkour_race/function/respawn_at_checkpoint__then_4.mcfunction +6 -0
  873. package/dist/data/parkour_race/function/respawn_at_checkpoint__then_6.mcfunction +6 -0
  874. package/dist/data/parkour_race/function/respawn_at_checkpoint__then_8.mcfunction +6 -0
  875. package/dist/data/parkour_race/function/set_day.mcfunction +1 -0
  876. package/dist/data/parkour_race/function/set_easy.mcfunction +1 -0
  877. package/dist/data/parkour_race/function/set_hard.mcfunction +1 -0
  878. package/dist/data/parkour_race/function/set_midnight.mcfunction +1 -0
  879. package/dist/data/parkour_race/function/set_night.mcfunction +1 -0
  880. package/dist/data/parkour_race/function/set_noon.mcfunction +1 -0
  881. package/dist/data/parkour_race/function/set_normal.mcfunction +1 -0
  882. package/dist/data/parkour_race/function/set_peaceful.mcfunction +1 -0
  883. package/dist/data/parkour_race/function/show_bar.mcfunction +4 -0
  884. package/dist/data/parkour_race/function/show_leaderboard.mcfunction +4 -0
  885. package/dist/data/parkour_race/function/slow_fall.mcfunction +1 -0
  886. package/dist/data/parkour_race/function/smoke.mcfunction +1 -0
  887. package/dist/data/parkour_race/function/sparkles_at.mcfunction +1 -0
  888. package/dist/data/parkour_race/function/speed.mcfunction +1 -0
  889. package/dist/data/parkour_race/function/start_race.mcfunction +10 -0
  890. package/dist/data/parkour_race/function/start_race__merge_1.mcfunction +23 -0
  891. package/dist/data/parkour_race/function/start_race__then_0.mcfunction +1 -0
  892. package/dist/data/parkour_race/function/strength.mcfunction +1 -0
  893. package/dist/data/parkour_race/function/totem_at.mcfunction +1 -0
  894. package/dist/data/parkour_race/function/update_bar.mcfunction +5 -0
  895. package/dist/data/parkour_race/function/update_bar_color.mcfunction +7 -0
  896. package/dist/data/parkour_race/function/update_bar_color__else_2.mcfunction +5 -0
  897. package/dist/data/parkour_race/function/update_bar_color__else_5.mcfunction +4 -0
  898. package/dist/data/parkour_race/function/update_bar_color__merge_1.mcfunction +1 -0
  899. package/dist/data/parkour_race/function/update_bar_color__merge_4.mcfunction +1 -0
  900. package/dist/data/parkour_race/function/update_bar_color__then_0.mcfunction +4 -0
  901. package/dist/data/parkour_race/function/update_bar_color__then_3.mcfunction +4 -0
  902. package/dist/data/parkour_race/function/weather_clear.mcfunction +1 -0
  903. package/dist/data/parkour_race/function/weather_rain.mcfunction +1 -0
  904. package/dist/data/parkour_race/function/weather_thunder.mcfunction +1 -0
  905. package/dist/data/quiz/function/__load.mcfunction +16 -0
  906. package/dist/data/quiz/function/__tick.mcfunction +6 -0
  907. package/dist/data/quiz/function/__trigger_quiz_a_dispatch.mcfunction +4 -0
  908. package/dist/data/quiz/function/__trigger_quiz_b_dispatch.mcfunction +4 -0
  909. package/dist/data/quiz/function/__trigger_quiz_c_dispatch.mcfunction +4 -0
  910. package/dist/data/quiz/function/__trigger_quiz_start_dispatch.mcfunction +4 -0
  911. package/dist/data/quiz/function/answer_a.mcfunction +4 -0
  912. package/dist/data/quiz/function/answer_b.mcfunction +4 -0
  913. package/dist/data/quiz/function/answer_c.mcfunction +4 -0
  914. package/dist/data/quiz/function/ask_question/else_1.mcfunction +5 -0
  915. package/dist/data/quiz/function/ask_question/else_4.mcfunction +5 -0
  916. package/dist/data/quiz/function/ask_question/else_7.mcfunction +4 -0
  917. package/dist/data/quiz/function/ask_question/merge_2.mcfunction +1 -0
  918. package/dist/data/quiz/function/ask_question/merge_5.mcfunction +2 -0
  919. package/dist/data/quiz/function/ask_question/merge_8.mcfunction +2 -0
  920. package/dist/data/quiz/function/ask_question/then_0.mcfunction +4 -0
  921. package/dist/data/quiz/function/ask_question/then_3.mcfunction +4 -0
  922. package/dist/data/quiz/function/ask_question/then_6.mcfunction +4 -0
  923. package/dist/data/quiz/function/ask_question.mcfunction +7 -0
  924. package/dist/data/quiz/function/finish_quiz.mcfunction +6 -0
  925. package/dist/data/quiz/function/handle_answer/else_1.mcfunction +5 -0
  926. package/dist/data/quiz/function/handle_answer/else_10.mcfunction +3 -0
  927. package/dist/data/quiz/function/handle_answer/else_16.mcfunction +3 -0
  928. package/dist/data/quiz/function/handle_answer/else_4.mcfunction +3 -0
  929. package/dist/data/quiz/function/handle_answer/else_7.mcfunction +5 -0
  930. package/dist/data/quiz/function/handle_answer/merge_11.mcfunction +2 -0
  931. package/dist/data/quiz/function/handle_answer/merge_14.mcfunction +2 -0
  932. package/dist/data/quiz/function/handle_answer/merge_17.mcfunction +2 -0
  933. package/dist/data/quiz/function/handle_answer/merge_2.mcfunction +8 -0
  934. package/dist/data/quiz/function/handle_answer/merge_5.mcfunction +2 -0
  935. package/dist/data/quiz/function/handle_answer/merge_8.mcfunction +2 -0
  936. package/dist/data/quiz/function/handle_answer/then_0.mcfunction +5 -0
  937. package/dist/data/quiz/function/handle_answer/then_12.mcfunction +5 -0
  938. package/dist/data/quiz/function/handle_answer/then_15.mcfunction +6 -0
  939. package/dist/data/quiz/function/handle_answer/then_3.mcfunction +6 -0
  940. package/dist/data/quiz/function/handle_answer/then_6.mcfunction +5 -0
  941. package/dist/data/quiz/function/handle_answer/then_9.mcfunction +6 -0
  942. package/dist/data/quiz/function/handle_answer.mcfunction +11 -0
  943. package/dist/data/quiz/function/start_quiz.mcfunction +5 -0
  944. package/dist/data/rawtest/function/load.mcfunction +1 -0
  945. package/dist/data/rawtest/function/test.mcfunction +2 -0
  946. package/dist/data/readme_demo/function/_draw.mcfunction +1 -0
  947. package/dist/data/readme_demo/function/_init.mcfunction +1 -0
  948. package/dist/data/readme_demo/function/_math_init.mcfunction +4 -0
  949. package/dist/data/readme_demo/function/_wave_tick.mcfunction +1 -0
  950. package/dist/data/readme_demo/function/_wave_tick__foreach_t8.mcfunction +109 -0
  951. package/dist/data/readme_demo/function/acos_approx.mcfunction +7 -0
  952. package/dist/data/readme_demo/function/approx_eq.mcfunction +10 -0
  953. package/dist/data/readme_demo/function/approx_eq__merge_1.mcfunction +3 -0
  954. package/dist/data/readme_demo/function/approx_eq__merge_3.mcfunction +2 -0
  955. package/dist/data/readme_demo/function/approx_eq__then_0.mcfunction +4 -0
  956. package/dist/data/readme_demo/function/approx_eq__then_2.mcfunction +2 -0
  957. package/dist/data/readme_demo/function/asin_approx.mcfunction +5 -0
  958. package/dist/data/readme_demo/function/asin_approx__merge_1.mcfunction +3 -0
  959. package/dist/data/readme_demo/function/asin_approx__merge_10.mcfunction +5 -0
  960. package/dist/data/readme_demo/function/asin_approx__merge_4.mcfunction +12 -0
  961. package/dist/data/readme_demo/function/asin_approx__merge_7.mcfunction +14 -0
  962. package/dist/data/readme_demo/function/asin_approx__then_0.mcfunction +2 -0
  963. package/dist/data/readme_demo/function/asin_approx__then_3.mcfunction +2 -0
  964. package/dist/data/readme_demo/function/asin_approx__then_6.mcfunction +2 -0
  965. package/dist/data/readme_demo/function/asin_approx__then_9.mcfunction +2 -0
  966. package/dist/data/readme_demo/function/cbrt_fx.mcfunction +5 -0
  967. package/dist/data/readme_demo/function/cbrt_fx__loop_body_6.mcfunction +7 -0
  968. package/dist/data/readme_demo/function/cbrt_fx__loop_exit_7.mcfunction +1 -0
  969. package/dist/data/readme_demo/function/cbrt_fx__loop_header_5.mcfunction +4 -0
  970. package/dist/data/readme_demo/function/cbrt_fx__merge_1.mcfunction +8 -0
  971. package/dist/data/readme_demo/function/cbrt_fx__merge_11.mcfunction +5 -0
  972. package/dist/data/readme_demo/function/cbrt_fx__merge_13.mcfunction +4 -0
  973. package/dist/data/readme_demo/function/cbrt_fx__merge_4.mcfunction +2 -0
  974. package/dist/data/readme_demo/function/cbrt_fx__merge_9.mcfunction +13 -0
  975. package/dist/data/readme_demo/function/cbrt_fx__then_0.mcfunction +2 -0
  976. package/dist/data/readme_demo/function/cbrt_fx__then_10.mcfunction +2 -0
  977. package/dist/data/readme_demo/function/cbrt_fx__then_12.mcfunction +2 -0
  978. package/dist/data/readme_demo/function/cbrt_fx__then_3.mcfunction +2 -0
  979. package/dist/data/readme_demo/function/cbrt_fx__then_8.mcfunction +2 -0
  980. package/dist/data/readme_demo/function/cbrt_newton.mcfunction +5 -0
  981. package/dist/data/readme_demo/function/cbrt_newton__else_7.mcfunction +2 -0
  982. package/dist/data/readme_demo/function/cbrt_newton__merge_1.mcfunction +11 -0
  983. package/dist/data/readme_demo/function/cbrt_newton__merge_4.mcfunction +1 -0
  984. package/dist/data/readme_demo/function/cbrt_newton__merge_6.mcfunction +1 -0
  985. package/dist/data/readme_demo/function/cbrt_newton__then_0.mcfunction +2 -0
  986. package/dist/data/readme_demo/function/cbrt_newton__then_3.mcfunction +17 -0
  987. package/dist/data/readme_demo/function/cbrt_newton__then_5.mcfunction +11 -0
  988. package/dist/data/readme_demo/function/ceil_div.mcfunction +9 -0
  989. package/dist/data/readme_demo/function/combinations.mcfunction +6 -0
  990. package/dist/data/readme_demo/function/combinations__loop_body_9.mcfunction +15 -0
  991. package/dist/data/readme_demo/function/combinations__loop_exit_10.mcfunction +1 -0
  992. package/dist/data/readme_demo/function/combinations__loop_header_8.mcfunction +3 -0
  993. package/dist/data/readme_demo/function/combinations__merge_1.mcfunction +3 -0
  994. package/dist/data/readme_demo/function/combinations__merge_4.mcfunction +6 -0
  995. package/dist/data/readme_demo/function/combinations__merge_7.mcfunction +3 -0
  996. package/dist/data/readme_demo/function/combinations__then_0.mcfunction +2 -0
  997. package/dist/data/readme_demo/function/combinations__then_3.mcfunction +2 -0
  998. package/dist/data/readme_demo/function/combinations__then_6.mcfunction +4 -0
  999. package/dist/data/readme_demo/function/cos_fixed.mcfunction +7 -0
  1000. package/dist/data/readme_demo/function/cubic_disc_fx.mcfunction +26 -0
  1001. package/dist/data/readme_demo/function/cubic_newton.mcfunction +8 -0
  1002. package/dist/data/readme_demo/function/cubic_newton__loop_body_1.mcfunction +55 -0
  1003. package/dist/data/readme_demo/function/cubic_newton__loop_exit_2.mcfunction +1 -0
  1004. package/dist/data/readme_demo/function/cubic_newton__loop_header_0.mcfunction +4 -0
  1005. package/dist/data/readme_demo/function/cubic_newton__merge_10.mcfunction +1 -0
  1006. package/dist/data/readme_demo/function/cubic_newton__merge_4.mcfunction +4 -0
  1007. package/dist/data/readme_demo/function/cubic_newton__merge_6.mcfunction +4 -0
  1008. package/dist/data/readme_demo/function/cubic_newton__merge_8.mcfunction +4 -0
  1009. package/dist/data/readme_demo/function/cubic_newton__then_3.mcfunction +2 -0
  1010. package/dist/data/readme_demo/function/cubic_newton__then_5.mcfunction +13 -0
  1011. package/dist/data/readme_demo/function/cubic_newton__then_7.mcfunction +4 -0
  1012. package/dist/data/readme_demo/function/cubic_newton__then_9.mcfunction +2 -0
  1013. package/dist/data/readme_demo/function/divfix.mcfunction +6 -0
  1014. package/dist/data/readme_demo/function/divfix__merge_1.mcfunction +6 -0
  1015. package/dist/data/readme_demo/function/divfix__then_0.mcfunction +2 -0
  1016. package/dist/data/readme_demo/function/exp_fx.mcfunction +16 -0
  1017. package/dist/data/readme_demo/function/exp_fx__loop_body_10.mcfunction +8 -0
  1018. package/dist/data/readme_demo/function/exp_fx__loop_body_5.mcfunction +8 -0
  1019. package/dist/data/readme_demo/function/exp_fx__loop_exit_11.mcfunction +1 -0
  1020. package/dist/data/readme_demo/function/exp_fx__loop_exit_6.mcfunction +1 -0
  1021. package/dist/data/readme_demo/function/exp_fx__loop_header_4.mcfunction +3 -0
  1022. package/dist/data/readme_demo/function/exp_fx__loop_header_9.mcfunction +3 -0
  1023. package/dist/data/readme_demo/function/exp_fx__merge_1.mcfunction +47 -0
  1024. package/dist/data/readme_demo/function/exp_fx__merge_3.mcfunction +4 -0
  1025. package/dist/data/readme_demo/function/exp_fx__merge_8.mcfunction +1 -0
  1026. package/dist/data/readme_demo/function/exp_fx__then_0.mcfunction +7 -0
  1027. package/dist/data/readme_demo/function/exp_fx__then_2.mcfunction +2 -0
  1028. package/dist/data/readme_demo/function/exp_fx__then_7.mcfunction +5 -0
  1029. package/dist/data/readme_demo/function/factorial.mcfunction +5 -0
  1030. package/dist/data/readme_demo/function/factorial__loop_body_4.mcfunction +7 -0
  1031. package/dist/data/readme_demo/function/factorial__loop_exit_5.mcfunction +1 -0
  1032. package/dist/data/readme_demo/function/factorial__loop_header_3.mcfunction +3 -0
  1033. package/dist/data/readme_demo/function/factorial__merge_1.mcfunction +3 -0
  1034. package/dist/data/readme_demo/function/factorial__then_0.mcfunction +2 -0
  1035. package/dist/data/readme_demo/function/gamma_int.mcfunction +5 -0
  1036. package/dist/data/readme_demo/function/gamma_int__merge_1.mcfunction +6 -0
  1037. package/dist/data/readme_demo/function/gamma_int__then_0.mcfunction +2 -0
  1038. package/dist/data/readme_demo/function/gcd.mcfunction +7 -0
  1039. package/dist/data/readme_demo/function/gcd__loop_body_5.mcfunction +5 -0
  1040. package/dist/data/readme_demo/function/gcd__loop_exit_6.mcfunction +1 -0
  1041. package/dist/data/readme_demo/function/gcd__loop_header_4.mcfunction +4 -0
  1042. package/dist/data/readme_demo/function/gcd__merge_1.mcfunction +5 -0
  1043. package/dist/data/readme_demo/function/gcd__merge_3.mcfunction +1 -0
  1044. package/dist/data/readme_demo/function/gcd__then_0.mcfunction +4 -0
  1045. package/dist/data/readme_demo/function/gcd__then_2.mcfunction +4 -0
  1046. package/dist/data/readme_demo/function/isqrt.mcfunction +5 -0
  1047. package/dist/data/readme_demo/function/isqrt__loop_body_10.mcfunction +8 -0
  1048. package/dist/data/readme_demo/function/isqrt__loop_body_13.mcfunction +11 -0
  1049. package/dist/data/readme_demo/function/isqrt__loop_body_7.mcfunction +8 -0
  1050. package/dist/data/readme_demo/function/isqrt__loop_exit_11.mcfunction +2 -0
  1051. package/dist/data/readme_demo/function/isqrt__loop_exit_14.mcfunction +1 -0
  1052. package/dist/data/readme_demo/function/isqrt__loop_exit_8.mcfunction +9 -0
  1053. package/dist/data/readme_demo/function/isqrt__loop_header_12.mcfunction +4 -0
  1054. package/dist/data/readme_demo/function/isqrt__loop_header_6.mcfunction +4 -0
  1055. package/dist/data/readme_demo/function/isqrt__loop_header_9.mcfunction +3 -0
  1056. package/dist/data/readme_demo/function/isqrt__merge_1.mcfunction +4 -0
  1057. package/dist/data/readme_demo/function/isqrt__merge_16.mcfunction +5 -0
  1058. package/dist/data/readme_demo/function/isqrt__merge_4.mcfunction +3 -0
  1059. package/dist/data/readme_demo/function/isqrt__then_0.mcfunction +2 -0
  1060. package/dist/data/readme_demo/function/isqrt__then_15.mcfunction +1 -0
  1061. package/dist/data/readme_demo/function/isqrt__then_3.mcfunction +2 -0
  1062. package/dist/data/readme_demo/function/lcm.mcfunction +11 -0
  1063. package/dist/data/readme_demo/function/lcm__merge_1.mcfunction +5 -0
  1064. package/dist/data/readme_demo/function/lcm__then_0.mcfunction +2 -0
  1065. package/dist/data/readme_demo/function/lerp.mcfunction +13 -0
  1066. package/dist/data/readme_demo/function/ln.mcfunction +9 -0
  1067. package/dist/data/readme_demo/function/ln__loop_body_1.mcfunction +8 -0
  1068. package/dist/data/readme_demo/function/ln__loop_body_4.mcfunction +8 -0
  1069. package/dist/data/readme_demo/function/ln__loop_exit_2.mcfunction +1 -0
  1070. package/dist/data/readme_demo/function/ln__loop_exit_5.mcfunction +37 -0
  1071. package/dist/data/readme_demo/function/ln__loop_header_0.mcfunction +3 -0
  1072. package/dist/data/readme_demo/function/ln__loop_header_3.mcfunction +6 -0
  1073. package/dist/data/readme_demo/function/load.mcfunction +1 -0
  1074. package/dist/data/readme_demo/function/log10_fx.mcfunction +11 -0
  1075. package/dist/data/readme_demo/function/log2_fx.mcfunction +11 -0
  1076. package/dist/data/readme_demo/function/log2_int.mcfunction +5 -0
  1077. package/dist/data/readme_demo/function/log2_int__loop_body_4.mcfunction +8 -0
  1078. package/dist/data/readme_demo/function/log2_int__loop_exit_5.mcfunction +1 -0
  1079. package/dist/data/readme_demo/function/log2_int__loop_header_3.mcfunction +4 -0
  1080. package/dist/data/readme_demo/function/log2_int__merge_1.mcfunction +3 -0
  1081. package/dist/data/readme_demo/function/log2_int__then_0.mcfunction +2 -0
  1082. package/dist/data/readme_demo/function/loga_fx.mcfunction +10 -0
  1083. package/dist/data/readme_demo/function/loga_fx__merge_1.mcfunction +9 -0
  1084. package/dist/data/readme_demo/function/loga_fx__then_0.mcfunction +2 -0
  1085. package/dist/data/readme_demo/function/map.mcfunction +12 -0
  1086. package/dist/data/readme_demo/function/map__merge_1.mcfunction +11 -0
  1087. package/dist/data/readme_demo/function/map__then_0.mcfunction +1 -0
  1088. package/dist/data/readme_demo/function/mulfix.mcfunction +8 -0
  1089. package/dist/data/readme_demo/function/newton_step.mcfunction +7 -0
  1090. package/dist/data/readme_demo/function/newton_step__merge_1.mcfunction +8 -0
  1091. package/dist/data/readme_demo/function/newton_step__then_0.mcfunction +1 -0
  1092. package/dist/data/readme_demo/function/pow_int.mcfunction +6 -0
  1093. package/dist/data/readme_demo/function/pow_int__loop_body_4.mcfunction +7 -0
  1094. package/dist/data/readme_demo/function/pow_int__loop_exit_5.mcfunction +1 -0
  1095. package/dist/data/readme_demo/function/pow_int__loop_header_3.mcfunction +4 -0
  1096. package/dist/data/readme_demo/function/pow_int__merge_1.mcfunction +4 -0
  1097. package/dist/data/readme_demo/function/pow_int__merge_7.mcfunction +8 -0
  1098. package/dist/data/readme_demo/function/pow_int__then_0.mcfunction +2 -0
  1099. package/dist/data/readme_demo/function/pow_int__then_6.mcfunction +4 -0
  1100. package/dist/data/readme_demo/function/quadratic_disc.mcfunction +12 -0
  1101. package/dist/data/readme_demo/function/quadratic_x1.mcfunction +7 -0
  1102. package/dist/data/readme_demo/function/quadratic_x1__merge_1.mcfunction +13 -0
  1103. package/dist/data/readme_demo/function/quadratic_x1__merge_4.mcfunction +15 -0
  1104. package/dist/data/readme_demo/function/quadratic_x1__then_0.mcfunction +2 -0
  1105. package/dist/data/readme_demo/function/quadratic_x1__then_3.mcfunction +2 -0
  1106. package/dist/data/readme_demo/function/quadratic_x2.mcfunction +7 -0
  1107. package/dist/data/readme_demo/function/quadratic_x2__merge_1.mcfunction +13 -0
  1108. package/dist/data/readme_demo/function/quadratic_x2__merge_4.mcfunction +15 -0
  1109. package/dist/data/readme_demo/function/quadratic_x2__then_0.mcfunction +2 -0
  1110. package/dist/data/readme_demo/function/quadratic_x2__then_3.mcfunction +2 -0
  1111. package/dist/data/readme_demo/function/sign.mcfunction +5 -0
  1112. package/dist/data/readme_demo/function/sign__merge_1.mcfunction +4 -0
  1113. package/dist/data/readme_demo/function/sign__merge_4.mcfunction +2 -0
  1114. package/dist/data/readme_demo/function/sign__then_0.mcfunction +2 -0
  1115. package/dist/data/readme_demo/function/sign__then_3.mcfunction +2 -0
  1116. package/dist/data/readme_demo/function/simpson_step.mcfunction +16 -0
  1117. package/dist/data/readme_demo/function/sin_fixed.mcfunction +9 -0
  1118. package/dist/data/readme_demo/function/sin_fixed__merge_1.mcfunction +4 -0
  1119. package/dist/data/readme_demo/function/sin_fixed__merge_3.mcfunction +4 -0
  1120. package/dist/data/readme_demo/function/sin_fixed__merge_6.mcfunction +4 -0
  1121. package/dist/data/readme_demo/function/sin_fixed__merge_9.mcfunction +10 -0
  1122. package/dist/data/readme_demo/function/sin_fixed__then_0.mcfunction +4 -0
  1123. package/dist/data/readme_demo/function/sin_fixed__then_2.mcfunction +6 -0
  1124. package/dist/data/readme_demo/function/sin_fixed__then_5.mcfunction +8 -0
  1125. package/dist/data/readme_demo/function/sin_fixed__then_8.mcfunction +10 -0
  1126. package/dist/data/readme_demo/function/smootherstep.mcfunction +10 -0
  1127. package/dist/data/readme_demo/function/smootherstep__merge_1.mcfunction +12 -0
  1128. package/dist/data/readme_demo/function/smootherstep__merge_4.mcfunction +4 -0
  1129. package/dist/data/readme_demo/function/smootherstep__merge_6.mcfunction +27 -0
  1130. package/dist/data/readme_demo/function/smootherstep__then_0.mcfunction +2 -0
  1131. package/dist/data/readme_demo/function/smootherstep__then_3.mcfunction +2 -0
  1132. package/dist/data/readme_demo/function/smootherstep__then_5.mcfunction +2 -0
  1133. package/dist/data/readme_demo/function/smoothstep.mcfunction +10 -0
  1134. package/dist/data/readme_demo/function/smoothstep__merge_1.mcfunction +12 -0
  1135. package/dist/data/readme_demo/function/smoothstep__merge_4.mcfunction +4 -0
  1136. package/dist/data/readme_demo/function/smoothstep__merge_6.mcfunction +15 -0
  1137. package/dist/data/readme_demo/function/smoothstep__then_0.mcfunction +2 -0
  1138. package/dist/data/readme_demo/function/smoothstep__then_3.mcfunction +2 -0
  1139. package/dist/data/readme_demo/function/smoothstep__then_5.mcfunction +2 -0
  1140. package/dist/data/readme_demo/function/solve2x2_x.mcfunction +17 -0
  1141. package/dist/data/readme_demo/function/solve2x2_x__merge_1.mcfunction +12 -0
  1142. package/dist/data/readme_demo/function/solve2x2_x__then_0.mcfunction +2 -0
  1143. package/dist/data/readme_demo/function/solve2x2_y.mcfunction +17 -0
  1144. package/dist/data/readme_demo/function/solve2x2_y__merge_1.mcfunction +12 -0
  1145. package/dist/data/readme_demo/function/solve2x2_y__then_0.mcfunction +2 -0
  1146. package/dist/data/readme_demo/function/sqrt_fixed.mcfunction +8 -0
  1147. package/dist/data/readme_demo/function/sqrt_fx.mcfunction +8 -0
  1148. package/dist/data/readme_demo/function/start.mcfunction +2 -0
  1149. package/dist/data/readme_demo/function/stop.mcfunction +1 -0
  1150. package/dist/data/readme_demo/function/trapezoid_step.mcfunction +11 -0
  1151. package/dist/data/reqtest/function/__load.mcfunction +4 -0
  1152. package/dist/data/reqtest/function/_table_init.mcfunction +2 -0
  1153. package/dist/data/reqtest/function/no_trig.mcfunction +3 -0
  1154. package/dist/data/reqtest/function/use_table.mcfunction +4 -0
  1155. package/dist/data/reqtest2/function/__load.mcfunction +3 -0
  1156. package/dist/data/reqtest2/function/no_trig.mcfunction +3 -0
  1157. package/dist/data/runtime/function/__load.mcfunction +5 -0
  1158. package/dist/data/runtime/function/__tick.mcfunction +2 -0
  1159. package/dist/data/runtime/function/counter_tick/then_0.mcfunction +3 -0
  1160. package/dist/data/runtime/function/counter_tick.mcfunction +13 -0
  1161. package/dist/data/shop/function/__load.mcfunction +7 -0
  1162. package/dist/data/shop/function/__tick.mcfunction +3 -0
  1163. package/dist/data/shop/function/__trigger_shop_buy_dispatch.mcfunction +4 -0
  1164. package/dist/data/shop/function/complete_purchase/else_1.mcfunction +5 -0
  1165. package/dist/data/shop/function/complete_purchase/else_4.mcfunction +5 -0
  1166. package/dist/data/shop/function/complete_purchase/else_7.mcfunction +3 -0
  1167. package/dist/data/shop/function/complete_purchase/merge_2.mcfunction +2 -0
  1168. package/dist/data/shop/function/complete_purchase/merge_5.mcfunction +2 -0
  1169. package/dist/data/shop/function/complete_purchase/merge_8.mcfunction +2 -0
  1170. package/dist/data/shop/function/complete_purchase/then_0.mcfunction +4 -0
  1171. package/dist/data/shop/function/complete_purchase/then_3.mcfunction +4 -0
  1172. package/dist/data/shop/function/complete_purchase/then_6.mcfunction +4 -0
  1173. package/dist/data/shop/function/complete_purchase.mcfunction +7 -0
  1174. package/dist/data/shop/function/handle_shop_trigger.mcfunction +3 -0
  1175. package/dist/data/stdextra/function/__load.mcfunction +2 -0
  1176. package/dist/data/stdextra/function/load.mcfunction +1 -0
  1177. package/dist/data/stdextra/function/test_bigint.mcfunction +52 -0
  1178. package/dist/data/stdextra/function/test_bits.mcfunction +33 -0
  1179. package/dist/data/stdextra/function/test_list_sort.mcfunction +55 -0
  1180. package/dist/data/stdextra/function/test_random.mcfunction +17 -0
  1181. package/dist/data/stdextra/function/test_random__merge_1.mcfunction +4 -0
  1182. package/dist/data/stdextra/function/test_random__merge_11.mcfunction +1 -0
  1183. package/dist/data/stdextra/function/test_random__merge_3.mcfunction +14 -0
  1184. package/dist/data/stdextra/function/test_random__merge_5.mcfunction +8 -0
  1185. package/dist/data/stdextra/function/test_random__merge_7.mcfunction +1 -0
  1186. package/dist/data/stdextra/function/test_random__merge_9.mcfunction +1 -0
  1187. package/dist/data/stdextra/function/test_random__then_0.mcfunction +4 -0
  1188. package/dist/data/stdextra/function/test_random__then_10.mcfunction +2 -0
  1189. package/dist/data/stdextra/function/test_random__then_2.mcfunction +2 -0
  1190. package/dist/data/stdextra/function/test_random__then_4.mcfunction +4 -0
  1191. package/dist/data/stdextra/function/test_random__then_6.mcfunction +2 -0
  1192. package/dist/data/stdextra/function/test_random__then_8.mcfunction +4 -0
  1193. package/dist/data/swap_test/function/__load.mcfunction +3 -0
  1194. package/dist/data/swap_test/function/gcd_old/loop_body_1.mcfunction +7 -0
  1195. package/dist/data/swap_test/function/gcd_old/loop_check_0.mcfunction +5 -0
  1196. package/dist/data/swap_test/function/gcd_old/loop_exit_2.mcfunction +3 -0
  1197. package/dist/data/swap_test/function/gcd_old.mcfunction +8 -0
  1198. package/dist/data/test/function/__dyn_idx_test_arrays_a.mcfunction +1 -0
  1199. package/dist/data/test/function/__dyn_idx_test_arrays_b.mcfunction +1 -0
  1200. package/dist/data/test/function/__dyn_idx_test_arrays_c.mcfunction +1 -0
  1201. package/dist/data/test/function/__dyn_idx_test_arrays_counter.mcfunction +1 -0
  1202. package/dist/data/test/function/__dyn_idx_test_arrays_d.mcfunction +1 -0
  1203. package/dist/data/test/function/__dyn_idx_test_arrays_e.mcfunction +1 -0
  1204. package/dist/data/test/function/__dyn_idx_test_arrays_g.mcfunction +1 -0
  1205. package/dist/data/test/function/__dyn_idx_test_arrays_h.mcfunction +1 -0
  1206. package/dist/data/test/function/__dyn_idx_test_arrays_nums.mcfunction +1 -0
  1207. package/dist/data/test/function/__dyn_idx_test_arrays_one.mcfunction +1 -0
  1208. package/dist/data/test/function/__dyn_idx_test_arrays_parent.mcfunction +1 -0
  1209. package/dist/data/test/function/__dyn_idx_test_arrays_queue.mcfunction +1 -0
  1210. package/dist/data/test/function/__dyn_idx_test_arrays_rev.mcfunction +1 -0
  1211. package/dist/data/test/function/__dyn_idx_test_arrays_visited.mcfunction +1 -0
  1212. package/dist/data/test/function/__dyn_wrt_test_arrays_f.mcfunction +1 -0
  1213. package/dist/data/test/function/__dyn_wrt_test_arrays_parent.mcfunction +1 -0
  1214. package/dist/data/test/function/__dyn_wrt_test_arrays_r.mcfunction +1 -0
  1215. package/dist/data/test/function/__dyn_wrt_test_arrays_s.mcfunction +1 -0
  1216. package/dist/data/test/function/__dyn_wrt_test_arrays_visited.mcfunction +1 -0
  1217. package/dist/data/test/function/_apply.mcfunction +5 -0
  1218. package/dist/data/test/function/_atan_init.mcfunction +4 -0
  1219. package/dist/data/test/function/_coro_pathfind_bfs_coro_cont_1.mcfunction +2 -0
  1220. package/dist/data/test/function/_coro_pathfind_bfs_coro_cont_1__loop_body_1.mcfunction +17 -0
  1221. package/dist/data/test/function/_coro_pathfind_bfs_coro_cont_1__loop_body_1_continue.mcfunction +1 -0
  1222. package/dist/data/test/function/_coro_pathfind_bfs_coro_cont_1__loop_body_1_yield.mcfunction +1 -0
  1223. package/dist/data/test/function/_coro_pathfind_bfs_coro_cont_1__loop_header_0.mcfunction +4 -0
  1224. package/dist/data/test/function/_coro_pathfind_bfs_coro_cont_1__loop_header_0_exit.mcfunction +1 -0
  1225. package/dist/data/test/function/_coro_pathfind_bfs_coro_cont_2.mcfunction +2 -0
  1226. package/dist/data/test/function/_coro_pathfind_bfs_coro_cont_2__else_8.mcfunction +19 -0
  1227. package/dist/data/test/function/_coro_pathfind_bfs_coro_cont_2__loop_body_4.mcfunction +9 -0
  1228. package/dist/data/test/function/_coro_pathfind_bfs_coro_cont_2__loop_header_3.mcfunction +3 -0
  1229. package/dist/data/test/function/_coro_pathfind_bfs_coro_cont_2__loop_header_3_exit.mcfunction +1 -0
  1230. package/dist/data/test/function/_coro_pathfind_bfs_coro_cont_2__merge_10.mcfunction +11 -0
  1231. package/dist/data/test/function/_coro_pathfind_bfs_coro_cont_2__merge_12.mcfunction +1 -0
  1232. package/dist/data/test/function/_coro_pathfind_bfs_coro_cont_2__merge_14.mcfunction +11 -0
  1233. package/dist/data/test/function/_coro_pathfind_bfs_coro_cont_2__merge_16.mcfunction +1 -0
  1234. package/dist/data/test/function/_coro_pathfind_bfs_coro_cont_2__merge_18.mcfunction +11 -0
  1235. package/dist/data/test/function/_coro_pathfind_bfs_coro_cont_2__merge_20.mcfunction +1 -0
  1236. package/dist/data/test/function/_coro_pathfind_bfs_coro_cont_2__merge_22.mcfunction +1 -0
  1237. package/dist/data/test/function/_coro_pathfind_bfs_coro_cont_2__merge_24.mcfunction +1 -0
  1238. package/dist/data/test/function/_coro_pathfind_bfs_coro_cont_2__merge_7.mcfunction +6 -0
  1239. package/dist/data/test/function/_coro_pathfind_bfs_coro_cont_2__merge_7_continue.mcfunction +1 -0
  1240. package/dist/data/test/function/_coro_pathfind_bfs_coro_cont_2__merge_7_yield.mcfunction +1 -0
  1241. package/dist/data/test/function/_coro_pathfind_bfs_coro_cont_2__then_11.mcfunction +15 -0
  1242. package/dist/data/test/function/_coro_pathfind_bfs_coro_cont_2__then_13.mcfunction +13 -0
  1243. package/dist/data/test/function/_coro_pathfind_bfs_coro_cont_2__then_15.mcfunction +15 -0
  1244. package/dist/data/test/function/_coro_pathfind_bfs_coro_cont_2__then_17.mcfunction +13 -0
  1245. package/dist/data/test/function/_coro_pathfind_bfs_coro_cont_2__then_19.mcfunction +15 -0
  1246. package/dist/data/test/function/_coro_pathfind_bfs_coro_cont_2__then_21.mcfunction +13 -0
  1247. package/dist/data/test/function/_coro_pathfind_bfs_coro_cont_2__then_23.mcfunction +15 -0
  1248. package/dist/data/test/function/_coro_pathfind_bfs_coro_cont_2__then_6.mcfunction +2 -0
  1249. package/dist/data/test/function/_coro_pathfind_bfs_coro_cont_2__then_9.mcfunction +13 -0
  1250. package/dist/data/test/function/_coro_pathfind_bfs_coro_cont_3.mcfunction +2 -0
  1251. package/dist/data/test/function/_coro_pathfind_bfs_coro_cont_3__else_32.mcfunction +4 -0
  1252. package/dist/data/test/function/_coro_pathfind_bfs_coro_cont_3__loop_body_28.mcfunction +6 -0
  1253. package/dist/data/test/function/_coro_pathfind_bfs_coro_cont_3__loop_header_27.mcfunction +4 -0
  1254. package/dist/data/test/function/_coro_pathfind_bfs_coro_cont_3__loop_header_27_exit.mcfunction +1 -0
  1255. package/dist/data/test/function/_coro_pathfind_bfs_coro_cont_3__merge_31.mcfunction +6 -0
  1256. package/dist/data/test/function/_coro_pathfind_bfs_coro_cont_3__merge_31_continue.mcfunction +1 -0
  1257. package/dist/data/test/function/_coro_pathfind_bfs_coro_cont_3__merge_31_yield.mcfunction +1 -0
  1258. package/dist/data/test/function/_coro_pathfind_bfs_coro_cont_3__then_30.mcfunction +2 -0
  1259. package/dist/data/test/function/_coro_pathfind_bfs_coro_cont_4.mcfunction +2 -0
  1260. package/dist/data/test/function/_coro_pathfind_bfs_coro_cont_4__loop_body_34.mcfunction +16 -0
  1261. package/dist/data/test/function/_coro_pathfind_bfs_coro_cont_4__loop_body_34_continue.mcfunction +1 -0
  1262. package/dist/data/test/function/_coro_pathfind_bfs_coro_cont_4__loop_body_34_yield.mcfunction +1 -0
  1263. package/dist/data/test/function/_coro_pathfind_bfs_coro_cont_4__loop_header_33.mcfunction +4 -0
  1264. package/dist/data/test/function/_coro_pathfind_bfs_coro_cont_4__loop_header_33_exit.mcfunction +1 -0
  1265. package/dist/data/test/function/_coro_pathfind_bfs_coro_cont_5.mcfunction +16 -0
  1266. package/dist/data/test/function/_coro_pathfind_bfs_coro_cont_5__merge_26.mcfunction +1 -0
  1267. package/dist/data/test/function/_coro_pathfind_bfs_coro_tick.mcfunction +4 -0
  1268. package/dist/data/test/function/_coro_pathfind_bfs_coro_tick__call_1.mcfunction +1 -0
  1269. package/dist/data/test/function/_coro_pathfind_bfs_coro_tick__call_2.mcfunction +1 -0
  1270. package/dist/data/test/function/_coro_pathfind_bfs_coro_tick__call_3.mcfunction +1 -0
  1271. package/dist/data/test/function/_coro_pathfind_bfs_coro_tick__call_4.mcfunction +1 -0
  1272. package/dist/data/test/function/_coro_pathfind_bfs_coro_tick__call_5.mcfunction +1 -0
  1273. package/dist/data/test/function/_coro_pathfind_bfs_coro_tick__check_2.mcfunction +4 -0
  1274. package/dist/data/test/function/_coro_pathfind_bfs_coro_tick__check_3.mcfunction +4 -0
  1275. package/dist/data/test/function/_coro_pathfind_bfs_coro_tick__check_4.mcfunction +4 -0
  1276. package/dist/data/test/function/_coro_pathfind_bfs_coro_tick__check_5.mcfunction +4 -0
  1277. package/dist/data/test/function/_coro_pathfind_bfs_coro_tick__done.mcfunction +1 -0
  1278. package/dist/data/test/function/_divider.mcfunction +1 -0
  1279. package/dist/data/test/function/_dump_advanced_phase.mcfunction +4 -0
  1280. package/dist/data/test/function/_dump_advanced_phase__loop_body_1.mcfunction +7 -0
  1281. package/dist/data/test/function/_dump_advanced_phase__loop_body_6.mcfunction +10 -0
  1282. package/dist/data/test/function/_dump_advanced_phase__loop_exit_2.mcfunction +20 -0
  1283. package/dist/data/test/function/_dump_advanced_phase__loop_exit_7.mcfunction +12 -0
  1284. package/dist/data/test/function/_dump_advanced_phase__loop_header_0.mcfunction +4 -0
  1285. package/dist/data/test/function/_dump_advanced_phase__loop_header_5.mcfunction +4 -0
  1286. package/dist/data/test/function/_dump_advanced_phase__merge_4.mcfunction +4 -0
  1287. package/dist/data/test/function/_dump_advanced_phase__then_3.mcfunction +2 -0
  1288. package/dist/data/test/function/_dump_bigint_phase.mcfunction +28 -0
  1289. package/dist/data/test/function/_dump_math_phase.mcfunction +4 -0
  1290. package/dist/data/test/function/_dump_math_phase__loop_body_1.mcfunction +9 -0
  1291. package/dist/data/test/function/_dump_math_phase__loop_exit_2.mcfunction +18 -0
  1292. package/dist/data/test/function/_dump_math_phase__loop_header_0.mcfunction +4 -0
  1293. package/dist/data/test/function/_fp.mcfunction +2 -0
  1294. package/dist/data/test/function/_hsl_chroma_x.mcfunction +10 -0
  1295. package/dist/data/test/function/_hsl_chroma_x__merge_1.mcfunction +6 -0
  1296. package/dist/data/test/function/_hsl_chroma_x__then_0.mcfunction +4 -0
  1297. package/dist/data/test/function/_math_init.mcfunction +4 -0
  1298. package/dist/data/test/function/_next_phase.mcfunction +1 -0
  1299. package/dist/data/test/function/_section.mcfunction +3 -0
  1300. package/dist/data/test/function/_section__const_0.mcfunction +3 -0
  1301. package/dist/data/test/function/_tick_advanced_live.mcfunction +5 -0
  1302. package/dist/data/test/function/_tick_advanced_live__foreach_t12.mcfunction +1 -0
  1303. package/dist/data/test/function/_tick_bigint_live.mcfunction +8 -0
  1304. package/dist/data/test/function/_tick_bigint_live__foreach_t11.mcfunction +1 -0
  1305. package/dist/data/test/function/_tick_math.mcfunction +9 -0
  1306. package/dist/data/test/function/_tick_math__foreach_t12.mcfunction +1 -0
  1307. package/dist/data/test/function/_tick_visual.mcfunction +11 -0
  1308. package/dist/data/test/function/_tick_visual__foreach_t12.mcfunction +1 -0
  1309. package/dist/data/test/function/_tick_visual__foreach_t16.mcfunction +8 -0
  1310. package/dist/data/test/function/_tick_visual__foreach_t17.mcfunction +8 -0
  1311. package/dist/data/test/function/_tick_visual__foreach_t21.mcfunction +1 -0
  1312. package/dist/data/test/function/aabb_contains.mcfunction +12 -0
  1313. package/dist/data/test/function/aabb_contains__merge_1.mcfunction +3 -0
  1314. package/dist/data/test/function/aabb_contains__merge_10.mcfunction +3 -0
  1315. package/dist/data/test/function/aabb_contains__merge_13.mcfunction +3 -0
  1316. package/dist/data/test/function/aabb_contains__merge_16.mcfunction +2 -0
  1317. package/dist/data/test/function/aabb_contains__merge_4.mcfunction +3 -0
  1318. package/dist/data/test/function/aabb_contains__merge_7.mcfunction +3 -0
  1319. package/dist/data/test/function/aabb_contains__then_0.mcfunction +2 -0
  1320. package/dist/data/test/function/aabb_contains__then_12.mcfunction +2 -0
  1321. package/dist/data/test/function/aabb_contains__then_15.mcfunction +2 -0
  1322. package/dist/data/test/function/aabb_contains__then_3.mcfunction +2 -0
  1323. package/dist/data/test/function/aabb_contains__then_6.mcfunction +2 -0
  1324. package/dist/data/test/function/aabb_contains__then_9.mcfunction +2 -0
  1325. package/dist/data/test/function/acos_approx.mcfunction +7 -0
  1326. package/dist/data/test/function/add2d_x.mcfunction +5 -0
  1327. package/dist/data/test/function/add2d_y.mcfunction +5 -0
  1328. package/dist/data/test/function/add3d_x.mcfunction +5 -0
  1329. package/dist/data/test/function/add3d_y.mcfunction +5 -0
  1330. package/dist/data/test/function/add3d_z.mcfunction +5 -0
  1331. package/dist/data/test/function/add_to_team.mcfunction +5 -0
  1332. package/dist/data/test/function/air_drag_fx.mcfunction +2 -0
  1333. package/dist/data/test/function/angle_between.mcfunction +28 -0
  1334. package/dist/data/test/function/angle_between__and_false_2.mcfunction +2 -0
  1335. package/dist/data/test/function/angle_between__and_false_8.mcfunction +2 -0
  1336. package/dist/data/test/function/angle_between__and_merge_1.mcfunction +2 -0
  1337. package/dist/data/test/function/angle_between__and_merge_7.mcfunction +2 -0
  1338. package/dist/data/test/function/angle_between__and_right_0.mcfunction +4 -0
  1339. package/dist/data/test/function/angle_between__and_right_6.mcfunction +4 -0
  1340. package/dist/data/test/function/angle_between__merge_10.mcfunction +26 -0
  1341. package/dist/data/test/function/angle_between__merge_4.mcfunction +4 -0
  1342. package/dist/data/test/function/angle_between__then_3.mcfunction +2 -0
  1343. package/dist/data/test/function/angle_between__then_9.mcfunction +2 -0
  1344. package/dist/data/test/function/angle_diff.mcfunction +12 -0
  1345. package/dist/data/test/function/angle_diff__merge_1.mcfunction +1 -0
  1346. package/dist/data/test/function/angle_diff__then_0.mcfunction +4 -0
  1347. package/dist/data/test/function/angle_normalize.mcfunction +3 -0
  1348. package/dist/data/test/function/angle_normalize__loop_body_1.mcfunction +4 -0
  1349. package/dist/data/test/function/angle_normalize__loop_body_4.mcfunction +4 -0
  1350. package/dist/data/test/function/angle_normalize__loop_exit_2.mcfunction +1 -0
  1351. package/dist/data/test/function/angle_normalize__loop_exit_5.mcfunction +1 -0
  1352. package/dist/data/test/function/angle_normalize__loop_header_0.mcfunction +4 -0
  1353. package/dist/data/test/function/angle_normalize__loop_header_3.mcfunction +4 -0
  1354. package/dist/data/test/function/angry_at.mcfunction +1 -0
  1355. package/dist/data/test/function/apply_damage.mcfunction +12 -0
  1356. package/dist/data/test/function/apply_damage__else_2.mcfunction +2 -0
  1357. package/dist/data/test/function/apply_damage__merge_1.mcfunction +1 -0
  1358. package/dist/data/test/function/apply_damage__then_0.mcfunction +2 -0
  1359. package/dist/data/test/function/apply_drag.mcfunction +8 -0
  1360. package/dist/data/test/function/apply_gravity.mcfunction +6 -0
  1361. package/dist/data/test/function/approx_eq.mcfunction +10 -0
  1362. package/dist/data/test/function/approx_eq__merge_1.mcfunction +3 -0
  1363. package/dist/data/test/function/approx_eq__merge_3.mcfunction +2 -0
  1364. package/dist/data/test/function/approx_eq__then_0.mcfunction +4 -0
  1365. package/dist/data/test/function/approx_eq__then_2.mcfunction +2 -0
  1366. package/dist/data/test/function/arr_test.mcfunction +4 -0
  1367. package/dist/data/test/function/asin_approx.mcfunction +5 -0
  1368. package/dist/data/test/function/asin_approx__merge_1.mcfunction +3 -0
  1369. package/dist/data/test/function/asin_approx__merge_10.mcfunction +5 -0
  1370. package/dist/data/test/function/asin_approx__merge_4.mcfunction +12 -0
  1371. package/dist/data/test/function/asin_approx__merge_7.mcfunction +14 -0
  1372. package/dist/data/test/function/asin_approx__then_0.mcfunction +2 -0
  1373. package/dist/data/test/function/asin_approx__then_3.mcfunction +2 -0
  1374. package/dist/data/test/function/asin_approx__then_6.mcfunction +2 -0
  1375. package/dist/data/test/function/asin_approx__then_9.mcfunction +2 -0
  1376. package/dist/data/test/function/atan2_fixed.mcfunction +6 -0
  1377. package/dist/data/test/function/atan2_fixed__else_30.mcfunction +2 -0
  1378. package/dist/data/test/function/atan2_fixed__loop_body_26.mcfunction +21 -0
  1379. package/dist/data/test/function/atan2_fixed__loop_exit_27.mcfunction +5 -0
  1380. package/dist/data/test/function/atan2_fixed__loop_header_25.mcfunction +3 -0
  1381. package/dist/data/test/function/atan2_fixed__merge_1.mcfunction +4 -0
  1382. package/dist/data/test/function/atan2_fixed__merge_10.mcfunction +5 -0
  1383. package/dist/data/test/function/atan2_fixed__merge_12.mcfunction +2 -0
  1384. package/dist/data/test/function/atan2_fixed__merge_16.mcfunction +5 -0
  1385. package/dist/data/test/function/atan2_fixed__merge_18.mcfunction +4 -0
  1386. package/dist/data/test/function/atan2_fixed__merge_20.mcfunction +4 -0
  1387. package/dist/data/test/function/atan2_fixed__merge_22.mcfunction +4 -0
  1388. package/dist/data/test/function/atan2_fixed__merge_24.mcfunction +3 -0
  1389. package/dist/data/test/function/atan2_fixed__merge_29.mcfunction +1 -0
  1390. package/dist/data/test/function/atan2_fixed__merge_3.mcfunction +4 -0
  1391. package/dist/data/test/function/atan2_fixed__merge_32.mcfunction +4 -0
  1392. package/dist/data/test/function/atan2_fixed__merge_34.mcfunction +4 -0
  1393. package/dist/data/test/function/atan2_fixed__merge_36.mcfunction +3 -0
  1394. package/dist/data/test/function/atan2_fixed__merge_40.mcfunction +3 -0
  1395. package/dist/data/test/function/atan2_fixed__merge_6.mcfunction +2 -0
  1396. package/dist/data/test/function/atan2_fixed__then_0.mcfunction +4 -0
  1397. package/dist/data/test/function/atan2_fixed__then_11.mcfunction +2 -0
  1398. package/dist/data/test/function/atan2_fixed__then_15.mcfunction +4 -0
  1399. package/dist/data/test/function/atan2_fixed__then_17.mcfunction +4 -0
  1400. package/dist/data/test/function/atan2_fixed__then_19.mcfunction +2 -0
  1401. package/dist/data/test/function/atan2_fixed__then_2.mcfunction +2 -0
  1402. package/dist/data/test/function/atan2_fixed__then_21.mcfunction +2 -0
  1403. package/dist/data/test/function/atan2_fixed__then_23.mcfunction +5 -0
  1404. package/dist/data/test/function/atan2_fixed__then_28.mcfunction +4 -0
  1405. package/dist/data/test/function/atan2_fixed__then_31.mcfunction +4 -0
  1406. package/dist/data/test/function/atan2_fixed__then_33.mcfunction +4 -0
  1407. package/dist/data/test/function/atan2_fixed__then_35.mcfunction +1 -0
  1408. package/dist/data/test/function/atan2_fixed__then_39.mcfunction +3 -0
  1409. package/dist/data/test/function/atan2_fixed__then_5.mcfunction +2 -0
  1410. package/dist/data/test/function/atan2_fixed__then_9.mcfunction +4 -0
  1411. package/dist/data/test/function/avg3.mcfunction +11 -0
  1412. package/dist/data/test/function/avg5.mcfunction +17 -0
  1413. package/dist/data/test/function/barrier_wall.mcfunction +1 -0
  1414. package/dist/data/test/function/bernoulli.mcfunction +12 -0
  1415. package/dist/data/test/function/bernoulli__merge_1.mcfunction +6 -0
  1416. package/dist/data/test/function/bernoulli__merge_3.mcfunction +2 -0
  1417. package/dist/data/test/function/bernoulli__then_0.mcfunction +4 -0
  1418. package/dist/data/test/function/bernoulli__then_2.mcfunction +2 -0
  1419. package/dist/data/test/function/bezier_cubic.mcfunction +36 -0
  1420. package/dist/data/test/function/bezier_quad.mcfunction +20 -0
  1421. package/dist/data/test/function/bigint3_add_hi.mcfunction +11 -0
  1422. package/dist/data/test/function/bigint3_add_lo.mcfunction +8 -0
  1423. package/dist/data/test/function/bigint3_add_mid.mcfunction +11 -0
  1424. package/dist/data/test/function/bigint3_borrow_lo.mcfunction +5 -0
  1425. package/dist/data/test/function/bigint3_borrow_lo__merge_1.mcfunction +2 -0
  1426. package/dist/data/test/function/bigint3_borrow_lo__then_0.mcfunction +2 -0
  1427. package/dist/data/test/function/bigint3_borrow_mid.mcfunction +8 -0
  1428. package/dist/data/test/function/bigint3_borrow_mid__merge_1.mcfunction +2 -0
  1429. package/dist/data/test/function/bigint3_borrow_mid__then_0.mcfunction +2 -0
  1430. package/dist/data/test/function/bigint3_carry_lo.mcfunction +8 -0
  1431. package/dist/data/test/function/bigint3_carry_mid.mcfunction +11 -0
  1432. package/dist/data/test/function/bigint3_cmp.mcfunction +9 -0
  1433. package/dist/data/test/function/bigint3_cmp__merge_1.mcfunction +3 -0
  1434. package/dist/data/test/function/bigint3_cmp__merge_10.mcfunction +3 -0
  1435. package/dist/data/test/function/bigint3_cmp__merge_13.mcfunction +3 -0
  1436. package/dist/data/test/function/bigint3_cmp__merge_16.mcfunction +2 -0
  1437. package/dist/data/test/function/bigint3_cmp__merge_4.mcfunction +3 -0
  1438. package/dist/data/test/function/bigint3_cmp__merge_7.mcfunction +3 -0
  1439. package/dist/data/test/function/bigint3_cmp__then_0.mcfunction +2 -0
  1440. package/dist/data/test/function/bigint3_cmp__then_12.mcfunction +2 -0
  1441. package/dist/data/test/function/bigint3_cmp__then_15.mcfunction +2 -0
  1442. package/dist/data/test/function/bigint3_cmp__then_3.mcfunction +2 -0
  1443. package/dist/data/test/function/bigint3_cmp__then_6.mcfunction +2 -0
  1444. package/dist/data/test/function/bigint3_cmp__then_9.mcfunction +2 -0
  1445. package/dist/data/test/function/bigint3_div_chunk.mcfunction +11 -0
  1446. package/dist/data/test/function/bigint3_mul1_hi.mcfunction +8 -0
  1447. package/dist/data/test/function/bigint3_mul1_lo.mcfunction +8 -0
  1448. package/dist/data/test/function/bigint3_mul1_mid.mcfunction +2 -0
  1449. package/dist/data/test/function/bigint3_rem_chunk.mcfunction +11 -0
  1450. package/dist/data/test/function/bigint3_sub_hi.mcfunction +8 -0
  1451. package/dist/data/test/function/bigint3_sub_lo.mcfunction +5 -0
  1452. package/dist/data/test/function/bigint3_sub_lo__merge_1.mcfunction +5 -0
  1453. package/dist/data/test/function/bigint3_sub_lo__then_0.mcfunction +3 -0
  1454. package/dist/data/test/function/bigint3_sub_mid.mcfunction +12 -0
  1455. package/dist/data/test/function/bigint3_sub_mid__merge_1.mcfunction +1 -0
  1456. package/dist/data/test/function/bigint3_sub_mid__then_0.mcfunction +4 -0
  1457. package/dist/data/test/function/bigint3_to_int32.mcfunction +14 -0
  1458. package/dist/data/test/function/bigint_add.mcfunction +8 -0
  1459. package/dist/data/test/function/bigint_add__arr_a__test_arrays__a__b__test_arrays__b__result__test_arrays__r.mcfunction +6 -0
  1460. 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
  1461. 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
  1462. 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
  1463. package/dist/data/test/function/bigint_add__arr_a__test_arrays__counter__b__test_arrays__one__result__test_arrays__r.mcfunction +6 -0
  1464. 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
  1465. 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
  1466. 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
  1467. package/dist/data/test/function/bigint_add__loop_body_1.mcfunction +12 -0
  1468. package/dist/data/test/function/bigint_add__loop_exit_2.mcfunction +1 -0
  1469. package/dist/data/test/function/bigint_add__loop_header_0.mcfunction +4 -0
  1470. package/dist/data/test/function/bigint_base.mcfunction +2 -0
  1471. package/dist/data/test/function/bigint_chunk.mcfunction +2 -0
  1472. package/dist/data/test/function/bigint_cmp.mcfunction +5 -0
  1473. package/dist/data/test/function/bigint_cmp__arr_a__test_arrays__g__b__test_arrays__h.mcfunction +3 -0
  1474. package/dist/data/test/function/bigint_cmp__arr_a__test_arrays__g__b__test_arrays__h__loop_body_1.mcfunction +7 -0
  1475. package/dist/data/test/function/bigint_cmp__arr_a__test_arrays__g__b__test_arrays__h__loop_exit_2.mcfunction +2 -0
  1476. package/dist/data/test/function/bigint_cmp__arr_a__test_arrays__g__b__test_arrays__h__loop_header_0.mcfunction +3 -0
  1477. package/dist/data/test/function/bigint_cmp__arr_a__test_arrays__g__b__test_arrays__h__merge_4.mcfunction +7 -0
  1478. package/dist/data/test/function/bigint_cmp__arr_a__test_arrays__g__b__test_arrays__h__merge_7.mcfunction +4 -0
  1479. package/dist/data/test/function/bigint_cmp__arr_a__test_arrays__g__b__test_arrays__h__then_3.mcfunction +2 -0
  1480. package/dist/data/test/function/bigint_cmp__arr_a__test_arrays__g__b__test_arrays__h__then_6.mcfunction +2 -0
  1481. package/dist/data/test/function/bigint_cmp__loop_body_1.mcfunction +3 -0
  1482. package/dist/data/test/function/bigint_cmp__loop_exit_2.mcfunction +2 -0
  1483. package/dist/data/test/function/bigint_cmp__loop_header_0.mcfunction +3 -0
  1484. package/dist/data/test/function/bigint_cmp__merge_4.mcfunction +3 -0
  1485. package/dist/data/test/function/bigint_cmp__merge_7.mcfunction +4 -0
  1486. package/dist/data/test/function/bigint_cmp__then_3.mcfunction +2 -0
  1487. package/dist/data/test/function/bigint_cmp__then_6.mcfunction +2 -0
  1488. package/dist/data/test/function/bigint_copy.mcfunction +3 -0
  1489. package/dist/data/test/function/bigint_copy__loop_body_1.mcfunction +4 -0
  1490. package/dist/data/test/function/bigint_copy__loop_exit_2.mcfunction +1 -0
  1491. package/dist/data/test/function/bigint_copy__loop_header_0.mcfunction +3 -0
  1492. package/dist/data/test/function/bigint_div_small.mcfunction +6 -0
  1493. package/dist/data/test/function/bigint_div_small__loop_body_1.mcfunction +12 -0
  1494. package/dist/data/test/function/bigint_div_small__loop_exit_2.mcfunction +1 -0
  1495. package/dist/data/test/function/bigint_div_small__loop_header_0.mcfunction +3 -0
  1496. package/dist/data/test/function/bigint_is_zero.mcfunction +4 -0
  1497. package/dist/data/test/function/bigint_is_zero__loop_body_1.mcfunction +4 -0
  1498. package/dist/data/test/function/bigint_is_zero__loop_exit_2.mcfunction +2 -0
  1499. package/dist/data/test/function/bigint_is_zero__loop_header_0.mcfunction +3 -0
  1500. package/dist/data/test/function/bigint_is_zero__merge_4.mcfunction +4 -0
  1501. package/dist/data/test/function/bigint_is_zero__then_3.mcfunction +2 -0
  1502. package/dist/data/test/function/bigint_leading_zeros.mcfunction +5 -0
  1503. package/dist/data/test/function/bigint_leading_zeros__loop_body_1.mcfunction +4 -0
  1504. package/dist/data/test/function/bigint_leading_zeros__loop_exit_2.mcfunction +1 -0
  1505. package/dist/data/test/function/bigint_leading_zeros__loop_header_0.mcfunction +3 -0
  1506. package/dist/data/test/function/bigint_leading_zeros__merge_4.mcfunction +9 -0
  1507. package/dist/data/test/function/bigint_leading_zeros__then_3.mcfunction +1 -0
  1508. package/dist/data/test/function/bigint_mod_small.mcfunction +6 -0
  1509. package/dist/data/test/function/bigint_mod_small__loop_body_1.mcfunction +12 -0
  1510. package/dist/data/test/function/bigint_mod_small__loop_exit_2.mcfunction +1 -0
  1511. package/dist/data/test/function/bigint_mod_small__loop_header_0.mcfunction +3 -0
  1512. package/dist/data/test/function/bigint_mul_small.mcfunction +8 -0
  1513. package/dist/data/test/function/bigint_mul_small__arr_a__test_arrays__e__result__test_arrays__f.mcfunction +7 -0
  1514. package/dist/data/test/function/bigint_mul_small__arr_a__test_arrays__e__result__test_arrays__f__loop_body_1.mcfunction +20 -0
  1515. package/dist/data/test/function/bigint_mul_small__arr_a__test_arrays__e__result__test_arrays__f__loop_exit_2.mcfunction +1 -0
  1516. package/dist/data/test/function/bigint_mul_small__arr_a__test_arrays__e__result__test_arrays__f__loop_header_0.mcfunction +4 -0
  1517. package/dist/data/test/function/bigint_mul_small__loop_body_1.mcfunction +12 -0
  1518. package/dist/data/test/function/bigint_mul_small__loop_exit_2.mcfunction +1 -0
  1519. package/dist/data/test/function/bigint_mul_small__loop_header_0.mcfunction +4 -0
  1520. package/dist/data/test/function/bigint_shift_left.mcfunction +3 -0
  1521. package/dist/data/test/function/bigint_shift_left__loop_body_1.mcfunction +4 -0
  1522. package/dist/data/test/function/bigint_shift_left__loop_exit_2.mcfunction +1 -0
  1523. package/dist/data/test/function/bigint_shift_left__loop_header_0.mcfunction +5 -0
  1524. package/dist/data/test/function/bigint_sub.mcfunction +8 -0
  1525. package/dist/data/test/function/bigint_sub__arr_a__test_arrays__c__b__test_arrays__d__result__test_arrays__s.mcfunction +6 -0
  1526. 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
  1527. 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
  1528. 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
  1529. 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
  1530. 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
  1531. 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
  1532. 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
  1533. package/dist/data/test/function/bigint_sub__loop_body_1.mcfunction +9 -0
  1534. package/dist/data/test/function/bigint_sub__loop_exit_2.mcfunction +1 -0
  1535. package/dist/data/test/function/bigint_sub__loop_header_0.mcfunction +4 -0
  1536. package/dist/data/test/function/bigint_sub__merge_4.mcfunction +4 -0
  1537. package/dist/data/test/function/bigint_sub__merge_6.mcfunction +4 -0
  1538. package/dist/data/test/function/bigint_sub__then_3.mcfunction +5 -0
  1539. package/dist/data/test/function/bigint_sub__then_5.mcfunction +2 -0
  1540. package/dist/data/test/function/bigint_zero.mcfunction +3 -0
  1541. package/dist/data/test/function/bigint_zero__loop_body_1.mcfunction +4 -0
  1542. package/dist/data/test/function/bigint_zero__loop_exit_2.mcfunction +1 -0
  1543. package/dist/data/test/function/bigint_zero__loop_header_0.mcfunction +3 -0
  1544. package/dist/data/test/function/billboard_y.mcfunction +7 -0
  1545. package/dist/data/test/function/bit_and.mcfunction +6 -0
  1546. package/dist/data/test/function/bit_and__loop_body_1.mcfunction +9 -0
  1547. package/dist/data/test/function/bit_and__loop_exit_2.mcfunction +1 -0
  1548. package/dist/data/test/function/bit_and__loop_header_0.mcfunction +4 -0
  1549. package/dist/data/test/function/bit_and__merge_4.mcfunction +8 -0
  1550. package/dist/data/test/function/bit_and__merge_6.mcfunction +1 -0
  1551. package/dist/data/test/function/bit_and__then_3.mcfunction +9 -0
  1552. package/dist/data/test/function/bit_and__then_5.mcfunction +4 -0
  1553. package/dist/data/test/function/bit_clear.mcfunction +5 -0
  1554. package/dist/data/test/function/bit_clear__loop_body_1.mcfunction +8 -0
  1555. package/dist/data/test/function/bit_clear__loop_exit_2.mcfunction +9 -0
  1556. package/dist/data/test/function/bit_clear__loop_header_0.mcfunction +3 -0
  1557. package/dist/data/test/function/bit_clear__merge_4.mcfunction +1 -0
  1558. package/dist/data/test/function/bit_clear__then_3.mcfunction +3 -0
  1559. package/dist/data/test/function/bit_get.mcfunction +5 -0
  1560. package/dist/data/test/function/bit_get__loop_body_1.mcfunction +8 -0
  1561. package/dist/data/test/function/bit_get__loop_exit_2.mcfunction +6 -0
  1562. package/dist/data/test/function/bit_get__loop_header_0.mcfunction +3 -0
  1563. package/dist/data/test/function/bit_not.mcfunction +5 -0
  1564. package/dist/data/test/function/bit_not__loop_body_1.mcfunction +9 -0
  1565. package/dist/data/test/function/bit_not__loop_exit_2.mcfunction +1 -0
  1566. package/dist/data/test/function/bit_not__loop_header_0.mcfunction +4 -0
  1567. package/dist/data/test/function/bit_not__merge_4.mcfunction +8 -0
  1568. package/dist/data/test/function/bit_not__then_3.mcfunction +4 -0
  1569. package/dist/data/test/function/bit_or.mcfunction +6 -0
  1570. package/dist/data/test/function/bit_or__loop_body_1.mcfunction +9 -0
  1571. package/dist/data/test/function/bit_or__loop_exit_2.mcfunction +1 -0
  1572. package/dist/data/test/function/bit_or__loop_header_0.mcfunction +4 -0
  1573. package/dist/data/test/function/bit_or__merge_4.mcfunction +9 -0
  1574. package/dist/data/test/function/bit_or__merge_6.mcfunction +8 -0
  1575. package/dist/data/test/function/bit_or__merge_8.mcfunction +1 -0
  1576. package/dist/data/test/function/bit_or__then_3.mcfunction +4 -0
  1577. package/dist/data/test/function/bit_or__then_5.mcfunction +9 -0
  1578. package/dist/data/test/function/bit_or__then_7.mcfunction +4 -0
  1579. package/dist/data/test/function/bit_set.mcfunction +5 -0
  1580. package/dist/data/test/function/bit_set__loop_body_1.mcfunction +8 -0
  1581. package/dist/data/test/function/bit_set__loop_exit_2.mcfunction +9 -0
  1582. package/dist/data/test/function/bit_set__loop_header_0.mcfunction +3 -0
  1583. package/dist/data/test/function/bit_set__merge_4.mcfunction +1 -0
  1584. package/dist/data/test/function/bit_set__then_3.mcfunction +3 -0
  1585. package/dist/data/test/function/bit_shl.mcfunction +5 -0
  1586. package/dist/data/test/function/bit_shl__loop_body_1.mcfunction +8 -0
  1587. package/dist/data/test/function/bit_shl__loop_exit_2.mcfunction +1 -0
  1588. package/dist/data/test/function/bit_shl__loop_header_0.mcfunction +3 -0
  1589. package/dist/data/test/function/bit_shr.mcfunction +5 -0
  1590. package/dist/data/test/function/bit_shr__loop_body_1.mcfunction +8 -0
  1591. package/dist/data/test/function/bit_shr__loop_exit_2.mcfunction +1 -0
  1592. package/dist/data/test/function/bit_shr__loop_header_0.mcfunction +3 -0
  1593. package/dist/data/test/function/bit_toggle.mcfunction +5 -0
  1594. package/dist/data/test/function/bit_toggle__loop_body_1.mcfunction +8 -0
  1595. package/dist/data/test/function/bit_toggle__loop_exit_2.mcfunction +9 -0
  1596. package/dist/data/test/function/bit_toggle__loop_header_0.mcfunction +3 -0
  1597. package/dist/data/test/function/bit_toggle__merge_4.mcfunction +3 -0
  1598. package/dist/data/test/function/bit_toggle__then_3.mcfunction +3 -0
  1599. package/dist/data/test/function/bit_xor.mcfunction +6 -0
  1600. package/dist/data/test/function/bit_xor__loop_body_1.mcfunction +13 -0
  1601. package/dist/data/test/function/bit_xor__loop_exit_2.mcfunction +1 -0
  1602. package/dist/data/test/function/bit_xor__loop_header_0.mcfunction +4 -0
  1603. package/dist/data/test/function/bit_xor__merge_4.mcfunction +8 -0
  1604. package/dist/data/test/function/bit_xor__then_3.mcfunction +4 -0
  1605. package/dist/data/test/function/bounce_v.mcfunction +10 -0
  1606. package/dist/data/test/function/buff_all.mcfunction +22 -0
  1607. package/dist/data/test/function/cbrt_fx.mcfunction +5 -0
  1608. package/dist/data/test/function/cbrt_fx__loop_body_6.mcfunction +7 -0
  1609. package/dist/data/test/function/cbrt_fx__loop_exit_7.mcfunction +1 -0
  1610. package/dist/data/test/function/cbrt_fx__loop_header_5.mcfunction +4 -0
  1611. package/dist/data/test/function/cbrt_fx__merge_1.mcfunction +8 -0
  1612. package/dist/data/test/function/cbrt_fx__merge_11.mcfunction +5 -0
  1613. package/dist/data/test/function/cbrt_fx__merge_13.mcfunction +4 -0
  1614. package/dist/data/test/function/cbrt_fx__merge_4.mcfunction +2 -0
  1615. package/dist/data/test/function/cbrt_fx__merge_9.mcfunction +13 -0
  1616. package/dist/data/test/function/cbrt_fx__then_0.mcfunction +2 -0
  1617. package/dist/data/test/function/cbrt_fx__then_10.mcfunction +2 -0
  1618. package/dist/data/test/function/cbrt_fx__then_12.mcfunction +2 -0
  1619. package/dist/data/test/function/cbrt_fx__then_3.mcfunction +2 -0
  1620. package/dist/data/test/function/cbrt_fx__then_8.mcfunction +2 -0
  1621. package/dist/data/test/function/cbrt_newton.mcfunction +5 -0
  1622. package/dist/data/test/function/cbrt_newton__else_7.mcfunction +2 -0
  1623. package/dist/data/test/function/cbrt_newton__merge_1.mcfunction +11 -0
  1624. package/dist/data/test/function/cbrt_newton__merge_4.mcfunction +1 -0
  1625. package/dist/data/test/function/cbrt_newton__merge_6.mcfunction +1 -0
  1626. package/dist/data/test/function/cbrt_newton__then_0.mcfunction +2 -0
  1627. package/dist/data/test/function/cbrt_newton__then_3.mcfunction +17 -0
  1628. package/dist/data/test/function/cbrt_newton__then_5.mcfunction +11 -0
  1629. package/dist/data/test/function/ceil_div.mcfunction +9 -0
  1630. package/dist/data/test/function/chebyshev.mcfunction +14 -0
  1631. package/dist/data/test/function/chebyshev3d.mcfunction +19 -0
  1632. package/dist/data/test/function/chebyshev3d__merge_1.mcfunction +4 -0
  1633. package/dist/data/test/function/chebyshev3d__merge_3.mcfunction +4 -0
  1634. package/dist/data/test/function/chebyshev3d__merge_5.mcfunction +4 -0
  1635. package/dist/data/test/function/chebyshev3d__merge_7.mcfunction +3 -0
  1636. package/dist/data/test/function/chebyshev3d__merge_9.mcfunction +1 -0
  1637. package/dist/data/test/function/chebyshev3d__then_0.mcfunction +4 -0
  1638. package/dist/data/test/function/chebyshev3d__then_2.mcfunction +4 -0
  1639. package/dist/data/test/function/chebyshev3d__then_4.mcfunction +4 -0
  1640. package/dist/data/test/function/chebyshev3d__then_6.mcfunction +2 -0
  1641. package/dist/data/test/function/chebyshev3d__then_8.mcfunction +2 -0
  1642. package/dist/data/test/function/chebyshev__merge_1.mcfunction +4 -0
  1643. package/dist/data/test/function/chebyshev__merge_3.mcfunction +3 -0
  1644. package/dist/data/test/function/chebyshev__merge_5.mcfunction +1 -0
  1645. package/dist/data/test/function/chebyshev__then_0.mcfunction +4 -0
  1646. package/dist/data/test/function/chebyshev__then_2.mcfunction +4 -0
  1647. package/dist/data/test/function/chebyshev__then_4.mcfunction +1 -0
  1648. package/dist/data/test/function/check_holding_item.mcfunction +1 -0
  1649. package/dist/data/test/function/check_look_down.mcfunction +1 -0
  1650. package/dist/data/test/function/check_look_down__foreach_t0.mcfunction +2 -0
  1651. package/dist/data/test/function/check_look_straight.mcfunction +1 -0
  1652. package/dist/data/test/function/check_look_straight__foreach_t0.mcfunction +2 -0
  1653. package/dist/data/test/function/check_look_up.mcfunction +1 -0
  1654. package/dist/data/test/function/check_look_up__foreach_t0.mcfunction +2 -0
  1655. package/dist/data/test/function/chunk_hi.mcfunction +5 -0
  1656. package/dist/data/test/function/chunk_lo.mcfunction +5 -0
  1657. package/dist/data/test/function/circular_x.mcfunction +14 -0
  1658. package/dist/data/test/function/circular_z.mcfunction +14 -0
  1659. package/dist/data/test/function/clamp3.mcfunction +7 -0
  1660. package/dist/data/test/function/clamp3__merge_1.mcfunction +4 -0
  1661. package/dist/data/test/function/clamp3__merge_4.mcfunction +1 -0
  1662. package/dist/data/test/function/clamp3__then_0.mcfunction +1 -0
  1663. package/dist/data/test/function/clamp3__then_3.mcfunction +1 -0
  1664. package/dist/data/test/function/clamp_circle_x.mcfunction +13 -0
  1665. package/dist/data/test/function/clamp_circle_x__merge_1.mcfunction +10 -0
  1666. package/dist/data/test/function/clamp_circle_x__then_0.mcfunction +1 -0
  1667. package/dist/data/test/function/clamp_circle_y.mcfunction +13 -0
  1668. package/dist/data/test/function/clamp_circle_y__merge_1.mcfunction +10 -0
  1669. package/dist/data/test/function/clamp_circle_y__then_0.mcfunction +1 -0
  1670. package/dist/data/test/function/clamp_velocity.mcfunction +5 -0
  1671. package/dist/data/test/function/clamp_velocity__merge_1.mcfunction +5 -0
  1672. package/dist/data/test/function/clamp_velocity__merge_4.mcfunction +1 -0
  1673. package/dist/data/test/function/clamp_velocity__then_0.mcfunction +1 -0
  1674. package/dist/data/test/function/clamp_velocity__then_3.mcfunction +3 -0
  1675. package/dist/data/test/function/cleanup_teams.mcfunction +8 -0
  1676. package/dist/data/test/function/clear_area.mcfunction +1 -0
  1677. package/dist/data/test/function/clear_effect.mcfunction +1 -0
  1678. package/dist/data/test/function/clear_effects.mcfunction +1 -0
  1679. package/dist/data/test/function/clear_inventory.mcfunction +1 -0
  1680. package/dist/data/test/function/collatz_steps.mcfunction +5 -0
  1681. package/dist/data/test/function/collatz_steps__else_8.mcfunction +6 -0
  1682. package/dist/data/test/function/collatz_steps__loop_body_4.mcfunction +7 -0
  1683. package/dist/data/test/function/collatz_steps__loop_exit_5.mcfunction +1 -0
  1684. package/dist/data/test/function/collatz_steps__loop_header_3.mcfunction +4 -0
  1685. package/dist/data/test/function/collatz_steps__merge_1.mcfunction +3 -0
  1686. package/dist/data/test/function/collatz_steps__merge_7.mcfunction +4 -0
  1687. package/dist/data/test/function/collatz_steps__then_0.mcfunction +2 -0
  1688. package/dist/data/test/function/collatz_steps__then_6.mcfunction +5 -0
  1689. package/dist/data/test/function/combinations.mcfunction +6 -0
  1690. package/dist/data/test/function/combinations__loop_body_9.mcfunction +15 -0
  1691. package/dist/data/test/function/combinations__loop_exit_10.mcfunction +1 -0
  1692. package/dist/data/test/function/combinations__loop_header_8.mcfunction +3 -0
  1693. package/dist/data/test/function/combinations__merge_1.mcfunction +3 -0
  1694. package/dist/data/test/function/combinations__merge_4.mcfunction +6 -0
  1695. package/dist/data/test/function/combinations__merge_7.mcfunction +3 -0
  1696. package/dist/data/test/function/combinations__then_0.mcfunction +2 -0
  1697. package/dist/data/test/function/combinations__then_3.mcfunction +2 -0
  1698. package/dist/data/test/function/combinations__then_6.mcfunction +4 -0
  1699. package/dist/data/test/function/cooldown_ready.mcfunction +7 -0
  1700. package/dist/data/test/function/cooldown_ready__merge_1.mcfunction +4 -0
  1701. package/dist/data/test/function/cooldown_ready__merge_4.mcfunction +2 -0
  1702. package/dist/data/test/function/cooldown_ready__then_0.mcfunction +2 -0
  1703. package/dist/data/test/function/cooldown_ready__then_3.mcfunction +2 -0
  1704. package/dist/data/test/function/cooldown_start.mcfunction +3 -0
  1705. package/dist/data/test/function/cooldown_tick.mcfunction +7 -0
  1706. package/dist/data/test/function/cooldown_tick__else_5.mcfunction +2 -0
  1707. package/dist/data/test/function/cooldown_tick__merge_1.mcfunction +4 -0
  1708. package/dist/data/test/function/cooldown_tick__merge_4.mcfunction +1 -0
  1709. package/dist/data/test/function/cooldown_tick__merge_7.mcfunction +1 -0
  1710. package/dist/data/test/function/cooldown_tick__then_0.mcfunction +1 -0
  1711. package/dist/data/test/function/cooldown_tick__then_3.mcfunction +7 -0
  1712. package/dist/data/test/function/cooldown_tick__then_6.mcfunction +2 -0
  1713. package/dist/data/test/function/cos_fixed.mcfunction +7 -0
  1714. package/dist/data/test/function/cos_fixed__const_0.mcfunction +5 -0
  1715. package/dist/data/test/function/cos_hp.mcfunction +8 -0
  1716. package/dist/data/test/function/count_digits.mcfunction +6 -0
  1717. package/dist/data/test/function/count_digits__loop_body_6.mcfunction +8 -0
  1718. package/dist/data/test/function/count_digits__loop_exit_7.mcfunction +1 -0
  1719. package/dist/data/test/function/count_digits__loop_header_5.mcfunction +4 -0
  1720. package/dist/data/test/function/count_digits__merge_1.mcfunction +4 -0
  1721. package/dist/data/test/function/count_digits__merge_3.mcfunction +2 -0
  1722. package/dist/data/test/function/count_digits__then_0.mcfunction +4 -0
  1723. package/dist/data/test/function/count_digits__then_2.mcfunction +2 -0
  1724. package/dist/data/test/function/create_blue_team.mcfunction +10 -0
  1725. package/dist/data/test/function/create_green_team.mcfunction +10 -0
  1726. package/dist/data/test/function/create_health_bar.mcfunction +24 -0
  1727. package/dist/data/test/function/create_progress_bar.mcfunction +24 -0
  1728. package/dist/data/test/function/create_red_team.mcfunction +10 -0
  1729. package/dist/data/test/function/create_team.mcfunction +8 -0
  1730. package/dist/data/test/function/create_timer_bar.mcfunction +30 -0
  1731. package/dist/data/test/function/create_yellow_team.mcfunction +10 -0
  1732. package/dist/data/test/function/cross2d.mcfunction +11 -0
  1733. package/dist/data/test/function/cross3d_x.mcfunction +11 -0
  1734. package/dist/data/test/function/cross3d_y.mcfunction +11 -0
  1735. package/dist/data/test/function/cross3d_z.mcfunction +11 -0
  1736. package/dist/data/test/function/cubic_disc_fx.mcfunction +26 -0
  1737. package/dist/data/test/function/cubic_newton.mcfunction +8 -0
  1738. package/dist/data/test/function/cubic_newton__loop_body_1.mcfunction +55 -0
  1739. package/dist/data/test/function/cubic_newton__loop_exit_2.mcfunction +1 -0
  1740. package/dist/data/test/function/cubic_newton__loop_header_0.mcfunction +4 -0
  1741. package/dist/data/test/function/cubic_newton__merge_10.mcfunction +1 -0
  1742. package/dist/data/test/function/cubic_newton__merge_4.mcfunction +4 -0
  1743. package/dist/data/test/function/cubic_newton__merge_6.mcfunction +4 -0
  1744. package/dist/data/test/function/cubic_newton__merge_8.mcfunction +4 -0
  1745. package/dist/data/test/function/cubic_newton__then_3.mcfunction +2 -0
  1746. package/dist/data/test/function/cubic_newton__then_5.mcfunction +13 -0
  1747. package/dist/data/test/function/cubic_newton__then_7.mcfunction +4 -0
  1748. package/dist/data/test/function/cubic_newton__then_9.mcfunction +2 -0
  1749. package/dist/data/test/function/curve_length_2d.mcfunction +6 -0
  1750. package/dist/data/test/function/curve_length_2d__loop_body_1.mcfunction +32 -0
  1751. package/dist/data/test/function/curve_length_2d__loop_exit_2.mcfunction +1 -0
  1752. package/dist/data/test/function/curve_length_2d__loop_header_0.mcfunction +5 -0
  1753. package/dist/data/test/function/cylinder_contains.mcfunction +20 -0
  1754. package/dist/data/test/function/cylinder_contains__merge_1.mcfunction +2 -0
  1755. package/dist/data/test/function/cylinder_contains__then_0.mcfunction +2 -0
  1756. package/dist/data/test/function/damage.mcfunction +9 -0
  1757. package/dist/data/test/function/damage__else_2.mcfunction +2 -0
  1758. package/dist/data/test/function/damage__merge_1.mcfunction +1 -0
  1759. package/dist/data/test/function/damage__then_0.mcfunction +2 -0
  1760. package/dist/data/test/function/debug_bigint.mcfunction +25 -0
  1761. package/dist/data/test/function/deriv_central.mcfunction +7 -0
  1762. package/dist/data/test/function/deriv_central__merge_1.mcfunction +10 -0
  1763. package/dist/data/test/function/deriv_central__then_0.mcfunction +2 -0
  1764. package/dist/data/test/function/deriv_forward.mcfunction +7 -0
  1765. package/dist/data/test/function/deriv_forward__merge_1.mcfunction +8 -0
  1766. package/dist/data/test/function/deriv_forward__then_0.mcfunction +2 -0
  1767. package/dist/data/test/function/digit_sum.mcfunction +6 -0
  1768. package/dist/data/test/function/digit_sum__loop_body_6.mcfunction +11 -0
  1769. package/dist/data/test/function/digit_sum__loop_exit_7.mcfunction +1 -0
  1770. package/dist/data/test/function/digit_sum__loop_header_5.mcfunction +4 -0
  1771. package/dist/data/test/function/digit_sum__merge_1.mcfunction +4 -0
  1772. package/dist/data/test/function/digit_sum__merge_3.mcfunction +2 -0
  1773. package/dist/data/test/function/digit_sum__then_0.mcfunction +4 -0
  1774. package/dist/data/test/function/digit_sum__then_2.mcfunction +2 -0
  1775. package/dist/data/test/function/digital_root.mcfunction +5 -0
  1776. package/dist/data/test/function/digital_root__merge_1.mcfunction +8 -0
  1777. package/dist/data/test/function/digital_root__merge_4.mcfunction +1 -0
  1778. package/dist/data/test/function/digital_root__then_0.mcfunction +2 -0
  1779. package/dist/data/test/function/digital_root__then_3.mcfunction +2 -0
  1780. package/dist/data/test/function/disable_fire_spread.mcfunction +1 -0
  1781. package/dist/data/test/function/disable_keep_inventory.mcfunction +1 -0
  1782. package/dist/data/test/function/disable_mob_griefing.mcfunction +1 -0
  1783. package/dist/data/test/function/distance2d_fixed.mcfunction +13 -0
  1784. package/dist/data/test/function/distance3d_fixed.mcfunction +18 -0
  1785. package/dist/data/test/function/div3_hp.mcfunction +23 -0
  1786. package/dist/data/test/function/div_hp.mcfunction +13 -0
  1787. package/dist/data/test/function/divfix.mcfunction +6 -0
  1788. package/dist/data/test/function/divfix__merge_1.mcfunction +6 -0
  1789. package/dist/data/test/function/divfix__then_0.mcfunction +2 -0
  1790. package/dist/data/test/function/dot2d.mcfunction +11 -0
  1791. package/dist/data/test/function/dot3d.mcfunction +17 -0
  1792. package/dist/data/test/function/draw_circle.mcfunction +8 -0
  1793. package/dist/data/test/function/draw_circle__loop_body_1.mcfunction +34 -0
  1794. package/dist/data/test/function/draw_circle__loop_exit_2.mcfunction +1 -0
  1795. package/dist/data/test/function/draw_circle__loop_header_0.mcfunction +3 -0
  1796. package/dist/data/test/function/draw_helix.mcfunction +10 -0
  1797. package/dist/data/test/function/draw_helix__loop_body_1.mcfunction +42 -0
  1798. package/dist/data/test/function/draw_helix__loop_exit_2.mcfunction +1 -0
  1799. package/dist/data/test/function/draw_helix__loop_header_0.mcfunction +3 -0
  1800. package/dist/data/test/function/draw_line_2d.mcfunction +9 -0
  1801. package/dist/data/test/function/draw_line_2d__loop_body_1.mcfunction +34 -0
  1802. package/dist/data/test/function/draw_line_2d__loop_exit_2.mcfunction +1 -0
  1803. package/dist/data/test/function/draw_line_2d__loop_header_0.mcfunction +3 -0
  1804. package/dist/data/test/function/dump_advanced.mcfunction +1 -0
  1805. package/dist/data/test/function/dump_bigint.mcfunction +1 -0
  1806. package/dist/data/test/function/dump_math.mcfunction +1 -0
  1807. package/dist/data/test/function/ease_in_back.mcfunction +26 -0
  1808. package/dist/data/test/function/ease_in_bounce.mcfunction +9 -0
  1809. package/dist/data/test/function/ease_in_cubic.mcfunction +12 -0
  1810. package/dist/data/test/function/ease_in_expo.mcfunction +5 -0
  1811. package/dist/data/test/function/ease_in_expo__merge_1.mcfunction +11 -0
  1812. package/dist/data/test/function/ease_in_expo__then_0.mcfunction +2 -0
  1813. package/dist/data/test/function/ease_in_out_back.mcfunction +5 -0
  1814. package/dist/data/test/function/ease_in_out_back__merge_1.mcfunction +14 -0
  1815. package/dist/data/test/function/ease_in_out_back__then_0.mcfunction +10 -0
  1816. package/dist/data/test/function/ease_in_out_bounce.mcfunction +5 -0
  1817. package/dist/data/test/function/ease_in_out_bounce__merge_1.mcfunction +14 -0
  1818. package/dist/data/test/function/ease_in_out_bounce__then_0.mcfunction +10 -0
  1819. package/dist/data/test/function/ease_in_out_cubic.mcfunction +5 -0
  1820. package/dist/data/test/function/ease_in_out_cubic__merge_1.mcfunction +17 -0
  1821. package/dist/data/test/function/ease_in_out_cubic__then_0.mcfunction +13 -0
  1822. package/dist/data/test/function/ease_in_out_quad.mcfunction +5 -0
  1823. package/dist/data/test/function/ease_in_out_quad__merge_1.mcfunction +12 -0
  1824. package/dist/data/test/function/ease_in_out_quad__then_0.mcfunction +8 -0
  1825. package/dist/data/test/function/ease_in_out_sine.mcfunction +5 -0
  1826. package/dist/data/test/function/ease_in_out_sine__merge_1.mcfunction +14 -0
  1827. package/dist/data/test/function/ease_in_out_sine__then_0.mcfunction +10 -0
  1828. package/dist/data/test/function/ease_in_quad.mcfunction +7 -0
  1829. package/dist/data/test/function/ease_in_quart.mcfunction +12 -0
  1830. package/dist/data/test/function/ease_in_sine.mcfunction +30 -0
  1831. package/dist/data/test/function/ease_linear.mcfunction +2 -0
  1832. package/dist/data/test/function/ease_out_back.mcfunction +9 -0
  1833. package/dist/data/test/function/ease_out_bounce.mcfunction +6 -0
  1834. package/dist/data/test/function/ease_out_bounce__merge_1.mcfunction +4 -0
  1835. package/dist/data/test/function/ease_out_bounce__merge_4.mcfunction +4 -0
  1836. package/dist/data/test/function/ease_out_bounce__merge_7.mcfunction +15 -0
  1837. package/dist/data/test/function/ease_out_bounce__then_0.mcfunction +11 -0
  1838. package/dist/data/test/function/ease_out_bounce__then_3.mcfunction +15 -0
  1839. package/dist/data/test/function/ease_out_bounce__then_6.mcfunction +15 -0
  1840. package/dist/data/test/function/ease_out_cubic.mcfunction +16 -0
  1841. package/dist/data/test/function/ease_out_expo.mcfunction +5 -0
  1842. package/dist/data/test/function/ease_out_expo__merge_1.mcfunction +8 -0
  1843. package/dist/data/test/function/ease_out_expo__then_0.mcfunction +2 -0
  1844. package/dist/data/test/function/ease_out_quad.mcfunction +11 -0
  1845. package/dist/data/test/function/ease_out_quart.mcfunction +16 -0
  1846. package/dist/data/test/function/ease_out_sine.mcfunction +9 -0
  1847. package/dist/data/test/function/ease_smooth.mcfunction +23 -0
  1848. package/dist/data/test/function/ease_smoother.mcfunction +41 -0
  1849. package/dist/data/test/function/enable_keep_inventory.mcfunction +1 -0
  1850. package/dist/data/test/function/end_sparkles_at.mcfunction +1 -0
  1851. package/dist/data/test/function/enemy_health.mcfunction +2 -0
  1852. package/dist/data/test/function/example_right_click.mcfunction +1 -0
  1853. package/dist/data/test/function/example_right_click__foreach_t0.mcfunction +5 -0
  1854. package/dist/data/test/function/example_right_click__foreach_t0__merge_1.mcfunction +1 -0
  1855. package/dist/data/test/function/example_right_click__foreach_t0__then_0.mcfunction +3 -0
  1856. package/dist/data/test/function/exp_dist_approx.mcfunction +12 -0
  1857. package/dist/data/test/function/exp_dist_approx__merge_1.mcfunction +15 -0
  1858. package/dist/data/test/function/exp_dist_approx__merge_3.mcfunction +10 -0
  1859. package/dist/data/test/function/exp_dist_approx__merge_5.mcfunction +1 -0
  1860. package/dist/data/test/function/exp_dist_approx__then_0.mcfunction +4 -0
  1861. package/dist/data/test/function/exp_dist_approx__then_2.mcfunction +2 -0
  1862. package/dist/data/test/function/exp_dist_approx__then_4.mcfunction +2 -0
  1863. package/dist/data/test/function/exp_fx.mcfunction +16 -0
  1864. package/dist/data/test/function/exp_fx__loop_body_10.mcfunction +8 -0
  1865. package/dist/data/test/function/exp_fx__loop_body_5.mcfunction +8 -0
  1866. package/dist/data/test/function/exp_fx__loop_exit_11.mcfunction +1 -0
  1867. package/dist/data/test/function/exp_fx__loop_exit_6.mcfunction +1 -0
  1868. package/dist/data/test/function/exp_fx__loop_header_4.mcfunction +3 -0
  1869. package/dist/data/test/function/exp_fx__loop_header_9.mcfunction +3 -0
  1870. package/dist/data/test/function/exp_fx__merge_1.mcfunction +47 -0
  1871. package/dist/data/test/function/exp_fx__merge_3.mcfunction +4 -0
  1872. package/dist/data/test/function/exp_fx__merge_8.mcfunction +1 -0
  1873. package/dist/data/test/function/exp_fx__then_0.mcfunction +7 -0
  1874. package/dist/data/test/function/exp_fx__then_2.mcfunction +2 -0
  1875. package/dist/data/test/function/exp_fx__then_7.mcfunction +5 -0
  1876. package/dist/data/test/function/explosion_effect.mcfunction +1 -0
  1877. package/dist/data/test/function/factorial.mcfunction +5 -0
  1878. package/dist/data/test/function/factorial__loop_body_4.mcfunction +7 -0
  1879. package/dist/data/test/function/factorial__loop_exit_5.mcfunction +1 -0
  1880. package/dist/data/test/function/factorial__loop_header_3.mcfunction +3 -0
  1881. package/dist/data/test/function/factorial__merge_1.mcfunction +3 -0
  1882. package/dist/data/test/function/factorial__then_0.mcfunction +2 -0
  1883. package/dist/data/test/function/fbm_1d.mcfunction +9 -0
  1884. package/dist/data/test/function/fbm_1d__loop_body_1.mcfunction +33 -0
  1885. package/dist/data/test/function/fbm_1d__loop_exit_2.mcfunction +4 -0
  1886. package/dist/data/test/function/fbm_1d__loop_header_0.mcfunction +3 -0
  1887. package/dist/data/test/function/fbm_1d__merge_4.mcfunction +6 -0
  1888. package/dist/data/test/function/fbm_1d__then_3.mcfunction +2 -0
  1889. package/dist/data/test/function/fbm_2d.mcfunction +10 -0
  1890. package/dist/data/test/function/fbm_2d__loop_body_1.mcfunction +39 -0
  1891. package/dist/data/test/function/fbm_2d__loop_exit_2.mcfunction +4 -0
  1892. package/dist/data/test/function/fbm_2d__loop_header_0.mcfunction +3 -0
  1893. package/dist/data/test/function/fbm_2d__merge_4.mcfunction +6 -0
  1894. package/dist/data/test/function/fbm_2d__then_3.mcfunction +2 -0
  1895. package/dist/data/test/function/fib.mcfunction +5 -0
  1896. package/dist/data/test/function/fib__loop_body_7.mcfunction +8 -0
  1897. package/dist/data/test/function/fib__loop_exit_8.mcfunction +1 -0
  1898. package/dist/data/test/function/fib__loop_header_6.mcfunction +3 -0
  1899. package/dist/data/test/function/fib__merge_1.mcfunction +4 -0
  1900. package/dist/data/test/function/fib__merge_4.mcfunction +4 -0
  1901. package/dist/data/test/function/fib__then_0.mcfunction +2 -0
  1902. package/dist/data/test/function/fib__then_3.mcfunction +2 -0
  1903. package/dist/data/test/function/flames.mcfunction +1 -0
  1904. package/dist/data/test/function/format_time_h.mcfunction +5 -0
  1905. package/dist/data/test/function/format_time_m.mcfunction +8 -0
  1906. package/dist/data/test/function/format_time_s.mcfunction +8 -0
  1907. package/dist/data/test/function/friction_decel.mcfunction +5 -0
  1908. package/dist/data/test/function/friction_decel__merge_1.mcfunction +5 -0
  1909. package/dist/data/test/function/friction_decel__merge_4.mcfunction +2 -0
  1910. package/dist/data/test/function/friction_decel__then_0.mcfunction +3 -0
  1911. package/dist/data/test/function/friction_decel__then_3.mcfunction +3 -0
  1912. package/dist/data/test/function/gamma_int.mcfunction +5 -0
  1913. package/dist/data/test/function/gamma_int__merge_1.mcfunction +6 -0
  1914. package/dist/data/test/function/gamma_int__then_0.mcfunction +2 -0
  1915. package/dist/data/test/function/gather_all.mcfunction +8 -0
  1916. package/dist/data/test/function/gcd.mcfunction +7 -0
  1917. package/dist/data/test/function/gcd__loop_body_5.mcfunction +5 -0
  1918. package/dist/data/test/function/gcd__loop_exit_6.mcfunction +1 -0
  1919. package/dist/data/test/function/gcd__loop_header_4.mcfunction +4 -0
  1920. package/dist/data/test/function/gcd__merge_1.mcfunction +5 -0
  1921. package/dist/data/test/function/gcd__merge_3.mcfunction +1 -0
  1922. package/dist/data/test/function/gcd__then_0.mcfunction +4 -0
  1923. package/dist/data/test/function/gcd__then_2.mcfunction +4 -0
  1924. package/dist/data/test/function/give_kit_archer.mcfunction +6 -0
  1925. package/dist/data/test/function/give_kit_mage.mcfunction +5 -0
  1926. package/dist/data/test/function/give_kit_warrior.mcfunction +6 -0
  1927. package/dist/data/test/function/glass_box.mcfunction +2 -0
  1928. package/dist/data/test/function/glow.mcfunction +1 -0
  1929. package/dist/data/test/function/goto_arena.mcfunction +7 -0
  1930. package/dist/data/test/function/goto_lobby.mcfunction +7 -0
  1931. package/dist/data/test/function/gravity_fx.mcfunction +2 -0
  1932. package/dist/data/test/function/happy_at.mcfunction +1 -0
  1933. package/dist/data/test/function/hash_1d.mcfunction +15 -0
  1934. package/dist/data/test/function/hash_1d_pos.mcfunction +9 -0
  1935. package/dist/data/test/function/hash_1d_pos__merge_1.mcfunction +4 -0
  1936. package/dist/data/test/function/hash_1d_pos__then_0.mcfunction +4 -0
  1937. package/dist/data/test/function/hash_2d.mcfunction +11 -0
  1938. package/dist/data/test/function/hash_2d_pos.mcfunction +11 -0
  1939. package/dist/data/test/function/hash_2d_pos__merge_1.mcfunction +4 -0
  1940. package/dist/data/test/function/hash_2d_pos__then_0.mcfunction +4 -0
  1941. package/dist/data/test/function/hash_int.mcfunction +6 -0
  1942. package/dist/data/test/function/hash_int__merge_1.mcfunction +14 -0
  1943. package/dist/data/test/function/hash_int__merge_3.mcfunction +14 -0
  1944. package/dist/data/test/function/hash_int__merge_5.mcfunction +1 -0
  1945. package/dist/data/test/function/hash_int__then_0.mcfunction +4 -0
  1946. package/dist/data/test/function/hash_int__then_2.mcfunction +4 -0
  1947. package/dist/data/test/function/hash_int__then_4.mcfunction +4 -0
  1948. package/dist/data/test/function/heal.mcfunction +5 -0
  1949. package/dist/data/test/function/heap_new.mcfunction +7 -0
  1950. package/dist/data/test/function/heap_new__loop_body_1.mcfunction +7 -0
  1951. package/dist/data/test/function/heap_new__loop_exit_2.mcfunction +1 -0
  1952. package/dist/data/test/function/heap_new__loop_header_0.mcfunction +4 -0
  1953. package/dist/data/test/function/heap_peek.mcfunction +2 -0
  1954. package/dist/data/test/function/heap_pop.mcfunction +4 -0
  1955. package/dist/data/test/function/heap_pop__else_13.mcfunction +2 -0
  1956. package/dist/data/test/function/heap_pop__loop_body_1.mcfunction +14 -0
  1957. package/dist/data/test/function/heap_pop__loop_exit_2.mcfunction +1 -0
  1958. package/dist/data/test/function/heap_pop__loop_header_0.mcfunction +4 -0
  1959. package/dist/data/test/function/heap_pop__merge_10.mcfunction +1 -0
  1960. package/dist/data/test/function/heap_pop__merge_12.mcfunction +1 -0
  1961. package/dist/data/test/function/heap_pop__merge_4.mcfunction +3 -0
  1962. package/dist/data/test/function/heap_pop__merge_6.mcfunction +1 -0
  1963. package/dist/data/test/function/heap_pop__merge_8.mcfunction +3 -0
  1964. package/dist/data/test/function/heap_pop__then_11.mcfunction +2 -0
  1965. package/dist/data/test/function/heap_pop__then_3.mcfunction +3 -0
  1966. package/dist/data/test/function/heap_pop__then_5.mcfunction +2 -0
  1967. package/dist/data/test/function/heap_pop__then_7.mcfunction +3 -0
  1968. package/dist/data/test/function/heap_pop__then_9.mcfunction +2 -0
  1969. package/dist/data/test/function/heap_push.mcfunction +6 -0
  1970. package/dist/data/test/function/heap_push__else_5.mcfunction +2 -0
  1971. package/dist/data/test/function/heap_push__else_8.mcfunction +2 -0
  1972. package/dist/data/test/function/heap_push__loop_body_1.mcfunction +4 -0
  1973. package/dist/data/test/function/heap_push__loop_exit_2.mcfunction +1 -0
  1974. package/dist/data/test/function/heap_push__loop_header_0.mcfunction +4 -0
  1975. package/dist/data/test/function/heap_push__merge_4.mcfunction +1 -0
  1976. package/dist/data/test/function/heap_push__merge_7.mcfunction +1 -0
  1977. package/dist/data/test/function/heap_push__then_3.mcfunction +7 -0
  1978. package/dist/data/test/function/heap_push__then_6.mcfunction +2 -0
  1979. package/dist/data/test/function/heap_size.mcfunction +2 -0
  1980. package/dist/data/test/function/hearts_at.mcfunction +1 -0
  1981. package/dist/data/test/function/hide_bar.mcfunction +4 -0
  1982. package/dist/data/test/function/hsl_to_b.mcfunction +23 -0
  1983. package/dist/data/test/function/hsl_to_b__merge_1.mcfunction +29 -0
  1984. package/dist/data/test/function/hsl_to_b__merge_12.mcfunction +4 -0
  1985. package/dist/data/test/function/hsl_to_b__merge_15.mcfunction +3 -0
  1986. package/dist/data/test/function/hsl_to_b__merge_3.mcfunction +4 -0
  1987. package/dist/data/test/function/hsl_to_b__merge_6.mcfunction +4 -0
  1988. package/dist/data/test/function/hsl_to_b__merge_9.mcfunction +4 -0
  1989. package/dist/data/test/function/hsl_to_b__then_0.mcfunction +4 -0
  1990. package/dist/data/test/function/hsl_to_b__then_11.mcfunction +3 -0
  1991. package/dist/data/test/function/hsl_to_b__then_14.mcfunction +3 -0
  1992. package/dist/data/test/function/hsl_to_b__then_2.mcfunction +1 -0
  1993. package/dist/data/test/function/hsl_to_b__then_5.mcfunction +1 -0
  1994. package/dist/data/test/function/hsl_to_b__then_8.mcfunction +3 -0
  1995. package/dist/data/test/function/hsl_to_g.mcfunction +23 -0
  1996. package/dist/data/test/function/hsl_to_g__merge_1.mcfunction +29 -0
  1997. package/dist/data/test/function/hsl_to_g__merge_12.mcfunction +4 -0
  1998. package/dist/data/test/function/hsl_to_g__merge_15.mcfunction +1 -0
  1999. package/dist/data/test/function/hsl_to_g__merge_3.mcfunction +4 -0
  2000. package/dist/data/test/function/hsl_to_g__merge_6.mcfunction +4 -0
  2001. package/dist/data/test/function/hsl_to_g__merge_9.mcfunction +4 -0
  2002. package/dist/data/test/function/hsl_to_g__then_0.mcfunction +4 -0
  2003. package/dist/data/test/function/hsl_to_g__then_11.mcfunction +3 -0
  2004. package/dist/data/test/function/hsl_to_g__then_14.mcfunction +1 -0
  2005. package/dist/data/test/function/hsl_to_g__then_2.mcfunction +3 -0
  2006. package/dist/data/test/function/hsl_to_g__then_5.mcfunction +3 -0
  2007. package/dist/data/test/function/hsl_to_g__then_8.mcfunction +3 -0
  2008. package/dist/data/test/function/hsl_to_packed.mcfunction +24 -0
  2009. package/dist/data/test/function/hsl_to_r.mcfunction +23 -0
  2010. package/dist/data/test/function/hsl_to_r__merge_1.mcfunction +29 -0
  2011. package/dist/data/test/function/hsl_to_r__merge_12.mcfunction +4 -0
  2012. package/dist/data/test/function/hsl_to_r__merge_15.mcfunction +3 -0
  2013. package/dist/data/test/function/hsl_to_r__merge_3.mcfunction +4 -0
  2014. package/dist/data/test/function/hsl_to_r__merge_6.mcfunction +4 -0
  2015. package/dist/data/test/function/hsl_to_r__merge_9.mcfunction +4 -0
  2016. package/dist/data/test/function/hsl_to_r__then_0.mcfunction +4 -0
  2017. package/dist/data/test/function/hsl_to_r__then_11.mcfunction +1 -0
  2018. package/dist/data/test/function/hsl_to_r__then_14.mcfunction +3 -0
  2019. package/dist/data/test/function/hsl_to_r__then_2.mcfunction +3 -0
  2020. package/dist/data/test/function/hsl_to_r__then_5.mcfunction +3 -0
  2021. package/dist/data/test/function/hsl_to_r__then_8.mcfunction +1 -0
  2022. package/dist/data/test/function/impact_velocity.mcfunction +5 -0
  2023. package/dist/data/test/function/impact_velocity__merge_1.mcfunction +16 -0
  2024. package/dist/data/test/function/impact_velocity__then_0.mcfunction +2 -0
  2025. package/dist/data/test/function/init_div.mcfunction +1 -0
  2026. package/dist/data/test/function/init_trig.mcfunction +1 -0
  2027. package/dist/data/test/function/insertion_sort.mcfunction +4 -0
  2028. package/dist/data/test/function/insertion_sort__else_11.mcfunction +2 -0
  2029. package/dist/data/test/function/insertion_sort__else_8.mcfunction +2 -0
  2030. package/dist/data/test/function/insertion_sort__loop_body_1.mcfunction +6 -0
  2031. package/dist/data/test/function/insertion_sort__loop_body_4.mcfunction +4 -0
  2032. package/dist/data/test/function/insertion_sort__loop_exit_2.mcfunction +1 -0
  2033. package/dist/data/test/function/insertion_sort__loop_exit_5.mcfunction +4 -0
  2034. package/dist/data/test/function/insertion_sort__loop_header_0.mcfunction +3 -0
  2035. package/dist/data/test/function/insertion_sort__loop_header_3.mcfunction +4 -0
  2036. package/dist/data/test/function/insertion_sort__merge_10.mcfunction +1 -0
  2037. package/dist/data/test/function/insertion_sort__merge_7.mcfunction +1 -0
  2038. package/dist/data/test/function/insertion_sort__then_6.mcfunction +3 -0
  2039. package/dist/data/test/function/insertion_sort__then_9.mcfunction +4 -0
  2040. package/dist/data/test/function/insertion_sort_desc.mcfunction +4 -0
  2041. package/dist/data/test/function/insertion_sort_desc__else_11.mcfunction +2 -0
  2042. package/dist/data/test/function/insertion_sort_desc__else_8.mcfunction +2 -0
  2043. package/dist/data/test/function/insertion_sort_desc__loop_body_1.mcfunction +6 -0
  2044. package/dist/data/test/function/insertion_sort_desc__loop_body_4.mcfunction +4 -0
  2045. package/dist/data/test/function/insertion_sort_desc__loop_exit_2.mcfunction +1 -0
  2046. package/dist/data/test/function/insertion_sort_desc__loop_exit_5.mcfunction +4 -0
  2047. package/dist/data/test/function/insertion_sort_desc__loop_header_0.mcfunction +3 -0
  2048. package/dist/data/test/function/insertion_sort_desc__loop_header_3.mcfunction +4 -0
  2049. package/dist/data/test/function/insertion_sort_desc__merge_10.mcfunction +1 -0
  2050. package/dist/data/test/function/insertion_sort_desc__merge_7.mcfunction +1 -0
  2051. package/dist/data/test/function/insertion_sort_desc__then_6.mcfunction +3 -0
  2052. package/dist/data/test/function/insertion_sort_desc__then_9.mcfunction +4 -0
  2053. package/dist/data/test/function/int32_to_bigint3_hi.mcfunction +5 -0
  2054. package/dist/data/test/function/int32_to_bigint3_hi__merge_1.mcfunction +4 -0
  2055. package/dist/data/test/function/int32_to_bigint3_hi__then_0.mcfunction +4 -0
  2056. package/dist/data/test/function/int32_to_bigint3_lo.mcfunction +5 -0
  2057. package/dist/data/test/function/int32_to_bigint3_lo__merge_1.mcfunction +4 -0
  2058. package/dist/data/test/function/int32_to_bigint3_lo__then_0.mcfunction +4 -0
  2059. package/dist/data/test/function/int32_to_bigint3_mid.mcfunction +5 -0
  2060. package/dist/data/test/function/int32_to_bigint3_mid__merge_1.mcfunction +7 -0
  2061. package/dist/data/test/function/int32_to_bigint3_mid__then_0.mcfunction +4 -0
  2062. package/dist/data/test/function/integrate_simpson.mcfunction +7 -0
  2063. package/dist/data/test/function/integrate_simpson__loop_body_6.mcfunction +7 -0
  2064. package/dist/data/test/function/integrate_simpson__loop_exit_7.mcfunction +6 -0
  2065. package/dist/data/test/function/integrate_simpson__loop_header_5.mcfunction +5 -0
  2066. package/dist/data/test/function/integrate_simpson__merge_1.mcfunction +8 -0
  2067. package/dist/data/test/function/integrate_simpson__merge_11.mcfunction +4 -0
  2068. package/dist/data/test/function/integrate_simpson__merge_4.mcfunction +5 -0
  2069. package/dist/data/test/function/integrate_simpson__merge_9.mcfunction +7 -0
  2070. package/dist/data/test/function/integrate_simpson__then_0.mcfunction +6 -0
  2071. package/dist/data/test/function/integrate_simpson__then_10.mcfunction +6 -0
  2072. package/dist/data/test/function/integrate_simpson__then_3.mcfunction +4 -0
  2073. package/dist/data/test/function/integrate_simpson__then_8.mcfunction +6 -0
  2074. package/dist/data/test/function/integrate_trapezoid.mcfunction +7 -0
  2075. package/dist/data/test/function/integrate_trapezoid__loop_body_4.mcfunction +7 -0
  2076. package/dist/data/test/function/integrate_trapezoid__loop_exit_5.mcfunction +6 -0
  2077. package/dist/data/test/function/integrate_trapezoid__loop_header_3.mcfunction +5 -0
  2078. package/dist/data/test/function/integrate_trapezoid__merge_1.mcfunction +11 -0
  2079. package/dist/data/test/function/integrate_trapezoid__then_0.mcfunction +2 -0
  2080. package/dist/data/test/function/interactions_init.mcfunction +9 -0
  2081. package/dist/data/test/function/invisible.mcfunction +1 -0
  2082. package/dist/data/test/function/is_grounded.mcfunction +5 -0
  2083. package/dist/data/test/function/is_grounded__merge_1.mcfunction +2 -0
  2084. package/dist/data/test/function/is_grounded__then_0.mcfunction +2 -0
  2085. package/dist/data/test/function/is_op.mcfunction +2 -0
  2086. package/dist/data/test/function/is_op__exec_t1.mcfunction +1 -0
  2087. package/dist/data/test/function/is_prime.mcfunction +5 -0
  2088. package/dist/data/test/function/is_prime__loop_body_10.mcfunction +6 -0
  2089. package/dist/data/test/function/is_prime__loop_exit_11.mcfunction +2 -0
  2090. package/dist/data/test/function/is_prime__loop_header_9.mcfunction +5 -0
  2091. package/dist/data/test/function/is_prime__merge_1.mcfunction +4 -0
  2092. package/dist/data/test/function/is_prime__merge_13.mcfunction +4 -0
  2093. package/dist/data/test/function/is_prime__merge_4.mcfunction +7 -0
  2094. package/dist/data/test/function/is_prime__merge_7.mcfunction +2 -0
  2095. package/dist/data/test/function/is_prime__then_0.mcfunction +2 -0
  2096. package/dist/data/test/function/is_prime__then_12.mcfunction +2 -0
  2097. package/dist/data/test/function/is_prime__then_3.mcfunction +2 -0
  2098. package/dist/data/test/function/is_prime__then_6.mcfunction +2 -0
  2099. package/dist/data/test/function/is_sneaking.mcfunction +5 -0
  2100. package/dist/data/test/function/is_sneaking__merge_1.mcfunction +2 -0
  2101. package/dist/data/test/function/is_sneaking__then_0.mcfunction +2 -0
  2102. package/dist/data/test/function/isqrt.mcfunction +5 -0
  2103. package/dist/data/test/function/isqrt__loop_body_10.mcfunction +8 -0
  2104. package/dist/data/test/function/isqrt__loop_body_13.mcfunction +11 -0
  2105. package/dist/data/test/function/isqrt__loop_body_7.mcfunction +8 -0
  2106. package/dist/data/test/function/isqrt__loop_exit_11.mcfunction +2 -0
  2107. package/dist/data/test/function/isqrt__loop_exit_14.mcfunction +1 -0
  2108. package/dist/data/test/function/isqrt__loop_exit_8.mcfunction +9 -0
  2109. package/dist/data/test/function/isqrt__loop_header_12.mcfunction +4 -0
  2110. package/dist/data/test/function/isqrt__loop_header_6.mcfunction +4 -0
  2111. package/dist/data/test/function/isqrt__loop_header_9.mcfunction +3 -0
  2112. package/dist/data/test/function/isqrt__merge_1.mcfunction +4 -0
  2113. package/dist/data/test/function/isqrt__merge_16.mcfunction +5 -0
  2114. package/dist/data/test/function/isqrt__merge_4.mcfunction +3 -0
  2115. package/dist/data/test/function/isqrt__then_0.mcfunction +2 -0
  2116. package/dist/data/test/function/isqrt__then_15.mcfunction +1 -0
  2117. package/dist/data/test/function/isqrt__then_3.mcfunction +2 -0
  2118. package/dist/data/test/function/julia_iter.mcfunction +9 -0
  2119. package/dist/data/test/function/julia_iter__loop_body_1.mcfunction +36 -0
  2120. package/dist/data/test/function/julia_iter__loop_exit_2.mcfunction +1 -0
  2121. package/dist/data/test/function/julia_iter__loop_header_0.mcfunction +3 -0
  2122. package/dist/data/test/function/julia_iter__merge_4.mcfunction +4 -0
  2123. package/dist/data/test/function/julia_iter__then_3.mcfunction +1 -0
  2124. package/dist/data/test/function/jump.mcfunction +1 -0
  2125. package/dist/data/test/function/lambda_demo.mcfunction +2 -0
  2126. package/dist/data/test/function/launch_up.mcfunction +6 -0
  2127. package/dist/data/test/function/lcm.mcfunction +11 -0
  2128. package/dist/data/test/function/lcm__merge_1.mcfunction +5 -0
  2129. package/dist/data/test/function/lcm__then_0.mcfunction +2 -0
  2130. package/dist/data/test/function/length2d_fixed.mcfunction +15 -0
  2131. package/dist/data/test/function/length3d_fixed.mcfunction +20 -0
  2132. package/dist/data/test/function/lerp.mcfunction +13 -0
  2133. package/dist/data/test/function/lerp2d_x.mcfunction +13 -0
  2134. package/dist/data/test/function/lerp2d_y.mcfunction +13 -0
  2135. package/dist/data/test/function/lerp_angle.mcfunction +7 -0
  2136. package/dist/data/test/function/lerp_angle__loop_body_1.mcfunction +4 -0
  2137. package/dist/data/test/function/lerp_angle__loop_body_4.mcfunction +4 -0
  2138. package/dist/data/test/function/lerp_angle__loop_exit_2.mcfunction +1 -0
  2139. package/dist/data/test/function/lerp_angle__loop_exit_5.mcfunction +8 -0
  2140. package/dist/data/test/function/lerp_angle__loop_header_0.mcfunction +4 -0
  2141. package/dist/data/test/function/lerp_angle__loop_header_3.mcfunction +3 -0
  2142. package/dist/data/test/function/list_avg.mcfunction +9 -0
  2143. package/dist/data/test/function/list_clamp_all.mcfunction +6 -0
  2144. package/dist/data/test/function/list_clamp_all__loop_body_1.mcfunction +4 -0
  2145. package/dist/data/test/function/list_clamp_all__loop_exit_2.mcfunction +1 -0
  2146. package/dist/data/test/function/list_clamp_all__loop_header_0.mcfunction +4 -0
  2147. package/dist/data/test/function/list_clamp_all__merge_4.mcfunction +4 -0
  2148. package/dist/data/test/function/list_clamp_all__merge_6.mcfunction +4 -0
  2149. package/dist/data/test/function/list_clamp_all__then_3.mcfunction +1 -0
  2150. package/dist/data/test/function/list_clamp_all__then_5.mcfunction +1 -0
  2151. package/dist/data/test/function/list_contains.mcfunction +5 -0
  2152. package/dist/data/test/function/list_contains__loop_body_1.mcfunction +4 -0
  2153. package/dist/data/test/function/list_contains__loop_exit_2.mcfunction +2 -0
  2154. package/dist/data/test/function/list_contains__loop_header_0.mcfunction +4 -0
  2155. package/dist/data/test/function/list_contains__merge_4.mcfunction +4 -0
  2156. package/dist/data/test/function/list_contains__then_3.mcfunction +2 -0
  2157. package/dist/data/test/function/list_count_if_gt.mcfunction +6 -0
  2158. package/dist/data/test/function/list_count_if_gt__loop_body_1.mcfunction +4 -0
  2159. package/dist/data/test/function/list_count_if_gt__loop_exit_2.mcfunction +1 -0
  2160. package/dist/data/test/function/list_count_if_gt__loop_header_0.mcfunction +4 -0
  2161. package/dist/data/test/function/list_count_if_gt__merge_4.mcfunction +4 -0
  2162. package/dist/data/test/function/list_count_if_gt__then_3.mcfunction +4 -0
  2163. package/dist/data/test/function/list_fill.mcfunction +3 -0
  2164. package/dist/data/test/function/list_fill__loop_body_1.mcfunction +4 -0
  2165. package/dist/data/test/function/list_fill__loop_exit_2.mcfunction +1 -0
  2166. package/dist/data/test/function/list_fill__loop_header_0.mcfunction +4 -0
  2167. package/dist/data/test/function/list_index_of.mcfunction +5 -0
  2168. package/dist/data/test/function/list_index_of__loop_body_1.mcfunction +4 -0
  2169. package/dist/data/test/function/list_index_of__loop_exit_2.mcfunction +2 -0
  2170. package/dist/data/test/function/list_index_of__loop_header_0.mcfunction +4 -0
  2171. package/dist/data/test/function/list_index_of__merge_4.mcfunction +4 -0
  2172. package/dist/data/test/function/list_index_of__then_3.mcfunction +1 -0
  2173. package/dist/data/test/function/list_max.mcfunction +5 -0
  2174. package/dist/data/test/function/list_max3.mcfunction +7 -0
  2175. package/dist/data/test/function/list_max3__merge_1.mcfunction +3 -0
  2176. package/dist/data/test/function/list_max3__merge_3.mcfunction +1 -0
  2177. package/dist/data/test/function/list_max3__then_0.mcfunction +2 -0
  2178. package/dist/data/test/function/list_max3__then_2.mcfunction +2 -0
  2179. package/dist/data/test/function/list_max5.mcfunction +9 -0
  2180. package/dist/data/test/function/list_max5__merge_1.mcfunction +3 -0
  2181. package/dist/data/test/function/list_max5__merge_3.mcfunction +3 -0
  2182. package/dist/data/test/function/list_max5__merge_5.mcfunction +3 -0
  2183. package/dist/data/test/function/list_max5__merge_7.mcfunction +1 -0
  2184. package/dist/data/test/function/list_max5__then_0.mcfunction +2 -0
  2185. package/dist/data/test/function/list_max5__then_2.mcfunction +2 -0
  2186. package/dist/data/test/function/list_max5__then_4.mcfunction +2 -0
  2187. package/dist/data/test/function/list_max5__then_6.mcfunction +2 -0
  2188. package/dist/data/test/function/list_max__loop_body_1.mcfunction +4 -0
  2189. package/dist/data/test/function/list_max__loop_exit_2.mcfunction +1 -0
  2190. package/dist/data/test/function/list_max__loop_header_0.mcfunction +4 -0
  2191. package/dist/data/test/function/list_max__merge_4.mcfunction +4 -0
  2192. package/dist/data/test/function/list_max__then_3.mcfunction +2 -0
  2193. package/dist/data/test/function/list_min.mcfunction +5 -0
  2194. package/dist/data/test/function/list_min3.mcfunction +7 -0
  2195. package/dist/data/test/function/list_min3__merge_1.mcfunction +3 -0
  2196. package/dist/data/test/function/list_min3__merge_3.mcfunction +1 -0
  2197. package/dist/data/test/function/list_min3__then_0.mcfunction +2 -0
  2198. package/dist/data/test/function/list_min3__then_2.mcfunction +2 -0
  2199. package/dist/data/test/function/list_min5.mcfunction +9 -0
  2200. package/dist/data/test/function/list_min5__merge_1.mcfunction +3 -0
  2201. package/dist/data/test/function/list_min5__merge_3.mcfunction +3 -0
  2202. package/dist/data/test/function/list_min5__merge_5.mcfunction +3 -0
  2203. package/dist/data/test/function/list_min5__merge_7.mcfunction +1 -0
  2204. package/dist/data/test/function/list_min5__then_0.mcfunction +2 -0
  2205. package/dist/data/test/function/list_min5__then_2.mcfunction +2 -0
  2206. package/dist/data/test/function/list_min5__then_4.mcfunction +2 -0
  2207. package/dist/data/test/function/list_min5__then_6.mcfunction +2 -0
  2208. package/dist/data/test/function/list_min__loop_body_1.mcfunction +4 -0
  2209. package/dist/data/test/function/list_min__loop_exit_2.mcfunction +1 -0
  2210. package/dist/data/test/function/list_min__loop_header_0.mcfunction +4 -0
  2211. package/dist/data/test/function/list_min__merge_4.mcfunction +4 -0
  2212. package/dist/data/test/function/list_min__then_3.mcfunction +2 -0
  2213. package/dist/data/test/function/list_reverse.mcfunction +6 -0
  2214. package/dist/data/test/function/list_reverse__loop_body_1.mcfunction +9 -0
  2215. package/dist/data/test/function/list_reverse__loop_exit_2.mcfunction +1 -0
  2216. package/dist/data/test/function/list_reverse__loop_header_0.mcfunction +4 -0
  2217. package/dist/data/test/function/list_sort_asc.mcfunction +4 -0
  2218. package/dist/data/test/function/list_sort_asc__loop_body_1.mcfunction +2 -0
  2219. package/dist/data/test/function/list_sort_asc__loop_body_4.mcfunction +3 -0
  2220. package/dist/data/test/function/list_sort_asc__loop_exit_2.mcfunction +1 -0
  2221. package/dist/data/test/function/list_sort_asc__loop_exit_5.mcfunction +4 -0
  2222. package/dist/data/test/function/list_sort_asc__loop_header_0.mcfunction +5 -0
  2223. package/dist/data/test/function/list_sort_asc__loop_header_3.mcfunction +7 -0
  2224. package/dist/data/test/function/list_sort_asc__merge_7.mcfunction +4 -0
  2225. package/dist/data/test/function/list_sort_asc__then_6.mcfunction +1 -0
  2226. package/dist/data/test/function/list_sort_desc.mcfunction +4 -0
  2227. package/dist/data/test/function/list_sort_desc__loop_body_1.mcfunction +2 -0
  2228. package/dist/data/test/function/list_sort_desc__loop_body_4.mcfunction +3 -0
  2229. package/dist/data/test/function/list_sort_desc__loop_exit_2.mcfunction +1 -0
  2230. package/dist/data/test/function/list_sort_desc__loop_exit_5.mcfunction +4 -0
  2231. package/dist/data/test/function/list_sort_desc__loop_header_0.mcfunction +5 -0
  2232. package/dist/data/test/function/list_sort_desc__loop_header_3.mcfunction +7 -0
  2233. package/dist/data/test/function/list_sort_desc__merge_7.mcfunction +4 -0
  2234. package/dist/data/test/function/list_sort_desc__then_6.mcfunction +1 -0
  2235. package/dist/data/test/function/list_sum.mcfunction +5 -0
  2236. package/dist/data/test/function/list_sum3.mcfunction +8 -0
  2237. package/dist/data/test/function/list_sum4.mcfunction +11 -0
  2238. package/dist/data/test/function/list_sum5.mcfunction +14 -0
  2239. package/dist/data/test/function/list_sum__loop_body_1.mcfunction +7 -0
  2240. package/dist/data/test/function/list_sum__loop_exit_2.mcfunction +1 -0
  2241. package/dist/data/test/function/list_sum__loop_header_0.mcfunction +4 -0
  2242. package/dist/data/test/function/ln.mcfunction +9 -0
  2243. package/dist/data/test/function/ln__loop_body_1.mcfunction +8 -0
  2244. package/dist/data/test/function/ln__loop_body_4.mcfunction +8 -0
  2245. package/dist/data/test/function/ln__loop_exit_2.mcfunction +1 -0
  2246. package/dist/data/test/function/ln__loop_exit_5.mcfunction +37 -0
  2247. package/dist/data/test/function/ln__loop_header_0.mcfunction +3 -0
  2248. package/dist/data/test/function/ln__loop_header_3.mcfunction +6 -0
  2249. package/dist/data/test/function/load.mcfunction +1 -0
  2250. package/dist/data/test/function/log10_fx.mcfunction +11 -0
  2251. package/dist/data/test/function/log2_fx.mcfunction +11 -0
  2252. package/dist/data/test/function/log2_int.mcfunction +5 -0
  2253. package/dist/data/test/function/log2_int__loop_body_4.mcfunction +8 -0
  2254. package/dist/data/test/function/log2_int__loop_exit_5.mcfunction +1 -0
  2255. package/dist/data/test/function/log2_int__loop_header_3.mcfunction +4 -0
  2256. package/dist/data/test/function/log2_int__merge_1.mcfunction +3 -0
  2257. package/dist/data/test/function/log2_int__then_0.mcfunction +2 -0
  2258. package/dist/data/test/function/loga_fx.mcfunction +10 -0
  2259. package/dist/data/test/function/loga_fx__merge_1.mcfunction +9 -0
  2260. package/dist/data/test/function/loga_fx__then_0.mcfunction +2 -0
  2261. package/dist/data/test/function/mandelbrot_iter.mcfunction +7 -0
  2262. package/dist/data/test/function/mandelbrot_iter__loop_body_1.mcfunction +36 -0
  2263. package/dist/data/test/function/mandelbrot_iter__loop_exit_2.mcfunction +1 -0
  2264. package/dist/data/test/function/mandelbrot_iter__loop_header_0.mcfunction +3 -0
  2265. package/dist/data/test/function/mandelbrot_iter__merge_4.mcfunction +4 -0
  2266. package/dist/data/test/function/mandelbrot_iter__then_3.mcfunction +1 -0
  2267. package/dist/data/test/function/manhattan.mcfunction +14 -0
  2268. package/dist/data/test/function/manhattan3d.mcfunction +19 -0
  2269. package/dist/data/test/function/manhattan3d__merge_1.mcfunction +4 -0
  2270. package/dist/data/test/function/manhattan3d__merge_3.mcfunction +4 -0
  2271. package/dist/data/test/function/manhattan3d__merge_5.mcfunction +5 -0
  2272. package/dist/data/test/function/manhattan3d__then_0.mcfunction +4 -0
  2273. package/dist/data/test/function/manhattan3d__then_2.mcfunction +4 -0
  2274. package/dist/data/test/function/manhattan3d__then_4.mcfunction +4 -0
  2275. package/dist/data/test/function/manhattan__merge_1.mcfunction +4 -0
  2276. package/dist/data/test/function/manhattan__merge_3.mcfunction +3 -0
  2277. package/dist/data/test/function/manhattan__then_0.mcfunction +4 -0
  2278. package/dist/data/test/function/manhattan__then_2.mcfunction +4 -0
  2279. package/dist/data/test/function/map.mcfunction +12 -0
  2280. package/dist/data/test/function/map__merge_1.mcfunction +11 -0
  2281. package/dist/data/test/function/map__then_0.mcfunction +1 -0
  2282. package/dist/data/test/function/max_heap_pop.mcfunction +4 -0
  2283. package/dist/data/test/function/max_heap_pop__else_13.mcfunction +2 -0
  2284. package/dist/data/test/function/max_heap_pop__loop_body_1.mcfunction +14 -0
  2285. package/dist/data/test/function/max_heap_pop__loop_exit_2.mcfunction +1 -0
  2286. package/dist/data/test/function/max_heap_pop__loop_header_0.mcfunction +4 -0
  2287. package/dist/data/test/function/max_heap_pop__merge_10.mcfunction +1 -0
  2288. package/dist/data/test/function/max_heap_pop__merge_12.mcfunction +1 -0
  2289. package/dist/data/test/function/max_heap_pop__merge_4.mcfunction +3 -0
  2290. package/dist/data/test/function/max_heap_pop__merge_6.mcfunction +1 -0
  2291. package/dist/data/test/function/max_heap_pop__merge_8.mcfunction +3 -0
  2292. package/dist/data/test/function/max_heap_pop__then_11.mcfunction +2 -0
  2293. package/dist/data/test/function/max_heap_pop__then_3.mcfunction +3 -0
  2294. package/dist/data/test/function/max_heap_pop__then_5.mcfunction +2 -0
  2295. package/dist/data/test/function/max_heap_pop__then_7.mcfunction +3 -0
  2296. package/dist/data/test/function/max_heap_pop__then_9.mcfunction +2 -0
  2297. package/dist/data/test/function/max_heap_push.mcfunction +6 -0
  2298. package/dist/data/test/function/max_heap_push__else_5.mcfunction +2 -0
  2299. package/dist/data/test/function/max_heap_push__else_8.mcfunction +2 -0
  2300. package/dist/data/test/function/max_heap_push__loop_body_1.mcfunction +4 -0
  2301. package/dist/data/test/function/max_heap_push__loop_exit_2.mcfunction +1 -0
  2302. package/dist/data/test/function/max_heap_push__loop_header_0.mcfunction +4 -0
  2303. package/dist/data/test/function/max_heap_push__merge_4.mcfunction +1 -0
  2304. package/dist/data/test/function/max_heap_push__merge_7.mcfunction +1 -0
  2305. package/dist/data/test/function/max_heap_push__then_3.mcfunction +7 -0
  2306. package/dist/data/test/function/max_heap_push__then_6.mcfunction +2 -0
  2307. package/dist/data/test/function/mc_day_angle.mcfunction +16 -0
  2308. package/dist/data/test/function/midpoint.mcfunction +8 -0
  2309. package/dist/data/test/function/mod_pow.mcfunction +7 -0
  2310. package/dist/data/test/function/mod_pow__loop_body_6.mcfunction +7 -0
  2311. package/dist/data/test/function/mod_pow__loop_exit_7.mcfunction +1 -0
  2312. package/dist/data/test/function/mod_pow__loop_header_5.mcfunction +4 -0
  2313. package/dist/data/test/function/mod_pow__merge_1.mcfunction +8 -0
  2314. package/dist/data/test/function/mod_pow__merge_4.mcfunction +2 -0
  2315. package/dist/data/test/function/mod_pow__merge_9.mcfunction +10 -0
  2316. package/dist/data/test/function/mod_pow__then_0.mcfunction +2 -0
  2317. package/dist/data/test/function/mod_pow__then_3.mcfunction +4 -0
  2318. package/dist/data/test/function/mod_pow__then_8.mcfunction +6 -0
  2319. package/dist/data/test/function/mulfix.mcfunction +8 -0
  2320. package/dist/data/test/function/neg2d_x.mcfunction +4 -0
  2321. package/dist/data/test/function/neg2d_y.mcfunction +4 -0
  2322. package/dist/data/test/function/neg3d_x.mcfunction +4 -0
  2323. package/dist/data/test/function/neg3d_y.mcfunction +4 -0
  2324. package/dist/data/test/function/neg3d_z.mcfunction +4 -0
  2325. package/dist/data/test/function/newton_sqrt.mcfunction +5 -0
  2326. package/dist/data/test/function/newton_sqrt__loop_body_7.mcfunction +10 -0
  2327. package/dist/data/test/function/newton_sqrt__loop_exit_8.mcfunction +1 -0
  2328. package/dist/data/test/function/newton_sqrt__loop_header_6.mcfunction +3 -0
  2329. package/dist/data/test/function/newton_sqrt__merge_1.mcfunction +4 -0
  2330. package/dist/data/test/function/newton_sqrt__merge_4.mcfunction +6 -0
  2331. package/dist/data/test/function/newton_sqrt__then_0.mcfunction +2 -0
  2332. package/dist/data/test/function/newton_sqrt__then_3.mcfunction +2 -0
  2333. package/dist/data/test/function/newton_step.mcfunction +7 -0
  2334. package/dist/data/test/function/newton_step__merge_1.mcfunction +8 -0
  2335. package/dist/data/test/function/newton_step__then_0.mcfunction +1 -0
  2336. package/dist/data/test/function/next_lcg.mcfunction +7 -0
  2337. package/dist/data/test/function/night_vision.mcfunction +1 -0
  2338. package/dist/data/test/function/noise1d.mcfunction +13 -0
  2339. package/dist/data/test/function/noise1d__merge_1.mcfunction +20 -0
  2340. package/dist/data/test/function/noise1d__merge_3.mcfunction +4 -0
  2341. package/dist/data/test/function/noise1d__merge_5.mcfunction +11 -0
  2342. package/dist/data/test/function/noise1d__then_0.mcfunction +7 -0
  2343. package/dist/data/test/function/noise1d__then_2.mcfunction +4 -0
  2344. package/dist/data/test/function/noise1d__then_4.mcfunction +4 -0
  2345. package/dist/data/test/function/norm3_hp.mcfunction +43 -0
  2346. package/dist/data/test/function/normal_approx12.mcfunction +15 -0
  2347. package/dist/data/test/function/normal_approx12__merge_1.mcfunction +17 -0
  2348. package/dist/data/test/function/normal_approx12__merge_11.mcfunction +17 -0
  2349. package/dist/data/test/function/normal_approx12__merge_13.mcfunction +17 -0
  2350. package/dist/data/test/function/normal_approx12__merge_15.mcfunction +17 -0
  2351. package/dist/data/test/function/normal_approx12__merge_17.mcfunction +17 -0
  2352. package/dist/data/test/function/normal_approx12__merge_19.mcfunction +17 -0
  2353. package/dist/data/test/function/normal_approx12__merge_21.mcfunction +17 -0
  2354. package/dist/data/test/function/normal_approx12__merge_23.mcfunction +9 -0
  2355. package/dist/data/test/function/normal_approx12__merge_3.mcfunction +17 -0
  2356. package/dist/data/test/function/normal_approx12__merge_5.mcfunction +17 -0
  2357. package/dist/data/test/function/normal_approx12__merge_7.mcfunction +17 -0
  2358. package/dist/data/test/function/normal_approx12__merge_9.mcfunction +17 -0
  2359. package/dist/data/test/function/normal_approx12__then_0.mcfunction +4 -0
  2360. package/dist/data/test/function/normal_approx12__then_10.mcfunction +4 -0
  2361. package/dist/data/test/function/normal_approx12__then_12.mcfunction +4 -0
  2362. package/dist/data/test/function/normal_approx12__then_14.mcfunction +4 -0
  2363. package/dist/data/test/function/normal_approx12__then_16.mcfunction +4 -0
  2364. package/dist/data/test/function/normal_approx12__then_18.mcfunction +4 -0
  2365. package/dist/data/test/function/normal_approx12__then_2.mcfunction +4 -0
  2366. package/dist/data/test/function/normal_approx12__then_20.mcfunction +4 -0
  2367. package/dist/data/test/function/normal_approx12__then_22.mcfunction +4 -0
  2368. package/dist/data/test/function/normal_approx12__then_4.mcfunction +4 -0
  2369. package/dist/data/test/function/normal_approx12__then_6.mcfunction +4 -0
  2370. package/dist/data/test/function/normal_approx12__then_8.mcfunction +4 -0
  2371. package/dist/data/test/function/normalize2d_x.mcfunction +11 -0
  2372. package/dist/data/test/function/normalize2d_x__merge_1.mcfunction +6 -0
  2373. package/dist/data/test/function/normalize2d_x__then_0.mcfunction +2 -0
  2374. package/dist/data/test/function/normalize2d_y.mcfunction +11 -0
  2375. package/dist/data/test/function/normalize2d_y__merge_1.mcfunction +6 -0
  2376. package/dist/data/test/function/normalize2d_y__then_0.mcfunction +2 -0
  2377. package/dist/data/test/function/on_double_sneak.mcfunction +1 -0
  2378. package/dist/data/test/function/on_double_sneak__foreach_t0.mcfunction +9 -0
  2379. package/dist/data/test/function/on_double_sneak__foreach_t0__merge_1.mcfunction +1 -0
  2380. package/dist/data/test/function/on_double_sneak__foreach_t0__merge_3.mcfunction +2 -0
  2381. package/dist/data/test/function/on_double_sneak__foreach_t0__then_0.mcfunction +6 -0
  2382. package/dist/data/test/function/on_double_sneak__foreach_t0__then_2.mcfunction +2 -0
  2383. package/dist/data/test/function/on_right_click.mcfunction +1 -0
  2384. package/dist/data/test/function/on_right_click__foreach_t1.mcfunction +5 -0
  2385. package/dist/data/test/function/on_right_click__foreach_t1__merge_1.mcfunction +1 -0
  2386. package/dist/data/test/function/on_right_click__foreach_t1__then_0.mcfunction +3 -0
  2387. package/dist/data/test/function/on_sneak_click.mcfunction +1 -0
  2388. package/dist/data/test/function/on_sneak_click__foreach_t0.mcfunction +7 -0
  2389. package/dist/data/test/function/on_sneak_click__foreach_t0__else_4.mcfunction +3 -0
  2390. package/dist/data/test/function/on_sneak_click__foreach_t0__merge_1.mcfunction +1 -0
  2391. package/dist/data/test/function/on_sneak_click__foreach_t0__merge_3.mcfunction +1 -0
  2392. package/dist/data/test/function/on_sneak_click__foreach_t0__then_0.mcfunction +4 -0
  2393. package/dist/data/test/function/on_sneak_click__foreach_t0__then_2.mcfunction +3 -0
  2394. package/dist/data/test/function/on_sneak_start.mcfunction +1 -0
  2395. package/dist/data/test/function/on_sneak_start__foreach_t0.mcfunction +5 -0
  2396. package/dist/data/test/function/on_sneak_start__foreach_t0__else_2.mcfunction +2 -0
  2397. package/dist/data/test/function/on_sneak_start__foreach_t0__merge_1.mcfunction +1 -0
  2398. package/dist/data/test/function/on_sneak_start__foreach_t0__then_0.mcfunction +2 -0
  2399. package/dist/data/test/function/parabola_land_t.mcfunction +7 -0
  2400. package/dist/data/test/function/parabola_x.mcfunction +8 -0
  2401. package/dist/data/test/function/parabola_y.mcfunction +17 -0
  2402. package/dist/data/test/function/particle_at_fx.mcfunction +1 -0
  2403. package/dist/data/test/function/particle_dot.mcfunction +1 -0
  2404. package/dist/data/test/function/pathfind_bfs.mcfunction +11 -0
  2405. package/dist/data/test/function/pathfind_bfs__else_33.mcfunction +4 -0
  2406. package/dist/data/test/function/pathfind_bfs__else_8.mcfunction +19 -0
  2407. package/dist/data/test/function/pathfind_bfs__loop_body_1.mcfunction +10 -0
  2408. package/dist/data/test/function/pathfind_bfs__loop_body_29.mcfunction +6 -0
  2409. package/dist/data/test/function/pathfind_bfs__loop_body_35.mcfunction +9 -0
  2410. package/dist/data/test/function/pathfind_bfs__loop_body_4.mcfunction +9 -0
  2411. package/dist/data/test/function/pathfind_bfs__loop_exit_2.mcfunction +24 -0
  2412. package/dist/data/test/function/pathfind_bfs__loop_exit_30.mcfunction +6 -0
  2413. package/dist/data/test/function/pathfind_bfs__loop_exit_36.mcfunction +1 -0
  2414. package/dist/data/test/function/pathfind_bfs__loop_exit_5.mcfunction +6 -0
  2415. package/dist/data/test/function/pathfind_bfs__loop_header_0.mcfunction +4 -0
  2416. package/dist/data/test/function/pathfind_bfs__loop_header_28.mcfunction +4 -0
  2417. package/dist/data/test/function/pathfind_bfs__loop_header_3.mcfunction +3 -0
  2418. package/dist/data/test/function/pathfind_bfs__loop_header_34.mcfunction +4 -0
  2419. package/dist/data/test/function/pathfind_bfs__merge_10.mcfunction +11 -0
  2420. package/dist/data/test/function/pathfind_bfs__merge_12.mcfunction +1 -0
  2421. package/dist/data/test/function/pathfind_bfs__merge_14.mcfunction +11 -0
  2422. package/dist/data/test/function/pathfind_bfs__merge_16.mcfunction +1 -0
  2423. package/dist/data/test/function/pathfind_bfs__merge_18.mcfunction +11 -0
  2424. package/dist/data/test/function/pathfind_bfs__merge_20.mcfunction +1 -0
  2425. package/dist/data/test/function/pathfind_bfs__merge_22.mcfunction +1 -0
  2426. package/dist/data/test/function/pathfind_bfs__merge_24.mcfunction +1 -0
  2427. package/dist/data/test/function/pathfind_bfs__merge_26.mcfunction +5 -0
  2428. package/dist/data/test/function/pathfind_bfs__merge_32.mcfunction +1 -0
  2429. package/dist/data/test/function/pathfind_bfs__merge_7.mcfunction +1 -0
  2430. package/dist/data/test/function/pathfind_bfs__then_11.mcfunction +15 -0
  2431. package/dist/data/test/function/pathfind_bfs__then_13.mcfunction +13 -0
  2432. package/dist/data/test/function/pathfind_bfs__then_15.mcfunction +15 -0
  2433. package/dist/data/test/function/pathfind_bfs__then_17.mcfunction +13 -0
  2434. package/dist/data/test/function/pathfind_bfs__then_19.mcfunction +15 -0
  2435. package/dist/data/test/function/pathfind_bfs__then_21.mcfunction +13 -0
  2436. package/dist/data/test/function/pathfind_bfs__then_23.mcfunction +15 -0
  2437. package/dist/data/test/function/pathfind_bfs__then_25.mcfunction +1 -0
  2438. package/dist/data/test/function/pathfind_bfs__then_31.mcfunction +2 -0
  2439. package/dist/data/test/function/pathfind_bfs__then_6.mcfunction +3 -0
  2440. package/dist/data/test/function/pathfind_bfs__then_9.mcfunction +13 -0
  2441. package/dist/data/test/function/pathfind_bfs_coro.mcfunction +1 -0
  2442. package/dist/data/test/function/pcg_next_hi.mcfunction +8 -0
  2443. package/dist/data/test/function/pcg_next_lo.mcfunction +7 -0
  2444. package/dist/data/test/function/pcg_output.mcfunction +14 -0
  2445. package/dist/data/test/function/pcg_output__merge_1.mcfunction +1 -0
  2446. package/dist/data/test/function/pcg_output__then_0.mcfunction +4 -0
  2447. package/dist/data/test/function/pf_heuristic.mcfunction +14 -0
  2448. package/dist/data/test/function/pf_heuristic__merge_1.mcfunction +4 -0
  2449. package/dist/data/test/function/pf_heuristic__merge_3.mcfunction +6 -0
  2450. package/dist/data/test/function/pf_heuristic__then_0.mcfunction +4 -0
  2451. package/dist/data/test/function/pf_heuristic__then_2.mcfunction +4 -0
  2452. package/dist/data/test/function/pf_is_blocked.mcfunction +7 -0
  2453. package/dist/data/test/function/pf_is_blocked__merge_1.mcfunction +4 -0
  2454. package/dist/data/test/function/pf_is_blocked__merge_10.mcfunction +4 -0
  2455. package/dist/data/test/function/pf_is_blocked__merge_4.mcfunction +4 -0
  2456. package/dist/data/test/function/pf_is_blocked__merge_7.mcfunction +4 -0
  2457. package/dist/data/test/function/pf_is_blocked__then_0.mcfunction +2 -0
  2458. package/dist/data/test/function/pf_is_blocked__then_3.mcfunction +2 -0
  2459. package/dist/data/test/function/pf_is_blocked__then_6.mcfunction +2 -0
  2460. package/dist/data/test/function/pf_is_blocked__then_9.mcfunction +2 -0
  2461. package/dist/data/test/function/pf_new_map.mcfunction +4 -0
  2462. package/dist/data/test/function/pf_new_map__loop_body_1.mcfunction +7 -0
  2463. package/dist/data/test/function/pf_new_map__loop_exit_2.mcfunction +1 -0
  2464. package/dist/data/test/function/pf_new_map__loop_header_0.mcfunction +4 -0
  2465. package/dist/data/test/function/pf_noop.mcfunction +1 -0
  2466. package/dist/data/test/function/pf_pack.mcfunction +8 -0
  2467. package/dist/data/test/function/pf_set_blocked.mcfunction +5 -0
  2468. package/dist/data/test/function/pf_set_open.mcfunction +5 -0
  2469. package/dist/data/test/function/pf_unpack_x.mcfunction +5 -0
  2470. package/dist/data/test/function/pf_unpack_z.mcfunction +5 -0
  2471. package/dist/data/test/function/popcount.mcfunction +5 -0
  2472. package/dist/data/test/function/popcount__loop_body_1.mcfunction +7 -0
  2473. package/dist/data/test/function/popcount__loop_exit_2.mcfunction +1 -0
  2474. package/dist/data/test/function/popcount__loop_header_0.mcfunction +4 -0
  2475. package/dist/data/test/function/popcount__merge_4.mcfunction +8 -0
  2476. package/dist/data/test/function/popcount__then_3.mcfunction +4 -0
  2477. package/dist/data/test/function/portal_effect.mcfunction +1 -0
  2478. package/dist/data/test/function/pow_int.mcfunction +6 -0
  2479. package/dist/data/test/function/pow_int__loop_body_4.mcfunction +7 -0
  2480. package/dist/data/test/function/pow_int__loop_exit_5.mcfunction +1 -0
  2481. package/dist/data/test/function/pow_int__loop_header_3.mcfunction +4 -0
  2482. package/dist/data/test/function/pow_int__merge_1.mcfunction +4 -0
  2483. package/dist/data/test/function/pow_int__merge_7.mcfunction +8 -0
  2484. package/dist/data/test/function/pow_int__then_0.mcfunction +2 -0
  2485. package/dist/data/test/function/pow_int__then_6.mcfunction +4 -0
  2486. package/dist/data/test/function/projectile_land_t.mcfunction +5 -0
  2487. package/dist/data/test/function/projectile_land_t__merge_1.mcfunction +7 -0
  2488. package/dist/data/test/function/projectile_land_t__then_0.mcfunction +2 -0
  2489. package/dist/data/test/function/projectile_max_height.mcfunction +10 -0
  2490. package/dist/data/test/function/projectile_vy.mcfunction +9 -0
  2491. package/dist/data/test/function/projectile_x.mcfunction +8 -0
  2492. package/dist/data/test/function/projectile_y.mcfunction +19 -0
  2493. package/dist/data/test/function/ptimer/new.mcfunction +3 -0
  2494. package/dist/data/test/function/ptimer/reset.mcfunction +1 -0
  2495. package/dist/data/test/function/ptimer/tick.mcfunction +8 -0
  2496. package/dist/data/test/function/ptimer/tick__merge_1.mcfunction +2 -0
  2497. package/dist/data/test/function/ptimer/tick__then_0.mcfunction +3 -0
  2498. package/dist/data/test/function/quadratic_disc.mcfunction +12 -0
  2499. package/dist/data/test/function/quadratic_x1.mcfunction +7 -0
  2500. package/dist/data/test/function/quadratic_x1__merge_1.mcfunction +13 -0
  2501. package/dist/data/test/function/quadratic_x1__merge_4.mcfunction +15 -0
  2502. package/dist/data/test/function/quadratic_x1__then_0.mcfunction +2 -0
  2503. package/dist/data/test/function/quadratic_x1__then_3.mcfunction +2 -0
  2504. package/dist/data/test/function/quadratic_x2.mcfunction +7 -0
  2505. package/dist/data/test/function/quadratic_x2__merge_1.mcfunction +13 -0
  2506. package/dist/data/test/function/quadratic_x2__merge_4.mcfunction +15 -0
  2507. package/dist/data/test/function/quadratic_x2__then_0.mcfunction +2 -0
  2508. package/dist/data/test/function/quadratic_x2__then_3.mcfunction +2 -0
  2509. package/dist/data/test/function/quat_cos_half.mcfunction +8 -0
  2510. package/dist/data/test/function/quat_sin_half.mcfunction +8 -0
  2511. package/dist/data/test/function/random_bool.mcfunction +6 -0
  2512. package/dist/data/test/function/random_bool__merge_1.mcfunction +4 -0
  2513. package/dist/data/test/function/random_bool__then_0.mcfunction +4 -0
  2514. package/dist/data/test/function/random_range.mcfunction +8 -0
  2515. package/dist/data/test/function/random_range__merge_1.mcfunction +7 -0
  2516. package/dist/data/test/function/random_range__then_0.mcfunction +4 -0
  2517. package/dist/data/test/function/regen.mcfunction +1 -0
  2518. package/dist/data/test/function/remove_bar.mcfunction +3 -0
  2519. package/dist/data/test/function/remove_from_teams.mcfunction +3 -0
  2520. package/dist/data/test/function/remove_item.mcfunction +1 -0
  2521. package/dist/data/test/function/resistance.mcfunction +1 -0
  2522. package/dist/data/test/function/reverse_int.mcfunction +7 -0
  2523. package/dist/data/test/function/reverse_int__loop_body_3.mcfunction +14 -0
  2524. package/dist/data/test/function/reverse_int__loop_exit_4.mcfunction +4 -0
  2525. package/dist/data/test/function/reverse_int__loop_header_2.mcfunction +4 -0
  2526. package/dist/data/test/function/reverse_int__merge_1.mcfunction +2 -0
  2527. package/dist/data/test/function/reverse_int__merge_6.mcfunction +1 -0
  2528. package/dist/data/test/function/reverse_int__then_0.mcfunction +5 -0
  2529. package/dist/data/test/function/reverse_int__then_5.mcfunction +3 -0
  2530. package/dist/data/test/function/rgb_b.mcfunction +5 -0
  2531. package/dist/data/test/function/rgb_g.mcfunction +8 -0
  2532. package/dist/data/test/function/rgb_lerp.mcfunction +71 -0
  2533. package/dist/data/test/function/rgb_pack.mcfunction +14 -0
  2534. package/dist/data/test/function/rgb_r.mcfunction +8 -0
  2535. package/dist/data/test/function/rgb_to_h.mcfunction +7 -0
  2536. package/dist/data/test/function/rgb_to_h__merge_1.mcfunction +3 -0
  2537. package/dist/data/test/function/rgb_to_h__merge_12.mcfunction +3 -0
  2538. package/dist/data/test/function/rgb_to_h__merge_14.mcfunction +1 -0
  2539. package/dist/data/test/function/rgb_to_h__merge_17.mcfunction +9 -0
  2540. package/dist/data/test/function/rgb_to_h__merge_3.mcfunction +4 -0
  2541. package/dist/data/test/function/rgb_to_h__merge_5.mcfunction +3 -0
  2542. package/dist/data/test/function/rgb_to_h__merge_7.mcfunction +7 -0
  2543. package/dist/data/test/function/rgb_to_h__merge_9.mcfunction +3 -0
  2544. package/dist/data/test/function/rgb_to_h__then_0.mcfunction +2 -0
  2545. package/dist/data/test/function/rgb_to_h__then_11.mcfunction +11 -0
  2546. package/dist/data/test/function/rgb_to_h__then_13.mcfunction +4 -0
  2547. package/dist/data/test/function/rgb_to_h__then_16.mcfunction +9 -0
  2548. package/dist/data/test/function/rgb_to_h__then_2.mcfunction +2 -0
  2549. package/dist/data/test/function/rgb_to_h__then_4.mcfunction +2 -0
  2550. package/dist/data/test/function/rgb_to_h__then_6.mcfunction +2 -0
  2551. package/dist/data/test/function/rgb_to_h__then_8.mcfunction +2 -0
  2552. package/dist/data/test/function/rgb_to_l.mcfunction +7 -0
  2553. package/dist/data/test/function/rgb_to_l__merge_1.mcfunction +3 -0
  2554. package/dist/data/test/function/rgb_to_l__merge_3.mcfunction +4 -0
  2555. package/dist/data/test/function/rgb_to_l__merge_5.mcfunction +3 -0
  2556. package/dist/data/test/function/rgb_to_l__merge_7.mcfunction +9 -0
  2557. package/dist/data/test/function/rgb_to_l__then_0.mcfunction +2 -0
  2558. package/dist/data/test/function/rgb_to_l__then_2.mcfunction +2 -0
  2559. package/dist/data/test/function/rgb_to_l__then_4.mcfunction +2 -0
  2560. package/dist/data/test/function/rgb_to_l__then_6.mcfunction +2 -0
  2561. package/dist/data/test/function/rgb_to_s.mcfunction +7 -0
  2562. package/dist/data/test/function/rgb_to_s__merge_1.mcfunction +3 -0
  2563. package/dist/data/test/function/rgb_to_s__merge_12.mcfunction +10 -0
  2564. package/dist/data/test/function/rgb_to_s__merge_3.mcfunction +4 -0
  2565. package/dist/data/test/function/rgb_to_s__merge_5.mcfunction +3 -0
  2566. package/dist/data/test/function/rgb_to_s__merge_7.mcfunction +7 -0
  2567. package/dist/data/test/function/rgb_to_s__merge_9.mcfunction +12 -0
  2568. package/dist/data/test/function/rgb_to_s__then_0.mcfunction +2 -0
  2569. package/dist/data/test/function/rgb_to_s__then_11.mcfunction +8 -0
  2570. package/dist/data/test/function/rgb_to_s__then_2.mcfunction +2 -0
  2571. package/dist/data/test/function/rgb_to_s__then_4.mcfunction +2 -0
  2572. package/dist/data/test/function/rgb_to_s__then_6.mcfunction +2 -0
  2573. package/dist/data/test/function/rgb_to_s__then_8.mcfunction +2 -0
  2574. package/dist/data/test/function/riemann_left.mcfunction +6 -0
  2575. package/dist/data/test/function/riemann_left__loop_body_1.mcfunction +7 -0
  2576. package/dist/data/test/function/riemann_left__loop_exit_2.mcfunction +6 -0
  2577. package/dist/data/test/function/riemann_left__loop_header_0.mcfunction +5 -0
  2578. package/dist/data/test/function/riemann_mid.mcfunction +6 -0
  2579. package/dist/data/test/function/riemann_mid__loop_body_1.mcfunction +7 -0
  2580. package/dist/data/test/function/riemann_mid__loop_exit_2.mcfunction +6 -0
  2581. package/dist/data/test/function/riemann_mid__loop_header_0.mcfunction +3 -0
  2582. package/dist/data/test/function/riemann_right.mcfunction +6 -0
  2583. package/dist/data/test/function/riemann_right__loop_body_1.mcfunction +7 -0
  2584. package/dist/data/test/function/riemann_right__loop_exit_2.mcfunction +6 -0
  2585. package/dist/data/test/function/riemann_right__loop_header_0.mcfunction +3 -0
  2586. package/dist/data/test/function/rotate2d_x.mcfunction +20 -0
  2587. package/dist/data/test/function/rotate2d_y.mcfunction +20 -0
  2588. package/dist/data/test/function/rotate_x_y.mcfunction +28 -0
  2589. package/dist/data/test/function/rotate_x_z.mcfunction +28 -0
  2590. package/dist/data/test/function/rotate_y_x.mcfunction +28 -0
  2591. package/dist/data/test/function/rotate_y_z.mcfunction +30 -0
  2592. package/dist/data/test/function/running_m2.mcfunction +16 -0
  2593. package/dist/data/test/function/running_mean.mcfunction +7 -0
  2594. package/dist/data/test/function/running_mean__merge_1.mcfunction +13 -0
  2595. package/dist/data/test/function/running_mean__then_0.mcfunction +1 -0
  2596. package/dist/data/test/function/scale2d_x.mcfunction +8 -0
  2597. package/dist/data/test/function/scale2d_y.mcfunction +8 -0
  2598. package/dist/data/test/function/scale3d_x.mcfunction +8 -0
  2599. package/dist/data/test/function/scale3d_y.mcfunction +8 -0
  2600. package/dist/data/test/function/scale3d_z.mcfunction +8 -0
  2601. package/dist/data/test/function/scale_x.mcfunction +8 -0
  2602. package/dist/data/test/function/scale_y.mcfunction +8 -0
  2603. package/dist/data/test/function/scale_z.mcfunction +8 -0
  2604. package/dist/data/test/function/second_deriv.mcfunction +8 -0
  2605. package/dist/data/test/function/second_deriv__merge_1.mcfunction +14 -0
  2606. package/dist/data/test/function/second_deriv__then_0.mcfunction +2 -0
  2607. package/dist/data/test/function/seconds_to_ticks.mcfunction +5 -0
  2608. package/dist/data/test/function/set_day.mcfunction +1 -0
  2609. package/dist/data/test/function/set_easy.mcfunction +1 -0
  2610. package/dist/data/test/function/set_hard.mcfunction +1 -0
  2611. package/dist/data/test/function/set_midnight.mcfunction +1 -0
  2612. package/dist/data/test/function/set_night.mcfunction +1 -0
  2613. package/dist/data/test/function/set_noon.mcfunction +1 -0
  2614. package/dist/data/test/function/set_normal.mcfunction +1 -0
  2615. package/dist/data/test/function/set_peaceful.mcfunction +1 -0
  2616. package/dist/data/test/function/setup_four_teams.mcfunction +4 -0
  2617. package/dist/data/test/function/setup_two_teams.mcfunction +2 -0
  2618. package/dist/data/test/function/show_bar.mcfunction +4 -0
  2619. package/dist/data/test/function/showcase_load.mcfunction +4 -0
  2620. package/dist/data/test/function/showcase_tick.mcfunction +1 -0
  2621. package/dist/data/test/function/sign.mcfunction +5 -0
  2622. package/dist/data/test/function/sign__merge_1.mcfunction +4 -0
  2623. package/dist/data/test/function/sign__merge_4.mcfunction +2 -0
  2624. package/dist/data/test/function/sign__then_0.mcfunction +2 -0
  2625. package/dist/data/test/function/sign__then_3.mcfunction +2 -0
  2626. package/dist/data/test/function/simpson_step.mcfunction +16 -0
  2627. package/dist/data/test/function/sin_fixed.mcfunction +9 -0
  2628. package/dist/data/test/function/sin_fixed__merge_1.mcfunction +4 -0
  2629. package/dist/data/test/function/sin_fixed__merge_3.mcfunction +4 -0
  2630. package/dist/data/test/function/sin_fixed__merge_6.mcfunction +4 -0
  2631. package/dist/data/test/function/sin_fixed__merge_9.mcfunction +10 -0
  2632. package/dist/data/test/function/sin_fixed__then_0.mcfunction +4 -0
  2633. package/dist/data/test/function/sin_fixed__then_2.mcfunction +6 -0
  2634. package/dist/data/test/function/sin_fixed__then_5.mcfunction +8 -0
  2635. package/dist/data/test/function/sin_fixed__then_8.mcfunction +10 -0
  2636. package/dist/data/test/function/sin_hp.mcfunction +8 -0
  2637. package/dist/data/test/function/slow_fall.mcfunction +1 -0
  2638. package/dist/data/test/function/smoke.mcfunction +1 -0
  2639. package/dist/data/test/function/smootherstep.mcfunction +10 -0
  2640. package/dist/data/test/function/smootherstep__merge_1.mcfunction +12 -0
  2641. package/dist/data/test/function/smootherstep__merge_4.mcfunction +4 -0
  2642. package/dist/data/test/function/smootherstep__merge_6.mcfunction +27 -0
  2643. package/dist/data/test/function/smootherstep__then_0.mcfunction +2 -0
  2644. package/dist/data/test/function/smootherstep__then_3.mcfunction +2 -0
  2645. package/dist/data/test/function/smootherstep__then_5.mcfunction +2 -0
  2646. package/dist/data/test/function/smoothstep.mcfunction +10 -0
  2647. package/dist/data/test/function/smoothstep__merge_1.mcfunction +12 -0
  2648. package/dist/data/test/function/smoothstep__merge_4.mcfunction +4 -0
  2649. package/dist/data/test/function/smoothstep__merge_6.mcfunction +15 -0
  2650. package/dist/data/test/function/smoothstep__then_0.mcfunction +2 -0
  2651. package/dist/data/test/function/smoothstep__then_3.mcfunction +2 -0
  2652. package/dist/data/test/function/smoothstep__then_5.mcfunction +2 -0
  2653. package/dist/data/test/function/solve2x2_x.mcfunction +17 -0
  2654. package/dist/data/test/function/solve2x2_x__merge_1.mcfunction +12 -0
  2655. package/dist/data/test/function/solve2x2_x__then_0.mcfunction +2 -0
  2656. package/dist/data/test/function/solve2x2_y.mcfunction +17 -0
  2657. package/dist/data/test/function/solve2x2_y__merge_1.mcfunction +12 -0
  2658. package/dist/data/test/function/solve2x2_y__then_0.mcfunction +2 -0
  2659. package/dist/data/test/function/sort2_max.mcfunction +5 -0
  2660. package/dist/data/test/function/sort2_max__merge_1.mcfunction +1 -0
  2661. package/dist/data/test/function/sort2_max__then_0.mcfunction +1 -0
  2662. package/dist/data/test/function/sort2_min.mcfunction +5 -0
  2663. package/dist/data/test/function/sort2_min__merge_1.mcfunction +1 -0
  2664. package/dist/data/test/function/sort2_min__then_0.mcfunction +1 -0
  2665. package/dist/data/test/function/sort3.mcfunction +10 -0
  2666. package/dist/data/test/function/sort3__merge_1.mcfunction +3 -0
  2667. package/dist/data/test/function/sort3__merge_10.mcfunction +1 -0
  2668. package/dist/data/test/function/sort3__merge_3.mcfunction +3 -0
  2669. package/dist/data/test/function/sort3__merge_5.mcfunction +4 -0
  2670. package/dist/data/test/function/sort3__merge_7.mcfunction +4 -0
  2671. package/dist/data/test/function/sort3__then_0.mcfunction +4 -0
  2672. package/dist/data/test/function/sort3__then_2.mcfunction +4 -0
  2673. package/dist/data/test/function/sort3__then_4.mcfunction +4 -0
  2674. package/dist/data/test/function/sort3__then_6.mcfunction +1 -0
  2675. package/dist/data/test/function/sort3__then_9.mcfunction +1 -0
  2676. package/dist/data/test/function/sort4.mcfunction +12 -0
  2677. package/dist/data/test/function/sort4__merge_1.mcfunction +3 -0
  2678. package/dist/data/test/function/sort4__merge_11.mcfunction +4 -0
  2679. package/dist/data/test/function/sort4__merge_14.mcfunction +4 -0
  2680. package/dist/data/test/function/sort4__merge_17.mcfunction +1 -0
  2681. package/dist/data/test/function/sort4__merge_3.mcfunction +3 -0
  2682. package/dist/data/test/function/sort4__merge_5.mcfunction +3 -0
  2683. package/dist/data/test/function/sort4__merge_7.mcfunction +3 -0
  2684. package/dist/data/test/function/sort4__merge_9.mcfunction +4 -0
  2685. package/dist/data/test/function/sort4__then_0.mcfunction +4 -0
  2686. package/dist/data/test/function/sort4__then_10.mcfunction +1 -0
  2687. package/dist/data/test/function/sort4__then_13.mcfunction +1 -0
  2688. package/dist/data/test/function/sort4__then_16.mcfunction +1 -0
  2689. package/dist/data/test/function/sort4__then_2.mcfunction +4 -0
  2690. package/dist/data/test/function/sort4__then_4.mcfunction +4 -0
  2691. package/dist/data/test/function/sort4__then_6.mcfunction +4 -0
  2692. package/dist/data/test/function/sort4__then_8.mcfunction +4 -0
  2693. package/dist/data/test/function/sort5.mcfunction +14 -0
  2694. package/dist/data/test/function/sort5__merge_1.mcfunction +3 -0
  2695. package/dist/data/test/function/sort5__merge_11.mcfunction +3 -0
  2696. package/dist/data/test/function/sort5__merge_13.mcfunction +3 -0
  2697. package/dist/data/test/function/sort5__merge_15.mcfunction +3 -0
  2698. package/dist/data/test/function/sort5__merge_17.mcfunction +4 -0
  2699. package/dist/data/test/function/sort5__merge_19.mcfunction +4 -0
  2700. package/dist/data/test/function/sort5__merge_22.mcfunction +4 -0
  2701. package/dist/data/test/function/sort5__merge_25.mcfunction +4 -0
  2702. package/dist/data/test/function/sort5__merge_28.mcfunction +1 -0
  2703. package/dist/data/test/function/sort5__merge_3.mcfunction +3 -0
  2704. package/dist/data/test/function/sort5__merge_5.mcfunction +3 -0
  2705. package/dist/data/test/function/sort5__merge_7.mcfunction +3 -0
  2706. package/dist/data/test/function/sort5__merge_9.mcfunction +3 -0
  2707. package/dist/data/test/function/sort5__then_0.mcfunction +4 -0
  2708. package/dist/data/test/function/sort5__then_10.mcfunction +4 -0
  2709. package/dist/data/test/function/sort5__then_12.mcfunction +4 -0
  2710. package/dist/data/test/function/sort5__then_14.mcfunction +4 -0
  2711. package/dist/data/test/function/sort5__then_16.mcfunction +4 -0
  2712. package/dist/data/test/function/sort5__then_18.mcfunction +1 -0
  2713. package/dist/data/test/function/sort5__then_2.mcfunction +4 -0
  2714. package/dist/data/test/function/sort5__then_21.mcfunction +1 -0
  2715. package/dist/data/test/function/sort5__then_24.mcfunction +1 -0
  2716. package/dist/data/test/function/sort5__then_27.mcfunction +1 -0
  2717. package/dist/data/test/function/sort5__then_4.mcfunction +4 -0
  2718. package/dist/data/test/function/sort5__then_6.mcfunction +4 -0
  2719. package/dist/data/test/function/sort5__then_8.mcfunction +4 -0
  2720. package/dist/data/test/function/sort_merge.mcfunction +10 -0
  2721. package/dist/data/test/function/sort_merge__else_11.mcfunction +7 -0
  2722. package/dist/data/test/function/sort_merge__else_14.mcfunction +2 -0
  2723. package/dist/data/test/function/sort_merge__else_5.mcfunction +3 -0
  2724. package/dist/data/test/function/sort_merge__else_8.mcfunction +7 -0
  2725. package/dist/data/test/function/sort_merge__loop_body_1.mcfunction +3 -0
  2726. package/dist/data/test/function/sort_merge__loop_exit_2.mcfunction +1 -0
  2727. package/dist/data/test/function/sort_merge__loop_header_0.mcfunction +4 -0
  2728. package/dist/data/test/function/sort_merge__merge_10.mcfunction +1 -0
  2729. package/dist/data/test/function/sort_merge__merge_13.mcfunction +1 -0
  2730. package/dist/data/test/function/sort_merge__merge_4.mcfunction +1 -0
  2731. package/dist/data/test/function/sort_merge__merge_7.mcfunction +1 -0
  2732. package/dist/data/test/function/sort_merge__then_12.mcfunction +7 -0
  2733. package/dist/data/test/function/sort_merge__then_3.mcfunction +3 -0
  2734. package/dist/data/test/function/sort_merge__then_6.mcfunction +3 -0
  2735. package/dist/data/test/function/sort_merge__then_9.mcfunction +7 -0
  2736. package/dist/data/test/function/sparkles_at.mcfunction +1 -0
  2737. package/dist/data/test/function/speed.mcfunction +1 -0
  2738. package/dist/data/test/function/sphere_contains.mcfunction +28 -0
  2739. package/dist/data/test/function/sphere_contains__merge_1.mcfunction +2 -0
  2740. package/dist/data/test/function/sphere_contains__then_0.mcfunction +2 -0
  2741. package/dist/data/test/function/spiral_ring.mcfunction +5 -0
  2742. package/dist/data/test/function/spiral_ring__merge_1.mcfunction +13 -0
  2743. package/dist/data/test/function/spiral_ring__then_0.mcfunction +2 -0
  2744. package/dist/data/test/function/spread_players.mcfunction +1 -0
  2745. package/dist/data/test/function/spring_force.mcfunction +11 -0
  2746. package/dist/data/test/function/spring_update_v.mcfunction +18 -0
  2747. package/dist/data/test/function/sqrt_fixed.mcfunction +8 -0
  2748. package/dist/data/test/function/sqrt_fx.mcfunction +8 -0
  2749. package/dist/data/test/function/sqrt_hp.mcfunction +17 -0
  2750. package/dist/data/test/function/sqrt_hp__merge_1.mcfunction +21 -0
  2751. package/dist/data/test/function/sqrt_hp__then_0.mcfunction +2 -0
  2752. package/dist/data/test/function/start.mcfunction +8 -0
  2753. package/dist/data/test/function/std_dev_approx.mcfunction +5 -0
  2754. package/dist/data/test/function/std_dev_approx__merge_1.mcfunction +13 -0
  2755. package/dist/data/test/function/std_dev_approx__then_0.mcfunction +2 -0
  2756. package/dist/data/test/function/stop.mcfunction +2 -0
  2757. package/dist/data/test/function/stop__foreach_t0.mcfunction +1 -0
  2758. package/dist/data/test/function/str_len.mcfunction +2 -0
  2759. package/dist/data/test/function/strength.mcfunction +1 -0
  2760. package/dist/data/test/function/sub2d_x.mcfunction +5 -0
  2761. package/dist/data/test/function/sub2d_y.mcfunction +5 -0
  2762. package/dist/data/test/function/sub3d_x.mcfunction +5 -0
  2763. package/dist/data/test/function/sub3d_y.mcfunction +5 -0
  2764. package/dist/data/test/function/sub3d_z.mcfunction +5 -0
  2765. package/dist/data/test/function/t.mcfunction +3 -0
  2766. package/dist/data/test/function/teleport_to.mcfunction +9 -0
  2767. package/dist/data/test/function/teleport_to_entity.mcfunction +5 -0
  2768. package/dist/data/test/function/terrain_height.mcfunction +24 -0
  2769. package/dist/data/test/function/test.mcfunction +5 -0
  2770. package/dist/data/test/function/test__loop_body_1.mcfunction +9 -0
  2771. package/dist/data/test/function/test__loop_exit_2.mcfunction +1 -0
  2772. package/dist/data/test/function/test__loop_header_0.mcfunction +3 -0
  2773. package/dist/data/test/function/tick_to_ms.mcfunction +5 -0
  2774. package/dist/data/test/function/tick_to_seconds.mcfunction +5 -0
  2775. package/dist/data/test/function/tile_center.mcfunction +10 -0
  2776. package/dist/data/test/function/tile_of.mcfunction +6 -0
  2777. package/dist/data/test/function/tile_of__merge_1.mcfunction +7 -0
  2778. package/dist/data/test/function/tile_of__then_0.mcfunction +3 -0
  2779. package/dist/data/test/function/timer/done.mcfunction +4 -0
  2780. package/dist/data/test/function/timer/elapsed.mcfunction +2 -0
  2781. package/dist/data/test/function/timer/new.mcfunction +5 -0
  2782. package/dist/data/test/function/timer/pause.mcfunction +1 -0
  2783. package/dist/data/test/function/timer/remaining.mcfunction +9 -0
  2784. package/dist/data/test/function/timer/remaining__merge_1.mcfunction +2 -0
  2785. package/dist/data/test/function/timer/remaining__then_0.mcfunction +1 -0
  2786. package/dist/data/test/function/timer/reset.mcfunction +1 -0
  2787. package/dist/data/test/function/timer/start.mcfunction +1 -0
  2788. package/dist/data/test/function/timer/tick.mcfunction +8 -0
  2789. package/dist/data/test/function/timer/tick__merge_1.mcfunction +1 -0
  2790. package/dist/data/test/function/timer/tick__merge_3.mcfunction +1 -0
  2791. package/dist/data/test/function/timer/tick__then_0.mcfunction +3 -0
  2792. package/dist/data/test/function/timer/tick__then_2.mcfunction +4 -0
  2793. package/dist/data/test/function/totem_at.mcfunction +1 -0
  2794. package/dist/data/test/function/trapezoid_step.mcfunction +11 -0
  2795. package/dist/data/test/function/uniform_frac.mcfunction +11 -0
  2796. package/dist/data/test/function/uniform_frac__merge_1.mcfunction +4 -0
  2797. package/dist/data/test/function/uniform_frac__then_0.mcfunction +4 -0
  2798. package/dist/data/test/function/uniform_int.mcfunction +13 -0
  2799. package/dist/data/test/function/uniform_int__merge_1.mcfunction +9 -0
  2800. package/dist/data/test/function/uniform_int__then_0.mcfunction +4 -0
  2801. package/dist/data/test/function/uniform_scale.mcfunction +8 -0
  2802. package/dist/data/test/function/update_bar.mcfunction +5 -0
  2803. package/dist/data/test/function/update_bar_color.mcfunction +6 -0
  2804. package/dist/data/test/function/update_bar_color__else_2.mcfunction +4 -0
  2805. package/dist/data/test/function/update_bar_color__else_5.mcfunction +4 -0
  2806. package/dist/data/test/function/update_bar_color__merge_1.mcfunction +1 -0
  2807. package/dist/data/test/function/update_bar_color__merge_4.mcfunction +1 -0
  2808. package/dist/data/test/function/update_bar_color__then_0.mcfunction +4 -0
  2809. package/dist/data/test/function/update_bar_color__then_3.mcfunction +4 -0
  2810. package/dist/data/test/function/update_pos.mcfunction +5 -0
  2811. package/dist/data/test/function/value_noise_1d.mcfunction +13 -0
  2812. package/dist/data/test/function/value_noise_1d__merge_1.mcfunction +39 -0
  2813. package/dist/data/test/function/value_noise_1d__then_0.mcfunction +7 -0
  2814. package/dist/data/test/function/value_noise_2d.mcfunction +14 -0
  2815. package/dist/data/test/function/value_noise_2d__merge_1.mcfunction +12 -0
  2816. package/dist/data/test/function/value_noise_2d__merge_3.mcfunction +98 -0
  2817. package/dist/data/test/function/value_noise_2d__then_0.mcfunction +7 -0
  2818. package/dist/data/test/function/value_noise_2d__then_2.mcfunction +7 -0
  2819. package/dist/data/test/function/variance_from_m2.mcfunction +6 -0
  2820. package/dist/data/test/function/variance_from_m2__merge_1.mcfunction +5 -0
  2821. package/dist/data/test/function/variance_from_m2__then_0.mcfunction +2 -0
  2822. package/dist/data/test/function/water_drag_fx.mcfunction +2 -0
  2823. package/dist/data/test/function/weapon_damage.mcfunction +5 -0
  2824. package/dist/data/test/function/weather_clear.mcfunction +1 -0
  2825. package/dist/data/test/function/weather_rain.mcfunction +1 -0
  2826. package/dist/data/test/function/weather_thunder.mcfunction +1 -0
  2827. package/dist/data/test/function/weighted2.mcfunction +16 -0
  2828. package/dist/data/test/function/weighted2__merge_1.mcfunction +5 -0
  2829. package/dist/data/test/function/weighted2__merge_3.mcfunction +2 -0
  2830. package/dist/data/test/function/weighted2__then_0.mcfunction +4 -0
  2831. package/dist/data/test/function/weighted2__then_2.mcfunction +2 -0
  2832. package/dist/data/test/function/weighted3.mcfunction +19 -0
  2833. package/dist/data/test/function/weighted3__merge_1.mcfunction +6 -0
  2834. package/dist/data/test/function/weighted3__merge_3.mcfunction +5 -0
  2835. package/dist/data/test/function/weighted3__merge_6.mcfunction +2 -0
  2836. package/dist/data/test/function/weighted3__then_0.mcfunction +4 -0
  2837. package/dist/data/test/function/weighted3__then_2.mcfunction +2 -0
  2838. package/dist/data/test/function/weighted3__then_5.mcfunction +2 -0
  2839. package/dist/data/test_dmul/function/__double_mul_macro.mcfunction +1 -0
  2840. package/dist/data/test_dmul/function/double_mul_fixed.mcfunction +6 -0
  2841. package/dist/data/test_dmul/function/load.mcfunction +1 -0
  2842. package/dist/data/test_double_fn/function/double_test.mcfunction +2 -0
  2843. package/dist/data/test_double_fn/function/load.mcfunction +1 -0
  2844. package/dist/data/test_double_fn2/function/double_test.mcfunction +2 -0
  2845. package/dist/data/test_double_fn2/function/load.mcfunction +1 -0
  2846. package/dist/data/test_double_pass/function/caller_fn.mcfunction +4 -0
  2847. package/dist/data/test_double_pass/function/consume_double.mcfunction +2 -0
  2848. package/dist/data/test_double_pass/function/load.mcfunction +1 -0
  2849. package/dist/data/test_macro/function/load.mcfunction +1 -0
  2850. package/dist/data/test_macro/function/macro_helper.mcfunction +1 -0
  2851. package/dist/data/test_macro3/function/__dmul_macro.mcfunction +1 -0
  2852. package/dist/data/test_macro3/function/double_mul_test.mcfunction +7 -0
  2853. package/dist/data/test_macro3/function/load.mcfunction +1 -0
  2854. package/dist/data/test_ret_double/function/load.mcfunction +1 -0
  2855. package/dist/data/test_ret_double/function/make_double.mcfunction +3 -0
  2856. package/dist/data/test_ret_double/function/use_it.mcfunction +3 -0
  2857. package/dist/data/turret/function/__load.mcfunction +5 -0
  2858. package/dist/data/turret/function/__tick.mcfunction +4 -0
  2859. package/dist/data/turret/function/__trigger_deploy_turret_dispatch.mcfunction +4 -0
  2860. package/dist/data/turret/function/deploy_turret.mcfunction +8 -0
  2861. package/dist/data/turret/function/turret_tick/at_1.mcfunction +2 -0
  2862. package/dist/data/turret/function/turret_tick/foreach_0.mcfunction +2 -0
  2863. package/dist/data/turret/function/turret_tick/foreach_2.mcfunction +2 -0
  2864. package/dist/data/turret/function/turret_tick/tick_body.mcfunction +3 -0
  2865. package/dist/data/turret/function/turret_tick/tick_skip.mcfunction +1 -0
  2866. package/dist/data/turret/function/turret_tick.mcfunction +5 -0
  2867. package/dist/diagnostics/index.d.ts +44 -0
  2868. package/dist/diagnostics/index.js +140 -0
  2869. package/dist/events/types.d.ts +35 -0
  2870. package/dist/events/types.js +59 -0
  2871. package/dist/formatter/index.d.ts +1 -0
  2872. package/dist/formatter/index.js +26 -0
  2873. package/dist/gcd2.map.json +15 -0
  2874. package/dist/gcd3.map.json +17 -0
  2875. package/dist/gcd_test.map.json +15 -0
  2876. package/dist/index.d.ts +62 -0
  2877. package/dist/ir/builder.d.ts +33 -0
  2878. package/dist/ir/builder.js +99 -0
  2879. package/dist/ir/types.d.ts +132 -0
  2880. package/dist/ir/types.js +15 -0
  2881. package/dist/isqrttest.map.json +15 -0
  2882. package/dist/lexer/index.d.ts +37 -0
  2883. package/dist/lexer/index.js +569 -0
  2884. package/dist/lowering/index.d.ts +188 -0
  2885. package/dist/lowering/index.js +3405 -0
  2886. package/dist/mathtest.map.json +6 -0
  2887. package/dist/mc-test/client.d.ts +128 -0
  2888. package/dist/mc-test/client.js +174 -0
  2889. package/dist/mc-test/runner.d.ts +28 -0
  2890. package/dist/mc-test/runner.js +150 -0
  2891. package/dist/mc-test/setup.d.ts +11 -0
  2892. package/dist/mc-test/setup.js +98 -0
  2893. package/dist/mc-validator/index.d.ts +17 -0
  2894. package/dist/mc-validator/index.js +322 -0
  2895. package/dist/mypack.map.json +27 -0
  2896. package/dist/nbt/index.d.ts +86 -0
  2897. package/dist/nbt/index.js +250 -0
  2898. package/dist/optimizer/commands.d.ts +38 -0
  2899. package/dist/optimizer/commands.js +451 -0
  2900. package/dist/optimizer/dce.d.ts +34 -0
  2901. package/dist/optimizer/dce.js +639 -0
  2902. package/dist/optimizer/passes.d.ts +34 -0
  2903. package/dist/optimizer/passes.js +243 -0
  2904. package/dist/optimizer/structure.d.ts +9 -0
  2905. package/dist/optimizer/structure.js +356 -0
  2906. package/dist/pack.mcmeta +6 -0
  2907. package/dist/parser/index.d.ts +93 -0
  2908. package/dist/parser/index.js +1687 -0
  2909. package/dist/repl.d.ts +16 -0
  2910. package/dist/repl.js +165 -0
  2911. package/dist/reqtest.map.json +4 -0
  2912. package/dist/reqtest2.map.json +4 -0
  2913. package/dist/runtime/index.d.ts +107 -0
  2914. package/dist/runtime/index.js +1409 -0
  2915. package/dist/runtime.map.json +7 -0
  2916. package/dist/src/__tests__/array-dynamic.test.js +42 -0
  2917. package/dist/src/__tests__/builtins.test.d.ts +1 -0
  2918. package/dist/src/__tests__/builtins.test.js +55 -0
  2919. package/dist/src/__tests__/codegen.test.d.ts +1 -0
  2920. package/dist/src/__tests__/codegen.test.js +152 -0
  2921. package/dist/src/__tests__/debug-compile.test.d.ts +1 -0
  2922. package/dist/src/__tests__/debug-compile.test.js +24 -0
  2923. package/dist/src/__tests__/debug-compile2.test.d.ts +1 -0
  2924. package/dist/src/__tests__/debug-compile2.test.js +19 -0
  2925. package/dist/src/__tests__/debug-compile3.test.d.ts +1 -0
  2926. package/dist/src/__tests__/debug-compile3.test.js +22 -0
  2927. package/dist/src/__tests__/debug-wm.test.d.ts +1 -0
  2928. package/dist/src/__tests__/debug-wm.test.js +50 -0
  2929. package/dist/src/__tests__/debug_gen.d.ts +1 -0
  2930. package/dist/src/__tests__/debug_gen.js +24 -0
  2931. package/dist/src/__tests__/debug_scoreboard.test.d.ts +1 -0
  2932. package/dist/src/__tests__/debug_scoreboard.test.js +19 -0
  2933. package/dist/src/__tests__/debug_scoreboard2.test.d.ts +1 -0
  2934. package/dist/src/__tests__/debug_scoreboard2.test.js +27 -0
  2935. package/dist/src/__tests__/debug_scoreboard3.test.d.ts +1 -0
  2936. package/dist/src/__tests__/debug_scoreboard3.test.js +37 -0
  2937. package/dist/src/__tests__/e2e/ecs-stdlib.test.d.ts +7 -0
  2938. package/dist/src/__tests__/e2e/ecs-stdlib.test.js +328 -0
  2939. package/dist/src/__tests__/e2e/events-stdlib.test.d.ts +1 -0
  2940. package/dist/src/__tests__/e2e/events-stdlib.test.js +81 -0
  2941. package/dist/src/__tests__/e2e/fft-stdlib.test.d.ts +13 -0
  2942. package/dist/src/__tests__/e2e/fft-stdlib.test.js +288 -0
  2943. package/dist/src/__tests__/e2e/ode-stdlib.test.d.ts +1 -0
  2944. package/dist/src/__tests__/e2e/ode-stdlib.test.js +91 -0
  2945. package/dist/src/__tests__/e2e/stdlib-e2e.test.js +205 -0
  2946. package/dist/src/__tests__/e2e.test.d.ts +6 -0
  2947. package/dist/src/__tests__/e2e.test.js +1789 -0
  2948. package/dist/src/__tests__/emit/compile.test.d.ts +1 -0
  2949. package/dist/src/__tests__/emit/compile.test.js +95 -0
  2950. package/dist/src/__tests__/emit/index.test.d.ts +1 -0
  2951. package/dist/src/__tests__/emit/index.test.js +180 -0
  2952. package/dist/src/__tests__/emit/modules-extra.test.d.ts +1 -0
  2953. package/dist/src/__tests__/emit/modules-extra.test.js +77 -0
  2954. package/dist/src/__tests__/entity-types.test.d.ts +1 -0
  2955. package/dist/src/__tests__/entity-types.test.js +203 -0
  2956. package/dist/src/__tests__/enum.test.js +4 -6
  2957. package/dist/src/__tests__/for-each.test.d.ts +1 -0
  2958. package/dist/src/__tests__/for-each.test.js +125 -0
  2959. package/dist/src/__tests__/lowering.test.d.ts +1 -0
  2960. package/dist/src/__tests__/lowering.test.js +1015 -0
  2961. package/dist/src/__tests__/lsp-logic.test.d.ts +1 -0
  2962. package/dist/src/__tests__/lsp-logic.test.js +145 -0
  2963. package/dist/src/__tests__/macro.test.d.ts +8 -0
  2964. package/dist/src/__tests__/macro.test.js +306 -0
  2965. package/dist/src/__tests__/match.test.d.ts +10 -0
  2966. package/dist/src/__tests__/match.test.js +197 -0
  2967. package/dist/src/__tests__/mc-integration/item-entity-events.test.d.ts +18 -0
  2968. package/dist/src/__tests__/mc-integration/item-entity-events.test.js +287 -0
  2969. package/dist/src/__tests__/mc-integration/stdlib-coverage-2.test.d.ts +13 -0
  2970. package/dist/src/__tests__/mc-integration/stdlib-coverage-2.test.js +833 -0
  2971. package/dist/src/__tests__/mc-integration/stdlib-coverage.test.d.ts +13 -0
  2972. package/dist/src/__tests__/mc-integration/stdlib-coverage.test.js +707 -0
  2973. package/dist/src/__tests__/mc-integration/syntax-coverage.test.d.ts +9 -0
  2974. package/dist/src/__tests__/mc-integration/syntax-coverage.test.js +442 -0
  2975. package/dist/src/__tests__/mc-integration.test.js +173 -7
  2976. package/dist/src/__tests__/nbt.test.d.ts +1 -0
  2977. package/dist/src/__tests__/nbt.test.js +82 -0
  2978. package/dist/src/__tests__/optimizer-advanced.test.d.ts +1 -0
  2979. package/dist/src/__tests__/optimizer-advanced.test.js +124 -0
  2980. package/dist/src/__tests__/optimizer.test.d.ts +1 -0
  2981. package/dist/src/__tests__/optimizer.test.js +149 -0
  2982. package/dist/src/__tests__/parser.test.js +3 -3
  2983. package/dist/src/__tests__/runtime.test.d.ts +1 -0
  2984. package/dist/src/__tests__/runtime.test.js +194 -0
  2985. package/dist/src/__tests__/stdlib/arr-len.test.d.ts +13 -0
  2986. package/dist/src/__tests__/stdlib/arr-len.test.js +195 -0
  2987. package/dist/src/__tests__/stdlib/dialog.test.d.ts +6 -0
  2988. package/dist/src/__tests__/stdlib/dialog.test.js +142 -0
  2989. package/dist/src/__tests__/stdlib/scheduler.test.d.ts +6 -0
  2990. package/dist/src/__tests__/stdlib/scheduler.test.js +177 -0
  2991. package/dist/src/__tests__/stdlib/sort-v2.test.d.ts +4 -0
  2992. package/dist/src/__tests__/stdlib/sort-v2.test.js +131 -0
  2993. package/dist/src/__tests__/stdlib/state.test.d.ts +5 -0
  2994. package/dist/src/__tests__/stdlib/state.test.js +176 -0
  2995. package/dist/src/__tests__/stdlib-advanced.test.d.ts +4 -0
  2996. package/dist/src/__tests__/stdlib-advanced.test.js +374 -0
  2997. package/dist/src/__tests__/stdlib-bigint.test.d.ts +7 -0
  2998. package/dist/src/__tests__/stdlib-bigint.test.js +426 -0
  2999. package/dist/src/__tests__/stdlib-math.test.d.ts +7 -0
  3000. package/dist/src/__tests__/stdlib-math.test.js +351 -0
  3001. package/dist/src/__tests__/stdlib-vec.test.d.ts +4 -0
  3002. package/dist/src/__tests__/stdlib-vec.test.js +263 -0
  3003. package/dist/src/__tests__/structure-optimizer.test.d.ts +1 -0
  3004. package/dist/src/__tests__/structure-optimizer.test.js +33 -0
  3005. package/dist/src/__tests__/timer-debug.test.d.ts +1 -0
  3006. package/dist/src/__tests__/timer-debug.test.js +33 -0
  3007. package/dist/src/__tests__/typechecker.test.js +5 -3
  3008. package/dist/src/__tests__/var-allocator.test.d.ts +1 -0
  3009. package/dist/src/__tests__/var-allocator.test.js +69 -0
  3010. package/dist/src/ast/types.d.ts +21 -1
  3011. package/dist/src/codegen/cmdblock/index.d.ts +26 -0
  3012. package/dist/src/codegen/cmdblock/index.js +45 -0
  3013. package/dist/src/codegen/mcfunction/index.d.ts +40 -0
  3014. package/dist/src/codegen/mcfunction/index.js +606 -0
  3015. package/dist/src/codegen/structure/index.d.ts +24 -0
  3016. package/dist/src/codegen/structure/index.js +279 -0
  3017. package/dist/src/codegen/var-allocator.d.ts +45 -0
  3018. package/dist/src/codegen/var-allocator.js +104 -0
  3019. package/dist/src/emit/compile.js +12 -2
  3020. package/dist/src/emit/index.d.ts +2 -0
  3021. package/dist/src/emit/index.js +19 -0
  3022. package/dist/src/emit/modules.js +3 -2
  3023. package/dist/src/events/types.d.ts +1 -1
  3024. package/dist/src/events/types.js +4 -1
  3025. package/dist/src/hir/lower.js +85 -1
  3026. package/dist/src/hir/monomorphize.js +10 -4
  3027. package/dist/src/hir/types.d.ts +15 -1
  3028. package/dist/src/ir/builder.d.ts +33 -0
  3029. package/dist/src/ir/builder.js +99 -0
  3030. package/dist/src/ir/types.d.ts +132 -0
  3031. package/dist/src/ir/types.js +15 -0
  3032. package/dist/src/lir/lower.js +7 -0
  3033. package/dist/src/lowering/index.d.ts +188 -0
  3034. package/dist/src/lowering/index.js +3405 -0
  3035. package/dist/src/lsp/main.js +0 -0
  3036. package/dist/src/lsp/server.js +331 -118
  3037. package/dist/src/mir/lower.js +303 -57
  3038. package/dist/src/mir/types.d.ts +5 -0
  3039. package/dist/src/mir/verify.js +2 -0
  3040. package/dist/src/optimizer/commands.d.ts +38 -0
  3041. package/dist/src/optimizer/commands.js +451 -0
  3042. package/dist/src/optimizer/interprocedural.js +4 -0
  3043. package/dist/src/optimizer/passes.d.ts +34 -0
  3044. package/dist/src/optimizer/passes.js +243 -0
  3045. package/dist/src/optimizer/structure.d.ts +9 -0
  3046. package/dist/src/optimizer/structure.js +356 -0
  3047. package/dist/src/parser/index.d.ts +1 -0
  3048. package/dist/src/parser/index.js +59 -12
  3049. package/dist/src/runtime/index.js +24 -0
  3050. package/dist/src/typechecker/index.js +14 -7
  3051. package/dist/src2/__tests__/e2e/basic.test.d.ts +8 -0
  3052. package/dist/src2/__tests__/e2e/basic.test.js +140 -0
  3053. package/dist/src2/__tests__/e2e/macros.test.d.ts +9 -0
  3054. package/dist/src2/__tests__/e2e/macros.test.js +182 -0
  3055. package/dist/src2/__tests__/e2e/migrate.test.d.ts +13 -0
  3056. package/dist/src2/__tests__/e2e/migrate.test.js +2739 -0
  3057. package/dist/src2/__tests__/hir/desugar.test.d.ts +1 -0
  3058. package/dist/src2/__tests__/hir/desugar.test.js +234 -0
  3059. package/dist/src2/__tests__/lir/lower.test.d.ts +1 -0
  3060. package/dist/src2/__tests__/lir/lower.test.js +559 -0
  3061. package/dist/src2/__tests__/lir/types.test.d.ts +1 -0
  3062. package/dist/src2/__tests__/lir/types.test.js +185 -0
  3063. package/dist/src2/__tests__/lir/verify.test.d.ts +1 -0
  3064. package/dist/src2/__tests__/lir/verify.test.js +221 -0
  3065. package/dist/src2/__tests__/mir/arithmetic.test.d.ts +1 -0
  3066. package/dist/src2/__tests__/mir/arithmetic.test.js +130 -0
  3067. package/dist/src2/__tests__/mir/control-flow.test.d.ts +1 -0
  3068. package/dist/src2/__tests__/mir/control-flow.test.js +205 -0
  3069. package/dist/src2/__tests__/mir/verify.test.d.ts +1 -0
  3070. package/dist/src2/__tests__/mir/verify.test.js +223 -0
  3071. package/dist/src2/__tests__/optimizer/block_merge.test.d.ts +1 -0
  3072. package/dist/src2/__tests__/optimizer/block_merge.test.js +78 -0
  3073. package/dist/src2/__tests__/optimizer/branch_simplify.test.d.ts +1 -0
  3074. package/dist/src2/__tests__/optimizer/branch_simplify.test.js +58 -0
  3075. package/dist/src2/__tests__/optimizer/constant_fold.test.d.ts +1 -0
  3076. package/dist/src2/__tests__/optimizer/constant_fold.test.js +131 -0
  3077. package/dist/src2/__tests__/optimizer/copy_prop.test.d.ts +1 -0
  3078. package/dist/src2/__tests__/optimizer/copy_prop.test.js +91 -0
  3079. package/dist/src2/__tests__/optimizer/dce.test.d.ts +1 -0
  3080. package/dist/src2/__tests__/optimizer/dce.test.js +76 -0
  3081. package/dist/src2/__tests__/optimizer/pipeline.test.d.ts +1 -0
  3082. package/dist/src2/__tests__/optimizer/pipeline.test.js +102 -0
  3083. package/dist/src2/emit/compile.d.ts +19 -0
  3084. package/dist/src2/emit/compile.js +80 -0
  3085. package/dist/src2/emit/index.d.ts +17 -0
  3086. package/dist/src2/emit/index.js +172 -0
  3087. package/dist/src2/hir/lower.d.ts +15 -0
  3088. package/dist/src2/hir/lower.js +378 -0
  3089. package/dist/src2/hir/types.d.ts +373 -0
  3090. package/dist/src2/hir/types.js +16 -0
  3091. package/dist/src2/lir/lower.d.ts +15 -0
  3092. package/dist/src2/lir/lower.js +453 -0
  3093. package/dist/src2/lir/types.d.ts +136 -0
  3094. package/dist/src2/lir/types.js +11 -0
  3095. package/dist/src2/lir/verify.d.ts +14 -0
  3096. package/dist/src2/lir/verify.js +113 -0
  3097. package/dist/src2/mir/lower.d.ts +9 -0
  3098. package/dist/src2/mir/lower.js +1030 -0
  3099. package/dist/src2/mir/macro.d.ts +22 -0
  3100. package/dist/src2/mir/macro.js +168 -0
  3101. package/dist/src2/mir/types.d.ts +183 -0
  3102. package/dist/src2/mir/types.js +11 -0
  3103. package/dist/src2/mir/verify.d.ts +16 -0
  3104. package/dist/src2/mir/verify.js +216 -0
  3105. package/dist/src2/optimizer/block_merge.d.ts +12 -0
  3106. package/dist/src2/optimizer/block_merge.js +84 -0
  3107. package/dist/src2/optimizer/branch_simplify.d.ts +9 -0
  3108. package/dist/src2/optimizer/branch_simplify.js +28 -0
  3109. package/dist/src2/optimizer/constant_fold.d.ts +10 -0
  3110. package/dist/src2/optimizer/constant_fold.js +85 -0
  3111. package/dist/src2/optimizer/copy_prop.d.ts +9 -0
  3112. package/dist/src2/optimizer/copy_prop.js +113 -0
  3113. package/dist/src2/optimizer/dce.d.ts +8 -0
  3114. package/dist/src2/optimizer/dce.js +155 -0
  3115. package/dist/src2/optimizer/pipeline.d.ts +10 -0
  3116. package/dist/src2/optimizer/pipeline.js +42 -0
  3117. package/dist/swap_test.map.json +14 -0
  3118. package/dist/tsconfig.tsbuildinfo +1 -0
  3119. package/dist/typechecker/index.d.ts +61 -0
  3120. package/dist/typechecker/index.js +1034 -0
  3121. package/dist/types/entity-hierarchy.d.ts +29 -0
  3122. package/dist/types/entity-hierarchy.js +107 -0
  3123. package/editors/vscode/out/extension.js +673 -120
  3124. package/editors/vscode/out/lsp-server.js +14854 -0
  3125. package/editors/vscode/package-lock.json +2 -2
  3126. package/editors/vscode/package.json +1 -1
  3127. package/editors/vscode/snippets/redscript.json +109 -30
  3128. package/editors/vscode/src/extension.ts +4 -7
  3129. package/jest.config.js +5 -2
  3130. package/package.json +1 -1
  3131. package/src/__tests__/array-dynamic.test.ts +42 -0
  3132. package/src/__tests__/builtins.test.ts +66 -0
  3133. package/src/__tests__/e2e/ecs-stdlib.test.ts +371 -0
  3134. package/src/__tests__/e2e/events-stdlib.test.ts +50 -0
  3135. package/src/__tests__/e2e/fft-stdlib.test.ts +313 -0
  3136. package/src/__tests__/e2e/ode-stdlib.test.ts +68 -0
  3137. package/src/__tests__/e2e/stdlib-e2e.test.ts +266 -0
  3138. package/src/__tests__/emit/compile.test.ts +102 -0
  3139. package/src/__tests__/emit/index.test.ts +189 -0
  3140. package/src/__tests__/emit/modules-extra.test.ts +80 -0
  3141. package/src/__tests__/enum.test.ts +4 -6
  3142. package/src/__tests__/for-each.test.ts +135 -0
  3143. package/src/__tests__/lsp-logic.test.ts +162 -0
  3144. package/src/__tests__/match.test.ts +212 -0
  3145. package/src/__tests__/mc-integration/item-entity-events.test.ts +298 -0
  3146. package/src/__tests__/mc-integration/stdlib-coverage-2.test.ts +817 -0
  3147. package/src/__tests__/mc-integration/stdlib-coverage.test.ts +699 -0
  3148. package/src/__tests__/mc-integration/syntax-coverage.test.ts +464 -0
  3149. package/src/__tests__/mc-integration.test.ts +184 -6
  3150. package/src/__tests__/parser.test.ts +3 -3
  3151. package/src/__tests__/runtime.test.ts +194 -0
  3152. package/src/__tests__/stdlib/arr-len.test.ts +231 -0
  3153. package/src/__tests__/stdlib/dialog.test.ts +132 -0
  3154. package/src/__tests__/stdlib/scheduler.test.ts +171 -0
  3155. package/src/__tests__/stdlib/sort-v2.test.ts +111 -0
  3156. package/src/__tests__/stdlib/state.test.ts +164 -0
  3157. package/src/__tests__/typechecker.test.ts +5 -3
  3158. package/src/ast/types.ts +13 -1
  3159. package/src/emit/compile.ts +11 -2
  3160. package/src/emit/index.ts +23 -0
  3161. package/src/emit/modules.ts +2 -1
  3162. package/src/events/types.ts +4 -1
  3163. package/src/examples/capture_the_flag.mcrs +2 -2
  3164. package/src/examples/hunger_games.mcrs +4 -4
  3165. package/src/examples/parkour_race.mcrs +8 -8
  3166. package/src/examples/tutorial_02_variables.mcrs +5 -5
  3167. package/src/examples/tutorial_03_functions_structs.mcrs +6 -6
  3168. package/src/examples/tutorial_04_selectors.mcrs +1 -1
  3169. package/src/examples/tutorial_05_decorators.mcrs +3 -3
  3170. package/src/examples/tutorial_06_math_particles.mcrs +9 -9
  3171. package/src/examples/tutorial_07_random.mcrs +4 -4
  3172. package/src/examples/tutorial_08_coroutine.mcrs +7 -7
  3173. package/src/examples/tutorial_09_precision.mcrs +12 -12
  3174. package/src/examples/tutorial_10_kill_race.mcrs +7 -7
  3175. package/src/examples/zombie_survival.mcrs +7 -7
  3176. package/src/hir/lower.ts +97 -3
  3177. package/src/hir/monomorphize.ts +10 -5
  3178. package/src/hir/types.ts +12 -1
  3179. package/src/lir/lower.ts +8 -0
  3180. package/src/lsp/server.ts +318 -117
  3181. package/src/mir/lower.ts +298 -55
  3182. package/src/mir/types.ts +1 -0
  3183. package/src/mir/verify.ts +2 -0
  3184. package/src/optimizer/interprocedural.ts +4 -0
  3185. package/src/parser/index.ts +63 -14
  3186. package/src/runtime/index.ts +26 -0
  3187. package/src/stdlib/bigint.mcrs +127 -0
  3188. package/src/stdlib/combat.mcrs +18 -12
  3189. package/src/stdlib/dialog.mcrs +55 -0
  3190. package/src/stdlib/ecs.mcrs +238 -0
  3191. package/src/stdlib/events.mcrs +29 -0
  3192. package/src/stdlib/fft.mcrs +177 -0
  3193. package/src/stdlib/graph.mcrs +274 -0
  3194. package/src/stdlib/linalg.mcrs +260 -0
  3195. package/src/stdlib/matrix.mcrs +113 -0
  3196. package/src/stdlib/ode.mcrs +168 -0
  3197. package/src/stdlib/scheduler.mcrs +271 -0
  3198. package/src/stdlib/sort.mcrs +85 -0
  3199. package/src/stdlib/state.mcrs +65 -0
  3200. package/src/typechecker/index.ts +17 -7
  3201. package/test_trig.ts +43 -0
@@ -18410,6 +18410,9 @@ var require_lexer = __commonJS({
18410
18410
  if (char === "." && this.peek() === ".") {
18411
18411
  this.advance();
18412
18412
  let value = "..";
18413
+ if (this.peek() === "=") {
18414
+ value += this.advance();
18415
+ }
18413
18416
  while (/[0-9]/.test(this.peek())) {
18414
18417
  value += this.advance();
18415
18418
  }
@@ -18662,6 +18665,9 @@ var require_lexer = __commonJS({
18662
18665
  if (this.peek() === "." && this.peek(1) === ".") {
18663
18666
  value += this.advance();
18664
18667
  value += this.advance();
18668
+ if (this.peek() === "=") {
18669
+ value += this.advance();
18670
+ }
18665
18671
  while (/[0-9]/.test(this.peek())) {
18666
18672
  value += this.advance();
18667
18673
  }
@@ -19070,6 +19076,7 @@ var require_parser = __commonJS({
19070
19076
  returnType = this.parseType();
19071
19077
  }
19072
19078
  const body = this.parseBlock();
19079
+ const closingBraceLine = this.tokens[this.pos - 1]?.line;
19073
19080
  const fn = this.withLoc({
19074
19081
  name,
19075
19082
  typeParams,
@@ -19080,6 +19087,8 @@ var require_parser = __commonJS({
19080
19087
  isLibraryFn: this.inLibraryMode || void 0,
19081
19088
  isExported
19082
19089
  }, fnToken);
19090
+ if (fn.span && closingBraceLine)
19091
+ fn.span.endLine = closingBraceLine;
19083
19092
  return fn;
19084
19093
  }
19085
19094
  /** Parse a `declare fn name(params): returnType;` stub — no body, just discard. */
@@ -19167,7 +19176,7 @@ var require_parser = __commonJS({
19167
19176
  } else if (key === "batch") {
19168
19177
  args.batch = parseInt(val, 10);
19169
19178
  } else if (key === "onDone") {
19170
- args.onDone = val;
19179
+ args.onDone = val.replace(/^["']|["']$/g, "");
19171
19180
  } else if (key === "trigger") {
19172
19181
  args.trigger = val;
19173
19182
  } else if (key === "advancement") {
@@ -19454,9 +19463,13 @@ var require_parser = __commonJS({
19454
19463
  this.expect("in");
19455
19464
  let start;
19456
19465
  let end;
19466
+ let inclusive = false;
19457
19467
  if (this.check("range_lit")) {
19458
19468
  const rangeToken = this.advance();
19459
- const range = this.parseRangeValue(rangeToken.value);
19469
+ const raw = rangeToken.value;
19470
+ const incl = raw.includes("..=");
19471
+ inclusive = incl;
19472
+ const range = this.parseRangeValue(raw);
19460
19473
  start = this.withLoc({ kind: "int_lit", value: range.min ?? 0 }, rangeToken);
19461
19474
  if (range.max !== null && range.max !== void 0) {
19462
19475
  end = this.withLoc({ kind: "int_lit", value: range.max }, rangeToken);
@@ -19464,12 +19477,29 @@ var require_parser = __commonJS({
19464
19477
  end = this.parseUnaryExpr();
19465
19478
  }
19466
19479
  } else {
19467
- start = this.withLoc({ kind: "int_lit", value: 0 }, this.peek());
19468
- end = this.withLoc({ kind: "int_lit", value: 0 }, this.peek());
19469
- this.error("Dynamic range start requires a literal integer (e.g. 0..count)");
19480
+ const arrayOrStart = this.parseExpr();
19481
+ if (!this.check("range_lit")) {
19482
+ const body2 = this.parseBlock();
19483
+ return this.withLoc({ kind: "for_each", binding: varName, array: arrayOrStart, body: body2 }, forToken);
19484
+ }
19485
+ start = arrayOrStart;
19486
+ if (this.check("range_lit")) {
19487
+ const rangeOp = this.advance();
19488
+ inclusive = rangeOp.value.includes("=");
19489
+ const afterOp = rangeOp.value.replace(/^\.\.=?/, "");
19490
+ if (afterOp.length > 0) {
19491
+ end = this.withLoc({ kind: "int_lit", value: parseInt(afterOp, 10) }, rangeOp);
19492
+ } else {
19493
+ end = this.parseExpr();
19494
+ }
19495
+ } else {
19496
+ this.error("Expected .. or ..= in for-range expression");
19497
+ start = this.withLoc({ kind: "int_lit", value: 0 }, this.peek());
19498
+ end = this.withLoc({ kind: "int_lit", value: 0 }, this.peek());
19499
+ }
19470
19500
  }
19471
19501
  const body = this.parseBlock();
19472
- return this.withLoc({ kind: "for_range", varName, start, end, body }, forToken);
19502
+ return this.withLoc({ kind: "for_range", varName, start, end, inclusive, body }, forToken);
19473
19503
  }
19474
19504
  parseForeachStmt() {
19475
19505
  const foreachToken = this.expect("foreach");
@@ -19490,23 +19520,51 @@ var require_parser = __commonJS({
19490
19520
  const body = this.parseBlock();
19491
19521
  return this.withLoc({ kind: "foreach", binding, iterable, body, executeContext }, foreachToken);
19492
19522
  }
19523
+ parseMatchPattern() {
19524
+ if (this.check("ident") && this.peek().value === "_") {
19525
+ this.advance();
19526
+ return { kind: "PatWild" };
19527
+ }
19528
+ if (this.check("ident") && this.peek().value === "None") {
19529
+ this.advance();
19530
+ return { kind: "PatNone" };
19531
+ }
19532
+ if (this.check("ident") && this.peek().value === "Some") {
19533
+ this.advance();
19534
+ this.expect("(");
19535
+ const binding = this.expect("ident").value;
19536
+ this.expect(")");
19537
+ return { kind: "PatSome", binding };
19538
+ }
19539
+ if (this.check("int_lit")) {
19540
+ const tok = this.advance();
19541
+ return { kind: "PatInt", value: parseInt(tok.value, 10) };
19542
+ }
19543
+ if (this.check("-") && this.peek(1).kind === "int_lit") {
19544
+ this.advance();
19545
+ const tok = this.advance();
19546
+ return { kind: "PatInt", value: -parseInt(tok.value, 10) };
19547
+ }
19548
+ const e = this.parseExpr();
19549
+ return { kind: "PatExpr", expr: e };
19550
+ }
19493
19551
  parseMatchStmt() {
19494
19552
  const matchToken = this.expect("match");
19495
- this.expect("(");
19496
- const expr = this.parseExpr();
19497
- this.expect(")");
19553
+ let expr;
19554
+ if (this.check("(")) {
19555
+ this.advance();
19556
+ expr = this.parseExpr();
19557
+ this.expect(")");
19558
+ } else {
19559
+ expr = this.parseExpr();
19560
+ }
19498
19561
  this.expect("{");
19499
19562
  const arms = [];
19500
19563
  while (!this.check("}") && !this.check("eof")) {
19501
- let pattern;
19502
- if (this.check("ident") && this.peek().value === "_") {
19503
- this.advance();
19504
- pattern = null;
19505
- } else {
19506
- pattern = this.parseExpr();
19507
- }
19564
+ const pattern = this.parseMatchPattern();
19508
19565
  this.expect("=>");
19509
19566
  const body = this.parseBlock();
19567
+ this.match(",");
19510
19568
  arms.push({ pattern, body });
19511
19569
  }
19512
19570
  this.expect("}");
@@ -19962,6 +20020,10 @@ var require_parser = __commonJS({
19962
20020
  sel: this.parseSelectorValue(token.value)
19963
20021
  }, token);
19964
20022
  }
20023
+ if (token.kind === "ident" && this.peek(1).kind === "{" && this.peek(2).kind === "ident" && this.peek(3).kind === ":") {
20024
+ this.advance();
20025
+ return this.parseStructLit();
20026
+ }
19965
20027
  if (token.kind === "ident" && token.value === "Some" && this.peek(1).kind === "(") {
19966
20028
  this.advance();
19967
20029
  this.advance();
@@ -20483,18 +20545,36 @@ var require_parser = __commonJS({
20483
20545
  return scores;
20484
20546
  }
20485
20547
  parseRangeValue(value) {
20548
+ if (value.startsWith("..=")) {
20549
+ const rest = value.slice(3);
20550
+ if (!rest)
20551
+ return {};
20552
+ const max = parseInt(rest, 10);
20553
+ return { max };
20554
+ }
20486
20555
  if (value.startsWith("..")) {
20487
- const max = parseInt(value.slice(2), 10);
20556
+ const rest = value.slice(2);
20557
+ if (!rest)
20558
+ return {};
20559
+ const max = parseInt(rest, 10);
20488
20560
  return { max };
20489
20561
  }
20490
- if (value.endsWith("..")) {
20491
- const min = parseInt(value.slice(0, -2), 10);
20492
- return { min };
20562
+ const inclIdx = value.indexOf("..=");
20563
+ if (inclIdx !== -1) {
20564
+ const min = parseInt(value.slice(0, inclIdx), 10);
20565
+ const rest = value.slice(inclIdx + 3);
20566
+ if (!rest)
20567
+ return { min };
20568
+ const max = parseInt(rest, 10);
20569
+ return { min, max };
20493
20570
  }
20494
20571
  const dotIndex = value.indexOf("..");
20495
20572
  if (dotIndex !== -1) {
20496
20573
  const min = parseInt(value.slice(0, dotIndex), 10);
20497
- const max = parseInt(value.slice(dotIndex + 2), 10);
20574
+ const rest = value.slice(dotIndex + 2);
20575
+ if (!rest)
20576
+ return { min };
20577
+ const max = parseInt(rest, 10);
20498
20578
  return { min, max };
20499
20579
  }
20500
20580
  const val = parseInt(value, 10);
@@ -20714,6 +20794,20 @@ var require_lower = __commonJS({
20714
20794
  isLibrary: program.isLibrary
20715
20795
  };
20716
20796
  }
20797
+ function lowerMatchPattern(pat) {
20798
+ switch (pat.kind) {
20799
+ case "PatSome":
20800
+ return pat;
20801
+ case "PatNone":
20802
+ return pat;
20803
+ case "PatInt":
20804
+ return pat;
20805
+ case "PatWild":
20806
+ return pat;
20807
+ case "PatExpr":
20808
+ return { kind: "PatExpr", expr: lowerExpr(pat.expr) };
20809
+ }
20810
+ }
20717
20811
  function lowerGlobal(g) {
20718
20812
  return {
20719
20813
  name: g.name,
@@ -20822,7 +20916,7 @@ var require_lower = __commonJS({
20822
20916
  kind: "while",
20823
20917
  cond: {
20824
20918
  kind: "binary",
20825
- op: "<",
20919
+ op: stmt.inclusive ? "<=" : "<",
20826
20920
  left: { kind: "ident", name: varName },
20827
20921
  right: lowerExpr(stmt.end)
20828
20922
  },
@@ -20883,6 +20977,71 @@ var require_lower = __commonJS({
20883
20977
  };
20884
20978
  return [initStmt, whileStmt];
20885
20979
  }
20980
+ // --- Desugaring: for_each → let __for_len = arr.len(); let __for_i = 0; while(__for_i < __for_len) { let item = arr[__for_i]; body; __for_i = __for_i + 1 } ---
20981
+ case "for_each": {
20982
+ const id = forEachCounter++;
20983
+ const idxName = `__foreach_i_${id}`;
20984
+ const lenName = `__foreach_len_${id}`;
20985
+ const arrExpr = lowerExpr(stmt.array);
20986
+ const lenInitStmt = {
20987
+ kind: "let",
20988
+ name: lenName,
20989
+ type: { kind: "named", name: "int" },
20990
+ init: {
20991
+ kind: "invoke",
20992
+ callee: { kind: "member", obj: arrExpr, field: "len" },
20993
+ args: []
20994
+ },
20995
+ span: stmt.span
20996
+ };
20997
+ const idxInitStmt = {
20998
+ kind: "let",
20999
+ name: idxName,
21000
+ type: { kind: "named", name: "int" },
21001
+ init: { kind: "int_lit", value: 0 },
21002
+ span: stmt.span
21003
+ };
21004
+ const bindingInit = {
21005
+ kind: "let",
21006
+ name: stmt.binding,
21007
+ type: void 0,
21008
+ init: {
21009
+ kind: "index",
21010
+ obj: arrExpr,
21011
+ index: { kind: "ident", name: idxName }
21012
+ },
21013
+ span: stmt.span
21014
+ };
21015
+ const stepStmt = {
21016
+ kind: "expr",
21017
+ expr: {
21018
+ kind: "assign",
21019
+ target: idxName,
21020
+ value: {
21021
+ kind: "binary",
21022
+ op: "+",
21023
+ left: { kind: "ident", name: idxName },
21024
+ right: { kind: "int_lit", value: 1 }
21025
+ }
21026
+ },
21027
+ span: stmt.span
21028
+ };
21029
+ const body = [bindingInit, ...lowerBlock(stmt.body)];
21030
+ const step = [stepStmt];
21031
+ const whileStmt = {
21032
+ kind: "while",
21033
+ cond: {
21034
+ kind: "binary",
21035
+ op: "<",
21036
+ left: { kind: "ident", name: idxName },
21037
+ right: { kind: "ident", name: lenName }
21038
+ },
21039
+ body,
21040
+ step,
21041
+ span: stmt.span
21042
+ };
21043
+ return [lenInitStmt, idxInitStmt, whileStmt];
21044
+ }
20886
21045
  case "foreach":
20887
21046
  return {
20888
21047
  kind: "foreach",
@@ -20897,7 +21056,7 @@ var require_lower = __commonJS({
20897
21056
  kind: "match",
20898
21057
  expr: lowerExpr(stmt.expr),
20899
21058
  arms: stmt.arms.map((arm) => ({
20900
- pattern: arm.pattern ? lowerExpr(arm.pattern) : null,
21059
+ pattern: lowerMatchPattern(arm.pattern),
20901
21060
  body: lowerBlock(arm.body)
20902
21061
  })),
20903
21062
  span: stmt.span
@@ -20956,6 +21115,7 @@ var require_lower = __commonJS({
20956
21115
  function lowerExecuteSubcommand(sub) {
20957
21116
  return sub;
20958
21117
  }
21118
+ var forEachCounter = 0;
20959
21119
  var COMPOUND_TO_BINOP = {
20960
21120
  "+=": "+",
20961
21121
  "-=": "-",
@@ -21323,10 +21483,15 @@ var require_monomorphize = __commonJS({
21323
21483
  return {
21324
21484
  ...stmt,
21325
21485
  expr: this.rewriteExpr(stmt.expr, ctx),
21326
- arms: stmt.arms.map((arm) => ({
21327
- pattern: arm.pattern ? this.rewriteExpr(arm.pattern, ctx) : null,
21328
- body: this.rewriteBlock(arm.body, ctx)
21329
- }))
21486
+ arms: stmt.arms.map((arm) => {
21487
+ let pattern;
21488
+ if (arm.pattern.kind === "PatExpr") {
21489
+ pattern = { kind: "PatExpr", expr: this.rewriteExpr(arm.pattern.expr, ctx) };
21490
+ } else {
21491
+ pattern = arm.pattern;
21492
+ }
21493
+ return { pattern, body: this.rewriteBlock(arm.body, ctx) };
21494
+ })
21330
21495
  };
21331
21496
  case "execute":
21332
21497
  return { ...stmt, body: this.rewriteBlock(stmt.body, ctx) };
@@ -21874,15 +22039,40 @@ var require_lower2 = __commonJS({
21874
22039
  }
21875
22040
  ctx.structVars.set("self", { typeName, fields: selfFields });
21876
22041
  for (let i = 1; i < method.params.length; i++) {
21877
- const t = ctx.freshTemp();
21878
- params.push({ name: t, isMacroParam: false });
21879
- scope.set(method.params[i].name, t);
22042
+ const p = method.params[i];
22043
+ const paramTypeName = p.type.kind === "named" ? p.type.name : p.type.kind === "struct" ? p.type.name : null;
22044
+ const paramFields = paramTypeName ? ctx.structDefs.get(paramTypeName) : null;
22045
+ if (paramFields && paramFields.length > 0) {
22046
+ const paramFieldTemps = /* @__PURE__ */ new Map();
22047
+ for (const fieldName of paramFields) {
22048
+ const t = ctx.freshTemp();
22049
+ params.push({ name: t, isMacroParam: false });
22050
+ paramFieldTemps.set(fieldName, t);
22051
+ }
22052
+ ctx.structVars.set(p.name, { typeName: paramTypeName, fields: paramFieldTemps });
22053
+ } else {
22054
+ const t = ctx.freshTemp();
22055
+ params.push({ name: t, isMacroParam: false });
22056
+ scope.set(p.name, t);
22057
+ }
21880
22058
  }
21881
22059
  } else {
21882
22060
  for (const p of method.params) {
21883
- const t = ctx.freshTemp();
21884
- params.push({ name: t, isMacroParam: false });
21885
- scope.set(p.name, t);
22061
+ const paramTypeName = p.type.kind === "named" ? p.type.name : p.type.kind === "struct" ? p.type.name : null;
22062
+ const paramFields = paramTypeName ? ctx.structDefs.get(paramTypeName) : null;
22063
+ if (paramFields && paramFields.length > 0) {
22064
+ const paramFieldTemps = /* @__PURE__ */ new Map();
22065
+ for (const fieldName of paramFields) {
22066
+ const t = ctx.freshTemp();
22067
+ params.push({ name: t, isMacroParam: false });
22068
+ paramFieldTemps.set(fieldName, t);
22069
+ }
22070
+ ctx.structVars.set(p.name, { typeName: paramTypeName, fields: paramFieldTemps });
22071
+ } else {
22072
+ const t = ctx.freshTemp();
22073
+ params.push({ name: t, isMacroParam: false });
22074
+ scope.set(p.name, t);
22075
+ }
21886
22076
  }
21887
22077
  }
21888
22078
  lowerBlock(method.body, ctx, scope);
@@ -21978,10 +22168,26 @@ var require_lower2 = __commonJS({
21978
22168
  const typeName = stmt.type?.kind === "struct" ? stmt.type.name : "__anon";
21979
22169
  const fieldTemps = /* @__PURE__ */ new Map();
21980
22170
  for (const field of stmt.init.fields) {
21981
- const val = lowerExpr(field.value, ctx, scope);
21982
- const t = ctx.freshTemp();
21983
- ctx.emit({ kind: "copy", dst: t, src: val });
21984
- fieldTemps.set(field.name, t);
22171
+ if (field.value.kind === "struct_lit") {
22172
+ const nestedVarName = `${stmt.name}.${field.name}`;
22173
+ const nestedTypeName = "__anon";
22174
+ const nestedFieldTemps = /* @__PURE__ */ new Map();
22175
+ for (const nestedField of field.value.fields) {
22176
+ const nval = lowerExpr(nestedField.value, ctx, scope);
22177
+ const nt = ctx.freshTemp();
22178
+ ctx.emit({ kind: "copy", dst: nt, src: nval });
22179
+ nestedFieldTemps.set(nestedField.name, nt);
22180
+ }
22181
+ ctx.structVars.set(nestedVarName, { typeName: nestedTypeName, fields: nestedFieldTemps });
22182
+ const t = ctx.freshTemp();
22183
+ ctx.emit({ kind: "const", dst: t, value: 0 });
22184
+ fieldTemps.set(field.name, t);
22185
+ } else {
22186
+ const val = lowerExpr(field.value, ctx, scope);
22187
+ const t = ctx.freshTemp();
22188
+ ctx.emit({ kind: "copy", dst: t, src: val });
22189
+ fieldTemps.set(field.name, t);
22190
+ }
21985
22191
  }
21986
22192
  ctx.structVars.set(stmt.name, { typeName, fields: fieldTemps });
21987
22193
  } else if (stmt.type?.kind === "option") {
@@ -22031,25 +22237,33 @@ var require_lower2 = __commonJS({
22031
22237
  } else if (stmt.init.kind === "array_lit") {
22032
22238
  const ns = `${ctx.getNamespace()}:arrays`;
22033
22239
  const pathPrefix = stmt.name;
22034
- ctx.arrayVars.set(stmt.name, { ns, pathPrefix });
22240
+ ctx.arrayVars.set(stmt.name, { ns, pathPrefix, knownLen: stmt.init.elements.length });
22035
22241
  const elems = stmt.init.elements;
22036
22242
  const allConst = elems.every((e) => e.kind === "int_lit");
22037
22243
  if (allConst) {
22038
22244
  const vals = elems.map((e) => e.value).join(", ");
22039
22245
  ctx.emit({ kind: "call", dst: null, fn: `__raw:data modify storage ${ns} ${pathPrefix} set value [${vals}]`, args: [] });
22040
22246
  } else {
22041
- const zeros = elems.map(() => "0").join(", ");
22042
- ctx.emit({ kind: "call", dst: null, fn: `__raw:data modify storage ${ns} ${pathPrefix} set value [${zeros}]`, args: [] });
22247
+ const initVals = elems.map((e) => e.kind === "int_lit" ? String(e.value) : "0").join(", ");
22248
+ ctx.emit({ kind: "call", dst: null, fn: `__raw:data modify storage ${ns} ${pathPrefix} set value [${initVals}]`, args: [] });
22043
22249
  for (let i = 0; i < elems.length; i++) {
22250
+ if (elems[i].kind === "int_lit")
22251
+ continue;
22044
22252
  const elemOp = lowerExpr(elems[i], ctx, scope);
22045
- if (elemOp.kind !== "const" || elems[i].kind !== "int_lit") {
22046
- ctx.emit({ kind: "nbt_write", ns, path: `${pathPrefix}[${i}]`, type: "int", scale: 1, src: elemOp });
22047
- }
22253
+ ctx.emit({ kind: "nbt_write", ns, path: `${pathPrefix}[${i}]`, type: "int", scale: 1, src: elemOp });
22048
22254
  }
22049
22255
  }
22050
22256
  const lenTemp = ctx.freshTemp();
22051
22257
  ctx.emit({ kind: "const", dst: lenTemp, value: elems.length });
22052
22258
  scope.set(stmt.name, lenTemp);
22259
+ } else if (stmt.type?.kind === "array") {
22260
+ const ns = `${ctx.getNamespace()}:arrays`;
22261
+ const pathPrefix = stmt.name;
22262
+ ctx.arrayVars.set(stmt.name, { ns, pathPrefix });
22263
+ lowerExpr(stmt.init, ctx, scope);
22264
+ const lenTemp = ctx.freshTemp();
22265
+ ctx.emit({ kind: "const", dst: lenTemp, value: 0 });
22266
+ scope.set(stmt.name, lenTemp);
22053
22267
  } else {
22054
22268
  const valOp = lowerExpr(stmt.init, ctx, scope);
22055
22269
  const t = ctx.freshTemp();
@@ -22268,47 +22482,74 @@ var require_lower2 = __commonJS({
22268
22482
  break;
22269
22483
  }
22270
22484
  case "match": {
22271
- const matchVal = lowerExpr(stmt.expr, ctx, scope);
22272
22485
  const mergeBlock = ctx.newBlock("match_merge");
22486
+ const hasOptionPats = stmt.arms.some((a) => a.pattern.kind === "PatSome" || a.pattern.kind === "PatNone");
22487
+ let optHasOp;
22488
+ let optValTemp;
22489
+ if (hasOptionPats) {
22490
+ if (stmt.expr.kind === "ident") {
22491
+ const sv = ctx.structVars.get(stmt.expr.name);
22492
+ if (sv && sv.typeName === "__option") {
22493
+ optHasOp = { kind: "temp", name: sv.fields.get("has") };
22494
+ optValTemp = sv.fields.get("val");
22495
+ } else {
22496
+ lowerExpr(stmt.expr, ctx, scope);
22497
+ const hasT = ctx.freshTemp();
22498
+ const valT = ctx.freshTemp();
22499
+ ctx.emit({ kind: "copy", dst: hasT, src: { kind: "temp", name: "__rf_has" } });
22500
+ ctx.emit({ kind: "copy", dst: valT, src: { kind: "temp", name: "__rf_val" } });
22501
+ optHasOp = { kind: "temp", name: hasT };
22502
+ optValTemp = valT;
22503
+ }
22504
+ } else {
22505
+ lowerExpr(stmt.expr, ctx, scope);
22506
+ const hasT = ctx.freshTemp();
22507
+ const valT = ctx.freshTemp();
22508
+ ctx.emit({ kind: "copy", dst: hasT, src: { kind: "temp", name: "__rf_has" } });
22509
+ ctx.emit({ kind: "copy", dst: valT, src: { kind: "temp", name: "__rf_val" } });
22510
+ optHasOp = { kind: "temp", name: hasT };
22511
+ optValTemp = valT;
22512
+ }
22513
+ }
22514
+ const matchVal = hasOptionPats ? optHasOp : lowerExpr(stmt.expr, ctx, scope);
22273
22515
  for (let i = 0; i < stmt.arms.length; i++) {
22274
22516
  const arm = stmt.arms[i];
22275
- if (arm.pattern === null) {
22517
+ const pat = arm.pattern;
22518
+ if (pat.kind === "PatWild") {
22276
22519
  lowerBlock(arm.body, ctx, new Map(scope));
22277
22520
  if (isPlaceholderTerm(ctx.current().term)) {
22278
22521
  ctx.terminate({ kind: "jump", target: mergeBlock.id });
22279
22522
  }
22280
- } else if (arm.pattern.kind === "range_lit") {
22281
- const range = arm.pattern.range;
22523
+ } else if (pat.kind === "PatNone") {
22524
+ const cmpTemp = ctx.freshTemp();
22525
+ ctx.emit({ kind: "cmp", dst: cmpTemp, op: "eq", a: optHasOp, b: { kind: "const", value: 0 } });
22282
22526
  const armBody = ctx.newBlock("match_arm");
22283
22527
  const nextArm = ctx.newBlock("match_next");
22284
- const checks = [];
22285
- if (range.min !== void 0)
22286
- checks.push({ op: "ge", bound: range.min });
22287
- if (range.max !== void 0)
22288
- checks.push({ op: "le", bound: range.max });
22289
- if (checks.length === 0) {
22290
- ctx.terminate({ kind: "jump", target: armBody.id });
22291
- } else {
22292
- for (let ci = 0; ci < checks.length; ci++) {
22293
- const { op, bound } = checks[ci];
22294
- const cmpTemp = ctx.freshTemp();
22295
- ctx.emit({ kind: "cmp", dst: cmpTemp, op, a: matchVal, b: { kind: "const", value: bound } });
22296
- const passBlock = ci === checks.length - 1 ? armBody : ctx.newBlock("match_range_check");
22297
- ctx.terminate({ kind: "branch", cond: { kind: "temp", name: cmpTemp }, then: passBlock.id, else: nextArm.id });
22298
- if (ci < checks.length - 1)
22299
- ctx.switchTo(passBlock);
22300
- }
22301
- }
22528
+ ctx.terminate({ kind: "branch", cond: { kind: "temp", name: cmpTemp }, then: armBody.id, else: nextArm.id });
22302
22529
  ctx.switchTo(armBody);
22303
22530
  lowerBlock(arm.body, ctx, new Map(scope));
22304
22531
  if (isPlaceholderTerm(ctx.current().term)) {
22305
22532
  ctx.terminate({ kind: "jump", target: mergeBlock.id });
22306
22533
  }
22307
22534
  ctx.switchTo(nextArm);
22308
- } else {
22309
- const patOp = lowerExpr(arm.pattern, ctx, scope);
22535
+ } else if (pat.kind === "PatSome") {
22310
22536
  const cmpTemp = ctx.freshTemp();
22311
- ctx.emit({ kind: "cmp", dst: cmpTemp, op: "eq", a: matchVal, b: patOp });
22537
+ ctx.emit({ kind: "cmp", dst: cmpTemp, op: "eq", a: optHasOp, b: { kind: "const", value: 1 } });
22538
+ const armBody = ctx.newBlock("match_arm");
22539
+ const nextArm = ctx.newBlock("match_next");
22540
+ ctx.terminate({ kind: "branch", cond: { kind: "temp", name: cmpTemp }, then: armBody.id, else: nextArm.id });
22541
+ ctx.switchTo(armBody);
22542
+ const armScope = new Map(scope);
22543
+ if (optValTemp)
22544
+ armScope.set(pat.binding, optValTemp);
22545
+ lowerBlock(arm.body, ctx, armScope);
22546
+ if (isPlaceholderTerm(ctx.current().term)) {
22547
+ ctx.terminate({ kind: "jump", target: mergeBlock.id });
22548
+ }
22549
+ ctx.switchTo(nextArm);
22550
+ } else if (pat.kind === "PatInt") {
22551
+ const cmpTemp = ctx.freshTemp();
22552
+ ctx.emit({ kind: "cmp", dst: cmpTemp, op: "eq", a: matchVal, b: { kind: "const", value: pat.value } });
22312
22553
  const armBody = ctx.newBlock("match_arm");
22313
22554
  const nextArm = ctx.newBlock("match_next");
22314
22555
  ctx.terminate({ kind: "branch", cond: { kind: "temp", name: cmpTemp }, then: armBody.id, else: nextArm.id });
@@ -22318,6 +22559,50 @@ var require_lower2 = __commonJS({
22318
22559
  ctx.terminate({ kind: "jump", target: mergeBlock.id });
22319
22560
  }
22320
22561
  ctx.switchTo(nextArm);
22562
+ } else if (pat.kind === "PatExpr") {
22563
+ const expr = pat.expr;
22564
+ if (expr.kind === "range_lit") {
22565
+ const range = expr.range;
22566
+ const armBody = ctx.newBlock("match_arm");
22567
+ const nextArm = ctx.newBlock("match_next");
22568
+ const checks = [];
22569
+ if (range.min !== void 0)
22570
+ checks.push({ op: "ge", bound: range.min });
22571
+ if (range.max !== void 0)
22572
+ checks.push({ op: "le", bound: range.max });
22573
+ if (checks.length === 0) {
22574
+ ctx.terminate({ kind: "jump", target: armBody.id });
22575
+ } else {
22576
+ for (let ci = 0; ci < checks.length; ci++) {
22577
+ const { op, bound } = checks[ci];
22578
+ const cmpTemp = ctx.freshTemp();
22579
+ ctx.emit({ kind: "cmp", dst: cmpTemp, op, a: matchVal, b: { kind: "const", value: bound } });
22580
+ const passBlock = ci === checks.length - 1 ? armBody : ctx.newBlock("match_range_check");
22581
+ ctx.terminate({ kind: "branch", cond: { kind: "temp", name: cmpTemp }, then: passBlock.id, else: nextArm.id });
22582
+ if (ci < checks.length - 1)
22583
+ ctx.switchTo(passBlock);
22584
+ }
22585
+ }
22586
+ ctx.switchTo(armBody);
22587
+ lowerBlock(arm.body, ctx, new Map(scope));
22588
+ if (isPlaceholderTerm(ctx.current().term)) {
22589
+ ctx.terminate({ kind: "jump", target: mergeBlock.id });
22590
+ }
22591
+ ctx.switchTo(nextArm);
22592
+ } else {
22593
+ const patOp = lowerExpr(expr, ctx, scope);
22594
+ const cmpTemp = ctx.freshTemp();
22595
+ ctx.emit({ kind: "cmp", dst: cmpTemp, op: "eq", a: matchVal, b: patOp });
22596
+ const armBody = ctx.newBlock("match_arm");
22597
+ const nextArm = ctx.newBlock("match_next");
22598
+ ctx.terminate({ kind: "branch", cond: { kind: "temp", name: cmpTemp }, then: armBody.id, else: nextArm.id });
22599
+ ctx.switchTo(armBody);
22600
+ lowerBlock(arm.body, ctx, new Map(scope));
22601
+ if (isPlaceholderTerm(ctx.current().term)) {
22602
+ ctx.terminate({ kind: "jump", target: mergeBlock.id });
22603
+ }
22604
+ ctx.switchTo(nextArm);
22605
+ }
22321
22606
  }
22322
22607
  }
22323
22608
  if (isPlaceholderTerm(ctx.current().term)) {
@@ -22571,6 +22856,15 @@ var require_lower2 = __commonJS({
22571
22856
  return { kind: "temp", name: fieldTemp };
22572
22857
  }
22573
22858
  }
22859
+ if (expr.obj.kind === "member" && expr.obj.obj.kind === "ident") {
22860
+ const syntheticName = `${expr.obj.obj.name}.${expr.obj.field}`;
22861
+ const nestedSv = ctx.structVars.get(syntheticName);
22862
+ if (nestedSv) {
22863
+ const fieldTemp = nestedSv.fields.get(expr.field);
22864
+ if (fieldTemp)
22865
+ return { kind: "temp", name: fieldTemp };
22866
+ }
22867
+ }
22574
22868
  const obj = lowerExpr(expr.obj, ctx, scope);
22575
22869
  const t = ctx.freshTemp();
22576
22870
  ctx.emit({ kind: "copy", dst: t, src: obj });
@@ -22613,15 +22907,35 @@ var require_lower2 = __commonJS({
22613
22907
  return valOp;
22614
22908
  }
22615
22909
  case "call": {
22910
+ if (expr.fn === "len" && expr.args.length === 1 && expr.args[0].kind === "ident") {
22911
+ const arrName = expr.args[0].name;
22912
+ const arrInfo = ctx.arrayVars.get(arrName);
22913
+ if (arrInfo) {
22914
+ if (arrInfo.knownLen !== void 0) {
22915
+ const t3 = ctx.freshTemp();
22916
+ ctx.emit({ kind: "const", dst: t3, value: arrInfo.knownLen });
22917
+ return { kind: "temp", name: t3 };
22918
+ }
22919
+ const t2 = ctx.freshTemp();
22920
+ ctx.emit({ kind: "nbt_list_len", dst: t2, ns: arrInfo.ns, path: arrInfo.pathPrefix });
22921
+ return { kind: "temp", name: t2 };
22922
+ }
22923
+ const lenTemp = scope.get(arrName);
22924
+ if (lenTemp !== void 0) {
22925
+ return { kind: "temp", name: lenTemp };
22926
+ }
22927
+ }
22616
22928
  if (expr.fn === "scoreboard_get" || expr.fn === "score") {
22617
- const player = hirExprToStringLiteral(expr.args[0]);
22929
+ const playerArg = exprToCommandArg(expr.args[0], ctx.currentMacroParams);
22930
+ const player = !playerArg.isMacro && expr.args[0].kind === "ident" ? "@s" : playerArg.str || "@s";
22618
22931
  const obj = hirExprToStringLiteral(expr.args[1]);
22619
22932
  const t2 = ctx.freshTemp();
22620
22933
  ctx.emit({ kind: "score_read", dst: t2, player, obj });
22621
22934
  return { kind: "temp", name: t2 };
22622
22935
  }
22623
22936
  if (expr.fn === "scoreboard_set") {
22624
- const player = hirExprToStringLiteral(expr.args[0]);
22937
+ const playerArg = exprToCommandArg(expr.args[0], ctx.currentMacroParams);
22938
+ const player = !playerArg.isMacro && expr.args[0].kind === "ident" ? "@s" : playerArg.str || "@s";
22625
22939
  const obj = hirExprToStringLiteral(expr.args[1]);
22626
22940
  const src = lowerExpr(expr.args[2], ctx, scope);
22627
22941
  ctx.emit({ kind: "score_write", player, obj, src });
@@ -22629,6 +22943,82 @@ var require_lower2 = __commonJS({
22629
22943
  ctx.emit({ kind: "const", dst: t2, value: 0 });
22630
22944
  return { kind: "temp", name: t2 };
22631
22945
  }
22946
+ if (expr.fn === "storage_set_array" && expr.args.length >= 3) {
22947
+ const storagePath = hirExprToStringLiteral(expr.args[0]);
22948
+ const fieldName = hirExprToStringLiteral(expr.args[1]);
22949
+ const nbtLiteral = hirExprToStringLiteral(expr.args[2]);
22950
+ ctx.emit({ kind: "call", dst: null, fn: `__raw:data modify storage ${storagePath} ${fieldName} set value ${nbtLiteral}`, args: [] });
22951
+ const t2 = ctx.freshTemp();
22952
+ ctx.emit({ kind: "const", dst: t2, value: 0 });
22953
+ return { kind: "temp", name: t2 };
22954
+ }
22955
+ if (expr.fn === "storage_get_int" && expr.args.length >= 3) {
22956
+ const storagePath = hirExprToStringLiteral(expr.args[0]);
22957
+ const fieldName = hirExprToStringLiteral(expr.args[1]);
22958
+ const indexOp = lowerExpr(expr.args[2], ctx, scope);
22959
+ const t2 = ctx.freshTemp();
22960
+ if (indexOp.kind === "const") {
22961
+ ctx.emit({ kind: "nbt_read", dst: t2, ns: storagePath, path: `${fieldName}[${indexOp.value}]`, scale: 1 });
22962
+ } else {
22963
+ ctx.emit({ kind: "nbt_read_dynamic", dst: t2, ns: storagePath, pathPrefix: fieldName, indexSrc: indexOp });
22964
+ }
22965
+ return { kind: "temp", name: t2 };
22966
+ }
22967
+ if (expr.fn === "__entity_tag" || expr.fn === "__entity_untag") {
22968
+ const selArg = expr.args[0];
22969
+ const tagArg = expr.args[1];
22970
+ const tagStr = tagArg.kind === "str_lit" ? tagArg.value : "unknown";
22971
+ const selStr = selArg.kind === "selector" ? selectorToString(selArg.sel ?? selArg) : "@s";
22972
+ const op = expr.fn === "__entity_tag" ? "add" : "remove";
22973
+ const t2 = ctx.freshTemp();
22974
+ ctx.emit({ kind: "call", dst: null, fn: `__raw:tag ${selStr} ${op} ${tagStr}`, args: [] });
22975
+ ctx.emit({ kind: "const", dst: t2, value: 0 });
22976
+ return { kind: "temp", name: t2 };
22977
+ }
22978
+ if (expr.fn === "__entity_has_tag") {
22979
+ const tagArg = expr.args[1];
22980
+ const tagStr = tagArg.kind === "str_lit" ? tagArg.value : "unknown";
22981
+ const selArg = expr.args[0];
22982
+ const selStr = selArg.kind === "selector" ? selectorToString(selArg.sel ?? selArg) : "@s";
22983
+ const t2 = ctx.freshTemp();
22984
+ const ns = ctx.getNamespace();
22985
+ ctx.emit({ kind: "call", dst: t2, fn: `__raw:execute store success score $ret __${ns} if entity ${selStr}[tag=${tagStr}]`, args: [] });
22986
+ return { kind: "temp", name: t2 };
22987
+ }
22988
+ if (expr.fn === "__array_push") {
22989
+ if (expr.args[0].kind === "ident") {
22990
+ const arrInfo = ctx.arrayVars.get(expr.args[0].name);
22991
+ if (arrInfo) {
22992
+ const valOp = lowerExpr(expr.args[1], ctx, scope);
22993
+ ctx.emit({ kind: "call", dst: null, fn: `__raw:data modify storage ${arrInfo.ns} ${arrInfo.pathPrefix} append value 0`, args: [] });
22994
+ ctx.emit({ kind: "nbt_write", ns: arrInfo.ns, path: `${arrInfo.pathPrefix}[-1]`, type: "int", scale: 1, src: valOp });
22995
+ const t2 = ctx.freshTemp();
22996
+ ctx.emit({ kind: "const", dst: t2, value: 0 });
22997
+ return { kind: "temp", name: t2 };
22998
+ }
22999
+ }
23000
+ }
23001
+ if (expr.fn === "__array_pop") {
23002
+ if (expr.args[0].kind === "ident") {
23003
+ const arrInfo = ctx.arrayVars.get(expr.args[0].name);
23004
+ if (arrInfo) {
23005
+ ctx.emit({ kind: "call", dst: null, fn: `__raw:data remove storage ${arrInfo.ns} ${arrInfo.pathPrefix}[-1]`, args: [] });
23006
+ const t2 = ctx.freshTemp();
23007
+ ctx.emit({ kind: "const", dst: t2, value: 0 });
23008
+ return { kind: "temp", name: t2 };
23009
+ }
23010
+ }
23011
+ }
23012
+ if (expr.fn === "__array_length") {
23013
+ if (expr.args[0].kind === "ident") {
23014
+ const arrInfo = ctx.arrayVars.get(expr.args[0].name);
23015
+ if (arrInfo) {
23016
+ const t2 = ctx.freshTemp();
23017
+ ctx.emit({ kind: "nbt_read", dst: t2, ns: arrInfo.ns, path: `${arrInfo.pathPrefix}`, scale: 1 });
23018
+ return { kind: "temp", name: t2 };
23019
+ }
23020
+ }
23021
+ }
22632
23022
  if (expr.fn === "list_push") {
22633
23023
  if (expr.args[0].kind === "ident") {
22634
23024
  const arrInfo = ctx.arrayVars.get(expr.args[0].name);
@@ -22712,7 +23102,7 @@ var require_lower2 = __commonJS({
22712
23102
  return { kind: "temp", name: t2 };
22713
23103
  }
22714
23104
  if (macro_1.BUILTIN_SET.has(expr.fn)) {
22715
- const cmd = formatBuiltinCall(expr.fn, expr.args, ctx.currentMacroParams);
23105
+ const cmd = formatBuiltinCall(expr.fn, expr.args, ctx.currentMacroParams, ctx.getNamespace());
22716
23106
  ctx.emit({ kind: "call", dst: null, fn: `__raw:${cmd}`, args: [] });
22717
23107
  const t2 = ctx.freshTemp();
22718
23108
  ctx.emit({ kind: "const", dst: t2, value: 0 });
@@ -22735,7 +23125,21 @@ var require_lower2 = __commonJS({
22735
23125
  const temp = sv.fields.get(f);
22736
23126
  return temp ? { kind: "temp", name: temp } : { kind: "const", value: 0 };
22737
23127
  });
22738
- const explicitArgs = expr.args.slice(1).map((a) => lowerExpr(a, ctx, scope));
23128
+ const explicitArgs = [];
23129
+ for (const argExpr of expr.args.slice(1)) {
23130
+ if (argExpr.kind === "ident") {
23131
+ const argSv = ctx.structVars.get(argExpr.name);
23132
+ if (argSv) {
23133
+ const argFields = ctx.structDefs.get(argSv.typeName) ?? [];
23134
+ for (const fieldName of argFields) {
23135
+ const ft = argSv.fields.get(fieldName);
23136
+ explicitArgs.push(ft ? { kind: "temp", name: ft } : { kind: "const", value: 0 });
23137
+ }
23138
+ continue;
23139
+ }
23140
+ }
23141
+ explicitArgs.push(lowerExpr(argExpr, ctx, scope));
23142
+ }
22739
23143
  const allArgs = [...selfArgs, ...explicitArgs];
22740
23144
  const t2 = ctx.freshTemp();
22741
23145
  ctx.emit({ kind: "call", dst: t2, fn: `${sv.typeName}::${expr.fn}`, args: allArgs });
@@ -22841,6 +23245,23 @@ var require_lower2 = __commonJS({
22841
23245
  return { kind: "temp", name: t };
22842
23246
  }
22843
23247
  case "invoke": {
23248
+ if (expr.callee.kind === "member" && expr.callee.field === "len" && expr.callee.obj.kind === "ident") {
23249
+ const arrInfo = ctx.arrayVars.get(expr.callee.obj.name);
23250
+ if (arrInfo) {
23251
+ if (arrInfo.knownLen !== void 0) {
23252
+ const t3 = ctx.freshTemp();
23253
+ ctx.emit({ kind: "const", dst: t3, value: arrInfo.knownLen });
23254
+ return { kind: "temp", name: t3 };
23255
+ }
23256
+ const t2 = ctx.freshTemp();
23257
+ ctx.emit({ kind: "nbt_list_len", dst: t2, ns: arrInfo.ns, path: arrInfo.pathPrefix });
23258
+ return { kind: "temp", name: t2 };
23259
+ }
23260
+ const lenTemp = scope.get(expr.callee.obj.name);
23261
+ if (lenTemp !== void 0) {
23262
+ return { kind: "temp", name: lenTemp };
23263
+ }
23264
+ }
22844
23265
  if (expr.callee.kind === "member" && expr.callee.obj.kind === "ident") {
22845
23266
  const sv = ctx.structVars.get(expr.callee.obj.name);
22846
23267
  if (sv) {
@@ -23158,7 +23579,39 @@ var require_lower2 = __commonJS({
23158
23579
  return `${sel.kind}[${parts.join(",")}]`;
23159
23580
  }
23160
23581
  var MACRO_SENTINEL = "";
23161
- function formatBuiltinCall(fn, args, macroParams) {
23582
+ function fStringToJsonText(expr, namespace) {
23583
+ if (expr.kind !== "f_string")
23584
+ return JSON.stringify(expr.kind === "str_lit" ? { text: expr.value } : { text: "~" });
23585
+ const objective = `__${namespace}`;
23586
+ const extra = [];
23587
+ for (const part of expr.parts) {
23588
+ if (part.kind === "text") {
23589
+ if (part.value)
23590
+ extra.push({ text: part.value });
23591
+ } else {
23592
+ const inner = part.expr;
23593
+ if (inner.kind === "ident") {
23594
+ extra.push({ score: { name: `$${inner.name}`, objective } });
23595
+ } else if (inner.kind === "int_lit") {
23596
+ extra.push({ text: String(inner.value) });
23597
+ } else {
23598
+ extra.push({ text: "?" });
23599
+ }
23600
+ }
23601
+ }
23602
+ if (extra.length === 0)
23603
+ return '{"text":""}';
23604
+ if (extra.length === 1)
23605
+ return JSON.stringify(extra[0]);
23606
+ return JSON.stringify({ text: "", extra });
23607
+ }
23608
+ function formatBuiltinCall(fn, args, macroParams, namespace = "") {
23609
+ const TEXT_BUILTINS = /* @__PURE__ */ new Set(["tell", "tellraw", "title", "subtitle", "actionbar", "announce"]);
23610
+ const resolveTextArg = (arg) => {
23611
+ if (arg.kind === "f_string")
23612
+ return fStringToJsonText(arg, namespace);
23613
+ return JSON.stringify({ text: exprToCommandArg(arg, macroParams).str });
23614
+ };
23162
23615
  const fmtArgs = args.map((a) => exprToCommandArg(a, macroParams));
23163
23616
  const strs = fmtArgs.map((a) => a.str);
23164
23617
  const hasMacro = fmtArgs.some((a) => a.isMacro);
@@ -23212,24 +23665,34 @@ var require_lower2 = __commonJS({
23212
23665
  cmd = `say ${strs[0] ?? ""}`;
23213
23666
  break;
23214
23667
  case "tell":
23215
- case "tellraw":
23216
- cmd = `tellraw ${strs[0]} {"text":"${strs[1]}"}`;
23668
+ case "tellraw": {
23669
+ const msgJson = resolveTextArg(args[1]);
23670
+ cmd = `tellraw ${strs[0]} ${msgJson}`;
23217
23671
  break;
23218
- case "title":
23219
- cmd = `title ${strs[0]} title {"text":"${strs[1]}"}`;
23672
+ }
23673
+ case "title": {
23674
+ const msgJson = resolveTextArg(args[1]);
23675
+ cmd = `title ${strs[0]} title ${msgJson}`;
23220
23676
  break;
23221
- case "actionbar":
23222
- cmd = `title ${strs[0]} actionbar {"text":"${strs[1]}"}`;
23677
+ }
23678
+ case "actionbar": {
23679
+ const msgJson = resolveTextArg(args[1]);
23680
+ cmd = `title ${strs[0]} actionbar ${msgJson}`;
23223
23681
  break;
23224
- case "subtitle":
23225
- cmd = `title ${strs[0]} subtitle {"text":"${strs[1]}"}`;
23682
+ }
23683
+ case "subtitle": {
23684
+ const msgJson = resolveTextArg(args[1]);
23685
+ cmd = `title ${strs[0]} subtitle ${msgJson}`;
23226
23686
  break;
23687
+ }
23227
23688
  case "title_times":
23228
23689
  cmd = `title ${strs[0]} times ${strs[1]} ${strs[2]} ${strs[3]}`;
23229
23690
  break;
23230
- case "announce":
23231
- cmd = `tellraw @a {"text":"${strs[0]}"}`;
23691
+ case "announce": {
23692
+ const msgJson = resolveTextArg(args[0]);
23693
+ cmd = `tellraw @a ${msgJson}`;
23232
23694
  break;
23695
+ }
23233
23696
  case "give": {
23234
23697
  const nbt = strs[3] ? strs[3] : "";
23235
23698
  cmd = `give ${strs[0]} ${strs[1]}${nbt} ${strs[2] ?? "1"}`;
@@ -23268,6 +23731,13 @@ var require_lower2 = __commonJS({
23268
23731
  case "tag_remove":
23269
23732
  cmd = `tag ${strs[0]} remove ${strs[1]}`;
23270
23733
  break;
23734
+ // entity.tag(name) / entity.untag(name) sugar — same as tag_add/tag_remove
23735
+ case "__entity_tag":
23736
+ cmd = `tag ${strs[0]} add ${strs[1]}`;
23737
+ break;
23738
+ case "__entity_untag":
23739
+ cmd = `tag ${strs[0]} remove ${strs[1]}`;
23740
+ break;
23271
23741
  case "kick":
23272
23742
  cmd = `kick ${strs[0]} ${strs[1] ?? ""}`.trim();
23273
23743
  break;
@@ -24266,6 +24736,10 @@ var require_interprocedural = __commonJS({
24266
24736
  return { ...instr, a: substituteOp(instr.a, sub), b: substituteOp(instr.b, sub) };
24267
24737
  case "nbt_write":
24268
24738
  return { ...instr, src: substituteOp(instr.src, sub) };
24739
+ case "nbt_read_dynamic":
24740
+ return { ...instr, indexSrc: substituteOp(instr.indexSrc, sub) };
24741
+ case "nbt_write_dynamic":
24742
+ return { ...instr, indexSrc: substituteOp(instr.indexSrc, sub), valueSrc: substituteOp(instr.valueSrc, sub) };
24269
24743
  case "call":
24270
24744
  return { ...instr, args: instr.args.map((a) => substituteOp(a, sub)) };
24271
24745
  case "call_macro":
@@ -24722,6 +25196,12 @@ var require_lower3 = __commonJS({
24722
25196
  });
24723
25197
  break;
24724
25198
  }
25199
+ case "nbt_list_len": {
25200
+ const dst = ctx.slot(instr.dst);
25201
+ const ns = ctx.namespace;
25202
+ instrs.push({ kind: "raw", cmd: `execute store result score ${dst} __${ns} run data get storage ${instr.ns} ${instr.path}` });
25203
+ break;
25204
+ }
24725
25205
  case "nbt_read_dynamic": {
24726
25206
  const dst = ctx.slot(instr.dst);
24727
25207
  const idxSlot = operandToSlot(instr.indexSrc, ctx, instrs);
@@ -25442,6 +25922,24 @@ var require_emit = __commonJS({
25442
25922
  content: JSON.stringify({ values: tickValues }, null, 2) + "\n"
25443
25923
  });
25444
25924
  }
25925
+ const EVENT_TAG_NAMES = {
25926
+ PlayerJoin: "on_player_join",
25927
+ PlayerDeath: "on_player_death",
25928
+ EntityKill: "on_entity_kill",
25929
+ ItemUse: "on_item_use",
25930
+ BlockBreak: "on_block_break"
25931
+ };
25932
+ if (options.eventHandlers) {
25933
+ for (const [evType, handlers] of options.eventHandlers) {
25934
+ const tagName = EVENT_TAG_NAMES[evType];
25935
+ if (tagName && handlers.length > 0) {
25936
+ files.push({
25937
+ path: `data/rs/tags/function/${tagName}.json`,
25938
+ content: JSON.stringify({ values: handlers }, null, 2) + "\n"
25939
+ });
25940
+ }
25941
+ }
25942
+ }
25445
25943
  return files;
25446
25944
  }
25447
25945
  function emitFunction(fn, namespace, objective, mcVersion) {
@@ -25649,15 +26147,17 @@ var require_coroutine = __commonJS({
25649
26147
  }
25650
26148
  const loopHeaders = new Set(backEdges.map((e) => e.target));
25651
26149
  const continuations = partitionIntoContinuations(fn, loopHeaders, backEdges);
26150
+ const dispatcherName = `${prefix}_tick`;
26151
+ const pcPlayer = `$${dispatcherName}_${pcTemp}`;
25652
26152
  const contFunctions = [];
25653
26153
  for (let i = 0; i < continuations.length; i++) {
25654
26154
  const contId = i + 1;
25655
26155
  const cont = continuations[i];
25656
- const contFn = buildContinuationFunction(`${prefix}_cont_${contId}`, cont, info.batch, contId, continuations.length, promoted, pcTemp, batchCountTemp, objective, info.onDone, fn.name);
26156
+ const contFn = buildContinuationFunction(`${prefix}_cont_${contId}`, cont, info.batch, contId, continuations.length, promoted, pcTemp, batchCountTemp, objective, info.onDone, fn.name, pcPlayer);
25657
26157
  contFunctions.push(contFn);
25658
26158
  }
25659
- const initFn = buildInitFunction(fn, promoted, pcTemp, prefix, objective);
25660
- const dispatcher = buildDispatcher(`${prefix}_tick`, contFunctions, pcTemp, objective, fn.name);
26159
+ const initFn = buildInitFunction(fn, promoted, pcTemp, prefix, objective, pcPlayer);
26160
+ const dispatcher = buildDispatcher(dispatcherName, contFunctions, pcTemp, objective, fn.name);
25661
26161
  return { initFn, continuations: contFunctions, dispatcher };
25662
26162
  }
25663
26163
  function computeDominators(blocks, entry) {
@@ -25869,14 +26369,14 @@ var require_coroutine = __commonJS({
25869
26369
  }
25870
26370
  return conts;
25871
26371
  }
25872
- function buildContinuationFunction(name, cont, batch, contId, totalConts, promoted, pcTemp, batchCountTemp, objective, onDone, originalFnName) {
26372
+ function buildContinuationFunction(name, cont, batch, contId, totalConts, promoted, pcTemp, batchCountTemp, objective, onDone, originalFnName, pcPlayer) {
25873
26373
  if (cont.isLoopBody) {
25874
- return buildLoopContinuation(name, cont, batch, contId, totalConts, promoted, pcTemp, batchCountTemp, objective, onDone);
26374
+ return buildLoopContinuation(name, cont, batch, contId, totalConts, promoted, pcTemp, batchCountTemp, objective, onDone, pcPlayer);
25875
26375
  } else {
25876
- return buildPostLoopContinuation(name, cont, contId, promoted, pcTemp, objective, onDone);
26376
+ return buildPostLoopContinuation(name, cont, contId, promoted, pcTemp, objective, onDone, pcPlayer);
25877
26377
  }
25878
26378
  }
25879
- function buildLoopContinuation(name, cont, batch, contId, totalConts, promoted, pcTemp, batchCountTemp, objective, onDone) {
26379
+ function buildLoopContinuation(name, cont, batch, contId, totalConts, promoted, pcTemp, batchCountTemp, objective, onDone, pcPlayer) {
25880
26380
  const blocks = [];
25881
26381
  const batchCmpTemp = `${batchCountTemp}_cmp`;
25882
26382
  const entryBlock = {
@@ -25929,7 +26429,9 @@ var require_coroutine = __commonJS({
25929
26429
  const exitBlockId = `${block.id}_exit`;
25930
26430
  const exitBlock = {
25931
26431
  id: exitBlockId,
25932
- instrs: [],
26432
+ instrs: [
26433
+ { kind: "score_write", player: pcPlayer, obj: objective, src: { kind: "const", value: contId + 1 } }
26434
+ ],
25933
26435
  term: { kind: "return", value: null },
25934
26436
  preds: [block.id]
25935
26437
  };
@@ -25975,23 +26477,23 @@ var require_coroutine = __commonJS({
25975
26477
  isMacro: false
25976
26478
  };
25977
26479
  }
25978
- function buildPostLoopContinuation(name, cont, contId, promoted, pcTemp, objective, onDone) {
26480
+ function buildPostLoopContinuation(name, cont, contId, promoted, pcTemp, objective, onDone, pcPlayer) {
25979
26481
  const blocks = [];
25980
26482
  for (const block of cont.blocks) {
25981
26483
  blocks.push(rewriteBlock(block, promoted));
25982
26484
  }
25983
26485
  const entry = cont.blocks[0]?.id ?? "entry";
25984
- if (onDone) {
25985
- for (let i = 0; i < blocks.length; i++) {
25986
- if (blocks[i].term.kind === "return") {
25987
- blocks[i] = {
25988
- ...blocks[i],
25989
- instrs: [
25990
- ...blocks[i].instrs,
25991
- { kind: "call", dst: null, fn: onDone, args: [] }
25992
- ]
25993
- };
25994
- }
26486
+ for (let i = 0; i < blocks.length; i++) {
26487
+ if (blocks[i].term.kind === "return") {
26488
+ const extraInstrs = [];
26489
+ if (onDone) {
26490
+ extraInstrs.push({ kind: "call", dst: null, fn: onDone, args: [] });
26491
+ }
26492
+ extraInstrs.push({ kind: "score_write", player: pcPlayer, obj: objective, src: { kind: "const", value: 0 } });
26493
+ blocks[i] = {
26494
+ ...blocks[i],
26495
+ instrs: [...blocks[i].instrs, ...extraInstrs]
26496
+ };
25995
26497
  }
25996
26498
  }
25997
26499
  return {
@@ -26002,15 +26504,31 @@ var require_coroutine = __commonJS({
26002
26504
  isMacro: false
26003
26505
  };
26004
26506
  }
26005
- function buildInitFunction(originalFn, promoted, pcTemp, prefix, objective) {
26507
+ function buildInitFunction(originalFn, promoted, pcTemp, prefix, objective, pcPlayer) {
26006
26508
  const instrs = [];
26007
- instrs.push({ kind: "const", dst: pcTemp, value: 1 });
26509
+ instrs.push({ kind: "score_write", player: pcPlayer, obj: objective, src: { kind: "const", value: 1 } });
26510
+ const dispatcherName = `${prefix}_cont_1`;
26008
26511
  const entryBlock = originalFn.blocks.find((b) => b.id === originalFn.entry);
26009
26512
  if (entryBlock) {
26010
26513
  for (const instr of entryBlock.instrs) {
26011
26514
  const dst = getDst(instr);
26012
26515
  if (dst && promoted.has(dst)) {
26013
- instrs.push(rewriteInstr(instr, promoted));
26516
+ const promotedTemp = promoted.get(dst);
26517
+ const player = `$${dispatcherName}_${promotedTemp}`;
26518
+ if (instr.kind === "const") {
26519
+ instrs.push({ kind: "score_write", player, obj: objective, src: { kind: "const", value: instr.value } });
26520
+ } else if (instr.kind === "copy") {
26521
+ let src;
26522
+ if (instr.src.kind === "temp") {
26523
+ const srcTemp = promoted.get(instr.src.name) ?? instr.src.name;
26524
+ src = { kind: "temp", name: srcTemp };
26525
+ } else {
26526
+ src = instr.src;
26527
+ }
26528
+ instrs.push({ kind: "score_write", player, obj: objective, src });
26529
+ } else {
26530
+ instrs.push(rewriteInstr(instr, promoted));
26531
+ }
26014
26532
  }
26015
26533
  }
26016
26534
  }
@@ -26078,12 +26596,15 @@ var require_coroutine = __commonJS({
26078
26596
  }
26079
26597
  function buildSingleContinuation(fn, info, prefix, pcTemp, objective) {
26080
26598
  const contName = `${prefix}_cont_1`;
26599
+ const dispatcherName = `${prefix}_tick`;
26600
+ const pcPlayer = `$${dispatcherName}_${pcTemp}`;
26081
26601
  const contBlocks = fn.blocks.map((block) => {
26082
26602
  if (block.term.kind === "return") {
26083
26603
  const instrs = [...block.instrs];
26084
26604
  if (info.onDone) {
26085
26605
  instrs.push({ kind: "call", dst: null, fn: info.onDone, args: [] });
26086
26606
  }
26607
+ instrs.push({ kind: "score_write", player: pcPlayer, obj: objective, src: { kind: "const", value: 0 } });
26087
26608
  return { ...block, instrs };
26088
26609
  }
26089
26610
  return block;
@@ -26098,7 +26619,7 @@ var require_coroutine = __commonJS({
26098
26619
  const initBlock = {
26099
26620
  id: "entry",
26100
26621
  instrs: [
26101
- { kind: "const", dst: pcTemp, value: 1 }
26622
+ { kind: "score_write", player: pcPlayer, obj: objective, src: { kind: "const", value: 1 } }
26102
26623
  ],
26103
26624
  term: { kind: "return", value: null },
26104
26625
  preds: []
@@ -26110,7 +26631,7 @@ var require_coroutine = __commonJS({
26110
26631
  entry: "entry",
26111
26632
  isMacro: fn.isMacro
26112
26633
  };
26113
- const dispatcher = buildDispatcher(`${prefix}_tick`, [contFn], pcTemp, objective, fn.name);
26634
+ const dispatcher = buildDispatcher(dispatcherName, [contFn], pcTemp, objective, fn.name);
26114
26635
  return { initFn, continuations: [contFn], dispatcher };
26115
26636
  }
26116
26637
  function rewriteBlock(block, promoted) {
@@ -26151,6 +26672,10 @@ var require_coroutine = __commonJS({
26151
26672
  return { ...instr, src: rOp(instr.src) };
26152
26673
  case "nbt_write_dynamic":
26153
26674
  return { ...instr, indexSrc: rOp(instr.indexSrc), valueSrc: rOp(instr.valueSrc) };
26675
+ case "score_read":
26676
+ return { ...instr, dst: rTemp(instr.dst) };
26677
+ case "score_write":
26678
+ return { ...instr, src: rOp(instr.src) };
26154
26679
  case "call":
26155
26680
  return { ...instr, dst: instr.dst ? rTemp(instr.dst) : null, args: instr.args.map(rOp) };
26156
26681
  case "call_macro":
@@ -26234,6 +26759,9 @@ var require_coroutine = __commonJS({
26234
26759
  case "nbt_read_dynamic":
26235
26760
  addOp(instr.indexSrc);
26236
26761
  break;
26762
+ case "score_write":
26763
+ addOp(instr.src);
26764
+ break;
26237
26765
  case "call":
26238
26766
  instr.args.forEach(addOp);
26239
26767
  break;
@@ -26484,8 +27012,11 @@ var require_types = __commonJS({
26484
27012
  },
26485
27013
  BlockBreak: {
26486
27014
  tag: "rs.just_broke_block",
26487
- params: ["player: Player", "block: string"],
27015
+ params: ["player: Player"],
26488
27016
  detection: "advancement"
27017
+ // Note: block type is NOT available as a runtime parameter — MC has no mechanism
27018
+ // to pass event data to function tags. Use minecraft.mined:<block> scoreboard
27019
+ // stats for per-block detection, or check the block at player's position in handler.
26489
27020
  },
26490
27021
  EntityKill: {
26491
27022
  tag: "rs.just_killed",
@@ -26869,13 +27400,13 @@ var require_typechecker = __commonJS({
26869
27400
  case "match":
26870
27401
  this.checkExpr(stmt.expr);
26871
27402
  for (const arm of stmt.arms) {
26872
- if (arm.pattern) {
26873
- this.checkExpr(arm.pattern);
27403
+ if (arm.pattern.kind === "PatExpr") {
27404
+ this.checkExpr(arm.pattern.expr);
26874
27405
  const subjectType = this.inferType(stmt.expr);
26875
- const patternType = this.inferType(arm.pattern);
27406
+ const patternType = this.inferType(arm.pattern.expr);
26876
27407
  const isUnknown = (t) => t.kind === "named" && t.name === "void";
26877
27408
  if (!isUnknown(subjectType) && !isUnknown(patternType) && !this.typesMatch(subjectType, patternType)) {
26878
- this.report("Match arm pattern type must match subject type", arm.pattern);
27409
+ this.report("Match arm pattern type must match subject type", arm.pattern.expr);
26879
27410
  }
26880
27411
  }
26881
27412
  this.checkBlock(arm.body);
@@ -27014,6 +27545,11 @@ var require_typechecker = __commonJS({
27014
27545
  if (arithmeticOps.includes(expr.op)) {
27015
27546
  const leftType = this.inferType(expr.left);
27016
27547
  const rightType = this.inferType(expr.right);
27548
+ const leftIsString = leftType.kind === "named" && (leftType.name === "string" || leftType.name === "format_string");
27549
+ const rightIsString = rightType.kind === "named" && (rightType.name === "string" || rightType.name === "format_string");
27550
+ if (leftIsString || rightIsString) {
27551
+ this.report(`[StringConcat] String concatenation with '+' is not supported. Use f-strings instead: f"text{variable}" \u2014 e.g. f"Score: {score}"`, expr);
27552
+ }
27017
27553
  const leftIsFloat = leftType.kind === "named" && leftType.name === "float";
27018
27554
  const rightIsFloat = rightType.kind === "named" && rightType.name === "float";
27019
27555
  if (leftIsFloat || rightIsFloat) {
@@ -27078,7 +27614,7 @@ var require_typechecker = __commonJS({
27078
27614
  this.checkExpr(part.expr);
27079
27615
  const partType = this.inferType(part.expr);
27080
27616
  const isUnknown = partType.kind === "named" && partType.name === "void";
27081
- if (!isUnknown && !(partType.kind === "named" && (partType.name === "int" || partType.name === "string" || partType.name === "format_string"))) {
27617
+ if (!isUnknown && !(partType.kind === "named" && ["int", "string", "format_string", "fixed", "double", "bool", "byte", "short", "long"].includes(partType.name))) {
27082
27618
  this.report(`f-string placeholder must be int or string, got ${this.typeToString(partType)}`, part.expr);
27083
27619
  }
27084
27620
  }
@@ -27764,6 +28300,7 @@ var require_compile2 = __commonJS({
27764
28300
  var budget_1 = require_budget();
27765
28301
  var mc_version_1 = require_mc_version();
27766
28302
  var typechecker_1 = require_typechecker();
28303
+ var types_1 = require_types();
27767
28304
  function compile(source, options = {}) {
27768
28305
  const { namespace = "redscript", filePath, generateSourceMap = false, mcVersion = mc_version_1.DEFAULT_MC_VERSION, lenient = false, includeDirs } = options;
27769
28306
  const warnings = [];
@@ -27824,6 +28361,7 @@ var require_compile2 = __commonJS({
27824
28361
  const loadFunctions = [];
27825
28362
  const coroutineInfos = [];
27826
28363
  const scheduleFunctions = [];
28364
+ const eventHandlers = /* @__PURE__ */ new Map();
27827
28365
  for (const fn of hir.functions) {
27828
28366
  for (const dec of fn.decorators) {
27829
28367
  if (dec.name === "tick")
@@ -27840,6 +28378,14 @@ var require_compile2 = __commonJS({
27840
28378
  if (dec.name === "schedule") {
27841
28379
  scheduleFunctions.push({ name: fn.name, ticks: dec.args?.ticks ?? 1 });
27842
28380
  }
28381
+ if (dec.name === "on" && dec.args?.eventType) {
28382
+ const evType = dec.args.eventType;
28383
+ if ((0, types_1.isEventTypeName)(evType)) {
28384
+ if (!eventHandlers.has(evType))
28385
+ eventHandlers.set(evType, []);
28386
+ eventHandlers.get(evType).push(`${namespace}:${fn.name}`);
28387
+ }
28388
+ }
27843
28389
  }
27844
28390
  }
27845
28391
  const mir = (0, lower_2.lowerToMIR)(hir, filePath);
@@ -27867,7 +28413,7 @@ var require_compile2 = __commonJS({
27867
28413
  }
27868
28414
  }
27869
28415
  }
27870
- const files = (0, index_1.emit)(lirOpt, { namespace, tickFunctions, loadFunctions, scheduleFunctions, generateSourceMap, mcVersion });
28416
+ const files = (0, index_1.emit)(lirOpt, { namespace, tickFunctions, loadFunctions, scheduleFunctions, generateSourceMap, mcVersion, eventHandlers });
27871
28417
  return { files, warnings, success: true };
27872
28418
  } catch (err) {
27873
28419
  if (err instanceof diagnostics_1.DiagnosticError)
@@ -28208,8 +28754,8 @@ var require_modules = __commonJS({
28208
28754
  case "match":
28209
28755
  rewriteExpr(stmt.expr, symbolMap);
28210
28756
  for (const arm of stmt.arms) {
28211
- if (arm.pattern)
28212
- rewriteExpr(arm.pattern, symbolMap);
28757
+ if (arm.pattern.kind === "PatExpr")
28758
+ rewriteExpr(arm.pattern.expr, symbolMap);
28213
28759
  rewriteBlock(arm.body, symbolMap);
28214
28760
  }
28215
28761
  break;
@@ -30627,9 +31173,16 @@ function getCompile() {
30627
31173
  var DEBOUNCE_MS = 600;
30628
31174
  var lspClient;
30629
31175
  function resolveLspServerPath() {
31176
+ const fs2 = require("fs");
31177
+ try {
31178
+ const bundled = path2.join(__dirname, "lsp-server.js");
31179
+ fs2.accessSync(bundled);
31180
+ return bundled;
31181
+ } catch {
31182
+ }
30630
31183
  try {
30631
31184
  const candidate = path2.join(__dirname, "..", "node_modules", "redscript", "dist", "src", "lsp", "main.js");
30632
- require("fs").accessSync(candidate);
31185
+ fs2.accessSync(candidate);
30633
31186
  return candidate;
30634
31187
  } catch {
30635
31188
  return null;
@@ -30659,9 +31212,9 @@ function activate(context) {
30659
31212
  context.subscriptions.push({ dispose: () => lspClient?.stop() });
30660
31213
  } else {
30661
31214
  activateFallbackDiagnostics(context);
31215
+ registerHoverProvider(context);
31216
+ registerCompletionProvider(context);
30662
31217
  }
30663
- registerHoverProvider(context);
30664
- registerCompletionProvider(context);
30665
31218
  registerCodeActions(context);
30666
31219
  registerSymbolProviders(context);
30667
31220
  const statusBar = vscode5.window.createStatusBarItem(vscode5.StatusBarAlignment.Left, 10);