@minecraft/server 2.9.0-beta.1.26.30-preview.27 → 2.9.0-beta.1.26.30-preview.30
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/index.d.ts +500 -67
- package/package.json +2 -2
package/index.d.ts
CHANGED
|
@@ -47,6 +47,10 @@ export enum AimAssistTargetMode {
|
|
|
47
47
|
* function Block.getComponent.
|
|
48
48
|
*/
|
|
49
49
|
export enum BlockComponentTypes {
|
|
50
|
+
/**
|
|
51
|
+
* @beta
|
|
52
|
+
*/
|
|
53
|
+
DynamicProperties = 'minecraft:dynamic_properties',
|
|
50
54
|
FluidContainer = 'minecraft:fluid_container',
|
|
51
55
|
/**
|
|
52
56
|
* @remarks
|
|
@@ -1145,6 +1149,15 @@ export enum EntityComponentTypes {
|
|
|
1145
1149
|
*
|
|
1146
1150
|
*/
|
|
1147
1151
|
Exhaustion = 'minecraft:player.exhaustion',
|
|
1152
|
+
/**
|
|
1153
|
+
* @beta
|
|
1154
|
+
* @remarks
|
|
1155
|
+
* Use this component to access and manipulate the fog
|
|
1156
|
+
* definitions stack of a player. This is only available on
|
|
1157
|
+
* players.
|
|
1158
|
+
*
|
|
1159
|
+
*/
|
|
1160
|
+
Fog = 'minecraft:player.fog',
|
|
1148
1161
|
/**
|
|
1149
1162
|
* @remarks
|
|
1150
1163
|
* Use this component to read the hunger of a player. This is
|
|
@@ -1503,7 +1516,7 @@ export enum EntityHealCause {
|
|
|
1503
1516
|
*/
|
|
1504
1517
|
SelfHeal = 'SelfHeal',
|
|
1505
1518
|
/**
|
|
1506
|
-
* @
|
|
1519
|
+
* @rc
|
|
1507
1520
|
* @remarks
|
|
1508
1521
|
* Healing caused when Totem of Undying is activated.
|
|
1509
1522
|
*
|
|
@@ -2346,7 +2359,7 @@ export enum LiquidType {
|
|
|
2346
2359
|
}
|
|
2347
2360
|
|
|
2348
2361
|
/**
|
|
2349
|
-
* @
|
|
2362
|
+
* @rc
|
|
2350
2363
|
* Enum representing the different reasons why a locator bar
|
|
2351
2364
|
* operation may fail.
|
|
2352
2365
|
*/
|
|
@@ -3049,7 +3062,7 @@ export enum WatchdogTerminateReason {
|
|
|
3049
3062
|
}
|
|
3050
3063
|
|
|
3051
3064
|
/**
|
|
3052
|
-
* @
|
|
3065
|
+
* @rc
|
|
3053
3066
|
* Enum representing different texture icons that can be
|
|
3054
3067
|
* displayed for waypoints on the locator bar.
|
|
3055
3068
|
*/
|
|
@@ -3110,9 +3123,11 @@ export type BlockComponentReturnType<T extends string> = T extends keyof BlockCo
|
|
|
3110
3123
|
: BlockCustomComponentInstance;
|
|
3111
3124
|
|
|
3112
3125
|
export type BlockComponentTypeMap = {
|
|
3126
|
+
dynamic_properties: BlockDynamicPropertiesComponent;
|
|
3113
3127
|
fluid_container: BlockFluidContainerComponent;
|
|
3114
3128
|
inventory: BlockInventoryComponent;
|
|
3115
3129
|
map_color: BlockMapColorComponent;
|
|
3130
|
+
'minecraft:dynamic_properties': BlockDynamicPropertiesComponent;
|
|
3116
3131
|
'minecraft:fluid_container': BlockFluidContainerComponent;
|
|
3117
3132
|
'minecraft:inventory': BlockInventoryComponent;
|
|
3118
3133
|
'minecraft:map_color': BlockMapColorComponent;
|
|
@@ -3236,6 +3251,7 @@ export type EntityComponentTypeMap = {
|
|
|
3236
3251
|
'minecraft:npc': EntityNpcComponent;
|
|
3237
3252
|
'minecraft:onfire': EntityOnFireComponent;
|
|
3238
3253
|
'minecraft:player.exhaustion': EntityExhaustionComponent;
|
|
3254
|
+
'minecraft:player.fog': EntityFogComponent;
|
|
3239
3255
|
'minecraft:player.hunger': EntityHungerComponent;
|
|
3240
3256
|
'minecraft:player.saturation': EntitySaturationComponent;
|
|
3241
3257
|
'minecraft:projectile': EntityProjectileComponent;
|
|
@@ -3270,6 +3286,7 @@ export type EntityComponentTypeMap = {
|
|
|
3270
3286
|
npc: EntityNpcComponent;
|
|
3271
3287
|
onfire: EntityOnFireComponent;
|
|
3272
3288
|
'player.exhaustion': EntityExhaustionComponent;
|
|
3289
|
+
'player.fog': EntityFogComponent;
|
|
3273
3290
|
'player.hunger': EntityHungerComponent;
|
|
3274
3291
|
'player.saturation': EntitySaturationComponent;
|
|
3275
3292
|
projectile: EntityProjectileComponent;
|
|
@@ -4789,7 +4806,7 @@ export class BlockComponentBlockBreakEvent extends BlockEvent {
|
|
|
4789
4806
|
}
|
|
4790
4807
|
|
|
4791
4808
|
/**
|
|
4792
|
-
* @
|
|
4809
|
+
* @rc
|
|
4793
4810
|
* Contains information regarding a specific block permutation
|
|
4794
4811
|
* that was changed from a previous permutation.
|
|
4795
4812
|
*/
|
|
@@ -5171,6 +5188,108 @@ export class BlockCustomComponentInstance extends BlockComponent {
|
|
|
5171
5188
|
readonly customComponentParameters: CustomComponentParameters;
|
|
5172
5189
|
}
|
|
5173
5190
|
|
|
5191
|
+
/**
|
|
5192
|
+
* @beta
|
|
5193
|
+
* Represents the dynamic properties of a block in the world.
|
|
5194
|
+
* Only available with block entities. Up to 1KBytes of data
|
|
5195
|
+
* can be stored per block entity in their dynamic properties
|
|
5196
|
+
* storage.
|
|
5197
|
+
* @example rememberPlayerInteraction.ts
|
|
5198
|
+
* ```typescript
|
|
5199
|
+
* import { system } from '@minecraft/server-wrapper';
|
|
5200
|
+
*
|
|
5201
|
+
* system.beforeEvents.startup.subscribe(initEvent => {
|
|
5202
|
+
* initEvent.blockComponentRegistry.registerCustomComponent('scripting_demo_pack:block_entity_onPlayerInteract', {
|
|
5203
|
+
* onPlayerInteract: e => {
|
|
5204
|
+
* if (e.player === undefined) {
|
|
5205
|
+
* return;
|
|
5206
|
+
* }
|
|
5207
|
+
*
|
|
5208
|
+
* const dynamicProperties = e.block.getComponent('minecraft:dynamic_properties');
|
|
5209
|
+
* if (!dynamicProperties) {
|
|
5210
|
+
* return;
|
|
5211
|
+
* }
|
|
5212
|
+
*
|
|
5213
|
+
* const lastInteractorValue = dynamicProperties.get('last_interactor');
|
|
5214
|
+
* const lastVisitor = typeof lastInteractorValue === 'string' ? lastInteractorValue : 'unknown';
|
|
5215
|
+
* const lastTick = Number(dynamicProperties.get('last_interact_tick') ?? system.currentTick);
|
|
5216
|
+
* const ticksAgo = Math.max(0, system.currentTick - lastTick);
|
|
5217
|
+
*
|
|
5218
|
+
* if (lastVisitor === e.player.name) {
|
|
5219
|
+
* e.player.sendMessage("do you remember that player? I 'member, it was here " + String(ticksAgo) + ' ticks ago!');
|
|
5220
|
+
* } else {
|
|
5221
|
+
* e.player.sendMessage("oh, I don't remember that player");
|
|
5222
|
+
* }
|
|
5223
|
+
*
|
|
5224
|
+
* dynamicProperties.set('last_interactor', e.player.name);
|
|
5225
|
+
* dynamicProperties.set('last_interact_tick', system.currentTick);
|
|
5226
|
+
* },
|
|
5227
|
+
* });
|
|
5228
|
+
* });
|
|
5229
|
+
* ```
|
|
5230
|
+
*/
|
|
5231
|
+
// @ts-ignore Class inheritance allowed for native defined classes
|
|
5232
|
+
export class BlockDynamicPropertiesComponent extends BlockComponent {
|
|
5233
|
+
private constructor();
|
|
5234
|
+
static readonly componentId = 'minecraft:dynamic_properties';
|
|
5235
|
+
/**
|
|
5236
|
+
* @remarks
|
|
5237
|
+
* Returns a DynamicProperty that was stored with the provided
|
|
5238
|
+
* key. Keys are unique to each content pack and cannot be used
|
|
5239
|
+
* to retrieve dynamic properties set from other content packs.
|
|
5240
|
+
* Returns undefined if the key was not found.
|
|
5241
|
+
*
|
|
5242
|
+
* @throws This function can throw errors.
|
|
5243
|
+
*
|
|
5244
|
+
* {@link Error}
|
|
5245
|
+
*
|
|
5246
|
+
* {@link InvalidBlockComponentError}
|
|
5247
|
+
*
|
|
5248
|
+
* {@link LocationInUnloadedChunkError}
|
|
5249
|
+
*
|
|
5250
|
+
* {@link LocationOutOfWorldBoundariesError}
|
|
5251
|
+
*/
|
|
5252
|
+
get(key: string): boolean | number | string | Vector3 | undefined;
|
|
5253
|
+
/**
|
|
5254
|
+
* @remarks
|
|
5255
|
+
* Sets a dynamic property with the provided key and value.
|
|
5256
|
+
* Keys are unique to each content pack and cannot be used to
|
|
5257
|
+
* set dynamic properties for other content packs. Values can
|
|
5258
|
+
* be either a Number, a String or a Vector3. Setting a
|
|
5259
|
+
* property with an undefined value will remove it from the
|
|
5260
|
+
* storage.
|
|
5261
|
+
*
|
|
5262
|
+
* This function can't be called in restricted-execution mode.
|
|
5263
|
+
*
|
|
5264
|
+
* @throws This function can throw errors.
|
|
5265
|
+
*
|
|
5266
|
+
* {@link Error}
|
|
5267
|
+
*
|
|
5268
|
+
* {@link InvalidBlockComponentError}
|
|
5269
|
+
*
|
|
5270
|
+
* {@link LocationInUnloadedChunkError}
|
|
5271
|
+
*
|
|
5272
|
+
* {@link LocationOutOfWorldBoundariesError}
|
|
5273
|
+
*/
|
|
5274
|
+
set(key: string, value?: boolean | number | string | Vector3): void;
|
|
5275
|
+
/**
|
|
5276
|
+
* @remarks
|
|
5277
|
+
* Returns the current size, in bytes, of the dynamic
|
|
5278
|
+
* properties storage for this block entity.
|
|
5279
|
+
*
|
|
5280
|
+
* @throws This function can throw errors.
|
|
5281
|
+
*
|
|
5282
|
+
* {@link Error}
|
|
5283
|
+
*
|
|
5284
|
+
* {@link InvalidBlockComponentError}
|
|
5285
|
+
*
|
|
5286
|
+
* {@link LocationInUnloadedChunkError}
|
|
5287
|
+
*
|
|
5288
|
+
* {@link LocationOutOfWorldBoundariesError}
|
|
5289
|
+
*/
|
|
5290
|
+
totalByteCount(): number;
|
|
5291
|
+
}
|
|
5292
|
+
|
|
5174
5293
|
/**
|
|
5175
5294
|
* Contains information regarding an event that impacts a
|
|
5176
5295
|
* specific block.
|
|
@@ -8967,7 +9086,7 @@ export class Dimension {
|
|
|
8967
9086
|
}
|
|
8968
9087
|
|
|
8969
9088
|
/**
|
|
8970
|
-
* @
|
|
9089
|
+
* @rc
|
|
8971
9090
|
* Provides the functionality for registering custom
|
|
8972
9091
|
* dimensions. Custom dimensions can only be registered during
|
|
8973
9092
|
* the system startup event.
|
|
@@ -11325,6 +11444,140 @@ export class EntityFlyingSpeedComponent extends EntityComponent {
|
|
|
11325
11444
|
static readonly componentId = 'minecraft:flying_speed';
|
|
11326
11445
|
}
|
|
11327
11446
|
|
|
11447
|
+
/**
|
|
11448
|
+
* @beta
|
|
11449
|
+
* Provides access to the fog definitions stack of a player
|
|
11450
|
+
* entity, allowing scripts to push, pop, remove, and query
|
|
11451
|
+
* active fog definitions.
|
|
11452
|
+
*/
|
|
11453
|
+
// @ts-ignore Class inheritance allowed for native defined classes
|
|
11454
|
+
export class EntityFogComponent extends EntityComponent {
|
|
11455
|
+
private constructor();
|
|
11456
|
+
static readonly componentId = 'minecraft:player.fog';
|
|
11457
|
+
/**
|
|
11458
|
+
* @remarks
|
|
11459
|
+
* Sets the player's fog stack to the given list of fog
|
|
11460
|
+
* identifiers, replacing any existing entries.
|
|
11461
|
+
*
|
|
11462
|
+
* This function can't be called in restricted-execution mode.
|
|
11463
|
+
*
|
|
11464
|
+
* @param fogIds
|
|
11465
|
+
* A stack of fog definition identifiers to set on the player's
|
|
11466
|
+
* fog stack (e.g. ['minecraft:fog_bamboo_jungle']). Maximum of
|
|
11467
|
+
* 16 entries.
|
|
11468
|
+
* @param tag
|
|
11469
|
+
* An optional tag to associate with the new entries, used to
|
|
11470
|
+
* target them with pop or remove.
|
|
11471
|
+
* @throws
|
|
11472
|
+
* Throws if the entity is invalid, if more than 16 fog
|
|
11473
|
+
* identifiers are provided, or if any fog identifier is
|
|
11474
|
+
* invalid.
|
|
11475
|
+
*
|
|
11476
|
+
* {@link EntityFogComponentError}
|
|
11477
|
+
*
|
|
11478
|
+
* {@link InvalidEntityError}
|
|
11479
|
+
*/
|
|
11480
|
+
applyStack(fogIds: string[], tag?: string): void;
|
|
11481
|
+
/**
|
|
11482
|
+
* @remarks
|
|
11483
|
+
* Returns the list of fog identifiers currently on the
|
|
11484
|
+
* player's fog stack, ordered from bottom to top.
|
|
11485
|
+
*
|
|
11486
|
+
* This function can't be called in restricted-execution mode.
|
|
11487
|
+
*
|
|
11488
|
+
* @returns
|
|
11489
|
+
* An array of fog definition identifiers currently on the
|
|
11490
|
+
* stack.
|
|
11491
|
+
* @throws
|
|
11492
|
+
* Throws if the entity is invalid.
|
|
11493
|
+
*
|
|
11494
|
+
* {@link InvalidEntityError}
|
|
11495
|
+
*/
|
|
11496
|
+
getStack(): string[];
|
|
11497
|
+
/**
|
|
11498
|
+
* @remarks
|
|
11499
|
+
* Returns the list of tags currently present on the player's
|
|
11500
|
+
* fog stack.
|
|
11501
|
+
*
|
|
11502
|
+
* This function can't be called in restricted-execution mode.
|
|
11503
|
+
*
|
|
11504
|
+
* @returns
|
|
11505
|
+
* An array of tag strings associated with fog settings on the
|
|
11506
|
+
* stack.
|
|
11507
|
+
* @throws
|
|
11508
|
+
* Throws if the entity is invalid.
|
|
11509
|
+
*
|
|
11510
|
+
* {@link InvalidEntityError}
|
|
11511
|
+
*/
|
|
11512
|
+
getTags(): string[];
|
|
11513
|
+
/**
|
|
11514
|
+
* @remarks
|
|
11515
|
+
* Removes the most recently pushed fog definition from the
|
|
11516
|
+
* player's fog stack.
|
|
11517
|
+
*
|
|
11518
|
+
* This function can't be called in restricted-execution mode.
|
|
11519
|
+
*
|
|
11520
|
+
* @param tag
|
|
11521
|
+
* An optional tag identifying which entry to pop. If provided,
|
|
11522
|
+
* searches the stack from top to bottom and removes the most
|
|
11523
|
+
* recently pushed entry with this tag. If omitted, removes the
|
|
11524
|
+
* most recently pushed entry regardless of tag.
|
|
11525
|
+
* @returns
|
|
11526
|
+
* Returns the identifier of the popped fog definition, or
|
|
11527
|
+
* undefined if the stack was unchanged.
|
|
11528
|
+
* @throws
|
|
11529
|
+
* Throws if the entity is invalid.
|
|
11530
|
+
*
|
|
11531
|
+
* {@link InvalidEntityError}
|
|
11532
|
+
*/
|
|
11533
|
+
pop(tag?: string): string | undefined;
|
|
11534
|
+
/**
|
|
11535
|
+
* @remarks
|
|
11536
|
+
* Pushes a new fog definition onto the player's fog stack.
|
|
11537
|
+
*
|
|
11538
|
+
* This function can't be called in restricted-execution mode.
|
|
11539
|
+
*
|
|
11540
|
+
* @param fogId
|
|
11541
|
+
* The identifier of the fog definition to push onto the stack
|
|
11542
|
+
* (e.g. 'minecraft:fog_bamboo_jungle').
|
|
11543
|
+
* @param tag
|
|
11544
|
+
* An optional tag used to label this fog definition on the
|
|
11545
|
+
* stack, allowing it to be targeted by pop or remove. If
|
|
11546
|
+
* omitted, the entry is stored with the tag 'untagged'.
|
|
11547
|
+
* @returns
|
|
11548
|
+
* Returns the zero-based index at which the fog definition was
|
|
11549
|
+
* inserted into the stack.
|
|
11550
|
+
* @throws
|
|
11551
|
+
* Throws if the entity is invalid, the fog identifier is
|
|
11552
|
+
* invalid, or if the stack limit of 16 has been exceeded.
|
|
11553
|
+
*
|
|
11554
|
+
* {@link EntityFogComponentError}
|
|
11555
|
+
*
|
|
11556
|
+
* {@link InvalidEntityError}
|
|
11557
|
+
*/
|
|
11558
|
+
push(fogId: string, tag?: string): number;
|
|
11559
|
+
/**
|
|
11560
|
+
* @remarks
|
|
11561
|
+
* Removes all fog definitions with the given tag from the
|
|
11562
|
+
* player's fog stack. If no tag is provided, clears all fog
|
|
11563
|
+
* definitions.
|
|
11564
|
+
*
|
|
11565
|
+
* This function can't be called in restricted-execution mode.
|
|
11566
|
+
*
|
|
11567
|
+
* @param tag
|
|
11568
|
+
* An optional tag identifying which the entries to remove. If
|
|
11569
|
+
* omitted, clears all fog definitions regardless of tag.
|
|
11570
|
+
* @returns
|
|
11571
|
+
* Returns true if at least one entry was removed, or false if
|
|
11572
|
+
* the stack was unchanged.
|
|
11573
|
+
* @throws
|
|
11574
|
+
* Throws if the entity is invalid.
|
|
11575
|
+
*
|
|
11576
|
+
* {@link InvalidEntityError}
|
|
11577
|
+
*/
|
|
11578
|
+
remove(tag?: string): boolean;
|
|
11579
|
+
}
|
|
11580
|
+
|
|
11328
11581
|
/**
|
|
11329
11582
|
* Defines how much friction affects this entity.
|
|
11330
11583
|
*/
|
|
@@ -13780,7 +14033,7 @@ export class EntityUnderwaterMovementComponent extends EntityAttributeComponent
|
|
|
13780
14033
|
}
|
|
13781
14034
|
|
|
13782
14035
|
/**
|
|
13783
|
-
* @
|
|
14036
|
+
* @rc
|
|
13784
14037
|
* Contains information related to firing of a data driven
|
|
13785
14038
|
* entity version upgrade.
|
|
13786
14039
|
*/
|
|
@@ -13808,7 +14061,7 @@ export class EntityUpgradeAfterEvent {
|
|
|
13808
14061
|
}
|
|
13809
14062
|
|
|
13810
14063
|
/**
|
|
13811
|
-
* @
|
|
14064
|
+
* @rc
|
|
13812
14065
|
* Contains event registration related to firing of a data
|
|
13813
14066
|
* driven entity version upgrade.
|
|
13814
14067
|
*/
|
|
@@ -13870,7 +14123,7 @@ export class EntityWantsJockeyComponent extends EntityComponent {
|
|
|
13870
14123
|
}
|
|
13871
14124
|
|
|
13872
14125
|
/**
|
|
13873
|
-
* @
|
|
14126
|
+
* @rc
|
|
13874
14127
|
* Waypoint that tracks an entity's position. The waypoint
|
|
13875
14128
|
* automatically updates as the entity moves and becomes
|
|
13876
14129
|
* invalid when the entity is removed.
|
|
@@ -14507,6 +14760,10 @@ export class IsBabyCondition extends LootItemCondition {
|
|
|
14507
14760
|
private constructor();
|
|
14508
14761
|
}
|
|
14509
14762
|
|
|
14763
|
+
export class ISerializable {
|
|
14764
|
+
private constructor();
|
|
14765
|
+
}
|
|
14766
|
+
|
|
14510
14767
|
/**
|
|
14511
14768
|
* When present on an item, this item is a book item. Can
|
|
14512
14769
|
* access and modify the contents of the book and sign it.
|
|
@@ -16672,7 +16929,7 @@ export class ListBlockVolume extends BlockVolumeBase {
|
|
|
16672
16929
|
}
|
|
16673
16930
|
|
|
16674
16931
|
/**
|
|
16675
|
-
* @
|
|
16932
|
+
* @rc
|
|
16676
16933
|
* Waypoint that points to a fixed location in the world.
|
|
16677
16934
|
* Unlike entity waypoints, location waypoints always remain
|
|
16678
16935
|
* valid and their position can be updated.
|
|
@@ -16700,7 +16957,7 @@ export class LocationWaypoint extends Waypoint {
|
|
|
16700
16957
|
}
|
|
16701
16958
|
|
|
16702
16959
|
/**
|
|
16703
|
-
* @
|
|
16960
|
+
* @rc
|
|
16704
16961
|
* Manages the collection of waypoints displayed on a player's
|
|
16705
16962
|
* locator bar. Allows adding, removing, and querying waypoints
|
|
16706
16963
|
* with a maximum capacity limit.
|
|
@@ -16863,6 +17120,10 @@ export class LootingEnchantFunction extends LootItemFunction {
|
|
|
16863
17120
|
// @ts-ignore Class inheritance allowed for native defined classes
|
|
16864
17121
|
export class LootItem extends LootPoolEntry {
|
|
16865
17122
|
private constructor();
|
|
17123
|
+
/**
|
|
17124
|
+
* @beta
|
|
17125
|
+
*/
|
|
17126
|
+
readonly conditions: LootItemCondition[];
|
|
16866
17127
|
readonly functions: LootItemFunction[];
|
|
16867
17128
|
/**
|
|
16868
17129
|
* @remarks
|
|
@@ -17654,7 +17915,7 @@ export class Player extends Entity {
|
|
|
17654
17915
|
*/
|
|
17655
17916
|
readonly level: number;
|
|
17656
17917
|
/**
|
|
17657
|
-
* @
|
|
17918
|
+
* @rc
|
|
17658
17919
|
* @remarks
|
|
17659
17920
|
* The player's Locator Bar. This property is used for managing
|
|
17660
17921
|
* waypoints displayed on the HUD.
|
|
@@ -17676,17 +17937,6 @@ export class Player extends Entity {
|
|
|
17676
17937
|
* @throws This property can throw when used.
|
|
17677
17938
|
*/
|
|
17678
17939
|
readonly onScreenDisplay: ScreenDisplay;
|
|
17679
|
-
/**
|
|
17680
|
-
* @beta
|
|
17681
|
-
* @remarks
|
|
17682
|
-
* The party information for this player, or undefined if the
|
|
17683
|
-
* player is not in a party.
|
|
17684
|
-
*
|
|
17685
|
-
* @throws This property can throw when used.
|
|
17686
|
-
*
|
|
17687
|
-
* {@link InvalidEntityError}
|
|
17688
|
-
*/
|
|
17689
|
-
readonly partyInfo?: PartyInfo;
|
|
17690
17940
|
/**
|
|
17691
17941
|
* @throws This property can throw when used.
|
|
17692
17942
|
*
|
|
@@ -18461,6 +18711,83 @@ export class PlayerButtonInputAfterEventSignal {
|
|
|
18461
18711
|
unsubscribe(callback: (arg0: PlayerButtonInputAfterEvent) => void): void;
|
|
18462
18712
|
}
|
|
18463
18713
|
|
|
18714
|
+
/**
|
|
18715
|
+
* @beta
|
|
18716
|
+
* Contains information regarding an event after a player
|
|
18717
|
+
* cancels breaking a block.
|
|
18718
|
+
*/
|
|
18719
|
+
// @ts-ignore Class inheritance allowed for native defined classes
|
|
18720
|
+
export class PlayerCancelBreakingBlockAfterEvent extends BlockEvent {
|
|
18721
|
+
private constructor();
|
|
18722
|
+
/**
|
|
18723
|
+
* @remarks
|
|
18724
|
+
* The permutation of the block that the player cancelled
|
|
18725
|
+
* breaking.
|
|
18726
|
+
*
|
|
18727
|
+
*/
|
|
18728
|
+
readonly blockPermutation: BlockPermutation;
|
|
18729
|
+
/**
|
|
18730
|
+
* @remarks
|
|
18731
|
+
* The progress of breaking the block when the player cancelled
|
|
18732
|
+
* in the exclusive range (0, 1).
|
|
18733
|
+
*
|
|
18734
|
+
*/
|
|
18735
|
+
readonly breakProgress: number;
|
|
18736
|
+
/**
|
|
18737
|
+
* @remarks
|
|
18738
|
+
* The face of the block that was being broken.
|
|
18739
|
+
*
|
|
18740
|
+
*/
|
|
18741
|
+
readonly face: Direction;
|
|
18742
|
+
/**
|
|
18743
|
+
* @remarks
|
|
18744
|
+
* The item stack that the player was using to break the block,
|
|
18745
|
+
* or undefined if empty hand.
|
|
18746
|
+
*
|
|
18747
|
+
*/
|
|
18748
|
+
readonly heldItemStack?: ItemStack;
|
|
18749
|
+
/**
|
|
18750
|
+
* @remarks
|
|
18751
|
+
* Player that cancelled breaking the block for this event.
|
|
18752
|
+
*
|
|
18753
|
+
*/
|
|
18754
|
+
readonly player: Player;
|
|
18755
|
+
}
|
|
18756
|
+
|
|
18757
|
+
/**
|
|
18758
|
+
* @beta
|
|
18759
|
+
* Manages callbacks that are connected to when a player
|
|
18760
|
+
* cancels breaking a block.
|
|
18761
|
+
*/
|
|
18762
|
+
export class PlayerCancelBreakingBlockAfterEventSignal {
|
|
18763
|
+
private constructor();
|
|
18764
|
+
/**
|
|
18765
|
+
* @remarks
|
|
18766
|
+
* Adds a callback that will be called when a player cancels
|
|
18767
|
+
* breaking a block.
|
|
18768
|
+
*
|
|
18769
|
+
* This function can't be called in restricted-execution mode.
|
|
18770
|
+
*
|
|
18771
|
+
* This function can be called in early-execution mode.
|
|
18772
|
+
*
|
|
18773
|
+
*/
|
|
18774
|
+
subscribe(
|
|
18775
|
+
callback: (arg0: PlayerCancelBreakingBlockAfterEvent) => void,
|
|
18776
|
+
options?: PlayerBreakingBlockEventOptions,
|
|
18777
|
+
): (arg0: PlayerCancelBreakingBlockAfterEvent) => void;
|
|
18778
|
+
/**
|
|
18779
|
+
* @remarks
|
|
18780
|
+
* Removes a callback from being called when a player cancels
|
|
18781
|
+
* breaking a block.
|
|
18782
|
+
*
|
|
18783
|
+
* This function can't be called in restricted-execution mode.
|
|
18784
|
+
*
|
|
18785
|
+
* This function can be called in early-execution mode.
|
|
18786
|
+
*
|
|
18787
|
+
*/
|
|
18788
|
+
unsubscribe(callback: (arg0: PlayerCancelBreakingBlockAfterEvent) => void): void;
|
|
18789
|
+
}
|
|
18790
|
+
|
|
18464
18791
|
/**
|
|
18465
18792
|
* Represents the players cursor inventory. Used when moving
|
|
18466
18793
|
* items between between containers in the inventory UI. Not
|
|
@@ -19648,6 +19975,76 @@ export class PlayerSpawnAfterEventSignal {
|
|
|
19648
19975
|
unsubscribe(callback: (arg0: PlayerSpawnAfterEvent) => void): void;
|
|
19649
19976
|
}
|
|
19650
19977
|
|
|
19978
|
+
/**
|
|
19979
|
+
* @beta
|
|
19980
|
+
* Contains information regarding an event after a player
|
|
19981
|
+
* starts breaking a block.
|
|
19982
|
+
*/
|
|
19983
|
+
// @ts-ignore Class inheritance allowed for native defined classes
|
|
19984
|
+
export class PlayerStartBreakingBlockAfterEvent extends BlockEvent {
|
|
19985
|
+
private constructor();
|
|
19986
|
+
/**
|
|
19987
|
+
* @remarks
|
|
19988
|
+
* The permutation of the block that the player is starting to
|
|
19989
|
+
* break.
|
|
19990
|
+
*
|
|
19991
|
+
*/
|
|
19992
|
+
readonly blockPermutation: BlockPermutation;
|
|
19993
|
+
/**
|
|
19994
|
+
* @remarks
|
|
19995
|
+
* The face of the block being broken.
|
|
19996
|
+
*
|
|
19997
|
+
*/
|
|
19998
|
+
readonly face: Direction;
|
|
19999
|
+
/**
|
|
20000
|
+
* @remarks
|
|
20001
|
+
* The item stack that the player is using to break the block,
|
|
20002
|
+
* or undefined if empty hand.
|
|
20003
|
+
*
|
|
20004
|
+
*/
|
|
20005
|
+
readonly heldItemStack?: ItemStack;
|
|
20006
|
+
/**
|
|
20007
|
+
* @remarks
|
|
20008
|
+
* Player that started breaking the block for this event.
|
|
20009
|
+
*
|
|
20010
|
+
*/
|
|
20011
|
+
readonly player: Player;
|
|
20012
|
+
}
|
|
20013
|
+
|
|
20014
|
+
/**
|
|
20015
|
+
* @beta
|
|
20016
|
+
* Manages callbacks that are connected to when a player starts
|
|
20017
|
+
* breaking a block.
|
|
20018
|
+
*/
|
|
20019
|
+
export class PlayerStartBreakingBlockAfterEventSignal {
|
|
20020
|
+
private constructor();
|
|
20021
|
+
/**
|
|
20022
|
+
* @remarks
|
|
20023
|
+
* Adds a callback that will be called when a player starts
|
|
20024
|
+
* breaking a block.
|
|
20025
|
+
*
|
|
20026
|
+
* This function can't be called in restricted-execution mode.
|
|
20027
|
+
*
|
|
20028
|
+
* This function can be called in early-execution mode.
|
|
20029
|
+
*
|
|
20030
|
+
*/
|
|
20031
|
+
subscribe(
|
|
20032
|
+
callback: (arg0: PlayerStartBreakingBlockAfterEvent) => void,
|
|
20033
|
+
options?: PlayerBreakingBlockEventOptions,
|
|
20034
|
+
): (arg0: PlayerStartBreakingBlockAfterEvent) => void;
|
|
20035
|
+
/**
|
|
20036
|
+
* @remarks
|
|
20037
|
+
* Removes a callback from being called when a player starts
|
|
20038
|
+
* breaking a block.
|
|
20039
|
+
*
|
|
20040
|
+
* This function can't be called in restricted-execution mode.
|
|
20041
|
+
*
|
|
20042
|
+
* This function can be called in early-execution mode.
|
|
20043
|
+
*
|
|
20044
|
+
*/
|
|
20045
|
+
unsubscribe(callback: (arg0: PlayerStartBreakingBlockAfterEvent) => void): void;
|
|
20046
|
+
}
|
|
20047
|
+
|
|
19651
20048
|
/**
|
|
19652
20049
|
* Contains information regarding a player starting to swing
|
|
19653
20050
|
* their arm.
|
|
@@ -19787,7 +20184,7 @@ export class PlayerUseNameTagAfterEventSignal {
|
|
|
19787
20184
|
}
|
|
19788
20185
|
|
|
19789
20186
|
/**
|
|
19790
|
-
* @
|
|
20187
|
+
* @rc
|
|
19791
20188
|
* Waypoint that tracks a player's position. Extends {@link
|
|
19792
20189
|
* EntityWaypoint} with additional player-specific visibility
|
|
19793
20190
|
* rules such as hidden state and spectator mode.
|
|
@@ -20021,7 +20418,7 @@ export class PressurePlatePushAfterEventSignal {
|
|
|
20021
20418
|
}
|
|
20022
20419
|
|
|
20023
20420
|
/**
|
|
20024
|
-
* @
|
|
20421
|
+
* @rc
|
|
20025
20422
|
* The base class for a text primitive. Represents an object in
|
|
20026
20423
|
* the world and its base properties.
|
|
20027
20424
|
*/
|
|
@@ -20125,7 +20522,7 @@ export class PrimitiveShape {
|
|
|
20125
20522
|
}
|
|
20126
20523
|
|
|
20127
20524
|
/**
|
|
20128
|
-
* @
|
|
20525
|
+
* @rc
|
|
20129
20526
|
* Primitive Shapes class used to allow adding and removing
|
|
20130
20527
|
* text primitives to the world.
|
|
20131
20528
|
*/
|
|
@@ -21500,7 +21897,7 @@ export class StartupEvent {
|
|
|
21500
21897
|
*/
|
|
21501
21898
|
readonly customCommandRegistry: CustomCommandRegistry;
|
|
21502
21899
|
/**
|
|
21503
|
-
* @
|
|
21900
|
+
* @rc
|
|
21504
21901
|
* @remarks
|
|
21505
21902
|
* This property can be read in early-execution mode.
|
|
21506
21903
|
*
|
|
@@ -21519,7 +21916,8 @@ export class StartupEvent {
|
|
|
21519
21916
|
* Structures can be placed in a world using the /structure
|
|
21520
21917
|
* command or the {@link StructureManager} APIs.
|
|
21521
21918
|
*/
|
|
21522
|
-
|
|
21919
|
+
// @ts-ignore Class inheritance allowed for native defined classes
|
|
21920
|
+
export class Structure extends ISerializable {
|
|
21523
21921
|
private constructor();
|
|
21524
21922
|
/**
|
|
21525
21923
|
* @remarks
|
|
@@ -22255,7 +22653,7 @@ export class TargetBlockHitAfterEventSignal {
|
|
|
22255
22653
|
}
|
|
22256
22654
|
|
|
22257
22655
|
/**
|
|
22258
|
-
* @
|
|
22656
|
+
* @rc
|
|
22259
22657
|
* A primitive shape class that represents a text label in the
|
|
22260
22658
|
* world with a background.
|
|
22261
22659
|
*/
|
|
@@ -22628,7 +23026,7 @@ export class WatchdogTerminateBeforeEventSignal {
|
|
|
22628
23026
|
}
|
|
22629
23027
|
|
|
22630
23028
|
/**
|
|
22631
|
-
* @
|
|
23029
|
+
* @rc
|
|
22632
23030
|
* Base class for waypoints displayed on the player's locator
|
|
22633
23031
|
* bar. Waypoints can track locations or entities and are
|
|
22634
23032
|
* rendered with customizable textures and colors.
|
|
@@ -22897,7 +23295,7 @@ export class World {
|
|
|
22897
23295
|
readonly gameRules: GameRules;
|
|
22898
23296
|
readonly isHardcore: boolean;
|
|
22899
23297
|
/**
|
|
22900
|
-
* @
|
|
23298
|
+
* @rc
|
|
22901
23299
|
* @remarks
|
|
22902
23300
|
* Manager for adding and removing primitive text objects in
|
|
22903
23301
|
* the world.
|
|
@@ -23138,7 +23536,7 @@ export class World {
|
|
|
23138
23536
|
*/
|
|
23139
23537
|
getMoonPhase(): MoonPhase;
|
|
23140
23538
|
/**
|
|
23141
|
-
* @
|
|
23539
|
+
* @rc
|
|
23142
23540
|
* @remarks
|
|
23143
23541
|
* Returns a map of pack setting name and value pairs.
|
|
23144
23542
|
*
|
|
@@ -23582,7 +23980,7 @@ export class WorldAfterEvents {
|
|
|
23582
23980
|
*/
|
|
23583
23981
|
readonly entityStartSneaking: EntityStartSneakingAfterEventSignal;
|
|
23584
23982
|
/**
|
|
23585
|
-
* @
|
|
23983
|
+
* @rc
|
|
23586
23984
|
* @remarks
|
|
23587
23985
|
* This property can be read in early-execution mode.
|
|
23588
23986
|
*
|
|
@@ -23721,6 +24119,15 @@ export class WorldAfterEvents {
|
|
|
23721
24119
|
*
|
|
23722
24120
|
*/
|
|
23723
24121
|
readonly playerButtonInput: PlayerButtonInputAfterEventSignal;
|
|
24122
|
+
/**
|
|
24123
|
+
* @beta
|
|
24124
|
+
* @remarks
|
|
24125
|
+
* This event fires when a player cancels breaking a block.
|
|
24126
|
+
*
|
|
24127
|
+
* This property can be read in early-execution mode.
|
|
24128
|
+
*
|
|
24129
|
+
*/
|
|
24130
|
+
readonly playerCancelBreakingBlock: PlayerCancelBreakingBlockAfterEventSignal;
|
|
23724
24131
|
/**
|
|
23725
24132
|
* @remarks
|
|
23726
24133
|
* Fires when a player moved to a different dimension.
|
|
@@ -23826,6 +24233,15 @@ export class WorldAfterEvents {
|
|
|
23826
24233
|
*
|
|
23827
24234
|
*/
|
|
23828
24235
|
readonly playerSpawn: PlayerSpawnAfterEventSignal;
|
|
24236
|
+
/**
|
|
24237
|
+
* @beta
|
|
24238
|
+
* @remarks
|
|
24239
|
+
* This event fires when a player starts breaking a block.
|
|
24240
|
+
*
|
|
24241
|
+
* This property can be read in early-execution mode.
|
|
24242
|
+
*
|
|
24243
|
+
*/
|
|
24244
|
+
readonly playerStartBreakingBlock: PlayerStartBreakingBlockAfterEventSignal;
|
|
23829
24245
|
/**
|
|
23830
24246
|
* @remarks
|
|
23831
24247
|
* This property can be read in early-execution mode.
|
|
@@ -24215,7 +24631,7 @@ export interface BlockCustomComponent {
|
|
|
24215
24631
|
*/
|
|
24216
24632
|
beforeOnPlayerPlace?: (arg0: BlockComponentPlayerPlaceBeforeEvent, arg1: CustomComponentParameters) => void;
|
|
24217
24633
|
/**
|
|
24218
|
-
* @
|
|
24634
|
+
* @rc
|
|
24219
24635
|
*/
|
|
24220
24636
|
onBlockStateChange?: (arg0: BlockComponentBlockStateChangeEvent, arg1: CustomComponentParameters) => void;
|
|
24221
24637
|
/**
|
|
@@ -24793,7 +25209,7 @@ export interface CustomCommandResult {
|
|
|
24793
25209
|
}
|
|
24794
25210
|
|
|
24795
25211
|
/**
|
|
24796
|
-
* @
|
|
25212
|
+
* @rc
|
|
24797
25213
|
*/
|
|
24798
25214
|
export interface CustomTexture {
|
|
24799
25215
|
/**
|
|
@@ -25659,7 +26075,7 @@ export interface EntitySneakingChangedEventOptions {
|
|
|
25659
26075
|
}
|
|
25660
26076
|
|
|
25661
26077
|
/**
|
|
25662
|
-
* @
|
|
26078
|
+
* @rc
|
|
25663
26079
|
* Controls when a waypoint is visible based on the state of
|
|
25664
26080
|
* the entity it tracks. These rules allow filtering waypoint
|
|
25665
26081
|
* visibility by entity conditions like sneaking, invisibility,
|
|
@@ -26095,27 +26511,6 @@ export interface NotEqualsComparison {
|
|
|
26095
26511
|
notEquals: boolean | number | string;
|
|
26096
26512
|
}
|
|
26097
26513
|
|
|
26098
|
-
/**
|
|
26099
|
-
* @beta
|
|
26100
|
-
* Contains information about a player's party membership. This
|
|
26101
|
-
* object is a snapshot of the player's party state at the time
|
|
26102
|
-
* it was retrieved and is not kept up to date.
|
|
26103
|
-
*/
|
|
26104
|
-
export interface PartyInfo {
|
|
26105
|
-
/**
|
|
26106
|
-
* @remarks
|
|
26107
|
-
* Whether this player is the leader of their party.
|
|
26108
|
-
*
|
|
26109
|
-
*/
|
|
26110
|
-
isLeader: boolean;
|
|
26111
|
-
/**
|
|
26112
|
-
* @remarks
|
|
26113
|
-
* The unique identifier of the party this player belongs to.
|
|
26114
|
-
*
|
|
26115
|
-
*/
|
|
26116
|
-
partyId: string;
|
|
26117
|
-
}
|
|
26118
|
-
|
|
26119
26514
|
/**
|
|
26120
26515
|
* Contains additional options for how an animation is played.
|
|
26121
26516
|
*/
|
|
@@ -26185,6 +26580,33 @@ export interface PlayerAimAssistSettings {
|
|
|
26185
26580
|
viewAngle?: Vector2;
|
|
26186
26581
|
}
|
|
26187
26582
|
|
|
26583
|
+
/**
|
|
26584
|
+
* @beta
|
|
26585
|
+
* An interface that is passed into {@link
|
|
26586
|
+
* PlayerStartBreakingBlockAfterEventSignal.subscribe} or
|
|
26587
|
+
* {@link PlayerCancelBreakingBlockAfterEventSignal.subscribe}
|
|
26588
|
+
* that filters out which events are passed to the provided
|
|
26589
|
+
* callback.
|
|
26590
|
+
*/
|
|
26591
|
+
export interface PlayerBreakingBlockEventOptions {
|
|
26592
|
+
/**
|
|
26593
|
+
* @remarks
|
|
26594
|
+
* The {@link BlockFilter} that the callback should be called
|
|
26595
|
+
* for. If undefined, the callback will be called for all
|
|
26596
|
+
* blocks.
|
|
26597
|
+
*
|
|
26598
|
+
*/
|
|
26599
|
+
blockFilter?: BlockFilter;
|
|
26600
|
+
/**
|
|
26601
|
+
* @remarks
|
|
26602
|
+
* The {@link EntityFilter} that the callback should be called
|
|
26603
|
+
* for. If undefined, the callback will be called for all
|
|
26604
|
+
* players.
|
|
26605
|
+
*
|
|
26606
|
+
*/
|
|
26607
|
+
playerFilter?: EntityFilter;
|
|
26608
|
+
}
|
|
26609
|
+
|
|
26188
26610
|
/**
|
|
26189
26611
|
* Additional options for how a sound plays for a player.
|
|
26190
26612
|
*/
|
|
@@ -26236,7 +26658,7 @@ export interface PlayerSwingEventOptions {
|
|
|
26236
26658
|
}
|
|
26237
26659
|
|
|
26238
26660
|
/**
|
|
26239
|
-
* @
|
|
26661
|
+
* @rc
|
|
26240
26662
|
* Controls when a waypoint is visible based on player-specific
|
|
26241
26663
|
* states. Extends {@link EntityVisibilityRules} with
|
|
26242
26664
|
* additional rules for player-only states like hidden mode and
|
|
@@ -26965,7 +27387,7 @@ export interface VectorXZ {
|
|
|
26965
27387
|
}
|
|
26966
27388
|
|
|
26967
27389
|
/**
|
|
26968
|
-
* @
|
|
27390
|
+
* @rc
|
|
26969
27391
|
* Defines a texture and the distance range in which it should
|
|
26970
27392
|
* be displayed. Used within a {@link WaypointTextureSelector}
|
|
26971
27393
|
* to create distance-based texture switching.
|
|
@@ -27000,7 +27422,7 @@ export interface WaypointTextureBounds {
|
|
|
27000
27422
|
}
|
|
27001
27423
|
|
|
27002
27424
|
/**
|
|
27003
|
-
* @
|
|
27425
|
+
* @rc
|
|
27004
27426
|
* Defines how waypoint textures change based on distance.
|
|
27005
27427
|
* Contains a list of texture bounds that determine which
|
|
27006
27428
|
* texture is displayed at different distance ranges.
|
|
@@ -27154,7 +27576,7 @@ export class CustomComponentNameError extends Error {
|
|
|
27154
27576
|
}
|
|
27155
27577
|
|
|
27156
27578
|
/**
|
|
27157
|
-
* @
|
|
27579
|
+
* @rc
|
|
27158
27580
|
* Thrown when trying to register a custom dimension with a
|
|
27159
27581
|
* name that has already been registered.
|
|
27160
27582
|
*/
|
|
@@ -27164,7 +27586,7 @@ export class CustomDimensionAlreadyRegisteredError extends Error {
|
|
|
27164
27586
|
}
|
|
27165
27587
|
|
|
27166
27588
|
/**
|
|
27167
|
-
* @
|
|
27589
|
+
* @rc
|
|
27168
27590
|
* Thrown when trying to register a custom dimension outside of
|
|
27169
27591
|
* the system startup event.
|
|
27170
27592
|
*/
|
|
@@ -27174,7 +27596,7 @@ export class CustomDimensionInvalidRegistryError extends Error {
|
|
|
27174
27596
|
}
|
|
27175
27597
|
|
|
27176
27598
|
/**
|
|
27177
|
-
* @
|
|
27599
|
+
* @rc
|
|
27178
27600
|
* Thrown when trying to register a custom dimension with a
|
|
27179
27601
|
* name that contains invalid characters.
|
|
27180
27602
|
*/
|
|
@@ -27184,7 +27606,7 @@ export class CustomDimensionNameError extends Error {
|
|
|
27184
27606
|
}
|
|
27185
27607
|
|
|
27186
27608
|
/**
|
|
27187
|
-
* @
|
|
27609
|
+
* @rc
|
|
27188
27610
|
* Thrown after using the /reload command when trying to
|
|
27189
27611
|
* register a custom dimension that was not previously
|
|
27190
27612
|
* registered. New custom dimensions cannot be added during a
|
|
@@ -27210,6 +27632,17 @@ export class EnchantmentTypeUnknownIdError extends Error {
|
|
|
27210
27632
|
private constructor();
|
|
27211
27633
|
}
|
|
27212
27634
|
|
|
27635
|
+
/**
|
|
27636
|
+
* @beta
|
|
27637
|
+
* Error thrown by {@link EntityFogComponent} operations when
|
|
27638
|
+
* the fog stack limit is exceeded or an invalid fog identifier
|
|
27639
|
+
* is provided.
|
|
27640
|
+
*/
|
|
27641
|
+
// @ts-ignore Class inheritance allowed for native defined classes
|
|
27642
|
+
export class EntityFogComponentError extends Error {
|
|
27643
|
+
private constructor();
|
|
27644
|
+
}
|
|
27645
|
+
|
|
27213
27646
|
// @ts-ignore Class inheritance allowed for native defined classes
|
|
27214
27647
|
export class EntitySpawnError extends Error {
|
|
27215
27648
|
private constructor();
|
|
@@ -27319,7 +27752,7 @@ export class InvalidStructureError extends Error {
|
|
|
27319
27752
|
}
|
|
27320
27753
|
|
|
27321
27754
|
/**
|
|
27322
|
-
* @
|
|
27755
|
+
* @rc
|
|
27323
27756
|
* Error thrown when attempting to perform operations on an
|
|
27324
27757
|
* invalid waypoint. A waypoint becomes invalid when it is
|
|
27325
27758
|
* removed or when the entity it tracks is no longer valid.
|
|
@@ -27330,7 +27763,7 @@ export class InvalidWaypointError extends Error {
|
|
|
27330
27763
|
}
|
|
27331
27764
|
|
|
27332
27765
|
/**
|
|
27333
|
-
* @
|
|
27766
|
+
* @rc
|
|
27334
27767
|
*/
|
|
27335
27768
|
// @ts-ignore Class inheritance allowed for native defined classes
|
|
27336
27769
|
export class InvalidWaypointTextureSelectorError extends Error {
|
|
@@ -27394,7 +27827,7 @@ export class LocationOutOfWorldBoundariesError extends Error {
|
|
|
27394
27827
|
}
|
|
27395
27828
|
|
|
27396
27829
|
/**
|
|
27397
|
-
* @
|
|
27830
|
+
* @rc
|
|
27398
27831
|
* Error thrown when a locator bar operation fails. Contains a
|
|
27399
27832
|
* reason code indicating the specific cause of the error.
|
|
27400
27833
|
*/
|
|
@@ -27433,7 +27866,7 @@ export class PlaceJigsawError extends Error {
|
|
|
27433
27866
|
}
|
|
27434
27867
|
|
|
27435
27868
|
/**
|
|
27436
|
-
* @
|
|
27869
|
+
* @rc
|
|
27437
27870
|
*/
|
|
27438
27871
|
// @ts-ignore Class inheritance allowed for native defined classes
|
|
27439
27872
|
export class PrimitiveShapeError extends Error {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@minecraft/server",
|
|
3
|
-
"version": "2.9.0-beta.1.26.30-preview.
|
|
3
|
+
"version": "2.9.0-beta.1.26.30-preview.30",
|
|
4
4
|
"description": "",
|
|
5
5
|
"contributors": [
|
|
6
6
|
{
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
],
|
|
15
15
|
"peerDependencies": {
|
|
16
16
|
"@minecraft/common": "^1.2.0",
|
|
17
|
-
"@minecraft/vanilla-data": ">=1.20.70 || 1.26.30-preview.
|
|
17
|
+
"@minecraft/vanilla-data": ">=1.20.70 || 1.26.30-preview.30"
|
|
18
18
|
},
|
|
19
19
|
"license": "MIT"
|
|
20
20
|
}
|