@serenityjs/protocol 0.6.4 → 0.7.0-beta-20241221060126
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 +12 -0
- package/dist/index.d.mts +14 -14
- package/dist/index.d.ts +14 -14
- package/dist/index.js +1 -1
- package/dist/index.mjs +3 -3
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @serenityjs/protocol
|
|
2
2
|
|
|
3
|
+
## 0.7.0-beta-20241221060126
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [`b857e0a`](https://github.com/SerenityJS/serenity/commit/b857e0a36e4a9be1684ac4f13ce1688611dd363b) Thanks [@PMK744](https://github.com/PMK744)! - init 0.7.0-beta
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- Updated dependencies [[`b857e0a`](https://github.com/SerenityJS/serenity/commit/b857e0a36e4a9be1684ac4f13ce1688611dd363b)]:
|
|
12
|
+
- @serenityjs/raknet@0.7.0-beta-20241221060126
|
|
13
|
+
- @serenityjs/nbt@0.7.0-beta-20241221060126
|
|
14
|
+
|
|
3
15
|
## 0.6.4
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
package/dist/index.d.mts
CHANGED
|
@@ -2450,7 +2450,7 @@ interface IPosition {
|
|
|
2450
2450
|
z: number;
|
|
2451
2451
|
}
|
|
2452
2452
|
|
|
2453
|
-
|
|
2453
|
+
interface LegacyTelemetryEventData {
|
|
2454
2454
|
AchievementAwarded: {
|
|
2455
2455
|
achievementId: number;
|
|
2456
2456
|
};
|
|
@@ -2568,18 +2568,18 @@ type LegacyTelemetryEventData = {
|
|
|
2568
2568
|
useMethod: number;
|
|
2569
2569
|
useCount: number;
|
|
2570
2570
|
};
|
|
2571
|
-
}
|
|
2571
|
+
}
|
|
2572
2572
|
|
|
2573
|
-
|
|
2573
|
+
interface TrimDataPattern {
|
|
2574
2574
|
item_name: string;
|
|
2575
2575
|
pattern: string;
|
|
2576
|
-
}
|
|
2576
|
+
}
|
|
2577
2577
|
|
|
2578
|
-
|
|
2578
|
+
interface TrimDataMaterial {
|
|
2579
2579
|
material: string;
|
|
2580
2580
|
color: string;
|
|
2581
2581
|
item_name: string;
|
|
2582
|
-
}
|
|
2582
|
+
}
|
|
2583
2583
|
|
|
2584
2584
|
declare enum UnlockedRecipesType {
|
|
2585
2585
|
EMPTY = 0,
|
|
@@ -5541,8 +5541,8 @@ declare class RotationByte extends DataType {
|
|
|
5541
5541
|
}
|
|
5542
5542
|
|
|
5543
5543
|
declare class Fogs extends DataType {
|
|
5544
|
-
fogs: string
|
|
5545
|
-
constructor(fogs?: string
|
|
5544
|
+
fogs: Array<string>;
|
|
5545
|
+
constructor(fogs?: Array<string>);
|
|
5546
5546
|
static read(stream: BinaryStream): Fogs;
|
|
5547
5547
|
static write(stream: BinaryStream, value: Fogs): void;
|
|
5548
5548
|
}
|
|
@@ -5555,23 +5555,23 @@ declare class NbtLoop extends DataType {
|
|
|
5555
5555
|
}
|
|
5556
5556
|
|
|
5557
5557
|
declare class Patterns extends DataType {
|
|
5558
|
-
patterns: TrimDataPattern
|
|
5559
|
-
constructor(patterns?: TrimDataPattern
|
|
5558
|
+
patterns: Array<TrimDataPattern>;
|
|
5559
|
+
constructor(patterns?: Array<TrimDataPattern>);
|
|
5560
5560
|
static read(stream: BinaryStream): Patterns;
|
|
5561
5561
|
static write(stream: BinaryStream, value: Patterns): void;
|
|
5562
5562
|
}
|
|
5563
5563
|
|
|
5564
5564
|
declare class Materials extends DataType {
|
|
5565
|
-
materials: TrimDataMaterial
|
|
5566
|
-
constructor(materials?: TrimDataMaterial
|
|
5565
|
+
materials: Array<TrimDataMaterial>;
|
|
5566
|
+
constructor(materials?: Array<TrimDataMaterial>);
|
|
5567
5567
|
static read(stream: BinaryStream): Materials;
|
|
5568
5568
|
static write(stream: BinaryStream, value: Materials): void;
|
|
5569
5569
|
}
|
|
5570
5570
|
|
|
5571
5571
|
declare class UnlockedRecipesEntry extends DataType {
|
|
5572
5572
|
type: UnlockedRecipesType;
|
|
5573
|
-
recipes: string
|
|
5574
|
-
constructor(type: UnlockedRecipesType, recipes: string
|
|
5573
|
+
recipes: Array<string>;
|
|
5574
|
+
constructor(type: UnlockedRecipesType, recipes: Array<string>);
|
|
5575
5575
|
static write(stream: BinaryStream, value: UnlockedRecipesEntry): void;
|
|
5576
5576
|
static read(stream: BinaryStream): UnlockedRecipesEntry;
|
|
5577
5577
|
}
|
package/dist/index.d.ts
CHANGED
|
@@ -2450,7 +2450,7 @@ interface IPosition {
|
|
|
2450
2450
|
z: number;
|
|
2451
2451
|
}
|
|
2452
2452
|
|
|
2453
|
-
|
|
2453
|
+
interface LegacyTelemetryEventData {
|
|
2454
2454
|
AchievementAwarded: {
|
|
2455
2455
|
achievementId: number;
|
|
2456
2456
|
};
|
|
@@ -2568,18 +2568,18 @@ type LegacyTelemetryEventData = {
|
|
|
2568
2568
|
useMethod: number;
|
|
2569
2569
|
useCount: number;
|
|
2570
2570
|
};
|
|
2571
|
-
}
|
|
2571
|
+
}
|
|
2572
2572
|
|
|
2573
|
-
|
|
2573
|
+
interface TrimDataPattern {
|
|
2574
2574
|
item_name: string;
|
|
2575
2575
|
pattern: string;
|
|
2576
|
-
}
|
|
2576
|
+
}
|
|
2577
2577
|
|
|
2578
|
-
|
|
2578
|
+
interface TrimDataMaterial {
|
|
2579
2579
|
material: string;
|
|
2580
2580
|
color: string;
|
|
2581
2581
|
item_name: string;
|
|
2582
|
-
}
|
|
2582
|
+
}
|
|
2583
2583
|
|
|
2584
2584
|
declare enum UnlockedRecipesType {
|
|
2585
2585
|
EMPTY = 0,
|
|
@@ -5541,8 +5541,8 @@ declare class RotationByte extends DataType {
|
|
|
5541
5541
|
}
|
|
5542
5542
|
|
|
5543
5543
|
declare class Fogs extends DataType {
|
|
5544
|
-
fogs: string
|
|
5545
|
-
constructor(fogs?: string
|
|
5544
|
+
fogs: Array<string>;
|
|
5545
|
+
constructor(fogs?: Array<string>);
|
|
5546
5546
|
static read(stream: BinaryStream): Fogs;
|
|
5547
5547
|
static write(stream: BinaryStream, value: Fogs): void;
|
|
5548
5548
|
}
|
|
@@ -5555,23 +5555,23 @@ declare class NbtLoop extends DataType {
|
|
|
5555
5555
|
}
|
|
5556
5556
|
|
|
5557
5557
|
declare class Patterns extends DataType {
|
|
5558
|
-
patterns: TrimDataPattern
|
|
5559
|
-
constructor(patterns?: TrimDataPattern
|
|
5558
|
+
patterns: Array<TrimDataPattern>;
|
|
5559
|
+
constructor(patterns?: Array<TrimDataPattern>);
|
|
5560
5560
|
static read(stream: BinaryStream): Patterns;
|
|
5561
5561
|
static write(stream: BinaryStream, value: Patterns): void;
|
|
5562
5562
|
}
|
|
5563
5563
|
|
|
5564
5564
|
declare class Materials extends DataType {
|
|
5565
|
-
materials: TrimDataMaterial
|
|
5566
|
-
constructor(materials?: TrimDataMaterial
|
|
5565
|
+
materials: Array<TrimDataMaterial>;
|
|
5566
|
+
constructor(materials?: Array<TrimDataMaterial>);
|
|
5567
5567
|
static read(stream: BinaryStream): Materials;
|
|
5568
5568
|
static write(stream: BinaryStream, value: Materials): void;
|
|
5569
5569
|
}
|
|
5570
5570
|
|
|
5571
5571
|
declare class UnlockedRecipesEntry extends DataType {
|
|
5572
5572
|
type: UnlockedRecipesType;
|
|
5573
|
-
recipes: string
|
|
5574
|
-
constructor(type: UnlockedRecipesType, recipes: string
|
|
5573
|
+
recipes: Array<string>;
|
|
5574
|
+
constructor(type: UnlockedRecipesType, recipes: Array<string>);
|
|
5575
5575
|
static write(stream: BinaryStream, value: UnlockedRecipesEntry): void;
|
|
5576
5576
|
static read(stream: BinaryStream): UnlockedRecipesEntry;
|
|
5577
5577
|
}
|