hytopia 0.1.33 → 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.collider.md +21 -0
- package/docs/server.collider.shape.md +13 -0
- package/docs/server.default_block_entity_rigid_body_options.md +13 -0
- package/docs/server.default_entity_rigid_body_options.md +1 -1
- package/docs/server.entity.blockhalfextents.md +13 -0
- package/docs/server.entity.blocktextureuri.md +13 -0
- package/docs/server.entity.md +98 -0
- package/docs/server.entity.settintcolor.md +53 -0
- package/docs/server.entity.tag.md +13 -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.entitymanager.getentitiesbytag.md +55 -0
- package/docs/server.entitymanager.getentitiesbytagsubstring.md +55 -0
- package/docs/server.entitymanager.md +28 -0
- package/docs/server.entityoptions.blockhalfextents.md +13 -0
- package/docs/server.entityoptions.blocktextureuri.md +13 -0
- package/docs/server.entityoptions.md +76 -0
- package/docs/server.entityoptions.tag.md +13 -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.collider.md +21 -0
- package/docs/server.hytopia.collider.shape.md +13 -0
- package/docs/server.hytopia.default_block_entity_rigid_body_options.md +13 -0
- package/docs/server.hytopia.default_entity_rigid_body_options.md +1 -1
- package/docs/server.hytopia.entity.blockhalfextents.md +13 -0
- package/docs/server.hytopia.entity.blocktextureuri.md +13 -0
- package/docs/server.hytopia.entity.md +98 -0
- package/docs/server.hytopia.entity.settintcolor.md +53 -0
- package/docs/server.hytopia.entity.tag.md +13 -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.entitymanager.getentitiesbytag.md +55 -0
- package/docs/server.hytopia.entitymanager.getentitiesbytagsubstring.md +55 -0
- package/docs/server.hytopia.entitymanager.md +28 -0
- package/docs/server.hytopia.entityoptions.blockhalfextents.md +13 -0
- package/docs/server.hytopia.entityoptions.blocktextureuri.md +13 -0
- package/docs/server.hytopia.entityoptions.md +76 -0
- package/docs/server.hytopia.entityoptions.tag.md +13 -0
- package/docs/server.hytopia.entityoptions.tintcolor.md +13 -0
- package/docs/server.hytopia.gameserver.md +1 -1
- package/docs/server.hytopia.md +23 -12
- 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.rigidbody.md +0 -35
- package/docs/server.hytopia.rigidbodyoptions.md +0 -19
- package/docs/server.hytopia.simulation.md +14 -0
- package/docs/{server.hytopia.rigidbody.settag.md → server.hytopia.simulation.setgravity.md} +7 -7
- package/docs/server.hytopia.worldmap.blocktypes.md +1 -5
- package/docs/server.hytopia.worldmap.md +1 -1
- package/docs/server.md +23 -12
- 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.rigidbody.md +0 -35
- package/docs/server.rigidbodyoptions.md +0 -19
- 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/examples/block-entity/README.md +15 -0
- package/examples/block-entity/assets/audio/music/cave.mp3 +0 -0
- package/examples/block-entity/assets/audio/music/desert.mp3 +0 -0
- package/examples/block-entity/assets/audio/music/end.mp3 +0 -0
- package/examples/block-entity/assets/audio/music/jungle.mp3 +0 -0
- package/examples/block-entity/assets/audio/music/nether.mp3 +0 -0
- package/examples/block-entity/assets/audio/music/night.mp3 +0 -0
- package/examples/block-entity/assets/audio/music/night2.mp3 +0 -0
- package/examples/block-entity/assets/audio/music/overworld.mp3 +0 -0
- package/examples/block-entity/assets/audio/music/snow.mp3 +0 -0
- package/examples/block-entity/assets/audio/sfx/damage.wav +0 -0
- package/examples/block-entity/assets/audio/sfx/step.wav +0 -0
- package/examples/block-entity/assets/certs/README.md +10 -0
- package/examples/block-entity/assets/certs/localhost.crt +20 -0
- package/examples/block-entity/assets/certs/localhost.key +27 -0
- package/examples/block-entity/assets/cubemaps/skybox/+x.png +0 -0
- package/examples/block-entity/assets/cubemaps/skybox/+y.png +0 -0
- package/examples/block-entity/assets/cubemaps/skybox/+z.png +0 -0
- package/examples/block-entity/assets/cubemaps/skybox/-x.png +0 -0
- package/examples/block-entity/assets/cubemaps/skybox/-y.png +0 -0
- package/examples/block-entity/assets/cubemaps/skybox/-z.png +0 -0
- package/examples/block-entity/assets/map.json +2623 -0
- package/examples/block-entity/assets/models/bat.gltf +1 -0
- package/examples/block-entity/assets/models/chicken.gltf +1 -0
- package/examples/block-entity/assets/models/cow.gltf +1 -0
- package/examples/block-entity/assets/models/donkey.gltf +1 -0
- package/examples/block-entity/assets/models/horse.gltf +1 -0
- package/examples/block-entity/assets/models/mindflayer.gltf +1 -0
- package/examples/block-entity/assets/models/pig.gltf +1 -0
- package/examples/block-entity/assets/models/player.gltf +1 -0
- package/examples/block-entity/assets/models/rabbit.gltf +1 -0
- package/examples/block-entity/assets/models/sheep.gltf +1 -0
- package/examples/block-entity/assets/models/skeleton.gltf +1 -0
- package/examples/block-entity/assets/models/spider.gltf +1 -0
- package/examples/block-entity/assets/models/squid.gltf +1 -0
- package/examples/block-entity/assets/models/stalker.gltf +1 -0
- package/examples/block-entity/assets/models/zombie.gltf +1 -0
- package/examples/block-entity/assets/textures/bricks.png +0 -0
- package/examples/block-entity/assets/textures/clay.png +0 -0
- package/examples/block-entity/assets/textures/cobblestone.png +0 -0
- package/examples/block-entity/assets/textures/diamond_ore.png +0 -0
- package/examples/block-entity/assets/textures/dirt.png +0 -0
- package/examples/block-entity/assets/textures/dragons_stone.png +0 -0
- package/examples/block-entity/assets/textures/emerald_ore.png +0 -0
- package/examples/block-entity/assets/textures/glass.png +0 -0
- package/examples/block-entity/assets/textures/gold_ore.png +0 -0
- package/examples/block-entity/assets/textures/grass/+x.png +0 -0
- package/examples/block-entity/assets/textures/grass/+y.png +0 -0
- package/examples/block-entity/assets/textures/grass/+z.png +0 -0
- package/examples/block-entity/assets/textures/grass/-x.png +0 -0
- package/examples/block-entity/assets/textures/grass/-y.png +0 -0
- package/examples/block-entity/assets/textures/grass/-z.png +0 -0
- package/examples/block-entity/assets/textures/gravel.png +0 -0
- package/examples/block-entity/assets/textures/ice.png +0 -0
- package/examples/block-entity/assets/textures/infected_shadowrock.png +0 -0
- package/examples/block-entity/assets/textures/iron_ore.png +0 -0
- package/examples/block-entity/assets/textures/lava.png +0 -0
- package/examples/block-entity/assets/textures/log_side.png +0 -0
- package/examples/block-entity/assets/textures/log_top.png +0 -0
- package/examples/block-entity/assets/textures/mossy_coblestone.png +0 -0
- package/examples/block-entity/assets/textures/nuit.png +0 -0
- package/examples/block-entity/assets/textures/oak_leaves.png +0 -0
- package/examples/block-entity/assets/textures/oak_planks.png +0 -0
- package/examples/block-entity/assets/textures/sand.png +0 -0
- package/examples/block-entity/assets/textures/sandstone.png +0 -0
- package/examples/block-entity/assets/textures/shadowrock.png +0 -0
- package/examples/block-entity/assets/textures/snow.png +0 -0
- package/examples/block-entity/assets/textures/stone.png +0 -0
- package/examples/block-entity/assets/textures/stone_bricks.png +0 -0
- package/examples/block-entity/assets/textures/void_grass/+x.png +0 -0
- package/examples/block-entity/assets/textures/void_grass/+y.png +0 -0
- package/examples/block-entity/assets/textures/void_grass/+z.png +0 -0
- package/examples/block-entity/assets/textures/void_grass/-x.png +0 -0
- package/examples/block-entity/assets/textures/void_grass/-y.png +0 -0
- package/examples/block-entity/assets/textures/void_grass/-z.png +0 -0
- package/examples/block-entity/assets/textures/void_sand.png +0 -0
- package/examples/block-entity/assets/textures/water.png +0 -0
- package/examples/block-entity/index.ts +173 -0
- package/examples/block-entity/package.json +14 -0
- package/examples/payload-game/index.ts +7 -0
- package/package.json +1 -1
- package/readme/assets/banner-2.jpeg +0 -0
- package/server.api.json +1910 -414
- package/server.d.ts +98 -58
- package/server.js +80 -80
- package/docs/server.hytopia.rigidbody.tag.md +0 -13
- package/docs/server.hytopia.rigidbodyoptions.tag.md +0 -13
- package/docs/server.hytopia.webserver.md +0 -21
- package/docs/server.rigidbody.settag.md +0 -53
- package/docs/server.rigidbody.tag.md +0 -13
- package/docs/server.rigidbodyoptions.tag.md +0 -13
- package/docs/server.webserver.md +0 -21
- package/examples/README.md +0 -22
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",
|
@@ -6667,6 +6847,37 @@
|
|
6667
6847
|
"isAbstract": false,
|
6668
6848
|
"name": "setTag"
|
6669
6849
|
},
|
6850
|
+
{
|
6851
|
+
"kind": "Property",
|
6852
|
+
"canonicalReference": "server!Collider#shape:member",
|
6853
|
+
"docComment": "/**\n * The shape of the collider.\n */\n",
|
6854
|
+
"excerptTokens": [
|
6855
|
+
{
|
6856
|
+
"kind": "Content",
|
6857
|
+
"text": "get shape(): "
|
6858
|
+
},
|
6859
|
+
{
|
6860
|
+
"kind": "Reference",
|
6861
|
+
"text": "ColliderShape",
|
6862
|
+
"canonicalReference": "server!ColliderShape:enum"
|
6863
|
+
},
|
6864
|
+
{
|
6865
|
+
"kind": "Content",
|
6866
|
+
"text": ";"
|
6867
|
+
}
|
6868
|
+
],
|
6869
|
+
"isReadonly": true,
|
6870
|
+
"isOptional": false,
|
6871
|
+
"releaseTag": "Public",
|
6872
|
+
"name": "shape",
|
6873
|
+
"propertyTypeTokenRange": {
|
6874
|
+
"startIndex": 1,
|
6875
|
+
"endIndex": 2
|
6876
|
+
},
|
6877
|
+
"isStatic": false,
|
6878
|
+
"isProtected": false,
|
6879
|
+
"isAbstract": false
|
6880
|
+
},
|
6670
6881
|
{
|
6671
6882
|
"kind": "Property",
|
6672
6883
|
"canonicalReference": "server!Collider#tag:member",
|
@@ -7817,10 +8028,34 @@
|
|
7817
8028
|
"endIndex": 2
|
7818
8029
|
}
|
7819
8030
|
},
|
8031
|
+
{
|
8032
|
+
"kind": "Variable",
|
8033
|
+
"canonicalReference": "server!DEFAULT_BLOCK_ENTITY_RIGID_BODY_OPTIONS:var",
|
8034
|
+
"docComment": "/**\n * The default rigid body options for a block entity when EntityOptions.rigidBodyOptions is not provided.\n *\n * @public\n */\n",
|
8035
|
+
"excerptTokens": [
|
8036
|
+
{
|
8037
|
+
"kind": "Content",
|
8038
|
+
"text": "DEFAULT_BLOCK_ENTITY_RIGID_BODY_OPTIONS: "
|
8039
|
+
},
|
8040
|
+
{
|
8041
|
+
"kind": "Reference",
|
8042
|
+
"text": "RigidBodyOptions",
|
8043
|
+
"canonicalReference": "server!RigidBodyOptions:interface"
|
8044
|
+
}
|
8045
|
+
],
|
8046
|
+
"fileUrlPath": "src/world/entities/Entity.ts",
|
8047
|
+
"isReadonly": true,
|
8048
|
+
"releaseTag": "Public",
|
8049
|
+
"name": "DEFAULT_BLOCK_ENTITY_RIGID_BODY_OPTIONS",
|
8050
|
+
"variableTypeTokenRange": {
|
8051
|
+
"startIndex": 1,
|
8052
|
+
"endIndex": 2
|
8053
|
+
}
|
8054
|
+
},
|
7820
8055
|
{
|
7821
8056
|
"kind": "Variable",
|
7822
8057
|
"canonicalReference": "server!DEFAULT_ENTITY_RIGID_BODY_OPTIONS:var",
|
7823
|
-
"docComment": "/**\n * The default rigid body options when EntityOptions.rigidBodyOptions is not provided.\n *\n * @public\n */\n",
|
8058
|
+
"docComment": "/**\n * The default rigid body options for a model entity when EntityOptions.rigidBodyOptions is not provided.\n *\n * @public\n */\n",
|
7824
8059
|
"excerptTokens": [
|
7825
8060
|
{
|
7826
8061
|
"kind": "Content",
|
@@ -8590,6 +8825,71 @@
|
|
8590
8825
|
}
|
8591
8826
|
]
|
8592
8827
|
},
|
8828
|
+
{
|
8829
|
+
"kind": "Property",
|
8830
|
+
"canonicalReference": "server!Entity#blockHalfExtents:member",
|
8831
|
+
"docComment": "/**\n * The half extends of the visual size of the block entity when blockTextureUri is set.\n */\n",
|
8832
|
+
"excerptTokens": [
|
8833
|
+
{
|
8834
|
+
"kind": "Content",
|
8835
|
+
"text": "get blockHalfExtents(): "
|
8836
|
+
},
|
8837
|
+
{
|
8838
|
+
"kind": "Reference",
|
8839
|
+
"text": "Vector3",
|
8840
|
+
"canonicalReference": "server!Vector3:interface"
|
8841
|
+
},
|
8842
|
+
{
|
8843
|
+
"kind": "Content",
|
8844
|
+
"text": " | undefined"
|
8845
|
+
},
|
8846
|
+
{
|
8847
|
+
"kind": "Content",
|
8848
|
+
"text": ";"
|
8849
|
+
}
|
8850
|
+
],
|
8851
|
+
"isReadonly": true,
|
8852
|
+
"isOptional": false,
|
8853
|
+
"releaseTag": "Public",
|
8854
|
+
"name": "blockHalfExtents",
|
8855
|
+
"propertyTypeTokenRange": {
|
8856
|
+
"startIndex": 1,
|
8857
|
+
"endIndex": 3
|
8858
|
+
},
|
8859
|
+
"isStatic": false,
|
8860
|
+
"isProtected": false,
|
8861
|
+
"isAbstract": false
|
8862
|
+
},
|
8863
|
+
{
|
8864
|
+
"kind": "Property",
|
8865
|
+
"canonicalReference": "server!Entity#blockTextureUri:member",
|
8866
|
+
"docComment": "/**\n * The URI or path to the texture to be used, if this is set, the entity is a block entity.\n */\n",
|
8867
|
+
"excerptTokens": [
|
8868
|
+
{
|
8869
|
+
"kind": "Content",
|
8870
|
+
"text": "get blockTextureUri(): "
|
8871
|
+
},
|
8872
|
+
{
|
8873
|
+
"kind": "Content",
|
8874
|
+
"text": "string | undefined"
|
8875
|
+
},
|
8876
|
+
{
|
8877
|
+
"kind": "Content",
|
8878
|
+
"text": ";"
|
8879
|
+
}
|
8880
|
+
],
|
8881
|
+
"isReadonly": true,
|
8882
|
+
"isOptional": false,
|
8883
|
+
"releaseTag": "Public",
|
8884
|
+
"name": "blockTextureUri",
|
8885
|
+
"propertyTypeTokenRange": {
|
8886
|
+
"startIndex": 1,
|
8887
|
+
"endIndex": 2
|
8888
|
+
},
|
8889
|
+
"isStatic": false,
|
8890
|
+
"isProtected": false,
|
8891
|
+
"isAbstract": false
|
8892
|
+
},
|
8593
8893
|
{
|
8594
8894
|
"kind": "Property",
|
8595
8895
|
"canonicalReference": "server!Entity#characterController:member",
|
@@ -9261,6 +9561,59 @@
|
|
9261
9561
|
"isAbstract": false,
|
9262
9562
|
"name": "setCharacterController"
|
9263
9563
|
},
|
9564
|
+
{
|
9565
|
+
"kind": "Method",
|
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",
|
9568
|
+
"excerptTokens": [
|
9569
|
+
{
|
9570
|
+
"kind": "Content",
|
9571
|
+
"text": "setTintColor(tintColor: "
|
9572
|
+
},
|
9573
|
+
{
|
9574
|
+
"kind": "Reference",
|
9575
|
+
"text": "RgbColor",
|
9576
|
+
"canonicalReference": "server!RgbColor:interface"
|
9577
|
+
},
|
9578
|
+
{
|
9579
|
+
"kind": "Content",
|
9580
|
+
"text": " | undefined"
|
9581
|
+
},
|
9582
|
+
{
|
9583
|
+
"kind": "Content",
|
9584
|
+
"text": "): "
|
9585
|
+
},
|
9586
|
+
{
|
9587
|
+
"kind": "Content",
|
9588
|
+
"text": "void"
|
9589
|
+
},
|
9590
|
+
{
|
9591
|
+
"kind": "Content",
|
9592
|
+
"text": ";"
|
9593
|
+
}
|
9594
|
+
],
|
9595
|
+
"isStatic": false,
|
9596
|
+
"returnTypeTokenRange": {
|
9597
|
+
"startIndex": 4,
|
9598
|
+
"endIndex": 5
|
9599
|
+
},
|
9600
|
+
"releaseTag": "Public",
|
9601
|
+
"isProtected": false,
|
9602
|
+
"overloadIndex": 1,
|
9603
|
+
"parameters": [
|
9604
|
+
{
|
9605
|
+
"parameterName": "tintColor",
|
9606
|
+
"parameterTypeTokenRange": {
|
9607
|
+
"startIndex": 1,
|
9608
|
+
"endIndex": 3
|
9609
|
+
},
|
9610
|
+
"isOptional": false
|
9611
|
+
}
|
9612
|
+
],
|
9613
|
+
"isOptional": false,
|
9614
|
+
"isAbstract": false,
|
9615
|
+
"name": "setTintColor"
|
9616
|
+
},
|
9264
9617
|
{
|
9265
9618
|
"kind": "Method",
|
9266
9619
|
"canonicalReference": "server!Entity#spawn:member(1)",
|
@@ -9471,6 +9824,71 @@
|
|
9471
9824
|
"isAbstract": false,
|
9472
9825
|
"name": "stopModelAnimations"
|
9473
9826
|
},
|
9827
|
+
{
|
9828
|
+
"kind": "Property",
|
9829
|
+
"canonicalReference": "server!Entity#tag:member",
|
9830
|
+
"docComment": "/**\n * An arbitrary identifier tag of the entity. Useful for your own logic.\n */\n",
|
9831
|
+
"excerptTokens": [
|
9832
|
+
{
|
9833
|
+
"kind": "Content",
|
9834
|
+
"text": "get tag(): "
|
9835
|
+
},
|
9836
|
+
{
|
9837
|
+
"kind": "Content",
|
9838
|
+
"text": "string | undefined"
|
9839
|
+
},
|
9840
|
+
{
|
9841
|
+
"kind": "Content",
|
9842
|
+
"text": ";"
|
9843
|
+
}
|
9844
|
+
],
|
9845
|
+
"isReadonly": true,
|
9846
|
+
"isOptional": false,
|
9847
|
+
"releaseTag": "Public",
|
9848
|
+
"name": "tag",
|
9849
|
+
"propertyTypeTokenRange": {
|
9850
|
+
"startIndex": 1,
|
9851
|
+
"endIndex": 2
|
9852
|
+
},
|
9853
|
+
"isStatic": false,
|
9854
|
+
"isProtected": false,
|
9855
|
+
"isAbstract": false
|
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
|
+
},
|
9474
9892
|
{
|
9475
9893
|
"kind": "Property",
|
9476
9894
|
"canonicalReference": "server!Entity#world:member",
|
@@ -9578,6 +9996,83 @@
|
|
9578
9996
|
],
|
9579
9997
|
"extendsTokenRanges": []
|
9580
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
|
+
},
|
9581
10076
|
{
|
9582
10077
|
"kind": "Interface",
|
9583
10078
|
"canonicalReference": "server!EntityEventPayload.Spawn:interface",
|
@@ -10038,6 +10533,27 @@
|
|
10038
10533
|
"releaseTag": "Public",
|
10039
10534
|
"name": "DESPAWN"
|
10040
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
|
+
},
|
10041
10557
|
{
|
10042
10558
|
"kind": "EnumMember",
|
10043
10559
|
"canonicalReference": "server!EntityEventType.SPAWN:member",
|
@@ -10070,7 +10586,7 @@
|
|
10070
10586
|
},
|
10071
10587
|
{
|
10072
10588
|
"kind": "Content",
|
10073
|
-
"text": "\"ENTITY.
|
10589
|
+
"text": "\"ENTITY.START_MODEL_LOOPED_ANIMATIONS\""
|
10074
10590
|
}
|
10075
10591
|
],
|
10076
10592
|
"initializerTokenRange": {
|
@@ -10272,6 +10788,112 @@
|
|
10272
10788
|
"isAbstract": false,
|
10273
10789
|
"name": "getAllPlayerEntities"
|
10274
10790
|
},
|
10791
|
+
{
|
10792
|
+
"kind": "Method",
|
10793
|
+
"canonicalReference": "server!EntityManager#getEntitiesByTag:member(1)",
|
10794
|
+
"docComment": "/**\n * Gets all spawned entities in the world with a specific tag.\n *\n * @param tag - The tag to get the entities for.\n *\n * @returns All spawned entities in the world with the provided tag.\n */\n",
|
10795
|
+
"excerptTokens": [
|
10796
|
+
{
|
10797
|
+
"kind": "Content",
|
10798
|
+
"text": "getEntitiesByTag(tag: "
|
10799
|
+
},
|
10800
|
+
{
|
10801
|
+
"kind": "Content",
|
10802
|
+
"text": "string"
|
10803
|
+
},
|
10804
|
+
{
|
10805
|
+
"kind": "Content",
|
10806
|
+
"text": "): "
|
10807
|
+
},
|
10808
|
+
{
|
10809
|
+
"kind": "Reference",
|
10810
|
+
"text": "Entity",
|
10811
|
+
"canonicalReference": "server!Entity:class"
|
10812
|
+
},
|
10813
|
+
{
|
10814
|
+
"kind": "Content",
|
10815
|
+
"text": "[]"
|
10816
|
+
},
|
10817
|
+
{
|
10818
|
+
"kind": "Content",
|
10819
|
+
"text": ";"
|
10820
|
+
}
|
10821
|
+
],
|
10822
|
+
"isStatic": false,
|
10823
|
+
"returnTypeTokenRange": {
|
10824
|
+
"startIndex": 3,
|
10825
|
+
"endIndex": 5
|
10826
|
+
},
|
10827
|
+
"releaseTag": "Public",
|
10828
|
+
"isProtected": false,
|
10829
|
+
"overloadIndex": 1,
|
10830
|
+
"parameters": [
|
10831
|
+
{
|
10832
|
+
"parameterName": "tag",
|
10833
|
+
"parameterTypeTokenRange": {
|
10834
|
+
"startIndex": 1,
|
10835
|
+
"endIndex": 2
|
10836
|
+
},
|
10837
|
+
"isOptional": false
|
10838
|
+
}
|
10839
|
+
],
|
10840
|
+
"isOptional": false,
|
10841
|
+
"isAbstract": false,
|
10842
|
+
"name": "getEntitiesByTag"
|
10843
|
+
},
|
10844
|
+
{
|
10845
|
+
"kind": "Method",
|
10846
|
+
"canonicalReference": "server!EntityManager#getEntitiesByTagSubstring:member(1)",
|
10847
|
+
"docComment": "/**\n * Gets all spawned entities in the world with a tag that includes a specific substring.\n *\n * @param tagSubstring - The tag substring to get the entities for.\n *\n * @returns All spawned entities in the world with a tag that includes the provided substring.\n */\n",
|
10848
|
+
"excerptTokens": [
|
10849
|
+
{
|
10850
|
+
"kind": "Content",
|
10851
|
+
"text": "getEntitiesByTagSubstring(tagSubstring: "
|
10852
|
+
},
|
10853
|
+
{
|
10854
|
+
"kind": "Content",
|
10855
|
+
"text": "string"
|
10856
|
+
},
|
10857
|
+
{
|
10858
|
+
"kind": "Content",
|
10859
|
+
"text": "): "
|
10860
|
+
},
|
10861
|
+
{
|
10862
|
+
"kind": "Reference",
|
10863
|
+
"text": "Entity",
|
10864
|
+
"canonicalReference": "server!Entity:class"
|
10865
|
+
},
|
10866
|
+
{
|
10867
|
+
"kind": "Content",
|
10868
|
+
"text": "[]"
|
10869
|
+
},
|
10870
|
+
{
|
10871
|
+
"kind": "Content",
|
10872
|
+
"text": ";"
|
10873
|
+
}
|
10874
|
+
],
|
10875
|
+
"isStatic": false,
|
10876
|
+
"returnTypeTokenRange": {
|
10877
|
+
"startIndex": 3,
|
10878
|
+
"endIndex": 5
|
10879
|
+
},
|
10880
|
+
"releaseTag": "Public",
|
10881
|
+
"isProtected": false,
|
10882
|
+
"overloadIndex": 1,
|
10883
|
+
"parameters": [
|
10884
|
+
{
|
10885
|
+
"parameterName": "tagSubstring",
|
10886
|
+
"parameterTypeTokenRange": {
|
10887
|
+
"startIndex": 1,
|
10888
|
+
"endIndex": 2
|
10889
|
+
},
|
10890
|
+
"isOptional": false
|
10891
|
+
}
|
10892
|
+
],
|
10893
|
+
"isOptional": false,
|
10894
|
+
"isAbstract": false,
|
10895
|
+
"name": "getEntitiesByTagSubstring"
|
10896
|
+
},
|
10275
10897
|
{
|
10276
10898
|
"kind": "Method",
|
10277
10899
|
"canonicalReference": "server!EntityManager#getEntity:member(1)",
|
@@ -10391,6 +11013,61 @@
|
|
10391
11013
|
"name": "EntityOptions",
|
10392
11014
|
"preserveMemberOrder": false,
|
10393
11015
|
"members": [
|
11016
|
+
{
|
11017
|
+
"kind": "PropertySignature",
|
11018
|
+
"canonicalReference": "server!EntityOptions#blockHalfExtents:member",
|
11019
|
+
"docComment": "/**\n * The half extents of the visual size of the block entity when blockTextureUri is set. If no rigidBodyOptions.colliders are provided, a block collider with the size of the half extents will be created.\n */\n",
|
11020
|
+
"excerptTokens": [
|
11021
|
+
{
|
11022
|
+
"kind": "Content",
|
11023
|
+
"text": "blockHalfExtents?: "
|
11024
|
+
},
|
11025
|
+
{
|
11026
|
+
"kind": "Reference",
|
11027
|
+
"text": "Vector3",
|
11028
|
+
"canonicalReference": "server!Vector3:interface"
|
11029
|
+
},
|
11030
|
+
{
|
11031
|
+
"kind": "Content",
|
11032
|
+
"text": ";"
|
11033
|
+
}
|
11034
|
+
],
|
11035
|
+
"isReadonly": false,
|
11036
|
+
"isOptional": true,
|
11037
|
+
"releaseTag": "Public",
|
11038
|
+
"name": "blockHalfExtents",
|
11039
|
+
"propertyTypeTokenRange": {
|
11040
|
+
"startIndex": 1,
|
11041
|
+
"endIndex": 2
|
11042
|
+
}
|
11043
|
+
},
|
11044
|
+
{
|
11045
|
+
"kind": "PropertySignature",
|
11046
|
+
"canonicalReference": "server!EntityOptions#blockTextureUri:member",
|
11047
|
+
"docComment": "/**\n * The texture uri of a entity if the entity is a block entity, if set rigidBodyOptions collider shape [0] must be a block\n */\n",
|
11048
|
+
"excerptTokens": [
|
11049
|
+
{
|
11050
|
+
"kind": "Content",
|
11051
|
+
"text": "blockTextureUri?: "
|
11052
|
+
},
|
11053
|
+
{
|
11054
|
+
"kind": "Content",
|
11055
|
+
"text": "string"
|
11056
|
+
},
|
11057
|
+
{
|
11058
|
+
"kind": "Content",
|
11059
|
+
"text": ";"
|
11060
|
+
}
|
11061
|
+
],
|
11062
|
+
"isReadonly": false,
|
11063
|
+
"isOptional": true,
|
11064
|
+
"releaseTag": "Public",
|
11065
|
+
"name": "blockTextureUri",
|
11066
|
+
"propertyTypeTokenRange": {
|
11067
|
+
"startIndex": 1,
|
11068
|
+
"endIndex": 2
|
11069
|
+
}
|
11070
|
+
},
|
10394
11071
|
{
|
10395
11072
|
"kind": "PropertySignature",
|
10396
11073
|
"canonicalReference": "server!EntityOptions#createCustomCharacterController:member",
|
@@ -10567,6 +11244,61 @@
|
|
10567
11244
|
"startIndex": 1,
|
10568
11245
|
"endIndex": 2
|
10569
11246
|
}
|
11247
|
+
},
|
11248
|
+
{
|
11249
|
+
"kind": "PropertySignature",
|
11250
|
+
"canonicalReference": "server!EntityOptions#tag:member",
|
11251
|
+
"docComment": "/**\n * An arbitrary identifier tag of the entity. Useful for your own logic.\n */\n",
|
11252
|
+
"excerptTokens": [
|
11253
|
+
{
|
11254
|
+
"kind": "Content",
|
11255
|
+
"text": "tag?: "
|
11256
|
+
},
|
11257
|
+
{
|
11258
|
+
"kind": "Content",
|
11259
|
+
"text": "string"
|
11260
|
+
},
|
11261
|
+
{
|
11262
|
+
"kind": "Content",
|
11263
|
+
"text": ";"
|
11264
|
+
}
|
11265
|
+
],
|
11266
|
+
"isReadonly": false,
|
11267
|
+
"isOptional": true,
|
11268
|
+
"releaseTag": "Public",
|
11269
|
+
"name": "tag",
|
11270
|
+
"propertyTypeTokenRange": {
|
11271
|
+
"startIndex": 1,
|
11272
|
+
"endIndex": 2
|
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
|
+
}
|
10570
11302
|
}
|
10571
11303
|
],
|
10572
11304
|
"extendsTokenRanges": []
|
@@ -11607,7 +12339,7 @@
|
|
11607
12339
|
{
|
11608
12340
|
"kind": "Class",
|
11609
12341
|
"canonicalReference": "server!HYTOPIA.Audio:class",
|
11610
|
-
"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",
|
11611
12343
|
"excerptTokens": [
|
11612
12344
|
{
|
11613
12345
|
"kind": "Content",
|
@@ -14479,7 +15211,7 @@
|
|
14479
15211
|
{
|
14480
15212
|
"kind": "Class",
|
14481
15213
|
"canonicalReference": "server!HYTOPIA.BlockType:class",
|
14482
|
-
"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",
|
14483
15215
|
"excerptTokens": [
|
14484
15216
|
{
|
14485
15217
|
"kind": "Content",
|
@@ -14928,7 +15660,7 @@
|
|
14928
15660
|
{
|
14929
15661
|
"kind": "Class",
|
14930
15662
|
"canonicalReference": "server!HYTOPIA.BlockTypeRegistry:class",
|
14931
|
-
"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",
|
14932
15664
|
"excerptTokens": [
|
14933
15665
|
{
|
14934
15666
|
"kind": "Content",
|
@@ -15038,19 +15770,11 @@
|
|
15038
15770
|
{
|
15039
15771
|
"kind": "Method",
|
15040
15772
|
"canonicalReference": "server!HYTOPIA.BlockTypeRegistry#registerBlockType:member(1)",
|
15041
|
-
"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",
|
15042
15774
|
"excerptTokens": [
|
15043
15775
|
{
|
15044
15776
|
"kind": "Content",
|
15045
|
-
"text": "registerBlockType(
|
15046
|
-
},
|
15047
|
-
{
|
15048
|
-
"kind": "Content",
|
15049
|
-
"text": "number"
|
15050
|
-
},
|
15051
|
-
{
|
15052
|
-
"kind": "Content",
|
15053
|
-
"text": ", blockTypeReference: "
|
15777
|
+
"text": "registerBlockType(blockType: "
|
15054
15778
|
},
|
15055
15779
|
{
|
15056
15780
|
"kind": "Reference",
|
@@ -15072,28 +15796,20 @@
|
|
15072
15796
|
],
|
15073
15797
|
"isStatic": false,
|
15074
15798
|
"returnTypeTokenRange": {
|
15075
|
-
"startIndex":
|
15076
|
-
"endIndex":
|
15799
|
+
"startIndex": 3,
|
15800
|
+
"endIndex": 4
|
15077
15801
|
},
|
15078
15802
|
"releaseTag": "Public",
|
15079
15803
|
"isProtected": false,
|
15080
15804
|
"overloadIndex": 1,
|
15081
15805
|
"parameters": [
|
15082
15806
|
{
|
15083
|
-
"parameterName": "
|
15807
|
+
"parameterName": "blockType",
|
15084
15808
|
"parameterTypeTokenRange": {
|
15085
15809
|
"startIndex": 1,
|
15086
15810
|
"endIndex": 2
|
15087
15811
|
},
|
15088
15812
|
"isOptional": false
|
15089
|
-
},
|
15090
|
-
{
|
15091
|
-
"parameterName": "blockTypeReference",
|
15092
|
-
"parameterTypeTokenRange": {
|
15093
|
-
"startIndex": 3,
|
15094
|
-
"endIndex": 4
|
15095
|
-
},
|
15096
|
-
"isOptional": false
|
15097
15813
|
}
|
15098
15814
|
],
|
15099
15815
|
"isOptional": false,
|
@@ -16031,6 +16747,55 @@
|
|
16031
16747
|
"isAbstract": false,
|
16032
16748
|
"name": "despawn"
|
16033
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
|
+
},
|
16034
16799
|
{
|
16035
16800
|
"kind": "Method",
|
16036
16801
|
"canonicalReference": "server!HYTOPIA.Chunk.globalCoordinateToLocalCoordinate:member(1)",
|
@@ -16131,6 +16896,55 @@
|
|
16131
16896
|
"isAbstract": false,
|
16132
16897
|
"name": "globalCoordinateToOriginCoordinate"
|
16133
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
|
+
},
|
16134
16948
|
{
|
16135
16949
|
"kind": "Property",
|
16136
16950
|
"canonicalReference": "server!HYTOPIA.Chunk#isSimulated:member",
|
@@ -16849,6 +17663,55 @@
|
|
16849
17663
|
"isAbstract": false,
|
16850
17664
|
"name": "getAllChunks"
|
16851
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
|
+
},
|
16852
17715
|
{
|
16853
17716
|
"kind": "Method",
|
16854
17717
|
"canonicalReference": "server!HYTOPIA.ChunkLattice#getChunk:member(1)",
|
@@ -16903,6 +17766,55 @@
|
|
16903
17766
|
"isAbstract": false,
|
16904
17767
|
"name": "getChunk"
|
16905
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
|
+
},
|
16906
17818
|
{
|
16907
17819
|
"kind": "Method",
|
16908
17820
|
"canonicalReference": "server!HYTOPIA.ChunkLattice#hasChunk:member(1)",
|
@@ -16955,7 +17867,7 @@
|
|
16955
17867
|
{
|
16956
17868
|
"kind": "Method",
|
16957
17869
|
"canonicalReference": "server!HYTOPIA.ChunkLattice#setBlock:member(1)",
|
16958
|
-
"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",
|
16959
17871
|
"excerptTokens": [
|
16960
17872
|
{
|
16961
17873
|
"kind": "Content",
|
@@ -17990,7 +18902,103 @@
|
|
17990
18902
|
"overloadIndex": 1,
|
17991
18903
|
"parameters": [
|
17992
18904
|
{
|
17993
|
-
"parameterName": "translation",
|
18905
|
+
"parameterName": "translation",
|
18906
|
+
"parameterTypeTokenRange": {
|
18907
|
+
"startIndex": 1,
|
18908
|
+
"endIndex": 2
|
18909
|
+
},
|
18910
|
+
"isOptional": false
|
18911
|
+
}
|
18912
|
+
],
|
18913
|
+
"isOptional": false,
|
18914
|
+
"isAbstract": false,
|
18915
|
+
"name": "setRelativeTranslation"
|
18916
|
+
},
|
18917
|
+
{
|
18918
|
+
"kind": "Method",
|
18919
|
+
"canonicalReference": "server!HYTOPIA.Collider#setSensor:member(1)",
|
18920
|
+
"docComment": "/**\n * Sets whether the collider is a sensor.\n *\n * @param sensor - Whether the collider is a sensor.\n */\n",
|
18921
|
+
"excerptTokens": [
|
18922
|
+
{
|
18923
|
+
"kind": "Content",
|
18924
|
+
"text": "setSensor(sensor: "
|
18925
|
+
},
|
18926
|
+
{
|
18927
|
+
"kind": "Content",
|
18928
|
+
"text": "boolean"
|
18929
|
+
},
|
18930
|
+
{
|
18931
|
+
"kind": "Content",
|
18932
|
+
"text": "): "
|
18933
|
+
},
|
18934
|
+
{
|
18935
|
+
"kind": "Content",
|
18936
|
+
"text": "void"
|
18937
|
+
},
|
18938
|
+
{
|
18939
|
+
"kind": "Content",
|
18940
|
+
"text": ";"
|
18941
|
+
}
|
18942
|
+
],
|
18943
|
+
"isStatic": false,
|
18944
|
+
"returnTypeTokenRange": {
|
18945
|
+
"startIndex": 3,
|
18946
|
+
"endIndex": 4
|
18947
|
+
},
|
18948
|
+
"releaseTag": "Public",
|
18949
|
+
"isProtected": false,
|
18950
|
+
"overloadIndex": 1,
|
18951
|
+
"parameters": [
|
18952
|
+
{
|
18953
|
+
"parameterName": "sensor",
|
18954
|
+
"parameterTypeTokenRange": {
|
18955
|
+
"startIndex": 1,
|
18956
|
+
"endIndex": 2
|
18957
|
+
},
|
18958
|
+
"isOptional": false
|
18959
|
+
}
|
18960
|
+
],
|
18961
|
+
"isOptional": false,
|
18962
|
+
"isAbstract": false,
|
18963
|
+
"name": "setSensor"
|
18964
|
+
},
|
18965
|
+
{
|
18966
|
+
"kind": "Method",
|
18967
|
+
"canonicalReference": "server!HYTOPIA.Collider#setTag:member(1)",
|
18968
|
+
"docComment": "/**\n * Sets the tag of the collider.\n *\n * @param tag - The tag of the collider.\n */\n",
|
18969
|
+
"excerptTokens": [
|
18970
|
+
{
|
18971
|
+
"kind": "Content",
|
18972
|
+
"text": "setTag(tag: "
|
18973
|
+
},
|
18974
|
+
{
|
18975
|
+
"kind": "Content",
|
18976
|
+
"text": "string"
|
18977
|
+
},
|
18978
|
+
{
|
18979
|
+
"kind": "Content",
|
18980
|
+
"text": "): "
|
18981
|
+
},
|
18982
|
+
{
|
18983
|
+
"kind": "Content",
|
18984
|
+
"text": "void"
|
18985
|
+
},
|
18986
|
+
{
|
18987
|
+
"kind": "Content",
|
18988
|
+
"text": ";"
|
18989
|
+
}
|
18990
|
+
],
|
18991
|
+
"isStatic": false,
|
18992
|
+
"returnTypeTokenRange": {
|
18993
|
+
"startIndex": 3,
|
18994
|
+
"endIndex": 4
|
18995
|
+
},
|
18996
|
+
"releaseTag": "Public",
|
18997
|
+
"isProtected": false,
|
18998
|
+
"overloadIndex": 1,
|
18999
|
+
"parameters": [
|
19000
|
+
{
|
19001
|
+
"parameterName": "tag",
|
17994
19002
|
"parameterTypeTokenRange": {
|
17995
19003
|
"startIndex": 1,
|
17996
19004
|
"endIndex": 2
|
@@ -18000,103 +19008,38 @@
|
|
18000
19008
|
],
|
18001
19009
|
"isOptional": false,
|
18002
19010
|
"isAbstract": false,
|
18003
|
-
"name": "
|
19011
|
+
"name": "setTag"
|
18004
19012
|
},
|
18005
19013
|
{
|
18006
|
-
"kind": "
|
18007
|
-
"canonicalReference": "server!HYTOPIA.Collider#
|
18008
|
-
"docComment": "/**\n *
|
19014
|
+
"kind": "Property",
|
19015
|
+
"canonicalReference": "server!HYTOPIA.Collider#shape:member",
|
19016
|
+
"docComment": "/**\n * The shape of the collider.\n */\n",
|
18009
19017
|
"excerptTokens": [
|
18010
19018
|
{
|
18011
19019
|
"kind": "Content",
|
18012
|
-
"text": "
|
18013
|
-
},
|
18014
|
-
{
|
18015
|
-
"kind": "Content",
|
18016
|
-
"text": "boolean"
|
18017
|
-
},
|
18018
|
-
{
|
18019
|
-
"kind": "Content",
|
18020
|
-
"text": "): "
|
19020
|
+
"text": "get shape(): "
|
18021
19021
|
},
|
18022
19022
|
{
|
18023
|
-
"kind": "
|
18024
|
-
"text": "
|
19023
|
+
"kind": "Reference",
|
19024
|
+
"text": "ColliderShape",
|
19025
|
+
"canonicalReference": "server!ColliderShape:enum"
|
18025
19026
|
},
|
18026
19027
|
{
|
18027
19028
|
"kind": "Content",
|
18028
19029
|
"text": ";"
|
18029
19030
|
}
|
18030
19031
|
],
|
18031
|
-
"
|
18032
|
-
"returnTypeTokenRange": {
|
18033
|
-
"startIndex": 3,
|
18034
|
-
"endIndex": 4
|
18035
|
-
},
|
18036
|
-
"releaseTag": "Public",
|
18037
|
-
"isProtected": false,
|
18038
|
-
"overloadIndex": 1,
|
18039
|
-
"parameters": [
|
18040
|
-
{
|
18041
|
-
"parameterName": "sensor",
|
18042
|
-
"parameterTypeTokenRange": {
|
18043
|
-
"startIndex": 1,
|
18044
|
-
"endIndex": 2
|
18045
|
-
},
|
18046
|
-
"isOptional": false
|
18047
|
-
}
|
18048
|
-
],
|
19032
|
+
"isReadonly": true,
|
18049
19033
|
"isOptional": false,
|
18050
|
-
"isAbstract": false,
|
18051
|
-
"name": "setSensor"
|
18052
|
-
},
|
18053
|
-
{
|
18054
|
-
"kind": "Method",
|
18055
|
-
"canonicalReference": "server!HYTOPIA.Collider#setTag:member(1)",
|
18056
|
-
"docComment": "/**\n * Sets the tag of the collider.\n *\n * @param tag - The tag of the collider.\n */\n",
|
18057
|
-
"excerptTokens": [
|
18058
|
-
{
|
18059
|
-
"kind": "Content",
|
18060
|
-
"text": "setTag(tag: "
|
18061
|
-
},
|
18062
|
-
{
|
18063
|
-
"kind": "Content",
|
18064
|
-
"text": "string"
|
18065
|
-
},
|
18066
|
-
{
|
18067
|
-
"kind": "Content",
|
18068
|
-
"text": "): "
|
18069
|
-
},
|
18070
|
-
{
|
18071
|
-
"kind": "Content",
|
18072
|
-
"text": "void"
|
18073
|
-
},
|
18074
|
-
{
|
18075
|
-
"kind": "Content",
|
18076
|
-
"text": ";"
|
18077
|
-
}
|
18078
|
-
],
|
18079
|
-
"isStatic": false,
|
18080
|
-
"returnTypeTokenRange": {
|
18081
|
-
"startIndex": 3,
|
18082
|
-
"endIndex": 4
|
18083
|
-
},
|
18084
19034
|
"releaseTag": "Public",
|
19035
|
+
"name": "shape",
|
19036
|
+
"propertyTypeTokenRange": {
|
19037
|
+
"startIndex": 1,
|
19038
|
+
"endIndex": 2
|
19039
|
+
},
|
19040
|
+
"isStatic": false,
|
18085
19041
|
"isProtected": false,
|
18086
|
-
"
|
18087
|
-
"parameters": [
|
18088
|
-
{
|
18089
|
-
"parameterName": "tag",
|
18090
|
-
"parameterTypeTokenRange": {
|
18091
|
-
"startIndex": 1,
|
18092
|
-
"endIndex": 2
|
18093
|
-
},
|
18094
|
-
"isOptional": false
|
18095
|
-
}
|
18096
|
-
],
|
18097
|
-
"isOptional": false,
|
18098
|
-
"isAbstract": false,
|
18099
|
-
"name": "setTag"
|
19042
|
+
"isAbstract": false
|
18100
19043
|
},
|
18101
19044
|
{
|
18102
19045
|
"kind": "Property",
|
@@ -19248,10 +20191,34 @@
|
|
19248
20191
|
"endIndex": 2
|
19249
20192
|
}
|
19250
20193
|
},
|
20194
|
+
{
|
20195
|
+
"kind": "Variable",
|
20196
|
+
"canonicalReference": "server!HYTOPIA.DEFAULT_BLOCK_ENTITY_RIGID_BODY_OPTIONS:var",
|
20197
|
+
"docComment": "/**\n * The default rigid body options for a block entity when EntityOptions.rigidBodyOptions is not provided.\n *\n * @public\n */\n",
|
20198
|
+
"excerptTokens": [
|
20199
|
+
{
|
20200
|
+
"kind": "Content",
|
20201
|
+
"text": "DEFAULT_BLOCK_ENTITY_RIGID_BODY_OPTIONS: "
|
20202
|
+
},
|
20203
|
+
{
|
20204
|
+
"kind": "Reference",
|
20205
|
+
"text": "RigidBodyOptions",
|
20206
|
+
"canonicalReference": "server!RigidBodyOptions:interface"
|
20207
|
+
}
|
20208
|
+
],
|
20209
|
+
"fileUrlPath": "src/world/entities/Entity.ts",
|
20210
|
+
"isReadonly": true,
|
20211
|
+
"releaseTag": "Public",
|
20212
|
+
"name": "DEFAULT_BLOCK_ENTITY_RIGID_BODY_OPTIONS",
|
20213
|
+
"variableTypeTokenRange": {
|
20214
|
+
"startIndex": 1,
|
20215
|
+
"endIndex": 2
|
20216
|
+
}
|
20217
|
+
},
|
19251
20218
|
{
|
19252
20219
|
"kind": "Variable",
|
19253
20220
|
"canonicalReference": "server!HYTOPIA.DEFAULT_ENTITY_RIGID_BODY_OPTIONS:var",
|
19254
|
-
"docComment": "/**\n * The default rigid body options when EntityOptions.rigidBodyOptions is not provided.\n *\n * @public\n */\n",
|
20221
|
+
"docComment": "/**\n * The default rigid body options for a model entity when EntityOptions.rigidBodyOptions is not provided.\n *\n * @public\n */\n",
|
19255
20222
|
"excerptTokens": [
|
19256
20223
|
{
|
19257
20224
|
"kind": "Content",
|
@@ -20021,6 +20988,71 @@
|
|
20021
20988
|
}
|
20022
20989
|
]
|
20023
20990
|
},
|
20991
|
+
{
|
20992
|
+
"kind": "Property",
|
20993
|
+
"canonicalReference": "server!HYTOPIA.Entity#blockHalfExtents:member",
|
20994
|
+
"docComment": "/**\n * The half extends of the visual size of the block entity when blockTextureUri is set.\n */\n",
|
20995
|
+
"excerptTokens": [
|
20996
|
+
{
|
20997
|
+
"kind": "Content",
|
20998
|
+
"text": "get blockHalfExtents(): "
|
20999
|
+
},
|
21000
|
+
{
|
21001
|
+
"kind": "Reference",
|
21002
|
+
"text": "Vector3",
|
21003
|
+
"canonicalReference": "server!Vector3:interface"
|
21004
|
+
},
|
21005
|
+
{
|
21006
|
+
"kind": "Content",
|
21007
|
+
"text": " | undefined"
|
21008
|
+
},
|
21009
|
+
{
|
21010
|
+
"kind": "Content",
|
21011
|
+
"text": ";"
|
21012
|
+
}
|
21013
|
+
],
|
21014
|
+
"isReadonly": true,
|
21015
|
+
"isOptional": false,
|
21016
|
+
"releaseTag": "Public",
|
21017
|
+
"name": "blockHalfExtents",
|
21018
|
+
"propertyTypeTokenRange": {
|
21019
|
+
"startIndex": 1,
|
21020
|
+
"endIndex": 3
|
21021
|
+
},
|
21022
|
+
"isStatic": false,
|
21023
|
+
"isProtected": false,
|
21024
|
+
"isAbstract": false
|
21025
|
+
},
|
21026
|
+
{
|
21027
|
+
"kind": "Property",
|
21028
|
+
"canonicalReference": "server!HYTOPIA.Entity#blockTextureUri:member",
|
21029
|
+
"docComment": "/**\n * The URI or path to the texture to be used, if this is set, the entity is a block entity.\n */\n",
|
21030
|
+
"excerptTokens": [
|
21031
|
+
{
|
21032
|
+
"kind": "Content",
|
21033
|
+
"text": "get blockTextureUri(): "
|
21034
|
+
},
|
21035
|
+
{
|
21036
|
+
"kind": "Content",
|
21037
|
+
"text": "string | undefined"
|
21038
|
+
},
|
21039
|
+
{
|
21040
|
+
"kind": "Content",
|
21041
|
+
"text": ";"
|
21042
|
+
}
|
21043
|
+
],
|
21044
|
+
"isReadonly": true,
|
21045
|
+
"isOptional": false,
|
21046
|
+
"releaseTag": "Public",
|
21047
|
+
"name": "blockTextureUri",
|
21048
|
+
"propertyTypeTokenRange": {
|
21049
|
+
"startIndex": 1,
|
21050
|
+
"endIndex": 2
|
21051
|
+
},
|
21052
|
+
"isStatic": false,
|
21053
|
+
"isProtected": false,
|
21054
|
+
"isAbstract": false
|
21055
|
+
},
|
20024
21056
|
{
|
20025
21057
|
"kind": "Property",
|
20026
21058
|
"canonicalReference": "server!HYTOPIA.Entity#characterController:member",
|
@@ -20692,6 +21724,59 @@
|
|
20692
21724
|
"isAbstract": false,
|
20693
21725
|
"name": "setCharacterController"
|
20694
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
|
+
},
|
20695
21780
|
{
|
20696
21781
|
"kind": "Method",
|
20697
21782
|
"canonicalReference": "server!HYTOPIA.Entity#spawn:member(1)",
|
@@ -20902,6 +21987,71 @@
|
|
20902
21987
|
"isAbstract": false,
|
20903
21988
|
"name": "stopModelAnimations"
|
20904
21989
|
},
|
21990
|
+
{
|
21991
|
+
"kind": "Property",
|
21992
|
+
"canonicalReference": "server!HYTOPIA.Entity#tag:member",
|
21993
|
+
"docComment": "/**\n * An arbitrary identifier tag of the entity. Useful for your own logic.\n */\n",
|
21994
|
+
"excerptTokens": [
|
21995
|
+
{
|
21996
|
+
"kind": "Content",
|
21997
|
+
"text": "get tag(): "
|
21998
|
+
},
|
21999
|
+
{
|
22000
|
+
"kind": "Content",
|
22001
|
+
"text": "string | undefined"
|
22002
|
+
},
|
22003
|
+
{
|
22004
|
+
"kind": "Content",
|
22005
|
+
"text": ";"
|
22006
|
+
}
|
22007
|
+
],
|
22008
|
+
"isReadonly": true,
|
22009
|
+
"isOptional": false,
|
22010
|
+
"releaseTag": "Public",
|
22011
|
+
"name": "tag",
|
22012
|
+
"propertyTypeTokenRange": {
|
22013
|
+
"startIndex": 1,
|
22014
|
+
"endIndex": 2
|
22015
|
+
},
|
22016
|
+
"isStatic": false,
|
22017
|
+
"isProtected": false,
|
22018
|
+
"isAbstract": false
|
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
|
+
},
|
20905
22055
|
{
|
20906
22056
|
"kind": "Property",
|
20907
22057
|
"canonicalReference": "server!HYTOPIA.Entity#world:member",
|
@@ -21009,6 +22159,83 @@
|
|
21009
22159
|
],
|
21010
22160
|
"extendsTokenRanges": []
|
21011
22161
|
},
|
22162
|
+
{
|
22163
|
+
"kind": "Interface",
|
22164
|
+
"canonicalReference": "server!HYTOPIA.EntityEventPayload.SetTintColor:interface",
|
22165
|
+
"docComment": "",
|
22166
|
+
"excerptTokens": [
|
22167
|
+
{
|
22168
|
+
"kind": "Content",
|
22169
|
+
"text": "interface SetTintColor "
|
22170
|
+
}
|
22171
|
+
],
|
22172
|
+
"releaseTag": "Public",
|
22173
|
+
"name": "SetTintColor",
|
22174
|
+
"preserveMemberOrder": false,
|
22175
|
+
"members": [
|
22176
|
+
{
|
22177
|
+
"kind": "PropertySignature",
|
22178
|
+
"canonicalReference": "server!HYTOPIA.EntityEventPayload.SetTintColor#entity:member",
|
22179
|
+
"docComment": "",
|
22180
|
+
"excerptTokens": [
|
22181
|
+
{
|
22182
|
+
"kind": "Content",
|
22183
|
+
"text": "entity: "
|
22184
|
+
},
|
22185
|
+
{
|
22186
|
+
"kind": "Reference",
|
22187
|
+
"text": "Entity",
|
22188
|
+
"canonicalReference": "server!Entity:class"
|
22189
|
+
},
|
22190
|
+
{
|
22191
|
+
"kind": "Content",
|
22192
|
+
"text": ";"
|
22193
|
+
}
|
22194
|
+
],
|
22195
|
+
"isReadonly": false,
|
22196
|
+
"isOptional": false,
|
22197
|
+
"releaseTag": "Public",
|
22198
|
+
"name": "entity",
|
22199
|
+
"propertyTypeTokenRange": {
|
22200
|
+
"startIndex": 1,
|
22201
|
+
"endIndex": 2
|
22202
|
+
}
|
22203
|
+
},
|
22204
|
+
{
|
22205
|
+
"kind": "PropertySignature",
|
22206
|
+
"canonicalReference": "server!HYTOPIA.EntityEventPayload.SetTintColor#tintColor:member",
|
22207
|
+
"docComment": "",
|
22208
|
+
"excerptTokens": [
|
22209
|
+
{
|
22210
|
+
"kind": "Content",
|
22211
|
+
"text": "tintColor: "
|
22212
|
+
},
|
22213
|
+
{
|
22214
|
+
"kind": "Reference",
|
22215
|
+
"text": "RgbColor",
|
22216
|
+
"canonicalReference": "server!RgbColor:interface"
|
22217
|
+
},
|
22218
|
+
{
|
22219
|
+
"kind": "Content",
|
22220
|
+
"text": " | undefined"
|
22221
|
+
},
|
22222
|
+
{
|
22223
|
+
"kind": "Content",
|
22224
|
+
"text": ";"
|
22225
|
+
}
|
22226
|
+
],
|
22227
|
+
"isReadonly": false,
|
22228
|
+
"isOptional": false,
|
22229
|
+
"releaseTag": "Public",
|
22230
|
+
"name": "tintColor",
|
22231
|
+
"propertyTypeTokenRange": {
|
22232
|
+
"startIndex": 1,
|
22233
|
+
"endIndex": 3
|
22234
|
+
}
|
22235
|
+
}
|
22236
|
+
],
|
22237
|
+
"extendsTokenRanges": []
|
22238
|
+
},
|
21012
22239
|
{
|
21013
22240
|
"kind": "Interface",
|
21014
22241
|
"canonicalReference": "server!HYTOPIA.EntityEventPayload.Spawn:interface",
|
@@ -21469,6 +22696,27 @@
|
|
21469
22696
|
"releaseTag": "Public",
|
21470
22697
|
"name": "DESPAWN"
|
21471
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
|
+
},
|
21472
22720
|
{
|
21473
22721
|
"kind": "EnumMember",
|
21474
22722
|
"canonicalReference": "server!HYTOPIA.EntityEventType.SPAWN:member",
|
@@ -21501,7 +22749,7 @@
|
|
21501
22749
|
},
|
21502
22750
|
{
|
21503
22751
|
"kind": "Content",
|
21504
|
-
"text": "\"ENTITY.
|
22752
|
+
"text": "\"ENTITY.START_MODEL_LOOPED_ANIMATIONS\""
|
21505
22753
|
}
|
21506
22754
|
],
|
21507
22755
|
"initializerTokenRange": {
|
@@ -21703,6 +22951,112 @@
|
|
21703
22951
|
"isAbstract": false,
|
21704
22952
|
"name": "getAllPlayerEntities"
|
21705
22953
|
},
|
22954
|
+
{
|
22955
|
+
"kind": "Method",
|
22956
|
+
"canonicalReference": "server!HYTOPIA.EntityManager#getEntitiesByTag:member(1)",
|
22957
|
+
"docComment": "/**\n * Gets all spawned entities in the world with a specific tag.\n *\n * @param tag - The tag to get the entities for.\n *\n * @returns All spawned entities in the world with the provided tag.\n */\n",
|
22958
|
+
"excerptTokens": [
|
22959
|
+
{
|
22960
|
+
"kind": "Content",
|
22961
|
+
"text": "getEntitiesByTag(tag: "
|
22962
|
+
},
|
22963
|
+
{
|
22964
|
+
"kind": "Content",
|
22965
|
+
"text": "string"
|
22966
|
+
},
|
22967
|
+
{
|
22968
|
+
"kind": "Content",
|
22969
|
+
"text": "): "
|
22970
|
+
},
|
22971
|
+
{
|
22972
|
+
"kind": "Reference",
|
22973
|
+
"text": "Entity",
|
22974
|
+
"canonicalReference": "server!Entity:class"
|
22975
|
+
},
|
22976
|
+
{
|
22977
|
+
"kind": "Content",
|
22978
|
+
"text": "[]"
|
22979
|
+
},
|
22980
|
+
{
|
22981
|
+
"kind": "Content",
|
22982
|
+
"text": ";"
|
22983
|
+
}
|
22984
|
+
],
|
22985
|
+
"isStatic": false,
|
22986
|
+
"returnTypeTokenRange": {
|
22987
|
+
"startIndex": 3,
|
22988
|
+
"endIndex": 5
|
22989
|
+
},
|
22990
|
+
"releaseTag": "Public",
|
22991
|
+
"isProtected": false,
|
22992
|
+
"overloadIndex": 1,
|
22993
|
+
"parameters": [
|
22994
|
+
{
|
22995
|
+
"parameterName": "tag",
|
22996
|
+
"parameterTypeTokenRange": {
|
22997
|
+
"startIndex": 1,
|
22998
|
+
"endIndex": 2
|
22999
|
+
},
|
23000
|
+
"isOptional": false
|
23001
|
+
}
|
23002
|
+
],
|
23003
|
+
"isOptional": false,
|
23004
|
+
"isAbstract": false,
|
23005
|
+
"name": "getEntitiesByTag"
|
23006
|
+
},
|
23007
|
+
{
|
23008
|
+
"kind": "Method",
|
23009
|
+
"canonicalReference": "server!HYTOPIA.EntityManager#getEntitiesByTagSubstring:member(1)",
|
23010
|
+
"docComment": "/**\n * Gets all spawned entities in the world with a tag that includes a specific substring.\n *\n * @param tagSubstring - The tag substring to get the entities for.\n *\n * @returns All spawned entities in the world with a tag that includes the provided substring.\n */\n",
|
23011
|
+
"excerptTokens": [
|
23012
|
+
{
|
23013
|
+
"kind": "Content",
|
23014
|
+
"text": "getEntitiesByTagSubstring(tagSubstring: "
|
23015
|
+
},
|
23016
|
+
{
|
23017
|
+
"kind": "Content",
|
23018
|
+
"text": "string"
|
23019
|
+
},
|
23020
|
+
{
|
23021
|
+
"kind": "Content",
|
23022
|
+
"text": "): "
|
23023
|
+
},
|
23024
|
+
{
|
23025
|
+
"kind": "Reference",
|
23026
|
+
"text": "Entity",
|
23027
|
+
"canonicalReference": "server!Entity:class"
|
23028
|
+
},
|
23029
|
+
{
|
23030
|
+
"kind": "Content",
|
23031
|
+
"text": "[]"
|
23032
|
+
},
|
23033
|
+
{
|
23034
|
+
"kind": "Content",
|
23035
|
+
"text": ";"
|
23036
|
+
}
|
23037
|
+
],
|
23038
|
+
"isStatic": false,
|
23039
|
+
"returnTypeTokenRange": {
|
23040
|
+
"startIndex": 3,
|
23041
|
+
"endIndex": 5
|
23042
|
+
},
|
23043
|
+
"releaseTag": "Public",
|
23044
|
+
"isProtected": false,
|
23045
|
+
"overloadIndex": 1,
|
23046
|
+
"parameters": [
|
23047
|
+
{
|
23048
|
+
"parameterName": "tagSubstring",
|
23049
|
+
"parameterTypeTokenRange": {
|
23050
|
+
"startIndex": 1,
|
23051
|
+
"endIndex": 2
|
23052
|
+
},
|
23053
|
+
"isOptional": false
|
23054
|
+
}
|
23055
|
+
],
|
23056
|
+
"isOptional": false,
|
23057
|
+
"isAbstract": false,
|
23058
|
+
"name": "getEntitiesByTagSubstring"
|
23059
|
+
},
|
21706
23060
|
{
|
21707
23061
|
"kind": "Method",
|
21708
23062
|
"canonicalReference": "server!HYTOPIA.EntityManager#getEntity:member(1)",
|
@@ -21822,6 +23176,61 @@
|
|
21822
23176
|
"name": "EntityOptions",
|
21823
23177
|
"preserveMemberOrder": false,
|
21824
23178
|
"members": [
|
23179
|
+
{
|
23180
|
+
"kind": "PropertySignature",
|
23181
|
+
"canonicalReference": "server!HYTOPIA.EntityOptions#blockHalfExtents:member",
|
23182
|
+
"docComment": "/**\n * The half extents of the visual size of the block entity when blockTextureUri is set. If no rigidBodyOptions.colliders are provided, a block collider with the size of the half extents will be created.\n */\n",
|
23183
|
+
"excerptTokens": [
|
23184
|
+
{
|
23185
|
+
"kind": "Content",
|
23186
|
+
"text": "blockHalfExtents?: "
|
23187
|
+
},
|
23188
|
+
{
|
23189
|
+
"kind": "Reference",
|
23190
|
+
"text": "Vector3",
|
23191
|
+
"canonicalReference": "server!Vector3:interface"
|
23192
|
+
},
|
23193
|
+
{
|
23194
|
+
"kind": "Content",
|
23195
|
+
"text": ";"
|
23196
|
+
}
|
23197
|
+
],
|
23198
|
+
"isReadonly": false,
|
23199
|
+
"isOptional": true,
|
23200
|
+
"releaseTag": "Public",
|
23201
|
+
"name": "blockHalfExtents",
|
23202
|
+
"propertyTypeTokenRange": {
|
23203
|
+
"startIndex": 1,
|
23204
|
+
"endIndex": 2
|
23205
|
+
}
|
23206
|
+
},
|
23207
|
+
{
|
23208
|
+
"kind": "PropertySignature",
|
23209
|
+
"canonicalReference": "server!HYTOPIA.EntityOptions#blockTextureUri:member",
|
23210
|
+
"docComment": "/**\n * The texture uri of a entity if the entity is a block entity, if set rigidBodyOptions collider shape [0] must be a block\n */\n",
|
23211
|
+
"excerptTokens": [
|
23212
|
+
{
|
23213
|
+
"kind": "Content",
|
23214
|
+
"text": "blockTextureUri?: "
|
23215
|
+
},
|
23216
|
+
{
|
23217
|
+
"kind": "Content",
|
23218
|
+
"text": "string"
|
23219
|
+
},
|
23220
|
+
{
|
23221
|
+
"kind": "Content",
|
23222
|
+
"text": ";"
|
23223
|
+
}
|
23224
|
+
],
|
23225
|
+
"isReadonly": false,
|
23226
|
+
"isOptional": true,
|
23227
|
+
"releaseTag": "Public",
|
23228
|
+
"name": "blockTextureUri",
|
23229
|
+
"propertyTypeTokenRange": {
|
23230
|
+
"startIndex": 1,
|
23231
|
+
"endIndex": 2
|
23232
|
+
}
|
23233
|
+
},
|
21825
23234
|
{
|
21826
23235
|
"kind": "PropertySignature",
|
21827
23236
|
"canonicalReference": "server!HYTOPIA.EntityOptions#createCustomCharacterController:member",
|
@@ -21998,6 +23407,61 @@
|
|
21998
23407
|
"startIndex": 1,
|
21999
23408
|
"endIndex": 2
|
22000
23409
|
}
|
23410
|
+
},
|
23411
|
+
{
|
23412
|
+
"kind": "PropertySignature",
|
23413
|
+
"canonicalReference": "server!HYTOPIA.EntityOptions#tag:member",
|
23414
|
+
"docComment": "/**\n * An arbitrary identifier tag of the entity. Useful for your own logic.\n */\n",
|
23415
|
+
"excerptTokens": [
|
23416
|
+
{
|
23417
|
+
"kind": "Content",
|
23418
|
+
"text": "tag?: "
|
23419
|
+
},
|
23420
|
+
{
|
23421
|
+
"kind": "Content",
|
23422
|
+
"text": "string"
|
23423
|
+
},
|
23424
|
+
{
|
23425
|
+
"kind": "Content",
|
23426
|
+
"text": ";"
|
23427
|
+
}
|
23428
|
+
],
|
23429
|
+
"isReadonly": false,
|
23430
|
+
"isOptional": true,
|
23431
|
+
"releaseTag": "Public",
|
23432
|
+
"name": "tag",
|
23433
|
+
"propertyTypeTokenRange": {
|
23434
|
+
"startIndex": 1,
|
23435
|
+
"endIndex": 2
|
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
|
+
}
|
22001
23465
|
}
|
22002
23466
|
],
|
22003
23467
|
"extendsTokenRanges": []
|
@@ -26727,6 +28191,105 @@
|
|
26727
28191
|
"endIndex": 2
|
26728
28192
|
}
|
26729
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
|
+
},
|
26730
28293
|
{
|
26731
28294
|
"kind": "Class",
|
26732
28295
|
"canonicalReference": "server!HYTOPIA.RigidBody:class",
|
@@ -29629,54 +31192,6 @@
|
|
29629
31192
|
"isAbstract": false,
|
29630
31193
|
"name": "setSoftCcdPrediction"
|
29631
31194
|
},
|
29632
|
-
{
|
29633
|
-
"kind": "Method",
|
29634
|
-
"canonicalReference": "server!HYTOPIA.RigidBody#setTag:member(1)",
|
29635
|
-
"docComment": "/**\n * Sets the tag of the rigid body.\n *\n * @param tag - The tag of the rigid body.\n */\n",
|
29636
|
-
"excerptTokens": [
|
29637
|
-
{
|
29638
|
-
"kind": "Content",
|
29639
|
-
"text": "setTag(tag: "
|
29640
|
-
},
|
29641
|
-
{
|
29642
|
-
"kind": "Content",
|
29643
|
-
"text": "string"
|
29644
|
-
},
|
29645
|
-
{
|
29646
|
-
"kind": "Content",
|
29647
|
-
"text": "): "
|
29648
|
-
},
|
29649
|
-
{
|
29650
|
-
"kind": "Content",
|
29651
|
-
"text": "void"
|
29652
|
-
},
|
29653
|
-
{
|
29654
|
-
"kind": "Content",
|
29655
|
-
"text": ";"
|
29656
|
-
}
|
29657
|
-
],
|
29658
|
-
"isStatic": false,
|
29659
|
-
"returnTypeTokenRange": {
|
29660
|
-
"startIndex": 3,
|
29661
|
-
"endIndex": 4
|
29662
|
-
},
|
29663
|
-
"releaseTag": "Public",
|
29664
|
-
"isProtected": false,
|
29665
|
-
"overloadIndex": 1,
|
29666
|
-
"parameters": [
|
29667
|
-
{
|
29668
|
-
"parameterName": "tag",
|
29669
|
-
"parameterTypeTokenRange": {
|
29670
|
-
"startIndex": 1,
|
29671
|
-
"endIndex": 2
|
29672
|
-
},
|
29673
|
-
"isOptional": false
|
29674
|
-
}
|
29675
|
-
],
|
29676
|
-
"isOptional": false,
|
29677
|
-
"isAbstract": false,
|
29678
|
-
"name": "setTag"
|
29679
|
-
},
|
29680
31195
|
{
|
29681
31196
|
"kind": "Method",
|
29682
31197
|
"canonicalReference": "server!HYTOPIA.RigidBody#setTranslation:member(1)",
|
@@ -29806,36 +31321,6 @@
|
|
29806
31321
|
"isAbstract": false,
|
29807
31322
|
"name": "sleep"
|
29808
31323
|
},
|
29809
|
-
{
|
29810
|
-
"kind": "Property",
|
29811
|
-
"canonicalReference": "server!HYTOPIA.RigidBody#tag:member",
|
29812
|
-
"docComment": "/**\n * An arbitrary identifier tag of the rigid body. Useful for your own logic.\n */\n",
|
29813
|
-
"excerptTokens": [
|
29814
|
-
{
|
29815
|
-
"kind": "Content",
|
29816
|
-
"text": "get tag(): "
|
29817
|
-
},
|
29818
|
-
{
|
29819
|
-
"kind": "Content",
|
29820
|
-
"text": "string | undefined"
|
29821
|
-
},
|
29822
|
-
{
|
29823
|
-
"kind": "Content",
|
29824
|
-
"text": ";"
|
29825
|
-
}
|
29826
|
-
],
|
29827
|
-
"isReadonly": true,
|
29828
|
-
"isOptional": false,
|
29829
|
-
"releaseTag": "Public",
|
29830
|
-
"name": "tag",
|
29831
|
-
"propertyTypeTokenRange": {
|
29832
|
-
"startIndex": 1,
|
29833
|
-
"endIndex": 2
|
29834
|
-
},
|
29835
|
-
"isStatic": false,
|
29836
|
-
"isProtected": false,
|
29837
|
-
"isAbstract": false
|
29838
|
-
},
|
29839
31324
|
{
|
29840
31325
|
"kind": "Method",
|
29841
31326
|
"canonicalReference": "server!HYTOPIA.RigidBody#wakeUp:member(1)",
|
@@ -30436,33 +31921,6 @@
|
|
30436
31921
|
"endIndex": 2
|
30437
31922
|
}
|
30438
31923
|
},
|
30439
|
-
{
|
30440
|
-
"kind": "PropertySignature",
|
30441
|
-
"canonicalReference": "server!HYTOPIA.RigidBodyOptions#tag:member",
|
30442
|
-
"docComment": "/**\n * The tag of the rigid body.\n */\n",
|
30443
|
-
"excerptTokens": [
|
30444
|
-
{
|
30445
|
-
"kind": "Content",
|
30446
|
-
"text": "tag?: "
|
30447
|
-
},
|
30448
|
-
{
|
30449
|
-
"kind": "Content",
|
30450
|
-
"text": "string"
|
30451
|
-
},
|
30452
|
-
{
|
30453
|
-
"kind": "Content",
|
30454
|
-
"text": ";"
|
30455
|
-
}
|
30456
|
-
],
|
30457
|
-
"isReadonly": false,
|
30458
|
-
"isOptional": true,
|
30459
|
-
"releaseTag": "Public",
|
30460
|
-
"name": "tag",
|
30461
|
-
"propertyTypeTokenRange": {
|
30462
|
-
"startIndex": 1,
|
30463
|
-
"endIndex": 2
|
30464
|
-
}
|
30465
|
-
},
|
30466
31924
|
{
|
30467
31925
|
"kind": "PropertySignature",
|
30468
31926
|
"canonicalReference": "server!HYTOPIA.RigidBodyOptions#translation:member",
|
@@ -31183,6 +32641,55 @@
|
|
31183
32641
|
"isProtected": false,
|
31184
32642
|
"isAbstract": false
|
31185
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
|
+
},
|
31186
32693
|
{
|
31187
32694
|
"kind": "Property",
|
31188
32695
|
"canonicalReference": "server!HYTOPIA.Simulation#timestepS:member",
|
@@ -31553,38 +33060,6 @@
|
|
31553
33060
|
],
|
31554
33061
|
"extendsTokenRanges": []
|
31555
33062
|
},
|
31556
|
-
{
|
31557
|
-
"kind": "Class",
|
31558
|
-
"canonicalReference": "server!HYTOPIA.WebServer:class",
|
31559
|
-
"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",
|
31560
|
-
"excerptTokens": [
|
31561
|
-
{
|
31562
|
-
"kind": "Content",
|
31563
|
-
"text": "export default class WebServer implements "
|
31564
|
-
},
|
31565
|
-
{
|
31566
|
-
"kind": "Reference",
|
31567
|
-
"text": "Readyable",
|
31568
|
-
"canonicalReference": "server!~Readyable:interface"
|
31569
|
-
},
|
31570
|
-
{
|
31571
|
-
"kind": "Content",
|
31572
|
-
"text": " "
|
31573
|
-
}
|
31574
|
-
],
|
31575
|
-
"fileUrlPath": "src/networking/WebServer.ts",
|
31576
|
-
"releaseTag": "Public",
|
31577
|
-
"isAbstract": false,
|
31578
|
-
"name": "WebServer",
|
31579
|
-
"preserveMemberOrder": false,
|
31580
|
-
"members": [],
|
31581
|
-
"implementsTokenRanges": [
|
31582
|
-
{
|
31583
|
-
"startIndex": 1,
|
31584
|
-
"endIndex": 2
|
31585
|
-
}
|
31586
|
-
]
|
31587
|
-
},
|
31588
33063
|
{
|
31589
33064
|
"kind": "Class",
|
31590
33065
|
"canonicalReference": "server!HYTOPIA.World:class",
|
@@ -32815,9 +34290,14 @@
|
|
32815
34290
|
"kind": "Content",
|
32816
34291
|
"text": "blockTypes: "
|
32817
34292
|
},
|
34293
|
+
{
|
34294
|
+
"kind": "Reference",
|
34295
|
+
"text": "BlockTypeOptions",
|
34296
|
+
"canonicalReference": "server!BlockTypeOptions:interface"
|
34297
|
+
},
|
32818
34298
|
{
|
32819
34299
|
"kind": "Content",
|
32820
|
-
"text": "
|
34300
|
+
"text": "[]"
|
32821
34301
|
},
|
32822
34302
|
{
|
32823
34303
|
"kind": "Content",
|
@@ -32830,7 +34310,7 @@
|
|
32830
34310
|
"name": "blockTypes",
|
32831
34311
|
"propertyTypeTokenRange": {
|
32832
34312
|
"startIndex": 1,
|
32833
|
-
"endIndex":
|
34313
|
+
"endIndex": 3
|
32834
34314
|
}
|
32835
34315
|
}
|
32836
34316
|
],
|
@@ -36694,6 +38174,105 @@
|
|
36694
38174
|
"endIndex": 2
|
36695
38175
|
}
|
36696
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
|
+
},
|
36697
38276
|
{
|
36698
38277
|
"kind": "Class",
|
36699
38278
|
"canonicalReference": "server!RigidBody:class",
|
@@ -39596,54 +41175,6 @@
|
|
39596
41175
|
"isAbstract": false,
|
39597
41176
|
"name": "setSoftCcdPrediction"
|
39598
41177
|
},
|
39599
|
-
{
|
39600
|
-
"kind": "Method",
|
39601
|
-
"canonicalReference": "server!RigidBody#setTag:member(1)",
|
39602
|
-
"docComment": "/**\n * Sets the tag of the rigid body.\n *\n * @param tag - The tag of the rigid body.\n */\n",
|
39603
|
-
"excerptTokens": [
|
39604
|
-
{
|
39605
|
-
"kind": "Content",
|
39606
|
-
"text": "setTag(tag: "
|
39607
|
-
},
|
39608
|
-
{
|
39609
|
-
"kind": "Content",
|
39610
|
-
"text": "string"
|
39611
|
-
},
|
39612
|
-
{
|
39613
|
-
"kind": "Content",
|
39614
|
-
"text": "): "
|
39615
|
-
},
|
39616
|
-
{
|
39617
|
-
"kind": "Content",
|
39618
|
-
"text": "void"
|
39619
|
-
},
|
39620
|
-
{
|
39621
|
-
"kind": "Content",
|
39622
|
-
"text": ";"
|
39623
|
-
}
|
39624
|
-
],
|
39625
|
-
"isStatic": false,
|
39626
|
-
"returnTypeTokenRange": {
|
39627
|
-
"startIndex": 3,
|
39628
|
-
"endIndex": 4
|
39629
|
-
},
|
39630
|
-
"releaseTag": "Public",
|
39631
|
-
"isProtected": false,
|
39632
|
-
"overloadIndex": 1,
|
39633
|
-
"parameters": [
|
39634
|
-
{
|
39635
|
-
"parameterName": "tag",
|
39636
|
-
"parameterTypeTokenRange": {
|
39637
|
-
"startIndex": 1,
|
39638
|
-
"endIndex": 2
|
39639
|
-
},
|
39640
|
-
"isOptional": false
|
39641
|
-
}
|
39642
|
-
],
|
39643
|
-
"isOptional": false,
|
39644
|
-
"isAbstract": false,
|
39645
|
-
"name": "setTag"
|
39646
|
-
},
|
39647
41178
|
{
|
39648
41179
|
"kind": "Method",
|
39649
41180
|
"canonicalReference": "server!RigidBody#setTranslation:member(1)",
|
@@ -39773,36 +41304,6 @@
|
|
39773
41304
|
"isAbstract": false,
|
39774
41305
|
"name": "sleep"
|
39775
41306
|
},
|
39776
|
-
{
|
39777
|
-
"kind": "Property",
|
39778
|
-
"canonicalReference": "server!RigidBody#tag:member",
|
39779
|
-
"docComment": "/**\n * An arbitrary identifier tag of the rigid body. Useful for your own logic.\n */\n",
|
39780
|
-
"excerptTokens": [
|
39781
|
-
{
|
39782
|
-
"kind": "Content",
|
39783
|
-
"text": "get tag(): "
|
39784
|
-
},
|
39785
|
-
{
|
39786
|
-
"kind": "Content",
|
39787
|
-
"text": "string | undefined"
|
39788
|
-
},
|
39789
|
-
{
|
39790
|
-
"kind": "Content",
|
39791
|
-
"text": ";"
|
39792
|
-
}
|
39793
|
-
],
|
39794
|
-
"isReadonly": true,
|
39795
|
-
"isOptional": false,
|
39796
|
-
"releaseTag": "Public",
|
39797
|
-
"name": "tag",
|
39798
|
-
"propertyTypeTokenRange": {
|
39799
|
-
"startIndex": 1,
|
39800
|
-
"endIndex": 2
|
39801
|
-
},
|
39802
|
-
"isStatic": false,
|
39803
|
-
"isProtected": false,
|
39804
|
-
"isAbstract": false
|
39805
|
-
},
|
39806
41307
|
{
|
39807
41308
|
"kind": "Method",
|
39808
41309
|
"canonicalReference": "server!RigidBody#wakeUp:member(1)",
|
@@ -40403,33 +41904,6 @@
|
|
40403
41904
|
"endIndex": 2
|
40404
41905
|
}
|
40405
41906
|
},
|
40406
|
-
{
|
40407
|
-
"kind": "PropertySignature",
|
40408
|
-
"canonicalReference": "server!RigidBodyOptions#tag:member",
|
40409
|
-
"docComment": "/**\n * The tag of the rigid body.\n */\n",
|
40410
|
-
"excerptTokens": [
|
40411
|
-
{
|
40412
|
-
"kind": "Content",
|
40413
|
-
"text": "tag?: "
|
40414
|
-
},
|
40415
|
-
{
|
40416
|
-
"kind": "Content",
|
40417
|
-
"text": "string"
|
40418
|
-
},
|
40419
|
-
{
|
40420
|
-
"kind": "Content",
|
40421
|
-
"text": ";"
|
40422
|
-
}
|
40423
|
-
],
|
40424
|
-
"isReadonly": false,
|
40425
|
-
"isOptional": true,
|
40426
|
-
"releaseTag": "Public",
|
40427
|
-
"name": "tag",
|
40428
|
-
"propertyTypeTokenRange": {
|
40429
|
-
"startIndex": 1,
|
40430
|
-
"endIndex": 2
|
40431
|
-
}
|
40432
|
-
},
|
40433
41907
|
{
|
40434
41908
|
"kind": "PropertySignature",
|
40435
41909
|
"canonicalReference": "server!RigidBodyOptions#translation:member",
|
@@ -41150,6 +42624,55 @@
|
|
41150
42624
|
"isProtected": false,
|
41151
42625
|
"isAbstract": false
|
41152
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
|
+
},
|
41153
42676
|
{
|
41154
42677
|
"kind": "Property",
|
41155
42678
|
"canonicalReference": "server!Simulation#timestepS:member",
|
@@ -41520,38 +43043,6 @@
|
|
41520
43043
|
],
|
41521
43044
|
"extendsTokenRanges": []
|
41522
43045
|
},
|
41523
|
-
{
|
41524
|
-
"kind": "Class",
|
41525
|
-
"canonicalReference": "server!WebServer:class",
|
41526
|
-
"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",
|
41527
|
-
"excerptTokens": [
|
41528
|
-
{
|
41529
|
-
"kind": "Content",
|
41530
|
-
"text": "export default class WebServer implements "
|
41531
|
-
},
|
41532
|
-
{
|
41533
|
-
"kind": "Reference",
|
41534
|
-
"text": "Readyable",
|
41535
|
-
"canonicalReference": "server!~Readyable:interface"
|
41536
|
-
},
|
41537
|
-
{
|
41538
|
-
"kind": "Content",
|
41539
|
-
"text": " "
|
41540
|
-
}
|
41541
|
-
],
|
41542
|
-
"fileUrlPath": "src/networking/WebServer.ts",
|
41543
|
-
"releaseTag": "Public",
|
41544
|
-
"isAbstract": false,
|
41545
|
-
"name": "WebServer",
|
41546
|
-
"preserveMemberOrder": false,
|
41547
|
-
"members": [],
|
41548
|
-
"implementsTokenRanges": [
|
41549
|
-
{
|
41550
|
-
"startIndex": 1,
|
41551
|
-
"endIndex": 2
|
41552
|
-
}
|
41553
|
-
]
|
41554
|
-
},
|
41555
43046
|
{
|
41556
43047
|
"kind": "Class",
|
41557
43048
|
"canonicalReference": "server!World:class",
|
@@ -42782,9 +44273,14 @@
|
|
42782
44273
|
"kind": "Content",
|
42783
44274
|
"text": "blockTypes: "
|
42784
44275
|
},
|
44276
|
+
{
|
44277
|
+
"kind": "Reference",
|
44278
|
+
"text": "BlockTypeOptions",
|
44279
|
+
"canonicalReference": "server!BlockTypeOptions:interface"
|
44280
|
+
},
|
42785
44281
|
{
|
42786
44282
|
"kind": "Content",
|
42787
|
-
"text": "
|
44283
|
+
"text": "[]"
|
42788
44284
|
},
|
42789
44285
|
{
|
42790
44286
|
"kind": "Content",
|
@@ -42797,7 +44293,7 @@
|
|
42797
44293
|
"name": "blockTypes",
|
42798
44294
|
"propertyTypeTokenRange": {
|
42799
44295
|
"startIndex": 1,
|
42800
|
-
"endIndex":
|
44296
|
+
"endIndex": 3
|
42801
44297
|
}
|
42802
44298
|
}
|
42803
44299
|
],
|