nucleation 0.1.98 → 0.1.99
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/nucleation-original.js +4 -4
- package/nucleation.d.ts +9 -9
- package/nucleation_bg.wasm +0 -0
- package/package.json +1 -1
package/nucleation-original.js
CHANGED
|
@@ -243,10 +243,6 @@ export function debug_schematic(schematic) {
|
|
|
243
243
|
}
|
|
244
244
|
}
|
|
245
245
|
|
|
246
|
-
export function start() {
|
|
247
|
-
wasm.start();
|
|
248
|
-
}
|
|
249
|
-
|
|
250
246
|
/**
|
|
251
247
|
* @param {SchematicWrapper} schematic
|
|
252
248
|
* @returns {string}
|
|
@@ -265,6 +261,10 @@ export function debug_json_schematic(schematic) {
|
|
|
265
261
|
}
|
|
266
262
|
}
|
|
267
263
|
|
|
264
|
+
export function start() {
|
|
265
|
+
wasm.start();
|
|
266
|
+
}
|
|
267
|
+
|
|
268
268
|
const BlockPositionFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
269
269
|
? { register: () => {}, unregister: () => {} }
|
|
270
270
|
: new FinalizationRegistry(ptr => wasm.__wbg_blockposition_free(ptr >>> 0, 1));
|
package/nucleation.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
export function debug_schematic(schematic: SchematicWrapper): string;
|
|
4
|
-
export function start(): void;
|
|
5
4
|
export function debug_json_schematic(schematic: SchematicWrapper): string;
|
|
5
|
+
export function start(): void;
|
|
6
6
|
export class BlockPosition {
|
|
7
7
|
free(): void;
|
|
8
8
|
[Symbol.dispose](): void;
|
|
@@ -298,14 +298,6 @@ export type InitInput = RequestInfo | URL | Response | BufferSource | WebAssembl
|
|
|
298
298
|
|
|
299
299
|
export interface InitOutput {
|
|
300
300
|
readonly memory: WebAssembly.Memory;
|
|
301
|
-
readonly __wbg_blockposition_free: (a: number, b: number) => void;
|
|
302
|
-
readonly __wbg_get_blockposition_x: (a: number) => number;
|
|
303
|
-
readonly __wbg_get_blockposition_y: (a: number) => number;
|
|
304
|
-
readonly __wbg_get_blockposition_z: (a: number) => number;
|
|
305
|
-
readonly __wbg_set_blockposition_x: (a: number, b: number) => void;
|
|
306
|
-
readonly __wbg_set_blockposition_y: (a: number, b: number) => void;
|
|
307
|
-
readonly __wbg_set_blockposition_z: (a: number, b: number) => void;
|
|
308
|
-
readonly blockposition_new: (a: number, b: number, c: number) => number;
|
|
309
301
|
readonly __wbg_blockstatewrapper_free: (a: number, b: number) => void;
|
|
310
302
|
readonly __wbg_lazychunkiterator_free: (a: number, b: number) => void;
|
|
311
303
|
readonly __wbg_mchprsworldwrapper_free: (a: number, b: number) => void;
|
|
@@ -408,6 +400,14 @@ export interface InitOutput {
|
|
|
408
400
|
readonly schematicwrapper_create_simulation_world_with_options: (a: number, b: number) => [number, number, number];
|
|
409
401
|
readonly schematicwrapper_create_simulation_world: (a: number) => [number, number, number];
|
|
410
402
|
readonly start: () => void;
|
|
403
|
+
readonly __wbg_blockposition_free: (a: number, b: number) => void;
|
|
404
|
+
readonly __wbg_get_blockposition_x: (a: number) => number;
|
|
405
|
+
readonly __wbg_get_blockposition_y: (a: number) => number;
|
|
406
|
+
readonly __wbg_get_blockposition_z: (a: number) => number;
|
|
407
|
+
readonly __wbg_set_blockposition_x: (a: number, b: number) => void;
|
|
408
|
+
readonly __wbg_set_blockposition_y: (a: number, b: number) => void;
|
|
409
|
+
readonly __wbg_set_blockposition_z: (a: number, b: number) => void;
|
|
410
|
+
readonly blockposition_new: (a: number, b: number, c: number) => number;
|
|
411
411
|
readonly __wbindgen_malloc: (a: number, b: number) => number;
|
|
412
412
|
readonly __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
|
|
413
413
|
readonly __wbindgen_exn_store: (a: number) => void;
|
package/nucleation_bg.wasm
CHANGED
|
Binary file
|