hytopia 0.6.31 → 0.6.33

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (134) hide show
  1. package/bun-server.mjs +162 -162
  2. package/docs/server.eventpayloads.md +2 -2
  3. package/docs/server.light.md +1 -1
  4. package/docs/server.light.spawn.md +2 -2
  5. package/docs/server.md +53 -0
  6. package/docs/server.particleemitter._constructor_.md +47 -0
  7. package/docs/server.particleemitter.alphatest.md +13 -0
  8. package/docs/server.particleemitter.attachedtoentity.md +13 -0
  9. package/docs/server.particleemitter.attachedtoentitynodename.md +13 -0
  10. package/docs/server.particleemitter.colorend.md +13 -0
  11. package/docs/server.particleemitter.colorendvariance.md +13 -0
  12. package/docs/server.particleemitter.colorstart.md +13 -0
  13. package/docs/server.particleemitter.colorstartvariance.md +13 -0
  14. package/docs/server.particleemitter.despawn.md +17 -0
  15. package/docs/server.particleemitter.gravity.md +13 -0
  16. package/docs/server.particleemitter.id.md +13 -0
  17. package/docs/server.particleemitter.isspawned.md +13 -0
  18. package/docs/server.particleemitter.isstopped.md +13 -0
  19. package/docs/server.particleemitter.lifetime.md +13 -0
  20. package/docs/server.particleemitter.lifetimevariance.md +13 -0
  21. package/docs/server.particleemitter.maxparticles.md +13 -0
  22. package/docs/server.particleemitter.md +1164 -0
  23. package/docs/server.particleemitter.offset.md +13 -0
  24. package/docs/server.particleemitter.opacityend.md +13 -0
  25. package/docs/server.particleemitter.opacityendvariance.md +13 -0
  26. package/docs/server.particleemitter.opacitystart.md +13 -0
  27. package/docs/server.particleemitter.opacitystartvariance.md +13 -0
  28. package/docs/server.particleemitter.position.md +13 -0
  29. package/docs/server.particleemitter.positionvariance.md +13 -0
  30. package/docs/server.particleemitter.rate.md +13 -0
  31. package/docs/server.particleemitter.ratevariance.md +13 -0
  32. package/docs/server.particleemitter.restart.md +17 -0
  33. package/docs/server.particleemitter.setalphatest.md +53 -0
  34. package/docs/server.particleemitter.setattachedtoentity.md +53 -0
  35. package/docs/server.particleemitter.setattachedtoentitynodename.md +53 -0
  36. package/docs/server.particleemitter.setcolorend.md +53 -0
  37. package/docs/server.particleemitter.setcolorendvariance.md +53 -0
  38. package/docs/server.particleemitter.setcolorstart.md +53 -0
  39. package/docs/server.particleemitter.setcolorstartvariance.md +53 -0
  40. package/docs/server.particleemitter.setgravity.md +53 -0
  41. package/docs/server.particleemitter.setlifetime.md +53 -0
  42. package/docs/server.particleemitter.setlifetimevariance.md +53 -0
  43. package/docs/server.particleemitter.setmaxparticles.md +53 -0
  44. package/docs/server.particleemitter.setoffset.md +53 -0
  45. package/docs/server.particleemitter.setopacityend.md +53 -0
  46. package/docs/server.particleemitter.setopacityendvariance.md +53 -0
  47. package/docs/server.particleemitter.setopacitystart.md +53 -0
  48. package/docs/server.particleemitter.setopacitystartvariance.md +53 -0
  49. package/docs/server.particleemitter.setposition.md +53 -0
  50. package/docs/server.particleemitter.setpositionvariance.md +53 -0
  51. package/docs/server.particleemitter.setrate.md +53 -0
  52. package/docs/server.particleemitter.setratevariance.md +53 -0
  53. package/docs/server.particleemitter.setsize.md +53 -0
  54. package/docs/server.particleemitter.setsizevariance.md +53 -0
  55. package/docs/server.particleemitter.settextureuri.md +53 -0
  56. package/docs/server.particleemitter.settransparent.md +53 -0
  57. package/docs/server.particleemitter.setvelocity.md +53 -0
  58. package/docs/server.particleemitter.setvelocityvariance.md +53 -0
  59. package/docs/server.particleemitter.size.md +13 -0
  60. package/docs/server.particleemitter.sizevariance.md +13 -0
  61. package/docs/server.particleemitter.spawn.md +53 -0
  62. package/docs/server.particleemitter.stop.md +17 -0
  63. package/docs/server.particleemitter.textureuri.md +13 -0
  64. package/docs/server.particleemitter.transparent.md +13 -0
  65. package/docs/server.particleemitter.velocity.md +13 -0
  66. package/docs/server.particleemitter.velocityvariance.md +13 -0
  67. package/docs/server.particleemitter.world.md +13 -0
  68. package/docs/server.particleemitterevent.md +425 -0
  69. package/docs/server.particleemittereventpayloads._particle_emitter.despawn_.md +15 -0
  70. package/docs/server.particleemittereventpayloads._particle_emitter.set_alpha_test_.md +16 -0
  71. package/docs/server.particleemittereventpayloads._particle_emitter.set_attached_to_entity_.md +16 -0
  72. package/docs/server.particleemittereventpayloads._particle_emitter.set_attached_to_entity_node_name_.md +16 -0
  73. package/docs/server.particleemittereventpayloads._particle_emitter.set_color_end_.md +16 -0
  74. package/docs/server.particleemittereventpayloads._particle_emitter.set_color_end_variance_.md +16 -0
  75. package/docs/server.particleemittereventpayloads._particle_emitter.set_color_start_.md +16 -0
  76. package/docs/server.particleemittereventpayloads._particle_emitter.set_color_start_variance_.md +16 -0
  77. package/docs/server.particleemittereventpayloads._particle_emitter.set_gravity_.md +16 -0
  78. package/docs/server.particleemittereventpayloads._particle_emitter.set_lifetime_.md +16 -0
  79. package/docs/server.particleemittereventpayloads._particle_emitter.set_lifetime_variance_.md +16 -0
  80. package/docs/server.particleemittereventpayloads._particle_emitter.set_max_particles_.md +16 -0
  81. package/docs/server.particleemittereventpayloads._particle_emitter.set_offset_.md +16 -0
  82. package/docs/server.particleemittereventpayloads._particle_emitter.set_opacity_end_.md +16 -0
  83. package/docs/server.particleemittereventpayloads._particle_emitter.set_opacity_end_variance_.md +16 -0
  84. package/docs/server.particleemittereventpayloads._particle_emitter.set_opacity_start_.md +16 -0
  85. package/docs/server.particleemittereventpayloads._particle_emitter.set_opacity_start_variance_.md +16 -0
  86. package/docs/server.particleemittereventpayloads._particle_emitter.set_position_.md +16 -0
  87. package/docs/server.particleemittereventpayloads._particle_emitter.set_position_variance_.md +16 -0
  88. package/docs/server.particleemittereventpayloads._particle_emitter.set_rate_.md +16 -0
  89. package/docs/server.particleemittereventpayloads._particle_emitter.set_rate_variance_.md +16 -0
  90. package/docs/server.particleemittereventpayloads._particle_emitter.set_size_.md +16 -0
  91. package/docs/server.particleemittereventpayloads._particle_emitter.set_size_variance_.md +16 -0
  92. package/docs/server.particleemittereventpayloads._particle_emitter.set_texture_uri_.md +16 -0
  93. package/docs/server.particleemittereventpayloads._particle_emitter.set_transparent_.md +16 -0
  94. package/docs/server.particleemittereventpayloads._particle_emitter.set_velocity_.md +16 -0
  95. package/docs/server.particleemittereventpayloads._particle_emitter.set_velocity_variance_.md +16 -0
  96. package/docs/server.particleemittereventpayloads._particle_emitter.spawn_.md +15 -0
  97. package/docs/server.particleemittereventpayloads.md +570 -0
  98. package/docs/server.particleemittermanager.getallentityattachedparticleemitters.md +55 -0
  99. package/docs/server.particleemittermanager.getallparticleemitters.md +19 -0
  100. package/docs/server.particleemittermanager.md +113 -0
  101. package/docs/server.particleemittermanager.world.md +13 -0
  102. package/docs/server.particleemitteroptions.alphatest.md +13 -0
  103. package/docs/server.particleemitteroptions.attachedtoentity.md +13 -0
  104. package/docs/server.particleemitteroptions.attachedtoentitynodename.md +13 -0
  105. package/docs/server.particleemitteroptions.colorend.md +13 -0
  106. package/docs/server.particleemitteroptions.colorendvariance.md +13 -0
  107. package/docs/server.particleemitteroptions.colorstart.md +13 -0
  108. package/docs/server.particleemitteroptions.colorstartvariance.md +13 -0
  109. package/docs/server.particleemitteroptions.gravity.md +13 -0
  110. package/docs/server.particleemitteroptions.lifetime.md +13 -0
  111. package/docs/server.particleemitteroptions.lifetimevariance.md +13 -0
  112. package/docs/server.particleemitteroptions.maxparticles.md +13 -0
  113. package/docs/server.particleemitteroptions.md +530 -0
  114. package/docs/server.particleemitteroptions.offset.md +13 -0
  115. package/docs/server.particleemitteroptions.opacityend.md +13 -0
  116. package/docs/server.particleemitteroptions.opacityendvariance.md +13 -0
  117. package/docs/server.particleemitteroptions.opacitystart.md +13 -0
  118. package/docs/server.particleemitteroptions.opacitystartvariance.md +13 -0
  119. package/docs/server.particleemitteroptions.position.md +13 -0
  120. package/docs/server.particleemitteroptions.positionvariance.md +13 -0
  121. package/docs/server.particleemitteroptions.rate.md +13 -0
  122. package/docs/server.particleemitteroptions.ratevariance.md +13 -0
  123. package/docs/server.particleemitteroptions.size.md +13 -0
  124. package/docs/server.particleemitteroptions.sizevariance.md +13 -0
  125. package/docs/server.particleemitteroptions.textureuri.md +13 -0
  126. package/docs/server.particleemitteroptions.transparent.md +13 -0
  127. package/docs/server.particleemitteroptions.velocity.md +13 -0
  128. package/docs/server.particleemitteroptions.velocityvariance.md +13 -0
  129. package/docs/server.world.md +21 -0
  130. package/docs/server.world.particleemittermanager.md +13 -0
  131. package/node-server.mjs +155 -155
  132. package/package.json +1 -1
  133. package/server.api.json +5557 -220
  134. package/server.d.ts +566 -3
@@ -0,0 +1,53 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md) &gt; [server](./server.md) &gt; [ParticleEmitter](./server.particleemitter.md) &gt; [setTransparent](./server.particleemitter.settransparent.md)
4
+
5
+ ## ParticleEmitter.setTransparent() method
6
+
7
+ Sets the transparency of the particle emitter.
8
+
9
+ **Signature:**
10
+
11
+ ```typescript
12
+ setTransparent(transparent: 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
+ transparent
36
+
37
+
38
+ </td><td>
39
+
40
+ boolean
41
+
42
+
43
+ </td><td>
44
+
45
+ The transparency of the particle emitter.
46
+
47
+
48
+ </td></tr>
49
+ </tbody></table>
50
+ **Returns:**
51
+
52
+ void
53
+
@@ -0,0 +1,53 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md) &gt; [server](./server.md) &gt; [ParticleEmitter](./server.particleemitter.md) &gt; [setVelocity](./server.particleemitter.setvelocity.md)
4
+
5
+ ## ParticleEmitter.setVelocity() method
6
+
7
+ Sets the velocity of an emitted particle.
8
+
9
+ **Signature:**
10
+
11
+ ```typescript
12
+ setVelocity(velocity: Vector3Like): 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
+ velocity
36
+
37
+
38
+ </td><td>
39
+
40
+ [Vector3Like](./server.vector3like.md)
41
+
42
+
43
+ </td><td>
44
+
45
+ The velocity of an emitted particle.
46
+
47
+
48
+ </td></tr>
49
+ </tbody></table>
50
+ **Returns:**
51
+
52
+ void
53
+
@@ -0,0 +1,53 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md) &gt; [server](./server.md) &gt; [ParticleEmitter](./server.particleemitter.md) &gt; [setVelocityVariance](./server.particleemitter.setvelocityvariance.md)
4
+
5
+ ## ParticleEmitter.setVelocityVariance() method
6
+
7
+ Sets the velocity variance of an emitted particle.
8
+
9
+ **Signature:**
10
+
11
+ ```typescript
12
+ setVelocityVariance(velocityVariance: Vector3Like): 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
+ velocityVariance
36
+
37
+
38
+ </td><td>
39
+
40
+ [Vector3Like](./server.vector3like.md)
41
+
42
+
43
+ </td><td>
44
+
45
+ The velocity variance of an emitted particle.
46
+
47
+
48
+ </td></tr>
49
+ </tbody></table>
50
+ **Returns:**
51
+
52
+ void
53
+
@@ -0,0 +1,13 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md) &gt; [server](./server.md) &gt; [ParticleEmitter](./server.particleemitter.md) &gt; [size](./server.particleemitter.size.md)
4
+
5
+ ## ParticleEmitter.size property
6
+
7
+ The size of an emitted particle.
8
+
9
+ **Signature:**
10
+
11
+ ```typescript
12
+ get size(): number | undefined;
13
+ ```
@@ -0,0 +1,13 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md) &gt; [server](./server.md) &gt; [ParticleEmitter](./server.particleemitter.md) &gt; [sizeVariance](./server.particleemitter.sizevariance.md)
4
+
5
+ ## ParticleEmitter.sizeVariance property
6
+
7
+ The size variance of an emitted particle.
8
+
9
+ **Signature:**
10
+
11
+ ```typescript
12
+ get sizeVariance(): number | undefined;
13
+ ```
@@ -0,0 +1,53 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md) &gt; [server](./server.md) &gt; [ParticleEmitter](./server.particleemitter.md) &gt; [spawn](./server.particleemitter.spawn.md)
4
+
5
+ ## ParticleEmitter.spawn() method
6
+
7
+ Spawns the ParticleEmitter in the world.
8
+
9
+ **Signature:**
10
+
11
+ ```typescript
12
+ spawn(world: World): 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
+ world
36
+
37
+
38
+ </td><td>
39
+
40
+ [World](./server.world.md)
41
+
42
+
43
+ </td><td>
44
+
45
+ The world to spawn the ParticleEmitter in.
46
+
47
+
48
+ </td></tr>
49
+ </tbody></table>
50
+ **Returns:**
51
+
52
+ void
53
+
@@ -0,0 +1,17 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md) &gt; [server](./server.md) &gt; [ParticleEmitter](./server.particleemitter.md) &gt; [stop](./server.particleemitter.stop.md)
4
+
5
+ ## ParticleEmitter.stop() method
6
+
7
+ Stops the particle emission if it was previously started. Internally, this sets the rate to 0.
8
+
9
+ **Signature:**
10
+
11
+ ```typescript
12
+ stop(): void;
13
+ ```
14
+ **Returns:**
15
+
16
+ void
17
+
@@ -0,0 +1,13 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md) &gt; [server](./server.md) &gt; [ParticleEmitter](./server.particleemitter.md) &gt; [textureUri](./server.particleemitter.textureuri.md)
4
+
5
+ ## ParticleEmitter.textureUri property
6
+
7
+ The URI or path to the texture to be used for the particles.
8
+
9
+ **Signature:**
10
+
11
+ ```typescript
12
+ get textureUri(): string;
13
+ ```
@@ -0,0 +1,13 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md) &gt; [server](./server.md) &gt; [ParticleEmitter](./server.particleemitter.md) &gt; [transparent](./server.particleemitter.transparent.md)
4
+
5
+ ## ParticleEmitter.transparent property
6
+
7
+ Whether an emitted particle is transparent, resulting in smoother transparency blending.
8
+
9
+ **Signature:**
10
+
11
+ ```typescript
12
+ get transparent(): boolean | undefined;
13
+ ```
@@ -0,0 +1,13 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md) &gt; [server](./server.md) &gt; [ParticleEmitter](./server.particleemitter.md) &gt; [velocity](./server.particleemitter.velocity.md)
4
+
5
+ ## ParticleEmitter.velocity property
6
+
7
+ The velocity of an emitted particle.
8
+
9
+ **Signature:**
10
+
11
+ ```typescript
12
+ get velocity(): Vector3Like | undefined;
13
+ ```
@@ -0,0 +1,13 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md) &gt; [server](./server.md) &gt; [ParticleEmitter](./server.particleemitter.md) &gt; [velocityVariance](./server.particleemitter.velocityvariance.md)
4
+
5
+ ## ParticleEmitter.velocityVariance property
6
+
7
+ The velocity variance of an emitted particle.
8
+
9
+ **Signature:**
10
+
11
+ ```typescript
12
+ get velocityVariance(): Vector3Like | undefined;
13
+ ```
@@ -0,0 +1,13 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md) &gt; [server](./server.md) &gt; [ParticleEmitter](./server.particleemitter.md) &gt; [world](./server.particleemitter.world.md)
4
+
5
+ ## ParticleEmitter.world property
6
+
7
+ The world the ParticleEmitter is in.
8
+
9
+ **Signature:**
10
+
11
+ ```typescript
12
+ get world(): World | undefined;
13
+ ```