hytopia 0.6.33 → 0.7.1
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/bin/scripts.mjs +2 -0
- package/bun-server.mjs +167 -167
- package/docs/server.blocktype.collideroptions.md +1 -1
- package/docs/server.blocktype.halfextents.md +13 -0
- package/docs/server.blocktype.md +43 -1
- package/docs/server.blocktype.size.md +13 -0
- package/docs/server.blocktypeoptions.customcollideroptions.md +1 -1
- package/docs/server.blocktypeoptions.halfextents.md +13 -0
- package/docs/server.blocktypeoptions.md +20 -1
- package/docs/server.chunk._constructor_.md +35 -1
- package/docs/server.chunk.md +4 -147
- package/docs/server.chunk.origincoordinate.md +1 -1
- package/docs/server.chunklattice.clear.md +1 -1
- package/docs/server.chunklattice.getblocktypecount.md +55 -0
- package/docs/server.chunklattice.getchunk.md +5 -5
- package/docs/server.chunklattice.getorcreatechunk.md +55 -0
- package/docs/server.chunklattice.haschunk.md +4 -4
- package/docs/server.chunklattice.md +36 -7
- package/docs/server.chunklattice.setblock.md +1 -1
- package/docs/server.chunklatticeevent.md +61 -0
- package/docs/server.chunklatticeeventpayloads._chunk_lattice.remove_chunk_.md +16 -0
- package/docs/server.chunklatticeeventpayloads._chunk_lattice.set_block_.md +19 -0
- package/docs/server.chunklatticeeventpayloads.md +76 -0
- package/docs/server.collider.md +16 -0
- package/docs/server.collider.scale.md +4 -0
- package/docs/server.collider.setvoxel.md +69 -0
- package/docs/server.collideroptions.md +2 -2
- package/docs/server.collidershape.md +14 -0
- package/docs/server.eventpayloads.md +2 -2
- package/docs/server.md +17 -4
- package/docs/server.particleemitteroptions.md +2 -0
- package/docs/server.voxelscollideroptions.coordinates.md +13 -0
- package/docs/server.voxelscollideroptions.md +94 -0
- package/docs/server.voxelscollideroptions.shape.md +11 -0
- package/docs/server.voxelscollideroptions.size.md +13 -0
- package/docs/server.world.md +1 -1
- package/docs/server.world.setdirectionallightposition.md +2 -2
- package/node-server.mjs +167 -167
- package/package.json +1 -1
- package/server.api.json +827 -764
- package/server.d.ts +100 -113
- package/docs/server.chunk.despawn.md +0 -17
- package/docs/server.chunk.issimulated.md +0 -13
- package/docs/server.chunk.isspawned.md +0 -13
- package/docs/server.chunk.isvalidorigincoordinate.md +0 -55
- package/docs/server.chunk.setblock.md +0 -69
- package/docs/server.chunk.spawn.md +0 -69
- package/docs/server.chunk.world.md +0 -13
- package/docs/server.chunkevent.md +0 -75
- package/docs/server.chunkeventpayloads._chunk.despawn_.md +0 -15
- package/docs/server.chunkeventpayloads._chunk.set_block_.md +0 -18
- package/docs/server.chunkeventpayloads._chunk.spawn_.md +0 -15
- package/docs/server.chunkeventpayloads.md +0 -95
package/server.api.json
CHANGED
|
@@ -4947,8 +4947,8 @@
|
|
|
4947
4947
|
},
|
|
4948
4948
|
{
|
|
4949
4949
|
"kind": "Reference",
|
|
4950
|
-
"text": "
|
|
4951
|
-
"canonicalReference": "server!
|
|
4950
|
+
"text": "VoxelsColliderOptions",
|
|
4951
|
+
"canonicalReference": "server!VoxelsColliderOptions:interface"
|
|
4952
4952
|
},
|
|
4953
4953
|
{
|
|
4954
4954
|
"kind": "Content",
|
|
@@ -4967,6 +4967,37 @@
|
|
|
4967
4967
|
"isProtected": false,
|
|
4968
4968
|
"isAbstract": false
|
|
4969
4969
|
},
|
|
4970
|
+
{
|
|
4971
|
+
"kind": "Property",
|
|
4972
|
+
"canonicalReference": "server!BlockType#halfExtents:member",
|
|
4973
|
+
"docComment": "/**\n * The half extents size of the block type.\n */\n",
|
|
4974
|
+
"excerptTokens": [
|
|
4975
|
+
{
|
|
4976
|
+
"kind": "Content",
|
|
4977
|
+
"text": "get halfExtents(): "
|
|
4978
|
+
},
|
|
4979
|
+
{
|
|
4980
|
+
"kind": "Reference",
|
|
4981
|
+
"text": "Vector3Like",
|
|
4982
|
+
"canonicalReference": "server!Vector3Like:interface"
|
|
4983
|
+
},
|
|
4984
|
+
{
|
|
4985
|
+
"kind": "Content",
|
|
4986
|
+
"text": ";"
|
|
4987
|
+
}
|
|
4988
|
+
],
|
|
4989
|
+
"isReadonly": true,
|
|
4990
|
+
"isOptional": false,
|
|
4991
|
+
"releaseTag": "Public",
|
|
4992
|
+
"name": "halfExtents",
|
|
4993
|
+
"propertyTypeTokenRange": {
|
|
4994
|
+
"startIndex": 1,
|
|
4995
|
+
"endIndex": 2
|
|
4996
|
+
},
|
|
4997
|
+
"isStatic": false,
|
|
4998
|
+
"isProtected": false,
|
|
4999
|
+
"isAbstract": false
|
|
5000
|
+
},
|
|
4970
5001
|
{
|
|
4971
5002
|
"kind": "Property",
|
|
4972
5003
|
"canonicalReference": "server!BlockType#id:member",
|
|
@@ -5087,6 +5118,37 @@
|
|
|
5087
5118
|
"isProtected": false,
|
|
5088
5119
|
"isAbstract": false
|
|
5089
5120
|
},
|
|
5121
|
+
{
|
|
5122
|
+
"kind": "Property",
|
|
5123
|
+
"canonicalReference": "server!BlockType#size:member",
|
|
5124
|
+
"docComment": "/**\n * The size of the block type.\n */\n",
|
|
5125
|
+
"excerptTokens": [
|
|
5126
|
+
{
|
|
5127
|
+
"kind": "Content",
|
|
5128
|
+
"text": "get size(): "
|
|
5129
|
+
},
|
|
5130
|
+
{
|
|
5131
|
+
"kind": "Reference",
|
|
5132
|
+
"text": "Vector3Like",
|
|
5133
|
+
"canonicalReference": "server!Vector3Like:interface"
|
|
5134
|
+
},
|
|
5135
|
+
{
|
|
5136
|
+
"kind": "Content",
|
|
5137
|
+
"text": ";"
|
|
5138
|
+
}
|
|
5139
|
+
],
|
|
5140
|
+
"isReadonly": true,
|
|
5141
|
+
"isOptional": false,
|
|
5142
|
+
"releaseTag": "Public",
|
|
5143
|
+
"name": "size",
|
|
5144
|
+
"propertyTypeTokenRange": {
|
|
5145
|
+
"startIndex": 1,
|
|
5146
|
+
"endIndex": 2
|
|
5147
|
+
},
|
|
5148
|
+
"isStatic": false,
|
|
5149
|
+
"isProtected": false,
|
|
5150
|
+
"isAbstract": false
|
|
5151
|
+
},
|
|
5090
5152
|
{
|
|
5091
5153
|
"kind": "Property",
|
|
5092
5154
|
"canonicalReference": "server!BlockType#textureUri:member",
|
|
@@ -5349,8 +5411,8 @@
|
|
|
5349
5411
|
},
|
|
5350
5412
|
{
|
|
5351
5413
|
"kind": "Reference",
|
|
5352
|
-
"text": "
|
|
5353
|
-
"canonicalReference": "server!
|
|
5414
|
+
"text": "VoxelsColliderOptions",
|
|
5415
|
+
"canonicalReference": "server!VoxelsColliderOptions:interface"
|
|
5354
5416
|
},
|
|
5355
5417
|
{
|
|
5356
5418
|
"kind": "Content",
|
|
@@ -5366,6 +5428,34 @@
|
|
|
5366
5428
|
"endIndex": 2
|
|
5367
5429
|
}
|
|
5368
5430
|
},
|
|
5431
|
+
{
|
|
5432
|
+
"kind": "PropertySignature",
|
|
5433
|
+
"canonicalReference": "server!BlockTypeOptions#halfExtents:member",
|
|
5434
|
+
"docComment": "/**\n * The half extents size of the block type.\n */\n",
|
|
5435
|
+
"excerptTokens": [
|
|
5436
|
+
{
|
|
5437
|
+
"kind": "Content",
|
|
5438
|
+
"text": "halfExtents?: "
|
|
5439
|
+
},
|
|
5440
|
+
{
|
|
5441
|
+
"kind": "Reference",
|
|
5442
|
+
"text": "Vector3Like",
|
|
5443
|
+
"canonicalReference": "server!Vector3Like:interface"
|
|
5444
|
+
},
|
|
5445
|
+
{
|
|
5446
|
+
"kind": "Content",
|
|
5447
|
+
"text": ";"
|
|
5448
|
+
}
|
|
5449
|
+
],
|
|
5450
|
+
"isReadonly": false,
|
|
5451
|
+
"isOptional": true,
|
|
5452
|
+
"releaseTag": "Public",
|
|
5453
|
+
"name": "halfExtents",
|
|
5454
|
+
"propertyTypeTokenRange": {
|
|
5455
|
+
"startIndex": 1,
|
|
5456
|
+
"endIndex": 2
|
|
5457
|
+
}
|
|
5458
|
+
},
|
|
5369
5459
|
{
|
|
5370
5460
|
"kind": "PropertySignature",
|
|
5371
5461
|
"canonicalReference": "server!BlockTypeOptions#id:member",
|
|
@@ -6422,20 +6512,11 @@
|
|
|
6422
6512
|
{
|
|
6423
6513
|
"kind": "Class",
|
|
6424
6514
|
"canonicalReference": "server!Chunk:class",
|
|
6425
|
-
"docComment": "/**\n * A 16^3 chunk of blocks. Used to represent a world's terrain.\n *\n * @remarks\n *\n * Chunks make up the bulk of the terrain in a world. Chunks are fixed size, each containing 16^3 possible blocks as a 16x16x16 cube. Chunks
|
|
6515
|
+
"docComment": "/**\n * A 16^3 chunk of blocks. Used to represent a world's terrain.\n *\n * @remarks\n *\n * Chunks make up the bulk of the terrain in a world. Chunks are fixed size, each containing 16^3 possible blocks as a 16x16x16 cube. Chunks are primarily a data structure used by {@link ChunkLattice} to represent a world's terrain. Chunks store their internal block coordinates in local space, meaning local coordinates x: 0...15, y: 0...15, z: 0...15.\n *\n * @public\n */\n",
|
|
6426
6516
|
"excerptTokens": [
|
|
6427
6517
|
{
|
|
6428
6518
|
"kind": "Content",
|
|
6429
|
-
"text": "export default class Chunk
|
|
6430
|
-
},
|
|
6431
|
-
{
|
|
6432
|
-
"kind": "Reference",
|
|
6433
|
-
"text": "EventRouter",
|
|
6434
|
-
"canonicalReference": "server!EventRouter:class"
|
|
6435
|
-
},
|
|
6436
|
-
{
|
|
6437
|
-
"kind": "Content",
|
|
6438
|
-
"text": " implements "
|
|
6519
|
+
"text": "export default class Chunk implements "
|
|
6439
6520
|
},
|
|
6440
6521
|
{
|
|
6441
6522
|
"kind": "Reference",
|
|
@@ -6460,30 +6541,7 @@
|
|
|
6460
6541
|
"excerptTokens": [
|
|
6461
6542
|
{
|
|
6462
6543
|
"kind": "Content",
|
|
6463
|
-
"text": "constructor(
|
|
6464
|
-
}
|
|
6465
|
-
],
|
|
6466
|
-
"releaseTag": "Public",
|
|
6467
|
-
"isProtected": false,
|
|
6468
|
-
"overloadIndex": 1,
|
|
6469
|
-
"parameters": []
|
|
6470
|
-
},
|
|
6471
|
-
{
|
|
6472
|
-
"kind": "Method",
|
|
6473
|
-
"canonicalReference": "server!Chunk.blockIndexToLocalCoordinate:member(1)",
|
|
6474
|
-
"docComment": "/**\n * Convert a block index to a local coordinate.\n *\n * @param index - The index of the block to convert.\n *\n * @returns The local coordinate of the block.\n */\n",
|
|
6475
|
-
"excerptTokens": [
|
|
6476
|
-
{
|
|
6477
|
-
"kind": "Content",
|
|
6478
|
-
"text": "static blockIndexToLocalCoordinate(index: "
|
|
6479
|
-
},
|
|
6480
|
-
{
|
|
6481
|
-
"kind": "Content",
|
|
6482
|
-
"text": "number"
|
|
6483
|
-
},
|
|
6484
|
-
{
|
|
6485
|
-
"kind": "Content",
|
|
6486
|
-
"text": "): "
|
|
6544
|
+
"text": "constructor(originCoordinate: "
|
|
6487
6545
|
},
|
|
6488
6546
|
{
|
|
6489
6547
|
"kind": "Reference",
|
|
@@ -6492,169 +6550,36 @@
|
|
|
6492
6550
|
},
|
|
6493
6551
|
{
|
|
6494
6552
|
"kind": "Content",
|
|
6495
|
-
"text": ";"
|
|
6553
|
+
"text": ");"
|
|
6496
6554
|
}
|
|
6497
6555
|
],
|
|
6498
|
-
"isStatic": true,
|
|
6499
|
-
"returnTypeTokenRange": {
|
|
6500
|
-
"startIndex": 3,
|
|
6501
|
-
"endIndex": 4
|
|
6502
|
-
},
|
|
6503
6556
|
"releaseTag": "Public",
|
|
6504
6557
|
"isProtected": false,
|
|
6505
6558
|
"overloadIndex": 1,
|
|
6506
6559
|
"parameters": [
|
|
6507
6560
|
{
|
|
6508
|
-
"parameterName": "
|
|
6561
|
+
"parameterName": "originCoordinate",
|
|
6509
6562
|
"parameterTypeTokenRange": {
|
|
6510
6563
|
"startIndex": 1,
|
|
6511
6564
|
"endIndex": 2
|
|
6512
6565
|
},
|
|
6513
6566
|
"isOptional": false
|
|
6514
6567
|
}
|
|
6515
|
-
]
|
|
6516
|
-
"isOptional": false,
|
|
6517
|
-
"isAbstract": false,
|
|
6518
|
-
"name": "blockIndexToLocalCoordinate"
|
|
6519
|
-
},
|
|
6520
|
-
{
|
|
6521
|
-
"kind": "Property",
|
|
6522
|
-
"canonicalReference": "server!Chunk#blocks:member",
|
|
6523
|
-
"docComment": "/**\n * The blocks in the chunk as a flat Uint8Array[4096], each index as 0 or a block type id.\n */\n",
|
|
6524
|
-
"excerptTokens": [
|
|
6525
|
-
{
|
|
6526
|
-
"kind": "Content",
|
|
6527
|
-
"text": "get blocks(): "
|
|
6528
|
-
},
|
|
6529
|
-
{
|
|
6530
|
-
"kind": "Reference",
|
|
6531
|
-
"text": "Readonly",
|
|
6532
|
-
"canonicalReference": "!Readonly:type"
|
|
6533
|
-
},
|
|
6534
|
-
{
|
|
6535
|
-
"kind": "Content",
|
|
6536
|
-
"text": "<"
|
|
6537
|
-
},
|
|
6538
|
-
{
|
|
6539
|
-
"kind": "Reference",
|
|
6540
|
-
"text": "Uint8Array",
|
|
6541
|
-
"canonicalReference": "!Uint8Array:interface"
|
|
6542
|
-
},
|
|
6543
|
-
{
|
|
6544
|
-
"kind": "Content",
|
|
6545
|
-
"text": ">"
|
|
6546
|
-
},
|
|
6547
|
-
{
|
|
6548
|
-
"kind": "Content",
|
|
6549
|
-
"text": ";"
|
|
6550
|
-
}
|
|
6551
|
-
],
|
|
6552
|
-
"isReadonly": true,
|
|
6553
|
-
"isOptional": false,
|
|
6554
|
-
"releaseTag": "Public",
|
|
6555
|
-
"name": "blocks",
|
|
6556
|
-
"propertyTypeTokenRange": {
|
|
6557
|
-
"startIndex": 1,
|
|
6558
|
-
"endIndex": 5
|
|
6559
|
-
},
|
|
6560
|
-
"isStatic": false,
|
|
6561
|
-
"isProtected": false,
|
|
6562
|
-
"isAbstract": false
|
|
6563
|
-
},
|
|
6564
|
-
{
|
|
6565
|
-
"kind": "Method",
|
|
6566
|
-
"canonicalReference": "server!Chunk#despawn:member(1)",
|
|
6567
|
-
"docComment": "/**\n * Despawn the chunk from the world.\n */\n",
|
|
6568
|
-
"excerptTokens": [
|
|
6569
|
-
{
|
|
6570
|
-
"kind": "Content",
|
|
6571
|
-
"text": "despawn(): "
|
|
6572
|
-
},
|
|
6573
|
-
{
|
|
6574
|
-
"kind": "Content",
|
|
6575
|
-
"text": "void"
|
|
6576
|
-
},
|
|
6577
|
-
{
|
|
6578
|
-
"kind": "Content",
|
|
6579
|
-
"text": ";"
|
|
6580
|
-
}
|
|
6581
|
-
],
|
|
6582
|
-
"isStatic": false,
|
|
6583
|
-
"returnTypeTokenRange": {
|
|
6584
|
-
"startIndex": 1,
|
|
6585
|
-
"endIndex": 2
|
|
6586
|
-
},
|
|
6587
|
-
"releaseTag": "Public",
|
|
6588
|
-
"isProtected": false,
|
|
6589
|
-
"overloadIndex": 1,
|
|
6590
|
-
"parameters": [],
|
|
6591
|
-
"isOptional": false,
|
|
6592
|
-
"isAbstract": false,
|
|
6593
|
-
"name": "despawn"
|
|
6568
|
+
]
|
|
6594
6569
|
},
|
|
6595
6570
|
{
|
|
6596
6571
|
"kind": "Method",
|
|
6597
|
-
"canonicalReference": "server!Chunk
|
|
6598
|
-
"docComment": "/**\n *
|
|
6572
|
+
"canonicalReference": "server!Chunk.blockIndexToLocalCoordinate:member(1)",
|
|
6573
|
+
"docComment": "/**\n * Convert a block index to a local coordinate.\n *\n * @param index - The index of the block to convert.\n *\n * @returns The local coordinate of the block.\n */\n",
|
|
6599
6574
|
"excerptTokens": [
|
|
6600
6575
|
{
|
|
6601
6576
|
"kind": "Content",
|
|
6602
|
-
"text": "
|
|
6603
|
-
},
|
|
6604
|
-
{
|
|
6605
|
-
"kind": "Reference",
|
|
6606
|
-
"text": "Vector3Like",
|
|
6607
|
-
"canonicalReference": "server!Vector3Like:interface"
|
|
6608
|
-
},
|
|
6609
|
-
{
|
|
6610
|
-
"kind": "Content",
|
|
6611
|
-
"text": "): "
|
|
6577
|
+
"text": "static blockIndexToLocalCoordinate(index: "
|
|
6612
6578
|
},
|
|
6613
6579
|
{
|
|
6614
6580
|
"kind": "Content",
|
|
6615
6581
|
"text": "number"
|
|
6616
6582
|
},
|
|
6617
|
-
{
|
|
6618
|
-
"kind": "Content",
|
|
6619
|
-
"text": ";"
|
|
6620
|
-
}
|
|
6621
|
-
],
|
|
6622
|
-
"isStatic": false,
|
|
6623
|
-
"returnTypeTokenRange": {
|
|
6624
|
-
"startIndex": 3,
|
|
6625
|
-
"endIndex": 4
|
|
6626
|
-
},
|
|
6627
|
-
"releaseTag": "Public",
|
|
6628
|
-
"isProtected": false,
|
|
6629
|
-
"overloadIndex": 1,
|
|
6630
|
-
"parameters": [
|
|
6631
|
-
{
|
|
6632
|
-
"parameterName": "localCoordinate",
|
|
6633
|
-
"parameterTypeTokenRange": {
|
|
6634
|
-
"startIndex": 1,
|
|
6635
|
-
"endIndex": 2
|
|
6636
|
-
},
|
|
6637
|
-
"isOptional": false
|
|
6638
|
-
}
|
|
6639
|
-
],
|
|
6640
|
-
"isOptional": false,
|
|
6641
|
-
"isAbstract": false,
|
|
6642
|
-
"name": "getBlockId"
|
|
6643
|
-
},
|
|
6644
|
-
{
|
|
6645
|
-
"kind": "Method",
|
|
6646
|
-
"canonicalReference": "server!Chunk.globalCoordinateToLocalCoordinate:member(1)",
|
|
6647
|
-
"docComment": "/**\n * Convert a global coordinate to a local coordinate.\n *\n * @param globalCoordinate - The global coordinate to convert.\n *\n * @returns The local coordinate.\n */\n",
|
|
6648
|
-
"excerptTokens": [
|
|
6649
|
-
{
|
|
6650
|
-
"kind": "Content",
|
|
6651
|
-
"text": "static globalCoordinateToLocalCoordinate(globalCoordinate: "
|
|
6652
|
-
},
|
|
6653
|
-
{
|
|
6654
|
-
"kind": "Reference",
|
|
6655
|
-
"text": "Vector3Like",
|
|
6656
|
-
"canonicalReference": "server!Vector3Like:interface"
|
|
6657
|
-
},
|
|
6658
6583
|
{
|
|
6659
6584
|
"kind": "Content",
|
|
6660
6585
|
"text": "): "
|
|
@@ -6679,7 +6604,7 @@
|
|
|
6679
6604
|
"overloadIndex": 1,
|
|
6680
6605
|
"parameters": [
|
|
6681
6606
|
{
|
|
6682
|
-
"parameterName": "
|
|
6607
|
+
"parameterName": "index",
|
|
6683
6608
|
"parameterTypeTokenRange": {
|
|
6684
6609
|
"startIndex": 1,
|
|
6685
6610
|
"endIndex": 2
|
|
@@ -6689,66 +6614,60 @@
|
|
|
6689
6614
|
],
|
|
6690
6615
|
"isOptional": false,
|
|
6691
6616
|
"isAbstract": false,
|
|
6692
|
-
"name": "
|
|
6617
|
+
"name": "blockIndexToLocalCoordinate"
|
|
6693
6618
|
},
|
|
6694
6619
|
{
|
|
6695
|
-
"kind": "
|
|
6696
|
-
"canonicalReference": "server!Chunk
|
|
6697
|
-
"docComment": "/**\n *
|
|
6620
|
+
"kind": "Property",
|
|
6621
|
+
"canonicalReference": "server!Chunk#blocks:member",
|
|
6622
|
+
"docComment": "/**\n * The blocks in the chunk as a flat Uint8Array[4096], each index as 0 or a block type id.\n */\n",
|
|
6698
6623
|
"excerptTokens": [
|
|
6699
6624
|
{
|
|
6700
6625
|
"kind": "Content",
|
|
6701
|
-
"text": "
|
|
6626
|
+
"text": "get blocks(): "
|
|
6702
6627
|
},
|
|
6703
6628
|
{
|
|
6704
6629
|
"kind": "Reference",
|
|
6705
|
-
"text": "
|
|
6706
|
-
"canonicalReference": "
|
|
6630
|
+
"text": "Readonly",
|
|
6631
|
+
"canonicalReference": "!Readonly:type"
|
|
6707
6632
|
},
|
|
6708
6633
|
{
|
|
6709
6634
|
"kind": "Content",
|
|
6710
|
-
"text": "
|
|
6635
|
+
"text": "<"
|
|
6711
6636
|
},
|
|
6712
6637
|
{
|
|
6713
6638
|
"kind": "Reference",
|
|
6714
|
-
"text": "
|
|
6715
|
-
"canonicalReference": "
|
|
6639
|
+
"text": "Uint8Array",
|
|
6640
|
+
"canonicalReference": "!Uint8Array:interface"
|
|
6641
|
+
},
|
|
6642
|
+
{
|
|
6643
|
+
"kind": "Content",
|
|
6644
|
+
"text": ">"
|
|
6716
6645
|
},
|
|
6717
6646
|
{
|
|
6718
6647
|
"kind": "Content",
|
|
6719
6648
|
"text": ";"
|
|
6720
6649
|
}
|
|
6721
6650
|
],
|
|
6722
|
-
"
|
|
6723
|
-
"
|
|
6724
|
-
"startIndex": 3,
|
|
6725
|
-
"endIndex": 4
|
|
6726
|
-
},
|
|
6651
|
+
"isReadonly": true,
|
|
6652
|
+
"isOptional": false,
|
|
6727
6653
|
"releaseTag": "Public",
|
|
6654
|
+
"name": "blocks",
|
|
6655
|
+
"propertyTypeTokenRange": {
|
|
6656
|
+
"startIndex": 1,
|
|
6657
|
+
"endIndex": 5
|
|
6658
|
+
},
|
|
6659
|
+
"isStatic": false,
|
|
6728
6660
|
"isProtected": false,
|
|
6729
|
-
"
|
|
6730
|
-
"parameters": [
|
|
6731
|
-
{
|
|
6732
|
-
"parameterName": "globalCoordinate",
|
|
6733
|
-
"parameterTypeTokenRange": {
|
|
6734
|
-
"startIndex": 1,
|
|
6735
|
-
"endIndex": 2
|
|
6736
|
-
},
|
|
6737
|
-
"isOptional": false
|
|
6738
|
-
}
|
|
6739
|
-
],
|
|
6740
|
-
"isOptional": false,
|
|
6741
|
-
"isAbstract": false,
|
|
6742
|
-
"name": "globalCoordinateToOriginCoordinate"
|
|
6661
|
+
"isAbstract": false
|
|
6743
6662
|
},
|
|
6744
6663
|
{
|
|
6745
6664
|
"kind": "Method",
|
|
6746
|
-
"canonicalReference": "server!Chunk#
|
|
6747
|
-
"docComment": "/**\n *
|
|
6665
|
+
"canonicalReference": "server!Chunk#getBlockId:member(1)",
|
|
6666
|
+
"docComment": "/**\n * Get the block type id at a specific local coordinate.\n *\n * @param localCoordinate - The local coordinate of the block to get.\n *\n * @returns The block type id.\n */\n",
|
|
6748
6667
|
"excerptTokens": [
|
|
6749
6668
|
{
|
|
6750
6669
|
"kind": "Content",
|
|
6751
|
-
"text": "
|
|
6670
|
+
"text": "getBlockId(localCoordinate: "
|
|
6752
6671
|
},
|
|
6753
6672
|
{
|
|
6754
6673
|
"kind": "Reference",
|
|
@@ -6761,7 +6680,7 @@
|
|
|
6761
6680
|
},
|
|
6762
6681
|
{
|
|
6763
6682
|
"kind": "Content",
|
|
6764
|
-
"text": "
|
|
6683
|
+
"text": "number"
|
|
6765
6684
|
},
|
|
6766
6685
|
{
|
|
6767
6686
|
"kind": "Content",
|
|
@@ -6788,76 +6707,16 @@
|
|
|
6788
6707
|
],
|
|
6789
6708
|
"isOptional": false,
|
|
6790
6709
|
"isAbstract": false,
|
|
6791
|
-
"name": "
|
|
6792
|
-
},
|
|
6793
|
-
{
|
|
6794
|
-
"kind": "Property",
|
|
6795
|
-
"canonicalReference": "server!Chunk#isSimulated:member",
|
|
6796
|
-
"docComment": "/**\n * Whether the chunk is actively simulated in the internal physics engine.\n */\n",
|
|
6797
|
-
"excerptTokens": [
|
|
6798
|
-
{
|
|
6799
|
-
"kind": "Content",
|
|
6800
|
-
"text": "get isSimulated(): "
|
|
6801
|
-
},
|
|
6802
|
-
{
|
|
6803
|
-
"kind": "Content",
|
|
6804
|
-
"text": "boolean"
|
|
6805
|
-
},
|
|
6806
|
-
{
|
|
6807
|
-
"kind": "Content",
|
|
6808
|
-
"text": ";"
|
|
6809
|
-
}
|
|
6810
|
-
],
|
|
6811
|
-
"isReadonly": true,
|
|
6812
|
-
"isOptional": false,
|
|
6813
|
-
"releaseTag": "Public",
|
|
6814
|
-
"name": "isSimulated",
|
|
6815
|
-
"propertyTypeTokenRange": {
|
|
6816
|
-
"startIndex": 1,
|
|
6817
|
-
"endIndex": 2
|
|
6818
|
-
},
|
|
6819
|
-
"isStatic": false,
|
|
6820
|
-
"isProtected": false,
|
|
6821
|
-
"isAbstract": false
|
|
6822
|
-
},
|
|
6823
|
-
{
|
|
6824
|
-
"kind": "Property",
|
|
6825
|
-
"canonicalReference": "server!Chunk#isSpawned:member",
|
|
6826
|
-
"docComment": "/**\n * Whether the chunk has been spawned.\n */\n",
|
|
6827
|
-
"excerptTokens": [
|
|
6828
|
-
{
|
|
6829
|
-
"kind": "Content",
|
|
6830
|
-
"text": "get isSpawned(): "
|
|
6831
|
-
},
|
|
6832
|
-
{
|
|
6833
|
-
"kind": "Content",
|
|
6834
|
-
"text": "boolean"
|
|
6835
|
-
},
|
|
6836
|
-
{
|
|
6837
|
-
"kind": "Content",
|
|
6838
|
-
"text": ";"
|
|
6839
|
-
}
|
|
6840
|
-
],
|
|
6841
|
-
"isReadonly": true,
|
|
6842
|
-
"isOptional": false,
|
|
6843
|
-
"releaseTag": "Public",
|
|
6844
|
-
"name": "isSpawned",
|
|
6845
|
-
"propertyTypeTokenRange": {
|
|
6846
|
-
"startIndex": 1,
|
|
6847
|
-
"endIndex": 2
|
|
6848
|
-
},
|
|
6849
|
-
"isStatic": false,
|
|
6850
|
-
"isProtected": false,
|
|
6851
|
-
"isAbstract": false
|
|
6710
|
+
"name": "getBlockId"
|
|
6852
6711
|
},
|
|
6853
6712
|
{
|
|
6854
6713
|
"kind": "Method",
|
|
6855
|
-
"canonicalReference": "server!Chunk.
|
|
6856
|
-
"docComment": "/**\n *
|
|
6714
|
+
"canonicalReference": "server!Chunk.globalCoordinateToLocalCoordinate:member(1)",
|
|
6715
|
+
"docComment": "/**\n * Convert a global coordinate to a local coordinate.\n *\n * @param globalCoordinate - The global coordinate to convert.\n *\n * @returns The local coordinate.\n */\n",
|
|
6857
6716
|
"excerptTokens": [
|
|
6858
6717
|
{
|
|
6859
6718
|
"kind": "Content",
|
|
6860
|
-
"text": "static
|
|
6719
|
+
"text": "static globalCoordinateToLocalCoordinate(globalCoordinate: "
|
|
6861
6720
|
},
|
|
6862
6721
|
{
|
|
6863
6722
|
"kind": "Reference",
|
|
@@ -6869,8 +6728,9 @@
|
|
|
6869
6728
|
"text": "): "
|
|
6870
6729
|
},
|
|
6871
6730
|
{
|
|
6872
|
-
"kind": "
|
|
6873
|
-
"text": "
|
|
6731
|
+
"kind": "Reference",
|
|
6732
|
+
"text": "Vector3Like",
|
|
6733
|
+
"canonicalReference": "server!Vector3Like:interface"
|
|
6874
6734
|
},
|
|
6875
6735
|
{
|
|
6876
6736
|
"kind": "Content",
|
|
@@ -6887,7 +6747,7 @@
|
|
|
6887
6747
|
"overloadIndex": 1,
|
|
6888
6748
|
"parameters": [
|
|
6889
6749
|
{
|
|
6890
|
-
"parameterName": "
|
|
6750
|
+
"parameterName": "globalCoordinate",
|
|
6891
6751
|
"parameterTypeTokenRange": {
|
|
6892
6752
|
"startIndex": 1,
|
|
6893
6753
|
"endIndex": 2
|
|
@@ -6897,16 +6757,16 @@
|
|
|
6897
6757
|
],
|
|
6898
6758
|
"isOptional": false,
|
|
6899
6759
|
"isAbstract": false,
|
|
6900
|
-
"name": "
|
|
6760
|
+
"name": "globalCoordinateToLocalCoordinate"
|
|
6901
6761
|
},
|
|
6902
6762
|
{
|
|
6903
|
-
"kind": "
|
|
6904
|
-
"canonicalReference": "server!Chunk
|
|
6905
|
-
"docComment": "/**\n *
|
|
6763
|
+
"kind": "Method",
|
|
6764
|
+
"canonicalReference": "server!Chunk.globalCoordinateToOriginCoordinate:member(1)",
|
|
6765
|
+
"docComment": "/**\n * Convert a global coordinate to an origin coordinate.\n *\n * @param globalCoordinate - The global coordinate to convert.\n *\n * @returns The origin coordinate.\n */\n",
|
|
6906
6766
|
"excerptTokens": [
|
|
6907
6767
|
{
|
|
6908
6768
|
"kind": "Content",
|
|
6909
|
-
"text": "
|
|
6769
|
+
"text": "static globalCoordinateToOriginCoordinate(globalCoordinate: "
|
|
6910
6770
|
},
|
|
6911
6771
|
{
|
|
6912
6772
|
"kind": "Reference",
|
|
@@ -6915,107 +6775,48 @@
|
|
|
6915
6775
|
},
|
|
6916
6776
|
{
|
|
6917
6777
|
"kind": "Content",
|
|
6918
|
-
"text": "
|
|
6919
|
-
},
|
|
6920
|
-
{
|
|
6921
|
-
"kind": "Content",
|
|
6922
|
-
"text": ";"
|
|
6923
|
-
}
|
|
6924
|
-
],
|
|
6925
|
-
"isReadonly": true,
|
|
6926
|
-
"isOptional": false,
|
|
6927
|
-
"releaseTag": "Public",
|
|
6928
|
-
"name": "originCoordinate",
|
|
6929
|
-
"propertyTypeTokenRange": {
|
|
6930
|
-
"startIndex": 1,
|
|
6931
|
-
"endIndex": 3
|
|
6932
|
-
},
|
|
6933
|
-
"isStatic": false,
|
|
6934
|
-
"isProtected": false,
|
|
6935
|
-
"isAbstract": false
|
|
6936
|
-
},
|
|
6937
|
-
{
|
|
6938
|
-
"kind": "Method",
|
|
6939
|
-
"canonicalReference": "server!Chunk#setBlock:member(1)",
|
|
6940
|
-
"docComment": "/**\n * Set the block at a specific local coordinate by block type id.\n *\n * @param localCoordinate - The local coordinate of the block to set.\n *\n * @param blockTypeId - The block type id to set.\n */\n",
|
|
6941
|
-
"excerptTokens": [
|
|
6942
|
-
{
|
|
6943
|
-
"kind": "Content",
|
|
6944
|
-
"text": "setBlock(localCoordinate: "
|
|
6778
|
+
"text": "): "
|
|
6945
6779
|
},
|
|
6946
6780
|
{
|
|
6947
6781
|
"kind": "Reference",
|
|
6948
6782
|
"text": "Vector3Like",
|
|
6949
6783
|
"canonicalReference": "server!Vector3Like:interface"
|
|
6950
6784
|
},
|
|
6951
|
-
{
|
|
6952
|
-
"kind": "Content",
|
|
6953
|
-
"text": ", blockTypeId: "
|
|
6954
|
-
},
|
|
6955
|
-
{
|
|
6956
|
-
"kind": "Content",
|
|
6957
|
-
"text": "number"
|
|
6958
|
-
},
|
|
6959
|
-
{
|
|
6960
|
-
"kind": "Content",
|
|
6961
|
-
"text": "): "
|
|
6962
|
-
},
|
|
6963
|
-
{
|
|
6964
|
-
"kind": "Content",
|
|
6965
|
-
"text": "void"
|
|
6966
|
-
},
|
|
6967
6785
|
{
|
|
6968
6786
|
"kind": "Content",
|
|
6969
6787
|
"text": ";"
|
|
6970
6788
|
}
|
|
6971
6789
|
],
|
|
6972
|
-
"isStatic":
|
|
6790
|
+
"isStatic": true,
|
|
6973
6791
|
"returnTypeTokenRange": {
|
|
6974
|
-
"startIndex":
|
|
6975
|
-
"endIndex":
|
|
6792
|
+
"startIndex": 3,
|
|
6793
|
+
"endIndex": 4
|
|
6976
6794
|
},
|
|
6977
6795
|
"releaseTag": "Public",
|
|
6978
6796
|
"isProtected": false,
|
|
6979
6797
|
"overloadIndex": 1,
|
|
6980
6798
|
"parameters": [
|
|
6981
6799
|
{
|
|
6982
|
-
"parameterName": "
|
|
6800
|
+
"parameterName": "globalCoordinate",
|
|
6983
6801
|
"parameterTypeTokenRange": {
|
|
6984
6802
|
"startIndex": 1,
|
|
6985
6803
|
"endIndex": 2
|
|
6986
6804
|
},
|
|
6987
6805
|
"isOptional": false
|
|
6988
|
-
},
|
|
6989
|
-
{
|
|
6990
|
-
"parameterName": "blockTypeId",
|
|
6991
|
-
"parameterTypeTokenRange": {
|
|
6992
|
-
"startIndex": 3,
|
|
6993
|
-
"endIndex": 4
|
|
6994
|
-
},
|
|
6995
|
-
"isOptional": false
|
|
6996
6806
|
}
|
|
6997
6807
|
],
|
|
6998
6808
|
"isOptional": false,
|
|
6999
6809
|
"isAbstract": false,
|
|
7000
|
-
"name": "
|
|
6810
|
+
"name": "globalCoordinateToOriginCoordinate"
|
|
7001
6811
|
},
|
|
7002
6812
|
{
|
|
7003
6813
|
"kind": "Method",
|
|
7004
|
-
"canonicalReference": "server!Chunk#
|
|
7005
|
-
"docComment": "/**\n *
|
|
6814
|
+
"canonicalReference": "server!Chunk#hasBlock:member(1)",
|
|
6815
|
+
"docComment": "/**\n * Check if a block exists at a specific local coordinate.\n *\n * @param localCoordinate - The local coordinate of the block to check.\n *\n * @returns Whether a block exists.\n */\n",
|
|
7006
6816
|
"excerptTokens": [
|
|
7007
6817
|
{
|
|
7008
6818
|
"kind": "Content",
|
|
7009
|
-
"text": "
|
|
7010
|
-
},
|
|
7011
|
-
{
|
|
7012
|
-
"kind": "Reference",
|
|
7013
|
-
"text": "World",
|
|
7014
|
-
"canonicalReference": "server!World:class"
|
|
7015
|
-
},
|
|
7016
|
-
{
|
|
7017
|
-
"kind": "Content",
|
|
7018
|
-
"text": ", originCoordinate: "
|
|
6819
|
+
"text": "hasBlock(localCoordinate: "
|
|
7019
6820
|
},
|
|
7020
6821
|
{
|
|
7021
6822
|
"kind": "Reference",
|
|
@@ -7028,7 +6829,7 @@
|
|
|
7028
6829
|
},
|
|
7029
6830
|
{
|
|
7030
6831
|
"kind": "Content",
|
|
7031
|
-
"text": "
|
|
6832
|
+
"text": "boolean"
|
|
7032
6833
|
},
|
|
7033
6834
|
{
|
|
7034
6835
|
"kind": "Content",
|
|
@@ -7037,51 +6838,39 @@
|
|
|
7037
6838
|
],
|
|
7038
6839
|
"isStatic": false,
|
|
7039
6840
|
"returnTypeTokenRange": {
|
|
7040
|
-
"startIndex":
|
|
7041
|
-
"endIndex":
|
|
6841
|
+
"startIndex": 3,
|
|
6842
|
+
"endIndex": 4
|
|
7042
6843
|
},
|
|
7043
6844
|
"releaseTag": "Public",
|
|
7044
6845
|
"isProtected": false,
|
|
7045
6846
|
"overloadIndex": 1,
|
|
7046
6847
|
"parameters": [
|
|
7047
6848
|
{
|
|
7048
|
-
"parameterName": "
|
|
6849
|
+
"parameterName": "localCoordinate",
|
|
7049
6850
|
"parameterTypeTokenRange": {
|
|
7050
6851
|
"startIndex": 1,
|
|
7051
6852
|
"endIndex": 2
|
|
7052
6853
|
},
|
|
7053
6854
|
"isOptional": false
|
|
7054
|
-
},
|
|
7055
|
-
{
|
|
7056
|
-
"parameterName": "originCoordinate",
|
|
7057
|
-
"parameterTypeTokenRange": {
|
|
7058
|
-
"startIndex": 3,
|
|
7059
|
-
"endIndex": 4
|
|
7060
|
-
},
|
|
7061
|
-
"isOptional": false
|
|
7062
6855
|
}
|
|
7063
6856
|
],
|
|
7064
6857
|
"isOptional": false,
|
|
7065
6858
|
"isAbstract": false,
|
|
7066
|
-
"name": "
|
|
6859
|
+
"name": "hasBlock"
|
|
7067
6860
|
},
|
|
7068
6861
|
{
|
|
7069
6862
|
"kind": "Property",
|
|
7070
|
-
"canonicalReference": "server!Chunk#
|
|
7071
|
-
"docComment": "/**\n * The
|
|
6863
|
+
"canonicalReference": "server!Chunk#originCoordinate:member",
|
|
6864
|
+
"docComment": "/**\n * The origin coordinate of the chunk.\n */\n",
|
|
7072
6865
|
"excerptTokens": [
|
|
7073
6866
|
{
|
|
7074
6867
|
"kind": "Content",
|
|
7075
|
-
"text": "get
|
|
6868
|
+
"text": "get originCoordinate(): "
|
|
7076
6869
|
},
|
|
7077
6870
|
{
|
|
7078
6871
|
"kind": "Reference",
|
|
7079
|
-
"text": "
|
|
7080
|
-
"canonicalReference": "server!
|
|
7081
|
-
},
|
|
7082
|
-
{
|
|
7083
|
-
"kind": "Content",
|
|
7084
|
-
"text": " | undefined"
|
|
6872
|
+
"text": "Vector3Like",
|
|
6873
|
+
"canonicalReference": "server!Vector3Like:interface"
|
|
7085
6874
|
},
|
|
7086
6875
|
{
|
|
7087
6876
|
"kind": "Content",
|
|
@@ -7091,286 +6880,40 @@
|
|
|
7091
6880
|
"isReadonly": true,
|
|
7092
6881
|
"isOptional": false,
|
|
7093
6882
|
"releaseTag": "Public",
|
|
7094
|
-
"name": "
|
|
6883
|
+
"name": "originCoordinate",
|
|
7095
6884
|
"propertyTypeTokenRange": {
|
|
7096
6885
|
"startIndex": 1,
|
|
7097
|
-
"endIndex":
|
|
6886
|
+
"endIndex": 2
|
|
7098
6887
|
},
|
|
7099
6888
|
"isStatic": false,
|
|
7100
6889
|
"isProtected": false,
|
|
7101
6890
|
"isAbstract": false
|
|
7102
6891
|
}
|
|
7103
6892
|
],
|
|
7104
|
-
"extendsTokenRange": {
|
|
7105
|
-
"startIndex": 1,
|
|
7106
|
-
"endIndex": 2
|
|
7107
|
-
},
|
|
7108
6893
|
"implementsTokenRanges": [
|
|
7109
6894
|
{
|
|
7110
|
-
"startIndex":
|
|
7111
|
-
"endIndex":
|
|
7112
|
-
}
|
|
7113
|
-
]
|
|
7114
|
-
},
|
|
7115
|
-
{
|
|
7116
|
-
"kind": "Enum",
|
|
7117
|
-
"canonicalReference": "server!ChunkEvent:enum",
|
|
7118
|
-
"docComment": "/**\n * Event types a Chunk instance can emit. See {@link ChunkEventPayloads} for the payloads.\n *\n * @public\n */\n",
|
|
7119
|
-
"excerptTokens": [
|
|
7120
|
-
{
|
|
7121
|
-
"kind": "Content",
|
|
7122
|
-
"text": "export declare enum ChunkEvent "
|
|
7123
|
-
}
|
|
7124
|
-
],
|
|
7125
|
-
"fileUrlPath": "src/worlds/blocks/Chunk.ts",
|
|
7126
|
-
"releaseTag": "Public",
|
|
7127
|
-
"name": "ChunkEvent",
|
|
7128
|
-
"preserveMemberOrder": false,
|
|
7129
|
-
"members": [
|
|
7130
|
-
{
|
|
7131
|
-
"kind": "EnumMember",
|
|
7132
|
-
"canonicalReference": "server!ChunkEvent.DESPAWN:member",
|
|
7133
|
-
"docComment": "",
|
|
7134
|
-
"excerptTokens": [
|
|
7135
|
-
{
|
|
7136
|
-
"kind": "Content",
|
|
7137
|
-
"text": "DESPAWN = "
|
|
7138
|
-
},
|
|
7139
|
-
{
|
|
7140
|
-
"kind": "Content",
|
|
7141
|
-
"text": "\"CHUNK.DESPAWN\""
|
|
7142
|
-
}
|
|
7143
|
-
],
|
|
7144
|
-
"initializerTokenRange": {
|
|
7145
|
-
"startIndex": 1,
|
|
7146
|
-
"endIndex": 2
|
|
7147
|
-
},
|
|
7148
|
-
"releaseTag": "Public",
|
|
7149
|
-
"name": "DESPAWN"
|
|
7150
|
-
},
|
|
7151
|
-
{
|
|
7152
|
-
"kind": "EnumMember",
|
|
7153
|
-
"canonicalReference": "server!ChunkEvent.SET_BLOCK:member",
|
|
7154
|
-
"docComment": "",
|
|
7155
|
-
"excerptTokens": [
|
|
7156
|
-
{
|
|
7157
|
-
"kind": "Content",
|
|
7158
|
-
"text": "SET_BLOCK = "
|
|
7159
|
-
},
|
|
7160
|
-
{
|
|
7161
|
-
"kind": "Content",
|
|
7162
|
-
"text": "\"CHUNK.SET_BLOCK\""
|
|
7163
|
-
}
|
|
7164
|
-
],
|
|
7165
|
-
"initializerTokenRange": {
|
|
7166
|
-
"startIndex": 1,
|
|
7167
|
-
"endIndex": 2
|
|
7168
|
-
},
|
|
7169
|
-
"releaseTag": "Public",
|
|
7170
|
-
"name": "SET_BLOCK"
|
|
7171
|
-
},
|
|
7172
|
-
{
|
|
7173
|
-
"kind": "EnumMember",
|
|
7174
|
-
"canonicalReference": "server!ChunkEvent.SPAWN:member",
|
|
7175
|
-
"docComment": "",
|
|
7176
|
-
"excerptTokens": [
|
|
7177
|
-
{
|
|
7178
|
-
"kind": "Content",
|
|
7179
|
-
"text": "SPAWN = "
|
|
7180
|
-
},
|
|
7181
|
-
{
|
|
7182
|
-
"kind": "Content",
|
|
7183
|
-
"text": "\"CHUNK.SPAWN\""
|
|
7184
|
-
}
|
|
7185
|
-
],
|
|
7186
|
-
"initializerTokenRange": {
|
|
7187
|
-
"startIndex": 1,
|
|
7188
|
-
"endIndex": 2
|
|
7189
|
-
},
|
|
7190
|
-
"releaseTag": "Public",
|
|
7191
|
-
"name": "SPAWN"
|
|
6895
|
+
"startIndex": 1,
|
|
6896
|
+
"endIndex": 2
|
|
7192
6897
|
}
|
|
7193
6898
|
]
|
|
7194
6899
|
},
|
|
7195
6900
|
{
|
|
7196
|
-
"kind": "
|
|
7197
|
-
"canonicalReference": "server!
|
|
7198
|
-
"docComment": "/**\n *
|
|
6901
|
+
"kind": "Class",
|
|
6902
|
+
"canonicalReference": "server!ChunkLattice:class",
|
|
6903
|
+
"docComment": "/**\n * A lattice of chunks that represent a world's terrain.\n *\n * @remarks\n *\n * The ChunkLattice lattice tracks the current terrain of a world, comprised of {@link Chunk} instances.\n *\n * @public\n */\n",
|
|
7199
6904
|
"excerptTokens": [
|
|
7200
6905
|
{
|
|
7201
6906
|
"kind": "Content",
|
|
7202
|
-
"text": "export
|
|
7203
|
-
}
|
|
7204
|
-
],
|
|
7205
|
-
"fileUrlPath": "src/worlds/blocks/Chunk.ts",
|
|
7206
|
-
"releaseTag": "Public",
|
|
7207
|
-
"name": "ChunkEventPayloads",
|
|
7208
|
-
"preserveMemberOrder": false,
|
|
7209
|
-
"members": [
|
|
7210
|
-
{
|
|
7211
|
-
"kind": "PropertySignature",
|
|
7212
|
-
"canonicalReference": "server!ChunkEventPayloads#\"CHUNK.DESPAWN\":member",
|
|
7213
|
-
"docComment": "/**\n * Emitted when a chunk is despawned.\n */\n",
|
|
7214
|
-
"excerptTokens": [
|
|
7215
|
-
{
|
|
7216
|
-
"kind": "Content",
|
|
7217
|
-
"text": "["
|
|
7218
|
-
},
|
|
7219
|
-
{
|
|
7220
|
-
"kind": "Reference",
|
|
7221
|
-
"text": "ChunkEvent.DESPAWN",
|
|
7222
|
-
"canonicalReference": "server!ChunkEvent.DESPAWN:member"
|
|
7223
|
-
},
|
|
7224
|
-
{
|
|
7225
|
-
"kind": "Content",
|
|
7226
|
-
"text": "]: "
|
|
7227
|
-
},
|
|
7228
|
-
{
|
|
7229
|
-
"kind": "Content",
|
|
7230
|
-
"text": "{\n chunk: "
|
|
7231
|
-
},
|
|
7232
|
-
{
|
|
7233
|
-
"kind": "Reference",
|
|
7234
|
-
"text": "Chunk",
|
|
7235
|
-
"canonicalReference": "server!Chunk:class"
|
|
7236
|
-
},
|
|
7237
|
-
{
|
|
7238
|
-
"kind": "Content",
|
|
7239
|
-
"text": ";\n }"
|
|
7240
|
-
},
|
|
7241
|
-
{
|
|
7242
|
-
"kind": "Content",
|
|
7243
|
-
"text": ";"
|
|
7244
|
-
}
|
|
7245
|
-
],
|
|
7246
|
-
"isReadonly": false,
|
|
7247
|
-
"isOptional": false,
|
|
7248
|
-
"releaseTag": "Public",
|
|
7249
|
-
"name": "\"CHUNK.DESPAWN\"",
|
|
7250
|
-
"propertyTypeTokenRange": {
|
|
7251
|
-
"startIndex": 3,
|
|
7252
|
-
"endIndex": 6
|
|
7253
|
-
}
|
|
6907
|
+
"text": "export default class ChunkLattice extends "
|
|
7254
6908
|
},
|
|
7255
6909
|
{
|
|
7256
|
-
"kind": "
|
|
7257
|
-
"
|
|
7258
|
-
"
|
|
7259
|
-
"excerptTokens": [
|
|
7260
|
-
{
|
|
7261
|
-
"kind": "Content",
|
|
7262
|
-
"text": "["
|
|
7263
|
-
},
|
|
7264
|
-
{
|
|
7265
|
-
"kind": "Reference",
|
|
7266
|
-
"text": "ChunkEvent.SET_BLOCK",
|
|
7267
|
-
"canonicalReference": "server!ChunkEvent.SET_BLOCK:member"
|
|
7268
|
-
},
|
|
7269
|
-
{
|
|
7270
|
-
"kind": "Content",
|
|
7271
|
-
"text": "]: "
|
|
7272
|
-
},
|
|
7273
|
-
{
|
|
7274
|
-
"kind": "Content",
|
|
7275
|
-
"text": "{\n chunk: "
|
|
7276
|
-
},
|
|
7277
|
-
{
|
|
7278
|
-
"kind": "Reference",
|
|
7279
|
-
"text": "Chunk",
|
|
7280
|
-
"canonicalReference": "server!Chunk:class"
|
|
7281
|
-
},
|
|
7282
|
-
{
|
|
7283
|
-
"kind": "Content",
|
|
7284
|
-
"text": ";\n globalCoordinate: "
|
|
7285
|
-
},
|
|
7286
|
-
{
|
|
7287
|
-
"kind": "Reference",
|
|
7288
|
-
"text": "Vector3Like",
|
|
7289
|
-
"canonicalReference": "server!Vector3Like:interface"
|
|
7290
|
-
},
|
|
7291
|
-
{
|
|
7292
|
-
"kind": "Content",
|
|
7293
|
-
"text": ";\n localCoordinate: "
|
|
7294
|
-
},
|
|
7295
|
-
{
|
|
7296
|
-
"kind": "Reference",
|
|
7297
|
-
"text": "Vector3Like",
|
|
7298
|
-
"canonicalReference": "server!Vector3Like:interface"
|
|
7299
|
-
},
|
|
7300
|
-
{
|
|
7301
|
-
"kind": "Content",
|
|
7302
|
-
"text": ";\n blockTypeId: number;\n }"
|
|
7303
|
-
},
|
|
7304
|
-
{
|
|
7305
|
-
"kind": "Content",
|
|
7306
|
-
"text": ";"
|
|
7307
|
-
}
|
|
7308
|
-
],
|
|
7309
|
-
"isReadonly": false,
|
|
7310
|
-
"isOptional": false,
|
|
7311
|
-
"releaseTag": "Public",
|
|
7312
|
-
"name": "\"CHUNK.SET_BLOCK\"",
|
|
7313
|
-
"propertyTypeTokenRange": {
|
|
7314
|
-
"startIndex": 3,
|
|
7315
|
-
"endIndex": 10
|
|
7316
|
-
}
|
|
6910
|
+
"kind": "Reference",
|
|
6911
|
+
"text": "EventRouter",
|
|
6912
|
+
"canonicalReference": "server!EventRouter:class"
|
|
7317
6913
|
},
|
|
7318
|
-
{
|
|
7319
|
-
"kind": "PropertySignature",
|
|
7320
|
-
"canonicalReference": "server!ChunkEventPayloads#\"CHUNK.SPAWN\":member",
|
|
7321
|
-
"docComment": "/**\n * Emitted when a chunk is spawned.\n */\n",
|
|
7322
|
-
"excerptTokens": [
|
|
7323
|
-
{
|
|
7324
|
-
"kind": "Content",
|
|
7325
|
-
"text": "["
|
|
7326
|
-
},
|
|
7327
|
-
{
|
|
7328
|
-
"kind": "Reference",
|
|
7329
|
-
"text": "ChunkEvent.SPAWN",
|
|
7330
|
-
"canonicalReference": "server!ChunkEvent.SPAWN:member"
|
|
7331
|
-
},
|
|
7332
|
-
{
|
|
7333
|
-
"kind": "Content",
|
|
7334
|
-
"text": "]: "
|
|
7335
|
-
},
|
|
7336
|
-
{
|
|
7337
|
-
"kind": "Content",
|
|
7338
|
-
"text": "{\n chunk: "
|
|
7339
|
-
},
|
|
7340
|
-
{
|
|
7341
|
-
"kind": "Reference",
|
|
7342
|
-
"text": "Chunk",
|
|
7343
|
-
"canonicalReference": "server!Chunk:class"
|
|
7344
|
-
},
|
|
7345
|
-
{
|
|
7346
|
-
"kind": "Content",
|
|
7347
|
-
"text": ";\n }"
|
|
7348
|
-
},
|
|
7349
|
-
{
|
|
7350
|
-
"kind": "Content",
|
|
7351
|
-
"text": ";"
|
|
7352
|
-
}
|
|
7353
|
-
],
|
|
7354
|
-
"isReadonly": false,
|
|
7355
|
-
"isOptional": false,
|
|
7356
|
-
"releaseTag": "Public",
|
|
7357
|
-
"name": "\"CHUNK.SPAWN\"",
|
|
7358
|
-
"propertyTypeTokenRange": {
|
|
7359
|
-
"startIndex": 3,
|
|
7360
|
-
"endIndex": 6
|
|
7361
|
-
}
|
|
7362
|
-
}
|
|
7363
|
-
],
|
|
7364
|
-
"extendsTokenRanges": []
|
|
7365
|
-
},
|
|
7366
|
-
{
|
|
7367
|
-
"kind": "Class",
|
|
7368
|
-
"canonicalReference": "server!ChunkLattice:class",
|
|
7369
|
-
"docComment": "/**\n * A lattice of chunks that represent a world's terrain.\n *\n * @remarks\n *\n * The ChunkLattice lattice tracks the current terrain of a world, comprised of {@link Chunk} instances.\n *\n * @public\n */\n",
|
|
7370
|
-
"excerptTokens": [
|
|
7371
6914
|
{
|
|
7372
6915
|
"kind": "Content",
|
|
7373
|
-
"text": "
|
|
6916
|
+
"text": " "
|
|
7374
6917
|
}
|
|
7375
6918
|
],
|
|
7376
6919
|
"fileUrlPath": "src/worlds/blocks/ChunkLattice.ts",
|
|
@@ -7445,7 +6988,7 @@
|
|
|
7445
6988
|
{
|
|
7446
6989
|
"kind": "Method",
|
|
7447
6990
|
"canonicalReference": "server!ChunkLattice#clear:member(1)",
|
|
7448
|
-
"docComment": "/**\n *
|
|
6991
|
+
"docComment": "/**\n * Removes and clears all chunks and their blocks from the lattice.\n */\n",
|
|
7449
6992
|
"excerptTokens": [
|
|
7450
6993
|
{
|
|
7451
6994
|
"kind": "Content",
|
|
@@ -7612,14 +7155,62 @@
|
|
|
7612
7155
|
"isAbstract": false,
|
|
7613
7156
|
"name": "getBlockType"
|
|
7614
7157
|
},
|
|
7158
|
+
{
|
|
7159
|
+
"kind": "Method",
|
|
7160
|
+
"canonicalReference": "server!ChunkLattice#getBlockTypeCount:member(1)",
|
|
7161
|
+
"docComment": "/**\n * Get the number of blocks of a specific block type in the lattice.\n *\n * @param blockTypeId - The block type id to get the count of.\n *\n * @returns The number of blocks of the block type.\n */\n",
|
|
7162
|
+
"excerptTokens": [
|
|
7163
|
+
{
|
|
7164
|
+
"kind": "Content",
|
|
7165
|
+
"text": "getBlockTypeCount(blockTypeId: "
|
|
7166
|
+
},
|
|
7167
|
+
{
|
|
7168
|
+
"kind": "Content",
|
|
7169
|
+
"text": "number"
|
|
7170
|
+
},
|
|
7171
|
+
{
|
|
7172
|
+
"kind": "Content",
|
|
7173
|
+
"text": "): "
|
|
7174
|
+
},
|
|
7175
|
+
{
|
|
7176
|
+
"kind": "Content",
|
|
7177
|
+
"text": "number"
|
|
7178
|
+
},
|
|
7179
|
+
{
|
|
7180
|
+
"kind": "Content",
|
|
7181
|
+
"text": ";"
|
|
7182
|
+
}
|
|
7183
|
+
],
|
|
7184
|
+
"isStatic": false,
|
|
7185
|
+
"returnTypeTokenRange": {
|
|
7186
|
+
"startIndex": 3,
|
|
7187
|
+
"endIndex": 4
|
|
7188
|
+
},
|
|
7189
|
+
"releaseTag": "Public",
|
|
7190
|
+
"isProtected": false,
|
|
7191
|
+
"overloadIndex": 1,
|
|
7192
|
+
"parameters": [
|
|
7193
|
+
{
|
|
7194
|
+
"parameterName": "blockTypeId",
|
|
7195
|
+
"parameterTypeTokenRange": {
|
|
7196
|
+
"startIndex": 1,
|
|
7197
|
+
"endIndex": 2
|
|
7198
|
+
},
|
|
7199
|
+
"isOptional": false
|
|
7200
|
+
}
|
|
7201
|
+
],
|
|
7202
|
+
"isOptional": false,
|
|
7203
|
+
"isAbstract": false,
|
|
7204
|
+
"name": "getBlockTypeCount"
|
|
7205
|
+
},
|
|
7615
7206
|
{
|
|
7616
7207
|
"kind": "Method",
|
|
7617
7208
|
"canonicalReference": "server!ChunkLattice#getChunk:member(1)",
|
|
7618
|
-
"docComment": "/**\n * Get
|
|
7209
|
+
"docComment": "/**\n * Get the chunk that contains the given global coordinate.\n *\n * @param globalCoordinate - The global coordinate to get the chunk for.\n *\n * @returns The chunk that contains the given global coordinate or undefined if not found.\n */\n",
|
|
7619
7210
|
"excerptTokens": [
|
|
7620
7211
|
{
|
|
7621
7212
|
"kind": "Content",
|
|
7622
|
-
"text": "getChunk(
|
|
7213
|
+
"text": "getChunk(globalCoordinate: "
|
|
7623
7214
|
},
|
|
7624
7215
|
{
|
|
7625
7216
|
"kind": "Reference",
|
|
@@ -7654,7 +7245,7 @@
|
|
|
7654
7245
|
"overloadIndex": 1,
|
|
7655
7246
|
"parameters": [
|
|
7656
7247
|
{
|
|
7657
|
-
"parameterName": "
|
|
7248
|
+
"parameterName": "globalCoordinate",
|
|
7658
7249
|
"parameterTypeTokenRange": {
|
|
7659
7250
|
"startIndex": 1,
|
|
7660
7251
|
"endIndex": 2
|
|
@@ -7666,6 +7257,56 @@
|
|
|
7666
7257
|
"isAbstract": false,
|
|
7667
7258
|
"name": "getChunk"
|
|
7668
7259
|
},
|
|
7260
|
+
{
|
|
7261
|
+
"kind": "Method",
|
|
7262
|
+
"canonicalReference": "server!ChunkLattice#getOrCreateChunk:member(1)",
|
|
7263
|
+
"docComment": "/**\n * Get the chunk for a given global coordinate.\n *\n * @param globalCoordinate - The global coordinate of the chunk to get.\n *\n * @returns The chunk at the given global coordinate or undefined if not found.\n */\n",
|
|
7264
|
+
"excerptTokens": [
|
|
7265
|
+
{
|
|
7266
|
+
"kind": "Content",
|
|
7267
|
+
"text": "getOrCreateChunk(globalCoordinate: "
|
|
7268
|
+
},
|
|
7269
|
+
{
|
|
7270
|
+
"kind": "Reference",
|
|
7271
|
+
"text": "Vector3Like",
|
|
7272
|
+
"canonicalReference": "server!Vector3Like:interface"
|
|
7273
|
+
},
|
|
7274
|
+
{
|
|
7275
|
+
"kind": "Content",
|
|
7276
|
+
"text": "): "
|
|
7277
|
+
},
|
|
7278
|
+
{
|
|
7279
|
+
"kind": "Reference",
|
|
7280
|
+
"text": "Chunk",
|
|
7281
|
+
"canonicalReference": "server!Chunk:class"
|
|
7282
|
+
},
|
|
7283
|
+
{
|
|
7284
|
+
"kind": "Content",
|
|
7285
|
+
"text": ";"
|
|
7286
|
+
}
|
|
7287
|
+
],
|
|
7288
|
+
"isStatic": false,
|
|
7289
|
+
"returnTypeTokenRange": {
|
|
7290
|
+
"startIndex": 3,
|
|
7291
|
+
"endIndex": 4
|
|
7292
|
+
},
|
|
7293
|
+
"releaseTag": "Public",
|
|
7294
|
+
"isProtected": false,
|
|
7295
|
+
"overloadIndex": 1,
|
|
7296
|
+
"parameters": [
|
|
7297
|
+
{
|
|
7298
|
+
"parameterName": "globalCoordinate",
|
|
7299
|
+
"parameterTypeTokenRange": {
|
|
7300
|
+
"startIndex": 1,
|
|
7301
|
+
"endIndex": 2
|
|
7302
|
+
},
|
|
7303
|
+
"isOptional": false
|
|
7304
|
+
}
|
|
7305
|
+
],
|
|
7306
|
+
"isOptional": false,
|
|
7307
|
+
"isAbstract": false,
|
|
7308
|
+
"name": "getOrCreateChunk"
|
|
7309
|
+
},
|
|
7669
7310
|
{
|
|
7670
7311
|
"kind": "Method",
|
|
7671
7312
|
"canonicalReference": "server!ChunkLattice#hasBlock:member(1)",
|
|
@@ -7718,11 +7359,11 @@
|
|
|
7718
7359
|
{
|
|
7719
7360
|
"kind": "Method",
|
|
7720
7361
|
"canonicalReference": "server!ChunkLattice#hasChunk:member(1)",
|
|
7721
|
-
"docComment": "/**\n * Check if a chunk exists
|
|
7362
|
+
"docComment": "/**\n * Check if a chunk exists for a given global coordinate.\n *\n * @param globalCoordinate - The global coordinate of the chunk to check.\n *\n * @returns Whether the chunk exists.\n */\n",
|
|
7722
7363
|
"excerptTokens": [
|
|
7723
7364
|
{
|
|
7724
7365
|
"kind": "Content",
|
|
7725
|
-
"text": "hasChunk(
|
|
7366
|
+
"text": "hasChunk(globalCoordinate: "
|
|
7726
7367
|
},
|
|
7727
7368
|
{
|
|
7728
7369
|
"kind": "Reference",
|
|
@@ -7752,7 +7393,7 @@
|
|
|
7752
7393
|
"overloadIndex": 1,
|
|
7753
7394
|
"parameters": [
|
|
7754
7395
|
{
|
|
7755
|
-
"parameterName": "
|
|
7396
|
+
"parameterName": "globalCoordinate",
|
|
7756
7397
|
"parameterTypeTokenRange": {
|
|
7757
7398
|
"startIndex": 1,
|
|
7758
7399
|
"endIndex": 2
|
|
@@ -7767,7 +7408,7 @@
|
|
|
7767
7408
|
{
|
|
7768
7409
|
"kind": "Method",
|
|
7769
7410
|
"canonicalReference": "server!ChunkLattice#setBlock:member(1)",
|
|
7770
|
-
"docComment": "/**\n * Set the block at a global coordinate by block type id, automatically creating a chunk if it doesn't exist. Use block type id 0 for air.\n *\n * @param globalCoordinate - The global coordinate of the block to set.\n *\n * @param blockTypeId - The block type id to set. Use 0 to remove the block and replace with air.\n */\n",
|
|
7411
|
+
"docComment": "/**\n * Set the block at a global coordinate by block type id, automatically creating a chunk if it doesn't exist. Use block type id 0 for air (to remove a block).\n *\n * @param globalCoordinate - The global coordinate of the block to set.\n *\n * @param blockTypeId - The block type id to set. Use 0 to remove the block and replace with air.\n */\n",
|
|
7771
7412
|
"excerptTokens": [
|
|
7772
7413
|
{
|
|
7773
7414
|
"kind": "Content",
|
|
@@ -7830,8 +7471,215 @@
|
|
|
7830
7471
|
"name": "setBlock"
|
|
7831
7472
|
}
|
|
7832
7473
|
],
|
|
7474
|
+
"extendsTokenRange": {
|
|
7475
|
+
"startIndex": 1,
|
|
7476
|
+
"endIndex": 2
|
|
7477
|
+
},
|
|
7833
7478
|
"implementsTokenRanges": []
|
|
7834
7479
|
},
|
|
7480
|
+
{
|
|
7481
|
+
"kind": "Enum",
|
|
7482
|
+
"canonicalReference": "server!ChunkLatticeEvent:enum",
|
|
7483
|
+
"docComment": "/**\n * Event types a ChunkLattice instance can emit. See {@link ChunkLatticeEventPayloads} for the payloads.\n *\n * @public\n */\n",
|
|
7484
|
+
"excerptTokens": [
|
|
7485
|
+
{
|
|
7486
|
+
"kind": "Content",
|
|
7487
|
+
"text": "export declare enum ChunkLatticeEvent "
|
|
7488
|
+
}
|
|
7489
|
+
],
|
|
7490
|
+
"fileUrlPath": "src/worlds/blocks/ChunkLattice.ts",
|
|
7491
|
+
"releaseTag": "Public",
|
|
7492
|
+
"name": "ChunkLatticeEvent",
|
|
7493
|
+
"preserveMemberOrder": false,
|
|
7494
|
+
"members": [
|
|
7495
|
+
{
|
|
7496
|
+
"kind": "EnumMember",
|
|
7497
|
+
"canonicalReference": "server!ChunkLatticeEvent.REMOVE_CHUNK:member",
|
|
7498
|
+
"docComment": "",
|
|
7499
|
+
"excerptTokens": [
|
|
7500
|
+
{
|
|
7501
|
+
"kind": "Content",
|
|
7502
|
+
"text": "REMOVE_CHUNK = "
|
|
7503
|
+
},
|
|
7504
|
+
{
|
|
7505
|
+
"kind": "Content",
|
|
7506
|
+
"text": "\"CHUNK_LATTICE.REMOVE_CHUNK\""
|
|
7507
|
+
}
|
|
7508
|
+
],
|
|
7509
|
+
"initializerTokenRange": {
|
|
7510
|
+
"startIndex": 1,
|
|
7511
|
+
"endIndex": 2
|
|
7512
|
+
},
|
|
7513
|
+
"releaseTag": "Public",
|
|
7514
|
+
"name": "REMOVE_CHUNK"
|
|
7515
|
+
},
|
|
7516
|
+
{
|
|
7517
|
+
"kind": "EnumMember",
|
|
7518
|
+
"canonicalReference": "server!ChunkLatticeEvent.SET_BLOCK:member",
|
|
7519
|
+
"docComment": "",
|
|
7520
|
+
"excerptTokens": [
|
|
7521
|
+
{
|
|
7522
|
+
"kind": "Content",
|
|
7523
|
+
"text": "SET_BLOCK = "
|
|
7524
|
+
},
|
|
7525
|
+
{
|
|
7526
|
+
"kind": "Content",
|
|
7527
|
+
"text": "\"CHUNK_LATTICE.SET_BLOCK\""
|
|
7528
|
+
}
|
|
7529
|
+
],
|
|
7530
|
+
"initializerTokenRange": {
|
|
7531
|
+
"startIndex": 1,
|
|
7532
|
+
"endIndex": 2
|
|
7533
|
+
},
|
|
7534
|
+
"releaseTag": "Public",
|
|
7535
|
+
"name": "SET_BLOCK"
|
|
7536
|
+
}
|
|
7537
|
+
]
|
|
7538
|
+
},
|
|
7539
|
+
{
|
|
7540
|
+
"kind": "Interface",
|
|
7541
|
+
"canonicalReference": "server!ChunkLatticeEventPayloads:interface",
|
|
7542
|
+
"docComment": "/**\n * Event payloads for ChunkLattice emitted events.\n *\n * @public\n */\n",
|
|
7543
|
+
"excerptTokens": [
|
|
7544
|
+
{
|
|
7545
|
+
"kind": "Content",
|
|
7546
|
+
"text": "export interface ChunkLatticeEventPayloads "
|
|
7547
|
+
}
|
|
7548
|
+
],
|
|
7549
|
+
"fileUrlPath": "src/worlds/blocks/ChunkLattice.ts",
|
|
7550
|
+
"releaseTag": "Public",
|
|
7551
|
+
"name": "ChunkLatticeEventPayloads",
|
|
7552
|
+
"preserveMemberOrder": false,
|
|
7553
|
+
"members": [
|
|
7554
|
+
{
|
|
7555
|
+
"kind": "PropertySignature",
|
|
7556
|
+
"canonicalReference": "server!ChunkLatticeEventPayloads#\"CHUNK_LATTICE.REMOVE_CHUNK\":member",
|
|
7557
|
+
"docComment": "/**\n * Emitted when a chunk is removed from the lattice.\n */\n",
|
|
7558
|
+
"excerptTokens": [
|
|
7559
|
+
{
|
|
7560
|
+
"kind": "Content",
|
|
7561
|
+
"text": "["
|
|
7562
|
+
},
|
|
7563
|
+
{
|
|
7564
|
+
"kind": "Reference",
|
|
7565
|
+
"text": "ChunkLatticeEvent.REMOVE_CHUNK",
|
|
7566
|
+
"canonicalReference": "server!ChunkLatticeEvent.REMOVE_CHUNK:member"
|
|
7567
|
+
},
|
|
7568
|
+
{
|
|
7569
|
+
"kind": "Content",
|
|
7570
|
+
"text": "]: "
|
|
7571
|
+
},
|
|
7572
|
+
{
|
|
7573
|
+
"kind": "Content",
|
|
7574
|
+
"text": "{\n chunkLattice: "
|
|
7575
|
+
},
|
|
7576
|
+
{
|
|
7577
|
+
"kind": "Reference",
|
|
7578
|
+
"text": "ChunkLattice",
|
|
7579
|
+
"canonicalReference": "server!ChunkLattice:class"
|
|
7580
|
+
},
|
|
7581
|
+
{
|
|
7582
|
+
"kind": "Content",
|
|
7583
|
+
"text": ";\n chunk: "
|
|
7584
|
+
},
|
|
7585
|
+
{
|
|
7586
|
+
"kind": "Reference",
|
|
7587
|
+
"text": "Chunk",
|
|
7588
|
+
"canonicalReference": "server!Chunk:class"
|
|
7589
|
+
},
|
|
7590
|
+
{
|
|
7591
|
+
"kind": "Content",
|
|
7592
|
+
"text": ";\n }"
|
|
7593
|
+
},
|
|
7594
|
+
{
|
|
7595
|
+
"kind": "Content",
|
|
7596
|
+
"text": ";"
|
|
7597
|
+
}
|
|
7598
|
+
],
|
|
7599
|
+
"isReadonly": false,
|
|
7600
|
+
"isOptional": false,
|
|
7601
|
+
"releaseTag": "Public",
|
|
7602
|
+
"name": "\"CHUNK_LATTICE.REMOVE_CHUNK\"",
|
|
7603
|
+
"propertyTypeTokenRange": {
|
|
7604
|
+
"startIndex": 3,
|
|
7605
|
+
"endIndex": 8
|
|
7606
|
+
}
|
|
7607
|
+
},
|
|
7608
|
+
{
|
|
7609
|
+
"kind": "PropertySignature",
|
|
7610
|
+
"canonicalReference": "server!ChunkLatticeEventPayloads#\"CHUNK_LATTICE.SET_BLOCK\":member",
|
|
7611
|
+
"docComment": "/**\n * Emitted when a block is set in the lattice.\n */\n",
|
|
7612
|
+
"excerptTokens": [
|
|
7613
|
+
{
|
|
7614
|
+
"kind": "Content",
|
|
7615
|
+
"text": "["
|
|
7616
|
+
},
|
|
7617
|
+
{
|
|
7618
|
+
"kind": "Reference",
|
|
7619
|
+
"text": "ChunkLatticeEvent.SET_BLOCK",
|
|
7620
|
+
"canonicalReference": "server!ChunkLatticeEvent.SET_BLOCK:member"
|
|
7621
|
+
},
|
|
7622
|
+
{
|
|
7623
|
+
"kind": "Content",
|
|
7624
|
+
"text": "]: "
|
|
7625
|
+
},
|
|
7626
|
+
{
|
|
7627
|
+
"kind": "Content",
|
|
7628
|
+
"text": "{\n chunkLattice: "
|
|
7629
|
+
},
|
|
7630
|
+
{
|
|
7631
|
+
"kind": "Reference",
|
|
7632
|
+
"text": "ChunkLattice",
|
|
7633
|
+
"canonicalReference": "server!ChunkLattice:class"
|
|
7634
|
+
},
|
|
7635
|
+
{
|
|
7636
|
+
"kind": "Content",
|
|
7637
|
+
"text": ";\n chunk: "
|
|
7638
|
+
},
|
|
7639
|
+
{
|
|
7640
|
+
"kind": "Reference",
|
|
7641
|
+
"text": "Chunk",
|
|
7642
|
+
"canonicalReference": "server!Chunk:class"
|
|
7643
|
+
},
|
|
7644
|
+
{
|
|
7645
|
+
"kind": "Content",
|
|
7646
|
+
"text": ";\n globalCoordinate: "
|
|
7647
|
+
},
|
|
7648
|
+
{
|
|
7649
|
+
"kind": "Reference",
|
|
7650
|
+
"text": "Vector3Like",
|
|
7651
|
+
"canonicalReference": "server!Vector3Like:interface"
|
|
7652
|
+
},
|
|
7653
|
+
{
|
|
7654
|
+
"kind": "Content",
|
|
7655
|
+
"text": ";\n localCoordinate: "
|
|
7656
|
+
},
|
|
7657
|
+
{
|
|
7658
|
+
"kind": "Reference",
|
|
7659
|
+
"text": "Vector3Like",
|
|
7660
|
+
"canonicalReference": "server!Vector3Like:interface"
|
|
7661
|
+
},
|
|
7662
|
+
{
|
|
7663
|
+
"kind": "Content",
|
|
7664
|
+
"text": ";\n blockTypeId: number;\n }"
|
|
7665
|
+
},
|
|
7666
|
+
{
|
|
7667
|
+
"kind": "Content",
|
|
7668
|
+
"text": ";"
|
|
7669
|
+
}
|
|
7670
|
+
],
|
|
7671
|
+
"isReadonly": false,
|
|
7672
|
+
"isOptional": false,
|
|
7673
|
+
"releaseTag": "Public",
|
|
7674
|
+
"name": "\"CHUNK_LATTICE.SET_BLOCK\"",
|
|
7675
|
+
"propertyTypeTokenRange": {
|
|
7676
|
+
"startIndex": 3,
|
|
7677
|
+
"endIndex": 12
|
|
7678
|
+
}
|
|
7679
|
+
}
|
|
7680
|
+
],
|
|
7681
|
+
"extendsTokenRanges": []
|
|
7682
|
+
},
|
|
7835
7683
|
{
|
|
7836
7684
|
"kind": "Enum",
|
|
7837
7685
|
"canonicalReference": "server!CoefficientCombineRule:enum",
|
|
@@ -8759,7 +8607,7 @@
|
|
|
8759
8607
|
{
|
|
8760
8608
|
"kind": "Method",
|
|
8761
8609
|
"canonicalReference": "server!Collider#scale:member(1)",
|
|
8762
|
-
"docComment": "",
|
|
8610
|
+
"docComment": "/**\n * Scales the collider by the given scalar. Only ball, block, capsule, cone, cylinder, round cylinder are supported.\n *\n * @param scalar - The scalar to scale the collider by.\n */\n",
|
|
8763
8611
|
"excerptTokens": [
|
|
8764
8612
|
{
|
|
8765
8613
|
"kind": "Content",
|
|
@@ -9131,7 +8979,158 @@
|
|
|
9131
8979
|
"overloadIndex": 1,
|
|
9132
8980
|
"parameters": [
|
|
9133
8981
|
{
|
|
9134
|
-
"parameterName": "mass",
|
|
8982
|
+
"parameterName": "mass",
|
|
8983
|
+
"parameterTypeTokenRange": {
|
|
8984
|
+
"startIndex": 1,
|
|
8985
|
+
"endIndex": 2
|
|
8986
|
+
},
|
|
8987
|
+
"isOptional": false
|
|
8988
|
+
}
|
|
8989
|
+
],
|
|
8990
|
+
"isOptional": false,
|
|
8991
|
+
"isAbstract": false,
|
|
8992
|
+
"name": "setMass"
|
|
8993
|
+
},
|
|
8994
|
+
{
|
|
8995
|
+
"kind": "Method",
|
|
8996
|
+
"canonicalReference": "server!Collider#setOnCollision:member(1)",
|
|
8997
|
+
"docComment": "/**\n * Sets the on collision callback for the collider.\n *\n * @param callback - The on collision callback for the collider.\n */\n",
|
|
8998
|
+
"excerptTokens": [
|
|
8999
|
+
{
|
|
9000
|
+
"kind": "Content",
|
|
9001
|
+
"text": "setOnCollision(callback: "
|
|
9002
|
+
},
|
|
9003
|
+
{
|
|
9004
|
+
"kind": "Reference",
|
|
9005
|
+
"text": "CollisionCallback",
|
|
9006
|
+
"canonicalReference": "server!CollisionCallback:type"
|
|
9007
|
+
},
|
|
9008
|
+
{
|
|
9009
|
+
"kind": "Content",
|
|
9010
|
+
"text": " | undefined"
|
|
9011
|
+
},
|
|
9012
|
+
{
|
|
9013
|
+
"kind": "Content",
|
|
9014
|
+
"text": "): "
|
|
9015
|
+
},
|
|
9016
|
+
{
|
|
9017
|
+
"kind": "Content",
|
|
9018
|
+
"text": "void"
|
|
9019
|
+
},
|
|
9020
|
+
{
|
|
9021
|
+
"kind": "Content",
|
|
9022
|
+
"text": ";"
|
|
9023
|
+
}
|
|
9024
|
+
],
|
|
9025
|
+
"isStatic": false,
|
|
9026
|
+
"returnTypeTokenRange": {
|
|
9027
|
+
"startIndex": 4,
|
|
9028
|
+
"endIndex": 5
|
|
9029
|
+
},
|
|
9030
|
+
"releaseTag": "Public",
|
|
9031
|
+
"isProtected": false,
|
|
9032
|
+
"overloadIndex": 1,
|
|
9033
|
+
"parameters": [
|
|
9034
|
+
{
|
|
9035
|
+
"parameterName": "callback",
|
|
9036
|
+
"parameterTypeTokenRange": {
|
|
9037
|
+
"startIndex": 1,
|
|
9038
|
+
"endIndex": 3
|
|
9039
|
+
},
|
|
9040
|
+
"isOptional": false
|
|
9041
|
+
}
|
|
9042
|
+
],
|
|
9043
|
+
"isOptional": false,
|
|
9044
|
+
"isAbstract": false,
|
|
9045
|
+
"name": "setOnCollision"
|
|
9046
|
+
},
|
|
9047
|
+
{
|
|
9048
|
+
"kind": "Method",
|
|
9049
|
+
"canonicalReference": "server!Collider#setRelativePosition:member(1)",
|
|
9050
|
+
"docComment": "/**\n * Sets the position of the collider relative to its parent rigid body or the world origin.\n *\n * @remarks\n *\n * Colliders can be added as a child of a rigid body, or to the world directly. This position is relative to the parent rigid body or the world origin.\n *\n * @param position - The relative position of the collider.\n */\n",
|
|
9051
|
+
"excerptTokens": [
|
|
9052
|
+
{
|
|
9053
|
+
"kind": "Content",
|
|
9054
|
+
"text": "setRelativePosition(position: "
|
|
9055
|
+
},
|
|
9056
|
+
{
|
|
9057
|
+
"kind": "Reference",
|
|
9058
|
+
"text": "Vector3Like",
|
|
9059
|
+
"canonicalReference": "server!Vector3Like:interface"
|
|
9060
|
+
},
|
|
9061
|
+
{
|
|
9062
|
+
"kind": "Content",
|
|
9063
|
+
"text": "): "
|
|
9064
|
+
},
|
|
9065
|
+
{
|
|
9066
|
+
"kind": "Content",
|
|
9067
|
+
"text": "void"
|
|
9068
|
+
},
|
|
9069
|
+
{
|
|
9070
|
+
"kind": "Content",
|
|
9071
|
+
"text": ";"
|
|
9072
|
+
}
|
|
9073
|
+
],
|
|
9074
|
+
"isStatic": false,
|
|
9075
|
+
"returnTypeTokenRange": {
|
|
9076
|
+
"startIndex": 3,
|
|
9077
|
+
"endIndex": 4
|
|
9078
|
+
},
|
|
9079
|
+
"releaseTag": "Public",
|
|
9080
|
+
"isProtected": false,
|
|
9081
|
+
"overloadIndex": 1,
|
|
9082
|
+
"parameters": [
|
|
9083
|
+
{
|
|
9084
|
+
"parameterName": "position",
|
|
9085
|
+
"parameterTypeTokenRange": {
|
|
9086
|
+
"startIndex": 1,
|
|
9087
|
+
"endIndex": 2
|
|
9088
|
+
},
|
|
9089
|
+
"isOptional": false
|
|
9090
|
+
}
|
|
9091
|
+
],
|
|
9092
|
+
"isOptional": false,
|
|
9093
|
+
"isAbstract": false,
|
|
9094
|
+
"name": "setRelativePosition"
|
|
9095
|
+
},
|
|
9096
|
+
{
|
|
9097
|
+
"kind": "Method",
|
|
9098
|
+
"canonicalReference": "server!Collider#setRelativeRotation:member(1)",
|
|
9099
|
+
"docComment": "/**\n * Sets the relative rotation of the collider to its parent rigid body or the world origin.\n *\n * @remarks\n *\n * Colliders can be added as a child of a rigid body, or to the world directly. This rotation is relative to the parent rigid body or the world origin.\n *\n * @param rotation - The relative rotation of the collider.\n */\n",
|
|
9100
|
+
"excerptTokens": [
|
|
9101
|
+
{
|
|
9102
|
+
"kind": "Content",
|
|
9103
|
+
"text": "setRelativeRotation(rotation: "
|
|
9104
|
+
},
|
|
9105
|
+
{
|
|
9106
|
+
"kind": "Reference",
|
|
9107
|
+
"text": "QuaternionLike",
|
|
9108
|
+
"canonicalReference": "server!QuaternionLike:interface"
|
|
9109
|
+
},
|
|
9110
|
+
{
|
|
9111
|
+
"kind": "Content",
|
|
9112
|
+
"text": "): "
|
|
9113
|
+
},
|
|
9114
|
+
{
|
|
9115
|
+
"kind": "Content",
|
|
9116
|
+
"text": "void"
|
|
9117
|
+
},
|
|
9118
|
+
{
|
|
9119
|
+
"kind": "Content",
|
|
9120
|
+
"text": ";"
|
|
9121
|
+
}
|
|
9122
|
+
],
|
|
9123
|
+
"isStatic": false,
|
|
9124
|
+
"returnTypeTokenRange": {
|
|
9125
|
+
"startIndex": 3,
|
|
9126
|
+
"endIndex": 4
|
|
9127
|
+
},
|
|
9128
|
+
"releaseTag": "Public",
|
|
9129
|
+
"isProtected": false,
|
|
9130
|
+
"overloadIndex": 1,
|
|
9131
|
+
"parameters": [
|
|
9132
|
+
{
|
|
9133
|
+
"parameterName": "rotation",
|
|
9135
9134
|
"parameterTypeTokenRange": {
|
|
9136
9135
|
"startIndex": 1,
|
|
9137
9136
|
"endIndex": 2
|
|
@@ -9141,25 +9140,20 @@
|
|
|
9141
9140
|
],
|
|
9142
9141
|
"isOptional": false,
|
|
9143
9142
|
"isAbstract": false,
|
|
9144
|
-
"name": "
|
|
9143
|
+
"name": "setRelativeRotation"
|
|
9145
9144
|
},
|
|
9146
9145
|
{
|
|
9147
9146
|
"kind": "Method",
|
|
9148
|
-
"canonicalReference": "server!Collider#
|
|
9149
|
-
"docComment": "/**\n * Sets the
|
|
9147
|
+
"canonicalReference": "server!Collider#setSensor:member(1)",
|
|
9148
|
+
"docComment": "/**\n * Sets whether the collider is a sensor.\n *\n * @param sensor - Whether the collider is a sensor.\n */\n",
|
|
9150
9149
|
"excerptTokens": [
|
|
9151
9150
|
{
|
|
9152
9151
|
"kind": "Content",
|
|
9153
|
-
"text": "
|
|
9154
|
-
},
|
|
9155
|
-
{
|
|
9156
|
-
"kind": "Reference",
|
|
9157
|
-
"text": "CollisionCallback",
|
|
9158
|
-
"canonicalReference": "server!CollisionCallback:type"
|
|
9152
|
+
"text": "setSensor(sensor: "
|
|
9159
9153
|
},
|
|
9160
9154
|
{
|
|
9161
9155
|
"kind": "Content",
|
|
9162
|
-
"text": "
|
|
9156
|
+
"text": "boolean"
|
|
9163
9157
|
},
|
|
9164
9158
|
{
|
|
9165
9159
|
"kind": "Content",
|
|
@@ -9176,39 +9170,38 @@
|
|
|
9176
9170
|
],
|
|
9177
9171
|
"isStatic": false,
|
|
9178
9172
|
"returnTypeTokenRange": {
|
|
9179
|
-
"startIndex":
|
|
9180
|
-
"endIndex":
|
|
9173
|
+
"startIndex": 3,
|
|
9174
|
+
"endIndex": 4
|
|
9181
9175
|
},
|
|
9182
9176
|
"releaseTag": "Public",
|
|
9183
9177
|
"isProtected": false,
|
|
9184
9178
|
"overloadIndex": 1,
|
|
9185
9179
|
"parameters": [
|
|
9186
9180
|
{
|
|
9187
|
-
"parameterName": "
|
|
9181
|
+
"parameterName": "sensor",
|
|
9188
9182
|
"parameterTypeTokenRange": {
|
|
9189
9183
|
"startIndex": 1,
|
|
9190
|
-
"endIndex":
|
|
9184
|
+
"endIndex": 2
|
|
9191
9185
|
},
|
|
9192
9186
|
"isOptional": false
|
|
9193
9187
|
}
|
|
9194
9188
|
],
|
|
9195
9189
|
"isOptional": false,
|
|
9196
9190
|
"isAbstract": false,
|
|
9197
|
-
"name": "
|
|
9191
|
+
"name": "setSensor"
|
|
9198
9192
|
},
|
|
9199
9193
|
{
|
|
9200
9194
|
"kind": "Method",
|
|
9201
|
-
"canonicalReference": "server!Collider#
|
|
9202
|
-
"docComment": "/**\n * Sets the
|
|
9195
|
+
"canonicalReference": "server!Collider#setTag:member(1)",
|
|
9196
|
+
"docComment": "/**\n * Sets the tag of the collider.\n *\n * @param tag - The tag of the collider.\n */\n",
|
|
9203
9197
|
"excerptTokens": [
|
|
9204
9198
|
{
|
|
9205
9199
|
"kind": "Content",
|
|
9206
|
-
"text": "
|
|
9200
|
+
"text": "setTag(tag: "
|
|
9207
9201
|
},
|
|
9208
9202
|
{
|
|
9209
|
-
"kind": "
|
|
9210
|
-
"text": "
|
|
9211
|
-
"canonicalReference": "server!Vector3Like:interface"
|
|
9203
|
+
"kind": "Content",
|
|
9204
|
+
"text": "string"
|
|
9212
9205
|
},
|
|
9213
9206
|
{
|
|
9214
9207
|
"kind": "Content",
|
|
@@ -9233,7 +9226,7 @@
|
|
|
9233
9226
|
"overloadIndex": 1,
|
|
9234
9227
|
"parameters": [
|
|
9235
9228
|
{
|
|
9236
|
-
"parameterName": "
|
|
9229
|
+
"parameterName": "tag",
|
|
9237
9230
|
"parameterTypeTokenRange": {
|
|
9238
9231
|
"startIndex": 1,
|
|
9239
9232
|
"endIndex": 2
|
|
@@ -9243,65 +9236,25 @@
|
|
|
9243
9236
|
],
|
|
9244
9237
|
"isOptional": false,
|
|
9245
9238
|
"isAbstract": false,
|
|
9246
|
-
"name": "
|
|
9239
|
+
"name": "setTag"
|
|
9247
9240
|
},
|
|
9248
9241
|
{
|
|
9249
9242
|
"kind": "Method",
|
|
9250
|
-
"canonicalReference": "server!Collider#
|
|
9251
|
-
"docComment": "/**\n * Sets the
|
|
9243
|
+
"canonicalReference": "server!Collider#setVoxel:member(1)",
|
|
9244
|
+
"docComment": "/**\n * Sets the voxel at the given coordinate as filled or not filled.\n *\n * @param coordinate - The coordinate of the voxel to set.\n *\n * @param filled - True if the voxel at the coordinate should be filled, false if it should be removed.\n */\n",
|
|
9252
9245
|
"excerptTokens": [
|
|
9253
9246
|
{
|
|
9254
9247
|
"kind": "Content",
|
|
9255
|
-
"text": "
|
|
9248
|
+
"text": "setVoxel(coordinate: "
|
|
9256
9249
|
},
|
|
9257
9250
|
{
|
|
9258
9251
|
"kind": "Reference",
|
|
9259
|
-
"text": "
|
|
9260
|
-
"canonicalReference": "server!
|
|
9261
|
-
},
|
|
9262
|
-
{
|
|
9263
|
-
"kind": "Content",
|
|
9264
|
-
"text": "): "
|
|
9252
|
+
"text": "Vector3Like",
|
|
9253
|
+
"canonicalReference": "server!Vector3Like:interface"
|
|
9265
9254
|
},
|
|
9266
9255
|
{
|
|
9267
9256
|
"kind": "Content",
|
|
9268
|
-
"text": "
|
|
9269
|
-
},
|
|
9270
|
-
{
|
|
9271
|
-
"kind": "Content",
|
|
9272
|
-
"text": ";"
|
|
9273
|
-
}
|
|
9274
|
-
],
|
|
9275
|
-
"isStatic": false,
|
|
9276
|
-
"returnTypeTokenRange": {
|
|
9277
|
-
"startIndex": 3,
|
|
9278
|
-
"endIndex": 4
|
|
9279
|
-
},
|
|
9280
|
-
"releaseTag": "Public",
|
|
9281
|
-
"isProtected": false,
|
|
9282
|
-
"overloadIndex": 1,
|
|
9283
|
-
"parameters": [
|
|
9284
|
-
{
|
|
9285
|
-
"parameterName": "rotation",
|
|
9286
|
-
"parameterTypeTokenRange": {
|
|
9287
|
-
"startIndex": 1,
|
|
9288
|
-
"endIndex": 2
|
|
9289
|
-
},
|
|
9290
|
-
"isOptional": false
|
|
9291
|
-
}
|
|
9292
|
-
],
|
|
9293
|
-
"isOptional": false,
|
|
9294
|
-
"isAbstract": false,
|
|
9295
|
-
"name": "setRelativeRotation"
|
|
9296
|
-
},
|
|
9297
|
-
{
|
|
9298
|
-
"kind": "Method",
|
|
9299
|
-
"canonicalReference": "server!Collider#setSensor:member(1)",
|
|
9300
|
-
"docComment": "/**\n * Sets whether the collider is a sensor.\n *\n * @param sensor - Whether the collider is a sensor.\n */\n",
|
|
9301
|
-
"excerptTokens": [
|
|
9302
|
-
{
|
|
9303
|
-
"kind": "Content",
|
|
9304
|
-
"text": "setSensor(sensor: "
|
|
9257
|
+
"text": ", filled: "
|
|
9305
9258
|
},
|
|
9306
9259
|
{
|
|
9307
9260
|
"kind": "Content",
|
|
@@ -9322,73 +9275,33 @@
|
|
|
9322
9275
|
],
|
|
9323
9276
|
"isStatic": false,
|
|
9324
9277
|
"returnTypeTokenRange": {
|
|
9325
|
-
"startIndex":
|
|
9326
|
-
"endIndex":
|
|
9278
|
+
"startIndex": 5,
|
|
9279
|
+
"endIndex": 6
|
|
9327
9280
|
},
|
|
9328
9281
|
"releaseTag": "Public",
|
|
9329
9282
|
"isProtected": false,
|
|
9330
9283
|
"overloadIndex": 1,
|
|
9331
9284
|
"parameters": [
|
|
9332
9285
|
{
|
|
9333
|
-
"parameterName": "
|
|
9286
|
+
"parameterName": "coordinate",
|
|
9334
9287
|
"parameterTypeTokenRange": {
|
|
9335
9288
|
"startIndex": 1,
|
|
9336
9289
|
"endIndex": 2
|
|
9337
9290
|
},
|
|
9338
9291
|
"isOptional": false
|
|
9339
|
-
}
|
|
9340
|
-
],
|
|
9341
|
-
"isOptional": false,
|
|
9342
|
-
"isAbstract": false,
|
|
9343
|
-
"name": "setSensor"
|
|
9344
|
-
},
|
|
9345
|
-
{
|
|
9346
|
-
"kind": "Method",
|
|
9347
|
-
"canonicalReference": "server!Collider#setTag:member(1)",
|
|
9348
|
-
"docComment": "/**\n * Sets the tag of the collider.\n *\n * @param tag - The tag of the collider.\n */\n",
|
|
9349
|
-
"excerptTokens": [
|
|
9350
|
-
{
|
|
9351
|
-
"kind": "Content",
|
|
9352
|
-
"text": "setTag(tag: "
|
|
9353
|
-
},
|
|
9354
|
-
{
|
|
9355
|
-
"kind": "Content",
|
|
9356
|
-
"text": "string"
|
|
9357
|
-
},
|
|
9358
|
-
{
|
|
9359
|
-
"kind": "Content",
|
|
9360
|
-
"text": "): "
|
|
9361
|
-
},
|
|
9362
|
-
{
|
|
9363
|
-
"kind": "Content",
|
|
9364
|
-
"text": "void"
|
|
9365
9292
|
},
|
|
9366
9293
|
{
|
|
9367
|
-
"
|
|
9368
|
-
"text": ";"
|
|
9369
|
-
}
|
|
9370
|
-
],
|
|
9371
|
-
"isStatic": false,
|
|
9372
|
-
"returnTypeTokenRange": {
|
|
9373
|
-
"startIndex": 3,
|
|
9374
|
-
"endIndex": 4
|
|
9375
|
-
},
|
|
9376
|
-
"releaseTag": "Public",
|
|
9377
|
-
"isProtected": false,
|
|
9378
|
-
"overloadIndex": 1,
|
|
9379
|
-
"parameters": [
|
|
9380
|
-
{
|
|
9381
|
-
"parameterName": "tag",
|
|
9294
|
+
"parameterName": "filled",
|
|
9382
9295
|
"parameterTypeTokenRange": {
|
|
9383
|
-
"startIndex":
|
|
9384
|
-
"endIndex":
|
|
9296
|
+
"startIndex": 3,
|
|
9297
|
+
"endIndex": 4
|
|
9385
9298
|
},
|
|
9386
9299
|
"isOptional": false
|
|
9387
9300
|
}
|
|
9388
9301
|
],
|
|
9389
9302
|
"isOptional": false,
|
|
9390
9303
|
"isAbstract": false,
|
|
9391
|
-
"name": "
|
|
9304
|
+
"name": "setVoxel"
|
|
9392
9305
|
},
|
|
9393
9306
|
{
|
|
9394
9307
|
"kind": "Property",
|
|
@@ -9530,6 +9443,15 @@
|
|
|
9530
9443
|
"kind": "Content",
|
|
9531
9444
|
"text": " | "
|
|
9532
9445
|
},
|
|
9446
|
+
{
|
|
9447
|
+
"kind": "Reference",
|
|
9448
|
+
"text": "VoxelsColliderOptions",
|
|
9449
|
+
"canonicalReference": "server!VoxelsColliderOptions:interface"
|
|
9450
|
+
},
|
|
9451
|
+
{
|
|
9452
|
+
"kind": "Content",
|
|
9453
|
+
"text": " | "
|
|
9454
|
+
},
|
|
9533
9455
|
{
|
|
9534
9456
|
"kind": "Reference",
|
|
9535
9457
|
"text": "WedgeColliderOptions",
|
|
@@ -9554,7 +9476,7 @@
|
|
|
9554
9476
|
"name": "ColliderOptions",
|
|
9555
9477
|
"typeTokenRange": {
|
|
9556
9478
|
"startIndex": 1,
|
|
9557
|
-
"endIndex":
|
|
9479
|
+
"endIndex": 20
|
|
9558
9480
|
}
|
|
9559
9481
|
},
|
|
9560
9482
|
{
|
|
@@ -9740,6 +9662,27 @@
|
|
|
9740
9662
|
"releaseTag": "Public",
|
|
9741
9663
|
"name": "TRIMESH"
|
|
9742
9664
|
},
|
|
9665
|
+
{
|
|
9666
|
+
"kind": "EnumMember",
|
|
9667
|
+
"canonicalReference": "server!ColliderShape.VOXELS:member",
|
|
9668
|
+
"docComment": "",
|
|
9669
|
+
"excerptTokens": [
|
|
9670
|
+
{
|
|
9671
|
+
"kind": "Content",
|
|
9672
|
+
"text": "VOXELS = "
|
|
9673
|
+
},
|
|
9674
|
+
{
|
|
9675
|
+
"kind": "Content",
|
|
9676
|
+
"text": "\"voxels\""
|
|
9677
|
+
}
|
|
9678
|
+
],
|
|
9679
|
+
"initializerTokenRange": {
|
|
9680
|
+
"startIndex": 1,
|
|
9681
|
+
"endIndex": 2
|
|
9682
|
+
},
|
|
9683
|
+
"releaseTag": "Public",
|
|
9684
|
+
"name": "VOXELS"
|
|
9685
|
+
},
|
|
9743
9686
|
{
|
|
9744
9687
|
"kind": "EnumMember",
|
|
9745
9688
|
"canonicalReference": "server!ColliderShape.WEDGE:member",
|
|
@@ -17347,8 +17290,8 @@
|
|
|
17347
17290
|
},
|
|
17348
17291
|
{
|
|
17349
17292
|
"kind": "Reference",
|
|
17350
|
-
"text": "
|
|
17351
|
-
"canonicalReference": "server!
|
|
17293
|
+
"text": "ChunkLatticeEventPayloads",
|
|
17294
|
+
"canonicalReference": "server!ChunkLatticeEventPayloads:interface"
|
|
17352
17295
|
},
|
|
17353
17296
|
{
|
|
17354
17297
|
"kind": "Content",
|
|
@@ -31067,7 +31010,7 @@
|
|
|
31067
31010
|
{
|
|
31068
31011
|
"kind": "Enum",
|
|
31069
31012
|
"canonicalReference": "server!ParticleEmitterEvent:enum",
|
|
31070
|
-
"docComment": "/**\n * Event types a ParticleEmitter instance can emit. See {@link ParticleEmitterEventPayloads}\n */\n",
|
|
31013
|
+
"docComment": "/**\n * Event types a ParticleEmitter instance can emit. See {@link ParticleEmitterEventPayloads}\n *\n * @public\n */\n",
|
|
31071
31014
|
"excerptTokens": [
|
|
31072
31015
|
{
|
|
31073
31016
|
"kind": "Content",
|
|
@@ -33189,7 +33132,7 @@
|
|
|
33189
33132
|
{
|
|
33190
33133
|
"kind": "Interface",
|
|
33191
33134
|
"canonicalReference": "server!ParticleEmitterOptions:interface",
|
|
33192
|
-
"docComment": "",
|
|
33135
|
+
"docComment": "/**\n * Options for creating a ParticleEmitter instance.\n *\n * @public\n */\n",
|
|
33193
33136
|
"excerptTokens": [
|
|
33194
33137
|
{
|
|
33195
33138
|
"kind": "Content",
|
|
@@ -52178,6 +52121,126 @@
|
|
|
52178
52121
|
],
|
|
52179
52122
|
"extendsTokenRanges": []
|
|
52180
52123
|
},
|
|
52124
|
+
{
|
|
52125
|
+
"kind": "Interface",
|
|
52126
|
+
"canonicalReference": "server!VoxelsColliderOptions:interface",
|
|
52127
|
+
"docComment": "/**\n * The options for a voxels collider.\n *\n * @public\n */\n",
|
|
52128
|
+
"excerptTokens": [
|
|
52129
|
+
{
|
|
52130
|
+
"kind": "Content",
|
|
52131
|
+
"text": "export interface VoxelsColliderOptions extends "
|
|
52132
|
+
},
|
|
52133
|
+
{
|
|
52134
|
+
"kind": "Reference",
|
|
52135
|
+
"text": "BaseColliderOptions",
|
|
52136
|
+
"canonicalReference": "server!BaseColliderOptions:interface"
|
|
52137
|
+
},
|
|
52138
|
+
{
|
|
52139
|
+
"kind": "Content",
|
|
52140
|
+
"text": " "
|
|
52141
|
+
}
|
|
52142
|
+
],
|
|
52143
|
+
"fileUrlPath": "src/worlds/physics/Collider.ts",
|
|
52144
|
+
"releaseTag": "Public",
|
|
52145
|
+
"name": "VoxelsColliderOptions",
|
|
52146
|
+
"preserveMemberOrder": false,
|
|
52147
|
+
"members": [
|
|
52148
|
+
{
|
|
52149
|
+
"kind": "PropertySignature",
|
|
52150
|
+
"canonicalReference": "server!VoxelsColliderOptions#coordinates:member",
|
|
52151
|
+
"docComment": "/**\n * The coordinate of each voxel in the collider.\n */\n",
|
|
52152
|
+
"excerptTokens": [
|
|
52153
|
+
{
|
|
52154
|
+
"kind": "Content",
|
|
52155
|
+
"text": "coordinates?: "
|
|
52156
|
+
},
|
|
52157
|
+
{
|
|
52158
|
+
"kind": "Reference",
|
|
52159
|
+
"text": "Vector3Like",
|
|
52160
|
+
"canonicalReference": "server!Vector3Like:interface"
|
|
52161
|
+
},
|
|
52162
|
+
{
|
|
52163
|
+
"kind": "Content",
|
|
52164
|
+
"text": "[]"
|
|
52165
|
+
},
|
|
52166
|
+
{
|
|
52167
|
+
"kind": "Content",
|
|
52168
|
+
"text": ";"
|
|
52169
|
+
}
|
|
52170
|
+
],
|
|
52171
|
+
"isReadonly": false,
|
|
52172
|
+
"isOptional": true,
|
|
52173
|
+
"releaseTag": "Public",
|
|
52174
|
+
"name": "coordinates",
|
|
52175
|
+
"propertyTypeTokenRange": {
|
|
52176
|
+
"startIndex": 1,
|
|
52177
|
+
"endIndex": 3
|
|
52178
|
+
}
|
|
52179
|
+
},
|
|
52180
|
+
{
|
|
52181
|
+
"kind": "PropertySignature",
|
|
52182
|
+
"canonicalReference": "server!VoxelsColliderOptions#shape:member",
|
|
52183
|
+
"docComment": "",
|
|
52184
|
+
"excerptTokens": [
|
|
52185
|
+
{
|
|
52186
|
+
"kind": "Content",
|
|
52187
|
+
"text": "shape: "
|
|
52188
|
+
},
|
|
52189
|
+
{
|
|
52190
|
+
"kind": "Reference",
|
|
52191
|
+
"text": "ColliderShape.VOXELS",
|
|
52192
|
+
"canonicalReference": "server!ColliderShape.VOXELS:member"
|
|
52193
|
+
},
|
|
52194
|
+
{
|
|
52195
|
+
"kind": "Content",
|
|
52196
|
+
"text": ";"
|
|
52197
|
+
}
|
|
52198
|
+
],
|
|
52199
|
+
"isReadonly": false,
|
|
52200
|
+
"isOptional": false,
|
|
52201
|
+
"releaseTag": "Public",
|
|
52202
|
+
"name": "shape",
|
|
52203
|
+
"propertyTypeTokenRange": {
|
|
52204
|
+
"startIndex": 1,
|
|
52205
|
+
"endIndex": 2
|
|
52206
|
+
}
|
|
52207
|
+
},
|
|
52208
|
+
{
|
|
52209
|
+
"kind": "PropertySignature",
|
|
52210
|
+
"canonicalReference": "server!VoxelsColliderOptions#size:member",
|
|
52211
|
+
"docComment": "/**\n * The size of each voxel in the collider.\n */\n",
|
|
52212
|
+
"excerptTokens": [
|
|
52213
|
+
{
|
|
52214
|
+
"kind": "Content",
|
|
52215
|
+
"text": "size?: "
|
|
52216
|
+
},
|
|
52217
|
+
{
|
|
52218
|
+
"kind": "Reference",
|
|
52219
|
+
"text": "Vector3Like",
|
|
52220
|
+
"canonicalReference": "server!Vector3Like:interface"
|
|
52221
|
+
},
|
|
52222
|
+
{
|
|
52223
|
+
"kind": "Content",
|
|
52224
|
+
"text": ";"
|
|
52225
|
+
}
|
|
52226
|
+
],
|
|
52227
|
+
"isReadonly": false,
|
|
52228
|
+
"isOptional": true,
|
|
52229
|
+
"releaseTag": "Public",
|
|
52230
|
+
"name": "size",
|
|
52231
|
+
"propertyTypeTokenRange": {
|
|
52232
|
+
"startIndex": 1,
|
|
52233
|
+
"endIndex": 2
|
|
52234
|
+
}
|
|
52235
|
+
}
|
|
52236
|
+
],
|
|
52237
|
+
"extendsTokenRanges": [
|
|
52238
|
+
{
|
|
52239
|
+
"startIndex": 1,
|
|
52240
|
+
"endIndex": 2
|
|
52241
|
+
}
|
|
52242
|
+
]
|
|
52243
|
+
},
|
|
52181
52244
|
{
|
|
52182
52245
|
"kind": "TypeAlias",
|
|
52183
52246
|
"canonicalReference": "server!WaypointMoveCompleteCallback:type",
|
|
@@ -53236,7 +53299,7 @@
|
|
|
53236
53299
|
{
|
|
53237
53300
|
"kind": "Method",
|
|
53238
53301
|
"canonicalReference": "server!World#setDirectionalLightPosition:member(1)",
|
|
53239
|
-
"docComment": "/**\n * Sets the position the world's directional light originates from.\n *\n * @param position - The position
|
|
53302
|
+
"docComment": "/**\n * Sets the position the world's directional light originates from relative to a player's camera position.\n *\n * @param position - The position the directional light originates from relative to the player's camera position.\n */\n",
|
|
53240
53303
|
"excerptTokens": [
|
|
53241
53304
|
{
|
|
53242
53305
|
"kind": "Content",
|