hytopia 0.5.6-dev13 → 0.5.6-dev15
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/docs/server.blocktype.collideroptions.md +1 -1
- package/docs/server.blocktype.md +1 -1
- package/docs/server.blocktypeoptions.customcollideroptions.md +1 -1
- package/docs/server.blocktypeoptions.md +1 -1
- package/docs/server.collider.md +0 -14
- package/docs/server.collideroptions.md +2 -2
- package/docs/server.collidershape.md +0 -14
- package/docs/server.md +0 -11
- package/package.json +1 -1
- package/server.api.json +5 -220
- package/server.d.ts +6 -25
- package/server.js +175 -175
- package/docs/server.collider.setvoxel.md +0 -69
- package/docs/server.voxelscollideroptions.coordinates.md +0 -13
- package/docs/server.voxelscollideroptions.md +0 -94
- package/docs/server.voxelscollideroptions.shape.md +0 -11
- package/docs/server.voxelscollideroptions.size.md +0 -13
@@ -1,69 +0,0 @@
|
|
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
|
-
|
@@ -1,13 +0,0 @@
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
2
|
-
|
3
|
-
[Home](./index.md) > [server](./server.md) > [VoxelsColliderOptions](./server.voxelscollideroptions.md) > [coordinates](./server.voxelscollideroptions.coordinates.md)
|
4
|
-
|
5
|
-
## VoxelsColliderOptions.coordinates property
|
6
|
-
|
7
|
-
The coordinate of each voxel in the collider.
|
8
|
-
|
9
|
-
**Signature:**
|
10
|
-
|
11
|
-
```typescript
|
12
|
-
coordinates?: Vector3Like[];
|
13
|
-
```
|
@@ -1,94 +0,0 @@
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
2
|
-
|
3
|
-
[Home](./index.md) > [server](./server.md) > [VoxelsColliderOptions](./server.voxelscollideroptions.md)
|
4
|
-
|
5
|
-
## VoxelsColliderOptions interface
|
6
|
-
|
7
|
-
The options for a voxels collider.
|
8
|
-
|
9
|
-
**Signature:**
|
10
|
-
|
11
|
-
```typescript
|
12
|
-
export interface VoxelsColliderOptions extends BaseColliderOptions
|
13
|
-
```
|
14
|
-
**Extends:** [BaseColliderOptions](./server.basecollideroptions.md)
|
15
|
-
|
16
|
-
## Properties
|
17
|
-
|
18
|
-
<table><thead><tr><th>
|
19
|
-
|
20
|
-
Property
|
21
|
-
|
22
|
-
|
23
|
-
</th><th>
|
24
|
-
|
25
|
-
Modifiers
|
26
|
-
|
27
|
-
|
28
|
-
</th><th>
|
29
|
-
|
30
|
-
Type
|
31
|
-
|
32
|
-
|
33
|
-
</th><th>
|
34
|
-
|
35
|
-
Description
|
36
|
-
|
37
|
-
|
38
|
-
</th></tr></thead>
|
39
|
-
<tbody><tr><td>
|
40
|
-
|
41
|
-
[coordinates?](./server.voxelscollideroptions.coordinates.md)
|
42
|
-
|
43
|
-
|
44
|
-
</td><td>
|
45
|
-
|
46
|
-
|
47
|
-
</td><td>
|
48
|
-
|
49
|
-
[Vector3Like](./server.vector3like.md)<!-- -->\[\]
|
50
|
-
|
51
|
-
|
52
|
-
</td><td>
|
53
|
-
|
54
|
-
_(Optional)_ The coordinate of each voxel in the collider.
|
55
|
-
|
56
|
-
|
57
|
-
</td></tr>
|
58
|
-
<tr><td>
|
59
|
-
|
60
|
-
[shape](./server.voxelscollideroptions.shape.md)
|
61
|
-
|
62
|
-
|
63
|
-
</td><td>
|
64
|
-
|
65
|
-
|
66
|
-
</td><td>
|
67
|
-
|
68
|
-
[ColliderShape.VOXELS](./server.collidershape.md)
|
69
|
-
|
70
|
-
|
71
|
-
</td><td>
|
72
|
-
|
73
|
-
|
74
|
-
</td></tr>
|
75
|
-
<tr><td>
|
76
|
-
|
77
|
-
[size?](./server.voxelscollideroptions.size.md)
|
78
|
-
|
79
|
-
|
80
|
-
</td><td>
|
81
|
-
|
82
|
-
|
83
|
-
</td><td>
|
84
|
-
|
85
|
-
[Vector3Like](./server.vector3like.md)
|
86
|
-
|
87
|
-
|
88
|
-
</td><td>
|
89
|
-
|
90
|
-
_(Optional)_ The size of each voxel in the collider.
|
91
|
-
|
92
|
-
|
93
|
-
</td></tr>
|
94
|
-
</tbody></table>
|
@@ -1,11 +0,0 @@
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
2
|
-
|
3
|
-
[Home](./index.md) > [server](./server.md) > [VoxelsColliderOptions](./server.voxelscollideroptions.md) > [shape](./server.voxelscollideroptions.shape.md)
|
4
|
-
|
5
|
-
## VoxelsColliderOptions.shape property
|
6
|
-
|
7
|
-
**Signature:**
|
8
|
-
|
9
|
-
```typescript
|
10
|
-
shape: ColliderShape.VOXELS;
|
11
|
-
```
|
@@ -1,13 +0,0 @@
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
2
|
-
|
3
|
-
[Home](./index.md) > [server](./server.md) > [VoxelsColliderOptions](./server.voxelscollideroptions.md) > [size](./server.voxelscollideroptions.size.md)
|
4
|
-
|
5
|
-
## VoxelsColliderOptions.size property
|
6
|
-
|
7
|
-
The size of each voxel in the collider.
|
8
|
-
|
9
|
-
**Signature:**
|
10
|
-
|
11
|
-
```typescript
|
12
|
-
size?: Vector3Like;
|
13
|
-
```
|