@serenityjs/core 0.8.5 → 0.8.6-beta-20250618184233

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/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # @serenityjs/core
2
2
 
3
+ ## 0.8.6-beta-20250618184233
4
+
5
+ ### Patch Changes
6
+
7
+ - [`97946e1`](https://github.com/SerenityJS/serenity/commit/97946e147082d9eb9d482eae2be3b1767f9f6450) Thanks [@PMK744](https://github.com/PMK744)! - init v0.8.6-beta
8
+
9
+ - Updated dependencies [[`97946e1`](https://github.com/SerenityJS/serenity/commit/97946e147082d9eb9d482eae2be3b1767f9f6450)]:
10
+ - @serenityjs/data@0.8.6-beta-20250618184233
11
+ - @serenityjs/emitter@0.8.6-beta-20250618184233
12
+ - @serenityjs/logger@0.8.6-beta-20250618184233
13
+ - @serenityjs/nbt@0.8.6-beta-20250618184233
14
+ - @serenityjs/protocol@0.8.6-beta-20250618184233
15
+ - @serenityjs/raknet@0.8.6-beta-20250618184233
16
+
3
17
  ## 0.8.5
4
18
 
5
19
  ### Patch Changes
package/dist/index.d.mts CHANGED
@@ -7891,6 +7891,11 @@ declare class BlockPermutation<T extends keyof BlockState = keyof BlockState> {
7891
7891
  * These components will override any global components of the block type.
7892
7892
  */
7893
7893
  readonly components: BlockTypeComponentCollection;
7894
+ /**
7895
+ * Additional nbt data for the block permutation.
7896
+ * This data is applied to the block when it is placed in the world.
7897
+ */
7898
+ readonly nbt: CompoundTag;
7894
7899
  /**
7895
7900
  * Whether the block permutation is component based.
7896
7901
  * This is determined by the presence of any components in the block permutation.
@@ -10265,6 +10270,7 @@ declare class NbtMap extends CompoundTag {
10265
10270
  constructor(block: Block);
10266
10271
  get<T extends BaseTag>(key: string): T | undefined;
10267
10272
  add<T extends BaseTag>(tag: T): T;
10273
+ push<T extends BaseTag>(...tags: Array<T>): this;
10268
10274
  set<T extends BaseTag>(key: string, value: T): this;
10269
10275
  delete(key: string): boolean;
10270
10276
  clear(): void;
package/dist/index.d.ts CHANGED
@@ -7891,6 +7891,11 @@ declare class BlockPermutation<T extends keyof BlockState = keyof BlockState> {
7891
7891
  * These components will override any global components of the block type.
7892
7892
  */
7893
7893
  readonly components: BlockTypeComponentCollection;
7894
+ /**
7895
+ * Additional nbt data for the block permutation.
7896
+ * This data is applied to the block when it is placed in the world.
7897
+ */
7898
+ readonly nbt: CompoundTag;
7894
7899
  /**
7895
7900
  * Whether the block permutation is component based.
7896
7901
  * This is determined by the presence of any components in the block permutation.
@@ -10265,6 +10270,7 @@ declare class NbtMap extends CompoundTag {
10265
10270
  constructor(block: Block);
10266
10271
  get<T extends BaseTag>(key: string): T | undefined;
10267
10272
  add<T extends BaseTag>(tag: T): T;
10273
+ push<T extends BaseTag>(...tags: Array<T>): this;
10268
10274
  set<T extends BaseTag>(key: string, value: T): this;
10269
10275
  delete(key: string): boolean;
10270
10276
  clear(): void;