hytopia 0.1.34 → 0.1.36
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -1
- package/docs/server.audio.md +1 -1
- package/docs/server.blocktype.md +1 -1
- package/docs/server.blocktyperegistry.md +2 -2
- package/docs/server.blocktyperegistry.registerblocktype.md +2 -18
- package/docs/server.chunk.getblock.md +55 -0
- package/docs/server.chunk.hasblock.md +55 -0
- package/docs/server.chunk.md +28 -0
- package/docs/server.chunklattice.getblock.md +55 -0
- package/docs/server.chunklattice.hasblock.md +55 -0
- package/docs/server.chunklattice.md +29 -1
- package/docs/server.chunklattice.setblock.md +2 -2
- package/docs/server.entity.md +35 -0
- package/docs/server.entity.settintcolor.md +53 -0
- package/docs/server.entity.tintcolor.md +13 -0
- package/docs/server.entityeventpayload.md +9 -0
- package/docs/server.entityeventpayload.settintcolor.entity.md +11 -0
- package/docs/server.entityeventpayload.settintcolor.md +70 -0
- package/docs/server.entityeventpayload.settintcolor.tintcolor.md +11 -0
- package/docs/server.entityeventtype.md +15 -1
- package/docs/server.entityoptions.md +19 -0
- package/docs/server.entityoptions.tintcolor.md +13 -0
- package/docs/server.gameserver.md +1 -1
- package/docs/server.hytopia.audio.md +1 -1
- package/docs/server.hytopia.blocktype.md +1 -1
- package/docs/server.hytopia.blocktyperegistry.md +2 -2
- package/docs/server.hytopia.blocktyperegistry.registerblocktype.md +2 -18
- package/docs/server.hytopia.chunk.getblock.md +55 -0
- package/docs/server.hytopia.chunk.hasblock.md +55 -0
- package/docs/server.hytopia.chunk.md +28 -0
- package/docs/server.hytopia.chunklattice.getblock.md +55 -0
- package/docs/server.hytopia.chunklattice.hasblock.md +55 -0
- package/docs/server.hytopia.chunklattice.md +29 -1
- package/docs/server.hytopia.chunklattice.setblock.md +2 -2
- package/docs/server.hytopia.entity.md +35 -0
- package/docs/server.hytopia.entity.settintcolor.md +53 -0
- package/docs/server.hytopia.entity.tintcolor.md +13 -0
- package/docs/server.hytopia.entityeventpayload.md +9 -0
- package/docs/server.hytopia.entityeventpayload.settintcolor.entity.md +11 -0
- package/docs/server.hytopia.entityeventpayload.settintcolor.md +70 -0
- package/docs/server.hytopia.entityeventpayload.settintcolor.tintcolor.md +11 -0
- package/docs/server.hytopia.entityeventtype.md +15 -1
- package/docs/server.hytopia.entityoptions.md +19 -0
- package/docs/server.hytopia.entityoptions.tintcolor.md +13 -0
- package/docs/server.hytopia.gameserver.md +1 -1
- package/docs/server.hytopia.md +11 -11
- package/docs/server.hytopia.rgbcolor.b.md +11 -0
- package/docs/server.hytopia.rgbcolor.g.md +11 -0
- package/docs/server.hytopia.rgbcolor.md +89 -0
- package/docs/server.hytopia.rgbcolor.r.md +11 -0
- package/docs/server.hytopia.simulation.md +14 -0
- package/docs/server.hytopia.simulation.setgravity.md +53 -0
- package/docs/server.hytopia.worldmap.blocktypes.md +1 -5
- package/docs/server.hytopia.worldmap.md +1 -1
- package/docs/server.md +11 -11
- package/docs/server.rgbcolor.b.md +11 -0
- package/docs/server.rgbcolor.g.md +11 -0
- package/docs/server.rgbcolor.md +89 -0
- package/docs/server.rgbcolor.r.md +11 -0
- package/docs/server.simulation.md +14 -0
- package/docs/server.simulation.setgravity.md +53 -0
- package/docs/server.worldmap.blocktypes.md +1 -5
- package/docs/server.worldmap.md +1 -1
- package/package.json +1 -1
- package/readme/assets/banner-2.jpeg +0 -0
- package/server.api.json +1277 -219
- package/server.d.ts +61 -42
- package/server.js +79 -79
- package/docs/server.hytopia.webserver.md +0 -20
- package/docs/server.webserver.md +0 -20
package/server.api.json
CHANGED
@@ -176,7 +176,7 @@
|
|
176
176
|
{
|
177
177
|
"kind": "Class",
|
178
178
|
"canonicalReference": "server!Audio:class",
|
179
|
-
"docComment": "/**\n * Represents a audio playback in a world.\n *\n * @remarks\n *\n * Audio instances are created directly as instances. They support a variety of configuration options through the {@link AudioOptions} constructor argument.\n *\n * @example\n * ```typescript\n * (new Audio({\n * uri: 'assets/music/song.mp3
|
179
|
+
"docComment": "/**\n * Represents a audio playback in a world.\n *\n * @remarks\n *\n * Audio instances are created directly as instances. They support a variety of configuration options through the {@link AudioOptions} constructor argument.\n *\n * @example\n * ```typescript\n * (new Audio({\n * uri: 'music/song.mp3', // relative to the server's assets directory in the project root, resolves to assets/music/song.mp3\n * loop: true,\n * volume: 0.5,\n * })).play(world);\n * ```\n *\n * @public\n */\n",
|
180
180
|
"excerptTokens": [
|
181
181
|
{
|
182
182
|
"kind": "Content",
|
@@ -3048,7 +3048,7 @@
|
|
3048
3048
|
{
|
3049
3049
|
"kind": "Class",
|
3050
3050
|
"canonicalReference": "server!BlockType:class",
|
3051
|
-
"docComment": "/**\n * Represents a block type.\n *\n * @remarks\n *\n * Block types are created directly as instances. They support a variety of configuration options through the {@link BlockTypeOptions} constructor argument. Block types are registered with a {@link BlockTypeRegistry} instance, allowing you to create custom blocks with unique visual representations and behaviors.\n *\n * @example\n * ```typescript\n * const stoneBlockTypeId = 10;\n * world.blockTypeRegistry.registerBlockType(stoneBlockTypeId, new BlockType({\n * id: stoneBlockTypeId,\n * textureUri: '
|
3051
|
+
"docComment": "/**\n * Represents a block type.\n *\n * @remarks\n *\n * Block types are created directly as instances. They support a variety of configuration options through the {@link BlockTypeOptions} constructor argument. Block types are registered with a {@link BlockTypeRegistry} instance, allowing you to create custom blocks with unique visual representations and behaviors.\n *\n * @example\n * ```typescript\n * const stoneBlockTypeId = 10;\n * world.blockTypeRegistry.registerBlockType(stoneBlockTypeId, new BlockType({\n * id: stoneBlockTypeId,\n * textureUri: 'textures/stone.png',\n * name: 'Stone',\n * }));\n *\n * // Create a stone block at coordinate 0, 1, 0\n * world.chunkLattice.setBlock({ x: 0, y: 1, z: 0 }, stoneBlockTypeId);\n * ```\n *\n * @public\n */\n",
|
3052
3052
|
"excerptTokens": [
|
3053
3053
|
{
|
3054
3054
|
"kind": "Content",
|
@@ -3497,7 +3497,7 @@
|
|
3497
3497
|
{
|
3498
3498
|
"kind": "Class",
|
3499
3499
|
"canonicalReference": "server!BlockTypeRegistry:class",
|
3500
|
-
"docComment": "/**\n * Manages known block types in a world.\n *\n * @remarks\n *\n * Block type registries are created internally as a singleton for each {@link World} instance in a game server. A block type registry allows you to register and retrieve block types by their unique id for a world.\n *\n * The constructor for this class is marked as internal. Third-party code should not call the constructor directly or create subclasses that extend the `BlockTypeRegistry` class.\n *\n * @example\n * ```typescript\n * world.blockTypeRegistry.registerGenericBlockType({\n * id: 15,\n * textureUri: '
|
3500
|
+
"docComment": "/**\n * Manages known block types in a world.\n *\n * @remarks\n *\n * Block type registries are created internally as a singleton for each {@link World} instance in a game server. A block type registry allows you to register and retrieve block types by their unique id for a world.\n *\n * The constructor for this class is marked as internal. Third-party code should not call the constructor directly or create subclasses that extend the `BlockTypeRegistry` class.\n *\n * @example\n * ```typescript\n * world.blockTypeRegistry.registerGenericBlockType({\n * id: 15,\n * textureUri: 'textures/dirt.png',\n * name: 'Dirt',\n * });\n * ```\n *\n * @public\n */\n",
|
3501
3501
|
"excerptTokens": [
|
3502
3502
|
{
|
3503
3503
|
"kind": "Content",
|
@@ -3607,19 +3607,11 @@
|
|
3607
3607
|
{
|
3608
3608
|
"kind": "Method",
|
3609
3609
|
"canonicalReference": "server!BlockTypeRegistry#registerBlockType:member(1)",
|
3610
|
-
"docComment": "/**\n * Register a block type.\n *\n * @param
|
3610
|
+
"docComment": "/**\n * Register a block type.\n *\n * @param blockType - The block type to register.\n */\n",
|
3611
3611
|
"excerptTokens": [
|
3612
3612
|
{
|
3613
3613
|
"kind": "Content",
|
3614
|
-
"text": "registerBlockType(
|
3615
|
-
},
|
3616
|
-
{
|
3617
|
-
"kind": "Content",
|
3618
|
-
"text": "number"
|
3619
|
-
},
|
3620
|
-
{
|
3621
|
-
"kind": "Content",
|
3622
|
-
"text": ", blockTypeReference: "
|
3614
|
+
"text": "registerBlockType(blockType: "
|
3623
3615
|
},
|
3624
3616
|
{
|
3625
3617
|
"kind": "Reference",
|
@@ -3641,28 +3633,20 @@
|
|
3641
3633
|
],
|
3642
3634
|
"isStatic": false,
|
3643
3635
|
"returnTypeTokenRange": {
|
3644
|
-
"startIndex":
|
3645
|
-
"endIndex":
|
3636
|
+
"startIndex": 3,
|
3637
|
+
"endIndex": 4
|
3646
3638
|
},
|
3647
3639
|
"releaseTag": "Public",
|
3648
3640
|
"isProtected": false,
|
3649
3641
|
"overloadIndex": 1,
|
3650
3642
|
"parameters": [
|
3651
3643
|
{
|
3652
|
-
"parameterName": "
|
3644
|
+
"parameterName": "blockType",
|
3653
3645
|
"parameterTypeTokenRange": {
|
3654
3646
|
"startIndex": 1,
|
3655
3647
|
"endIndex": 2
|
3656
3648
|
},
|
3657
3649
|
"isOptional": false
|
3658
|
-
},
|
3659
|
-
{
|
3660
|
-
"parameterName": "blockTypeReference",
|
3661
|
-
"parameterTypeTokenRange": {
|
3662
|
-
"startIndex": 3,
|
3663
|
-
"endIndex": 4
|
3664
|
-
},
|
3665
|
-
"isOptional": false
|
3666
3650
|
}
|
3667
3651
|
],
|
3668
3652
|
"isOptional": false,
|
@@ -4600,6 +4584,55 @@
|
|
4600
4584
|
"isAbstract": false,
|
4601
4585
|
"name": "despawn"
|
4602
4586
|
},
|
4587
|
+
{
|
4588
|
+
"kind": "Method",
|
4589
|
+
"canonicalReference": "server!Chunk#getBlock:member(1)",
|
4590
|
+
"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",
|
4591
|
+
"excerptTokens": [
|
4592
|
+
{
|
4593
|
+
"kind": "Content",
|
4594
|
+
"text": "getBlock(localCoordinate: "
|
4595
|
+
},
|
4596
|
+
{
|
4597
|
+
"kind": "Reference",
|
4598
|
+
"text": "Vector3",
|
4599
|
+
"canonicalReference": "server!Vector3:interface"
|
4600
|
+
},
|
4601
|
+
{
|
4602
|
+
"kind": "Content",
|
4603
|
+
"text": "): "
|
4604
|
+
},
|
4605
|
+
{
|
4606
|
+
"kind": "Content",
|
4607
|
+
"text": "number"
|
4608
|
+
},
|
4609
|
+
{
|
4610
|
+
"kind": "Content",
|
4611
|
+
"text": ";"
|
4612
|
+
}
|
4613
|
+
],
|
4614
|
+
"isStatic": false,
|
4615
|
+
"returnTypeTokenRange": {
|
4616
|
+
"startIndex": 3,
|
4617
|
+
"endIndex": 4
|
4618
|
+
},
|
4619
|
+
"releaseTag": "Public",
|
4620
|
+
"isProtected": false,
|
4621
|
+
"overloadIndex": 1,
|
4622
|
+
"parameters": [
|
4623
|
+
{
|
4624
|
+
"parameterName": "localCoordinate",
|
4625
|
+
"parameterTypeTokenRange": {
|
4626
|
+
"startIndex": 1,
|
4627
|
+
"endIndex": 2
|
4628
|
+
},
|
4629
|
+
"isOptional": false
|
4630
|
+
}
|
4631
|
+
],
|
4632
|
+
"isOptional": false,
|
4633
|
+
"isAbstract": false,
|
4634
|
+
"name": "getBlock"
|
4635
|
+
},
|
4603
4636
|
{
|
4604
4637
|
"kind": "Method",
|
4605
4638
|
"canonicalReference": "server!Chunk.globalCoordinateToLocalCoordinate:member(1)",
|
@@ -4700,6 +4733,55 @@
|
|
4700
4733
|
"isAbstract": false,
|
4701
4734
|
"name": "globalCoordinateToOriginCoordinate"
|
4702
4735
|
},
|
4736
|
+
{
|
4737
|
+
"kind": "Method",
|
4738
|
+
"canonicalReference": "server!Chunk#hasBlock:member(1)",
|
4739
|
+
"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",
|
4740
|
+
"excerptTokens": [
|
4741
|
+
{
|
4742
|
+
"kind": "Content",
|
4743
|
+
"text": "hasBlock(localCoordinate: "
|
4744
|
+
},
|
4745
|
+
{
|
4746
|
+
"kind": "Reference",
|
4747
|
+
"text": "Vector3",
|
4748
|
+
"canonicalReference": "server!Vector3:interface"
|
4749
|
+
},
|
4750
|
+
{
|
4751
|
+
"kind": "Content",
|
4752
|
+
"text": "): "
|
4753
|
+
},
|
4754
|
+
{
|
4755
|
+
"kind": "Content",
|
4756
|
+
"text": "boolean"
|
4757
|
+
},
|
4758
|
+
{
|
4759
|
+
"kind": "Content",
|
4760
|
+
"text": ";"
|
4761
|
+
}
|
4762
|
+
],
|
4763
|
+
"isStatic": false,
|
4764
|
+
"returnTypeTokenRange": {
|
4765
|
+
"startIndex": 3,
|
4766
|
+
"endIndex": 4
|
4767
|
+
},
|
4768
|
+
"releaseTag": "Public",
|
4769
|
+
"isProtected": false,
|
4770
|
+
"overloadIndex": 1,
|
4771
|
+
"parameters": [
|
4772
|
+
{
|
4773
|
+
"parameterName": "localCoordinate",
|
4774
|
+
"parameterTypeTokenRange": {
|
4775
|
+
"startIndex": 1,
|
4776
|
+
"endIndex": 2
|
4777
|
+
},
|
4778
|
+
"isOptional": false
|
4779
|
+
}
|
4780
|
+
],
|
4781
|
+
"isOptional": false,
|
4782
|
+
"isAbstract": false,
|
4783
|
+
"name": "hasBlock"
|
4784
|
+
},
|
4703
4785
|
{
|
4704
4786
|
"kind": "Property",
|
4705
4787
|
"canonicalReference": "server!Chunk#isSimulated:member",
|
@@ -5418,6 +5500,55 @@
|
|
5418
5500
|
"isAbstract": false,
|
5419
5501
|
"name": "getAllChunks"
|
5420
5502
|
},
|
5503
|
+
{
|
5504
|
+
"kind": "Method",
|
5505
|
+
"canonicalReference": "server!ChunkLattice#getBlock:member(1)",
|
5506
|
+
"docComment": "/**\n * Get the block type id at a specific global coordinate.\n *\n * @param globalCoordinate - The global coordinate of the block to get.\n *\n * @returns The block type id, 0 if no block is set.\n */\n",
|
5507
|
+
"excerptTokens": [
|
5508
|
+
{
|
5509
|
+
"kind": "Content",
|
5510
|
+
"text": "getBlock(globalCoordinate: "
|
5511
|
+
},
|
5512
|
+
{
|
5513
|
+
"kind": "Reference",
|
5514
|
+
"text": "Vector3",
|
5515
|
+
"canonicalReference": "server!Vector3:interface"
|
5516
|
+
},
|
5517
|
+
{
|
5518
|
+
"kind": "Content",
|
5519
|
+
"text": "): "
|
5520
|
+
},
|
5521
|
+
{
|
5522
|
+
"kind": "Content",
|
5523
|
+
"text": "number"
|
5524
|
+
},
|
5525
|
+
{
|
5526
|
+
"kind": "Content",
|
5527
|
+
"text": ";"
|
5528
|
+
}
|
5529
|
+
],
|
5530
|
+
"isStatic": false,
|
5531
|
+
"returnTypeTokenRange": {
|
5532
|
+
"startIndex": 3,
|
5533
|
+
"endIndex": 4
|
5534
|
+
},
|
5535
|
+
"releaseTag": "Public",
|
5536
|
+
"isProtected": false,
|
5537
|
+
"overloadIndex": 1,
|
5538
|
+
"parameters": [
|
5539
|
+
{
|
5540
|
+
"parameterName": "globalCoordinate",
|
5541
|
+
"parameterTypeTokenRange": {
|
5542
|
+
"startIndex": 1,
|
5543
|
+
"endIndex": 2
|
5544
|
+
},
|
5545
|
+
"isOptional": false
|
5546
|
+
}
|
5547
|
+
],
|
5548
|
+
"isOptional": false,
|
5549
|
+
"isAbstract": false,
|
5550
|
+
"name": "getBlock"
|
5551
|
+
},
|
5421
5552
|
{
|
5422
5553
|
"kind": "Method",
|
5423
5554
|
"canonicalReference": "server!ChunkLattice#getChunk:member(1)",
|
@@ -5472,6 +5603,55 @@
|
|
5472
5603
|
"isAbstract": false,
|
5473
5604
|
"name": "getChunk"
|
5474
5605
|
},
|
5606
|
+
{
|
5607
|
+
"kind": "Method",
|
5608
|
+
"canonicalReference": "server!ChunkLattice#hasBlock:member(1)",
|
5609
|
+
"docComment": "/**\n * Check if a block exists at a specific global coordinate.\n *\n * @param globalCoordinate - The global coordinate of the block to check.\n *\n * @returns Whether a block exists.\n */\n",
|
5610
|
+
"excerptTokens": [
|
5611
|
+
{
|
5612
|
+
"kind": "Content",
|
5613
|
+
"text": "hasBlock(globalCoordinate: "
|
5614
|
+
},
|
5615
|
+
{
|
5616
|
+
"kind": "Reference",
|
5617
|
+
"text": "Vector3",
|
5618
|
+
"canonicalReference": "server!Vector3:interface"
|
5619
|
+
},
|
5620
|
+
{
|
5621
|
+
"kind": "Content",
|
5622
|
+
"text": "): "
|
5623
|
+
},
|
5624
|
+
{
|
5625
|
+
"kind": "Content",
|
5626
|
+
"text": "boolean"
|
5627
|
+
},
|
5628
|
+
{
|
5629
|
+
"kind": "Content",
|
5630
|
+
"text": ";"
|
5631
|
+
}
|
5632
|
+
],
|
5633
|
+
"isStatic": false,
|
5634
|
+
"returnTypeTokenRange": {
|
5635
|
+
"startIndex": 3,
|
5636
|
+
"endIndex": 4
|
5637
|
+
},
|
5638
|
+
"releaseTag": "Public",
|
5639
|
+
"isProtected": false,
|
5640
|
+
"overloadIndex": 1,
|
5641
|
+
"parameters": [
|
5642
|
+
{
|
5643
|
+
"parameterName": "globalCoordinate",
|
5644
|
+
"parameterTypeTokenRange": {
|
5645
|
+
"startIndex": 1,
|
5646
|
+
"endIndex": 2
|
5647
|
+
},
|
5648
|
+
"isOptional": false
|
5649
|
+
}
|
5650
|
+
],
|
5651
|
+
"isOptional": false,
|
5652
|
+
"isAbstract": false,
|
5653
|
+
"name": "hasBlock"
|
5654
|
+
},
|
5475
5655
|
{
|
5476
5656
|
"kind": "Method",
|
5477
5657
|
"canonicalReference": "server!ChunkLattice#hasChunk:member(1)",
|
@@ -5524,7 +5704,7 @@
|
|
5524
5704
|
{
|
5525
5705
|
"kind": "Method",
|
5526
5706
|
"canonicalReference": "server!ChunkLattice#setBlock:member(1)",
|
5527
|
-
"docComment": "/**\n * Set the block at a global coordinate by block type id, automatically creating a chunk if it doesn't exist.\n *\n * @param globalCoordinate - The global coordinate of the block to set.\n *\n * @param blockTypeId - The block type id to set.\n */\n",
|
5707
|
+
"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",
|
5528
5708
|
"excerptTokens": [
|
5529
5709
|
{
|
5530
5710
|
"kind": "Content",
|
@@ -9383,26 +9563,21 @@
|
|
9383
9563
|
},
|
9384
9564
|
{
|
9385
9565
|
"kind": "Method",
|
9386
|
-
"canonicalReference": "server!Entity#
|
9387
|
-
"docComment": "/**\n *
|
9566
|
+
"canonicalReference": "server!Entity#setTintColor:member(1)",
|
9567
|
+
"docComment": "/**\n * Sets the tint color of the entity.\n *\n * @param tintColor - The tint color of the entity.\n */\n",
|
9388
9568
|
"excerptTokens": [
|
9389
9569
|
{
|
9390
9570
|
"kind": "Content",
|
9391
|
-
"text": "
|
9571
|
+
"text": "setTintColor(tintColor: "
|
9392
9572
|
},
|
9393
9573
|
{
|
9394
9574
|
"kind": "Reference",
|
9395
|
-
"text": "
|
9396
|
-
"canonicalReference": "server!
|
9575
|
+
"text": "RgbColor",
|
9576
|
+
"canonicalReference": "server!RgbColor:interface"
|
9397
9577
|
},
|
9398
9578
|
{
|
9399
9579
|
"kind": "Content",
|
9400
|
-
"text": "
|
9401
|
-
},
|
9402
|
-
{
|
9403
|
-
"kind": "Reference",
|
9404
|
-
"text": "Vector3",
|
9405
|
-
"canonicalReference": "server!Vector3:interface"
|
9580
|
+
"text": " | undefined"
|
9406
9581
|
},
|
9407
9582
|
{
|
9408
9583
|
"kind": "Content",
|
@@ -9419,46 +9594,48 @@
|
|
9419
9594
|
],
|
9420
9595
|
"isStatic": false,
|
9421
9596
|
"returnTypeTokenRange": {
|
9422
|
-
"startIndex":
|
9423
|
-
"endIndex":
|
9597
|
+
"startIndex": 4,
|
9598
|
+
"endIndex": 5
|
9424
9599
|
},
|
9425
9600
|
"releaseTag": "Public",
|
9426
9601
|
"isProtected": false,
|
9427
9602
|
"overloadIndex": 1,
|
9428
9603
|
"parameters": [
|
9429
9604
|
{
|
9430
|
-
"parameterName": "
|
9605
|
+
"parameterName": "tintColor",
|
9431
9606
|
"parameterTypeTokenRange": {
|
9432
9607
|
"startIndex": 1,
|
9433
|
-
"endIndex":
|
9434
|
-
},
|
9435
|
-
"isOptional": false
|
9436
|
-
},
|
9437
|
-
{
|
9438
|
-
"parameterName": "coordinate",
|
9439
|
-
"parameterTypeTokenRange": {
|
9440
|
-
"startIndex": 3,
|
9441
|
-
"endIndex": 4
|
9608
|
+
"endIndex": 3
|
9442
9609
|
},
|
9443
9610
|
"isOptional": false
|
9444
9611
|
}
|
9445
9612
|
],
|
9446
9613
|
"isOptional": false,
|
9447
9614
|
"isAbstract": false,
|
9448
|
-
"name": "
|
9615
|
+
"name": "setTintColor"
|
9449
9616
|
},
|
9450
9617
|
{
|
9451
9618
|
"kind": "Method",
|
9452
|
-
"canonicalReference": "server!Entity#
|
9453
|
-
"docComment": "/**\n *
|
9619
|
+
"canonicalReference": "server!Entity#spawn:member(1)",
|
9620
|
+
"docComment": "/**\n * Spawns the entity in the world.\n *\n * @param world - The world to spawn the entity in.\n *\n * @param coordinate - The coordinate to spawn the entity at.\n */\n",
|
9454
9621
|
"excerptTokens": [
|
9455
9622
|
{
|
9456
9623
|
"kind": "Content",
|
9457
|
-
"text": "
|
9624
|
+
"text": "spawn(world: "
|
9625
|
+
},
|
9626
|
+
{
|
9627
|
+
"kind": "Reference",
|
9628
|
+
"text": "World",
|
9629
|
+
"canonicalReference": "server!World:class"
|
9458
9630
|
},
|
9459
9631
|
{
|
9460
9632
|
"kind": "Content",
|
9461
|
-
"text": "
|
9633
|
+
"text": ", coordinate: "
|
9634
|
+
},
|
9635
|
+
{
|
9636
|
+
"kind": "Reference",
|
9637
|
+
"text": "Vector3",
|
9638
|
+
"canonicalReference": "server!Vector3:interface"
|
9462
9639
|
},
|
9463
9640
|
{
|
9464
9641
|
"kind": "Content",
|
@@ -9475,34 +9652,90 @@
|
|
9475
9652
|
],
|
9476
9653
|
"isStatic": false,
|
9477
9654
|
"returnTypeTokenRange": {
|
9478
|
-
"startIndex":
|
9479
|
-
"endIndex":
|
9655
|
+
"startIndex": 5,
|
9656
|
+
"endIndex": 6
|
9480
9657
|
},
|
9481
9658
|
"releaseTag": "Public",
|
9482
9659
|
"isProtected": false,
|
9483
9660
|
"overloadIndex": 1,
|
9484
9661
|
"parameters": [
|
9485
9662
|
{
|
9486
|
-
"parameterName": "
|
9663
|
+
"parameterName": "world",
|
9487
9664
|
"parameterTypeTokenRange": {
|
9488
9665
|
"startIndex": 1,
|
9489
9666
|
"endIndex": 2
|
9490
9667
|
},
|
9491
9668
|
"isOptional": false
|
9669
|
+
},
|
9670
|
+
{
|
9671
|
+
"parameterName": "coordinate",
|
9672
|
+
"parameterTypeTokenRange": {
|
9673
|
+
"startIndex": 3,
|
9674
|
+
"endIndex": 4
|
9675
|
+
},
|
9676
|
+
"isOptional": false
|
9492
9677
|
}
|
9493
9678
|
],
|
9494
9679
|
"isOptional": false,
|
9495
9680
|
"isAbstract": false,
|
9496
|
-
"name": "
|
9681
|
+
"name": "spawn"
|
9497
9682
|
},
|
9498
9683
|
{
|
9499
9684
|
"kind": "Method",
|
9500
|
-
"canonicalReference": "server!Entity#
|
9501
|
-
"docComment": "/**\n * Starts
|
9685
|
+
"canonicalReference": "server!Entity#startModelLoopedAnimations:member(1)",
|
9686
|
+
"docComment": "/**\n * Starts looped animations for the entity, blending with other animations currently playing.\n *\n * @param animations - The animations to start.\n */\n",
|
9502
9687
|
"excerptTokens": [
|
9503
9688
|
{
|
9504
9689
|
"kind": "Content",
|
9505
|
-
"text": "
|
9690
|
+
"text": "startModelLoopedAnimations(animations: "
|
9691
|
+
},
|
9692
|
+
{
|
9693
|
+
"kind": "Content",
|
9694
|
+
"text": "string[]"
|
9695
|
+
},
|
9696
|
+
{
|
9697
|
+
"kind": "Content",
|
9698
|
+
"text": "): "
|
9699
|
+
},
|
9700
|
+
{
|
9701
|
+
"kind": "Content",
|
9702
|
+
"text": "void"
|
9703
|
+
},
|
9704
|
+
{
|
9705
|
+
"kind": "Content",
|
9706
|
+
"text": ";"
|
9707
|
+
}
|
9708
|
+
],
|
9709
|
+
"isStatic": false,
|
9710
|
+
"returnTypeTokenRange": {
|
9711
|
+
"startIndex": 3,
|
9712
|
+
"endIndex": 4
|
9713
|
+
},
|
9714
|
+
"releaseTag": "Public",
|
9715
|
+
"isProtected": false,
|
9716
|
+
"overloadIndex": 1,
|
9717
|
+
"parameters": [
|
9718
|
+
{
|
9719
|
+
"parameterName": "animations",
|
9720
|
+
"parameterTypeTokenRange": {
|
9721
|
+
"startIndex": 1,
|
9722
|
+
"endIndex": 2
|
9723
|
+
},
|
9724
|
+
"isOptional": false
|
9725
|
+
}
|
9726
|
+
],
|
9727
|
+
"isOptional": false,
|
9728
|
+
"isAbstract": false,
|
9729
|
+
"name": "startModelLoopedAnimations"
|
9730
|
+
},
|
9731
|
+
{
|
9732
|
+
"kind": "Method",
|
9733
|
+
"canonicalReference": "server!Entity#startModelOneshotAnimations:member(1)",
|
9734
|
+
"docComment": "/**\n * Starts a oneshot animation for the entity, blending with other animations currently playing.\n *\n * @param animations - The animations to start.\n */\n",
|
9735
|
+
"excerptTokens": [
|
9736
|
+
{
|
9737
|
+
"kind": "Content",
|
9738
|
+
"text": "startModelOneshotAnimations(animations: "
|
9506
9739
|
},
|
9507
9740
|
{
|
9508
9741
|
"kind": "Content",
|
@@ -9621,6 +9854,41 @@
|
|
9621
9854
|
"isProtected": false,
|
9622
9855
|
"isAbstract": false
|
9623
9856
|
},
|
9857
|
+
{
|
9858
|
+
"kind": "Property",
|
9859
|
+
"canonicalReference": "server!Entity#tintColor:member",
|
9860
|
+
"docComment": "/**\n * The tint color of the entity.\n */\n",
|
9861
|
+
"excerptTokens": [
|
9862
|
+
{
|
9863
|
+
"kind": "Content",
|
9864
|
+
"text": "get tintColor(): "
|
9865
|
+
},
|
9866
|
+
{
|
9867
|
+
"kind": "Reference",
|
9868
|
+
"text": "RgbColor",
|
9869
|
+
"canonicalReference": "server!RgbColor:interface"
|
9870
|
+
},
|
9871
|
+
{
|
9872
|
+
"kind": "Content",
|
9873
|
+
"text": " | undefined"
|
9874
|
+
},
|
9875
|
+
{
|
9876
|
+
"kind": "Content",
|
9877
|
+
"text": ";"
|
9878
|
+
}
|
9879
|
+
],
|
9880
|
+
"isReadonly": true,
|
9881
|
+
"isOptional": false,
|
9882
|
+
"releaseTag": "Public",
|
9883
|
+
"name": "tintColor",
|
9884
|
+
"propertyTypeTokenRange": {
|
9885
|
+
"startIndex": 1,
|
9886
|
+
"endIndex": 3
|
9887
|
+
},
|
9888
|
+
"isStatic": false,
|
9889
|
+
"isProtected": false,
|
9890
|
+
"isAbstract": false
|
9891
|
+
},
|
9624
9892
|
{
|
9625
9893
|
"kind": "Property",
|
9626
9894
|
"canonicalReference": "server!Entity#world:member",
|
@@ -9728,6 +9996,83 @@
|
|
9728
9996
|
],
|
9729
9997
|
"extendsTokenRanges": []
|
9730
9998
|
},
|
9999
|
+
{
|
10000
|
+
"kind": "Interface",
|
10001
|
+
"canonicalReference": "server!EntityEventPayload.SetTintColor:interface",
|
10002
|
+
"docComment": "",
|
10003
|
+
"excerptTokens": [
|
10004
|
+
{
|
10005
|
+
"kind": "Content",
|
10006
|
+
"text": "interface SetTintColor "
|
10007
|
+
}
|
10008
|
+
],
|
10009
|
+
"releaseTag": "Public",
|
10010
|
+
"name": "SetTintColor",
|
10011
|
+
"preserveMemberOrder": false,
|
10012
|
+
"members": [
|
10013
|
+
{
|
10014
|
+
"kind": "PropertySignature",
|
10015
|
+
"canonicalReference": "server!EntityEventPayload.SetTintColor#entity:member",
|
10016
|
+
"docComment": "",
|
10017
|
+
"excerptTokens": [
|
10018
|
+
{
|
10019
|
+
"kind": "Content",
|
10020
|
+
"text": "entity: "
|
10021
|
+
},
|
10022
|
+
{
|
10023
|
+
"kind": "Reference",
|
10024
|
+
"text": "Entity",
|
10025
|
+
"canonicalReference": "server!Entity:class"
|
10026
|
+
},
|
10027
|
+
{
|
10028
|
+
"kind": "Content",
|
10029
|
+
"text": ";"
|
10030
|
+
}
|
10031
|
+
],
|
10032
|
+
"isReadonly": false,
|
10033
|
+
"isOptional": false,
|
10034
|
+
"releaseTag": "Public",
|
10035
|
+
"name": "entity",
|
10036
|
+
"propertyTypeTokenRange": {
|
10037
|
+
"startIndex": 1,
|
10038
|
+
"endIndex": 2
|
10039
|
+
}
|
10040
|
+
},
|
10041
|
+
{
|
10042
|
+
"kind": "PropertySignature",
|
10043
|
+
"canonicalReference": "server!EntityEventPayload.SetTintColor#tintColor:member",
|
10044
|
+
"docComment": "",
|
10045
|
+
"excerptTokens": [
|
10046
|
+
{
|
10047
|
+
"kind": "Content",
|
10048
|
+
"text": "tintColor: "
|
10049
|
+
},
|
10050
|
+
{
|
10051
|
+
"kind": "Reference",
|
10052
|
+
"text": "RgbColor",
|
10053
|
+
"canonicalReference": "server!RgbColor:interface"
|
10054
|
+
},
|
10055
|
+
{
|
10056
|
+
"kind": "Content",
|
10057
|
+
"text": " | undefined"
|
10058
|
+
},
|
10059
|
+
{
|
10060
|
+
"kind": "Content",
|
10061
|
+
"text": ";"
|
10062
|
+
}
|
10063
|
+
],
|
10064
|
+
"isReadonly": false,
|
10065
|
+
"isOptional": false,
|
10066
|
+
"releaseTag": "Public",
|
10067
|
+
"name": "tintColor",
|
10068
|
+
"propertyTypeTokenRange": {
|
10069
|
+
"startIndex": 1,
|
10070
|
+
"endIndex": 3
|
10071
|
+
}
|
10072
|
+
}
|
10073
|
+
],
|
10074
|
+
"extendsTokenRanges": []
|
10075
|
+
},
|
9731
10076
|
{
|
9732
10077
|
"kind": "Interface",
|
9733
10078
|
"canonicalReference": "server!EntityEventPayload.Spawn:interface",
|
@@ -10188,6 +10533,27 @@
|
|
10188
10533
|
"releaseTag": "Public",
|
10189
10534
|
"name": "DESPAWN"
|
10190
10535
|
},
|
10536
|
+
{
|
10537
|
+
"kind": "EnumMember",
|
10538
|
+
"canonicalReference": "server!EntityEventType.SET_TINT_COLOR:member",
|
10539
|
+
"docComment": "",
|
10540
|
+
"excerptTokens": [
|
10541
|
+
{
|
10542
|
+
"kind": "Content",
|
10543
|
+
"text": "SET_TINT_COLOR = "
|
10544
|
+
},
|
10545
|
+
{
|
10546
|
+
"kind": "Content",
|
10547
|
+
"text": "\"ENTITY.SET_TINT_COLOR\""
|
10548
|
+
}
|
10549
|
+
],
|
10550
|
+
"initializerTokenRange": {
|
10551
|
+
"startIndex": 1,
|
10552
|
+
"endIndex": 2
|
10553
|
+
},
|
10554
|
+
"releaseTag": "Public",
|
10555
|
+
"name": "SET_TINT_COLOR"
|
10556
|
+
},
|
10191
10557
|
{
|
10192
10558
|
"kind": "EnumMember",
|
10193
10559
|
"canonicalReference": "server!EntityEventType.SPAWN:member",
|
@@ -10220,7 +10586,7 @@
|
|
10220
10586
|
},
|
10221
10587
|
{
|
10222
10588
|
"kind": "Content",
|
10223
|
-
"text": "\"ENTITY.
|
10589
|
+
"text": "\"ENTITY.START_MODEL_LOOPED_ANIMATIONS\""
|
10224
10590
|
}
|
10225
10591
|
],
|
10226
10592
|
"initializerTokenRange": {
|
@@ -10905,6 +11271,34 @@
|
|
10905
11271
|
"startIndex": 1,
|
10906
11272
|
"endIndex": 2
|
10907
11273
|
}
|
11274
|
+
},
|
11275
|
+
{
|
11276
|
+
"kind": "PropertySignature",
|
11277
|
+
"canonicalReference": "server!EntityOptions#tintColor:member",
|
11278
|
+
"docComment": "/**\n * The tint color of the entity as a hex code.\n */\n",
|
11279
|
+
"excerptTokens": [
|
11280
|
+
{
|
11281
|
+
"kind": "Content",
|
11282
|
+
"text": "tintColor?: "
|
11283
|
+
},
|
11284
|
+
{
|
11285
|
+
"kind": "Reference",
|
11286
|
+
"text": "RgbColor",
|
11287
|
+
"canonicalReference": "server!RgbColor:interface"
|
11288
|
+
},
|
11289
|
+
{
|
11290
|
+
"kind": "Content",
|
11291
|
+
"text": ";"
|
11292
|
+
}
|
11293
|
+
],
|
11294
|
+
"isReadonly": false,
|
11295
|
+
"isOptional": true,
|
11296
|
+
"releaseTag": "Public",
|
11297
|
+
"name": "tintColor",
|
11298
|
+
"propertyTypeTokenRange": {
|
11299
|
+
"startIndex": 1,
|
11300
|
+
"endIndex": 2
|
11301
|
+
}
|
10908
11302
|
}
|
10909
11303
|
],
|
10910
11304
|
"extendsTokenRanges": []
|
@@ -11945,7 +12339,7 @@
|
|
11945
12339
|
{
|
11946
12340
|
"kind": "Class",
|
11947
12341
|
"canonicalReference": "server!HYTOPIA.Audio:class",
|
11948
|
-
"docComment": "/**\n * Represents a audio playback in a world.\n *\n * @remarks\n *\n * Audio instances are created directly as instances. They support a variety of configuration options through the {@link AudioOptions} constructor argument.\n *\n * @example\n * ```typescript\n * (new Audio({\n * uri: 'assets/music/song.mp3
|
12342
|
+
"docComment": "/**\n * Represents a audio playback in a world.\n *\n * @remarks\n *\n * Audio instances are created directly as instances. They support a variety of configuration options through the {@link AudioOptions} constructor argument.\n *\n * @example\n * ```typescript\n * (new Audio({\n * uri: 'music/song.mp3', // relative to the server's assets directory in the project root, resolves to assets/music/song.mp3\n * loop: true,\n * volume: 0.5,\n * })).play(world);\n * ```\n *\n * @public\n */\n",
|
11949
12343
|
"excerptTokens": [
|
11950
12344
|
{
|
11951
12345
|
"kind": "Content",
|
@@ -14817,7 +15211,7 @@
|
|
14817
15211
|
{
|
14818
15212
|
"kind": "Class",
|
14819
15213
|
"canonicalReference": "server!HYTOPIA.BlockType:class",
|
14820
|
-
"docComment": "/**\n * Represents a block type.\n *\n * @remarks\n *\n * Block types are created directly as instances. They support a variety of configuration options through the {@link BlockTypeOptions} constructor argument. Block types are registered with a {@link BlockTypeRegistry} instance, allowing you to create custom blocks with unique visual representations and behaviors.\n *\n * @example\n * ```typescript\n * const stoneBlockTypeId = 10;\n * world.blockTypeRegistry.registerBlockType(stoneBlockTypeId, new BlockType({\n * id: stoneBlockTypeId,\n * textureUri: '
|
15214
|
+
"docComment": "/**\n * Represents a block type.\n *\n * @remarks\n *\n * Block types are created directly as instances. They support a variety of configuration options through the {@link BlockTypeOptions} constructor argument. Block types are registered with a {@link BlockTypeRegistry} instance, allowing you to create custom blocks with unique visual representations and behaviors.\n *\n * @example\n * ```typescript\n * const stoneBlockTypeId = 10;\n * world.blockTypeRegistry.registerBlockType(stoneBlockTypeId, new BlockType({\n * id: stoneBlockTypeId,\n * textureUri: 'textures/stone.png',\n * name: 'Stone',\n * }));\n *\n * // Create a stone block at coordinate 0, 1, 0\n * world.chunkLattice.setBlock({ x: 0, y: 1, z: 0 }, stoneBlockTypeId);\n * ```\n *\n * @public\n */\n",
|
14821
15215
|
"excerptTokens": [
|
14822
15216
|
{
|
14823
15217
|
"kind": "Content",
|
@@ -15266,7 +15660,7 @@
|
|
15266
15660
|
{
|
15267
15661
|
"kind": "Class",
|
15268
15662
|
"canonicalReference": "server!HYTOPIA.BlockTypeRegistry:class",
|
15269
|
-
"docComment": "/**\n * Manages known block types in a world.\n *\n * @remarks\n *\n * Block type registries are created internally as a singleton for each {@link World} instance in a game server. A block type registry allows you to register and retrieve block types by their unique id for a world.\n *\n * The constructor for this class is marked as internal. Third-party code should not call the constructor directly or create subclasses that extend the `BlockTypeRegistry` class.\n *\n * @example\n * ```typescript\n * world.blockTypeRegistry.registerGenericBlockType({\n * id: 15,\n * textureUri: '
|
15663
|
+
"docComment": "/**\n * Manages known block types in a world.\n *\n * @remarks\n *\n * Block type registries are created internally as a singleton for each {@link World} instance in a game server. A block type registry allows you to register and retrieve block types by their unique id for a world.\n *\n * The constructor for this class is marked as internal. Third-party code should not call the constructor directly or create subclasses that extend the `BlockTypeRegistry` class.\n *\n * @example\n * ```typescript\n * world.blockTypeRegistry.registerGenericBlockType({\n * id: 15,\n * textureUri: 'textures/dirt.png',\n * name: 'Dirt',\n * });\n * ```\n *\n * @public\n */\n",
|
15270
15664
|
"excerptTokens": [
|
15271
15665
|
{
|
15272
15666
|
"kind": "Content",
|
@@ -15376,19 +15770,11 @@
|
|
15376
15770
|
{
|
15377
15771
|
"kind": "Method",
|
15378
15772
|
"canonicalReference": "server!HYTOPIA.BlockTypeRegistry#registerBlockType:member(1)",
|
15379
|
-
"docComment": "/**\n * Register a block type.\n *\n * @param
|
15773
|
+
"docComment": "/**\n * Register a block type.\n *\n * @param blockType - The block type to register.\n */\n",
|
15380
15774
|
"excerptTokens": [
|
15381
15775
|
{
|
15382
15776
|
"kind": "Content",
|
15383
|
-
"text": "registerBlockType(
|
15384
|
-
},
|
15385
|
-
{
|
15386
|
-
"kind": "Content",
|
15387
|
-
"text": "number"
|
15388
|
-
},
|
15389
|
-
{
|
15390
|
-
"kind": "Content",
|
15391
|
-
"text": ", blockTypeReference: "
|
15777
|
+
"text": "registerBlockType(blockType: "
|
15392
15778
|
},
|
15393
15779
|
{
|
15394
15780
|
"kind": "Reference",
|
@@ -15410,28 +15796,20 @@
|
|
15410
15796
|
],
|
15411
15797
|
"isStatic": false,
|
15412
15798
|
"returnTypeTokenRange": {
|
15413
|
-
"startIndex":
|
15414
|
-
"endIndex":
|
15799
|
+
"startIndex": 3,
|
15800
|
+
"endIndex": 4
|
15415
15801
|
},
|
15416
15802
|
"releaseTag": "Public",
|
15417
15803
|
"isProtected": false,
|
15418
15804
|
"overloadIndex": 1,
|
15419
15805
|
"parameters": [
|
15420
15806
|
{
|
15421
|
-
"parameterName": "
|
15807
|
+
"parameterName": "blockType",
|
15422
15808
|
"parameterTypeTokenRange": {
|
15423
15809
|
"startIndex": 1,
|
15424
15810
|
"endIndex": 2
|
15425
15811
|
},
|
15426
15812
|
"isOptional": false
|
15427
|
-
},
|
15428
|
-
{
|
15429
|
-
"parameterName": "blockTypeReference",
|
15430
|
-
"parameterTypeTokenRange": {
|
15431
|
-
"startIndex": 3,
|
15432
|
-
"endIndex": 4
|
15433
|
-
},
|
15434
|
-
"isOptional": false
|
15435
15813
|
}
|
15436
15814
|
],
|
15437
15815
|
"isOptional": false,
|
@@ -16369,6 +16747,55 @@
|
|
16369
16747
|
"isAbstract": false,
|
16370
16748
|
"name": "despawn"
|
16371
16749
|
},
|
16750
|
+
{
|
16751
|
+
"kind": "Method",
|
16752
|
+
"canonicalReference": "server!HYTOPIA.Chunk#getBlock:member(1)",
|
16753
|
+
"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",
|
16754
|
+
"excerptTokens": [
|
16755
|
+
{
|
16756
|
+
"kind": "Content",
|
16757
|
+
"text": "getBlock(localCoordinate: "
|
16758
|
+
},
|
16759
|
+
{
|
16760
|
+
"kind": "Reference",
|
16761
|
+
"text": "Vector3",
|
16762
|
+
"canonicalReference": "server!Vector3:interface"
|
16763
|
+
},
|
16764
|
+
{
|
16765
|
+
"kind": "Content",
|
16766
|
+
"text": "): "
|
16767
|
+
},
|
16768
|
+
{
|
16769
|
+
"kind": "Content",
|
16770
|
+
"text": "number"
|
16771
|
+
},
|
16772
|
+
{
|
16773
|
+
"kind": "Content",
|
16774
|
+
"text": ";"
|
16775
|
+
}
|
16776
|
+
],
|
16777
|
+
"isStatic": false,
|
16778
|
+
"returnTypeTokenRange": {
|
16779
|
+
"startIndex": 3,
|
16780
|
+
"endIndex": 4
|
16781
|
+
},
|
16782
|
+
"releaseTag": "Public",
|
16783
|
+
"isProtected": false,
|
16784
|
+
"overloadIndex": 1,
|
16785
|
+
"parameters": [
|
16786
|
+
{
|
16787
|
+
"parameterName": "localCoordinate",
|
16788
|
+
"parameterTypeTokenRange": {
|
16789
|
+
"startIndex": 1,
|
16790
|
+
"endIndex": 2
|
16791
|
+
},
|
16792
|
+
"isOptional": false
|
16793
|
+
}
|
16794
|
+
],
|
16795
|
+
"isOptional": false,
|
16796
|
+
"isAbstract": false,
|
16797
|
+
"name": "getBlock"
|
16798
|
+
},
|
16372
16799
|
{
|
16373
16800
|
"kind": "Method",
|
16374
16801
|
"canonicalReference": "server!HYTOPIA.Chunk.globalCoordinateToLocalCoordinate:member(1)",
|
@@ -16469,6 +16896,55 @@
|
|
16469
16896
|
"isAbstract": false,
|
16470
16897
|
"name": "globalCoordinateToOriginCoordinate"
|
16471
16898
|
},
|
16899
|
+
{
|
16900
|
+
"kind": "Method",
|
16901
|
+
"canonicalReference": "server!HYTOPIA.Chunk#hasBlock:member(1)",
|
16902
|
+
"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",
|
16903
|
+
"excerptTokens": [
|
16904
|
+
{
|
16905
|
+
"kind": "Content",
|
16906
|
+
"text": "hasBlock(localCoordinate: "
|
16907
|
+
},
|
16908
|
+
{
|
16909
|
+
"kind": "Reference",
|
16910
|
+
"text": "Vector3",
|
16911
|
+
"canonicalReference": "server!Vector3:interface"
|
16912
|
+
},
|
16913
|
+
{
|
16914
|
+
"kind": "Content",
|
16915
|
+
"text": "): "
|
16916
|
+
},
|
16917
|
+
{
|
16918
|
+
"kind": "Content",
|
16919
|
+
"text": "boolean"
|
16920
|
+
},
|
16921
|
+
{
|
16922
|
+
"kind": "Content",
|
16923
|
+
"text": ";"
|
16924
|
+
}
|
16925
|
+
],
|
16926
|
+
"isStatic": false,
|
16927
|
+
"returnTypeTokenRange": {
|
16928
|
+
"startIndex": 3,
|
16929
|
+
"endIndex": 4
|
16930
|
+
},
|
16931
|
+
"releaseTag": "Public",
|
16932
|
+
"isProtected": false,
|
16933
|
+
"overloadIndex": 1,
|
16934
|
+
"parameters": [
|
16935
|
+
{
|
16936
|
+
"parameterName": "localCoordinate",
|
16937
|
+
"parameterTypeTokenRange": {
|
16938
|
+
"startIndex": 1,
|
16939
|
+
"endIndex": 2
|
16940
|
+
},
|
16941
|
+
"isOptional": false
|
16942
|
+
}
|
16943
|
+
],
|
16944
|
+
"isOptional": false,
|
16945
|
+
"isAbstract": false,
|
16946
|
+
"name": "hasBlock"
|
16947
|
+
},
|
16472
16948
|
{
|
16473
16949
|
"kind": "Property",
|
16474
16950
|
"canonicalReference": "server!HYTOPIA.Chunk#isSimulated:member",
|
@@ -17187,6 +17663,55 @@
|
|
17187
17663
|
"isAbstract": false,
|
17188
17664
|
"name": "getAllChunks"
|
17189
17665
|
},
|
17666
|
+
{
|
17667
|
+
"kind": "Method",
|
17668
|
+
"canonicalReference": "server!HYTOPIA.ChunkLattice#getBlock:member(1)",
|
17669
|
+
"docComment": "/**\n * Get the block type id at a specific global coordinate.\n *\n * @param globalCoordinate - The global coordinate of the block to get.\n *\n * @returns The block type id, 0 if no block is set.\n */\n",
|
17670
|
+
"excerptTokens": [
|
17671
|
+
{
|
17672
|
+
"kind": "Content",
|
17673
|
+
"text": "getBlock(globalCoordinate: "
|
17674
|
+
},
|
17675
|
+
{
|
17676
|
+
"kind": "Reference",
|
17677
|
+
"text": "Vector3",
|
17678
|
+
"canonicalReference": "server!Vector3:interface"
|
17679
|
+
},
|
17680
|
+
{
|
17681
|
+
"kind": "Content",
|
17682
|
+
"text": "): "
|
17683
|
+
},
|
17684
|
+
{
|
17685
|
+
"kind": "Content",
|
17686
|
+
"text": "number"
|
17687
|
+
},
|
17688
|
+
{
|
17689
|
+
"kind": "Content",
|
17690
|
+
"text": ";"
|
17691
|
+
}
|
17692
|
+
],
|
17693
|
+
"isStatic": false,
|
17694
|
+
"returnTypeTokenRange": {
|
17695
|
+
"startIndex": 3,
|
17696
|
+
"endIndex": 4
|
17697
|
+
},
|
17698
|
+
"releaseTag": "Public",
|
17699
|
+
"isProtected": false,
|
17700
|
+
"overloadIndex": 1,
|
17701
|
+
"parameters": [
|
17702
|
+
{
|
17703
|
+
"parameterName": "globalCoordinate",
|
17704
|
+
"parameterTypeTokenRange": {
|
17705
|
+
"startIndex": 1,
|
17706
|
+
"endIndex": 2
|
17707
|
+
},
|
17708
|
+
"isOptional": false
|
17709
|
+
}
|
17710
|
+
],
|
17711
|
+
"isOptional": false,
|
17712
|
+
"isAbstract": false,
|
17713
|
+
"name": "getBlock"
|
17714
|
+
},
|
17190
17715
|
{
|
17191
17716
|
"kind": "Method",
|
17192
17717
|
"canonicalReference": "server!HYTOPIA.ChunkLattice#getChunk:member(1)",
|
@@ -17241,6 +17766,55 @@
|
|
17241
17766
|
"isAbstract": false,
|
17242
17767
|
"name": "getChunk"
|
17243
17768
|
},
|
17769
|
+
{
|
17770
|
+
"kind": "Method",
|
17771
|
+
"canonicalReference": "server!HYTOPIA.ChunkLattice#hasBlock:member(1)",
|
17772
|
+
"docComment": "/**\n * Check if a block exists at a specific global coordinate.\n *\n * @param globalCoordinate - The global coordinate of the block to check.\n *\n * @returns Whether a block exists.\n */\n",
|
17773
|
+
"excerptTokens": [
|
17774
|
+
{
|
17775
|
+
"kind": "Content",
|
17776
|
+
"text": "hasBlock(globalCoordinate: "
|
17777
|
+
},
|
17778
|
+
{
|
17779
|
+
"kind": "Reference",
|
17780
|
+
"text": "Vector3",
|
17781
|
+
"canonicalReference": "server!Vector3:interface"
|
17782
|
+
},
|
17783
|
+
{
|
17784
|
+
"kind": "Content",
|
17785
|
+
"text": "): "
|
17786
|
+
},
|
17787
|
+
{
|
17788
|
+
"kind": "Content",
|
17789
|
+
"text": "boolean"
|
17790
|
+
},
|
17791
|
+
{
|
17792
|
+
"kind": "Content",
|
17793
|
+
"text": ";"
|
17794
|
+
}
|
17795
|
+
],
|
17796
|
+
"isStatic": false,
|
17797
|
+
"returnTypeTokenRange": {
|
17798
|
+
"startIndex": 3,
|
17799
|
+
"endIndex": 4
|
17800
|
+
},
|
17801
|
+
"releaseTag": "Public",
|
17802
|
+
"isProtected": false,
|
17803
|
+
"overloadIndex": 1,
|
17804
|
+
"parameters": [
|
17805
|
+
{
|
17806
|
+
"parameterName": "globalCoordinate",
|
17807
|
+
"parameterTypeTokenRange": {
|
17808
|
+
"startIndex": 1,
|
17809
|
+
"endIndex": 2
|
17810
|
+
},
|
17811
|
+
"isOptional": false
|
17812
|
+
}
|
17813
|
+
],
|
17814
|
+
"isOptional": false,
|
17815
|
+
"isAbstract": false,
|
17816
|
+
"name": "hasBlock"
|
17817
|
+
},
|
17244
17818
|
{
|
17245
17819
|
"kind": "Method",
|
17246
17820
|
"canonicalReference": "server!HYTOPIA.ChunkLattice#hasChunk:member(1)",
|
@@ -17293,7 +17867,7 @@
|
|
17293
17867
|
{
|
17294
17868
|
"kind": "Method",
|
17295
17869
|
"canonicalReference": "server!HYTOPIA.ChunkLattice#setBlock:member(1)",
|
17296
|
-
"docComment": "/**\n * Set the block at a global coordinate by block type id, automatically creating a chunk if it doesn't exist.\n *\n * @param globalCoordinate - The global coordinate of the block to set.\n *\n * @param blockTypeId - The block type id to set.\n */\n",
|
17870
|
+
"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",
|
17297
17871
|
"excerptTokens": [
|
17298
17872
|
{
|
17299
17873
|
"kind": "Content",
|
@@ -21150,6 +21724,59 @@
|
|
21150
21724
|
"isAbstract": false,
|
21151
21725
|
"name": "setCharacterController"
|
21152
21726
|
},
|
21727
|
+
{
|
21728
|
+
"kind": "Method",
|
21729
|
+
"canonicalReference": "server!HYTOPIA.Entity#setTintColor:member(1)",
|
21730
|
+
"docComment": "/**\n * Sets the tint color of the entity.\n *\n * @param tintColor - The tint color of the entity.\n */\n",
|
21731
|
+
"excerptTokens": [
|
21732
|
+
{
|
21733
|
+
"kind": "Content",
|
21734
|
+
"text": "setTintColor(tintColor: "
|
21735
|
+
},
|
21736
|
+
{
|
21737
|
+
"kind": "Reference",
|
21738
|
+
"text": "RgbColor",
|
21739
|
+
"canonicalReference": "server!RgbColor:interface"
|
21740
|
+
},
|
21741
|
+
{
|
21742
|
+
"kind": "Content",
|
21743
|
+
"text": " | undefined"
|
21744
|
+
},
|
21745
|
+
{
|
21746
|
+
"kind": "Content",
|
21747
|
+
"text": "): "
|
21748
|
+
},
|
21749
|
+
{
|
21750
|
+
"kind": "Content",
|
21751
|
+
"text": "void"
|
21752
|
+
},
|
21753
|
+
{
|
21754
|
+
"kind": "Content",
|
21755
|
+
"text": ";"
|
21756
|
+
}
|
21757
|
+
],
|
21758
|
+
"isStatic": false,
|
21759
|
+
"returnTypeTokenRange": {
|
21760
|
+
"startIndex": 4,
|
21761
|
+
"endIndex": 5
|
21762
|
+
},
|
21763
|
+
"releaseTag": "Public",
|
21764
|
+
"isProtected": false,
|
21765
|
+
"overloadIndex": 1,
|
21766
|
+
"parameters": [
|
21767
|
+
{
|
21768
|
+
"parameterName": "tintColor",
|
21769
|
+
"parameterTypeTokenRange": {
|
21770
|
+
"startIndex": 1,
|
21771
|
+
"endIndex": 3
|
21772
|
+
},
|
21773
|
+
"isOptional": false
|
21774
|
+
}
|
21775
|
+
],
|
21776
|
+
"isOptional": false,
|
21777
|
+
"isAbstract": false,
|
21778
|
+
"name": "setTintColor"
|
21779
|
+
},
|
21153
21780
|
{
|
21154
21781
|
"kind": "Method",
|
21155
21782
|
"canonicalReference": "server!HYTOPIA.Entity#spawn:member(1)",
|
@@ -21390,6 +22017,41 @@
|
|
21390
22017
|
"isProtected": false,
|
21391
22018
|
"isAbstract": false
|
21392
22019
|
},
|
22020
|
+
{
|
22021
|
+
"kind": "Property",
|
22022
|
+
"canonicalReference": "server!HYTOPIA.Entity#tintColor:member",
|
22023
|
+
"docComment": "/**\n * The tint color of the entity.\n */\n",
|
22024
|
+
"excerptTokens": [
|
22025
|
+
{
|
22026
|
+
"kind": "Content",
|
22027
|
+
"text": "get tintColor(): "
|
22028
|
+
},
|
22029
|
+
{
|
22030
|
+
"kind": "Reference",
|
22031
|
+
"text": "RgbColor",
|
22032
|
+
"canonicalReference": "server!RgbColor:interface"
|
22033
|
+
},
|
22034
|
+
{
|
22035
|
+
"kind": "Content",
|
22036
|
+
"text": " | undefined"
|
22037
|
+
},
|
22038
|
+
{
|
22039
|
+
"kind": "Content",
|
22040
|
+
"text": ";"
|
22041
|
+
}
|
22042
|
+
],
|
22043
|
+
"isReadonly": true,
|
22044
|
+
"isOptional": false,
|
22045
|
+
"releaseTag": "Public",
|
22046
|
+
"name": "tintColor",
|
22047
|
+
"propertyTypeTokenRange": {
|
22048
|
+
"startIndex": 1,
|
22049
|
+
"endIndex": 3
|
22050
|
+
},
|
22051
|
+
"isStatic": false,
|
22052
|
+
"isProtected": false,
|
22053
|
+
"isAbstract": false
|
22054
|
+
},
|
21393
22055
|
{
|
21394
22056
|
"kind": "Property",
|
21395
22057
|
"canonicalReference": "server!HYTOPIA.Entity#world:member",
|
@@ -21499,21 +22161,21 @@
|
|
21499
22161
|
},
|
21500
22162
|
{
|
21501
22163
|
"kind": "Interface",
|
21502
|
-
"canonicalReference": "server!HYTOPIA.EntityEventPayload.
|
22164
|
+
"canonicalReference": "server!HYTOPIA.EntityEventPayload.SetTintColor:interface",
|
21503
22165
|
"docComment": "",
|
21504
22166
|
"excerptTokens": [
|
21505
22167
|
{
|
21506
22168
|
"kind": "Content",
|
21507
|
-
"text": "interface
|
22169
|
+
"text": "interface SetTintColor "
|
21508
22170
|
}
|
21509
22171
|
],
|
21510
22172
|
"releaseTag": "Public",
|
21511
|
-
"name": "
|
22173
|
+
"name": "SetTintColor",
|
21512
22174
|
"preserveMemberOrder": false,
|
21513
22175
|
"members": [
|
21514
22176
|
{
|
21515
22177
|
"kind": "PropertySignature",
|
21516
|
-
"canonicalReference": "server!HYTOPIA.EntityEventPayload.
|
22178
|
+
"canonicalReference": "server!HYTOPIA.EntityEventPayload.SetTintColor#entity:member",
|
21517
22179
|
"docComment": "",
|
21518
22180
|
"excerptTokens": [
|
21519
22181
|
{
|
@@ -21538,41 +22200,24 @@
|
|
21538
22200
|
"startIndex": 1,
|
21539
22201
|
"endIndex": 2
|
21540
22202
|
}
|
21541
|
-
}
|
21542
|
-
],
|
21543
|
-
"extendsTokenRanges": []
|
21544
|
-
},
|
21545
|
-
{
|
21546
|
-
"kind": "Interface",
|
21547
|
-
"canonicalReference": "server!HYTOPIA.EntityEventPayload.StartModelLoopedAnimations:interface",
|
21548
|
-
"docComment": "",
|
21549
|
-
"excerptTokens": [
|
21550
|
-
{
|
21551
|
-
"kind": "Content",
|
21552
|
-
"text": "interface StartModelLoopedAnimations "
|
21553
|
-
}
|
21554
|
-
],
|
21555
|
-
"releaseTag": "Public",
|
21556
|
-
"name": "StartModelLoopedAnimations",
|
21557
|
-
"preserveMemberOrder": false,
|
21558
|
-
"members": [
|
22203
|
+
},
|
21559
22204
|
{
|
21560
22205
|
"kind": "PropertySignature",
|
21561
|
-
"canonicalReference": "server!HYTOPIA.EntityEventPayload.
|
22206
|
+
"canonicalReference": "server!HYTOPIA.EntityEventPayload.SetTintColor#tintColor:member",
|
21562
22207
|
"docComment": "",
|
21563
22208
|
"excerptTokens": [
|
21564
22209
|
{
|
21565
22210
|
"kind": "Content",
|
21566
|
-
"text": "
|
22211
|
+
"text": "tintColor: "
|
21567
22212
|
},
|
21568
22213
|
{
|
21569
22214
|
"kind": "Reference",
|
21570
|
-
"text": "
|
21571
|
-
"canonicalReference": "!
|
22215
|
+
"text": "RgbColor",
|
22216
|
+
"canonicalReference": "server!RgbColor:interface"
|
21572
22217
|
},
|
21573
22218
|
{
|
21574
22219
|
"kind": "Content",
|
21575
|
-
"text": "
|
22220
|
+
"text": " | undefined"
|
21576
22221
|
},
|
21577
22222
|
{
|
21578
22223
|
"kind": "Content",
|
@@ -21582,92 +22227,186 @@
|
|
21582
22227
|
"isReadonly": false,
|
21583
22228
|
"isOptional": false,
|
21584
22229
|
"releaseTag": "Public",
|
21585
|
-
"name": "
|
22230
|
+
"name": "tintColor",
|
21586
22231
|
"propertyTypeTokenRange": {
|
21587
22232
|
"startIndex": 1,
|
21588
22233
|
"endIndex": 3
|
21589
22234
|
}
|
21590
|
-
},
|
21591
|
-
{
|
21592
|
-
"kind": "PropertySignature",
|
21593
|
-
"canonicalReference": "server!HYTOPIA.EntityEventPayload.StartModelLoopedAnimations#entity:member",
|
21594
|
-
"docComment": "",
|
21595
|
-
"excerptTokens": [
|
21596
|
-
{
|
21597
|
-
"kind": "Content",
|
21598
|
-
"text": "entity: "
|
21599
|
-
},
|
21600
|
-
{
|
21601
|
-
"kind": "Reference",
|
21602
|
-
"text": "Entity",
|
21603
|
-
"canonicalReference": "server!Entity:class"
|
21604
|
-
},
|
21605
|
-
{
|
21606
|
-
"kind": "Content",
|
21607
|
-
"text": ";"
|
21608
|
-
}
|
21609
|
-
],
|
21610
|
-
"isReadonly": false,
|
21611
|
-
"isOptional": false,
|
21612
|
-
"releaseTag": "Public",
|
21613
|
-
"name": "entity",
|
21614
|
-
"propertyTypeTokenRange": {
|
21615
|
-
"startIndex": 1,
|
21616
|
-
"endIndex": 2
|
21617
|
-
}
|
21618
22235
|
}
|
21619
22236
|
],
|
21620
22237
|
"extendsTokenRanges": []
|
21621
22238
|
},
|
21622
22239
|
{
|
21623
22240
|
"kind": "Interface",
|
21624
|
-
"canonicalReference": "server!HYTOPIA.EntityEventPayload.
|
22241
|
+
"canonicalReference": "server!HYTOPIA.EntityEventPayload.Spawn:interface",
|
21625
22242
|
"docComment": "",
|
21626
22243
|
"excerptTokens": [
|
21627
22244
|
{
|
21628
22245
|
"kind": "Content",
|
21629
|
-
"text": "interface
|
22246
|
+
"text": "interface Spawn "
|
21630
22247
|
}
|
21631
22248
|
],
|
21632
22249
|
"releaseTag": "Public",
|
21633
|
-
"name": "
|
22250
|
+
"name": "Spawn",
|
21634
22251
|
"preserveMemberOrder": false,
|
21635
22252
|
"members": [
|
21636
22253
|
{
|
21637
22254
|
"kind": "PropertySignature",
|
21638
|
-
"canonicalReference": "server!HYTOPIA.EntityEventPayload.
|
21639
|
-
"docComment": "",
|
21640
|
-
"excerptTokens": [
|
21641
|
-
{
|
21642
|
-
"kind": "Content",
|
21643
|
-
"text": "
|
21644
|
-
},
|
21645
|
-
{
|
21646
|
-
"kind": "Reference",
|
21647
|
-
"text": "
|
21648
|
-
"canonicalReference": "!
|
21649
|
-
},
|
21650
|
-
{
|
21651
|
-
"kind": "Content",
|
21652
|
-
"text": "
|
21653
|
-
}
|
21654
|
-
|
21655
|
-
|
21656
|
-
|
21657
|
-
|
21658
|
-
|
21659
|
-
"
|
21660
|
-
|
21661
|
-
|
21662
|
-
|
21663
|
-
|
21664
|
-
|
21665
|
-
|
21666
|
-
|
21667
|
-
|
21668
|
-
|
21669
|
-
|
21670
|
-
|
22255
|
+
"canonicalReference": "server!HYTOPIA.EntityEventPayload.Spawn#entity:member",
|
22256
|
+
"docComment": "",
|
22257
|
+
"excerptTokens": [
|
22258
|
+
{
|
22259
|
+
"kind": "Content",
|
22260
|
+
"text": "entity: "
|
22261
|
+
},
|
22262
|
+
{
|
22263
|
+
"kind": "Reference",
|
22264
|
+
"text": "Entity",
|
22265
|
+
"canonicalReference": "server!Entity:class"
|
22266
|
+
},
|
22267
|
+
{
|
22268
|
+
"kind": "Content",
|
22269
|
+
"text": ";"
|
22270
|
+
}
|
22271
|
+
],
|
22272
|
+
"isReadonly": false,
|
22273
|
+
"isOptional": false,
|
22274
|
+
"releaseTag": "Public",
|
22275
|
+
"name": "entity",
|
22276
|
+
"propertyTypeTokenRange": {
|
22277
|
+
"startIndex": 1,
|
22278
|
+
"endIndex": 2
|
22279
|
+
}
|
22280
|
+
}
|
22281
|
+
],
|
22282
|
+
"extendsTokenRanges": []
|
22283
|
+
},
|
22284
|
+
{
|
22285
|
+
"kind": "Interface",
|
22286
|
+
"canonicalReference": "server!HYTOPIA.EntityEventPayload.StartModelLoopedAnimations:interface",
|
22287
|
+
"docComment": "",
|
22288
|
+
"excerptTokens": [
|
22289
|
+
{
|
22290
|
+
"kind": "Content",
|
22291
|
+
"text": "interface StartModelLoopedAnimations "
|
22292
|
+
}
|
22293
|
+
],
|
22294
|
+
"releaseTag": "Public",
|
22295
|
+
"name": "StartModelLoopedAnimations",
|
22296
|
+
"preserveMemberOrder": false,
|
22297
|
+
"members": [
|
22298
|
+
{
|
22299
|
+
"kind": "PropertySignature",
|
22300
|
+
"canonicalReference": "server!HYTOPIA.EntityEventPayload.StartModelLoopedAnimations#animations:member",
|
22301
|
+
"docComment": "",
|
22302
|
+
"excerptTokens": [
|
22303
|
+
{
|
22304
|
+
"kind": "Content",
|
22305
|
+
"text": "animations: "
|
22306
|
+
},
|
22307
|
+
{
|
22308
|
+
"kind": "Reference",
|
22309
|
+
"text": "Set",
|
22310
|
+
"canonicalReference": "!Set:interface"
|
22311
|
+
},
|
22312
|
+
{
|
22313
|
+
"kind": "Content",
|
22314
|
+
"text": "<string>"
|
22315
|
+
},
|
22316
|
+
{
|
22317
|
+
"kind": "Content",
|
22318
|
+
"text": ";"
|
22319
|
+
}
|
22320
|
+
],
|
22321
|
+
"isReadonly": false,
|
22322
|
+
"isOptional": false,
|
22323
|
+
"releaseTag": "Public",
|
22324
|
+
"name": "animations",
|
22325
|
+
"propertyTypeTokenRange": {
|
22326
|
+
"startIndex": 1,
|
22327
|
+
"endIndex": 3
|
22328
|
+
}
|
22329
|
+
},
|
22330
|
+
{
|
22331
|
+
"kind": "PropertySignature",
|
22332
|
+
"canonicalReference": "server!HYTOPIA.EntityEventPayload.StartModelLoopedAnimations#entity:member",
|
22333
|
+
"docComment": "",
|
22334
|
+
"excerptTokens": [
|
22335
|
+
{
|
22336
|
+
"kind": "Content",
|
22337
|
+
"text": "entity: "
|
22338
|
+
},
|
22339
|
+
{
|
22340
|
+
"kind": "Reference",
|
22341
|
+
"text": "Entity",
|
22342
|
+
"canonicalReference": "server!Entity:class"
|
22343
|
+
},
|
22344
|
+
{
|
22345
|
+
"kind": "Content",
|
22346
|
+
"text": ";"
|
22347
|
+
}
|
22348
|
+
],
|
22349
|
+
"isReadonly": false,
|
22350
|
+
"isOptional": false,
|
22351
|
+
"releaseTag": "Public",
|
22352
|
+
"name": "entity",
|
22353
|
+
"propertyTypeTokenRange": {
|
22354
|
+
"startIndex": 1,
|
22355
|
+
"endIndex": 2
|
22356
|
+
}
|
22357
|
+
}
|
22358
|
+
],
|
22359
|
+
"extendsTokenRanges": []
|
22360
|
+
},
|
22361
|
+
{
|
22362
|
+
"kind": "Interface",
|
22363
|
+
"canonicalReference": "server!HYTOPIA.EntityEventPayload.StartModelOneshotAnimations:interface",
|
22364
|
+
"docComment": "",
|
22365
|
+
"excerptTokens": [
|
22366
|
+
{
|
22367
|
+
"kind": "Content",
|
22368
|
+
"text": "interface StartModelOneshotAnimations "
|
22369
|
+
}
|
22370
|
+
],
|
22371
|
+
"releaseTag": "Public",
|
22372
|
+
"name": "StartModelOneshotAnimations",
|
22373
|
+
"preserveMemberOrder": false,
|
22374
|
+
"members": [
|
22375
|
+
{
|
22376
|
+
"kind": "PropertySignature",
|
22377
|
+
"canonicalReference": "server!HYTOPIA.EntityEventPayload.StartModelOneshotAnimations#animations:member",
|
22378
|
+
"docComment": "",
|
22379
|
+
"excerptTokens": [
|
22380
|
+
{
|
22381
|
+
"kind": "Content",
|
22382
|
+
"text": "animations: "
|
22383
|
+
},
|
22384
|
+
{
|
22385
|
+
"kind": "Reference",
|
22386
|
+
"text": "Set",
|
22387
|
+
"canonicalReference": "!Set:interface"
|
22388
|
+
},
|
22389
|
+
{
|
22390
|
+
"kind": "Content",
|
22391
|
+
"text": "<string>"
|
22392
|
+
},
|
22393
|
+
{
|
22394
|
+
"kind": "Content",
|
22395
|
+
"text": ";"
|
22396
|
+
}
|
22397
|
+
],
|
22398
|
+
"isReadonly": false,
|
22399
|
+
"isOptional": false,
|
22400
|
+
"releaseTag": "Public",
|
22401
|
+
"name": "animations",
|
22402
|
+
"propertyTypeTokenRange": {
|
22403
|
+
"startIndex": 1,
|
22404
|
+
"endIndex": 3
|
22405
|
+
}
|
22406
|
+
},
|
22407
|
+
{
|
22408
|
+
"kind": "PropertySignature",
|
22409
|
+
"canonicalReference": "server!HYTOPIA.EntityEventPayload.StartModelOneshotAnimations#entity:member",
|
21671
22410
|
"docComment": "",
|
21672
22411
|
"excerptTokens": [
|
21673
22412
|
{
|
@@ -21957,6 +22696,27 @@
|
|
21957
22696
|
"releaseTag": "Public",
|
21958
22697
|
"name": "DESPAWN"
|
21959
22698
|
},
|
22699
|
+
{
|
22700
|
+
"kind": "EnumMember",
|
22701
|
+
"canonicalReference": "server!HYTOPIA.EntityEventType.SET_TINT_COLOR:member",
|
22702
|
+
"docComment": "",
|
22703
|
+
"excerptTokens": [
|
22704
|
+
{
|
22705
|
+
"kind": "Content",
|
22706
|
+
"text": "SET_TINT_COLOR = "
|
22707
|
+
},
|
22708
|
+
{
|
22709
|
+
"kind": "Content",
|
22710
|
+
"text": "\"ENTITY.SET_TINT_COLOR\""
|
22711
|
+
}
|
22712
|
+
],
|
22713
|
+
"initializerTokenRange": {
|
22714
|
+
"startIndex": 1,
|
22715
|
+
"endIndex": 2
|
22716
|
+
},
|
22717
|
+
"releaseTag": "Public",
|
22718
|
+
"name": "SET_TINT_COLOR"
|
22719
|
+
},
|
21960
22720
|
{
|
21961
22721
|
"kind": "EnumMember",
|
21962
22722
|
"canonicalReference": "server!HYTOPIA.EntityEventType.SPAWN:member",
|
@@ -21989,7 +22749,7 @@
|
|
21989
22749
|
},
|
21990
22750
|
{
|
21991
22751
|
"kind": "Content",
|
21992
|
-
"text": "\"ENTITY.
|
22752
|
+
"text": "\"ENTITY.START_MODEL_LOOPED_ANIMATIONS\""
|
21993
22753
|
}
|
21994
22754
|
],
|
21995
22755
|
"initializerTokenRange": {
|
@@ -22674,6 +23434,34 @@
|
|
22674
23434
|
"startIndex": 1,
|
22675
23435
|
"endIndex": 2
|
22676
23436
|
}
|
23437
|
+
},
|
23438
|
+
{
|
23439
|
+
"kind": "PropertySignature",
|
23440
|
+
"canonicalReference": "server!HYTOPIA.EntityOptions#tintColor:member",
|
23441
|
+
"docComment": "/**\n * The tint color of the entity as a hex code.\n */\n",
|
23442
|
+
"excerptTokens": [
|
23443
|
+
{
|
23444
|
+
"kind": "Content",
|
23445
|
+
"text": "tintColor?: "
|
23446
|
+
},
|
23447
|
+
{
|
23448
|
+
"kind": "Reference",
|
23449
|
+
"text": "RgbColor",
|
23450
|
+
"canonicalReference": "server!RgbColor:interface"
|
23451
|
+
},
|
23452
|
+
{
|
23453
|
+
"kind": "Content",
|
23454
|
+
"text": ";"
|
23455
|
+
}
|
23456
|
+
],
|
23457
|
+
"isReadonly": false,
|
23458
|
+
"isOptional": true,
|
23459
|
+
"releaseTag": "Public",
|
23460
|
+
"name": "tintColor",
|
23461
|
+
"propertyTypeTokenRange": {
|
23462
|
+
"startIndex": 1,
|
23463
|
+
"endIndex": 2
|
23464
|
+
}
|
22677
23465
|
}
|
22678
23466
|
],
|
22679
23467
|
"extendsTokenRanges": []
|
@@ -27403,6 +28191,105 @@
|
|
27403
28191
|
"endIndex": 2
|
27404
28192
|
}
|
27405
28193
|
},
|
28194
|
+
{
|
28195
|
+
"kind": "Interface",
|
28196
|
+
"canonicalReference": "server!HYTOPIA.RgbColor:interface",
|
28197
|
+
"docComment": "/**\n * A RGB color.\n *\n * @public\n */\n",
|
28198
|
+
"excerptTokens": [
|
28199
|
+
{
|
28200
|
+
"kind": "Content",
|
28201
|
+
"text": "interface RgbColor "
|
28202
|
+
}
|
28203
|
+
],
|
28204
|
+
"fileUrlPath": "src/shared/types/RgbColor.ts",
|
28205
|
+
"releaseTag": "Public",
|
28206
|
+
"name": "RgbColor",
|
28207
|
+
"preserveMemberOrder": false,
|
28208
|
+
"members": [
|
28209
|
+
{
|
28210
|
+
"kind": "PropertySignature",
|
28211
|
+
"canonicalReference": "server!HYTOPIA.RgbColor#b:member",
|
28212
|
+
"docComment": "",
|
28213
|
+
"excerptTokens": [
|
28214
|
+
{
|
28215
|
+
"kind": "Content",
|
28216
|
+
"text": "b: "
|
28217
|
+
},
|
28218
|
+
{
|
28219
|
+
"kind": "Content",
|
28220
|
+
"text": "number"
|
28221
|
+
},
|
28222
|
+
{
|
28223
|
+
"kind": "Content",
|
28224
|
+
"text": ";"
|
28225
|
+
}
|
28226
|
+
],
|
28227
|
+
"isReadonly": false,
|
28228
|
+
"isOptional": false,
|
28229
|
+
"releaseTag": "Public",
|
28230
|
+
"name": "b",
|
28231
|
+
"propertyTypeTokenRange": {
|
28232
|
+
"startIndex": 1,
|
28233
|
+
"endIndex": 2
|
28234
|
+
}
|
28235
|
+
},
|
28236
|
+
{
|
28237
|
+
"kind": "PropertySignature",
|
28238
|
+
"canonicalReference": "server!HYTOPIA.RgbColor#g:member",
|
28239
|
+
"docComment": "",
|
28240
|
+
"excerptTokens": [
|
28241
|
+
{
|
28242
|
+
"kind": "Content",
|
28243
|
+
"text": "g: "
|
28244
|
+
},
|
28245
|
+
{
|
28246
|
+
"kind": "Content",
|
28247
|
+
"text": "number"
|
28248
|
+
},
|
28249
|
+
{
|
28250
|
+
"kind": "Content",
|
28251
|
+
"text": ";"
|
28252
|
+
}
|
28253
|
+
],
|
28254
|
+
"isReadonly": false,
|
28255
|
+
"isOptional": false,
|
28256
|
+
"releaseTag": "Public",
|
28257
|
+
"name": "g",
|
28258
|
+
"propertyTypeTokenRange": {
|
28259
|
+
"startIndex": 1,
|
28260
|
+
"endIndex": 2
|
28261
|
+
}
|
28262
|
+
},
|
28263
|
+
{
|
28264
|
+
"kind": "PropertySignature",
|
28265
|
+
"canonicalReference": "server!HYTOPIA.RgbColor#r:member",
|
28266
|
+
"docComment": "",
|
28267
|
+
"excerptTokens": [
|
28268
|
+
{
|
28269
|
+
"kind": "Content",
|
28270
|
+
"text": "r: "
|
28271
|
+
},
|
28272
|
+
{
|
28273
|
+
"kind": "Content",
|
28274
|
+
"text": "number"
|
28275
|
+
},
|
28276
|
+
{
|
28277
|
+
"kind": "Content",
|
28278
|
+
"text": ";"
|
28279
|
+
}
|
28280
|
+
],
|
28281
|
+
"isReadonly": false,
|
28282
|
+
"isOptional": false,
|
28283
|
+
"releaseTag": "Public",
|
28284
|
+
"name": "r",
|
28285
|
+
"propertyTypeTokenRange": {
|
28286
|
+
"startIndex": 1,
|
28287
|
+
"endIndex": 2
|
28288
|
+
}
|
28289
|
+
}
|
28290
|
+
],
|
28291
|
+
"extendsTokenRanges": []
|
28292
|
+
},
|
27406
28293
|
{
|
27407
28294
|
"kind": "Class",
|
27408
28295
|
"canonicalReference": "server!HYTOPIA.RigidBody:class",
|
@@ -31754,6 +32641,55 @@
|
|
31754
32641
|
"isProtected": false,
|
31755
32642
|
"isAbstract": false
|
31756
32643
|
},
|
32644
|
+
{
|
32645
|
+
"kind": "Method",
|
32646
|
+
"canonicalReference": "server!HYTOPIA.Simulation#setGravity:member(1)",
|
32647
|
+
"docComment": "/**\n * Sets the gravity vector for the simulation.\n *\n * @param gravity - The gravity vector.\n */\n",
|
32648
|
+
"excerptTokens": [
|
32649
|
+
{
|
32650
|
+
"kind": "Content",
|
32651
|
+
"text": "setGravity(gravity: "
|
32652
|
+
},
|
32653
|
+
{
|
32654
|
+
"kind": "Reference",
|
32655
|
+
"text": "RAPIER.Vector3",
|
32656
|
+
"canonicalReference": "@dimforge/rapier3d-compat!Vector3:class"
|
32657
|
+
},
|
32658
|
+
{
|
32659
|
+
"kind": "Content",
|
32660
|
+
"text": "): "
|
32661
|
+
},
|
32662
|
+
{
|
32663
|
+
"kind": "Content",
|
32664
|
+
"text": "void"
|
32665
|
+
},
|
32666
|
+
{
|
32667
|
+
"kind": "Content",
|
32668
|
+
"text": ";"
|
32669
|
+
}
|
32670
|
+
],
|
32671
|
+
"isStatic": false,
|
32672
|
+
"returnTypeTokenRange": {
|
32673
|
+
"startIndex": 3,
|
32674
|
+
"endIndex": 4
|
32675
|
+
},
|
32676
|
+
"releaseTag": "Public",
|
32677
|
+
"isProtected": false,
|
32678
|
+
"overloadIndex": 1,
|
32679
|
+
"parameters": [
|
32680
|
+
{
|
32681
|
+
"parameterName": "gravity",
|
32682
|
+
"parameterTypeTokenRange": {
|
32683
|
+
"startIndex": 1,
|
32684
|
+
"endIndex": 2
|
32685
|
+
},
|
32686
|
+
"isOptional": false
|
32687
|
+
}
|
32688
|
+
],
|
32689
|
+
"isOptional": false,
|
32690
|
+
"isAbstract": false,
|
32691
|
+
"name": "setGravity"
|
32692
|
+
},
|
31757
32693
|
{
|
31758
32694
|
"kind": "Property",
|
31759
32695
|
"canonicalReference": "server!HYTOPIA.Simulation#timestepS:member",
|
@@ -32124,24 +33060,6 @@
|
|
32124
33060
|
],
|
32125
33061
|
"extendsTokenRanges": []
|
32126
33062
|
},
|
32127
|
-
{
|
32128
|
-
"kind": "Class",
|
32129
|
-
"canonicalReference": "server!HYTOPIA.WebServer:class",
|
32130
|
-
"docComment": "/**\n * Manages the internal HTTP server for the game server.\n *\n * @remarks\n *\n * This class is used as a singleton and should be accessed via the GameServer.webServer property.\n *\n * The constructor for this class is marked as internal. Third-party code should not call the constructor directly or create subclasses that extend the `WebServer` class.\n *\n * @public\n */\n",
|
32131
|
-
"excerptTokens": [
|
32132
|
-
{
|
32133
|
-
"kind": "Content",
|
32134
|
-
"text": "export default class WebServer "
|
32135
|
-
}
|
32136
|
-
],
|
32137
|
-
"fileUrlPath": "src/networking/WebServer.ts",
|
32138
|
-
"releaseTag": "Public",
|
32139
|
-
"isAbstract": false,
|
32140
|
-
"name": "WebServer",
|
32141
|
-
"preserveMemberOrder": false,
|
32142
|
-
"members": [],
|
32143
|
-
"implementsTokenRanges": []
|
32144
|
-
},
|
32145
33063
|
{
|
32146
33064
|
"kind": "Class",
|
32147
33065
|
"canonicalReference": "server!HYTOPIA.World:class",
|
@@ -33372,9 +34290,14 @@
|
|
33372
34290
|
"kind": "Content",
|
33373
34291
|
"text": "blockTypes: "
|
33374
34292
|
},
|
34293
|
+
{
|
34294
|
+
"kind": "Reference",
|
34295
|
+
"text": "BlockTypeOptions",
|
34296
|
+
"canonicalReference": "server!BlockTypeOptions:interface"
|
34297
|
+
},
|
33375
34298
|
{
|
33376
34299
|
"kind": "Content",
|
33377
|
-
"text": "
|
34300
|
+
"text": "[]"
|
33378
34301
|
},
|
33379
34302
|
{
|
33380
34303
|
"kind": "Content",
|
@@ -33387,7 +34310,7 @@
|
|
33387
34310
|
"name": "blockTypes",
|
33388
34311
|
"propertyTypeTokenRange": {
|
33389
34312
|
"startIndex": 1,
|
33390
|
-
"endIndex":
|
34313
|
+
"endIndex": 3
|
33391
34314
|
}
|
33392
34315
|
}
|
33393
34316
|
],
|
@@ -37251,6 +38174,105 @@
|
|
37251
38174
|
"endIndex": 2
|
37252
38175
|
}
|
37253
38176
|
},
|
38177
|
+
{
|
38178
|
+
"kind": "Interface",
|
38179
|
+
"canonicalReference": "server!RgbColor:interface",
|
38180
|
+
"docComment": "/**\n * A RGB color.\n *\n * @public\n */\n",
|
38181
|
+
"excerptTokens": [
|
38182
|
+
{
|
38183
|
+
"kind": "Content",
|
38184
|
+
"text": "interface RgbColor "
|
38185
|
+
}
|
38186
|
+
],
|
38187
|
+
"fileUrlPath": "src/shared/types/RgbColor.ts",
|
38188
|
+
"releaseTag": "Public",
|
38189
|
+
"name": "RgbColor",
|
38190
|
+
"preserveMemberOrder": false,
|
38191
|
+
"members": [
|
38192
|
+
{
|
38193
|
+
"kind": "PropertySignature",
|
38194
|
+
"canonicalReference": "server!RgbColor#b:member",
|
38195
|
+
"docComment": "",
|
38196
|
+
"excerptTokens": [
|
38197
|
+
{
|
38198
|
+
"kind": "Content",
|
38199
|
+
"text": "b: "
|
38200
|
+
},
|
38201
|
+
{
|
38202
|
+
"kind": "Content",
|
38203
|
+
"text": "number"
|
38204
|
+
},
|
38205
|
+
{
|
38206
|
+
"kind": "Content",
|
38207
|
+
"text": ";"
|
38208
|
+
}
|
38209
|
+
],
|
38210
|
+
"isReadonly": false,
|
38211
|
+
"isOptional": false,
|
38212
|
+
"releaseTag": "Public",
|
38213
|
+
"name": "b",
|
38214
|
+
"propertyTypeTokenRange": {
|
38215
|
+
"startIndex": 1,
|
38216
|
+
"endIndex": 2
|
38217
|
+
}
|
38218
|
+
},
|
38219
|
+
{
|
38220
|
+
"kind": "PropertySignature",
|
38221
|
+
"canonicalReference": "server!RgbColor#g:member",
|
38222
|
+
"docComment": "",
|
38223
|
+
"excerptTokens": [
|
38224
|
+
{
|
38225
|
+
"kind": "Content",
|
38226
|
+
"text": "g: "
|
38227
|
+
},
|
38228
|
+
{
|
38229
|
+
"kind": "Content",
|
38230
|
+
"text": "number"
|
38231
|
+
},
|
38232
|
+
{
|
38233
|
+
"kind": "Content",
|
38234
|
+
"text": ";"
|
38235
|
+
}
|
38236
|
+
],
|
38237
|
+
"isReadonly": false,
|
38238
|
+
"isOptional": false,
|
38239
|
+
"releaseTag": "Public",
|
38240
|
+
"name": "g",
|
38241
|
+
"propertyTypeTokenRange": {
|
38242
|
+
"startIndex": 1,
|
38243
|
+
"endIndex": 2
|
38244
|
+
}
|
38245
|
+
},
|
38246
|
+
{
|
38247
|
+
"kind": "PropertySignature",
|
38248
|
+
"canonicalReference": "server!RgbColor#r:member",
|
38249
|
+
"docComment": "",
|
38250
|
+
"excerptTokens": [
|
38251
|
+
{
|
38252
|
+
"kind": "Content",
|
38253
|
+
"text": "r: "
|
38254
|
+
},
|
38255
|
+
{
|
38256
|
+
"kind": "Content",
|
38257
|
+
"text": "number"
|
38258
|
+
},
|
38259
|
+
{
|
38260
|
+
"kind": "Content",
|
38261
|
+
"text": ";"
|
38262
|
+
}
|
38263
|
+
],
|
38264
|
+
"isReadonly": false,
|
38265
|
+
"isOptional": false,
|
38266
|
+
"releaseTag": "Public",
|
38267
|
+
"name": "r",
|
38268
|
+
"propertyTypeTokenRange": {
|
38269
|
+
"startIndex": 1,
|
38270
|
+
"endIndex": 2
|
38271
|
+
}
|
38272
|
+
}
|
38273
|
+
],
|
38274
|
+
"extendsTokenRanges": []
|
38275
|
+
},
|
37254
38276
|
{
|
37255
38277
|
"kind": "Class",
|
37256
38278
|
"canonicalReference": "server!RigidBody:class",
|
@@ -41602,6 +42624,55 @@
|
|
41602
42624
|
"isProtected": false,
|
41603
42625
|
"isAbstract": false
|
41604
42626
|
},
|
42627
|
+
{
|
42628
|
+
"kind": "Method",
|
42629
|
+
"canonicalReference": "server!Simulation#setGravity:member(1)",
|
42630
|
+
"docComment": "/**\n * Sets the gravity vector for the simulation.\n *\n * @param gravity - The gravity vector.\n */\n",
|
42631
|
+
"excerptTokens": [
|
42632
|
+
{
|
42633
|
+
"kind": "Content",
|
42634
|
+
"text": "setGravity(gravity: "
|
42635
|
+
},
|
42636
|
+
{
|
42637
|
+
"kind": "Reference",
|
42638
|
+
"text": "RAPIER.Vector3",
|
42639
|
+
"canonicalReference": "@dimforge/rapier3d-compat!Vector3:class"
|
42640
|
+
},
|
42641
|
+
{
|
42642
|
+
"kind": "Content",
|
42643
|
+
"text": "): "
|
42644
|
+
},
|
42645
|
+
{
|
42646
|
+
"kind": "Content",
|
42647
|
+
"text": "void"
|
42648
|
+
},
|
42649
|
+
{
|
42650
|
+
"kind": "Content",
|
42651
|
+
"text": ";"
|
42652
|
+
}
|
42653
|
+
],
|
42654
|
+
"isStatic": false,
|
42655
|
+
"returnTypeTokenRange": {
|
42656
|
+
"startIndex": 3,
|
42657
|
+
"endIndex": 4
|
42658
|
+
},
|
42659
|
+
"releaseTag": "Public",
|
42660
|
+
"isProtected": false,
|
42661
|
+
"overloadIndex": 1,
|
42662
|
+
"parameters": [
|
42663
|
+
{
|
42664
|
+
"parameterName": "gravity",
|
42665
|
+
"parameterTypeTokenRange": {
|
42666
|
+
"startIndex": 1,
|
42667
|
+
"endIndex": 2
|
42668
|
+
},
|
42669
|
+
"isOptional": false
|
42670
|
+
}
|
42671
|
+
],
|
42672
|
+
"isOptional": false,
|
42673
|
+
"isAbstract": false,
|
42674
|
+
"name": "setGravity"
|
42675
|
+
},
|
41605
42676
|
{
|
41606
42677
|
"kind": "Property",
|
41607
42678
|
"canonicalReference": "server!Simulation#timestepS:member",
|
@@ -41972,24 +43043,6 @@
|
|
41972
43043
|
],
|
41973
43044
|
"extendsTokenRanges": []
|
41974
43045
|
},
|
41975
|
-
{
|
41976
|
-
"kind": "Class",
|
41977
|
-
"canonicalReference": "server!WebServer:class",
|
41978
|
-
"docComment": "/**\n * Manages the internal HTTP server for the game server.\n *\n * @remarks\n *\n * This class is used as a singleton and should be accessed via the GameServer.webServer property.\n *\n * The constructor for this class is marked as internal. Third-party code should not call the constructor directly or create subclasses that extend the `WebServer` class.\n *\n * @public\n */\n",
|
41979
|
-
"excerptTokens": [
|
41980
|
-
{
|
41981
|
-
"kind": "Content",
|
41982
|
-
"text": "export default class WebServer "
|
41983
|
-
}
|
41984
|
-
],
|
41985
|
-
"fileUrlPath": "src/networking/WebServer.ts",
|
41986
|
-
"releaseTag": "Public",
|
41987
|
-
"isAbstract": false,
|
41988
|
-
"name": "WebServer",
|
41989
|
-
"preserveMemberOrder": false,
|
41990
|
-
"members": [],
|
41991
|
-
"implementsTokenRanges": []
|
41992
|
-
},
|
41993
43046
|
{
|
41994
43047
|
"kind": "Class",
|
41995
43048
|
"canonicalReference": "server!World:class",
|
@@ -43220,9 +44273,14 @@
|
|
43220
44273
|
"kind": "Content",
|
43221
44274
|
"text": "blockTypes: "
|
43222
44275
|
},
|
44276
|
+
{
|
44277
|
+
"kind": "Reference",
|
44278
|
+
"text": "BlockTypeOptions",
|
44279
|
+
"canonicalReference": "server!BlockTypeOptions:interface"
|
44280
|
+
},
|
43223
44281
|
{
|
43224
44282
|
"kind": "Content",
|
43225
|
-
"text": "
|
44283
|
+
"text": "[]"
|
43226
44284
|
},
|
43227
44285
|
{
|
43228
44286
|
"kind": "Content",
|
@@ -43235,7 +44293,7 @@
|
|
43235
44293
|
"name": "blockTypes",
|
43236
44294
|
"propertyTypeTokenRange": {
|
43237
44295
|
"startIndex": 1,
|
43238
|
-
"endIndex":
|
44296
|
+
"endIndex": 3
|
43239
44297
|
}
|
43240
44298
|
}
|
43241
44299
|
],
|