hytopia 0.8.10 → 0.8.12
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/bun-server.mjs +88 -88
- package/docs/server.blocktype.lightlevel.md +13 -0
- package/docs/server.blocktype.md +21 -0
- package/docs/server.blocktypeoptions.lightlevel.md +13 -0
- package/docs/server.blocktypeoptions.md +19 -0
- package/node-server.mjs +169 -169
- package/package.json +1 -1
- package/server.api.json +57 -0
- package/server.d.ts +5 -0
package/package.json
CHANGED
package/server.api.json
CHANGED
@@ -5088,6 +5088,36 @@
|
|
5088
5088
|
"isProtected": false,
|
5089
5089
|
"isAbstract": false
|
5090
5090
|
},
|
5091
|
+
{
|
5092
|
+
"kind": "Property",
|
5093
|
+
"canonicalReference": "server!BlockType#lightLevel:member",
|
5094
|
+
"docComment": "/**\n * The light emission level.\n */\n",
|
5095
|
+
"excerptTokens": [
|
5096
|
+
{
|
5097
|
+
"kind": "Content",
|
5098
|
+
"text": "get lightLevel(): "
|
5099
|
+
},
|
5100
|
+
{
|
5101
|
+
"kind": "Content",
|
5102
|
+
"text": "number"
|
5103
|
+
},
|
5104
|
+
{
|
5105
|
+
"kind": "Content",
|
5106
|
+
"text": ";"
|
5107
|
+
}
|
5108
|
+
],
|
5109
|
+
"isReadonly": true,
|
5110
|
+
"isOptional": false,
|
5111
|
+
"releaseTag": "Public",
|
5112
|
+
"name": "lightLevel",
|
5113
|
+
"propertyTypeTokenRange": {
|
5114
|
+
"startIndex": 1,
|
5115
|
+
"endIndex": 2
|
5116
|
+
},
|
5117
|
+
"isStatic": false,
|
5118
|
+
"isProtected": false,
|
5119
|
+
"isAbstract": false
|
5120
|
+
},
|
5091
5121
|
{
|
5092
5122
|
"kind": "Property",
|
5093
5123
|
"canonicalReference": "server!BlockType#name:member",
|
@@ -5510,6 +5540,33 @@
|
|
5510
5540
|
"endIndex": 2
|
5511
5541
|
}
|
5512
5542
|
},
|
5543
|
+
{
|
5544
|
+
"kind": "PropertySignature",
|
5545
|
+
"canonicalReference": "server!BlockTypeOptions#lightLevel:member",
|
5546
|
+
"docComment": "/**\n * The light emission level.\n */\n",
|
5547
|
+
"excerptTokens": [
|
5548
|
+
{
|
5549
|
+
"kind": "Content",
|
5550
|
+
"text": "lightLevel?: "
|
5551
|
+
},
|
5552
|
+
{
|
5553
|
+
"kind": "Content",
|
5554
|
+
"text": "number"
|
5555
|
+
},
|
5556
|
+
{
|
5557
|
+
"kind": "Content",
|
5558
|
+
"text": ";"
|
5559
|
+
}
|
5560
|
+
],
|
5561
|
+
"isReadonly": false,
|
5562
|
+
"isOptional": true,
|
5563
|
+
"releaseTag": "Public",
|
5564
|
+
"name": "lightLevel",
|
5565
|
+
"propertyTypeTokenRange": {
|
5566
|
+
"startIndex": 1,
|
5567
|
+
"endIndex": 2
|
5568
|
+
}
|
5569
|
+
},
|
5513
5570
|
{
|
5514
5571
|
"kind": "PropertySignature",
|
5515
5572
|
"canonicalReference": "server!BlockTypeOptions#name:member",
|
package/server.d.ts
CHANGED
@@ -604,6 +604,7 @@ export declare class BlockType extends EventRouter implements protocol.Serializa
|
|
604
604
|
|
605
605
|
|
606
606
|
|
607
|
+
|
607
608
|
/**
|
608
609
|
* Creates a new block type instance.
|
609
610
|
* @param world - The world the block type is for.
|
@@ -620,6 +621,8 @@ export declare class BlockType extends EventRouter implements protocol.Serializa
|
|
620
621
|
get isLiquid(): boolean;
|
621
622
|
/** Whether the block type is meshable. */
|
622
623
|
get isMeshable(): boolean;
|
624
|
+
/** The light emission level. */
|
625
|
+
get lightLevel(): number;
|
623
626
|
/** The name of the block type. */
|
624
627
|
get name(): string;
|
625
628
|
/** The size of the block type. */
|
@@ -664,6 +667,8 @@ export declare interface BlockTypeOptions {
|
|
664
667
|
halfExtents?: Vector3Like;
|
665
668
|
/** Whether the block type is a liquid. */
|
666
669
|
isLiquid?: boolean;
|
670
|
+
/** The light emission level. */
|
671
|
+
lightLevel?: number;
|
667
672
|
/** The name of the block type. */
|
668
673
|
name: string;
|
669
674
|
/** The URI of the texture asset for the block type. */
|