@serenityjs/core 0.7.2 → 0.7.3-beta-20250212032210

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.7.3-beta-20250212032210
4
+
5
+ ### Patch Changes
6
+
7
+ - [`92dd472`](https://github.com/SerenityJS/serenity/commit/92dd4727ea702cf5d8c8b5a99c779f5b8f5f0979) Thanks [@PMK744](https://github.com/PMK744)! - init v0.7.3-beta
8
+
9
+ - Updated dependencies [[`92dd472`](https://github.com/SerenityJS/serenity/commit/92dd4727ea702cf5d8c8b5a99c779f5b8f5f0979)]:
10
+ - @serenityjs/data@0.7.3-beta-20250212032210
11
+ - @serenityjs/emitter@0.7.3-beta-20250212032210
12
+ - @serenityjs/logger@0.7.3-beta-20250212032210
13
+ - @serenityjs/nbt@0.7.3-beta-20250212032210
14
+ - @serenityjs/protocol@0.7.3-beta-20250212032210
15
+ - @serenityjs/raknet@0.7.3-beta-20250212032210
16
+
3
17
  ## 0.7.2
4
18
 
5
19
  ### Patch Changes
package/dist/index.d.mts CHANGED
@@ -7700,7 +7700,7 @@ declare class BlockPermutation<T extends keyof BlockState = keyof BlockState> {
7700
7700
  * @param type The block type of the block permutation.
7701
7701
  * @param state The state of the block permutation.
7702
7702
  */
7703
- static create(type: BlockType, state?: GenericBlockState, components?: Partial<BlockTypeComponentCollection>): BlockPermutation;
7703
+ static create(type: BlockType, state?: GenericBlockState, components?: Partial<BlockTypeComponentCollection>, query?: string): BlockPermutation;
7704
7704
  static toNbt(permutation: BlockPermutation): CompoundTag<unknown>;
7705
7705
  static fromNbt(nbt: CompoundTag<unknown>): BlockPermutation;
7706
7706
  protected static getTagType(value: unknown): TagType;
@@ -8132,9 +8132,10 @@ declare class CustomBlockType extends BlockType {
8132
8132
  * Creates a new block permutation for the block type.
8133
8133
  * @param state The state of the block. `{ [key: string]: string | number | boolean }`
8134
8134
  * @param components The components of the block permutation.
8135
+ * @param query The molang query for the block permutation. If not provided, the query will be generated from the state.
8135
8136
  * @returns The block permutation that was created using the state definition.
8136
8137
  */
8137
- createPermutation(state: GenericBlockState, components?: Partial<BlockTypeComponentCollection>): BlockPermutation;
8138
+ createPermutation(state: GenericBlockState, components?: Partial<BlockTypeComponentCollection>, query?: string): BlockPermutation;
8138
8139
  }
8139
8140
 
8140
8141
  declare class Trait {
package/dist/index.d.ts CHANGED
@@ -7700,7 +7700,7 @@ declare class BlockPermutation<T extends keyof BlockState = keyof BlockState> {
7700
7700
  * @param type The block type of the block permutation.
7701
7701
  * @param state The state of the block permutation.
7702
7702
  */
7703
- static create(type: BlockType, state?: GenericBlockState, components?: Partial<BlockTypeComponentCollection>): BlockPermutation;
7703
+ static create(type: BlockType, state?: GenericBlockState, components?: Partial<BlockTypeComponentCollection>, query?: string): BlockPermutation;
7704
7704
  static toNbt(permutation: BlockPermutation): CompoundTag<unknown>;
7705
7705
  static fromNbt(nbt: CompoundTag<unknown>): BlockPermutation;
7706
7706
  protected static getTagType(value: unknown): TagType;
@@ -8132,9 +8132,10 @@ declare class CustomBlockType extends BlockType {
8132
8132
  * Creates a new block permutation for the block type.
8133
8133
  * @param state The state of the block. `{ [key: string]: string | number | boolean }`
8134
8134
  * @param components The components of the block permutation.
8135
+ * @param query The molang query for the block permutation. If not provided, the query will be generated from the state.
8135
8136
  * @returns The block permutation that was created using the state definition.
8136
8137
  */
8137
- createPermutation(state: GenericBlockState, components?: Partial<BlockTypeComponentCollection>): BlockPermutation;
8138
+ createPermutation(state: GenericBlockState, components?: Partial<BlockTypeComponentCollection>, query?: string): BlockPermutation;
8138
8139
  }
8139
8140
 
8140
8141
  declare class Trait {