nucleation 0.1.130__tar.gz → 0.1.132__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (443) hide show
  1. {nucleation-0.1.130 → nucleation-0.1.132}/Cargo.lock +1 -1
  2. {nucleation-0.1.130 → nucleation-0.1.132}/Cargo.toml +1 -1
  3. {nucleation-0.1.130 → nucleation-0.1.132}/PKG-INFO +1 -1
  4. {nucleation-0.1.130 → nucleation-0.1.132}/pyproject.toml +1 -1
  5. {nucleation-0.1.130 → nucleation-0.1.132}/release-artifacts/libnucleation-macos-arm64.dylib +0 -0
  6. nucleation-0.1.132/release-artifacts/libnucleation-macos-x64.dylib +0 -0
  7. {nucleation-0.1.130 → nucleation-0.1.132}/release-artifacts/libnucleation.rlib +0 -0
  8. {nucleation-0.1.130 → nucleation-0.1.132}/release-artifacts/nucleation-original.js +53 -16
  9. {nucleation-0.1.130 → nucleation-0.1.132}/release-artifacts/nucleation.d.ts +22 -20
  10. {nucleation-0.1.130 → nucleation-0.1.132}/release-artifacts/nucleation_bg.wasm +0 -0
  11. {nucleation-0.1.130 → nucleation-0.1.132}/release-artifacts/nucleation_bg.wasm.d.ts +10 -9
  12. {nucleation-0.1.130 → nucleation-0.1.132}/release-artifacts/package.json +1 -1
  13. {nucleation-0.1.130 → nucleation-0.1.132}/src/wasm/definition_region.rs +52 -10
  14. nucleation-0.1.132/tests/node_fluent_api_test.mjs +109 -0
  15. nucleation-0.1.130/release-artifacts/libnucleation-macos-x64.dylib +0 -0
  16. nucleation-0.1.130/tests/node_fluent_api_test.mjs +0 -55
  17. {nucleation-0.1.130 → nucleation-0.1.132}/.DS_Store +0 -0
  18. {nucleation-0.1.130 → nucleation-0.1.132}/.cargo/config.toml +0 -0
  19. {nucleation-0.1.130 → nucleation-0.1.132}/.github/workflows/ci.yml +0 -0
  20. {nucleation-0.1.130 → nucleation-0.1.132}/.gitignore +0 -0
  21. {nucleation-0.1.130 → nucleation-0.1.132}/.idea/.gitignore +0 -0
  22. {nucleation-0.1.130 → nucleation-0.1.132}/.idea/minecraft_schematic_utils.iml +0 -0
  23. {nucleation-0.1.130 → nucleation-0.1.132}/.idea/misc.xml +0 -0
  24. {nucleation-0.1.130 → nucleation-0.1.132}/.idea/modules.xml +0 -0
  25. {nucleation-0.1.130 → nucleation-0.1.132}/.idea/vcs.xml +0 -0
  26. {nucleation-0.1.130 → nucleation-0.1.132}/4bit_adder.litematic +0 -0
  27. {nucleation-0.1.130 → nucleation-0.1.132}/CUSTOM_IO_INTEGRATION_CHECKLIST.md +0 -0
  28. {nucleation-0.1.130 → nucleation-0.1.132}/Dockerfile +0 -0
  29. {nucleation-0.1.130 → nucleation-0.1.132}/LICENSE +0 -0
  30. {nucleation-0.1.130 → nucleation-0.1.132}/README.md +0 -0
  31. {nucleation-0.1.130 → nucleation-0.1.132}/benches/performance_test.rs +0 -0
  32. {nucleation-0.1.130 → nucleation-0.1.132}/benches/schematic_bench.rs +0 -0
  33. {nucleation-0.1.130 → nucleation-0.1.132}/build-ffi.sh +0 -0
  34. {nucleation-0.1.130 → nucleation-0.1.132}/build-wasm.sh +0 -0
  35. {nucleation-0.1.130 → nucleation-0.1.132}/docs/README.md +0 -0
  36. {nucleation-0.1.130 → nucleation-0.1.132}/docs/insign-io-integration.md +0 -0
  37. {nucleation-0.1.130 → nucleation-0.1.132}/docs/javascript/README.md +0 -0
  38. {nucleation-0.1.130 → nucleation-0.1.132}/docs/python/README.md +0 -0
  39. {nucleation-0.1.130 → nucleation-0.1.132}/docs/rust/README.md +0 -0
  40. {nucleation-0.1.130 → nucleation-0.1.132}/docs/shared/guide/circuit-api.md +0 -0
  41. {nucleation-0.1.130 → nucleation-0.1.132}/docs/shared/guide/definition-region.md +0 -0
  42. {nucleation-0.1.130 → nucleation-0.1.132}/docs/shared/guide/schematic-builder.md +0 -0
  43. {nucleation-0.1.130 → nucleation-0.1.132}/docs/shared/guide/typed-executor.md +0 -0
  44. {nucleation-0.1.130 → nucleation-0.1.132}/docs/shared/unicode-palette.md +0 -0
  45. {nucleation-0.1.130 → nucleation-0.1.132}/examples/bracket_notation.rs +0 -0
  46. {nucleation-0.1.130 → nucleation-0.1.132}/examples/build_adder.rs +0 -0
  47. {nucleation-0.1.130 → nucleation-0.1.132}/examples/build_test_adder.rs +0 -0
  48. {nucleation-0.1.130 → nucleation-0.1.132}/examples/check_adder_dims.rs +0 -0
  49. {nucleation-0.1.130 → nucleation-0.1.132}/examples/connect4_battle_setup.rs +0 -0
  50. {nucleation-0.1.130 → nucleation-0.1.132}/examples/create_simple_litematic.rs +0 -0
  51. {nucleation-0.1.130 → nucleation-0.1.132}/examples/custom_io_signals.rs +0 -0
  52. {nucleation-0.1.130 → nucleation-0.1.132}/examples/ffi.md +0 -0
  53. {nucleation-0.1.130 → nucleation-0.1.132}/examples/python.md +0 -0
  54. {nucleation-0.1.130 → nucleation-0.1.132}/examples/python_simulation.py +0 -0
  55. {nucleation-0.1.130 → nucleation-0.1.132}/examples/rust.md +0 -0
  56. {nucleation-0.1.130 → nucleation-0.1.132}/examples/rust_fluent_api.rs +0 -0
  57. {nucleation-0.1.130 → nucleation-0.1.132}/examples/test_asymmetric_cubes.rs +0 -0
  58. {nucleation-0.1.130 → nucleation-0.1.132}/examples/test_checkerboard.rs +0 -0
  59. {nucleation-0.1.130 → nucleation-0.1.132}/examples/test_unicode_circuit.rs +0 -0
  60. {nucleation-0.1.130 → nucleation-0.1.132}/examples/universal_schematic_overhead.rs +0 -0
  61. {nucleation-0.1.130 → nucleation-0.1.132}/examples/wasm.md +0 -0
  62. {nucleation-0.1.130 → nucleation-0.1.132}/helf_adder.litematic +0 -0
  63. {nucleation-0.1.130 → nucleation-0.1.132}/insign.d.ts +0 -0
  64. {nucleation-0.1.130 → nucleation-0.1.132}/nucleation-stubs.php +0 -0
  65. {nucleation-0.1.130 → nucleation-0.1.132}/nucleation.pyi +0 -0
  66. {nucleation-0.1.130 → nucleation-0.1.132}/output/.DS_Store +0 -0
  67. {nucleation-0.1.130 → nucleation-0.1.132}/output/full_adder.litematic +0 -0
  68. {nucleation-0.1.130 → nucleation-0.1.132}/pre-push.sh +0 -0
  69. {nucleation-0.1.130 → nucleation-0.1.132}/py.typed +0 -0
  70. {nucleation-0.1.130 → nucleation-0.1.132}/release-artifacts/LICENSE +0 -0
  71. {nucleation-0.1.130 → nucleation-0.1.132}/release-artifacts/README.md +0 -0
  72. {nucleation-0.1.130 → nucleation-0.1.132}/release-artifacts/libnucleation.d +0 -0
  73. {nucleation-0.1.130 → nucleation-0.1.132}/release-artifacts/nucleation-cdn-loader.js +0 -0
  74. {nucleation-0.1.130 → nucleation-0.1.132}/release-artifacts/nucleation.js +0 -0
  75. {nucleation-0.1.130 → nucleation-0.1.132}/schematic_builder/generated/d_latch.litematic +0 -0
  76. {nucleation-0.1.130 → nucleation-0.1.132}/schematic_builder/generated/xor.schem +0 -0
  77. {nucleation-0.1.130 → nucleation-0.1.132}/schematic_builder/templates/comparator_subtract_bug1.txt +0 -0
  78. {nucleation-0.1.130 → nucleation-0.1.132}/schematic_builder/templates/comparator_subtract_bug2.txt +0 -0
  79. {nucleation-0.1.130 → nucleation-0.1.132}/schematic_builder/templates/comparator_subtract_simple.txt +0 -0
  80. {nucleation-0.1.130 → nucleation-0.1.132}/schematic_builder/templates/comparator_subtract_with_signs.txt +0 -0
  81. {nucleation-0.1.130 → nucleation-0.1.132}/schematic_builder/templates/d_latch.txt +0 -0
  82. {nucleation-0.1.130 → nucleation-0.1.132}/schematic_builder/templates/failing_case.txt +0 -0
  83. {nucleation-0.1.130 → nucleation-0.1.132}/schematic_builder/templates/full_adder.txt +0 -0
  84. {nucleation-0.1.130 → nucleation-0.1.132}/schematic_builder/templates/xor.txt +0 -0
  85. {nucleation-0.1.130 → nucleation-0.1.132}/scripts/update-stubs.sh +0 -0
  86. {nucleation-0.1.130 → nucleation-0.1.132}/simple_cube.litematic +0 -0
  87. {nucleation-0.1.130 → nucleation-0.1.132}/src/bin/schematic-builder.rs +0 -0
  88. {nucleation-0.1.130 → nucleation-0.1.132}/src/block_entity/generic.rs +0 -0
  89. {nucleation-0.1.130 → nucleation-0.1.132}/src/block_entity/mod.rs +0 -0
  90. {nucleation-0.1.130 → nucleation-0.1.132}/src/block_position.rs +0 -0
  91. {nucleation-0.1.130 → nucleation-0.1.132}/src/block_state.rs +0 -0
  92. {nucleation-0.1.130 → nucleation-0.1.132}/src/bounding_box.rs +0 -0
  93. {nucleation-0.1.130 → nucleation-0.1.132}/src/chunk.rs +0 -0
  94. {nucleation-0.1.130 → nucleation-0.1.132}/src/definition_region.rs +0 -0
  95. {nucleation-0.1.130 → nucleation-0.1.132}/src/entity.rs +0 -0
  96. {nucleation-0.1.130 → nucleation-0.1.132}/src/ffi.rs +0 -0
  97. {nucleation-0.1.130 → nucleation-0.1.132}/src/formats/litematic.rs +0 -0
  98. {nucleation-0.1.130 → nucleation-0.1.132}/src/formats/mod.rs +0 -0
  99. {nucleation-0.1.130 → nucleation-0.1.132}/src/formats/schematic.rs +0 -0
  100. {nucleation-0.1.130 → nucleation-0.1.132}/src/formats/sponge_schematic_v3.md +0 -0
  101. {nucleation-0.1.130 → nucleation-0.1.132}/src/insign.rs +0 -0
  102. {nucleation-0.1.130 → nucleation-0.1.132}/src/item/mod.rs +0 -0
  103. {nucleation-0.1.130 → nucleation-0.1.132}/src/item/stack.rs +0 -0
  104. {nucleation-0.1.130 → nucleation-0.1.132}/src/lib.rs +0 -0
  105. {nucleation-0.1.130 → nucleation-0.1.132}/src/metadata.rs +0 -0
  106. {nucleation-0.1.130 → nucleation-0.1.132}/src/php.rs +0 -0
  107. {nucleation-0.1.130 → nucleation-0.1.132}/src/print_utils.rs +0 -0
  108. {nucleation-0.1.130 → nucleation-0.1.132}/src/python/circuit_builder.rs +0 -0
  109. {nucleation-0.1.130 → nucleation-0.1.132}/src/python/definition_region.rs +0 -0
  110. {nucleation-0.1.130 → nucleation-0.1.132}/src/python/mod.rs +0 -0
  111. {nucleation-0.1.130 → nucleation-0.1.132}/src/python/schematic.rs +0 -0
  112. {nucleation-0.1.130 → nucleation-0.1.132}/src/python/schematic_builder.rs +0 -0
  113. {nucleation-0.1.130 → nucleation-0.1.132}/src/python/simulation.rs +0 -0
  114. {nucleation-0.1.130 → nucleation-0.1.132}/src/python/typed_executor.rs +0 -0
  115. {nucleation-0.1.130 → nucleation-0.1.132}/src/region.rs +0 -0
  116. {nucleation-0.1.130 → nucleation-0.1.132}/src/schematic_builder/palettes.rs +0 -0
  117. {nucleation-0.1.130 → nucleation-0.1.132}/src/schematic_builder.rs +0 -0
  118. {nucleation-0.1.130 → nucleation-0.1.132}/src/simulation/circuit_builder.rs +0 -0
  119. {nucleation-0.1.130 → nucleation-0.1.132}/src/simulation/mchprs_world.rs +0 -0
  120. {nucleation-0.1.130 → nucleation-0.1.132}/src/simulation/mod.rs +0 -0
  121. {nucleation-0.1.130 → nucleation-0.1.132}/src/simulation/tests.rs +0 -0
  122. {nucleation-0.1.130 → nucleation-0.1.132}/src/simulation/truth_table.rs +0 -0
  123. {nucleation-0.1.130 → nucleation-0.1.132}/src/simulation/typed_executor/executor.rs +0 -0
  124. {nucleation-0.1.130 → nucleation-0.1.132}/src/simulation/typed_executor/insign_io.rs +0 -0
  125. {nucleation-0.1.130 → nucleation-0.1.132}/src/simulation/typed_executor/integration_tests.rs +0 -0
  126. {nucleation-0.1.130 → nucleation-0.1.132}/src/simulation/typed_executor/io_layout_builder.rs +0 -0
  127. {nucleation-0.1.130 → nucleation-0.1.132}/src/simulation/typed_executor/io_mapping.rs +0 -0
  128. {nucleation-0.1.130 → nucleation-0.1.132}/src/simulation/typed_executor/io_type.rs +0 -0
  129. {nucleation-0.1.130 → nucleation-0.1.132}/src/simulation/typed_executor/layout_function.rs +0 -0
  130. {nucleation-0.1.130 → nucleation-0.1.132}/src/simulation/typed_executor/mod.rs +0 -0
  131. {nucleation-0.1.130 → nucleation-0.1.132}/src/simulation/typed_executor/sort_strategy.rs +0 -0
  132. {nucleation-0.1.130 → nucleation-0.1.132}/src/simulation/typed_executor/tests.rs +0 -0
  133. {nucleation-0.1.130 → nucleation-0.1.132}/src/simulation/typed_executor/value.rs +0 -0
  134. {nucleation-0.1.130 → nucleation-0.1.132}/src/transforms.rs +0 -0
  135. {nucleation-0.1.130 → nucleation-0.1.132}/src/universal_schematic.rs +0 -0
  136. {nucleation-0.1.130 → nucleation-0.1.132}/src/utils/block_string.rs +0 -0
  137. {nucleation-0.1.130 → nucleation-0.1.132}/src/utils/container_spec.rs +0 -0
  138. {nucleation-0.1.130 → nucleation-0.1.132}/src/utils/enhanced_nbt_parser.rs +0 -0
  139. {nucleation-0.1.130 → nucleation-0.1.132}/src/utils/mod.rs +0 -0
  140. {nucleation-0.1.130 → nucleation-0.1.132}/src/utils/nbt.rs +0 -0
  141. {nucleation-0.1.130 → nucleation-0.1.132}/src/wasm/circuit_builder.rs +0 -0
  142. {nucleation-0.1.130 → nucleation-0.1.132}/src/wasm/mod.rs +0 -0
  143. {nucleation-0.1.130 → nucleation-0.1.132}/src/wasm/schematic.rs +0 -0
  144. {nucleation-0.1.130 → nucleation-0.1.132}/src/wasm/schematic_builder.rs +0 -0
  145. {nucleation-0.1.130 → nucleation-0.1.132}/src/wasm/simulation.rs +0 -0
  146. {nucleation-0.1.130 → nucleation-0.1.132}/src/wasm/typed_executor.rs +0 -0
  147. {nucleation-0.1.130 → nucleation-0.1.132}/test-wasm.sh +0 -0
  148. {nucleation-0.1.130 → nucleation-0.1.132}/test_adder.litematic +0 -0
  149. {nucleation-0.1.130 → nucleation-0.1.132}/test_circuit.txt +0 -0
  150. {nucleation-0.1.130 → nucleation-0.1.132}/test_cli_output.litematic +0 -0
  151. {nucleation-0.1.130 → nucleation-0.1.132}/test_count_format.schem +0 -0
  152. {nucleation-0.1.130 → nucleation-0.1.132}/test_enhanced.schem +0 -0
  153. {nucleation-0.1.130 → nucleation-0.1.132}/test_fixed.schem +0 -0
  154. {nucleation-0.1.130 → nucleation-0.1.132}/test_schematic.schem +0 -0
  155. {nucleation-0.1.130 → nucleation-0.1.132}/tests/.DS_Store +0 -0
  156. {nucleation-0.1.130 → nucleation-0.1.132}/tests/barrel_nbt_test.rs +0 -0
  157. {nucleation-0.1.130 → nucleation-0.1.132}/tests/debug_flip.rs +0 -0
  158. {nucleation-0.1.130 → nucleation-0.1.132}/tests/definition_regions_test.rs +0 -0
  159. {nucleation-0.1.130 → nucleation-0.1.132}/tests/integration_tests.rs +0 -0
  160. {nucleation-0.1.130 → nucleation-0.1.132}/tests/mchprs_state_test.rs +0 -0
  161. {nucleation-0.1.130 → nucleation-0.1.132}/tests/nbt_parsing_test.rs +0 -0
  162. {nucleation-0.1.130 → nucleation-0.1.132}/tests/node_simple_circuit_test.js +0 -0
  163. {nucleation-0.1.130 → nucleation-0.1.132}/tests/node_simple_circuit_test.mjs +0 -0
  164. {nucleation-0.1.130 → nucleation-0.1.132}/tests/node_wasm_test.js +0 -0
  165. {nucleation-0.1.130 → nucleation-0.1.132}/tests/package.json +0 -0
  166. {nucleation-0.1.130 → nucleation-0.1.132}/tests/php-stubs-test.php +0 -0
  167. {nucleation-0.1.130 → nucleation-0.1.132}/tests/property_transformation_demo.rs +0 -0
  168. {nucleation-0.1.130 → nucleation-0.1.132}/tests/python_simple_circuit_test.py +0 -0
  169. {nucleation-0.1.130 → nucleation-0.1.132}/tests/python_test.py +0 -0
  170. {nucleation-0.1.130 → nucleation-0.1.132}/tests/reproduce_bug.rs +0 -0
  171. {nucleation-0.1.130 → nucleation-0.1.132}/tests/rust_fluent_api_test.rs +0 -0
  172. {nucleation-0.1.130 → nucleation-0.1.132}/tests/samples/1x1.litematic +0 -0
  173. {nucleation-0.1.130 → nucleation-0.1.132}/tests/samples/3x2x3.litematic +0 -0
  174. {nucleation-0.1.130 → nucleation-0.1.132}/tests/samples/3x3.litematic +0 -0
  175. {nucleation-0.1.130 → nucleation-0.1.132}/tests/samples/4x2x4.litematic +0 -0
  176. {nucleation-0.1.130 → nucleation-0.1.132}/tests/samples/4x4x4+1.litematic +0 -0
  177. {nucleation-0.1.130 → nucleation-0.1.132}/tests/samples/Evaluator.schem +0 -0
  178. {nucleation-0.1.130 → nucleation-0.1.132}/tests/samples/all_items.litematic +0 -0
  179. {nucleation-0.1.130 → nucleation-0.1.132}/tests/samples/and.schem +0 -0
  180. {nucleation-0.1.130 → nucleation-0.1.132}/tests/samples/brewer.litematic +0 -0
  181. {nucleation-0.1.130 → nucleation-0.1.132}/tests/samples/cutecounter.schem +0 -0
  182. {nucleation-0.1.130 → nucleation-0.1.132}/tests/samples/door_plot.litematic +0 -0
  183. {nucleation-0.1.130 → nucleation-0.1.132}/tests/samples/file.litematic.l +0 -0
  184. {nucleation-0.1.130 → nucleation-0.1.132}/tests/samples/gol.litematic +0 -0
  185. {nucleation-0.1.130 → nucleation-0.1.132}/tests/samples/large_schematic.schem +0 -0
  186. {nucleation-0.1.130 → nucleation-0.1.132}/tests/samples/linear_plotter.litematic +0 -0
  187. {nucleation-0.1.130 → nucleation-0.1.132}/tests/samples/litematic-rose-farm.litematic +0 -0
  188. {nucleation-0.1.130 → nucleation-0.1.132}/tests/samples/new_chest_test.schem +0 -0
  189. {nucleation-0.1.130 → nucleation-0.1.132}/tests/samples/quarry.litematic +0 -0
  190. {nucleation-0.1.130 → nucleation-0.1.132}/tests/samples/sample.litematic +0 -0
  191. {nucleation-0.1.130 → nucleation-0.1.132}/tests/samples/sample.schem +0 -0
  192. {nucleation-0.1.130 → nucleation-0.1.132}/tests/samples/spinny.litematic +0 -0
  193. {nucleation-0.1.130 → nucleation-0.1.132}/tests/samples/ss-sorter.litematic +0 -0
  194. {nucleation-0.1.130 → nucleation-0.1.132}/tests/samples/storage_thingy.litematic +0 -0
  195. {nucleation-0.1.130 → nucleation-0.1.132}/tests/samples/test_coordinate_thingy.litematic +0 -0
  196. {nucleation-0.1.130 → nucleation-0.1.132}/tests/samples/test_cube.schem +0 -0
  197. {nucleation-0.1.130 → nucleation-0.1.132}/tests/samples/trencher.litematic +0 -0
  198. {nucleation-0.1.130 → nucleation-0.1.132}/tests/samples/wool_palette.litematic +0 -0
  199. {nucleation-0.1.130 → nucleation-0.1.132}/tests/simple_wasm_test.rs +0 -0
  200. {nucleation-0.1.130 → nucleation-0.1.132}/tests/test_barrel_hopper_simulation.rs +0 -0
  201. {nucleation-0.1.130 → nucleation-0.1.132}/tests/test_chunk_bounds_bug.rs +0 -0
  202. {nucleation-0.1.130 → nucleation-0.1.132}/tests/test_comparator_diagonal_bug.rs +0 -0
  203. {nucleation-0.1.130 → nucleation-0.1.132}/tests/test_comparator_subtract_bug.rs +0 -0
  204. {nucleation-0.1.130 → nucleation-0.1.132}/tests/test_comparator_subtract_executor.rs +0 -0
  205. {nucleation-0.1.130 → nucleation-0.1.132}/tests/test_custom_io_adjacent_bug.rs +0 -0
  206. {nucleation-0.1.130 → nucleation-0.1.132}/tests/test_custom_io_no_power_bug.rs +0 -0
  207. {nucleation-0.1.130 → nucleation-0.1.132}/tests/test_intermediate_wire_sync.rs +0 -0
  208. {nucleation-0.1.130 → nucleation-0.1.132}/tests/test_long_wire.rs +0 -0
  209. {nucleation-0.1.130 → nucleation-0.1.132}/tests/test_nibble_signal_strength.rs +0 -0
  210. {nucleation-0.1.130 → nucleation-0.1.132}/tests/test_region_expansion_bugs.rs +0 -0
  211. {nucleation-0.1.130 → nucleation-0.1.132}/tests/test_repeater_chain_sync.rs +0 -0
  212. {nucleation-0.1.130 → nucleation-0.1.132}/tests/test_repeater_custom_io_bug.rs +0 -0
  213. {nucleation-0.1.130 → nucleation-0.1.132}/tests/test_simulation_with_tight_bounds.rs +0 -0
  214. {nucleation-0.1.130 → nucleation-0.1.132}/tests/test_two_inputs_exact_topology.rs +0 -0
  215. {nucleation-0.1.130 → nucleation-0.1.132}/tests/test_two_inputs_no_output_bug.rs +0 -0
  216. {nucleation-0.1.130 → nucleation-0.1.132}/tests/test_typed_executor_sync_output_bug.rs +0 -0
  217. {nucleation-0.1.130 → nucleation-0.1.132}/tests/transformation_tests.rs +0 -0
  218. {nucleation-0.1.130 → nucleation-0.1.132}/tests/wasm_node_tests.rs +0 -0
  219. {nucleation-0.1.130 → nucleation-0.1.132}/tests/wasm_tests.rs +0 -0
  220. {nucleation-0.1.130 → nucleation-0.1.132}/wasm-test/bun.lockb +0 -0
  221. {nucleation-0.1.130 → nucleation-0.1.132}/wasm-test/index.html +0 -0
  222. {nucleation-0.1.130 → nucleation-0.1.132}/wasm-test/index.js +0 -0
  223. {nucleation-0.1.130 → nucleation-0.1.132}/wasm-test/minecraft_schematic_utils.js +0 -0
  224. {nucleation-0.1.130 → nucleation-0.1.132}/wasm-test/minecraft_schematic_utils_bg.wasm +0 -0
  225. {nucleation-0.1.130 → nucleation-0.1.132}/wasm-test/node_modules/@types/node/LICENSE +0 -0
  226. {nucleation-0.1.130 → nucleation-0.1.132}/wasm-test/node_modules/@types/node/README.md +0 -0
  227. {nucleation-0.1.130 → nucleation-0.1.132}/wasm-test/node_modules/@types/node/assert/strict.d.ts +0 -0
  228. {nucleation-0.1.130 → nucleation-0.1.132}/wasm-test/node_modules/@types/node/assert.d.ts +0 -0
  229. {nucleation-0.1.130 → nucleation-0.1.132}/wasm-test/node_modules/@types/node/async_hooks.d.ts +0 -0
  230. {nucleation-0.1.130 → nucleation-0.1.132}/wasm-test/node_modules/@types/node/buffer.d.ts +0 -0
  231. {nucleation-0.1.130 → nucleation-0.1.132}/wasm-test/node_modules/@types/node/child_process.d.ts +0 -0
  232. {nucleation-0.1.130 → nucleation-0.1.132}/wasm-test/node_modules/@types/node/cluster.d.ts +0 -0
  233. {nucleation-0.1.130 → nucleation-0.1.132}/wasm-test/node_modules/@types/node/console.d.ts +0 -0
  234. {nucleation-0.1.130 → nucleation-0.1.132}/wasm-test/node_modules/@types/node/constants.d.ts +0 -0
  235. {nucleation-0.1.130 → nucleation-0.1.132}/wasm-test/node_modules/@types/node/crypto.d.ts +0 -0
  236. {nucleation-0.1.130 → nucleation-0.1.132}/wasm-test/node_modules/@types/node/dgram.d.ts +0 -0
  237. {nucleation-0.1.130 → nucleation-0.1.132}/wasm-test/node_modules/@types/node/diagnostics_channel.d.ts +0 -0
  238. {nucleation-0.1.130 → nucleation-0.1.132}/wasm-test/node_modules/@types/node/dns/promises.d.ts +0 -0
  239. {nucleation-0.1.130 → nucleation-0.1.132}/wasm-test/node_modules/@types/node/dns.d.ts +0 -0
  240. {nucleation-0.1.130 → nucleation-0.1.132}/wasm-test/node_modules/@types/node/dom-events.d.ts +0 -0
  241. {nucleation-0.1.130 → nucleation-0.1.132}/wasm-test/node_modules/@types/node/domain.d.ts +0 -0
  242. {nucleation-0.1.130 → nucleation-0.1.132}/wasm-test/node_modules/@types/node/events.d.ts +0 -0
  243. {nucleation-0.1.130 → nucleation-0.1.132}/wasm-test/node_modules/@types/node/fs/promises.d.ts +0 -0
  244. {nucleation-0.1.130 → nucleation-0.1.132}/wasm-test/node_modules/@types/node/fs.d.ts +0 -0
  245. {nucleation-0.1.130 → nucleation-0.1.132}/wasm-test/node_modules/@types/node/globals.d.ts +0 -0
  246. {nucleation-0.1.130 → nucleation-0.1.132}/wasm-test/node_modules/@types/node/globals.global.d.ts +0 -0
  247. {nucleation-0.1.130 → nucleation-0.1.132}/wasm-test/node_modules/@types/node/http.d.ts +0 -0
  248. {nucleation-0.1.130 → nucleation-0.1.132}/wasm-test/node_modules/@types/node/http2.d.ts +0 -0
  249. {nucleation-0.1.130 → nucleation-0.1.132}/wasm-test/node_modules/@types/node/https.d.ts +0 -0
  250. {nucleation-0.1.130 → nucleation-0.1.132}/wasm-test/node_modules/@types/node/index.d.ts +0 -0
  251. {nucleation-0.1.130 → nucleation-0.1.132}/wasm-test/node_modules/@types/node/inspector.d.ts +0 -0
  252. {nucleation-0.1.130 → nucleation-0.1.132}/wasm-test/node_modules/@types/node/module.d.ts +0 -0
  253. {nucleation-0.1.130 → nucleation-0.1.132}/wasm-test/node_modules/@types/node/net.d.ts +0 -0
  254. {nucleation-0.1.130 → nucleation-0.1.132}/wasm-test/node_modules/@types/node/os.d.ts +0 -0
  255. {nucleation-0.1.130 → nucleation-0.1.132}/wasm-test/node_modules/@types/node/package.json +0 -0
  256. {nucleation-0.1.130 → nucleation-0.1.132}/wasm-test/node_modules/@types/node/path.d.ts +0 -0
  257. {nucleation-0.1.130 → nucleation-0.1.132}/wasm-test/node_modules/@types/node/perf_hooks.d.ts +0 -0
  258. {nucleation-0.1.130 → nucleation-0.1.132}/wasm-test/node_modules/@types/node/process.d.ts +0 -0
  259. {nucleation-0.1.130 → nucleation-0.1.132}/wasm-test/node_modules/@types/node/punycode.d.ts +0 -0
  260. {nucleation-0.1.130 → nucleation-0.1.132}/wasm-test/node_modules/@types/node/querystring.d.ts +0 -0
  261. {nucleation-0.1.130 → nucleation-0.1.132}/wasm-test/node_modules/@types/node/readline/promises.d.ts +0 -0
  262. {nucleation-0.1.130 → nucleation-0.1.132}/wasm-test/node_modules/@types/node/readline.d.ts +0 -0
  263. {nucleation-0.1.130 → nucleation-0.1.132}/wasm-test/node_modules/@types/node/repl.d.ts +0 -0
  264. {nucleation-0.1.130 → nucleation-0.1.132}/wasm-test/node_modules/@types/node/sea.d.ts +0 -0
  265. {nucleation-0.1.130 → nucleation-0.1.132}/wasm-test/node_modules/@types/node/stream/consumers.d.ts +0 -0
  266. {nucleation-0.1.130 → nucleation-0.1.132}/wasm-test/node_modules/@types/node/stream/promises.d.ts +0 -0
  267. {nucleation-0.1.130 → nucleation-0.1.132}/wasm-test/node_modules/@types/node/stream/web.d.ts +0 -0
  268. {nucleation-0.1.130 → nucleation-0.1.132}/wasm-test/node_modules/@types/node/stream.d.ts +0 -0
  269. {nucleation-0.1.130 → nucleation-0.1.132}/wasm-test/node_modules/@types/node/string_decoder.d.ts +0 -0
  270. {nucleation-0.1.130 → nucleation-0.1.132}/wasm-test/node_modules/@types/node/test.d.ts +0 -0
  271. {nucleation-0.1.130 → nucleation-0.1.132}/wasm-test/node_modules/@types/node/timers/promises.d.ts +0 -0
  272. {nucleation-0.1.130 → nucleation-0.1.132}/wasm-test/node_modules/@types/node/timers.d.ts +0 -0
  273. {nucleation-0.1.130 → nucleation-0.1.132}/wasm-test/node_modules/@types/node/tls.d.ts +0 -0
  274. {nucleation-0.1.130 → nucleation-0.1.132}/wasm-test/node_modules/@types/node/trace_events.d.ts +0 -0
  275. {nucleation-0.1.130 → nucleation-0.1.132}/wasm-test/node_modules/@types/node/tty.d.ts +0 -0
  276. {nucleation-0.1.130 → nucleation-0.1.132}/wasm-test/node_modules/@types/node/url.d.ts +0 -0
  277. {nucleation-0.1.130 → nucleation-0.1.132}/wasm-test/node_modules/@types/node/util.d.ts +0 -0
  278. {nucleation-0.1.130 → nucleation-0.1.132}/wasm-test/node_modules/@types/node/v8.d.ts +0 -0
  279. {nucleation-0.1.130 → nucleation-0.1.132}/wasm-test/node_modules/@types/node/vm.d.ts +0 -0
  280. {nucleation-0.1.130 → nucleation-0.1.132}/wasm-test/node_modules/@types/node/wasi.d.ts +0 -0
  281. {nucleation-0.1.130 → nucleation-0.1.132}/wasm-test/node_modules/@types/node/worker_threads.d.ts +0 -0
  282. {nucleation-0.1.130 → nucleation-0.1.132}/wasm-test/node_modules/@types/node/zlib.d.ts +0 -0
  283. {nucleation-0.1.130 → nucleation-0.1.132}/wasm-test/node_modules/@types/ws/LICENSE +0 -0
  284. {nucleation-0.1.130 → nucleation-0.1.132}/wasm-test/node_modules/@types/ws/README.md +0 -0
  285. {nucleation-0.1.130 → nucleation-0.1.132}/wasm-test/node_modules/@types/ws/index.d.mts +0 -0
  286. {nucleation-0.1.130 → nucleation-0.1.132}/wasm-test/node_modules/@types/ws/index.d.ts +0 -0
  287. {nucleation-0.1.130 → nucleation-0.1.132}/wasm-test/node_modules/@types/ws/node_modules/@types/node/LICENSE +0 -0
  288. {nucleation-0.1.130 → nucleation-0.1.132}/wasm-test/node_modules/@types/ws/node_modules/@types/node/README.md +0 -0
  289. {nucleation-0.1.130 → nucleation-0.1.132}/wasm-test/node_modules/@types/ws/node_modules/@types/node/assert/strict.d.ts +0 -0
  290. {nucleation-0.1.130 → nucleation-0.1.132}/wasm-test/node_modules/@types/ws/node_modules/@types/node/assert.d.ts +0 -0
  291. {nucleation-0.1.130 → nucleation-0.1.132}/wasm-test/node_modules/@types/ws/node_modules/@types/node/async_hooks.d.ts +0 -0
  292. {nucleation-0.1.130 → nucleation-0.1.132}/wasm-test/node_modules/@types/ws/node_modules/@types/node/buffer.d.ts +0 -0
  293. {nucleation-0.1.130 → nucleation-0.1.132}/wasm-test/node_modules/@types/ws/node_modules/@types/node/child_process.d.ts +0 -0
  294. {nucleation-0.1.130 → nucleation-0.1.132}/wasm-test/node_modules/@types/ws/node_modules/@types/node/cluster.d.ts +0 -0
  295. {nucleation-0.1.130 → nucleation-0.1.132}/wasm-test/node_modules/@types/ws/node_modules/@types/node/console.d.ts +0 -0
  296. {nucleation-0.1.130 → nucleation-0.1.132}/wasm-test/node_modules/@types/ws/node_modules/@types/node/constants.d.ts +0 -0
  297. {nucleation-0.1.130 → nucleation-0.1.132}/wasm-test/node_modules/@types/ws/node_modules/@types/node/crypto.d.ts +0 -0
  298. {nucleation-0.1.130 → nucleation-0.1.132}/wasm-test/node_modules/@types/ws/node_modules/@types/node/dgram.d.ts +0 -0
  299. {nucleation-0.1.130 → nucleation-0.1.132}/wasm-test/node_modules/@types/ws/node_modules/@types/node/diagnostics_channel.d.ts +0 -0
  300. {nucleation-0.1.130 → nucleation-0.1.132}/wasm-test/node_modules/@types/ws/node_modules/@types/node/dns/promises.d.ts +0 -0
  301. {nucleation-0.1.130 → nucleation-0.1.132}/wasm-test/node_modules/@types/ws/node_modules/@types/node/dns.d.ts +0 -0
  302. {nucleation-0.1.130 → nucleation-0.1.132}/wasm-test/node_modules/@types/ws/node_modules/@types/node/dom-events.d.ts +0 -0
  303. {nucleation-0.1.130 → nucleation-0.1.132}/wasm-test/node_modules/@types/ws/node_modules/@types/node/domain.d.ts +0 -0
  304. {nucleation-0.1.130 → nucleation-0.1.132}/wasm-test/node_modules/@types/ws/node_modules/@types/node/events.d.ts +0 -0
  305. {nucleation-0.1.130 → nucleation-0.1.132}/wasm-test/node_modules/@types/ws/node_modules/@types/node/fs/promises.d.ts +0 -0
  306. {nucleation-0.1.130 → nucleation-0.1.132}/wasm-test/node_modules/@types/ws/node_modules/@types/node/fs.d.ts +0 -0
  307. {nucleation-0.1.130 → nucleation-0.1.132}/wasm-test/node_modules/@types/ws/node_modules/@types/node/globals.d.ts +0 -0
  308. {nucleation-0.1.130 → nucleation-0.1.132}/wasm-test/node_modules/@types/ws/node_modules/@types/node/globals.global.d.ts +0 -0
  309. {nucleation-0.1.130 → nucleation-0.1.132}/wasm-test/node_modules/@types/ws/node_modules/@types/node/http.d.ts +0 -0
  310. {nucleation-0.1.130 → nucleation-0.1.132}/wasm-test/node_modules/@types/ws/node_modules/@types/node/http2.d.ts +0 -0
  311. {nucleation-0.1.130 → nucleation-0.1.132}/wasm-test/node_modules/@types/ws/node_modules/@types/node/https.d.ts +0 -0
  312. {nucleation-0.1.130 → nucleation-0.1.132}/wasm-test/node_modules/@types/ws/node_modules/@types/node/index.d.ts +0 -0
  313. {nucleation-0.1.130 → nucleation-0.1.132}/wasm-test/node_modules/@types/ws/node_modules/@types/node/inspector.d.ts +0 -0
  314. {nucleation-0.1.130 → nucleation-0.1.132}/wasm-test/node_modules/@types/ws/node_modules/@types/node/module.d.ts +0 -0
  315. {nucleation-0.1.130 → nucleation-0.1.132}/wasm-test/node_modules/@types/ws/node_modules/@types/node/net.d.ts +0 -0
  316. {nucleation-0.1.130 → nucleation-0.1.132}/wasm-test/node_modules/@types/ws/node_modules/@types/node/node_modules/undici-types/LICENSE +0 -0
  317. {nucleation-0.1.130 → nucleation-0.1.132}/wasm-test/node_modules/@types/ws/node_modules/@types/node/node_modules/undici-types/README.md +0 -0
  318. {nucleation-0.1.130 → nucleation-0.1.132}/wasm-test/node_modules/@types/ws/node_modules/@types/node/node_modules/undici-types/agent.d.ts +0 -0
  319. {nucleation-0.1.130 → nucleation-0.1.132}/wasm-test/node_modules/@types/ws/node_modules/@types/node/node_modules/undici-types/api.d.ts +0 -0
  320. {nucleation-0.1.130 → nucleation-0.1.132}/wasm-test/node_modules/@types/ws/node_modules/@types/node/node_modules/undici-types/balanced-pool.d.ts +0 -0
  321. {nucleation-0.1.130 → nucleation-0.1.132}/wasm-test/node_modules/@types/ws/node_modules/@types/node/node_modules/undici-types/cache.d.ts +0 -0
  322. {nucleation-0.1.130 → nucleation-0.1.132}/wasm-test/node_modules/@types/ws/node_modules/@types/node/node_modules/undici-types/client.d.ts +0 -0
  323. {nucleation-0.1.130 → nucleation-0.1.132}/wasm-test/node_modules/@types/ws/node_modules/@types/node/node_modules/undici-types/connector.d.ts +0 -0
  324. {nucleation-0.1.130 → nucleation-0.1.132}/wasm-test/node_modules/@types/ws/node_modules/@types/node/node_modules/undici-types/content-type.d.ts +0 -0
  325. {nucleation-0.1.130 → nucleation-0.1.132}/wasm-test/node_modules/@types/ws/node_modules/@types/node/node_modules/undici-types/cookies.d.ts +0 -0
  326. {nucleation-0.1.130 → nucleation-0.1.132}/wasm-test/node_modules/@types/ws/node_modules/@types/node/node_modules/undici-types/diagnostics-channel.d.ts +0 -0
  327. {nucleation-0.1.130 → nucleation-0.1.132}/wasm-test/node_modules/@types/ws/node_modules/@types/node/node_modules/undici-types/dispatcher.d.ts +0 -0
  328. {nucleation-0.1.130 → nucleation-0.1.132}/wasm-test/node_modules/@types/ws/node_modules/@types/node/node_modules/undici-types/env-http-proxy-agent.d.ts +0 -0
  329. {nucleation-0.1.130 → nucleation-0.1.132}/wasm-test/node_modules/@types/ws/node_modules/@types/node/node_modules/undici-types/errors.d.ts +0 -0
  330. {nucleation-0.1.130 → nucleation-0.1.132}/wasm-test/node_modules/@types/ws/node_modules/@types/node/node_modules/undici-types/eventsource.d.ts +0 -0
  331. {nucleation-0.1.130 → nucleation-0.1.132}/wasm-test/node_modules/@types/ws/node_modules/@types/node/node_modules/undici-types/fetch.d.ts +0 -0
  332. {nucleation-0.1.130 → nucleation-0.1.132}/wasm-test/node_modules/@types/ws/node_modules/@types/node/node_modules/undici-types/file.d.ts +0 -0
  333. {nucleation-0.1.130 → nucleation-0.1.132}/wasm-test/node_modules/@types/ws/node_modules/@types/node/node_modules/undici-types/filereader.d.ts +0 -0
  334. {nucleation-0.1.130 → nucleation-0.1.132}/wasm-test/node_modules/@types/ws/node_modules/@types/node/node_modules/undici-types/formdata.d.ts +0 -0
  335. {nucleation-0.1.130 → nucleation-0.1.132}/wasm-test/node_modules/@types/ws/node_modules/@types/node/node_modules/undici-types/global-dispatcher.d.ts +0 -0
  336. {nucleation-0.1.130 → nucleation-0.1.132}/wasm-test/node_modules/@types/ws/node_modules/@types/node/node_modules/undici-types/global-origin.d.ts +0 -0
  337. {nucleation-0.1.130 → nucleation-0.1.132}/wasm-test/node_modules/@types/ws/node_modules/@types/node/node_modules/undici-types/handlers.d.ts +0 -0
  338. {nucleation-0.1.130 → nucleation-0.1.132}/wasm-test/node_modules/@types/ws/node_modules/@types/node/node_modules/undici-types/header.d.ts +0 -0
  339. {nucleation-0.1.130 → nucleation-0.1.132}/wasm-test/node_modules/@types/ws/node_modules/@types/node/node_modules/undici-types/index.d.ts +0 -0
  340. {nucleation-0.1.130 → nucleation-0.1.132}/wasm-test/node_modules/@types/ws/node_modules/@types/node/node_modules/undici-types/interceptors.d.ts +0 -0
  341. {nucleation-0.1.130 → nucleation-0.1.132}/wasm-test/node_modules/@types/ws/node_modules/@types/node/node_modules/undici-types/mock-agent.d.ts +0 -0
  342. {nucleation-0.1.130 → nucleation-0.1.132}/wasm-test/node_modules/@types/ws/node_modules/@types/node/node_modules/undici-types/mock-client.d.ts +0 -0
  343. {nucleation-0.1.130 → nucleation-0.1.132}/wasm-test/node_modules/@types/ws/node_modules/@types/node/node_modules/undici-types/mock-errors.d.ts +0 -0
  344. {nucleation-0.1.130 → nucleation-0.1.132}/wasm-test/node_modules/@types/ws/node_modules/@types/node/node_modules/undici-types/mock-interceptor.d.ts +0 -0
  345. {nucleation-0.1.130 → nucleation-0.1.132}/wasm-test/node_modules/@types/ws/node_modules/@types/node/node_modules/undici-types/mock-pool.d.ts +0 -0
  346. {nucleation-0.1.130 → nucleation-0.1.132}/wasm-test/node_modules/@types/ws/node_modules/@types/node/node_modules/undici-types/package.json +0 -0
  347. {nucleation-0.1.130 → nucleation-0.1.132}/wasm-test/node_modules/@types/ws/node_modules/@types/node/node_modules/undici-types/patch.d.ts +0 -0
  348. {nucleation-0.1.130 → nucleation-0.1.132}/wasm-test/node_modules/@types/ws/node_modules/@types/node/node_modules/undici-types/pool-stats.d.ts +0 -0
  349. {nucleation-0.1.130 → nucleation-0.1.132}/wasm-test/node_modules/@types/ws/node_modules/@types/node/node_modules/undici-types/pool.d.ts +0 -0
  350. {nucleation-0.1.130 → nucleation-0.1.132}/wasm-test/node_modules/@types/ws/node_modules/@types/node/node_modules/undici-types/proxy-agent.d.ts +0 -0
  351. {nucleation-0.1.130 → nucleation-0.1.132}/wasm-test/node_modules/@types/ws/node_modules/@types/node/node_modules/undici-types/readable.d.ts +0 -0
  352. {nucleation-0.1.130 → nucleation-0.1.132}/wasm-test/node_modules/@types/ws/node_modules/@types/node/node_modules/undici-types/retry-agent.d.ts +0 -0
  353. {nucleation-0.1.130 → nucleation-0.1.132}/wasm-test/node_modules/@types/ws/node_modules/@types/node/node_modules/undici-types/retry-handler.d.ts +0 -0
  354. {nucleation-0.1.130 → nucleation-0.1.132}/wasm-test/node_modules/@types/ws/node_modules/@types/node/node_modules/undici-types/util.d.ts +0 -0
  355. {nucleation-0.1.130 → nucleation-0.1.132}/wasm-test/node_modules/@types/ws/node_modules/@types/node/node_modules/undici-types/webidl.d.ts +0 -0
  356. {nucleation-0.1.130 → nucleation-0.1.132}/wasm-test/node_modules/@types/ws/node_modules/@types/node/node_modules/undici-types/websocket.d.ts +0 -0
  357. {nucleation-0.1.130 → nucleation-0.1.132}/wasm-test/node_modules/@types/ws/node_modules/@types/node/os.d.ts +0 -0
  358. {nucleation-0.1.130 → nucleation-0.1.132}/wasm-test/node_modules/@types/ws/node_modules/@types/node/package.json +0 -0
  359. {nucleation-0.1.130 → nucleation-0.1.132}/wasm-test/node_modules/@types/ws/node_modules/@types/node/path.d.ts +0 -0
  360. {nucleation-0.1.130 → nucleation-0.1.132}/wasm-test/node_modules/@types/ws/node_modules/@types/node/perf_hooks.d.ts +0 -0
  361. {nucleation-0.1.130 → nucleation-0.1.132}/wasm-test/node_modules/@types/ws/node_modules/@types/node/process.d.ts +0 -0
  362. {nucleation-0.1.130 → nucleation-0.1.132}/wasm-test/node_modules/@types/ws/node_modules/@types/node/punycode.d.ts +0 -0
  363. {nucleation-0.1.130 → nucleation-0.1.132}/wasm-test/node_modules/@types/ws/node_modules/@types/node/querystring.d.ts +0 -0
  364. {nucleation-0.1.130 → nucleation-0.1.132}/wasm-test/node_modules/@types/ws/node_modules/@types/node/readline/promises.d.ts +0 -0
  365. {nucleation-0.1.130 → nucleation-0.1.132}/wasm-test/node_modules/@types/ws/node_modules/@types/node/readline.d.ts +0 -0
  366. {nucleation-0.1.130 → nucleation-0.1.132}/wasm-test/node_modules/@types/ws/node_modules/@types/node/repl.d.ts +0 -0
  367. {nucleation-0.1.130 → nucleation-0.1.132}/wasm-test/node_modules/@types/ws/node_modules/@types/node/sea.d.ts +0 -0
  368. {nucleation-0.1.130 → nucleation-0.1.132}/wasm-test/node_modules/@types/ws/node_modules/@types/node/sqlite.d.ts +0 -0
  369. {nucleation-0.1.130 → nucleation-0.1.132}/wasm-test/node_modules/@types/ws/node_modules/@types/node/stream/consumers.d.ts +0 -0
  370. {nucleation-0.1.130 → nucleation-0.1.132}/wasm-test/node_modules/@types/ws/node_modules/@types/node/stream/promises.d.ts +0 -0
  371. {nucleation-0.1.130 → nucleation-0.1.132}/wasm-test/node_modules/@types/ws/node_modules/@types/node/stream/web.d.ts +0 -0
  372. {nucleation-0.1.130 → nucleation-0.1.132}/wasm-test/node_modules/@types/ws/node_modules/@types/node/stream.d.ts +0 -0
  373. {nucleation-0.1.130 → nucleation-0.1.132}/wasm-test/node_modules/@types/ws/node_modules/@types/node/string_decoder.d.ts +0 -0
  374. {nucleation-0.1.130 → nucleation-0.1.132}/wasm-test/node_modules/@types/ws/node_modules/@types/node/test.d.ts +0 -0
  375. {nucleation-0.1.130 → nucleation-0.1.132}/wasm-test/node_modules/@types/ws/node_modules/@types/node/timers/promises.d.ts +0 -0
  376. {nucleation-0.1.130 → nucleation-0.1.132}/wasm-test/node_modules/@types/ws/node_modules/@types/node/timers.d.ts +0 -0
  377. {nucleation-0.1.130 → nucleation-0.1.132}/wasm-test/node_modules/@types/ws/node_modules/@types/node/tls.d.ts +0 -0
  378. {nucleation-0.1.130 → nucleation-0.1.132}/wasm-test/node_modules/@types/ws/node_modules/@types/node/trace_events.d.ts +0 -0
  379. {nucleation-0.1.130 → nucleation-0.1.132}/wasm-test/node_modules/@types/ws/node_modules/@types/node/tty.d.ts +0 -0
  380. {nucleation-0.1.130 → nucleation-0.1.132}/wasm-test/node_modules/@types/ws/node_modules/@types/node/url.d.ts +0 -0
  381. {nucleation-0.1.130 → nucleation-0.1.132}/wasm-test/node_modules/@types/ws/node_modules/@types/node/util.d.ts +0 -0
  382. {nucleation-0.1.130 → nucleation-0.1.132}/wasm-test/node_modules/@types/ws/node_modules/@types/node/v8.d.ts +0 -0
  383. {nucleation-0.1.130 → nucleation-0.1.132}/wasm-test/node_modules/@types/ws/node_modules/@types/node/vm.d.ts +0 -0
  384. {nucleation-0.1.130 → nucleation-0.1.132}/wasm-test/node_modules/@types/ws/node_modules/@types/node/wasi.d.ts +0 -0
  385. {nucleation-0.1.130 → nucleation-0.1.132}/wasm-test/node_modules/@types/ws/node_modules/@types/node/worker_threads.d.ts +0 -0
  386. {nucleation-0.1.130 → nucleation-0.1.132}/wasm-test/node_modules/@types/ws/node_modules/@types/node/zlib.d.ts +0 -0
  387. {nucleation-0.1.130 → nucleation-0.1.132}/wasm-test/node_modules/@types/ws/package.json +0 -0
  388. {nucleation-0.1.130 → nucleation-0.1.132}/wasm-test/node_modules/bun-types/README.md +0 -0
  389. {nucleation-0.1.130 → nucleation-0.1.132}/wasm-test/node_modules/bun-types/bun.d.ts +0 -0
  390. {nucleation-0.1.130 → nucleation-0.1.132}/wasm-test/node_modules/bun-types/deprecated.d.ts +0 -0
  391. {nucleation-0.1.130 → nucleation-0.1.132}/wasm-test/node_modules/bun-types/fetch.d.ts +0 -0
  392. {nucleation-0.1.130 → nucleation-0.1.132}/wasm-test/node_modules/bun-types/ffi.d.ts +0 -0
  393. {nucleation-0.1.130 → nucleation-0.1.132}/wasm-test/node_modules/bun-types/globals.d.ts +0 -0
  394. {nucleation-0.1.130 → nucleation-0.1.132}/wasm-test/node_modules/bun-types/html-rewriter.d.ts +0 -0
  395. {nucleation-0.1.130 → nucleation-0.1.132}/wasm-test/node_modules/bun-types/index.d.ts +0 -0
  396. {nucleation-0.1.130 → nucleation-0.1.132}/wasm-test/node_modules/bun-types/jsc.d.ts +0 -0
  397. {nucleation-0.1.130 → nucleation-0.1.132}/wasm-test/node_modules/bun-types/overrides.d.ts +0 -0
  398. {nucleation-0.1.130 → nucleation-0.1.132}/wasm-test/node_modules/bun-types/package.json +0 -0
  399. {nucleation-0.1.130 → nucleation-0.1.132}/wasm-test/node_modules/bun-types/sqlite.d.ts +0 -0
  400. {nucleation-0.1.130 → nucleation-0.1.132}/wasm-test/node_modules/bun-types/test.d.ts +0 -0
  401. {nucleation-0.1.130 → nucleation-0.1.132}/wasm-test/node_modules/bun-types/wasm.d.ts +0 -0
  402. {nucleation-0.1.130 → nucleation-0.1.132}/wasm-test/node_modules/undici-types/README.md +0 -0
  403. {nucleation-0.1.130 → nucleation-0.1.132}/wasm-test/node_modules/undici-types/agent.d.ts +0 -0
  404. {nucleation-0.1.130 → nucleation-0.1.132}/wasm-test/node_modules/undici-types/api.d.ts +0 -0
  405. {nucleation-0.1.130 → nucleation-0.1.132}/wasm-test/node_modules/undici-types/balanced-pool.d.ts +0 -0
  406. {nucleation-0.1.130 → nucleation-0.1.132}/wasm-test/node_modules/undici-types/cache.d.ts +0 -0
  407. {nucleation-0.1.130 → nucleation-0.1.132}/wasm-test/node_modules/undici-types/client.d.ts +0 -0
  408. {nucleation-0.1.130 → nucleation-0.1.132}/wasm-test/node_modules/undici-types/connector.d.ts +0 -0
  409. {nucleation-0.1.130 → nucleation-0.1.132}/wasm-test/node_modules/undici-types/content-type.d.ts +0 -0
  410. {nucleation-0.1.130 → nucleation-0.1.132}/wasm-test/node_modules/undici-types/cookies.d.ts +0 -0
  411. {nucleation-0.1.130 → nucleation-0.1.132}/wasm-test/node_modules/undici-types/diagnostics-channel.d.ts +0 -0
  412. {nucleation-0.1.130 → nucleation-0.1.132}/wasm-test/node_modules/undici-types/dispatcher.d.ts +0 -0
  413. {nucleation-0.1.130 → nucleation-0.1.132}/wasm-test/node_modules/undici-types/errors.d.ts +0 -0
  414. {nucleation-0.1.130 → nucleation-0.1.132}/wasm-test/node_modules/undici-types/fetch.d.ts +0 -0
  415. {nucleation-0.1.130 → nucleation-0.1.132}/wasm-test/node_modules/undici-types/file.d.ts +0 -0
  416. {nucleation-0.1.130 → nucleation-0.1.132}/wasm-test/node_modules/undici-types/filereader.d.ts +0 -0
  417. {nucleation-0.1.130 → nucleation-0.1.132}/wasm-test/node_modules/undici-types/formdata.d.ts +0 -0
  418. {nucleation-0.1.130 → nucleation-0.1.132}/wasm-test/node_modules/undici-types/global-dispatcher.d.ts +0 -0
  419. {nucleation-0.1.130 → nucleation-0.1.132}/wasm-test/node_modules/undici-types/global-origin.d.ts +0 -0
  420. {nucleation-0.1.130 → nucleation-0.1.132}/wasm-test/node_modules/undici-types/handlers.d.ts +0 -0
  421. {nucleation-0.1.130 → nucleation-0.1.132}/wasm-test/node_modules/undici-types/header.d.ts +0 -0
  422. {nucleation-0.1.130 → nucleation-0.1.132}/wasm-test/node_modules/undici-types/index.d.ts +0 -0
  423. {nucleation-0.1.130 → nucleation-0.1.132}/wasm-test/node_modules/undici-types/interceptors.d.ts +0 -0
  424. {nucleation-0.1.130 → nucleation-0.1.132}/wasm-test/node_modules/undici-types/mock-agent.d.ts +0 -0
  425. {nucleation-0.1.130 → nucleation-0.1.132}/wasm-test/node_modules/undici-types/mock-client.d.ts +0 -0
  426. {nucleation-0.1.130 → nucleation-0.1.132}/wasm-test/node_modules/undici-types/mock-errors.d.ts +0 -0
  427. {nucleation-0.1.130 → nucleation-0.1.132}/wasm-test/node_modules/undici-types/mock-interceptor.d.ts +0 -0
  428. {nucleation-0.1.130 → nucleation-0.1.132}/wasm-test/node_modules/undici-types/mock-pool.d.ts +0 -0
  429. {nucleation-0.1.130 → nucleation-0.1.132}/wasm-test/node_modules/undici-types/package.json +0 -0
  430. {nucleation-0.1.130 → nucleation-0.1.132}/wasm-test/node_modules/undici-types/patch.d.ts +0 -0
  431. {nucleation-0.1.130 → nucleation-0.1.132}/wasm-test/node_modules/undici-types/pool-stats.d.ts +0 -0
  432. {nucleation-0.1.130 → nucleation-0.1.132}/wasm-test/node_modules/undici-types/pool.d.ts +0 -0
  433. {nucleation-0.1.130 → nucleation-0.1.132}/wasm-test/node_modules/undici-types/proxy-agent.d.ts +0 -0
  434. {nucleation-0.1.130 → nucleation-0.1.132}/wasm-test/node_modules/undici-types/readable.d.ts +0 -0
  435. {nucleation-0.1.130 → nucleation-0.1.132}/wasm-test/node_modules/undici-types/webidl.d.ts +0 -0
  436. {nucleation-0.1.130 → nucleation-0.1.132}/wasm-test/node_modules/undici-types/websocket.d.ts +0 -0
  437. {nucleation-0.1.130 → nucleation-0.1.132}/wasm-test/nucleation-web.js +0 -0
  438. {nucleation-0.1.130 → nucleation-0.1.132}/wasm-test/nucleation-web_bg.wasm +0 -0
  439. {nucleation-0.1.130 → nucleation-0.1.132}/wasm-test/nucleation.js +0 -0
  440. {nucleation-0.1.130 → nucleation-0.1.132}/wasm-test/nucleation_bg.js +0 -0
  441. {nucleation-0.1.130 → nucleation-0.1.132}/wasm-test/nucleation_bg.wasm +0 -0
  442. {nucleation-0.1.130 → nucleation-0.1.132}/wasm-test/package.json +0 -0
  443. {nucleation-0.1.130 → nucleation-0.1.132}/wasm-test/server.js +0 -0
@@ -1687,7 +1687,7 @@ dependencies = [
1687
1687
 
1688
1688
  [[package]]
1689
1689
  name = "nucleation"
1690
- version = "0.1.130"
1690
+ version = "0.1.132"
1691
1691
  dependencies = [
1692
1692
  "base64",
1693
1693
  "bytemuck",
@@ -1,6 +1,6 @@
1
1
  [package]
2
2
  name = "nucleation"
3
- version = "0.1.130"
3
+ version = "0.1.132"
4
4
  edition = "2021"
5
5
  description = "A high-performance Minecraft schematic parser and utility library"
6
6
  authors = ["Nano nano@schem.at"]
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: nucleation
3
- Version: 0.1.130
3
+ Version: 0.1.132
4
4
  Classifier: Development Status :: 4 - Beta
5
5
  Classifier: Intended Audience :: Developers
6
6
  Classifier: License :: OSI Approved :: GNU Affero General Public License v3
@@ -4,7 +4,7 @@ build-backend = "maturin"
4
4
 
5
5
  [project]
6
6
  name = "nucleation"
7
- version = "0.1.130"
7
+ version = "0.1.132"
8
8
  description = "A high-performance Minecraft schematic parser and utility library"
9
9
  authors = [{ name = "Nano", email = "nano@schem.at" }]
10
10
  license = { text = "AGPL-3.0-only" }
@@ -255,6 +255,13 @@ function passArray8ToWasm0(arg, malloc) {
255
255
  WASM_VECTOR_LEN = arg.length;
256
256
  return ptr;
257
257
  }
258
+ /**
259
+ * Initialize WASM module with panic hook for better error messages
260
+ */
261
+ export function start() {
262
+ wasm.start();
263
+ }
264
+
258
265
  /**
259
266
  * @param {SchematicWrapper} schematic
260
267
  * @returns {string}
@@ -291,13 +298,6 @@ export function debug_json_schematic(schematic) {
291
298
  }
292
299
  }
293
300
 
294
- /**
295
- * Initialize WASM module with panic hook for better error messages
296
- */
297
- export function start() {
298
- wasm.start();
299
- }
300
-
301
301
  const BlockPositionFinalization = (typeof FinalizationRegistry === 'undefined')
302
302
  ? { register: () => {}, unregister: () => {} }
303
303
  : new FinalizationRegistry(ptr => wasm.__wbg_blockposition_free(ptr >>> 0, 1));
@@ -851,6 +851,16 @@ export class DefinitionRegionWrapper {
851
851
  const ret = wasm.definitionregionwrapper_dimensions(this.__wbg_ptr);
852
852
  return ret;
853
853
  }
854
+ /**
855
+ * @returns {Array<any>}
856
+ */
857
+ getBlocks() {
858
+ const ret = wasm.definitionregionwrapper_getBlocks(this.__wbg_ptr);
859
+ if (ret[2]) {
860
+ throw takeFromExternrefTable0(ret[1]);
861
+ }
862
+ return takeFromExternrefTable0(ret[0]);
863
+ }
854
864
  /**
855
865
  * Get the overall bounding box encompassing all boxes in this region
856
866
  * Returns an object with {min: [x,y,z], max: [x,y,z]} or null if empty
@@ -873,10 +883,13 @@ export class DefinitionRegionWrapper {
873
883
  /**
874
884
  * Add all points from another region to this one (mutating union)
875
885
  * @param {DefinitionRegionWrapper} other
886
+ * @returns {DefinitionRegionWrapper}
876
887
  */
877
888
  unionInto(other) {
889
+ const ptr = this.__destroy_into_raw();
878
890
  _assertClass(other, DefinitionRegionWrapper);
879
- wasm.definitionregionwrapper_unionInto(this.__wbg_ptr, other.__wbg_ptr);
891
+ const ret = wasm.definitionregionwrapper_unionInto(ptr, other.__wbg_ptr);
892
+ return DefinitionRegionWrapper.__wrap(ret);
880
893
  }
881
894
  /**
882
895
  * @param {BlockPosition} min
@@ -1081,19 +1094,25 @@ export class DefinitionRegionWrapper {
1081
1094
  }
1082
1095
  /**
1083
1096
  * @param {DefinitionRegionWrapper} other
1097
+ * @returns {DefinitionRegionWrapper}
1084
1098
  */
1085
1099
  merge(other) {
1100
+ const ptr = this.__destroy_into_raw();
1086
1101
  _assertClass(other, DefinitionRegionWrapper);
1087
- wasm.definitionregionwrapper_merge(this.__wbg_ptr, other.__wbg_ptr);
1102
+ const ret = wasm.definitionregionwrapper_merge(ptr, other.__wbg_ptr);
1103
+ return DefinitionRegionWrapper.__wrap(ret);
1088
1104
  }
1089
1105
  /**
1090
1106
  * Translate all boxes by the given offset
1091
1107
  * @param {number} x
1092
1108
  * @param {number} y
1093
1109
  * @param {number} z
1110
+ * @returns {DefinitionRegionWrapper}
1094
1111
  */
1095
1112
  shift(x, y, z) {
1096
- wasm.definitionregionwrapper_shift(this.__wbg_ptr, x, y, z);
1113
+ const ptr = this.__destroy_into_raw();
1114
+ const ret = wasm.definitionregionwrapper_shift(ptr, x, y, z);
1115
+ return DefinitionRegionWrapper.__wrap(ret);
1097
1116
  }
1098
1117
  /**
1099
1118
  * Create a new region that is the union of this region and another
@@ -1120,9 +1139,12 @@ export class DefinitionRegionWrapper {
1120
1139
  * @param {number} x
1121
1140
  * @param {number} y
1122
1141
  * @param {number} z
1142
+ * @returns {DefinitionRegionWrapper}
1123
1143
  */
1124
1144
  expand(x, y, z) {
1125
- wasm.definitionregionwrapper_expand(this.__wbg_ptr, x, y, z);
1145
+ const ptr = this.__destroy_into_raw();
1146
+ const ret = wasm.definitionregionwrapper_expand(ptr, x, y, z);
1147
+ return DefinitionRegionWrapper.__wrap(ret);
1126
1148
  }
1127
1149
  /**
1128
1150
  * Get total volume (number of blocks) covered by all boxes
@@ -1168,9 +1190,12 @@ export class DefinitionRegionWrapper {
1168
1190
  /**
1169
1191
  * Contract all boxes by the given amount uniformly
1170
1192
  * @param {number} amount
1193
+ * @returns {DefinitionRegionWrapper}
1171
1194
  */
1172
1195
  contract(amount) {
1173
- wasm.definitionregionwrapper_contract(this.__wbg_ptr, amount);
1196
+ const ptr = this.__destroy_into_raw();
1197
+ const ret = wasm.definitionregionwrapper_contract(ptr, amount);
1198
+ return DefinitionRegionWrapper.__wrap(ret);
1174
1199
  }
1175
1200
  /**
1176
1201
  * Create a new region expanded by the given amounts (immutable)
@@ -1193,25 +1218,34 @@ export class DefinitionRegionWrapper {
1193
1218
  }
1194
1219
  /**
1195
1220
  * Simplify the region by merging adjacent/overlapping boxes
1221
+ * @returns {DefinitionRegionWrapper}
1196
1222
  */
1197
1223
  simplify() {
1198
- wasm.definitionregionwrapper_simplify(this.__wbg_ptr);
1224
+ const ptr = this.__destroy_into_raw();
1225
+ const ret = wasm.definitionregionwrapper_simplify(ptr);
1226
+ return DefinitionRegionWrapper.__wrap(ret);
1199
1227
  }
1200
1228
  /**
1201
1229
  * Subtract another region from this one (removes points present in `other`)
1202
1230
  * @param {DefinitionRegionWrapper} other
1231
+ * @returns {DefinitionRegionWrapper}
1203
1232
  */
1204
1233
  subtract(other) {
1234
+ const ptr = this.__destroy_into_raw();
1205
1235
  _assertClass(other, DefinitionRegionWrapper);
1206
- wasm.definitionregionwrapper_subtract(this.__wbg_ptr, other.__wbg_ptr);
1236
+ const ret = wasm.definitionregionwrapper_subtract(ptr, other.__wbg_ptr);
1237
+ return DefinitionRegionWrapper.__wrap(ret);
1207
1238
  }
1208
1239
  /**
1209
1240
  * @param {number} x
1210
1241
  * @param {number} y
1211
1242
  * @param {number} z
1243
+ * @returns {DefinitionRegionWrapper}
1212
1244
  */
1213
1245
  addPoint(x, y, z) {
1214
- wasm.definitionregionwrapper_addPoint(this.__wbg_ptr, x, y, z);
1246
+ const ptr = this.__destroy_into_raw();
1247
+ const ret = wasm.definitionregionwrapper_addPoint(ptr, x, y, z);
1248
+ return DefinitionRegionWrapper.__wrap(ret);
1215
1249
  }
1216
1250
  /**
1217
1251
  * Get the number of bounding boxes in this region
@@ -1235,10 +1269,13 @@ export class DefinitionRegionWrapper {
1235
1269
  /**
1236
1270
  * Keep only points present in both regions (intersection)
1237
1271
  * @param {DefinitionRegionWrapper} other
1272
+ * @returns {DefinitionRegionWrapper}
1238
1273
  */
1239
1274
  intersect(other) {
1275
+ const ptr = this.__destroy_into_raw();
1240
1276
  _assertClass(other, DefinitionRegionWrapper);
1241
- wasm.definitionregionwrapper_intersect(this.__wbg_ptr, other.__wbg_ptr);
1277
+ const ret = wasm.definitionregionwrapper_intersect(ptr, other.__wbg_ptr);
1278
+ return DefinitionRegionWrapper.__wrap(ret);
1242
1279
  }
1243
1280
  /**
1244
1281
  * Get a list of all positions as an array of [x, y, z] arrays
@@ -1,11 +1,11 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
- export function debug_schematic(schematic: SchematicWrapper): string;
4
- export function debug_json_schematic(schematic: SchematicWrapper): string;
5
3
  /**
6
4
  * Initialize WASM module with panic hook for better error messages
7
5
  */
8
6
  export function start(): void;
7
+ export function debug_schematic(schematic: SchematicWrapper): string;
8
+ export function debug_json_schematic(schematic: SchematicWrapper): string;
9
9
  export class BlockPosition {
10
10
  free(): void;
11
11
  [Symbol.dispose](): void;
@@ -139,6 +139,7 @@ export class DefinitionRegionWrapper {
139
139
  * Returns [width, height, length] or [0, 0, 0] if empty
140
140
  */
141
141
  dimensions(): Array<any>;
142
+ getBlocks(): Array<any>;
142
143
  /**
143
144
  * Get the overall bounding box encompassing all boxes in this region
144
145
  * Returns an object with {min: [x,y,z], max: [x,y,z]} or null if empty
@@ -151,7 +152,7 @@ export class DefinitionRegionWrapper {
151
152
  /**
152
153
  * Add all points from another region to this one (mutating union)
153
154
  */
154
- unionInto(other: DefinitionRegionWrapper): void;
155
+ unionInto(other: DefinitionRegionWrapper): DefinitionRegionWrapper;
155
156
  static fromBounds(min: BlockPosition, max: BlockPosition): DefinitionRegionWrapper;
156
157
  /**
157
158
  * Create a new region with only points in both (immutable)
@@ -222,11 +223,11 @@ export class DefinitionRegionWrapper {
222
223
  * Create a deep copy of this region
223
224
  */
224
225
  copy(): DefinitionRegionWrapper;
225
- merge(other: DefinitionRegionWrapper): void;
226
+ merge(other: DefinitionRegionWrapper): DefinitionRegionWrapper;
226
227
  /**
227
228
  * Translate all boxes by the given offset
228
229
  */
229
- shift(x: number, y: number, z: number): void;
230
+ shift(x: number, y: number, z: number): DefinitionRegionWrapper;
230
231
  /**
231
232
  * Create a new region that is the union of this region and another
232
233
  */
@@ -240,7 +241,7 @@ export class DefinitionRegionWrapper {
240
241
  /**
241
242
  * Expand all boxes by the given amounts in each direction
242
243
  */
243
- expand(x: number, y: number, z: number): void;
244
+ expand(x: number, y: number, z: number): DefinitionRegionWrapper;
244
245
  /**
245
246
  * Get total volume (number of blocks) covered by all boxes
246
247
  */
@@ -262,7 +263,7 @@ export class DefinitionRegionWrapper {
262
263
  /**
263
264
  * Contract all boxes by the given amount uniformly
264
265
  */
265
- contract(amount: number): void;
266
+ contract(amount: number): DefinitionRegionWrapper;
266
267
  /**
267
268
  * Create a new region expanded by the given amounts (immutable)
268
269
  */
@@ -274,12 +275,12 @@ export class DefinitionRegionWrapper {
274
275
  /**
275
276
  * Simplify the region by merging adjacent/overlapping boxes
276
277
  */
277
- simplify(): void;
278
+ simplify(): DefinitionRegionWrapper;
278
279
  /**
279
280
  * Subtract another region from this one (removes points present in `other`)
280
281
  */
281
- subtract(other: DefinitionRegionWrapper): void;
282
- addPoint(x: number, y: number, z: number): void;
282
+ subtract(other: DefinitionRegionWrapper): DefinitionRegionWrapper;
283
+ addPoint(x: number, y: number, z: number): DefinitionRegionWrapper;
283
284
  /**
284
285
  * Get the number of bounding boxes in this region
285
286
  */
@@ -294,7 +295,7 @@ export class DefinitionRegionWrapper {
294
295
  /**
295
296
  * Keep only points present in both regions (intersection)
296
297
  */
297
- intersect(other: DefinitionRegionWrapper): void;
298
+ intersect(other: DefinitionRegionWrapper): DefinitionRegionWrapper;
298
299
  /**
299
300
  * Get a list of all positions as an array of [x, y, z] arrays
300
301
  */
@@ -1074,18 +1075,18 @@ export interface InitOutput {
1074
1075
  readonly circuitbuilderwrapper_withStateMode: (a: number, b: number, c: number) => [number, number, number];
1075
1076
  readonly definitionregionwrapper_addBounds: (a: number, b: any, c: any) => [number, number, number];
1076
1077
  readonly definitionregionwrapper_addFilter: (a: number, b: number, c: number) => [number, number, number];
1077
- readonly definitionregionwrapper_addPoint: (a: number, b: number, c: number, d: number) => void;
1078
+ readonly definitionregionwrapper_addPoint: (a: number, b: number, c: number, d: number) => number;
1078
1079
  readonly definitionregionwrapper_boxCount: (a: number) => number;
1079
1080
  readonly definitionregionwrapper_center: (a: number) => any;
1080
1081
  readonly definitionregionwrapper_centerF32: (a: number) => any;
1081
1082
  readonly definitionregionwrapper_clone: (a: number) => number;
1082
1083
  readonly definitionregionwrapper_connectedComponents: (a: number) => number;
1083
1084
  readonly definitionregionwrapper_contains: (a: number, b: number, c: number, d: number) => number;
1084
- readonly definitionregionwrapper_contract: (a: number, b: number) => void;
1085
+ readonly definitionregionwrapper_contract: (a: number, b: number) => number;
1085
1086
  readonly definitionregionwrapper_contracted: (a: number, b: number) => number;
1086
1087
  readonly definitionregionwrapper_dimensions: (a: number) => any;
1087
1088
  readonly definitionregionwrapper_excludeBlock: (a: number, b: number, c: number) => [number, number, number];
1088
- readonly definitionregionwrapper_expand: (a: number, b: number, c: number, d: number) => void;
1089
+ readonly definitionregionwrapper_expand: (a: number, b: number, c: number, d: number) => number;
1089
1090
  readonly definitionregionwrapper_expanded: (a: number, b: number, c: number, d: number) => number;
1090
1091
  readonly definitionregionwrapper_filterByBlock: (a: number, b: number, c: number, d: number) => number;
1091
1092
  readonly definitionregionwrapper_filterByProperties: (a: number, b: number, c: any) => [number, number, number];
@@ -1093,29 +1094,30 @@ export interface InitOutput {
1093
1094
  readonly definitionregionwrapper_fromBounds: (a: number, b: number) => number;
1094
1095
  readonly definitionregionwrapper_fromPositions: (a: any) => [number, number, number];
1095
1096
  readonly definitionregionwrapper_getAllMetadata: (a: number) => any;
1097
+ readonly definitionregionwrapper_getBlocks: (a: number) => [number, number, number];
1096
1098
  readonly definitionregionwrapper_getBounds: (a: number) => any;
1097
1099
  readonly definitionregionwrapper_getBox: (a: number, b: number) => any;
1098
1100
  readonly definitionregionwrapper_getBoxes: (a: number) => any;
1099
1101
  readonly definitionregionwrapper_getMetadata: (a: number, b: number, c: number) => any;
1100
- readonly definitionregionwrapper_intersect: (a: number, b: number) => void;
1102
+ readonly definitionregionwrapper_intersect: (a: number, b: number) => number;
1101
1103
  readonly definitionregionwrapper_intersected: (a: number, b: number) => number;
1102
1104
  readonly definitionregionwrapper_intersectsBounds: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => number;
1103
1105
  readonly definitionregionwrapper_isContiguous: (a: number) => number;
1104
1106
  readonly definitionregionwrapper_isEmpty: (a: number) => number;
1105
- readonly definitionregionwrapper_merge: (a: number, b: number) => void;
1107
+ readonly definitionregionwrapper_merge: (a: number, b: number) => number;
1106
1108
  readonly definitionregionwrapper_metadataKeys: (a: number) => any;
1107
1109
  readonly definitionregionwrapper_new: () => number;
1108
1110
  readonly definitionregionwrapper_positions: (a: number) => any;
1109
1111
  readonly definitionregionwrapper_positionsSorted: (a: number) => any;
1110
1112
  readonly definitionregionwrapper_setColor: (a: number, b: number) => number;
1111
1113
  readonly definitionregionwrapper_setMetadata: (a: number, b: number, c: number, d: number, e: number) => number;
1112
- readonly definitionregionwrapper_shift: (a: number, b: number, c: number, d: number) => void;
1114
+ readonly definitionregionwrapper_shift: (a: number, b: number, c: number, d: number) => number;
1113
1115
  readonly definitionregionwrapper_shifted: (a: number, b: number, c: number, d: number) => number;
1114
- readonly definitionregionwrapper_simplify: (a: number) => void;
1115
- readonly definitionregionwrapper_subtract: (a: number, b: number) => void;
1116
+ readonly definitionregionwrapper_simplify: (a: number) => number;
1117
+ readonly definitionregionwrapper_subtract: (a: number, b: number) => number;
1116
1118
  readonly definitionregionwrapper_subtracted: (a: number, b: number) => number;
1117
1119
  readonly definitionregionwrapper_union: (a: number, b: number) => number;
1118
- readonly definitionregionwrapper_unionInto: (a: number, b: number) => void;
1120
+ readonly definitionregionwrapper_unionInto: (a: number, b: number) => number;
1119
1121
  readonly definitionregionwrapper_volume: (a: number) => number;
1120
1122
  readonly executionmodewrapper_fixedTicks: (a: number) => number;
1121
1123
  readonly executionmodewrapper_untilChange: (a: number, b: number) => number;
@@ -36,18 +36,18 @@ export const circuitbuilderwrapper_withOutputSorted: (a: number, b: number, c: n
36
36
  export const circuitbuilderwrapper_withStateMode: (a: number, b: number, c: number) => [number, number, number];
37
37
  export const definitionregionwrapper_addBounds: (a: number, b: any, c: any) => [number, number, number];
38
38
  export const definitionregionwrapper_addFilter: (a: number, b: number, c: number) => [number, number, number];
39
- export const definitionregionwrapper_addPoint: (a: number, b: number, c: number, d: number) => void;
39
+ export const definitionregionwrapper_addPoint: (a: number, b: number, c: number, d: number) => number;
40
40
  export const definitionregionwrapper_boxCount: (a: number) => number;
41
41
  export const definitionregionwrapper_center: (a: number) => any;
42
42
  export const definitionregionwrapper_centerF32: (a: number) => any;
43
43
  export const definitionregionwrapper_clone: (a: number) => number;
44
44
  export const definitionregionwrapper_connectedComponents: (a: number) => number;
45
45
  export const definitionregionwrapper_contains: (a: number, b: number, c: number, d: number) => number;
46
- export const definitionregionwrapper_contract: (a: number, b: number) => void;
46
+ export const definitionregionwrapper_contract: (a: number, b: number) => number;
47
47
  export const definitionregionwrapper_contracted: (a: number, b: number) => number;
48
48
  export const definitionregionwrapper_dimensions: (a: number) => any;
49
49
  export const definitionregionwrapper_excludeBlock: (a: number, b: number, c: number) => [number, number, number];
50
- export const definitionregionwrapper_expand: (a: number, b: number, c: number, d: number) => void;
50
+ export const definitionregionwrapper_expand: (a: number, b: number, c: number, d: number) => number;
51
51
  export const definitionregionwrapper_expanded: (a: number, b: number, c: number, d: number) => number;
52
52
  export const definitionregionwrapper_filterByBlock: (a: number, b: number, c: number, d: number) => number;
53
53
  export const definitionregionwrapper_filterByProperties: (a: number, b: number, c: any) => [number, number, number];
@@ -55,29 +55,30 @@ export const definitionregionwrapper_fromBoundingBoxes: (a: any) => [number, num
55
55
  export const definitionregionwrapper_fromBounds: (a: number, b: number) => number;
56
56
  export const definitionregionwrapper_fromPositions: (a: any) => [number, number, number];
57
57
  export const definitionregionwrapper_getAllMetadata: (a: number) => any;
58
+ export const definitionregionwrapper_getBlocks: (a: number) => [number, number, number];
58
59
  export const definitionregionwrapper_getBounds: (a: number) => any;
59
60
  export const definitionregionwrapper_getBox: (a: number, b: number) => any;
60
61
  export const definitionregionwrapper_getBoxes: (a: number) => any;
61
62
  export const definitionregionwrapper_getMetadata: (a: number, b: number, c: number) => any;
62
- export const definitionregionwrapper_intersect: (a: number, b: number) => void;
63
+ export const definitionregionwrapper_intersect: (a: number, b: number) => number;
63
64
  export const definitionregionwrapper_intersected: (a: number, b: number) => number;
64
65
  export const definitionregionwrapper_intersectsBounds: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => number;
65
66
  export const definitionregionwrapper_isContiguous: (a: number) => number;
66
67
  export const definitionregionwrapper_isEmpty: (a: number) => number;
67
- export const definitionregionwrapper_merge: (a: number, b: number) => void;
68
+ export const definitionregionwrapper_merge: (a: number, b: number) => number;
68
69
  export const definitionregionwrapper_metadataKeys: (a: number) => any;
69
70
  export const definitionregionwrapper_new: () => number;
70
71
  export const definitionregionwrapper_positions: (a: number) => any;
71
72
  export const definitionregionwrapper_positionsSorted: (a: number) => any;
72
73
  export const definitionregionwrapper_setColor: (a: number, b: number) => number;
73
74
  export const definitionregionwrapper_setMetadata: (a: number, b: number, c: number, d: number, e: number) => number;
74
- export const definitionregionwrapper_shift: (a: number, b: number, c: number, d: number) => void;
75
+ export const definitionregionwrapper_shift: (a: number, b: number, c: number, d: number) => number;
75
76
  export const definitionregionwrapper_shifted: (a: number, b: number, c: number, d: number) => number;
76
- export const definitionregionwrapper_simplify: (a: number) => void;
77
- export const definitionregionwrapper_subtract: (a: number, b: number) => void;
77
+ export const definitionregionwrapper_simplify: (a: number) => number;
78
+ export const definitionregionwrapper_subtract: (a: number, b: number) => number;
78
79
  export const definitionregionwrapper_subtracted: (a: number, b: number) => number;
79
80
  export const definitionregionwrapper_union: (a: number, b: number) => number;
80
- export const definitionregionwrapper_unionInto: (a: number, b: number) => void;
81
+ export const definitionregionwrapper_unionInto: (a: number, b: number) => number;
81
82
  export const definitionregionwrapper_volume: (a: number) => number;
82
83
  export const executionmodewrapper_fixedTicks: (a: number) => number;
83
84
  export const executionmodewrapper_untilChange: (a: number, b: number) => number;
@@ -5,7 +5,7 @@
5
5
  "Nano nano@schem.at"
6
6
  ],
7
7
  "description": "A high-performance Minecraft schematic parser and utility library",
8
- "version": "0.1.130",
8
+ "version": "0.1.132",
9
9
  "license": "AGPL-3.0-only",
10
10
  "repository": {
11
11
  "type": "git",
@@ -126,15 +126,17 @@ impl DefinitionRegionWrapper {
126
126
  }
127
127
 
128
128
  #[wasm_bindgen(js_name = addPoint)]
129
- pub fn add_point(&mut self, x: i32, y: i32, z: i32) {
129
+ pub fn add_point(mut self, x: i32, y: i32, z: i32) -> Self {
130
130
  self.inner.add_point(x, y, z);
131
131
  self.sync();
132
+ self
132
133
  }
133
134
 
134
135
  #[wasm_bindgen(js_name = merge)]
135
- pub fn merge(&mut self, other: &DefinitionRegionWrapper) {
136
+ pub fn merge(mut self, other: &DefinitionRegionWrapper) -> Self {
136
137
  self.inner.merge(&other.inner);
137
138
  self.sync();
139
+ self
138
140
  }
139
141
 
140
142
  #[wasm_bindgen(js_name = filterByBlock)]
@@ -151,6 +153,7 @@ impl DefinitionRegionWrapper {
151
153
  schematic_ptr: std::ptr::null_mut(),
152
154
  name: None,
153
155
  }
156
+
154
157
  }
155
158
 
156
159
  // ========================================================================
@@ -159,14 +162,18 @@ impl DefinitionRegionWrapper {
159
162
 
160
163
  /// Subtract another region from this one (removes points present in `other`)
161
164
  #[wasm_bindgen(js_name = subtract)]
162
- pub fn subtract(&mut self, other: &DefinitionRegionWrapper) {
165
+ pub fn subtract(mut self, other: &DefinitionRegionWrapper) -> Self {
163
166
  self.inner.subtract(&other.inner);
167
+ self.sync();
168
+ self
164
169
  }
165
170
 
166
171
  /// Keep only points present in both regions (intersection)
167
172
  #[wasm_bindgen(js_name = intersect)]
168
- pub fn intersect(&mut self, other: &DefinitionRegionWrapper) {
173
+ pub fn intersect(mut self, other: &DefinitionRegionWrapper) -> Self {
169
174
  self.inner.intersect(&other.inner);
175
+ self.sync();
176
+ self
170
177
  }
171
178
 
172
179
  /// Create a new region that is the union of this region and another
@@ -185,20 +192,26 @@ impl DefinitionRegionWrapper {
185
192
 
186
193
  /// Translate all boxes by the given offset
187
194
  #[wasm_bindgen(js_name = shift)]
188
- pub fn shift(&mut self, x: i32, y: i32, z: i32) {
195
+ pub fn shift(mut self, x: i32, y: i32, z: i32) -> Self {
189
196
  self.inner.shift(x, y, z);
197
+ self.sync();
198
+ self
190
199
  }
191
200
 
192
201
  /// Expand all boxes by the given amounts in each direction
193
202
  #[wasm_bindgen(js_name = expand)]
194
- pub fn expand(&mut self, x: i32, y: i32, z: i32) {
203
+ pub fn expand(mut self, x: i32, y: i32, z: i32) -> Self {
195
204
  self.inner.expand(x, y, z);
205
+ self.sync();
206
+ self
196
207
  }
197
208
 
198
209
  /// Contract all boxes by the given amount uniformly
199
210
  #[wasm_bindgen(js_name = contract)]
200
- pub fn contract(&mut self, amount: i32) {
211
+ pub fn contract(mut self, amount: i32) -> Self {
201
212
  self.inner.contract(amount);
213
+ self.sync();
214
+ self
202
215
  }
203
216
 
204
217
  /// Get the overall bounding box encompassing all boxes in this region
@@ -361,19 +374,23 @@ impl DefinitionRegionWrapper {
361
374
  name: None,
362
375
  }
363
376
  }
364
-
365
377
  /// Add all points from another region to this one (mutating union)
366
378
  #[wasm_bindgen(js_name = unionInto)]
367
- pub fn union_into(&mut self, other: &DefinitionRegionWrapper) {
379
+ pub fn union_into(mut self, other: &DefinitionRegionWrapper) -> Self {
368
380
  self.inner.union_into(&other.inner);
381
+ self.sync();
382
+ self
369
383
  }
370
384
 
371
385
  /// Simplify the region by merging adjacent/overlapping boxes
372
386
  #[wasm_bindgen(js_name = simplify)]
373
- pub fn simplify(&mut self) {
387
+ pub fn simplify(mut self) -> Self {
374
388
  self.inner.simplify();
389
+ self.sync();
390
+ self
375
391
  }
376
392
 
393
+
377
394
  // ========================================================================
378
395
  // Box Access (for Rendering)
379
396
  // ========================================================================
@@ -698,6 +715,31 @@ impl DefinitionRegionWrapper {
698
715
  pub fn clone_region(&self) -> DefinitionRegionWrapper {
699
716
  self.copy()
700
717
  }
718
+
719
+ #[wasm_bindgen(js_name = getBlocks)]
720
+ pub fn get_blocks(&self) -> Result<Array, JsValue> {
721
+ if self.schematic_ptr.is_null() {
722
+ return Err(JsValue::from_str("Region is not attached to a schematic"));
723
+ }
724
+
725
+ let sch = unsafe { &*self.schematic_ptr };
726
+ let arr = Array::new();
727
+
728
+ for (x, y, z) in self.inner.iter_positions() {
729
+ let obj = Object::new();
730
+ Reflect::set(&obj, &"x".into(), &JsValue::from(x))?;
731
+ Reflect::set(&obj, &"y".into(), &JsValue::from(y))?;
732
+ Reflect::set(&obj, &"z".into(), &JsValue::from(z))?;
733
+
734
+ if let Some(block) = sch.get_block(x, y, z) {
735
+ Reflect::set(&obj, &"block".into(), &JsValue::from(block.name.clone()))?;
736
+ }
737
+
738
+ arr.push(&obj);
739
+ }
740
+
741
+ Ok(arr)
742
+ }
701
743
  }
702
744
 
703
745
  impl Default for DefinitionRegionWrapper {