hytopia 0.1.88 → 0.1.90
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/boilerplate/index.ts +1 -1
- package/docs/server.entity.md +14 -0
- package/docs/server.entity.setparent.md +105 -0
- package/docs/server.entityeventpayload.md +9 -0
- package/docs/server.entityeventpayload.setparent.entity.md +11 -0
- package/docs/server.entityeventpayload.setparent.md +87 -0
- package/docs/server.entityeventpayload.setparent.parent.md +11 -0
- package/docs/server.entityeventpayload.setparent.parentnodename.md +11 -0
- package/docs/server.entityeventtype.md +14 -0
- package/docs/server.rigidbody.md +56 -0
- package/docs/server.rigidbody.resetangularvelocity.md +17 -0
- package/docs/server.rigidbody.resetforces.md +17 -0
- package/docs/server.rigidbody.resetlinearvelocity.md +17 -0
- package/docs/server.rigidbody.resettorques.md +17 -0
- package/docs/server.worldmap.entities.md +15 -0
- package/docs/server.worldmap.md +19 -0
- package/package.json +1 -1
- package/server.api.json +388 -0
- package/server.d.ts +45 -0
- package/server.js +62 -62
package/server.api.json
CHANGED
@@ -10694,6 +10694,109 @@
|
|
10694
10694
|
"isAbstract": false,
|
10695
10695
|
"name": "setOpacity"
|
10696
10696
|
},
|
10697
|
+
{
|
10698
|
+
"kind": "Method",
|
10699
|
+
"canonicalReference": "server!Entity#setParent:member(1)",
|
10700
|
+
"docComment": "/**\n * Sets the parent of the entity and resets this entity's position and rotation.\n *\n * @remarks\n *\n * When setting the parent, all forces, torques and velocities of this entity are reset. Additionally, this entity's type will be set to `KINEMATIC_VELOCITY` if it is not already. All colliders of this entity will be disabled when parent is not undefined. If the provided parent is undefined, this entity will be removed from its parent and all colliders will be re-enabled. When setting an undefined parent to remove this entity from its parent, this entity's type will be set to the last type it was set to before being a child.\n *\n * @param parent - The parent entity to set, or undefined to remove from an existing parent.\n *\n * @param parentNodeName - The name of the parent's node (if parent is a model entity) this entity will attach to.\n *\n * @param position - The position to set for the entity. If parent is provided, this is relative to the parent's attachment point.\n *\n * @param rotation - The rotation to set for the entity. If parent is provided, this is relative to the parent's rotation.\n */\n",
|
10701
|
+
"excerptTokens": [
|
10702
|
+
{
|
10703
|
+
"kind": "Content",
|
10704
|
+
"text": "setParent(parent: "
|
10705
|
+
},
|
10706
|
+
{
|
10707
|
+
"kind": "Reference",
|
10708
|
+
"text": "Entity",
|
10709
|
+
"canonicalReference": "server!Entity:class"
|
10710
|
+
},
|
10711
|
+
{
|
10712
|
+
"kind": "Content",
|
10713
|
+
"text": " | undefined"
|
10714
|
+
},
|
10715
|
+
{
|
10716
|
+
"kind": "Content",
|
10717
|
+
"text": ", parentNodeName?: "
|
10718
|
+
},
|
10719
|
+
{
|
10720
|
+
"kind": "Content",
|
10721
|
+
"text": "string"
|
10722
|
+
},
|
10723
|
+
{
|
10724
|
+
"kind": "Content",
|
10725
|
+
"text": ", position?: "
|
10726
|
+
},
|
10727
|
+
{
|
10728
|
+
"kind": "Reference",
|
10729
|
+
"text": "Vector3Like",
|
10730
|
+
"canonicalReference": "server!Vector3Like:interface"
|
10731
|
+
},
|
10732
|
+
{
|
10733
|
+
"kind": "Content",
|
10734
|
+
"text": ", rotation?: "
|
10735
|
+
},
|
10736
|
+
{
|
10737
|
+
"kind": "Reference",
|
10738
|
+
"text": "QuaternionLike",
|
10739
|
+
"canonicalReference": "server!QuaternionLike:interface"
|
10740
|
+
},
|
10741
|
+
{
|
10742
|
+
"kind": "Content",
|
10743
|
+
"text": "): "
|
10744
|
+
},
|
10745
|
+
{
|
10746
|
+
"kind": "Content",
|
10747
|
+
"text": "void"
|
10748
|
+
},
|
10749
|
+
{
|
10750
|
+
"kind": "Content",
|
10751
|
+
"text": ";"
|
10752
|
+
}
|
10753
|
+
],
|
10754
|
+
"isStatic": false,
|
10755
|
+
"returnTypeTokenRange": {
|
10756
|
+
"startIndex": 10,
|
10757
|
+
"endIndex": 11
|
10758
|
+
},
|
10759
|
+
"releaseTag": "Public",
|
10760
|
+
"isProtected": false,
|
10761
|
+
"overloadIndex": 1,
|
10762
|
+
"parameters": [
|
10763
|
+
{
|
10764
|
+
"parameterName": "parent",
|
10765
|
+
"parameterTypeTokenRange": {
|
10766
|
+
"startIndex": 1,
|
10767
|
+
"endIndex": 3
|
10768
|
+
},
|
10769
|
+
"isOptional": false
|
10770
|
+
},
|
10771
|
+
{
|
10772
|
+
"parameterName": "parentNodeName",
|
10773
|
+
"parameterTypeTokenRange": {
|
10774
|
+
"startIndex": 4,
|
10775
|
+
"endIndex": 5
|
10776
|
+
},
|
10777
|
+
"isOptional": true
|
10778
|
+
},
|
10779
|
+
{
|
10780
|
+
"parameterName": "position",
|
10781
|
+
"parameterTypeTokenRange": {
|
10782
|
+
"startIndex": 6,
|
10783
|
+
"endIndex": 7
|
10784
|
+
},
|
10785
|
+
"isOptional": true
|
10786
|
+
},
|
10787
|
+
{
|
10788
|
+
"parameterName": "rotation",
|
10789
|
+
"parameterTypeTokenRange": {
|
10790
|
+
"startIndex": 8,
|
10791
|
+
"endIndex": 9
|
10792
|
+
},
|
10793
|
+
"isOptional": true
|
10794
|
+
}
|
10795
|
+
],
|
10796
|
+
"isOptional": false,
|
10797
|
+
"isAbstract": false,
|
10798
|
+
"name": "setParent"
|
10799
|
+
},
|
10697
10800
|
{
|
10698
10801
|
"kind": "Method",
|
10699
10802
|
"canonicalReference": "server!Entity#setTintColor:member(1)",
|
@@ -11367,6 +11470,110 @@
|
|
11367
11470
|
],
|
11368
11471
|
"extendsTokenRanges": []
|
11369
11472
|
},
|
11473
|
+
{
|
11474
|
+
"kind": "Interface",
|
11475
|
+
"canonicalReference": "server!EntityEventPayload.SetParent:interface",
|
11476
|
+
"docComment": "",
|
11477
|
+
"excerptTokens": [
|
11478
|
+
{
|
11479
|
+
"kind": "Content",
|
11480
|
+
"text": "interface SetParent "
|
11481
|
+
}
|
11482
|
+
],
|
11483
|
+
"releaseTag": "Public",
|
11484
|
+
"name": "SetParent",
|
11485
|
+
"preserveMemberOrder": false,
|
11486
|
+
"members": [
|
11487
|
+
{
|
11488
|
+
"kind": "PropertySignature",
|
11489
|
+
"canonicalReference": "server!EntityEventPayload.SetParent#entity:member",
|
11490
|
+
"docComment": "",
|
11491
|
+
"excerptTokens": [
|
11492
|
+
{
|
11493
|
+
"kind": "Content",
|
11494
|
+
"text": "entity: "
|
11495
|
+
},
|
11496
|
+
{
|
11497
|
+
"kind": "Reference",
|
11498
|
+
"text": "Entity",
|
11499
|
+
"canonicalReference": "server!Entity:class"
|
11500
|
+
},
|
11501
|
+
{
|
11502
|
+
"kind": "Content",
|
11503
|
+
"text": ";"
|
11504
|
+
}
|
11505
|
+
],
|
11506
|
+
"isReadonly": false,
|
11507
|
+
"isOptional": false,
|
11508
|
+
"releaseTag": "Public",
|
11509
|
+
"name": "entity",
|
11510
|
+
"propertyTypeTokenRange": {
|
11511
|
+
"startIndex": 1,
|
11512
|
+
"endIndex": 2
|
11513
|
+
}
|
11514
|
+
},
|
11515
|
+
{
|
11516
|
+
"kind": "PropertySignature",
|
11517
|
+
"canonicalReference": "server!EntityEventPayload.SetParent#parent:member",
|
11518
|
+
"docComment": "",
|
11519
|
+
"excerptTokens": [
|
11520
|
+
{
|
11521
|
+
"kind": "Content",
|
11522
|
+
"text": "parent: "
|
11523
|
+
},
|
11524
|
+
{
|
11525
|
+
"kind": "Reference",
|
11526
|
+
"text": "Entity",
|
11527
|
+
"canonicalReference": "server!Entity:class"
|
11528
|
+
},
|
11529
|
+
{
|
11530
|
+
"kind": "Content",
|
11531
|
+
"text": " | undefined"
|
11532
|
+
},
|
11533
|
+
{
|
11534
|
+
"kind": "Content",
|
11535
|
+
"text": ";"
|
11536
|
+
}
|
11537
|
+
],
|
11538
|
+
"isReadonly": false,
|
11539
|
+
"isOptional": false,
|
11540
|
+
"releaseTag": "Public",
|
11541
|
+
"name": "parent",
|
11542
|
+
"propertyTypeTokenRange": {
|
11543
|
+
"startIndex": 1,
|
11544
|
+
"endIndex": 3
|
11545
|
+
}
|
11546
|
+
},
|
11547
|
+
{
|
11548
|
+
"kind": "PropertySignature",
|
11549
|
+
"canonicalReference": "server!EntityEventPayload.SetParent#parentNodeName:member",
|
11550
|
+
"docComment": "",
|
11551
|
+
"excerptTokens": [
|
11552
|
+
{
|
11553
|
+
"kind": "Content",
|
11554
|
+
"text": "parentNodeName: "
|
11555
|
+
},
|
11556
|
+
{
|
11557
|
+
"kind": "Content",
|
11558
|
+
"text": "string | undefined"
|
11559
|
+
},
|
11560
|
+
{
|
11561
|
+
"kind": "Content",
|
11562
|
+
"text": ";"
|
11563
|
+
}
|
11564
|
+
],
|
11565
|
+
"isReadonly": false,
|
11566
|
+
"isOptional": false,
|
11567
|
+
"releaseTag": "Public",
|
11568
|
+
"name": "parentNodeName",
|
11569
|
+
"propertyTypeTokenRange": {
|
11570
|
+
"startIndex": 1,
|
11571
|
+
"endIndex": 2
|
11572
|
+
}
|
11573
|
+
}
|
11574
|
+
],
|
11575
|
+
"extendsTokenRanges": []
|
11576
|
+
},
|
11370
11577
|
{
|
11371
11578
|
"kind": "Interface",
|
11372
11579
|
"canonicalReference": "server!EntityEventPayload.SetTintColor:interface",
|
@@ -11967,6 +12174,27 @@
|
|
11967
12174
|
"releaseTag": "Public",
|
11968
12175
|
"name": "SET_OPACITY"
|
11969
12176
|
},
|
12177
|
+
{
|
12178
|
+
"kind": "EnumMember",
|
12179
|
+
"canonicalReference": "server!EntityEventType.SET_PARENT:member",
|
12180
|
+
"docComment": "",
|
12181
|
+
"excerptTokens": [
|
12182
|
+
{
|
12183
|
+
"kind": "Content",
|
12184
|
+
"text": "SET_PARENT = "
|
12185
|
+
},
|
12186
|
+
{
|
12187
|
+
"kind": "Content",
|
12188
|
+
"text": "\"ENTITY.SET_PARENT\""
|
12189
|
+
}
|
12190
|
+
],
|
12191
|
+
"initializerTokenRange": {
|
12192
|
+
"startIndex": 1,
|
12193
|
+
"endIndex": 2
|
12194
|
+
},
|
12195
|
+
"releaseTag": "Public",
|
12196
|
+
"name": "SET_PARENT"
|
12197
|
+
},
|
11970
12198
|
{
|
11971
12199
|
"kind": "EnumMember",
|
11972
12200
|
"canonicalReference": "server!EntityEventType.SET_TINT_COLOR:member",
|
@@ -25663,6 +25891,130 @@
|
|
25663
25891
|
"isAbstract": false,
|
25664
25892
|
"name": "removeFromSimulation"
|
25665
25893
|
},
|
25894
|
+
{
|
25895
|
+
"kind": "Method",
|
25896
|
+
"canonicalReference": "server!RigidBody#resetAngularVelocity:member(1)",
|
25897
|
+
"docComment": "/**\n * Resets the angular velocity of the rigid body.\n */\n",
|
25898
|
+
"excerptTokens": [
|
25899
|
+
{
|
25900
|
+
"kind": "Content",
|
25901
|
+
"text": "resetAngularVelocity(): "
|
25902
|
+
},
|
25903
|
+
{
|
25904
|
+
"kind": "Content",
|
25905
|
+
"text": "void"
|
25906
|
+
},
|
25907
|
+
{
|
25908
|
+
"kind": "Content",
|
25909
|
+
"text": ";"
|
25910
|
+
}
|
25911
|
+
],
|
25912
|
+
"isStatic": false,
|
25913
|
+
"returnTypeTokenRange": {
|
25914
|
+
"startIndex": 1,
|
25915
|
+
"endIndex": 2
|
25916
|
+
},
|
25917
|
+
"releaseTag": "Public",
|
25918
|
+
"isProtected": false,
|
25919
|
+
"overloadIndex": 1,
|
25920
|
+
"parameters": [],
|
25921
|
+
"isOptional": false,
|
25922
|
+
"isAbstract": false,
|
25923
|
+
"name": "resetAngularVelocity"
|
25924
|
+
},
|
25925
|
+
{
|
25926
|
+
"kind": "Method",
|
25927
|
+
"canonicalReference": "server!RigidBody#resetForces:member(1)",
|
25928
|
+
"docComment": "/**\n * Resets the forces actiong on the rigid body.\n */\n",
|
25929
|
+
"excerptTokens": [
|
25930
|
+
{
|
25931
|
+
"kind": "Content",
|
25932
|
+
"text": "resetForces(): "
|
25933
|
+
},
|
25934
|
+
{
|
25935
|
+
"kind": "Content",
|
25936
|
+
"text": "void"
|
25937
|
+
},
|
25938
|
+
{
|
25939
|
+
"kind": "Content",
|
25940
|
+
"text": ";"
|
25941
|
+
}
|
25942
|
+
],
|
25943
|
+
"isStatic": false,
|
25944
|
+
"returnTypeTokenRange": {
|
25945
|
+
"startIndex": 1,
|
25946
|
+
"endIndex": 2
|
25947
|
+
},
|
25948
|
+
"releaseTag": "Public",
|
25949
|
+
"isProtected": false,
|
25950
|
+
"overloadIndex": 1,
|
25951
|
+
"parameters": [],
|
25952
|
+
"isOptional": false,
|
25953
|
+
"isAbstract": false,
|
25954
|
+
"name": "resetForces"
|
25955
|
+
},
|
25956
|
+
{
|
25957
|
+
"kind": "Method",
|
25958
|
+
"canonicalReference": "server!RigidBody#resetLinearVelocity:member(1)",
|
25959
|
+
"docComment": "/**\n * Resets the linear velocity of the rigid body.\n */\n",
|
25960
|
+
"excerptTokens": [
|
25961
|
+
{
|
25962
|
+
"kind": "Content",
|
25963
|
+
"text": "resetLinearVelocity(): "
|
25964
|
+
},
|
25965
|
+
{
|
25966
|
+
"kind": "Content",
|
25967
|
+
"text": "void"
|
25968
|
+
},
|
25969
|
+
{
|
25970
|
+
"kind": "Content",
|
25971
|
+
"text": ";"
|
25972
|
+
}
|
25973
|
+
],
|
25974
|
+
"isStatic": false,
|
25975
|
+
"returnTypeTokenRange": {
|
25976
|
+
"startIndex": 1,
|
25977
|
+
"endIndex": 2
|
25978
|
+
},
|
25979
|
+
"releaseTag": "Public",
|
25980
|
+
"isProtected": false,
|
25981
|
+
"overloadIndex": 1,
|
25982
|
+
"parameters": [],
|
25983
|
+
"isOptional": false,
|
25984
|
+
"isAbstract": false,
|
25985
|
+
"name": "resetLinearVelocity"
|
25986
|
+
},
|
25987
|
+
{
|
25988
|
+
"kind": "Method",
|
25989
|
+
"canonicalReference": "server!RigidBody#resetTorques:member(1)",
|
25990
|
+
"docComment": "/**\n * Resets the torques acting on the rigid body.\n */\n",
|
25991
|
+
"excerptTokens": [
|
25992
|
+
{
|
25993
|
+
"kind": "Content",
|
25994
|
+
"text": "resetTorques(): "
|
25995
|
+
},
|
25996
|
+
{
|
25997
|
+
"kind": "Content",
|
25998
|
+
"text": "void"
|
25999
|
+
},
|
26000
|
+
{
|
26001
|
+
"kind": "Content",
|
26002
|
+
"text": ";"
|
26003
|
+
}
|
26004
|
+
],
|
26005
|
+
"isStatic": false,
|
26006
|
+
"returnTypeTokenRange": {
|
26007
|
+
"startIndex": 1,
|
26008
|
+
"endIndex": 2
|
26009
|
+
},
|
26010
|
+
"releaseTag": "Public",
|
26011
|
+
"isProtected": false,
|
26012
|
+
"overloadIndex": 1,
|
26013
|
+
"parameters": [],
|
26014
|
+
"isOptional": false,
|
26015
|
+
"isAbstract": false,
|
26016
|
+
"name": "resetTorques"
|
26017
|
+
},
|
25666
26018
|
{
|
25667
26019
|
"kind": "Property",
|
25668
26020
|
"canonicalReference": "server!RigidBody#rotation:member",
|
@@ -32886,6 +33238,42 @@
|
|
32886
33238
|
"startIndex": 1,
|
32887
33239
|
"endIndex": 3
|
32888
33240
|
}
|
33241
|
+
},
|
33242
|
+
{
|
33243
|
+
"kind": "PropertySignature",
|
33244
|
+
"canonicalReference": "server!WorldMap#entities:member",
|
33245
|
+
"docComment": "/**\n * The entities in the map.\n */\n",
|
33246
|
+
"excerptTokens": [
|
33247
|
+
{
|
33248
|
+
"kind": "Content",
|
33249
|
+
"text": "entities: "
|
33250
|
+
},
|
33251
|
+
{
|
33252
|
+
"kind": "Content",
|
33253
|
+
"text": "{\n [position: string]: "
|
33254
|
+
},
|
33255
|
+
{
|
33256
|
+
"kind": "Reference",
|
33257
|
+
"text": "EntityOptions",
|
33258
|
+
"canonicalReference": "server!EntityOptions:interface"
|
33259
|
+
},
|
33260
|
+
{
|
33261
|
+
"kind": "Content",
|
33262
|
+
"text": ";\n }"
|
33263
|
+
},
|
33264
|
+
{
|
33265
|
+
"kind": "Content",
|
33266
|
+
"text": ";"
|
33267
|
+
}
|
33268
|
+
],
|
33269
|
+
"isReadonly": false,
|
33270
|
+
"isOptional": false,
|
33271
|
+
"releaseTag": "Public",
|
33272
|
+
"name": "entities",
|
33273
|
+
"propertyTypeTokenRange": {
|
33274
|
+
"startIndex": 1,
|
33275
|
+
"endIndex": 4
|
33276
|
+
}
|
32889
33277
|
}
|
32890
33278
|
],
|
32891
33279
|
"extendsTokenRanges": []
|
package/server.d.ts
CHANGED
@@ -1363,6 +1363,7 @@ export declare class Entity extends RigidBody implements protocol.Serializable {
|
|
1363
1363
|
|
1364
1364
|
|
1365
1365
|
|
1366
|
+
|
1366
1367
|
/**
|
1367
1368
|
* @param options - The options for the entity.
|
1368
1369
|
*/
|
@@ -1444,6 +1445,23 @@ export declare class Entity extends RigidBody implements protocol.Serializable {
|
|
1444
1445
|
* @param opacity - The opacity of the entity between 0 and 1. 0 is fully transparent, 1 is fully opaque.
|
1445
1446
|
*/
|
1446
1447
|
setOpacity(opacity: number): void;
|
1448
|
+
/**
|
1449
|
+
* Sets the parent of the entity and resets this entity's position and rotation.
|
1450
|
+
*
|
1451
|
+
* @remarks
|
1452
|
+
* When setting the parent, all forces, torques and velocities of this entity are reset.
|
1453
|
+
* Additionally, this entity's type will be set to `KINEMATIC_VELOCITY` if it is not already.
|
1454
|
+
* All colliders of this entity will be disabled when parent is not undefined. If the provided parent
|
1455
|
+
* is undefined, this entity will be removed from its parent and all colliders will be re-enabled.
|
1456
|
+
* When setting an undefined parent to remove this entity from its parent, this entity's type
|
1457
|
+
* will be set to the last type it was set to before being a child.
|
1458
|
+
*
|
1459
|
+
* @param parent - The parent entity to set, or undefined to remove from an existing parent.
|
1460
|
+
* @param parentNodeName - The name of the parent's node (if parent is a model entity) this entity will attach to.
|
1461
|
+
* @param position - The position to set for the entity. If parent is provided, this is relative to the parent's attachment point.
|
1462
|
+
* @param rotation - The rotation to set for the entity. If parent is provided, this is relative to the parent's rotation.
|
1463
|
+
*/
|
1464
|
+
setParent(parent: Entity | undefined, parentNodeName?: string, position?: Vector3Like, rotation?: QuaternionLike): void;
|
1447
1465
|
/**
|
1448
1466
|
* Sets the tint color of the entity.
|
1449
1467
|
* @param tintColor - The tint color of the entity.
|
@@ -1506,6 +1524,11 @@ export declare namespace EntityEventPayload {
|
|
1506
1524
|
entity: Entity;
|
1507
1525
|
opacity: number;
|
1508
1526
|
}
|
1527
|
+
export interface SetParent {
|
1528
|
+
entity: Entity;
|
1529
|
+
parent: Entity | undefined;
|
1530
|
+
parentNodeName: string | undefined;
|
1531
|
+
}
|
1509
1532
|
export interface SetTintColor {
|
1510
1533
|
entity: Entity;
|
1511
1534
|
tintColor: RgbColor | undefined;
|
@@ -1541,6 +1564,7 @@ export declare enum EntityEventType {
|
|
1541
1564
|
SET_MODEL_ANIMATIONS_PLAYBACK_RATE = "ENTITY.SET_MODEL_ANIMATIONS_PLAYBACK_RATE",
|
1542
1565
|
SET_MODEL_HIDDEN_NODES = "ENTITY.SET_MODEL_HIDDEN_NODES",
|
1543
1566
|
SET_OPACITY = "ENTITY.SET_OPACITY",
|
1567
|
+
SET_PARENT = "ENTITY.SET_PARENT",
|
1544
1568
|
SET_TINT_COLOR = "ENTITY.SET_TINT_COLOR",
|
1545
1569
|
SPAWN = "ENTITY.SPAWN",
|
1546
1570
|
START_MODEL_LOOPED_ANIMATIONS = "ENTITY.START_MODEL_LOOPED_ANIMATIONS",
|
@@ -3277,6 +3301,22 @@ export declare class RigidBody {
|
|
3277
3301
|
*/
|
3278
3302
|
removeFromSimulation(): void;
|
3279
3303
|
|
3304
|
+
/**
|
3305
|
+
* Resets the angular velocity of the rigid body.
|
3306
|
+
*/
|
3307
|
+
resetAngularVelocity(): void;
|
3308
|
+
/**
|
3309
|
+
* Resets the forces actiong on the rigid body.
|
3310
|
+
*/
|
3311
|
+
resetForces(): void;
|
3312
|
+
/**
|
3313
|
+
* Resets the linear velocity of the rigid body.
|
3314
|
+
*/
|
3315
|
+
resetLinearVelocity(): void;
|
3316
|
+
/**
|
3317
|
+
* Resets the torques acting on the rigid body.
|
3318
|
+
*/
|
3319
|
+
resetTorques(): void;
|
3280
3320
|
/**
|
3281
3321
|
* Explicitly puts the rigid body to sleep. Physics otherwise optimizes sleeping.
|
3282
3322
|
*/
|
@@ -4128,6 +4168,11 @@ export declare interface WorldMap {
|
|
4128
4168
|
/** The global coordinate to block type id mapping. */
|
4129
4169
|
[coordinate: string]: number;
|
4130
4170
|
};
|
4171
|
+
/** The entities in the map. */
|
4172
|
+
entities: {
|
4173
|
+
/** The position to entity as entity options mapping. */
|
4174
|
+
[position: string]: EntityOptions;
|
4175
|
+
};
|
4131
4176
|
}
|
4132
4177
|
|
4133
4178
|
/** Options for creating a World instance. @public */
|