@serenityjs/protocol 0.6.1 → 0.6.2-beta-20241121003341
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 +10 -0
- package/dist/index.d.mts +10 -0
- package/dist/index.d.ts +10 -0
- package/dist/index.js +3 -3
- package/dist/index.mjs +3 -3
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
# @serenityjs/protocol
|
|
2
2
|
|
|
3
|
+
## 0.6.2-beta-20241121003341
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`1e59642`](https://github.com/SerenityJS/serenity/commit/1e5964208aab0a356b1cb49ac8c6c40e2110d48f) Thanks [@PMK744](https://github.com/PMK744)! - init v0.6.2-beta
|
|
8
|
+
|
|
9
|
+
- Updated dependencies [[`1e59642`](https://github.com/SerenityJS/serenity/commit/1e5964208aab0a356b1cb49ac8c6c40e2110d48f)]:
|
|
10
|
+
- @serenityjs/raknet@0.6.2-beta-20241121003341
|
|
11
|
+
- @serenityjs/nbt@0.6.2-beta-20241121003341
|
|
12
|
+
|
|
3
13
|
## 0.6.1
|
|
4
14
|
|
|
5
15
|
### Patch Changes
|
package/dist/index.d.mts
CHANGED
|
@@ -3375,6 +3375,16 @@ declare class Attribute extends DataType {
|
|
|
3375
3375
|
constructor(min: number, max: number, current: number, defaultMin: number, defaultMax: number, default_: number, name: AttributeName, modifiers: Array<AttributeModifier>);
|
|
3376
3376
|
static read(stream: BinaryStream): Array<Attribute>;
|
|
3377
3377
|
static write(stream: BinaryStream, value: Array<Attribute>): void;
|
|
3378
|
+
/**
|
|
3379
|
+
* Creates a new instance of Attribute.
|
|
3380
|
+
* @param name The name of the attribute.
|
|
3381
|
+
* @param minimumValue The minimum value of the attribute.
|
|
3382
|
+
* @param maximumValue The maximum value of the attribute.
|
|
3383
|
+
* @param current The current value of the attribute.
|
|
3384
|
+
* @param defaultValue The default value of the attribute.
|
|
3385
|
+
* @returns A new instance of Attribute.
|
|
3386
|
+
*/
|
|
3387
|
+
static create(name: AttributeName, minimumValue: number, maximumValue: number, current?: number, defaultValue?: number): Attribute;
|
|
3378
3388
|
}
|
|
3379
3389
|
|
|
3380
3390
|
declare class ChunkCoords extends DataType {
|
package/dist/index.d.ts
CHANGED
|
@@ -3375,6 +3375,16 @@ declare class Attribute extends DataType {
|
|
|
3375
3375
|
constructor(min: number, max: number, current: number, defaultMin: number, defaultMax: number, default_: number, name: AttributeName, modifiers: Array<AttributeModifier>);
|
|
3376
3376
|
static read(stream: BinaryStream): Array<Attribute>;
|
|
3377
3377
|
static write(stream: BinaryStream, value: Array<Attribute>): void;
|
|
3378
|
+
/**
|
|
3379
|
+
* Creates a new instance of Attribute.
|
|
3380
|
+
* @param name The name of the attribute.
|
|
3381
|
+
* @param minimumValue The minimum value of the attribute.
|
|
3382
|
+
* @param maximumValue The maximum value of the attribute.
|
|
3383
|
+
* @param current The current value of the attribute.
|
|
3384
|
+
* @param defaultValue The default value of the attribute.
|
|
3385
|
+
* @returns A new instance of Attribute.
|
|
3386
|
+
*/
|
|
3387
|
+
static create(name: AttributeName, minimumValue: number, maximumValue: number, current?: number, defaultValue?: number): Attribute;
|
|
3378
3388
|
}
|
|
3379
3389
|
|
|
3380
3390
|
declare class ChunkCoords extends DataType {
|