hytopia 0.6.34 → 0.7.2

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.
Files changed (81) hide show
  1. package/bun-server.mjs +169 -169
  2. package/docs/server.blocktype.collideroptions.md +1 -1
  3. package/docs/server.blocktype.halfextents.md +13 -0
  4. package/docs/server.blocktype.md +43 -1
  5. package/docs/server.blocktype.size.md +13 -0
  6. package/docs/server.blocktypeoptions.customcollideroptions.md +1 -1
  7. package/docs/server.blocktypeoptions.halfextents.md +13 -0
  8. package/docs/server.blocktypeoptions.md +20 -1
  9. package/docs/server.chunk._constructor_.md +35 -1
  10. package/docs/server.chunk.md +4 -147
  11. package/docs/server.chunk.origincoordinate.md +1 -1
  12. package/docs/server.chunklattice.clear.md +1 -1
  13. package/docs/server.chunklattice.getblocktypecount.md +55 -0
  14. package/docs/server.chunklattice.getchunk.md +5 -5
  15. package/docs/server.chunklattice.getorcreatechunk.md +55 -0
  16. package/docs/server.chunklattice.haschunk.md +4 -4
  17. package/docs/server.chunklattice.md +36 -7
  18. package/docs/server.chunklattice.setblock.md +1 -1
  19. package/docs/server.chunklatticeevent.md +61 -0
  20. package/docs/server.chunklatticeeventpayloads._chunk_lattice.remove_chunk_.md +16 -0
  21. package/docs/server.chunklatticeeventpayloads._chunk_lattice.set_block_.md +19 -0
  22. package/docs/server.chunklatticeeventpayloads.md +76 -0
  23. package/docs/server.collider.md +16 -0
  24. package/docs/server.collider.scale.md +4 -0
  25. package/docs/server.collider.setvoxel.md +69 -0
  26. package/docs/server.collideroptions.md +2 -2
  27. package/docs/server.collidershape.md +14 -0
  28. package/docs/server.eventpayloads.md +2 -2
  29. package/docs/server.md +17 -4
  30. package/docs/server.particleemitter.md +120 -29
  31. package/docs/server.particleemitter.paused.md +13 -0
  32. package/docs/server.particleemitter.restart.md +1 -1
  33. package/docs/{server.particleemitter.setsize.md → server.particleemitter.setsizeend.md} +6 -6
  34. package/docs/server.particleemitter.setsizeendvariance.md +53 -0
  35. package/docs/{server.particleemitter.setsizevariance.md → server.particleemitter.setsizestart.md} +6 -6
  36. package/docs/server.particleemitter.setsizestartvariance.md +53 -0
  37. package/docs/server.particleemitter.sizeend.md +13 -0
  38. package/docs/server.particleemitter.sizeendvariance.md +13 -0
  39. package/docs/server.particleemitter.sizestart.md +13 -0
  40. package/docs/server.particleemitter.sizestartvariance.md +13 -0
  41. package/docs/server.particleemitter.stop.md +1 -1
  42. package/docs/server.particleemitterevent.md +46 -4
  43. package/docs/server.particleemittereventpayloads._particle_emitter.set_paused_.md +16 -0
  44. package/docs/server.particleemittereventpayloads._particle_emitter.set_size_end_.md +16 -0
  45. package/docs/server.particleemittereventpayloads._particle_emitter.set_size_end_variance_.md +16 -0
  46. package/docs/server.particleemittereventpayloads._particle_emitter.set_size_start_.md +16 -0
  47. package/docs/server.particleemittereventpayloads._particle_emitter.set_size_start_variance_.md +16 -0
  48. package/docs/server.particleemittereventpayloads.md +63 -6
  49. package/docs/server.particleemitteroptions.md +44 -4
  50. package/docs/server.particleemitteroptions.sizeend.md +13 -0
  51. package/docs/server.particleemitteroptions.sizeendvariance.md +13 -0
  52. package/docs/server.particleemitteroptions.sizestart.md +13 -0
  53. package/docs/server.particleemitteroptions.sizestartvariance.md +13 -0
  54. package/docs/server.voxelscollideroptions.coordinates.md +13 -0
  55. package/docs/server.voxelscollideroptions.md +94 -0
  56. package/docs/server.voxelscollideroptions.shape.md +11 -0
  57. package/docs/server.voxelscollideroptions.size.md +13 -0
  58. package/docs/server.world.md +1 -1
  59. package/docs/server.world.setdirectionallightposition.md +2 -2
  60. package/node-server.mjs +165 -165
  61. package/package.json +1 -1
  62. package/server.api.json +1368 -867
  63. package/server.d.ts +166 -138
  64. package/docs/server.chunk.despawn.md +0 -17
  65. package/docs/server.chunk.issimulated.md +0 -13
  66. package/docs/server.chunk.isspawned.md +0 -13
  67. package/docs/server.chunk.isvalidorigincoordinate.md +0 -55
  68. package/docs/server.chunk.setblock.md +0 -69
  69. package/docs/server.chunk.spawn.md +0 -69
  70. package/docs/server.chunk.world.md +0 -13
  71. package/docs/server.chunkevent.md +0 -75
  72. package/docs/server.chunkeventpayloads._chunk.despawn_.md +0 -15
  73. package/docs/server.chunkeventpayloads._chunk.set_block_.md +0 -18
  74. package/docs/server.chunkeventpayloads._chunk.spawn_.md +0 -15
  75. package/docs/server.chunkeventpayloads.md +0 -95
  76. package/docs/server.particleemitter.isstopped.md +0 -13
  77. package/docs/server.particleemitter.size.md +0 -13
  78. package/docs/server.particleemittereventpayloads._particle_emitter.set_size_.md +0 -16
  79. package/docs/server.particleemittereventpayloads._particle_emitter.set_size_variance_.md +0 -16
  80. package/docs/server.particleemitteroptions.size.md +0 -13
  81. package/docs/server.particleemitteroptions.sizevariance.md +0 -13
package/server.api.json CHANGED
@@ -4947,8 +4947,8 @@
4947
4947
  },
4948
4948
  {
4949
4949
  "kind": "Reference",
4950
- "text": "TrimeshColliderOptions",
4951
- "canonicalReference": "server!TrimeshColliderOptions:interface"
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": "TrimeshColliderOptions",
5353
- "canonicalReference": "server!TrimeshColliderOptions:interface"
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 can be spawned, despawned, have their unique blocks set or removed, and more. Chunks represent their internal block coordinates in local space, meaning only coordinates x: 0...15, y: 0...15, z: 0...15 are valid.\n *\n * The Chunk follows a spawn and despawn lifecycle pattern. When you create a chunk, when you're ready to load it in your world you use .spawn(). To remove it, you use .despawn().\n *\n * Use .setBlock() to set the block type id at a specific local cooridnate. Block type ids are ones that have been registered in the {@link BlockTypeRegistry} associated with the {@link World} the chunk belongs to. A block type id of 0 is used to represent no block. Removing a block is done by .setBlock(localCoordinate, 0).\n *\n * <h2>Events</h2>\n *\n * This class is an EventRouter, and instances of it emit events with payloads listed under {@link ChunkEventPayloads}\n *\n * @example\n * ```typescript\n * // Assume we previously registered a stone block with type id of 10..\n *\n * const chunk = new Chunk();\n *\n * chunk.setBlock({ x: 0, y: 0, z: 0 }, 10); // Set the block at 0, 0, 0 to stone\n * chunk.spawn(world, { x: 16, y: 0, z: 16 }); // Spawn the chunk at global coordinate 16, 0, 16\n * ```\n *\n * @public\n */\n",
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 extends "
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": "index",
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#getBlockId:member(1)",
6598
- "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",
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": "getBlockId(localCoordinate: "
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": "globalCoordinate",
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": "globalCoordinateToLocalCoordinate"
6617
+ "name": "blockIndexToLocalCoordinate"
6693
6618
  },
6694
6619
  {
6695
- "kind": "Method",
6696
- "canonicalReference": "server!Chunk.globalCoordinateToOriginCoordinate:member(1)",
6697
- "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",
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": "static globalCoordinateToOriginCoordinate(globalCoordinate: "
6626
+ "text": "get blocks(): "
6702
6627
  },
6703
6628
  {
6704
6629
  "kind": "Reference",
6705
- "text": "Vector3Like",
6706
- "canonicalReference": "server!Vector3Like:interface"
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": "Vector3Like",
6715
- "canonicalReference": "server!Vector3Like:interface"
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
- "isStatic": true,
6723
- "returnTypeTokenRange": {
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
- "overloadIndex": 1,
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#hasBlock:member(1)",
6747
- "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",
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": "hasBlock(localCoordinate: "
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": "boolean"
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": "hasBlock"
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.isValidOriginCoordinate:member(1)",
6856
- "docComment": "/**\n * Check if an origin coordinate is valid.\n *\n * @param coordinate - The coordinate to check.\n *\n * @returns Whether the coordinate is valid.\n */\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 isValidOriginCoordinate(coordinate: "
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": "Content",
6873
- "text": "boolean"
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": "coordinate",
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": "isValidOriginCoordinate"
6760
+ "name": "globalCoordinateToLocalCoordinate"
6901
6761
  },
6902
6762
  {
6903
- "kind": "Property",
6904
- "canonicalReference": "server!Chunk#originCoordinate:member",
6905
- "docComment": "/**\n * The origin coordinate of the chunk.\n */\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": "get originCoordinate(): "
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": " | undefined"
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": false,
6790
+ "isStatic": true,
6973
6791
  "returnTypeTokenRange": {
6974
- "startIndex": 5,
6975
- "endIndex": 6
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": "localCoordinate",
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": "setBlock"
6810
+ "name": "globalCoordinateToOriginCoordinate"
7001
6811
  },
7002
6812
  {
7003
6813
  "kind": "Method",
7004
- "canonicalReference": "server!Chunk#spawn:member(1)",
7005
- "docComment": "/**\n * Spawn the chunk in the world.\n *\n * @param world - The world to spawn the chunk in.\n *\n * @param originCoordinate - The origin coordinate of the chunk.\n */\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": "spawn(world: "
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": "void"
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": 5,
7041
- "endIndex": 6
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": "world",
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": "spawn"
6859
+ "name": "hasBlock"
7067
6860
  },
7068
6861
  {
7069
6862
  "kind": "Property",
7070
- "canonicalReference": "server!Chunk#world:member",
7071
- "docComment": "/**\n * The world the chunk belongs to.\n */\n",
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 world(): "
6868
+ "text": "get originCoordinate(): "
7076
6869
  },
7077
6870
  {
7078
6871
  "kind": "Reference",
7079
- "text": "World",
7080
- "canonicalReference": "server!World:class"
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": "world",
6883
+ "name": "originCoordinate",
7095
6884
  "propertyTypeTokenRange": {
7096
6885
  "startIndex": 1,
7097
- "endIndex": 3
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": 3,
7111
- "endIndex": 4
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": "Interface",
7197
- "canonicalReference": "server!ChunkEventPayloads:interface",
7198
- "docComment": "/**\n * Event payloads for Chunk emitted events.\n *\n * @public\n */\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 interface ChunkEventPayloads "
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": "PropertySignature",
7257
- "canonicalReference": "server!ChunkEventPayloads#\"CHUNK.SET_BLOCK\":member",
7258
- "docComment": "/**\n * Emitted when a block is set in a chunk.\n */\n",
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": "export default class ChunkLattice "
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 * Despawns and clears all chunks in the lattice.\n */\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 a chunk by its origin coordinate.\n *\n * @param originCoordinate - The origin coordinate of the chunk to get.\n *\n * @returns The chunk at the given origin coordinate or undefined if not found.\n */\n",
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(originCoordinate: "
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": "originCoordinate",
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)",
@@ -7713,29 +7354,86 @@
7713
7354
  ],
7714
7355
  "isOptional": false,
7715
7356
  "isAbstract": false,
7716
- "name": "hasBlock"
7357
+ "name": "hasBlock"
7358
+ },
7359
+ {
7360
+ "kind": "Method",
7361
+ "canonicalReference": "server!ChunkLattice#hasChunk:member(1)",
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",
7363
+ "excerptTokens": [
7364
+ {
7365
+ "kind": "Content",
7366
+ "text": "hasChunk(globalCoordinate: "
7367
+ },
7368
+ {
7369
+ "kind": "Reference",
7370
+ "text": "Vector3Like",
7371
+ "canonicalReference": "server!Vector3Like:interface"
7372
+ },
7373
+ {
7374
+ "kind": "Content",
7375
+ "text": "): "
7376
+ },
7377
+ {
7378
+ "kind": "Content",
7379
+ "text": "boolean"
7380
+ },
7381
+ {
7382
+ "kind": "Content",
7383
+ "text": ";"
7384
+ }
7385
+ ],
7386
+ "isStatic": false,
7387
+ "returnTypeTokenRange": {
7388
+ "startIndex": 3,
7389
+ "endIndex": 4
7390
+ },
7391
+ "releaseTag": "Public",
7392
+ "isProtected": false,
7393
+ "overloadIndex": 1,
7394
+ "parameters": [
7395
+ {
7396
+ "parameterName": "globalCoordinate",
7397
+ "parameterTypeTokenRange": {
7398
+ "startIndex": 1,
7399
+ "endIndex": 2
7400
+ },
7401
+ "isOptional": false
7402
+ }
7403
+ ],
7404
+ "isOptional": false,
7405
+ "isAbstract": false,
7406
+ "name": "hasChunk"
7717
7407
  },
7718
7408
  {
7719
7409
  "kind": "Method",
7720
- "canonicalReference": "server!ChunkLattice#hasChunk:member(1)",
7721
- "docComment": "/**\n * Check if a chunk exists by its origin coordinate.\n *\n * @param originCoordinate - The origin coordinate of the chunk to check.\n *\n * @returns Whether the chunk exists.\n */\n",
7410
+ "canonicalReference": "server!ChunkLattice#setBlock:member(1)",
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",
7722
7412
  "excerptTokens": [
7723
7413
  {
7724
7414
  "kind": "Content",
7725
- "text": "hasChunk(originCoordinate: "
7415
+ "text": "setBlock(globalCoordinate: "
7726
7416
  },
7727
7417
  {
7728
7418
  "kind": "Reference",
7729
7419
  "text": "Vector3Like",
7730
7420
  "canonicalReference": "server!Vector3Like:interface"
7731
7421
  },
7422
+ {
7423
+ "kind": "Content",
7424
+ "text": ", blockTypeId: "
7425
+ },
7426
+ {
7427
+ "kind": "Content",
7428
+ "text": "number"
7429
+ },
7732
7430
  {
7733
7431
  "kind": "Content",
7734
7432
  "text": "): "
7735
7433
  },
7736
7434
  {
7737
7435
  "kind": "Content",
7738
- "text": "boolean"
7436
+ "text": "void"
7739
7437
  },
7740
7438
  {
7741
7439
  "kind": "Content",
@@ -7744,93 +7442,243 @@
7744
7442
  ],
7745
7443
  "isStatic": false,
7746
7444
  "returnTypeTokenRange": {
7747
- "startIndex": 3,
7748
- "endIndex": 4
7445
+ "startIndex": 5,
7446
+ "endIndex": 6
7749
7447
  },
7750
7448
  "releaseTag": "Public",
7751
7449
  "isProtected": false,
7752
7450
  "overloadIndex": 1,
7753
7451
  "parameters": [
7754
7452
  {
7755
- "parameterName": "originCoordinate",
7453
+ "parameterName": "globalCoordinate",
7756
7454
  "parameterTypeTokenRange": {
7757
7455
  "startIndex": 1,
7758
7456
  "endIndex": 2
7759
7457
  },
7760
7458
  "isOptional": false
7459
+ },
7460
+ {
7461
+ "parameterName": "blockTypeId",
7462
+ "parameterTypeTokenRange": {
7463
+ "startIndex": 3,
7464
+ "endIndex": 4
7465
+ },
7466
+ "isOptional": false
7761
7467
  }
7762
7468
  ],
7763
7469
  "isOptional": false,
7764
7470
  "isAbstract": false,
7765
- "name": "hasChunk"
7471
+ "name": "setBlock"
7472
+ }
7473
+ ],
7474
+ "extendsTokenRange": {
7475
+ "startIndex": 1,
7476
+ "endIndex": 2
7477
+ },
7478
+ "implementsTokenRanges": []
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"
7766
7515
  },
7767
7516
  {
7768
- "kind": "Method",
7769
- "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",
7517
+ "kind": "EnumMember",
7518
+ "canonicalReference": "server!ChunkLatticeEvent.SET_BLOCK:member",
7519
+ "docComment": "",
7771
7520
  "excerptTokens": [
7772
7521
  {
7773
7522
  "kind": "Content",
7774
- "text": "setBlock(globalCoordinate: "
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": "["
7775
7562
  },
7776
7563
  {
7777
7564
  "kind": "Reference",
7778
- "text": "Vector3Like",
7779
- "canonicalReference": "server!Vector3Like:interface"
7565
+ "text": "ChunkLatticeEvent.REMOVE_CHUNK",
7566
+ "canonicalReference": "server!ChunkLatticeEvent.REMOVE_CHUNK:member"
7780
7567
  },
7781
7568
  {
7782
7569
  "kind": "Content",
7783
- "text": ", blockTypeId: "
7570
+ "text": "]: "
7784
7571
  },
7785
7572
  {
7786
7573
  "kind": "Content",
7787
- "text": "number"
7574
+ "text": "{\n chunkLattice: "
7575
+ },
7576
+ {
7577
+ "kind": "Reference",
7578
+ "text": "ChunkLattice",
7579
+ "canonicalReference": "server!ChunkLattice:class"
7788
7580
  },
7789
7581
  {
7790
7582
  "kind": "Content",
7791
- "text": "): "
7583
+ "text": ";\n chunk: "
7584
+ },
7585
+ {
7586
+ "kind": "Reference",
7587
+ "text": "Chunk",
7588
+ "canonicalReference": "server!Chunk:class"
7792
7589
  },
7793
7590
  {
7794
7591
  "kind": "Content",
7795
- "text": "void"
7592
+ "text": ";\n }"
7796
7593
  },
7797
7594
  {
7798
7595
  "kind": "Content",
7799
7596
  "text": ";"
7800
7597
  }
7801
7598
  ],
7802
- "isStatic": false,
7803
- "returnTypeTokenRange": {
7804
- "startIndex": 5,
7805
- "endIndex": 6
7806
- },
7599
+ "isReadonly": false,
7600
+ "isOptional": false,
7807
7601
  "releaseTag": "Public",
7808
- "isProtected": false,
7809
- "overloadIndex": 1,
7810
- "parameters": [
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": [
7811
7613
  {
7812
- "parameterName": "globalCoordinate",
7813
- "parameterTypeTokenRange": {
7814
- "startIndex": 1,
7815
- "endIndex": 2
7816
- },
7817
- "isOptional": false
7614
+ "kind": "Content",
7615
+ "text": "["
7818
7616
  },
7819
7617
  {
7820
- "parameterName": "blockTypeId",
7821
- "parameterTypeTokenRange": {
7822
- "startIndex": 3,
7823
- "endIndex": 4
7824
- },
7825
- "isOptional": false
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": ";"
7826
7669
  }
7827
7670
  ],
7671
+ "isReadonly": false,
7828
7672
  "isOptional": false,
7829
- "isAbstract": false,
7830
- "name": "setBlock"
7673
+ "releaseTag": "Public",
7674
+ "name": "\"CHUNK_LATTICE.SET_BLOCK\"",
7675
+ "propertyTypeTokenRange": {
7676
+ "startIndex": 3,
7677
+ "endIndex": 12
7678
+ }
7831
7679
  }
7832
7680
  ],
7833
- "implementsTokenRanges": []
7681
+ "extendsTokenRanges": []
7834
7682
  },
7835
7683
  {
7836
7684
  "kind": "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",
@@ -9282,7 +9130,55 @@
9282
9130
  "overloadIndex": 1,
9283
9131
  "parameters": [
9284
9132
  {
9285
- "parameterName": "rotation",
9133
+ "parameterName": "rotation",
9134
+ "parameterTypeTokenRange": {
9135
+ "startIndex": 1,
9136
+ "endIndex": 2
9137
+ },
9138
+ "isOptional": false
9139
+ }
9140
+ ],
9141
+ "isOptional": false,
9142
+ "isAbstract": false,
9143
+ "name": "setRelativeRotation"
9144
+ },
9145
+ {
9146
+ "kind": "Method",
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",
9149
+ "excerptTokens": [
9150
+ {
9151
+ "kind": "Content",
9152
+ "text": "setSensor(sensor: "
9153
+ },
9154
+ {
9155
+ "kind": "Content",
9156
+ "text": "boolean"
9157
+ },
9158
+ {
9159
+ "kind": "Content",
9160
+ "text": "): "
9161
+ },
9162
+ {
9163
+ "kind": "Content",
9164
+ "text": "void"
9165
+ },
9166
+ {
9167
+ "kind": "Content",
9168
+ "text": ";"
9169
+ }
9170
+ ],
9171
+ "isStatic": false,
9172
+ "returnTypeTokenRange": {
9173
+ "startIndex": 3,
9174
+ "endIndex": 4
9175
+ },
9176
+ "releaseTag": "Public",
9177
+ "isProtected": false,
9178
+ "overloadIndex": 1,
9179
+ "parameters": [
9180
+ {
9181
+ "parameterName": "sensor",
9286
9182
  "parameterTypeTokenRange": {
9287
9183
  "startIndex": 1,
9288
9184
  "endIndex": 2
@@ -9292,20 +9188,20 @@
9292
9188
  ],
9293
9189
  "isOptional": false,
9294
9190
  "isAbstract": false,
9295
- "name": "setRelativeRotation"
9191
+ "name": "setSensor"
9296
9192
  },
9297
9193
  {
9298
9194
  "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",
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",
9301
9197
  "excerptTokens": [
9302
9198
  {
9303
9199
  "kind": "Content",
9304
- "text": "setSensor(sensor: "
9200
+ "text": "setTag(tag: "
9305
9201
  },
9306
9202
  {
9307
9203
  "kind": "Content",
9308
- "text": "boolean"
9204
+ "text": "string"
9309
9205
  },
9310
9206
  {
9311
9207
  "kind": "Content",
@@ -9330,7 +9226,7 @@
9330
9226
  "overloadIndex": 1,
9331
9227
  "parameters": [
9332
9228
  {
9333
- "parameterName": "sensor",
9229
+ "parameterName": "tag",
9334
9230
  "parameterTypeTokenRange": {
9335
9231
  "startIndex": 1,
9336
9232
  "endIndex": 2
@@ -9340,20 +9236,29 @@
9340
9236
  ],
9341
9237
  "isOptional": false,
9342
9238
  "isAbstract": false,
9343
- "name": "setSensor"
9239
+ "name": "setTag"
9344
9240
  },
9345
9241
  {
9346
9242
  "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",
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",
9349
9245
  "excerptTokens": [
9350
9246
  {
9351
9247
  "kind": "Content",
9352
- "text": "setTag(tag: "
9248
+ "text": "setVoxel(coordinate: "
9249
+ },
9250
+ {
9251
+ "kind": "Reference",
9252
+ "text": "Vector3Like",
9253
+ "canonicalReference": "server!Vector3Like:interface"
9353
9254
  },
9354
9255
  {
9355
9256
  "kind": "Content",
9356
- "text": "string"
9257
+ "text": ", filled: "
9258
+ },
9259
+ {
9260
+ "kind": "Content",
9261
+ "text": "boolean"
9357
9262
  },
9358
9263
  {
9359
9264
  "kind": "Content",
@@ -9370,25 +9275,33 @@
9370
9275
  ],
9371
9276
  "isStatic": false,
9372
9277
  "returnTypeTokenRange": {
9373
- "startIndex": 3,
9374
- "endIndex": 4
9278
+ "startIndex": 5,
9279
+ "endIndex": 6
9375
9280
  },
9376
9281
  "releaseTag": "Public",
9377
9282
  "isProtected": false,
9378
9283
  "overloadIndex": 1,
9379
9284
  "parameters": [
9380
9285
  {
9381
- "parameterName": "tag",
9286
+ "parameterName": "coordinate",
9382
9287
  "parameterTypeTokenRange": {
9383
9288
  "startIndex": 1,
9384
9289
  "endIndex": 2
9385
9290
  },
9386
9291
  "isOptional": false
9292
+ },
9293
+ {
9294
+ "parameterName": "filled",
9295
+ "parameterTypeTokenRange": {
9296
+ "startIndex": 3,
9297
+ "endIndex": 4
9298
+ },
9299
+ "isOptional": false
9387
9300
  }
9388
9301
  ],
9389
9302
  "isOptional": false,
9390
9303
  "isAbstract": false,
9391
- "name": "setTag"
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": 18
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": "ChunkEventPayloads",
17351
- "canonicalReference": "server!ChunkEventPayloads:interface"
17293
+ "text": "ChunkLatticeEventPayloads",
17294
+ "canonicalReference": "server!ChunkLatticeEventPayloads:interface"
17352
17295
  },
17353
17296
  {
17354
17297
  "kind": "Content",
@@ -29052,36 +28995,6 @@
29052
28995
  "isProtected": false,
29053
28996
  "isAbstract": false
29054
28997
  },
29055
- {
29056
- "kind": "Property",
29057
- "canonicalReference": "server!ParticleEmitter#isStopped:member",
29058
- "docComment": "/**\n * Whether the ParticleEmitter is stopped.\n */\n",
29059
- "excerptTokens": [
29060
- {
29061
- "kind": "Content",
29062
- "text": "get isStopped(): "
29063
- },
29064
- {
29065
- "kind": "Content",
29066
- "text": "boolean"
29067
- },
29068
- {
29069
- "kind": "Content",
29070
- "text": ";"
29071
- }
29072
- ],
29073
- "isReadonly": true,
29074
- "isOptional": false,
29075
- "releaseTag": "Public",
29076
- "name": "isStopped",
29077
- "propertyTypeTokenRange": {
29078
- "startIndex": 1,
29079
- "endIndex": 2
29080
- },
29081
- "isStatic": false,
29082
- "isProtected": false,
29083
- "isAbstract": false
29084
- },
29085
28998
  {
29086
28999
  "kind": "Property",
29087
29000
  "canonicalReference": "server!ParticleEmitter#lifetime:member",
@@ -29327,6 +29240,36 @@
29327
29240
  "isProtected": false,
29328
29241
  "isAbstract": false
29329
29242
  },
29243
+ {
29244
+ "kind": "Property",
29245
+ "canonicalReference": "server!ParticleEmitter#paused:member",
29246
+ "docComment": "/**\n * Whether an emitted particle is being paused.\n */\n",
29247
+ "excerptTokens": [
29248
+ {
29249
+ "kind": "Content",
29250
+ "text": "get paused(): "
29251
+ },
29252
+ {
29253
+ "kind": "Content",
29254
+ "text": "boolean | undefined"
29255
+ },
29256
+ {
29257
+ "kind": "Content",
29258
+ "text": ";"
29259
+ }
29260
+ ],
29261
+ "isReadonly": true,
29262
+ "isOptional": false,
29263
+ "releaseTag": "Public",
29264
+ "name": "paused",
29265
+ "propertyTypeTokenRange": {
29266
+ "startIndex": 1,
29267
+ "endIndex": 2
29268
+ },
29269
+ "isStatic": false,
29270
+ "isProtected": false,
29271
+ "isAbstract": false
29272
+ },
29330
29273
  {
29331
29274
  "kind": "Property",
29332
29275
  "canonicalReference": "server!ParticleEmitter#position:member",
@@ -29460,7 +29403,7 @@
29460
29403
  {
29461
29404
  "kind": "Method",
29462
29405
  "canonicalReference": "server!ParticleEmitter#restart:member(1)",
29463
- "docComment": "/**\n * Restarts the particle emission if it was previously stopped. Internally, this sets the rate to the value it was before being stopped.\n */\n",
29406
+ "docComment": "/**\n * Restarts the particle emission if it was previously stopped.\n */\n",
29464
29407
  "excerptTokens": [
29465
29408
  {
29466
29409
  "kind": "Content",
@@ -30059,7 +30002,151 @@
30059
30002
  "overloadIndex": 1,
30060
30003
  "parameters": [
30061
30004
  {
30062
- "parameterName": "offset",
30005
+ "parameterName": "offset",
30006
+ "parameterTypeTokenRange": {
30007
+ "startIndex": 1,
30008
+ "endIndex": 2
30009
+ },
30010
+ "isOptional": false
30011
+ }
30012
+ ],
30013
+ "isOptional": false,
30014
+ "isAbstract": false,
30015
+ "name": "setOffset"
30016
+ },
30017
+ {
30018
+ "kind": "Method",
30019
+ "canonicalReference": "server!ParticleEmitter#setOpacityEnd:member(1)",
30020
+ "docComment": "/**\n * Sets the opacity of an emitted particle at the end of its lifetime.\n *\n * @param opacityEnd - The opacity of an emitted particle at the end of its lifetime.\n */\n",
30021
+ "excerptTokens": [
30022
+ {
30023
+ "kind": "Content",
30024
+ "text": "setOpacityEnd(opacityEnd: "
30025
+ },
30026
+ {
30027
+ "kind": "Content",
30028
+ "text": "number"
30029
+ },
30030
+ {
30031
+ "kind": "Content",
30032
+ "text": "): "
30033
+ },
30034
+ {
30035
+ "kind": "Content",
30036
+ "text": "void"
30037
+ },
30038
+ {
30039
+ "kind": "Content",
30040
+ "text": ";"
30041
+ }
30042
+ ],
30043
+ "isStatic": false,
30044
+ "returnTypeTokenRange": {
30045
+ "startIndex": 3,
30046
+ "endIndex": 4
30047
+ },
30048
+ "releaseTag": "Public",
30049
+ "isProtected": false,
30050
+ "overloadIndex": 1,
30051
+ "parameters": [
30052
+ {
30053
+ "parameterName": "opacityEnd",
30054
+ "parameterTypeTokenRange": {
30055
+ "startIndex": 1,
30056
+ "endIndex": 2
30057
+ },
30058
+ "isOptional": false
30059
+ }
30060
+ ],
30061
+ "isOptional": false,
30062
+ "isAbstract": false,
30063
+ "name": "setOpacityEnd"
30064
+ },
30065
+ {
30066
+ "kind": "Method",
30067
+ "canonicalReference": "server!ParticleEmitter#setOpacityEndVariance:member(1)",
30068
+ "docComment": "/**\n * Sets the opacity variance of an emitted particle at the end of its lifetime.\n *\n * @param opacityEndVariance - The opacity variance of an emitted particle at the end of its lifetime.\n */\n",
30069
+ "excerptTokens": [
30070
+ {
30071
+ "kind": "Content",
30072
+ "text": "setOpacityEndVariance(opacityEndVariance: "
30073
+ },
30074
+ {
30075
+ "kind": "Content",
30076
+ "text": "number"
30077
+ },
30078
+ {
30079
+ "kind": "Content",
30080
+ "text": "): "
30081
+ },
30082
+ {
30083
+ "kind": "Content",
30084
+ "text": "void"
30085
+ },
30086
+ {
30087
+ "kind": "Content",
30088
+ "text": ";"
30089
+ }
30090
+ ],
30091
+ "isStatic": false,
30092
+ "returnTypeTokenRange": {
30093
+ "startIndex": 3,
30094
+ "endIndex": 4
30095
+ },
30096
+ "releaseTag": "Public",
30097
+ "isProtected": false,
30098
+ "overloadIndex": 1,
30099
+ "parameters": [
30100
+ {
30101
+ "parameterName": "opacityEndVariance",
30102
+ "parameterTypeTokenRange": {
30103
+ "startIndex": 1,
30104
+ "endIndex": 2
30105
+ },
30106
+ "isOptional": false
30107
+ }
30108
+ ],
30109
+ "isOptional": false,
30110
+ "isAbstract": false,
30111
+ "name": "setOpacityEndVariance"
30112
+ },
30113
+ {
30114
+ "kind": "Method",
30115
+ "canonicalReference": "server!ParticleEmitter#setOpacityStart:member(1)",
30116
+ "docComment": "/**\n * Sets the opacity of an emitted particle at the start of its lifetime.\n *\n * @param opacityStart - The opacity of an emitted particle at the start of its lifetime.\n */\n",
30117
+ "excerptTokens": [
30118
+ {
30119
+ "kind": "Content",
30120
+ "text": "setOpacityStart(opacityStart: "
30121
+ },
30122
+ {
30123
+ "kind": "Content",
30124
+ "text": "number"
30125
+ },
30126
+ {
30127
+ "kind": "Content",
30128
+ "text": "): "
30129
+ },
30130
+ {
30131
+ "kind": "Content",
30132
+ "text": "void"
30133
+ },
30134
+ {
30135
+ "kind": "Content",
30136
+ "text": ";"
30137
+ }
30138
+ ],
30139
+ "isStatic": false,
30140
+ "returnTypeTokenRange": {
30141
+ "startIndex": 3,
30142
+ "endIndex": 4
30143
+ },
30144
+ "releaseTag": "Public",
30145
+ "isProtected": false,
30146
+ "overloadIndex": 1,
30147
+ "parameters": [
30148
+ {
30149
+ "parameterName": "opacityStart",
30063
30150
  "parameterTypeTokenRange": {
30064
30151
  "startIndex": 1,
30065
30152
  "endIndex": 2
@@ -30069,16 +30156,16 @@
30069
30156
  ],
30070
30157
  "isOptional": false,
30071
30158
  "isAbstract": false,
30072
- "name": "setOffset"
30159
+ "name": "setOpacityStart"
30073
30160
  },
30074
30161
  {
30075
30162
  "kind": "Method",
30076
- "canonicalReference": "server!ParticleEmitter#setOpacityEnd:member(1)",
30077
- "docComment": "/**\n * Sets the opacity of an emitted particle at the end of its lifetime.\n *\n * @param opacityEnd - The opacity of an emitted particle at the end of its lifetime.\n */\n",
30163
+ "canonicalReference": "server!ParticleEmitter#setOpacityStartVariance:member(1)",
30164
+ "docComment": "/**\n * Sets the opacity variance of an emitted particle at the start of its lifetime.\n *\n * @param opacityStartVariance - The opacity variance of an emitted particle at the start of its lifetime.\n */\n",
30078
30165
  "excerptTokens": [
30079
30166
  {
30080
30167
  "kind": "Content",
30081
- "text": "setOpacityEnd(opacityEnd: "
30168
+ "text": "setOpacityStartVariance(opacityStartVariance: "
30082
30169
  },
30083
30170
  {
30084
30171
  "kind": "Content",
@@ -30107,7 +30194,7 @@
30107
30194
  "overloadIndex": 1,
30108
30195
  "parameters": [
30109
30196
  {
30110
- "parameterName": "opacityEnd",
30197
+ "parameterName": "opacityStartVariance",
30111
30198
  "parameterTypeTokenRange": {
30112
30199
  "startIndex": 1,
30113
30200
  "endIndex": 2
@@ -30117,20 +30204,21 @@
30117
30204
  ],
30118
30205
  "isOptional": false,
30119
30206
  "isAbstract": false,
30120
- "name": "setOpacityEnd"
30207
+ "name": "setOpacityStartVariance"
30121
30208
  },
30122
30209
  {
30123
30210
  "kind": "Method",
30124
- "canonicalReference": "server!ParticleEmitter#setOpacityEndVariance:member(1)",
30125
- "docComment": "/**\n * Sets the opacity variance of an emitted particle at the end of its lifetime.\n *\n * @param opacityEndVariance - The opacity variance of an emitted particle at the end of its lifetime.\n */\n",
30211
+ "canonicalReference": "server!ParticleEmitter#setPosition:member(1)",
30212
+ "docComment": "/**\n * Sets the position of the particle emitter.\n *\n * @param position - The position of the particle emitter.\n */\n",
30126
30213
  "excerptTokens": [
30127
30214
  {
30128
30215
  "kind": "Content",
30129
- "text": "setOpacityEndVariance(opacityEndVariance: "
30216
+ "text": "setPosition(position: "
30130
30217
  },
30131
30218
  {
30132
- "kind": "Content",
30133
- "text": "number"
30219
+ "kind": "Reference",
30220
+ "text": "Vector3Like",
30221
+ "canonicalReference": "server!Vector3Like:interface"
30134
30222
  },
30135
30223
  {
30136
30224
  "kind": "Content",
@@ -30155,7 +30243,7 @@
30155
30243
  "overloadIndex": 1,
30156
30244
  "parameters": [
30157
30245
  {
30158
- "parameterName": "opacityEndVariance",
30246
+ "parameterName": "position",
30159
30247
  "parameterTypeTokenRange": {
30160
30248
  "startIndex": 1,
30161
30249
  "endIndex": 2
@@ -30165,20 +30253,21 @@
30165
30253
  ],
30166
30254
  "isOptional": false,
30167
30255
  "isAbstract": false,
30168
- "name": "setOpacityEndVariance"
30256
+ "name": "setPosition"
30169
30257
  },
30170
30258
  {
30171
30259
  "kind": "Method",
30172
- "canonicalReference": "server!ParticleEmitter#setOpacityStart:member(1)",
30173
- "docComment": "/**\n * Sets the opacity of an emitted particle at the start of its lifetime.\n *\n * @param opacityStart - The opacity of an emitted particle at the start of its lifetime.\n */\n",
30260
+ "canonicalReference": "server!ParticleEmitter#setPositionVariance:member(1)",
30261
+ "docComment": "/**\n * Sets the position variance of an emitted particle.\n *\n * @param positionVariance - The position variance of an emitted particle.\n */\n",
30174
30262
  "excerptTokens": [
30175
30263
  {
30176
30264
  "kind": "Content",
30177
- "text": "setOpacityStart(opacityStart: "
30265
+ "text": "setPositionVariance(positionVariance: "
30178
30266
  },
30179
30267
  {
30180
- "kind": "Content",
30181
- "text": "number"
30268
+ "kind": "Reference",
30269
+ "text": "Vector3Like",
30270
+ "canonicalReference": "server!Vector3Like:interface"
30182
30271
  },
30183
30272
  {
30184
30273
  "kind": "Content",
@@ -30203,7 +30292,7 @@
30203
30292
  "overloadIndex": 1,
30204
30293
  "parameters": [
30205
30294
  {
30206
- "parameterName": "opacityStart",
30295
+ "parameterName": "positionVariance",
30207
30296
  "parameterTypeTokenRange": {
30208
30297
  "startIndex": 1,
30209
30298
  "endIndex": 2
@@ -30213,16 +30302,16 @@
30213
30302
  ],
30214
30303
  "isOptional": false,
30215
30304
  "isAbstract": false,
30216
- "name": "setOpacityStart"
30305
+ "name": "setPositionVariance"
30217
30306
  },
30218
30307
  {
30219
30308
  "kind": "Method",
30220
- "canonicalReference": "server!ParticleEmitter#setOpacityStartVariance:member(1)",
30221
- "docComment": "/**\n * Sets the opacity variance of an emitted particle at the start of its lifetime.\n *\n * @param opacityStartVariance - The opacity variance of an emitted particle at the start of its lifetime.\n */\n",
30309
+ "canonicalReference": "server!ParticleEmitter#setRate:member(1)",
30310
+ "docComment": "/**\n * Sets the rate per second at which particles are emitted.\n *\n * @param rate - The rate per second at which particles are emitted.\n */\n",
30222
30311
  "excerptTokens": [
30223
30312
  {
30224
30313
  "kind": "Content",
30225
- "text": "setOpacityStartVariance(opacityStartVariance: "
30314
+ "text": "setRate(rate: "
30226
30315
  },
30227
30316
  {
30228
30317
  "kind": "Content",
@@ -30251,7 +30340,7 @@
30251
30340
  "overloadIndex": 1,
30252
30341
  "parameters": [
30253
30342
  {
30254
- "parameterName": "opacityStartVariance",
30343
+ "parameterName": "rate",
30255
30344
  "parameterTypeTokenRange": {
30256
30345
  "startIndex": 1,
30257
30346
  "endIndex": 2
@@ -30261,70 +30350,20 @@
30261
30350
  ],
30262
30351
  "isOptional": false,
30263
30352
  "isAbstract": false,
30264
- "name": "setOpacityStartVariance"
30353
+ "name": "setRate"
30265
30354
  },
30266
30355
  {
30267
30356
  "kind": "Method",
30268
- "canonicalReference": "server!ParticleEmitter#setPosition:member(1)",
30269
- "docComment": "/**\n * Sets the position of the particle emitter.\n *\n * @param position - The position of the particle emitter.\n */\n",
30357
+ "canonicalReference": "server!ParticleEmitter#setRateVariance:member(1)",
30358
+ "docComment": "/**\n * Sets the rate variance of the particle emission rate.\n *\n * @param rateVariance - The rate variance of the particle emission rate.\n */\n",
30270
30359
  "excerptTokens": [
30271
30360
  {
30272
30361
  "kind": "Content",
30273
- "text": "setPosition(position: "
30274
- },
30275
- {
30276
- "kind": "Reference",
30277
- "text": "Vector3Like",
30278
- "canonicalReference": "server!Vector3Like:interface"
30279
- },
30280
- {
30281
- "kind": "Content",
30282
- "text": "): "
30283
- },
30284
- {
30285
- "kind": "Content",
30286
- "text": "void"
30362
+ "text": "setRateVariance(rateVariance: "
30287
30363
  },
30288
30364
  {
30289
30365
  "kind": "Content",
30290
- "text": ";"
30291
- }
30292
- ],
30293
- "isStatic": false,
30294
- "returnTypeTokenRange": {
30295
- "startIndex": 3,
30296
- "endIndex": 4
30297
- },
30298
- "releaseTag": "Public",
30299
- "isProtected": false,
30300
- "overloadIndex": 1,
30301
- "parameters": [
30302
- {
30303
- "parameterName": "position",
30304
- "parameterTypeTokenRange": {
30305
- "startIndex": 1,
30306
- "endIndex": 2
30307
- },
30308
- "isOptional": false
30309
- }
30310
- ],
30311
- "isOptional": false,
30312
- "isAbstract": false,
30313
- "name": "setPosition"
30314
- },
30315
- {
30316
- "kind": "Method",
30317
- "canonicalReference": "server!ParticleEmitter#setPositionVariance:member(1)",
30318
- "docComment": "/**\n * Sets the position variance of an emitted particle.\n *\n * @param positionVariance - The position variance of an emitted particle.\n */\n",
30319
- "excerptTokens": [
30320
- {
30321
- "kind": "Content",
30322
- "text": "setPositionVariance(positionVariance: "
30323
- },
30324
- {
30325
- "kind": "Reference",
30326
- "text": "Vector3Like",
30327
- "canonicalReference": "server!Vector3Like:interface"
30366
+ "text": "number"
30328
30367
  },
30329
30368
  {
30330
30369
  "kind": "Content",
@@ -30349,7 +30388,7 @@
30349
30388
  "overloadIndex": 1,
30350
30389
  "parameters": [
30351
30390
  {
30352
- "parameterName": "positionVariance",
30391
+ "parameterName": "rateVariance",
30353
30392
  "parameterTypeTokenRange": {
30354
30393
  "startIndex": 1,
30355
30394
  "endIndex": 2
@@ -30359,16 +30398,16 @@
30359
30398
  ],
30360
30399
  "isOptional": false,
30361
30400
  "isAbstract": false,
30362
- "name": "setPositionVariance"
30401
+ "name": "setRateVariance"
30363
30402
  },
30364
30403
  {
30365
30404
  "kind": "Method",
30366
- "canonicalReference": "server!ParticleEmitter#setRate:member(1)",
30367
- "docComment": "/**\n * Sets the rate per second at which particles are emitted.\n *\n * @param rate - The rate per second at which particles are emitted.\n */\n",
30405
+ "canonicalReference": "server!ParticleEmitter#setSizeEnd:member(1)",
30406
+ "docComment": "/**\n * Sets the size at the end of an emitted particle's lifetime.\n *\n * @param sizeEnd - The size at the end of an emitted particle's lifetime.\n */\n",
30368
30407
  "excerptTokens": [
30369
30408
  {
30370
30409
  "kind": "Content",
30371
- "text": "setRate(rate: "
30410
+ "text": "setSizeEnd(sizeEnd: "
30372
30411
  },
30373
30412
  {
30374
30413
  "kind": "Content",
@@ -30397,7 +30436,7 @@
30397
30436
  "overloadIndex": 1,
30398
30437
  "parameters": [
30399
30438
  {
30400
- "parameterName": "rate",
30439
+ "parameterName": "sizeEnd",
30401
30440
  "parameterTypeTokenRange": {
30402
30441
  "startIndex": 1,
30403
30442
  "endIndex": 2
@@ -30407,16 +30446,16 @@
30407
30446
  ],
30408
30447
  "isOptional": false,
30409
30448
  "isAbstract": false,
30410
- "name": "setRate"
30449
+ "name": "setSizeEnd"
30411
30450
  },
30412
30451
  {
30413
30452
  "kind": "Method",
30414
- "canonicalReference": "server!ParticleEmitter#setRateVariance:member(1)",
30415
- "docComment": "/**\n * Sets the rate variance of the particle emission rate.\n *\n * @param rateVariance - The rate variance of the particle emission rate.\n */\n",
30453
+ "canonicalReference": "server!ParticleEmitter#setSizeEndVariance:member(1)",
30454
+ "docComment": "/**\n * Sets the size variance at the end of an emitted particle's lifetime.\n *\n * @param sizeEndVariance - The size variance at the end of an emitted particle's lifetime.\n */\n",
30416
30455
  "excerptTokens": [
30417
30456
  {
30418
30457
  "kind": "Content",
30419
- "text": "setRateVariance(rateVariance: "
30458
+ "text": "setSizeEndVariance(sizeEndVariance: "
30420
30459
  },
30421
30460
  {
30422
30461
  "kind": "Content",
@@ -30445,7 +30484,7 @@
30445
30484
  "overloadIndex": 1,
30446
30485
  "parameters": [
30447
30486
  {
30448
- "parameterName": "rateVariance",
30487
+ "parameterName": "sizeEndVariance",
30449
30488
  "parameterTypeTokenRange": {
30450
30489
  "startIndex": 1,
30451
30490
  "endIndex": 2
@@ -30455,16 +30494,16 @@
30455
30494
  ],
30456
30495
  "isOptional": false,
30457
30496
  "isAbstract": false,
30458
- "name": "setRateVariance"
30497
+ "name": "setSizeEndVariance"
30459
30498
  },
30460
30499
  {
30461
30500
  "kind": "Method",
30462
- "canonicalReference": "server!ParticleEmitter#setSize:member(1)",
30463
- "docComment": "/**\n * Sets the size of an emitted particle.\n *\n * @param size - The size of an emitted particle.\n */\n",
30501
+ "canonicalReference": "server!ParticleEmitter#setSizeStart:member(1)",
30502
+ "docComment": "/**\n * Sets the size at the start of an emitted particle's lifetime.\n *\n * @param sizeStart - The size at the start of an emitted particle's lifetime.\n */\n",
30464
30503
  "excerptTokens": [
30465
30504
  {
30466
30505
  "kind": "Content",
30467
- "text": "setSize(size: "
30506
+ "text": "setSizeStart(sizeStart: "
30468
30507
  },
30469
30508
  {
30470
30509
  "kind": "Content",
@@ -30493,7 +30532,7 @@
30493
30532
  "overloadIndex": 1,
30494
30533
  "parameters": [
30495
30534
  {
30496
- "parameterName": "size",
30535
+ "parameterName": "sizeStart",
30497
30536
  "parameterTypeTokenRange": {
30498
30537
  "startIndex": 1,
30499
30538
  "endIndex": 2
@@ -30503,16 +30542,16 @@
30503
30542
  ],
30504
30543
  "isOptional": false,
30505
30544
  "isAbstract": false,
30506
- "name": "setSize"
30545
+ "name": "setSizeStart"
30507
30546
  },
30508
30547
  {
30509
30548
  "kind": "Method",
30510
- "canonicalReference": "server!ParticleEmitter#setSizeVariance:member(1)",
30511
- "docComment": "/**\n * Sets the size variance of an emitted particle.\n *\n * @param sizeVariance - The size variance of an emitted particle.\n */\n",
30549
+ "canonicalReference": "server!ParticleEmitter#setSizeStartVariance:member(1)",
30550
+ "docComment": "/**\n * Sets the size variance at the start of an emitted particle's lifetime.\n *\n * @param sizeStartVariance - The size variance at the start of an emitted particle's lifetime.\n */\n",
30512
30551
  "excerptTokens": [
30513
30552
  {
30514
30553
  "kind": "Content",
30515
- "text": "setSizeVariance(sizeVariance: "
30554
+ "text": "setSizeStartVariance(sizeStartVariance: "
30516
30555
  },
30517
30556
  {
30518
30557
  "kind": "Content",
@@ -30541,7 +30580,7 @@
30541
30580
  "overloadIndex": 1,
30542
30581
  "parameters": [
30543
30582
  {
30544
- "parameterName": "sizeVariance",
30583
+ "parameterName": "sizeStartVariance",
30545
30584
  "parameterTypeTokenRange": {
30546
30585
  "startIndex": 1,
30547
30586
  "endIndex": 2
@@ -30551,7 +30590,7 @@
30551
30590
  ],
30552
30591
  "isOptional": false,
30553
30592
  "isAbstract": false,
30554
- "name": "setSizeVariance"
30593
+ "name": "setSizeStartVariance"
30555
30594
  },
30556
30595
  {
30557
30596
  "kind": "Method",
@@ -30749,12 +30788,12 @@
30749
30788
  },
30750
30789
  {
30751
30790
  "kind": "Property",
30752
- "canonicalReference": "server!ParticleEmitter#size:member",
30753
- "docComment": "/**\n * The size of an emitted particle.\n */\n",
30791
+ "canonicalReference": "server!ParticleEmitter#sizeEnd:member",
30792
+ "docComment": "/**\n * The size at the end of an emitted particle's lifetime.\n */\n",
30754
30793
  "excerptTokens": [
30755
30794
  {
30756
30795
  "kind": "Content",
30757
- "text": "get size(): "
30796
+ "text": "get sizeEnd(): "
30758
30797
  },
30759
30798
  {
30760
30799
  "kind": "Content",
@@ -30768,7 +30807,97 @@
30768
30807
  "isReadonly": true,
30769
30808
  "isOptional": false,
30770
30809
  "releaseTag": "Public",
30771
- "name": "size",
30810
+ "name": "sizeEnd",
30811
+ "propertyTypeTokenRange": {
30812
+ "startIndex": 1,
30813
+ "endIndex": 2
30814
+ },
30815
+ "isStatic": false,
30816
+ "isProtected": false,
30817
+ "isAbstract": false
30818
+ },
30819
+ {
30820
+ "kind": "Property",
30821
+ "canonicalReference": "server!ParticleEmitter#sizeEndVariance:member",
30822
+ "docComment": "/**\n * The size variance at the end of an emitted particle's lifetime.\n */\n",
30823
+ "excerptTokens": [
30824
+ {
30825
+ "kind": "Content",
30826
+ "text": "get sizeEndVariance(): "
30827
+ },
30828
+ {
30829
+ "kind": "Content",
30830
+ "text": "number | undefined"
30831
+ },
30832
+ {
30833
+ "kind": "Content",
30834
+ "text": ";"
30835
+ }
30836
+ ],
30837
+ "isReadonly": true,
30838
+ "isOptional": false,
30839
+ "releaseTag": "Public",
30840
+ "name": "sizeEndVariance",
30841
+ "propertyTypeTokenRange": {
30842
+ "startIndex": 1,
30843
+ "endIndex": 2
30844
+ },
30845
+ "isStatic": false,
30846
+ "isProtected": false,
30847
+ "isAbstract": false
30848
+ },
30849
+ {
30850
+ "kind": "Property",
30851
+ "canonicalReference": "server!ParticleEmitter#sizeStart:member",
30852
+ "docComment": "/**\n * The size at the start of an emitted particle's lifetime.\n */\n",
30853
+ "excerptTokens": [
30854
+ {
30855
+ "kind": "Content",
30856
+ "text": "get sizeStart(): "
30857
+ },
30858
+ {
30859
+ "kind": "Content",
30860
+ "text": "number | undefined"
30861
+ },
30862
+ {
30863
+ "kind": "Content",
30864
+ "text": ";"
30865
+ }
30866
+ ],
30867
+ "isReadonly": true,
30868
+ "isOptional": false,
30869
+ "releaseTag": "Public",
30870
+ "name": "sizeStart",
30871
+ "propertyTypeTokenRange": {
30872
+ "startIndex": 1,
30873
+ "endIndex": 2
30874
+ },
30875
+ "isStatic": false,
30876
+ "isProtected": false,
30877
+ "isAbstract": false
30878
+ },
30879
+ {
30880
+ "kind": "Property",
30881
+ "canonicalReference": "server!ParticleEmitter#sizeStartVariance:member",
30882
+ "docComment": "/**\n * The size variance at the start of an emitted particle's lifetime.\n */\n",
30883
+ "excerptTokens": [
30884
+ {
30885
+ "kind": "Content",
30886
+ "text": "get sizeStartVariance(): "
30887
+ },
30888
+ {
30889
+ "kind": "Content",
30890
+ "text": "number | undefined"
30891
+ },
30892
+ {
30893
+ "kind": "Content",
30894
+ "text": ";"
30895
+ }
30896
+ ],
30897
+ "isReadonly": true,
30898
+ "isOptional": false,
30899
+ "releaseTag": "Public",
30900
+ "name": "sizeStartVariance",
30772
30901
  "propertyTypeTokenRange": {
30773
30902
  "startIndex": 1,
30774
30903
  "endIndex": 2
@@ -30859,7 +30988,7 @@
30859
30988
  {
30860
30989
  "kind": "Method",
30861
30990
  "canonicalReference": "server!ParticleEmitter#stop:member(1)",
30862
- "docComment": "/**\n * Stops the particle emission if it was previously started. Internally, this sets the rate to 0.\n */\n",
30991
+ "docComment": "/**\n * Stops the particle emission.\n */\n",
30863
30992
  "excerptTokens": [
30864
30993
  {
30865
30994
  "kind": "Content",
@@ -31067,7 +31196,7 @@
31067
31196
  {
31068
31197
  "kind": "Enum",
31069
31198
  "canonicalReference": "server!ParticleEmitterEvent:enum",
31070
- "docComment": "/**\n * Event types a ParticleEmitter instance can emit. See {@link ParticleEmitterEventPayloads}\n */\n",
31199
+ "docComment": "/**\n * Event types a ParticleEmitter instance can emit. See {@link ParticleEmitterEventPayloads}\n *\n * @public\n */\n",
31071
31200
  "excerptTokens": [
31072
31201
  {
31073
31202
  "kind": "Content",
@@ -31436,6 +31565,27 @@
31436
31565
  "releaseTag": "Public",
31437
31566
  "name": "SET_OPACITY_START_VARIANCE"
31438
31567
  },
31568
+ {
31569
+ "kind": "EnumMember",
31570
+ "canonicalReference": "server!ParticleEmitterEvent.SET_PAUSED:member",
31571
+ "docComment": "",
31572
+ "excerptTokens": [
31573
+ {
31574
+ "kind": "Content",
31575
+ "text": "SET_PAUSED = "
31576
+ },
31577
+ {
31578
+ "kind": "Content",
31579
+ "text": "\"PARTICLE_EMITTER.SET_PAUSED\""
31580
+ }
31581
+ ],
31582
+ "initializerTokenRange": {
31583
+ "startIndex": 1,
31584
+ "endIndex": 2
31585
+ },
31586
+ "releaseTag": "Public",
31587
+ "name": "SET_PAUSED"
31588
+ },
31439
31589
  {
31440
31590
  "kind": "EnumMember",
31441
31591
  "canonicalReference": "server!ParticleEmitterEvent.SET_POSITION:member",
@@ -31522,16 +31672,58 @@
31522
31672
  },
31523
31673
  {
31524
31674
  "kind": "EnumMember",
31525
- "canonicalReference": "server!ParticleEmitterEvent.SET_SIZE:member",
31675
+ "canonicalReference": "server!ParticleEmitterEvent.SET_SIZE_END:member",
31676
+ "docComment": "",
31677
+ "excerptTokens": [
31678
+ {
31679
+ "kind": "Content",
31680
+ "text": "SET_SIZE_END = "
31681
+ },
31682
+ {
31683
+ "kind": "Content",
31684
+ "text": "\"PARTICLE_EMITTER.SET_SIZE_END\""
31685
+ }
31686
+ ],
31687
+ "initializerTokenRange": {
31688
+ "startIndex": 1,
31689
+ "endIndex": 2
31690
+ },
31691
+ "releaseTag": "Public",
31692
+ "name": "SET_SIZE_END"
31693
+ },
31694
+ {
31695
+ "kind": "EnumMember",
31696
+ "canonicalReference": "server!ParticleEmitterEvent.SET_SIZE_END_VARIANCE:member",
31697
+ "docComment": "",
31698
+ "excerptTokens": [
31699
+ {
31700
+ "kind": "Content",
31701
+ "text": "SET_SIZE_END_VARIANCE = "
31702
+ },
31703
+ {
31704
+ "kind": "Content",
31705
+ "text": "\"PARTICLE_EMITTER.SET_SIZE_END_VARIANCE\""
31706
+ }
31707
+ ],
31708
+ "initializerTokenRange": {
31709
+ "startIndex": 1,
31710
+ "endIndex": 2
31711
+ },
31712
+ "releaseTag": "Public",
31713
+ "name": "SET_SIZE_END_VARIANCE"
31714
+ },
31715
+ {
31716
+ "kind": "EnumMember",
31717
+ "canonicalReference": "server!ParticleEmitterEvent.SET_SIZE_START:member",
31526
31718
  "docComment": "",
31527
31719
  "excerptTokens": [
31528
31720
  {
31529
31721
  "kind": "Content",
31530
- "text": "SET_SIZE = "
31722
+ "text": "SET_SIZE_START = "
31531
31723
  },
31532
31724
  {
31533
31725
  "kind": "Content",
31534
- "text": "\"PARTICLE_EMITTER.SET_SIZE\""
31726
+ "text": "\"PARTICLE_EMITTER.SET_SIZE_START\""
31535
31727
  }
31536
31728
  ],
31537
31729
  "initializerTokenRange": {
@@ -31539,20 +31731,20 @@
31539
31731
  "endIndex": 2
31540
31732
  },
31541
31733
  "releaseTag": "Public",
31542
- "name": "SET_SIZE"
31734
+ "name": "SET_SIZE_START"
31543
31735
  },
31544
31736
  {
31545
31737
  "kind": "EnumMember",
31546
- "canonicalReference": "server!ParticleEmitterEvent.SET_SIZE_VARIANCE:member",
31738
+ "canonicalReference": "server!ParticleEmitterEvent.SET_SIZE_START_VARIANCE:member",
31547
31739
  "docComment": "",
31548
31740
  "excerptTokens": [
31549
31741
  {
31550
31742
  "kind": "Content",
31551
- "text": "SET_SIZE_VARIANCE = "
31743
+ "text": "SET_SIZE_START_VARIANCE = "
31552
31744
  },
31553
31745
  {
31554
31746
  "kind": "Content",
31555
- "text": "\"PARTICLE_EMITTER.SET_SIZE_VARIANCE\""
31747
+ "text": "\"PARTICLE_EMITTER.SET_SIZE_START_VARIANCE\""
31556
31748
  }
31557
31749
  ],
31558
31750
  "initializerTokenRange": {
@@ -31560,7 +31752,7 @@
31560
31752
  "endIndex": 2
31561
31753
  },
31562
31754
  "releaseTag": "Public",
31563
- "name": "SET_SIZE_VARIANCE"
31755
+ "name": "SET_SIZE_START_VARIANCE"
31564
31756
  },
31565
31757
  {
31566
31758
  "kind": "EnumMember",
@@ -32512,6 +32704,51 @@
32512
32704
  "endIndex": 6
32513
32705
  }
32514
32706
  },
32707
+ {
32708
+ "kind": "PropertySignature",
32709
+ "canonicalReference": "server!ParticleEmitterEventPayloads#\"PARTICLE_EMITTER.SET_PAUSED\":member",
32710
+ "docComment": "/**\n * Emitted when the paused state of an emitted particle is set.\n */\n",
32711
+ "excerptTokens": [
32712
+ {
32713
+ "kind": "Content",
32714
+ "text": "["
32715
+ },
32716
+ {
32717
+ "kind": "Reference",
32718
+ "text": "ParticleEmitterEvent.SET_PAUSED",
32719
+ "canonicalReference": "server!ParticleEmitterEvent.SET_PAUSED:member"
32720
+ },
32721
+ {
32722
+ "kind": "Content",
32723
+ "text": "]: "
32724
+ },
32725
+ {
32726
+ "kind": "Content",
32727
+ "text": "{\n particleEmitter: "
32728
+ },
32729
+ {
32730
+ "kind": "Reference",
32731
+ "text": "ParticleEmitter",
32732
+ "canonicalReference": "server!ParticleEmitter:class"
32733
+ },
32734
+ {
32735
+ "kind": "Content",
32736
+ "text": ";\n paused: boolean;\n }"
32737
+ },
32738
+ {
32739
+ "kind": "Content",
32740
+ "text": ";"
32741
+ }
32742
+ ],
32743
+ "isReadonly": false,
32744
+ "isOptional": false,
32745
+ "releaseTag": "Public",
32746
+ "name": "\"PARTICLE_EMITTER.SET_PAUSED\"",
32747
+ "propertyTypeTokenRange": {
32748
+ "startIndex": 3,
32749
+ "endIndex": 6
32750
+ }
32751
+ },
32515
32752
  {
32516
32753
  "kind": "PropertySignature",
32517
32754
  "canonicalReference": "server!ParticleEmitterEventPayloads#\"PARTICLE_EMITTER.SET_POSITION_VARIANCE\":member",
@@ -32712,8 +32949,8 @@
32712
32949
  },
32713
32950
  {
32714
32951
  "kind": "PropertySignature",
32715
- "canonicalReference": "server!ParticleEmitterEventPayloads#\"PARTICLE_EMITTER.SET_SIZE_VARIANCE\":member",
32716
- "docComment": "/**\n * Emitted when the size variance of an emitted particle is set.\n */\n",
32952
+ "canonicalReference": "server!ParticleEmitterEventPayloads#\"PARTICLE_EMITTER.SET_SIZE_END_VARIANCE\":member",
32953
+ "docComment": "/**\n * Emitted when the size variance at the end of an emitted particle's lifetime is set.\n */\n",
32717
32954
  "excerptTokens": [
32718
32955
  {
32719
32956
  "kind": "Content",
@@ -32721,8 +32958,8 @@
32721
32958
  },
32722
32959
  {
32723
32960
  "kind": "Reference",
32724
- "text": "ParticleEmitterEvent.SET_SIZE_VARIANCE",
32725
- "canonicalReference": "server!ParticleEmitterEvent.SET_SIZE_VARIANCE:member"
32961
+ "text": "ParticleEmitterEvent.SET_SIZE_END_VARIANCE",
32962
+ "canonicalReference": "server!ParticleEmitterEvent.SET_SIZE_END_VARIANCE:member"
32726
32963
  },
32727
32964
  {
32728
32965
  "kind": "Content",
@@ -32739,7 +32976,7 @@
32739
32976
  },
32740
32977
  {
32741
32978
  "kind": "Content",
32742
- "text": ";\n sizeVariance: number;\n }"
32979
+ "text": ";\n sizeEndVariance: number;\n }"
32743
32980
  },
32744
32981
  {
32745
32982
  "kind": "Content",
@@ -32749,7 +32986,7 @@
32749
32986
  "isReadonly": false,
32750
32987
  "isOptional": false,
32751
32988
  "releaseTag": "Public",
32752
- "name": "\"PARTICLE_EMITTER.SET_SIZE_VARIANCE\"",
32989
+ "name": "\"PARTICLE_EMITTER.SET_SIZE_END_VARIANCE\"",
32753
32990
  "propertyTypeTokenRange": {
32754
32991
  "startIndex": 3,
32755
32992
  "endIndex": 6
@@ -32757,8 +32994,8 @@
32757
32994
  },
32758
32995
  {
32759
32996
  "kind": "PropertySignature",
32760
- "canonicalReference": "server!ParticleEmitterEventPayloads#\"PARTICLE_EMITTER.SET_SIZE\":member",
32761
- "docComment": "/**\n * Emitted when the size of an emitted particle is set.\n */\n",
32997
+ "canonicalReference": "server!ParticleEmitterEventPayloads#\"PARTICLE_EMITTER.SET_SIZE_END\":member",
32998
+ "docComment": "/**\n * Emitted when the size at the end of an emitted particle's lifetime is set.\n */\n",
32762
32999
  "excerptTokens": [
32763
33000
  {
32764
33001
  "kind": "Content",
@@ -32766,8 +33003,8 @@
32766
33003
  },
32767
33004
  {
32768
33005
  "kind": "Reference",
32769
- "text": "ParticleEmitterEvent.SET_SIZE",
32770
- "canonicalReference": "server!ParticleEmitterEvent.SET_SIZE:member"
33006
+ "text": "ParticleEmitterEvent.SET_SIZE_END",
33007
+ "canonicalReference": "server!ParticleEmitterEvent.SET_SIZE_END:member"
32771
33008
  },
32772
33009
  {
32773
33010
  "kind": "Content",
@@ -32784,7 +33021,7 @@
32784
33021
  },
32785
33022
  {
32786
33023
  "kind": "Content",
32787
- "text": ";\n size: number;\n }"
33024
+ "text": ";\n sizeEnd: number;\n }"
32788
33025
  },
32789
33026
  {
32790
33027
  "kind": "Content",
@@ -32794,7 +33031,97 @@
32794
33031
  "isReadonly": false,
32795
33032
  "isOptional": false,
32796
33033
  "releaseTag": "Public",
32797
- "name": "\"PARTICLE_EMITTER.SET_SIZE\"",
33034
+ "name": "\"PARTICLE_EMITTER.SET_SIZE_END\"",
33035
+ "propertyTypeTokenRange": {
33036
+ "startIndex": 3,
33037
+ "endIndex": 6
33038
+ }
33039
+ },
33040
+ {
33041
+ "kind": "PropertySignature",
33042
+ "canonicalReference": "server!ParticleEmitterEventPayloads#\"PARTICLE_EMITTER.SET_SIZE_START_VARIANCE\":member",
33043
+ "docComment": "/**\n * Emitted when the size variance at the start of an emitted particle's lifetime is set.\n */\n",
33044
+ "excerptTokens": [
33045
+ {
33046
+ "kind": "Content",
33047
+ "text": "["
33048
+ },
33049
+ {
33050
+ "kind": "Reference",
33051
+ "text": "ParticleEmitterEvent.SET_SIZE_START_VARIANCE",
33052
+ "canonicalReference": "server!ParticleEmitterEvent.SET_SIZE_START_VARIANCE:member"
33053
+ },
33054
+ {
33055
+ "kind": "Content",
33056
+ "text": "]: "
33057
+ },
33058
+ {
33059
+ "kind": "Content",
33060
+ "text": "{\n particleEmitter: "
33061
+ },
33062
+ {
33063
+ "kind": "Reference",
33064
+ "text": "ParticleEmitter",
33065
+ "canonicalReference": "server!ParticleEmitter:class"
33066
+ },
33067
+ {
33068
+ "kind": "Content",
33069
+ "text": ";\n sizeStartVariance: number;\n }"
33070
+ },
33071
+ {
33072
+ "kind": "Content",
33073
+ "text": ";"
33074
+ }
33075
+ ],
33076
+ "isReadonly": false,
33077
+ "isOptional": false,
33078
+ "releaseTag": "Public",
33079
+ "name": "\"PARTICLE_EMITTER.SET_SIZE_START_VARIANCE\"",
33080
+ "propertyTypeTokenRange": {
33081
+ "startIndex": 3,
33082
+ "endIndex": 6
33083
+ }
33084
+ },
33085
+ {
33086
+ "kind": "PropertySignature",
33087
+ "canonicalReference": "server!ParticleEmitterEventPayloads#\"PARTICLE_EMITTER.SET_SIZE_START\":member",
33088
+ "docComment": "/**\n * Emitted when the size at the start of an emitted particle's lifetime is set.\n */\n",
33089
+ "excerptTokens": [
33090
+ {
33091
+ "kind": "Content",
33092
+ "text": "["
33093
+ },
33094
+ {
33095
+ "kind": "Reference",
33096
+ "text": "ParticleEmitterEvent.SET_SIZE_START",
33097
+ "canonicalReference": "server!ParticleEmitterEvent.SET_SIZE_START:member"
33098
+ },
33099
+ {
33100
+ "kind": "Content",
33101
+ "text": "]: "
33102
+ },
33103
+ {
33104
+ "kind": "Content",
33105
+ "text": "{\n particleEmitter: "
33106
+ },
33107
+ {
33108
+ "kind": "Reference",
33109
+ "text": "ParticleEmitter",
33110
+ "canonicalReference": "server!ParticleEmitter:class"
33111
+ },
33112
+ {
33113
+ "kind": "Content",
33114
+ "text": ";\n sizeStart: number;\n }"
33115
+ },
33116
+ {
33117
+ "kind": "Content",
33118
+ "text": ";"
33119
+ }
33120
+ ],
33121
+ "isReadonly": false,
33122
+ "isOptional": false,
33123
+ "releaseTag": "Public",
33124
+ "name": "\"PARTICLE_EMITTER.SET_SIZE_START\"",
32798
33125
  "propertyTypeTokenRange": {
32799
33126
  "startIndex": 3,
32800
33127
  "endIndex": 6
@@ -33189,7 +33516,7 @@
33189
33516
  {
33190
33517
  "kind": "Interface",
33191
33518
  "canonicalReference": "server!ParticleEmitterOptions:interface",
33192
- "docComment": "",
33519
+ "docComment": "/**\n * Options for creating a ParticleEmitter instance.\n *\n * @public\n */\n",
33193
33520
  "excerptTokens": [
33194
33521
  {
33195
33522
  "kind": "Content",
@@ -33752,12 +34079,12 @@
33752
34079
  },
33753
34080
  {
33754
34081
  "kind": "PropertySignature",
33755
- "canonicalReference": "server!ParticleEmitterOptions#size:member",
33756
- "docComment": "/**\n * The size of an emitted particle.\n */\n",
34082
+ "canonicalReference": "server!ParticleEmitterOptions#sizeEnd:member",
34083
+ "docComment": "/**\n * The size at the end of an emitted particle's lifetime.\n */\n",
33757
34084
  "excerptTokens": [
33758
34085
  {
33759
34086
  "kind": "Content",
33760
- "text": "size?: "
34087
+ "text": "sizeEnd?: "
33761
34088
  },
33762
34089
  {
33763
34090
  "kind": "Content",
@@ -33771,7 +34098,7 @@
33771
34098
  "isReadonly": false,
33772
34099
  "isOptional": true,
33773
34100
  "releaseTag": "Public",
33774
- "name": "size",
34101
+ "name": "sizeEnd",
33775
34102
  "propertyTypeTokenRange": {
33776
34103
  "startIndex": 1,
33777
34104
  "endIndex": 2
@@ -33779,12 +34106,12 @@
33779
34106
  },
33780
34107
  {
33781
34108
  "kind": "PropertySignature",
33782
- "canonicalReference": "server!ParticleEmitterOptions#sizeVariance:member",
33783
- "docComment": "/**\n * The size variance of an emitted particle.\n */\n",
34109
+ "canonicalReference": "server!ParticleEmitterOptions#sizeEndVariance:member",
34110
+ "docComment": "/**\n * The size variance at the end of an emitted particle's lifetime.\n */\n",
33784
34111
  "excerptTokens": [
33785
34112
  {
33786
34113
  "kind": "Content",
33787
- "text": "sizeVariance?: "
34114
+ "text": "sizeEndVariance?: "
33788
34115
  },
33789
34116
  {
33790
34117
  "kind": "Content",
@@ -33798,7 +34125,61 @@
33798
34125
  "isReadonly": false,
33799
34126
  "isOptional": true,
33800
34127
  "releaseTag": "Public",
33801
- "name": "sizeVariance",
34128
+ "name": "sizeEndVariance",
34129
+ "propertyTypeTokenRange": {
34130
+ "startIndex": 1,
34131
+ "endIndex": 2
34132
+ }
34133
+ },
34134
+ {
34135
+ "kind": "PropertySignature",
34136
+ "canonicalReference": "server!ParticleEmitterOptions#sizeStart:member",
34137
+ "docComment": "/**\n * The size at the start of an emitted particle's lifetime.\n */\n",
34138
+ "excerptTokens": [
34139
+ {
34140
+ "kind": "Content",
34141
+ "text": "sizeStart?: "
34142
+ },
34143
+ {
34144
+ "kind": "Content",
34145
+ "text": "number"
34146
+ },
34147
+ {
34148
+ "kind": "Content",
34149
+ "text": ";"
34150
+ }
34151
+ ],
34152
+ "isReadonly": false,
34153
+ "isOptional": true,
34154
+ "releaseTag": "Public",
34155
+ "name": "sizeStart",
34156
+ "propertyTypeTokenRange": {
34157
+ "startIndex": 1,
34158
+ "endIndex": 2
34159
+ }
34160
+ },
34161
+ {
34162
+ "kind": "PropertySignature",
34163
+ "canonicalReference": "server!ParticleEmitterOptions#sizeStartVariance:member",
34164
+ "docComment": "/**\n * The size variance at the start of an emitted particle's lifetime.\n */\n",
34165
+ "excerptTokens": [
34166
+ {
34167
+ "kind": "Content",
34168
+ "text": "sizeStartVariance?: "
34169
+ },
34170
+ {
34171
+ "kind": "Content",
34172
+ "text": "number"
34173
+ },
34174
+ {
34175
+ "kind": "Content",
34176
+ "text": ";"
34177
+ }
34178
+ ],
34179
+ "isReadonly": false,
34180
+ "isOptional": true,
34181
+ "releaseTag": "Public",
34182
+ "name": "sizeStartVariance",
33802
34183
  "propertyTypeTokenRange": {
33803
34184
  "startIndex": 1,
33804
34185
  "endIndex": 2
@@ -52178,6 +52559,126 @@
52178
52559
  ],
52179
52560
  "extendsTokenRanges": []
52180
52561
  },
52562
+ {
52563
+ "kind": "Interface",
52564
+ "canonicalReference": "server!VoxelsColliderOptions:interface",
52565
+ "docComment": "/**\n * The options for a voxels collider.\n *\n * @public\n */\n",
52566
+ "excerptTokens": [
52567
+ {
52568
+ "kind": "Content",
52569
+ "text": "export interface VoxelsColliderOptions extends "
52570
+ },
52571
+ {
52572
+ "kind": "Reference",
52573
+ "text": "BaseColliderOptions",
52574
+ "canonicalReference": "server!BaseColliderOptions:interface"
52575
+ },
52576
+ {
52577
+ "kind": "Content",
52578
+ "text": " "
52579
+ }
52580
+ ],
52581
+ "fileUrlPath": "src/worlds/physics/Collider.ts",
52582
+ "releaseTag": "Public",
52583
+ "name": "VoxelsColliderOptions",
52584
+ "preserveMemberOrder": false,
52585
+ "members": [
52586
+ {
52587
+ "kind": "PropertySignature",
52588
+ "canonicalReference": "server!VoxelsColliderOptions#coordinates:member",
52589
+ "docComment": "/**\n * The coordinate of each voxel in the collider.\n */\n",
52590
+ "excerptTokens": [
52591
+ {
52592
+ "kind": "Content",
52593
+ "text": "coordinates?: "
52594
+ },
52595
+ {
52596
+ "kind": "Reference",
52597
+ "text": "Vector3Like",
52598
+ "canonicalReference": "server!Vector3Like:interface"
52599
+ },
52600
+ {
52601
+ "kind": "Content",
52602
+ "text": "[]"
52603
+ },
52604
+ {
52605
+ "kind": "Content",
52606
+ "text": ";"
52607
+ }
52608
+ ],
52609
+ "isReadonly": false,
52610
+ "isOptional": true,
52611
+ "releaseTag": "Public",
52612
+ "name": "coordinates",
52613
+ "propertyTypeTokenRange": {
52614
+ "startIndex": 1,
52615
+ "endIndex": 3
52616
+ }
52617
+ },
52618
+ {
52619
+ "kind": "PropertySignature",
52620
+ "canonicalReference": "server!VoxelsColliderOptions#shape:member",
52621
+ "docComment": "",
52622
+ "excerptTokens": [
52623
+ {
52624
+ "kind": "Content",
52625
+ "text": "shape: "
52626
+ },
52627
+ {
52628
+ "kind": "Reference",
52629
+ "text": "ColliderShape.VOXELS",
52630
+ "canonicalReference": "server!ColliderShape.VOXELS:member"
52631
+ },
52632
+ {
52633
+ "kind": "Content",
52634
+ "text": ";"
52635
+ }
52636
+ ],
52637
+ "isReadonly": false,
52638
+ "isOptional": false,
52639
+ "releaseTag": "Public",
52640
+ "name": "shape",
52641
+ "propertyTypeTokenRange": {
52642
+ "startIndex": 1,
52643
+ "endIndex": 2
52644
+ }
52645
+ },
52646
+ {
52647
+ "kind": "PropertySignature",
52648
+ "canonicalReference": "server!VoxelsColliderOptions#size:member",
52649
+ "docComment": "/**\n * The size of each voxel in the collider.\n */\n",
52650
+ "excerptTokens": [
52651
+ {
52652
+ "kind": "Content",
52653
+ "text": "size?: "
52654
+ },
52655
+ {
52656
+ "kind": "Reference",
52657
+ "text": "Vector3Like",
52658
+ "canonicalReference": "server!Vector3Like:interface"
52659
+ },
52660
+ {
52661
+ "kind": "Content",
52662
+ "text": ";"
52663
+ }
52664
+ ],
52665
+ "isReadonly": false,
52666
+ "isOptional": true,
52667
+ "releaseTag": "Public",
52668
+ "name": "size",
52669
+ "propertyTypeTokenRange": {
52670
+ "startIndex": 1,
52671
+ "endIndex": 2
52672
+ }
52673
+ }
52674
+ ],
52675
+ "extendsTokenRanges": [
52676
+ {
52677
+ "startIndex": 1,
52678
+ "endIndex": 2
52679
+ }
52680
+ ]
52681
+ },
52181
52682
  {
52182
52683
  "kind": "TypeAlias",
52183
52684
  "canonicalReference": "server!WaypointMoveCompleteCallback:type",
@@ -53236,7 +53737,7 @@
53236
53737
  {
53237
53738
  "kind": "Method",
53238
53739
  "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 in the world.\n */\n",
53740
+ "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
53741
  "excerptTokens": [
53241
53742
  {
53242
53743
  "kind": "Content",