hytopia 0.6.34 → 0.7.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bun-server.mjs +169 -169
- package/docs/server.blocktype.collideroptions.md +1 -1
- package/docs/server.blocktype.halfextents.md +13 -0
- package/docs/server.blocktype.md +43 -1
- package/docs/server.blocktype.size.md +13 -0
- package/docs/server.blocktypeoptions.customcollideroptions.md +1 -1
- package/docs/server.blocktypeoptions.halfextents.md +13 -0
- package/docs/server.blocktypeoptions.md +20 -1
- package/docs/server.chunk._constructor_.md +35 -1
- package/docs/server.chunk.md +4 -147
- package/docs/server.chunk.origincoordinate.md +1 -1
- package/docs/server.chunklattice.clear.md +1 -1
- package/docs/server.chunklattice.getblocktypecount.md +55 -0
- package/docs/server.chunklattice.getchunk.md +5 -5
- package/docs/server.chunklattice.getorcreatechunk.md +55 -0
- package/docs/server.chunklattice.haschunk.md +4 -4
- package/docs/server.chunklattice.md +36 -7
- package/docs/server.chunklattice.setblock.md +1 -1
- package/docs/server.chunklatticeevent.md +61 -0
- package/docs/server.chunklatticeeventpayloads._chunk_lattice.remove_chunk_.md +16 -0
- package/docs/server.chunklatticeeventpayloads._chunk_lattice.set_block_.md +19 -0
- package/docs/server.chunklatticeeventpayloads.md +76 -0
- package/docs/server.collider.md +16 -0
- package/docs/server.collider.scale.md +4 -0
- package/docs/server.collider.setvoxel.md +69 -0
- package/docs/server.collideroptions.md +2 -2
- package/docs/server.collidershape.md +14 -0
- package/docs/server.eventpayloads.md +2 -2
- package/docs/server.md +17 -4
- package/docs/server.particleemitter.md +120 -29
- package/docs/server.particleemitter.paused.md +13 -0
- package/docs/server.particleemitter.restart.md +1 -1
- package/docs/{server.particleemitter.setsize.md → server.particleemitter.setsizeend.md} +6 -6
- package/docs/server.particleemitter.setsizeendvariance.md +53 -0
- package/docs/{server.particleemitter.setsizevariance.md → server.particleemitter.setsizestart.md} +6 -6
- package/docs/server.particleemitter.setsizestartvariance.md +53 -0
- package/docs/server.particleemitter.sizeend.md +13 -0
- package/docs/server.particleemitter.sizeendvariance.md +13 -0
- package/docs/server.particleemitter.sizestart.md +13 -0
- package/docs/server.particleemitter.sizestartvariance.md +13 -0
- package/docs/server.particleemitter.stop.md +1 -1
- package/docs/server.particleemitterevent.md +46 -4
- package/docs/server.particleemittereventpayloads._particle_emitter.set_paused_.md +16 -0
- package/docs/server.particleemittereventpayloads._particle_emitter.set_size_end_.md +16 -0
- package/docs/server.particleemittereventpayloads._particle_emitter.set_size_end_variance_.md +16 -0
- package/docs/server.particleemittereventpayloads._particle_emitter.set_size_start_.md +16 -0
- package/docs/server.particleemittereventpayloads._particle_emitter.set_size_start_variance_.md +16 -0
- package/docs/server.particleemittereventpayloads.md +63 -6
- package/docs/server.particleemitteroptions.md +44 -4
- package/docs/server.particleemitteroptions.sizeend.md +13 -0
- package/docs/server.particleemitteroptions.sizeendvariance.md +13 -0
- package/docs/server.particleemitteroptions.sizestart.md +13 -0
- package/docs/server.particleemitteroptions.sizestartvariance.md +13 -0
- package/docs/server.voxelscollideroptions.coordinates.md +13 -0
- package/docs/server.voxelscollideroptions.md +94 -0
- package/docs/server.voxelscollideroptions.shape.md +11 -0
- package/docs/server.voxelscollideroptions.size.md +13 -0
- package/docs/server.world.md +1 -1
- package/docs/server.world.setdirectionallightposition.md +2 -2
- package/node-server.mjs +165 -165
- package/package.json +1 -1
- package/server.api.json +1368 -867
- package/server.d.ts +166 -138
- package/docs/server.chunk.despawn.md +0 -17
- package/docs/server.chunk.issimulated.md +0 -13
- package/docs/server.chunk.isspawned.md +0 -13
- package/docs/server.chunk.isvalidorigincoordinate.md +0 -55
- package/docs/server.chunk.setblock.md +0 -69
- package/docs/server.chunk.spawn.md +0 -69
- package/docs/server.chunk.world.md +0 -13
- package/docs/server.chunkevent.md +0 -75
- package/docs/server.chunkeventpayloads._chunk.despawn_.md +0 -15
- package/docs/server.chunkeventpayloads._chunk.set_block_.md +0 -18
- package/docs/server.chunkeventpayloads._chunk.spawn_.md +0 -15
- package/docs/server.chunkeventpayloads.md +0 -95
- package/docs/server.particleemitter.isstopped.md +0 -13
- package/docs/server.particleemitter.size.md +0 -13
- package/docs/server.particleemittereventpayloads._particle_emitter.set_size_.md +0 -16
- package/docs/server.particleemittereventpayloads._particle_emitter.set_size_variance_.md +0 -16
- package/docs/server.particleemitteroptions.size.md +0 -13
- package/docs/server.particleemitteroptions.sizevariance.md +0 -13
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [server](./server.md) > [ChunkLatticeEvent](./server.chunklatticeevent.md)
|
|
4
|
+
|
|
5
|
+
## ChunkLatticeEvent enum
|
|
6
|
+
|
|
7
|
+
Event types a ChunkLattice instance can emit. See [ChunkLatticeEventPayloads](./server.chunklatticeeventpayloads.md) for the payloads.
|
|
8
|
+
|
|
9
|
+
**Signature:**
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
export declare enum ChunkLatticeEvent
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
## Enumeration Members
|
|
16
|
+
|
|
17
|
+
<table><thead><tr><th>
|
|
18
|
+
|
|
19
|
+
Member
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
</th><th>
|
|
23
|
+
|
|
24
|
+
Value
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
</th><th>
|
|
28
|
+
|
|
29
|
+
Description
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
</th></tr></thead>
|
|
33
|
+
<tbody><tr><td>
|
|
34
|
+
|
|
35
|
+
REMOVE\_CHUNK
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
</td><td>
|
|
39
|
+
|
|
40
|
+
`"CHUNK_LATTICE.REMOVE_CHUNK"`
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
</td><td>
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
</td></tr>
|
|
47
|
+
<tr><td>
|
|
48
|
+
|
|
49
|
+
SET\_BLOCK
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
</td><td>
|
|
53
|
+
|
|
54
|
+
`"CHUNK_LATTICE.SET_BLOCK"`
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
</td><td>
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
</td></tr>
|
|
61
|
+
</tbody></table>
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [server](./server.md) > [ChunkLatticeEventPayloads](./server.chunklatticeeventpayloads.md) > ["CHUNK\_LATTICE.REMOVE\_CHUNK"](./server.chunklatticeeventpayloads._chunk_lattice.remove_chunk_.md)
|
|
4
|
+
|
|
5
|
+
## ChunkLatticeEventPayloads."CHUNK\_LATTICE.REMOVE\_CHUNK" property
|
|
6
|
+
|
|
7
|
+
Emitted when a chunk is removed from the lattice.
|
|
8
|
+
|
|
9
|
+
**Signature:**
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
[ChunkLatticeEvent.REMOVE_CHUNK]: {
|
|
13
|
+
chunkLattice: ChunkLattice;
|
|
14
|
+
chunk: Chunk;
|
|
15
|
+
};
|
|
16
|
+
```
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [server](./server.md) > [ChunkLatticeEventPayloads](./server.chunklatticeeventpayloads.md) > ["CHUNK\_LATTICE.SET\_BLOCK"](./server.chunklatticeeventpayloads._chunk_lattice.set_block_.md)
|
|
4
|
+
|
|
5
|
+
## ChunkLatticeEventPayloads."CHUNK\_LATTICE.SET\_BLOCK" property
|
|
6
|
+
|
|
7
|
+
Emitted when a block is set in the lattice.
|
|
8
|
+
|
|
9
|
+
**Signature:**
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
[ChunkLatticeEvent.SET_BLOCK]: {
|
|
13
|
+
chunkLattice: ChunkLattice;
|
|
14
|
+
chunk: Chunk;
|
|
15
|
+
globalCoordinate: Vector3Like;
|
|
16
|
+
localCoordinate: Vector3Like;
|
|
17
|
+
blockTypeId: number;
|
|
18
|
+
};
|
|
19
|
+
```
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [server](./server.md) > [ChunkLatticeEventPayloads](./server.chunklatticeeventpayloads.md)
|
|
4
|
+
|
|
5
|
+
## ChunkLatticeEventPayloads interface
|
|
6
|
+
|
|
7
|
+
Event payloads for ChunkLattice emitted events.
|
|
8
|
+
|
|
9
|
+
**Signature:**
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
export interface ChunkLatticeEventPayloads
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
## Properties
|
|
16
|
+
|
|
17
|
+
<table><thead><tr><th>
|
|
18
|
+
|
|
19
|
+
Property
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
</th><th>
|
|
23
|
+
|
|
24
|
+
Modifiers
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
</th><th>
|
|
28
|
+
|
|
29
|
+
Type
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
</th><th>
|
|
33
|
+
|
|
34
|
+
Description
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
</th></tr></thead>
|
|
38
|
+
<tbody><tr><td>
|
|
39
|
+
|
|
40
|
+
["CHUNK\_LATTICE.REMOVE\_CHUNK"](./server.chunklatticeeventpayloads._chunk_lattice.remove_chunk_.md)
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
</td><td>
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
</td><td>
|
|
47
|
+
|
|
48
|
+
{ chunkLattice: [ChunkLattice](./server.chunklattice.md)<!-- -->; chunk: [Chunk](./server.chunk.md)<!-- -->; }
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
</td><td>
|
|
52
|
+
|
|
53
|
+
Emitted when a chunk is removed from the lattice.
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
</td></tr>
|
|
57
|
+
<tr><td>
|
|
58
|
+
|
|
59
|
+
["CHUNK\_LATTICE.SET\_BLOCK"](./server.chunklatticeeventpayloads._chunk_lattice.set_block_.md)
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
</td><td>
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
</td><td>
|
|
66
|
+
|
|
67
|
+
{ chunkLattice: [ChunkLattice](./server.chunklattice.md)<!-- -->; chunk: [Chunk](./server.chunk.md)<!-- -->; globalCoordinate: [Vector3Like](./server.vector3like.md)<!-- -->; localCoordinate: [Vector3Like](./server.vector3like.md)<!-- -->; blockTypeId: number; }
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
</td><td>
|
|
71
|
+
|
|
72
|
+
Emitted when a block is set in the lattice.
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
</td></tr>
|
|
76
|
+
</tbody></table>
|
package/docs/server.collider.md
CHANGED
|
@@ -528,6 +528,8 @@ Removes the collider from the simulation.
|
|
|
528
528
|
|
|
529
529
|
</td><td>
|
|
530
530
|
|
|
531
|
+
Scales the collider by the given scalar. Only ball, block, capsule, cone, cylinder, round cylinder are supported.
|
|
532
|
+
|
|
531
533
|
|
|
532
534
|
</td></tr>
|
|
533
535
|
<tr><td>
|
|
@@ -697,5 +699,19 @@ Sets whether the collider is a sensor.
|
|
|
697
699
|
Sets the tag of the collider.
|
|
698
700
|
|
|
699
701
|
|
|
702
|
+
</td></tr>
|
|
703
|
+
<tr><td>
|
|
704
|
+
|
|
705
|
+
[setVoxel(coordinate, filled)](./server.collider.setvoxel.md)
|
|
706
|
+
|
|
707
|
+
|
|
708
|
+
</td><td>
|
|
709
|
+
|
|
710
|
+
|
|
711
|
+
</td><td>
|
|
712
|
+
|
|
713
|
+
Sets the voxel at the given coordinate as filled or not filled.
|
|
714
|
+
|
|
715
|
+
|
|
700
716
|
</td></tr>
|
|
701
717
|
</tbody></table>
|
|
@@ -4,6 +4,8 @@
|
|
|
4
4
|
|
|
5
5
|
## Collider.scale() method
|
|
6
6
|
|
|
7
|
+
Scales the collider by the given scalar. Only ball, block, capsule, cone, cylinder, round cylinder are supported.
|
|
8
|
+
|
|
7
9
|
**Signature:**
|
|
8
10
|
|
|
9
11
|
```typescript
|
|
@@ -40,6 +42,8 @@ number
|
|
|
40
42
|
|
|
41
43
|
</td><td>
|
|
42
44
|
|
|
45
|
+
The scalar to scale the collider by.
|
|
46
|
+
|
|
43
47
|
|
|
44
48
|
</td></tr>
|
|
45
49
|
</tbody></table>
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [server](./server.md) > [Collider](./server.collider.md) > [setVoxel](./server.collider.setvoxel.md)
|
|
4
|
+
|
|
5
|
+
## Collider.setVoxel() method
|
|
6
|
+
|
|
7
|
+
Sets the voxel at the given coordinate as filled or not filled.
|
|
8
|
+
|
|
9
|
+
**Signature:**
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
setVoxel(coordinate: Vector3Like, filled: boolean): void;
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
## Parameters
|
|
16
|
+
|
|
17
|
+
<table><thead><tr><th>
|
|
18
|
+
|
|
19
|
+
Parameter
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
</th><th>
|
|
23
|
+
|
|
24
|
+
Type
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
</th><th>
|
|
28
|
+
|
|
29
|
+
Description
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
</th></tr></thead>
|
|
33
|
+
<tbody><tr><td>
|
|
34
|
+
|
|
35
|
+
coordinate
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
</td><td>
|
|
39
|
+
|
|
40
|
+
[Vector3Like](./server.vector3like.md)
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
</td><td>
|
|
44
|
+
|
|
45
|
+
The coordinate of the voxel to set.
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
</td></tr>
|
|
49
|
+
<tr><td>
|
|
50
|
+
|
|
51
|
+
filled
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
</td><td>
|
|
55
|
+
|
|
56
|
+
boolean
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
</td><td>
|
|
60
|
+
|
|
61
|
+
True if the voxel at the coordinate should be filled, false if it should be removed.
|
|
62
|
+
|
|
63
|
+
|
|
64
|
+
</td></tr>
|
|
65
|
+
</tbody></table>
|
|
66
|
+
**Returns:**
|
|
67
|
+
|
|
68
|
+
void
|
|
69
|
+
|
|
@@ -9,7 +9,7 @@ The options for a collider.
|
|
|
9
9
|
**Signature:**
|
|
10
10
|
|
|
11
11
|
```typescript
|
|
12
|
-
export type ColliderOptions = BallColliderOptions | BlockColliderOptions | CapsuleColliderOptions | ConeColliderOptions | CylinderColliderOptions | RoundCylinderColliderOptions | TrimeshColliderOptions | WedgeColliderOptions | NoneColliderOptions;
|
|
12
|
+
export type ColliderOptions = BallColliderOptions | BlockColliderOptions | CapsuleColliderOptions | ConeColliderOptions | CylinderColliderOptions | RoundCylinderColliderOptions | TrimeshColliderOptions | VoxelsColliderOptions | WedgeColliderOptions | NoneColliderOptions;
|
|
13
13
|
```
|
|
14
|
-
**References:** [BallColliderOptions](./server.ballcollideroptions.md)<!-- -->, [BlockColliderOptions](./server.blockcollideroptions.md)<!-- -->, [CapsuleColliderOptions](./server.capsulecollideroptions.md)<!-- -->, [ConeColliderOptions](./server.conecollideroptions.md)<!-- -->, [CylinderColliderOptions](./server.cylindercollideroptions.md)<!-- -->, [RoundCylinderColliderOptions](./server.roundcylindercollideroptions.md)<!-- -->, [TrimeshColliderOptions](./server.trimeshcollideroptions.md)<!-- -->, [WedgeColliderOptions](./server.wedgecollideroptions.md)<!-- -->, [NoneColliderOptions](./server.nonecollideroptions.md)
|
|
14
|
+
**References:** [BallColliderOptions](./server.ballcollideroptions.md)<!-- -->, [BlockColliderOptions](./server.blockcollideroptions.md)<!-- -->, [CapsuleColliderOptions](./server.capsulecollideroptions.md)<!-- -->, [ConeColliderOptions](./server.conecollideroptions.md)<!-- -->, [CylinderColliderOptions](./server.cylindercollideroptions.md)<!-- -->, [RoundCylinderColliderOptions](./server.roundcylindercollideroptions.md)<!-- -->, [TrimeshColliderOptions](./server.trimeshcollideroptions.md)<!-- -->, [VoxelsColliderOptions](./server.voxelscollideroptions.md)<!-- -->, [WedgeColliderOptions](./server.wedgecollideroptions.md)<!-- -->, [NoneColliderOptions](./server.nonecollideroptions.md)
|
|
15
15
|
|
|
@@ -9,7 +9,7 @@ The payloads for all events in the game server.
|
|
|
9
9
|
**Signature:**
|
|
10
10
|
|
|
11
11
|
```typescript
|
|
12
|
-
export interface EventPayloads extends AudioEventPayloads, BaseEntityControllerEventPayloads, BlockTypeEventPayloads, BlockTypeRegistryEventPayloads, ChatEventPayloads,
|
|
12
|
+
export interface EventPayloads extends AudioEventPayloads, BaseEntityControllerEventPayloads, BlockTypeEventPayloads, BlockTypeRegistryEventPayloads, ChatEventPayloads, ChunkLatticeEventPayloads, ConnectionEventPayloads, EntityEventPayloads, GameServerEventPayloads, ParticleEmitterEventPayloads, PlayerCameraEventPayloads, PlayerEventPayloads, PlayerManagerEventPayloads, PlayerUIEventPayloads, SceneUIEventPayloads, SimulationEventPayloads, SocketEventPayloads, LightEventPayloads, WebServerEventPayloads, WorldEventPayloads, WorldLoopEventPayloads, WorldManagerEventPayloads
|
|
13
13
|
```
|
|
14
|
-
**Extends:** [AudioEventPayloads](./server.audioeventpayloads.md)<!-- -->, [BaseEntityControllerEventPayloads](./server.baseentitycontrollereventpayloads.md)<!-- -->, [BlockTypeEventPayloads](./server.blocktypeeventpayloads.md)<!-- -->, [BlockTypeRegistryEventPayloads](./server.blocktyperegistryeventpayloads.md)<!-- -->, [ChatEventPayloads](./server.chateventpayloads.md)<!-- -->, [
|
|
14
|
+
**Extends:** [AudioEventPayloads](./server.audioeventpayloads.md)<!-- -->, [BaseEntityControllerEventPayloads](./server.baseentitycontrollereventpayloads.md)<!-- -->, [BlockTypeEventPayloads](./server.blocktypeeventpayloads.md)<!-- -->, [BlockTypeRegistryEventPayloads](./server.blocktyperegistryeventpayloads.md)<!-- -->, [ChatEventPayloads](./server.chateventpayloads.md)<!-- -->, [ChunkLatticeEventPayloads](./server.chunklatticeeventpayloads.md)<!-- -->, ConnectionEventPayloads, [EntityEventPayloads](./server.entityeventpayloads.md)<!-- -->, [GameServerEventPayloads](./server.gameservereventpayloads.md)<!-- -->, [ParticleEmitterEventPayloads](./server.particleemittereventpayloads.md)<!-- -->, [PlayerCameraEventPayloads](./server.playercameraeventpayloads.md)<!-- -->, [PlayerEventPayloads](./server.playereventpayloads.md)<!-- -->, [PlayerManagerEventPayloads](./server.playermanagereventpayloads.md)<!-- -->, [PlayerUIEventPayloads](./server.playeruieventpayloads.md)<!-- -->, [SceneUIEventPayloads](./server.sceneuieventpayloads.md)<!-- -->, [SimulationEventPayloads](./server.simulationeventpayloads.md)<!-- -->, SocketEventPayloads, [LightEventPayloads](./server.lighteventpayloads.md)<!-- -->, WebServerEventPayloads, [WorldEventPayloads](./server.worldeventpayloads.md)<!-- -->, [WorldLoopEventPayloads](./server.worldloopeventpayloads.md)<!-- -->, [WorldManagerEventPayloads](./server.worldmanagereventpayloads.md)
|
|
15
15
|
|
package/docs/server.md
CHANGED
|
@@ -599,12 +599,12 @@ Event types a ChatManager instance can emit. See [ChatEventPayloads](./server.ch
|
|
|
599
599
|
</td></tr>
|
|
600
600
|
<tr><td>
|
|
601
601
|
|
|
602
|
-
[
|
|
602
|
+
[ChunkLatticeEvent](./server.chunklatticeevent.md)
|
|
603
603
|
|
|
604
604
|
|
|
605
605
|
</td><td>
|
|
606
606
|
|
|
607
|
-
Event types a
|
|
607
|
+
Event types a ChunkLattice instance can emit. See [ChunkLatticeEventPayloads](./server.chunklatticeeventpayloads.md) for the payloads.
|
|
608
608
|
|
|
609
609
|
|
|
610
610
|
</td></tr>
|
|
@@ -1014,12 +1014,12 @@ Event payloads for ChatManager emitted events.
|
|
|
1014
1014
|
</td></tr>
|
|
1015
1015
|
<tr><td>
|
|
1016
1016
|
|
|
1017
|
-
[
|
|
1017
|
+
[ChunkLatticeEventPayloads](./server.chunklatticeeventpayloads.md)
|
|
1018
1018
|
|
|
1019
1019
|
|
|
1020
1020
|
</td><td>
|
|
1021
1021
|
|
|
1022
|
-
Event payloads for
|
|
1022
|
+
Event payloads for ChunkLattice emitted events.
|
|
1023
1023
|
|
|
1024
1024
|
|
|
1025
1025
|
</td></tr>
|
|
@@ -1195,6 +1195,8 @@ Event payloads for ParticleEmitter emitted events.
|
|
|
1195
1195
|
|
|
1196
1196
|
</td><td>
|
|
1197
1197
|
|
|
1198
|
+
Options for creating a ParticleEmitter instance.
|
|
1199
|
+
|
|
1198
1200
|
|
|
1199
1201
|
</td></tr>
|
|
1200
1202
|
<tr><td>
|
|
@@ -1372,6 +1374,17 @@ A 3-dimensional vector of boolean values.
|
|
|
1372
1374
|
A 3-dimensional vector.
|
|
1373
1375
|
|
|
1374
1376
|
|
|
1377
|
+
</td></tr>
|
|
1378
|
+
<tr><td>
|
|
1379
|
+
|
|
1380
|
+
[VoxelsColliderOptions](./server.voxelscollideroptions.md)
|
|
1381
|
+
|
|
1382
|
+
|
|
1383
|
+
</td><td>
|
|
1384
|
+
|
|
1385
|
+
The options for a voxels collider.
|
|
1386
|
+
|
|
1387
|
+
|
|
1375
1388
|
</td></tr>
|
|
1376
1389
|
<tr><td>
|
|
1377
1390
|
|
|
@@ -300,27 +300,6 @@ boolean
|
|
|
300
300
|
Whether the ParticleEmitter is spawned in the world.
|
|
301
301
|
|
|
302
302
|
|
|
303
|
-
</td></tr>
|
|
304
|
-
<tr><td>
|
|
305
|
-
|
|
306
|
-
[isStopped](./server.particleemitter.isstopped.md)
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
</td><td>
|
|
310
|
-
|
|
311
|
-
`readonly`
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
</td><td>
|
|
315
|
-
|
|
316
|
-
boolean
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
</td><td>
|
|
320
|
-
|
|
321
|
-
Whether the ParticleEmitter is stopped.
|
|
322
|
-
|
|
323
|
-
|
|
324
303
|
</td></tr>
|
|
325
304
|
<tr><td>
|
|
326
305
|
|
|
@@ -489,6 +468,27 @@ number \| undefined
|
|
|
489
468
|
The opacity variance of an emitted particle at the start of its lifetime.
|
|
490
469
|
|
|
491
470
|
|
|
471
|
+
</td></tr>
|
|
472
|
+
<tr><td>
|
|
473
|
+
|
|
474
|
+
[paused](./server.particleemitter.paused.md)
|
|
475
|
+
|
|
476
|
+
|
|
477
|
+
</td><td>
|
|
478
|
+
|
|
479
|
+
`readonly`
|
|
480
|
+
|
|
481
|
+
|
|
482
|
+
</td><td>
|
|
483
|
+
|
|
484
|
+
boolean \| undefined
|
|
485
|
+
|
|
486
|
+
|
|
487
|
+
</td><td>
|
|
488
|
+
|
|
489
|
+
Whether an emitted particle is being paused.
|
|
490
|
+
|
|
491
|
+
|
|
492
492
|
</td></tr>
|
|
493
493
|
<tr><td>
|
|
494
494
|
|
|
@@ -576,7 +576,28 @@ The rate per second variance of the particle emission rate.
|
|
|
576
576
|
</td></tr>
|
|
577
577
|
<tr><td>
|
|
578
578
|
|
|
579
|
-
[
|
|
579
|
+
[sizeEnd](./server.particleemitter.sizeend.md)
|
|
580
|
+
|
|
581
|
+
|
|
582
|
+
</td><td>
|
|
583
|
+
|
|
584
|
+
`readonly`
|
|
585
|
+
|
|
586
|
+
|
|
587
|
+
</td><td>
|
|
588
|
+
|
|
589
|
+
number \| undefined
|
|
590
|
+
|
|
591
|
+
|
|
592
|
+
</td><td>
|
|
593
|
+
|
|
594
|
+
The size at the end of an emitted particle's lifetime.
|
|
595
|
+
|
|
596
|
+
|
|
597
|
+
</td></tr>
|
|
598
|
+
<tr><td>
|
|
599
|
+
|
|
600
|
+
[sizeEndVariance](./server.particleemitter.sizeendvariance.md)
|
|
580
601
|
|
|
581
602
|
|
|
582
603
|
</td><td>
|
|
@@ -591,7 +612,49 @@ number \| undefined
|
|
|
591
612
|
|
|
592
613
|
</td><td>
|
|
593
614
|
|
|
594
|
-
The size of an emitted particle.
|
|
615
|
+
The size variance at the end of an emitted particle's lifetime.
|
|
616
|
+
|
|
617
|
+
|
|
618
|
+
</td></tr>
|
|
619
|
+
<tr><td>
|
|
620
|
+
|
|
621
|
+
[sizeStart](./server.particleemitter.sizestart.md)
|
|
622
|
+
|
|
623
|
+
|
|
624
|
+
</td><td>
|
|
625
|
+
|
|
626
|
+
`readonly`
|
|
627
|
+
|
|
628
|
+
|
|
629
|
+
</td><td>
|
|
630
|
+
|
|
631
|
+
number \| undefined
|
|
632
|
+
|
|
633
|
+
|
|
634
|
+
</td><td>
|
|
635
|
+
|
|
636
|
+
The size at the start of an emitted particle's lifetime.
|
|
637
|
+
|
|
638
|
+
|
|
639
|
+
</td></tr>
|
|
640
|
+
<tr><td>
|
|
641
|
+
|
|
642
|
+
[sizeStartVariance](./server.particleemitter.sizestartvariance.md)
|
|
643
|
+
|
|
644
|
+
|
|
645
|
+
</td><td>
|
|
646
|
+
|
|
647
|
+
`readonly`
|
|
648
|
+
|
|
649
|
+
|
|
650
|
+
</td><td>
|
|
651
|
+
|
|
652
|
+
number \| undefined
|
|
653
|
+
|
|
654
|
+
|
|
655
|
+
</td><td>
|
|
656
|
+
|
|
657
|
+
The size variance at the start of an emitted particle's lifetime.
|
|
595
658
|
|
|
596
659
|
|
|
597
660
|
</td></tr>
|
|
@@ -765,7 +828,7 @@ Despawns the ParticleEmitter from the world.
|
|
|
765
828
|
|
|
766
829
|
</td><td>
|
|
767
830
|
|
|
768
|
-
Restarts the particle emission if it was previously stopped.
|
|
831
|
+
Restarts the particle emission if it was previously stopped.
|
|
769
832
|
|
|
770
833
|
|
|
771
834
|
</td></tr>
|
|
@@ -1051,7 +1114,35 @@ Sets the rate variance of the particle emission rate.
|
|
|
1051
1114
|
</td></tr>
|
|
1052
1115
|
<tr><td>
|
|
1053
1116
|
|
|
1054
|
-
[
|
|
1117
|
+
[setSizeEnd(sizeEnd)](./server.particleemitter.setsizeend.md)
|
|
1118
|
+
|
|
1119
|
+
|
|
1120
|
+
</td><td>
|
|
1121
|
+
|
|
1122
|
+
|
|
1123
|
+
</td><td>
|
|
1124
|
+
|
|
1125
|
+
Sets the size at the end of an emitted particle's lifetime.
|
|
1126
|
+
|
|
1127
|
+
|
|
1128
|
+
</td></tr>
|
|
1129
|
+
<tr><td>
|
|
1130
|
+
|
|
1131
|
+
[setSizeEndVariance(sizeEndVariance)](./server.particleemitter.setsizeendvariance.md)
|
|
1132
|
+
|
|
1133
|
+
|
|
1134
|
+
</td><td>
|
|
1135
|
+
|
|
1136
|
+
|
|
1137
|
+
</td><td>
|
|
1138
|
+
|
|
1139
|
+
Sets the size variance at the end of an emitted particle's lifetime.
|
|
1140
|
+
|
|
1141
|
+
|
|
1142
|
+
</td></tr>
|
|
1143
|
+
<tr><td>
|
|
1144
|
+
|
|
1145
|
+
[setSizeStart(sizeStart)](./server.particleemitter.setsizestart.md)
|
|
1055
1146
|
|
|
1056
1147
|
|
|
1057
1148
|
</td><td>
|
|
@@ -1059,13 +1150,13 @@ Sets the rate variance of the particle emission rate.
|
|
|
1059
1150
|
|
|
1060
1151
|
</td><td>
|
|
1061
1152
|
|
|
1062
|
-
Sets the size of an emitted particle.
|
|
1153
|
+
Sets the size at the start of an emitted particle's lifetime.
|
|
1063
1154
|
|
|
1064
1155
|
|
|
1065
1156
|
</td></tr>
|
|
1066
1157
|
<tr><td>
|
|
1067
1158
|
|
|
1068
|
-
[
|
|
1159
|
+
[setSizeStartVariance(sizeStartVariance)](./server.particleemitter.setsizestartvariance.md)
|
|
1069
1160
|
|
|
1070
1161
|
|
|
1071
1162
|
</td><td>
|
|
@@ -1073,7 +1164,7 @@ Sets the size of an emitted particle.
|
|
|
1073
1164
|
|
|
1074
1165
|
</td><td>
|
|
1075
1166
|
|
|
1076
|
-
Sets the size variance of an emitted particle.
|
|
1167
|
+
Sets the size variance at the start of an emitted particle's lifetime.
|
|
1077
1168
|
|
|
1078
1169
|
|
|
1079
1170
|
</td></tr>
|
|
@@ -1157,7 +1248,7 @@ Spawns the ParticleEmitter in the world.
|
|
|
1157
1248
|
|
|
1158
1249
|
</td><td>
|
|
1159
1250
|
|
|
1160
|
-
Stops the particle emission
|
|
1251
|
+
Stops the particle emission.
|
|
1161
1252
|
|
|
1162
1253
|
|
|
1163
1254
|
</td></tr>
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [server](./server.md) > [ParticleEmitter](./server.particleemitter.md) > [paused](./server.particleemitter.paused.md)
|
|
4
|
+
|
|
5
|
+
## ParticleEmitter.paused property
|
|
6
|
+
|
|
7
|
+
Whether an emitted particle is being paused.
|
|
8
|
+
|
|
9
|
+
**Signature:**
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
get paused(): boolean | undefined;
|
|
13
|
+
```
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
2
|
|
|
3
|
-
[Home](./index.md) > [server](./server.md) > [ParticleEmitter](./server.particleemitter.md) > [
|
|
3
|
+
[Home](./index.md) > [server](./server.md) > [ParticleEmitter](./server.particleemitter.md) > [setSizeEnd](./server.particleemitter.setsizeend.md)
|
|
4
4
|
|
|
5
|
-
## ParticleEmitter.
|
|
5
|
+
## ParticleEmitter.setSizeEnd() method
|
|
6
6
|
|
|
7
|
-
Sets the size of an emitted particle.
|
|
7
|
+
Sets the size at the end of an emitted particle's lifetime.
|
|
8
8
|
|
|
9
9
|
**Signature:**
|
|
10
10
|
|
|
11
11
|
```typescript
|
|
12
|
-
|
|
12
|
+
setSizeEnd(sizeEnd: number): void;
|
|
13
13
|
```
|
|
14
14
|
|
|
15
15
|
## Parameters
|
|
@@ -32,7 +32,7 @@ Description
|
|
|
32
32
|
</th></tr></thead>
|
|
33
33
|
<tbody><tr><td>
|
|
34
34
|
|
|
35
|
-
|
|
35
|
+
sizeEnd
|
|
36
36
|
|
|
37
37
|
|
|
38
38
|
</td><td>
|
|
@@ -42,7 +42,7 @@ number
|
|
|
42
42
|
|
|
43
43
|
</td><td>
|
|
44
44
|
|
|
45
|
-
The size of an emitted particle.
|
|
45
|
+
The size at the end of an emitted particle's lifetime.
|
|
46
46
|
|
|
47
47
|
|
|
48
48
|
</td></tr>
|