nucleation 0.12.2 → 0.12.4

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.
@@ -471,7 +471,8 @@ export class TickSimulation {
471
471
  * Live item entities and minecarts, as JSON:
472
472
  * `{"items":[{"id":N,"item":"...","count":N,"pos":[..],"vel":[..],
473
473
  * "on_ground":bool,"contents":[{"id":"...","count":N}]}],
474
- * "minecarts":[{"id":N,"kind":"...","pos":[..],"vel":[..]}]}`.
474
+ * "minecarts":[{"id":N,"kind":"...","pos":[..],"vel":[..],"yaw":N}]}`.
475
+ * Cart yaw is the engine's polar XZ angle in degrees (0 = +X, 90 = +Z).
475
476
  */
476
477
  itemEntitiesJson(): string;
477
478
 
@@ -471,7 +471,8 @@ export class TickSimulation {
471
471
  * Live item entities and minecarts, as JSON:
472
472
  * `{"items":[{"id":N,"item":"...","count":N,"pos":[..],"vel":[..],
473
473
  * "on_ground":bool,"contents":[{"id":"...","count":N}]}],
474
- * "minecarts":[{"id":N,"kind":"...","pos":[..],"vel":[..]}]}`.
474
+ * "minecarts":[{"id":N,"kind":"...","pos":[..],"vel":[..],"yaw":N}]}`.
475
+ * Cart yaw is the engine's polar XZ angle in degrees (0 = +X, 90 = +Z).
475
476
  */
476
477
  itemEntitiesJson(): string;
477
478
 
@@ -1036,7 +1036,8 @@ export class TickSimulation {
1036
1036
  * Live item entities and minecarts, as JSON:
1037
1037
  * `{"items":[{"id":N,"item":"...","count":N,"pos":[..],"vel":[..],
1038
1038
  * "on_ground":bool,"contents":[{"id":"...","count":N}]}],
1039
- * "minecarts":[{"id":N,"kind":"...","pos":[..],"vel":[..]}]}`.
1039
+ * "minecarts":[{"id":N,"kind":"...","pos":[..],"vel":[..],"yaw":N}]}`.
1040
+ * Cart yaw is the engine's polar XZ angle in degrees (0 = +X, 90 = +Z).
1040
1041
  */
1041
1042
  itemEntitiesJson() {
1042
1043
  const write = new diplomatRuntime.DiplomatWriteBuf(wasm);
package/nucleation.wasm CHANGED
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nucleation",
3
- "version": "0.12.2",
3
+ "version": "0.12.4",
4
4
  "description": "A high-performance Minecraft schematic parser and utility library",
5
5
  "type": "module",
6
6
  "main": "index.mjs",
@@ -471,7 +471,8 @@ export class TickSimulation {
471
471
  * Live item entities and minecarts, as JSON:
472
472
  * `{"items":[{"id":N,"item":"...","count":N,"pos":[..],"vel":[..],
473
473
  * "on_ground":bool,"contents":[{"id":"...","count":N}]}],
474
- * "minecarts":[{"id":N,"kind":"...","pos":[..],"vel":[..]}]}`.
474
+ * "minecarts":[{"id":N,"kind":"...","pos":[..],"vel":[..],"yaw":N}]}`.
475
+ * Cart yaw is the engine's polar XZ angle in degrees (0 = +X, 90 = +Z).
475
476
  */
476
477
  itemEntitiesJson(): string;
477
478
 
@@ -471,7 +471,8 @@ export class TickSimulation {
471
471
  * Live item entities and minecarts, as JSON:
472
472
  * `{"items":[{"id":N,"item":"...","count":N,"pos":[..],"vel":[..],
473
473
  * "on_ground":bool,"contents":[{"id":"...","count":N}]}],
474
- * "minecarts":[{"id":N,"kind":"...","pos":[..],"vel":[..]}]}`.
474
+ * "minecarts":[{"id":N,"kind":"...","pos":[..],"vel":[..],"yaw":N}]}`.
475
+ * Cart yaw is the engine's polar XZ angle in degrees (0 = +X, 90 = +Z).
475
476
  */
476
477
  itemEntitiesJson(): string;
477
478
 
@@ -1036,7 +1036,8 @@ export class TickSimulation {
1036
1036
  * Live item entities and minecarts, as JSON:
1037
1037
  * `{"items":[{"id":N,"item":"...","count":N,"pos":[..],"vel":[..],
1038
1038
  * "on_ground":bool,"contents":[{"id":"...","count":N}]}],
1039
- * "minecarts":[{"id":N,"kind":"...","pos":[..],"vel":[..]}]}`.
1039
+ * "minecarts":[{"id":N,"kind":"...","pos":[..],"vel":[..],"yaw":N}]}`.
1040
+ * Cart yaw is the engine's polar XZ angle in degrees (0 = +X, 90 = +Z).
1040
1041
  */
1041
1042
  itemEntitiesJson() {
1042
1043
  const write = new diplomatRuntime.DiplomatWriteBuf(wasm);
Binary file