hytopia 0.1.96 → 0.1.97

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 (60) hide show
  1. package/docs/server.md +66 -0
  2. package/docs/server.pathfindabortcallback.md +13 -0
  3. package/docs/server.pathfindcompletecallback.md +13 -0
  4. package/docs/server.pathfindingentitycontroller.debug.md +13 -0
  5. package/docs/server.pathfindingentitycontroller.maxfall.md +13 -0
  6. package/docs/server.pathfindingentitycontroller.maxjump.md +13 -0
  7. package/docs/server.pathfindingentitycontroller.maxopensetiterations.md +13 -0
  8. package/docs/server.pathfindingentitycontroller.md +287 -0
  9. package/docs/server.pathfindingentitycontroller.pathfind.md +87 -0
  10. package/docs/server.pathfindingentitycontroller.speed.md +13 -0
  11. package/docs/server.pathfindingentitycontroller.target.md +13 -0
  12. package/docs/server.pathfindingentitycontroller.verticalpenalty.md +13 -0
  13. package/docs/server.pathfindingentitycontroller.waypointnextindex.md +13 -0
  14. package/docs/server.pathfindingentitycontroller.waypoints.md +13 -0
  15. package/docs/server.pathfindingentitycontroller.waypointtimeoutms.md +13 -0
  16. package/docs/server.pathfindingoptions.md +26 -0
  17. package/docs/server.playerentitycontroller.autocancelmouseleftclick.md +13 -0
  18. package/docs/server.playerentitycontroller.md +19 -0
  19. package/docs/server.playerentitycontrolleroptions.autocancelmouseleftclick.md +13 -0
  20. package/docs/server.playerentitycontrolleroptions.md +19 -0
  21. package/docs/server.simpleentitycontroller.jump.md +53 -0
  22. package/docs/server.simpleentitycontroller.md +14 -0
  23. package/docs/server.waypointmovecompletecallback.md +15 -0
  24. package/docs/server.waypointmoveskippedcallback.md +15 -0
  25. package/examples/ai-agents/.env.example +2 -0
  26. package/examples/ai-agents/README.md +17 -0
  27. package/examples/ai-agents/bun.lockb +0 -0
  28. package/examples/big-world/bun.lockb +0 -0
  29. package/examples/block-entity/bun.lockb +0 -0
  30. package/examples/child-entity/bun.lockb +0 -0
  31. package/examples/child-entity/package-lock.json +30 -0
  32. package/examples/custom-ui/bun.lockb +0 -0
  33. package/examples/entity-controller/bun.lockb +0 -0
  34. package/examples/entity-spawn/bun.lockb +0 -0
  35. package/examples/hole-in-wall-game/bun.lockb +0 -0
  36. package/examples/lighting/bun.lockb +0 -0
  37. package/examples/pathfinding/README.md +3 -0
  38. package/examples/pathfinding/assets/map.json +25828 -0
  39. package/examples/pathfinding/bun.lockb +0 -0
  40. package/examples/pathfinding/index.ts +113 -0
  41. package/examples/pathfinding/package.json +16 -0
  42. package/examples/payload-game/bun.lockb +0 -0
  43. package/examples/wall-dodge-game/bun.lockb +0 -0
  44. package/examples/wall-dodge-game/package-lock.json +30 -0
  45. package/examples/zombies-fps/assets/audio/sfx/pistol-shoot-1.mp3 +0 -0
  46. package/examples/zombies-fps/assets/audio/sfx/pistol-shoot-2.mp3 +0 -0
  47. package/examples/zombies-fps/assets/audio/sfx/pistol-shoot.mp3 +0 -0
  48. package/examples/zombies-fps/assets/maps/terrain.json +0 -12
  49. package/examples/zombies-fps/assets/ui/index.html +35 -0
  50. package/examples/zombies-fps/bun.lockb +0 -0
  51. package/examples/zombies-fps/classes/GamePlayerEntity.ts +49 -16
  52. package/examples/zombies-fps/classes/GunEntity.ts +66 -0
  53. package/examples/zombies-fps/classes/guns/BulletEntity.ts +0 -0
  54. package/examples/zombies-fps/classes/guns/PistolEntity.ts +49 -0
  55. package/examples/zombies-fps/index.ts +5 -1
  56. package/package.json +1 -1
  57. package/server.api.json +713 -0
  58. package/server.d.ts +136 -0
  59. package/server.js +87 -87
  60. package/examples/zombies-fps/classes/WeaponEntity.ts +0 -32
package/docs/server.md CHANGED
@@ -203,6 +203,17 @@ Manages Light instances in a world.
203
203
  Manages model data for all known models of the game.
204
204
 
205
205
 
206
+ </td></tr>
207
+ <tr><td>
208
+
209
+ [PathfindingEntityController](./server.pathfindingentitycontroller.md)
210
+
211
+
212
+ </td><td>
213
+
214
+ A pathfinding entity controller built on top of [SimpleEntityController](./server.simpleentitycontroller.md)<!-- -->.
215
+
216
+
206
217
  </td></tr>
207
218
  <tr><td>
208
219
 
@@ -1144,6 +1155,39 @@ A callback function called when the entity associated with the SimpleEntityContr
1144
1155
  Options for the [SimpleEntityController.move()](./server.simpleentitycontroller.move.md) method.
1145
1156
 
1146
1157
 
1158
+ </td></tr>
1159
+ <tr><td>
1160
+
1161
+ [PathfindAbortCallback](./server.pathfindabortcallback.md)
1162
+
1163
+
1164
+ </td><td>
1165
+
1166
+ A callback function called when the pathfinding algorithm aborts.
1167
+
1168
+
1169
+ </td></tr>
1170
+ <tr><td>
1171
+
1172
+ [PathfindCompleteCallback](./server.pathfindcompletecallback.md)
1173
+
1174
+
1175
+ </td><td>
1176
+
1177
+ A callback function called when the entity associated with the PathfindingEntityController finishes pathfinding and is now at the target coordinate.
1178
+
1179
+
1180
+ </td></tr>
1181
+ <tr><td>
1182
+
1183
+ [PathfindingOptions](./server.pathfindingoptions.md)
1184
+
1185
+
1186
+ </td><td>
1187
+
1188
+ Options for the [PathfindingEntityController.pathfind()](./server.pathfindingentitycontroller.pathfind.md) method.
1189
+
1190
+
1147
1191
  </td></tr>
1148
1192
  <tr><td>
1149
1193
 
@@ -1210,5 +1254,27 @@ Options for raycasting.
1210
1254
  Additional mass properties for a RigidBody.
1211
1255
 
1212
1256
 
1257
+ </td></tr>
1258
+ <tr><td>
1259
+
1260
+ [WaypointMoveCompleteCallback](./server.waypointmovecompletecallback.md)
1261
+
1262
+
1263
+ </td><td>
1264
+
1265
+ A callback function called when the entity associated with the PathfindingEntityController finishes moving to a calculate waypoint of its current path.
1266
+
1267
+
1268
+ </td></tr>
1269
+ <tr><td>
1270
+
1271
+ [WaypointMoveSkippedCallback](./server.waypointmoveskippedcallback.md)
1272
+
1273
+
1274
+ </td><td>
1275
+
1276
+ A callback function called when the entity associated with the PathfindingEntityController skips a waypoint because it took too long to reach.
1277
+
1278
+
1213
1279
  </td></tr>
1214
1280
  </tbody></table>
@@ -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; [PathfindAbortCallback](./server.pathfindabortcallback.md)
4
+
5
+ ## PathfindAbortCallback type
6
+
7
+ A callback function called when the pathfinding algorithm aborts.
8
+
9
+ **Signature:**
10
+
11
+ ```typescript
12
+ export type PathfindAbortCallback = () => void;
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; [PathfindCompleteCallback](./server.pathfindcompletecallback.md)
4
+
5
+ ## PathfindCompleteCallback type
6
+
7
+ A callback function called when the entity associated with the PathfindingEntityController finishes pathfinding and is now at the target coordinate.
8
+
9
+ **Signature:**
10
+
11
+ ```typescript
12
+ export type PathfindCompleteCallback = () => void;
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; [PathfindingEntityController](./server.pathfindingentitycontroller.md) &gt; [debug](./server.pathfindingentitycontroller.debug.md)
4
+
5
+ ## PathfindingEntityController.debug property
6
+
7
+ Whether to enable debug mode or not. When debug mode is enabled, the pathfinding algorithm will log debug information to the console. Defaults to false.
8
+
9
+ **Signature:**
10
+
11
+ ```typescript
12
+ get debug(): boolean;
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; [PathfindingEntityController](./server.pathfindingentitycontroller.md) &gt; [maxFall](./server.pathfindingentitycontroller.maxfall.md)
4
+
5
+ ## PathfindingEntityController.maxFall property
6
+
7
+ The maximum fall distance the entity can fall.
8
+
9
+ **Signature:**
10
+
11
+ ```typescript
12
+ get maxFall(): number;
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; [PathfindingEntityController](./server.pathfindingentitycontroller.md) &gt; [maxJump](./server.pathfindingentitycontroller.maxjump.md)
4
+
5
+ ## PathfindingEntityController.maxJump property
6
+
7
+ The maximum jump distance the entity can jump.
8
+
9
+ **Signature:**
10
+
11
+ ```typescript
12
+ get maxJump(): number;
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; [PathfindingEntityController](./server.pathfindingentitycontroller.md) &gt; [maxOpenSetIterations](./server.pathfindingentitycontroller.maxopensetiterations.md)
4
+
5
+ ## PathfindingEntityController.maxOpenSetIterations property
6
+
7
+ The maximum number of open set iterations that can be processed before aborting pathfinding. Defaults to 200.
8
+
9
+ **Signature:**
10
+
11
+ ```typescript
12
+ get maxOpenSetIterations(): number;
13
+ ```
@@ -0,0 +1,287 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md) &gt; [server](./server.md) &gt; [PathfindingEntityController](./server.pathfindingentitycontroller.md)
4
+
5
+ ## PathfindingEntityController class
6
+
7
+ A pathfinding entity controller built on top of [SimpleEntityController](./server.simpleentitycontroller.md)<!-- -->.
8
+
9
+ **Signature:**
10
+
11
+ ```typescript
12
+ export default class PathfindingEntityController extends SimpleEntityController
13
+ ```
14
+ **Extends:** [SimpleEntityController](./server.simpleentitycontroller.md)
15
+
16
+ ## Remarks
17
+
18
+ This class implements pathfinding using the A\* algorithm. Pathfinding when frequently called can cause performance issues, use it sparingly. The .pathfind() method should only need to be called once in nearly all cases when attempting to move an entity to a target coordinate.
19
+
20
+ ## Properties
21
+
22
+ <table><thead><tr><th>
23
+
24
+ Property
25
+
26
+
27
+ </th><th>
28
+
29
+ Modifiers
30
+
31
+
32
+ </th><th>
33
+
34
+ Type
35
+
36
+
37
+ </th><th>
38
+
39
+ Description
40
+
41
+
42
+ </th></tr></thead>
43
+ <tbody><tr><td>
44
+
45
+ [debug](./server.pathfindingentitycontroller.debug.md)
46
+
47
+
48
+ </td><td>
49
+
50
+ `readonly`
51
+
52
+
53
+ </td><td>
54
+
55
+ boolean
56
+
57
+
58
+ </td><td>
59
+
60
+ Whether to enable debug mode or not. When debug mode is enabled, the pathfinding algorithm will log debug information to the console. Defaults to false.
61
+
62
+
63
+ </td></tr>
64
+ <tr><td>
65
+
66
+ [maxFall](./server.pathfindingentitycontroller.maxfall.md)
67
+
68
+
69
+ </td><td>
70
+
71
+ `readonly`
72
+
73
+
74
+ </td><td>
75
+
76
+ number
77
+
78
+
79
+ </td><td>
80
+
81
+ The maximum fall distance the entity can fall.
82
+
83
+
84
+ </td></tr>
85
+ <tr><td>
86
+
87
+ [maxJump](./server.pathfindingentitycontroller.maxjump.md)
88
+
89
+
90
+ </td><td>
91
+
92
+ `readonly`
93
+
94
+
95
+ </td><td>
96
+
97
+ number
98
+
99
+
100
+ </td><td>
101
+
102
+ The maximum jump distance the entity can jump.
103
+
104
+
105
+ </td></tr>
106
+ <tr><td>
107
+
108
+ [maxOpenSetIterations](./server.pathfindingentitycontroller.maxopensetiterations.md)
109
+
110
+
111
+ </td><td>
112
+
113
+ `readonly`
114
+
115
+
116
+ </td><td>
117
+
118
+ number
119
+
120
+
121
+ </td><td>
122
+
123
+ The maximum number of open set iterations that can be processed before aborting pathfinding. Defaults to 200.
124
+
125
+
126
+ </td></tr>
127
+ <tr><td>
128
+
129
+ [speed](./server.pathfindingentitycontroller.speed.md)
130
+
131
+
132
+ </td><td>
133
+
134
+ `readonly`
135
+
136
+
137
+ </td><td>
138
+
139
+ number
140
+
141
+
142
+ </td><td>
143
+
144
+ The speed of the entity.
145
+
146
+
147
+ </td></tr>
148
+ <tr><td>
149
+
150
+ [target](./server.pathfindingentitycontroller.target.md)
151
+
152
+
153
+ </td><td>
154
+
155
+ `readonly`
156
+
157
+
158
+ </td><td>
159
+
160
+ [Vector3Like](./server.vector3like.md) \| undefined
161
+
162
+
163
+ </td><td>
164
+
165
+ The target coordinate to pathfind to.
166
+
167
+
168
+ </td></tr>
169
+ <tr><td>
170
+
171
+ [verticalPenalty](./server.pathfindingentitycontroller.verticalpenalty.md)
172
+
173
+
174
+ </td><td>
175
+
176
+ `readonly`
177
+
178
+
179
+ </td><td>
180
+
181
+ number
182
+
183
+
184
+ </td><td>
185
+
186
+ The vertical penalty for the pathfinding algorithm. A higher value will prefer paths with less vertical movement.
187
+
188
+
189
+ </td></tr>
190
+ <tr><td>
191
+
192
+ [waypointNextIndex](./server.pathfindingentitycontroller.waypointnextindex.md)
193
+
194
+
195
+ </td><td>
196
+
197
+ `readonly`
198
+
199
+
200
+ </td><td>
201
+
202
+ number
203
+
204
+
205
+ </td><td>
206
+
207
+ The index representing the next waypoint moving towards of the current set of waypoints being followed.
208
+
209
+
210
+ </td></tr>
211
+ <tr><td>
212
+
213
+ [waypoints](./server.pathfindingentitycontroller.waypoints.md)
214
+
215
+
216
+ </td><td>
217
+
218
+ `readonly`
219
+
220
+
221
+ </td><td>
222
+
223
+ [Vector3Like](./server.vector3like.md)<!-- -->\[\]
224
+
225
+
226
+ </td><td>
227
+
228
+ The current waypoints being followed.
229
+
230
+
231
+ </td></tr>
232
+ <tr><td>
233
+
234
+ [waypointTimeoutMs](./server.pathfindingentitycontroller.waypointtimeoutms.md)
235
+
236
+
237
+ </td><td>
238
+
239
+ `readonly`
240
+
241
+
242
+ </td><td>
243
+
244
+ number
245
+
246
+
247
+ </td><td>
248
+
249
+ The timeout in milliseconds for a waypoint to be considered reached. Defaults to 2000ms divided by the speed of the entity.
250
+
251
+
252
+ </td></tr>
253
+ </tbody></table>
254
+
255
+ ## Methods
256
+
257
+ <table><thead><tr><th>
258
+
259
+ Method
260
+
261
+
262
+ </th><th>
263
+
264
+ Modifiers
265
+
266
+
267
+ </th><th>
268
+
269
+ Description
270
+
271
+
272
+ </th></tr></thead>
273
+ <tbody><tr><td>
274
+
275
+ [pathfind(target, speed, options)](./server.pathfindingentitycontroller.pathfind.md)
276
+
277
+
278
+ </td><td>
279
+
280
+
281
+ </td><td>
282
+
283
+ Calculate a path and move to the target if a path is found. Returns true if a path is found, false if no path is found.
284
+
285
+
286
+ </td></tr>
287
+ </tbody></table>
@@ -0,0 +1,87 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md) &gt; [server](./server.md) &gt; [PathfindingEntityController](./server.pathfindingentitycontroller.md) &gt; [pathfind](./server.pathfindingentitycontroller.pathfind.md)
4
+
5
+ ## PathfindingEntityController.pathfind() method
6
+
7
+ Calculate a path and move to the target if a path is found. Returns true if a path is found, false if no path is found.
8
+
9
+ **Signature:**
10
+
11
+ ```typescript
12
+ pathfind(target: Vector3Like, speed: number, options?: PathfindingOptions): boolean;
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
+ target
36
+
37
+
38
+ </td><td>
39
+
40
+ [Vector3Like](./server.vector3like.md)
41
+
42
+
43
+ </td><td>
44
+
45
+ The target coordinate to pathfind to.
46
+
47
+
48
+ </td></tr>
49
+ <tr><td>
50
+
51
+ speed
52
+
53
+
54
+ </td><td>
55
+
56
+ number
57
+
58
+
59
+ </td><td>
60
+
61
+ The speed of the entity.
62
+
63
+
64
+ </td></tr>
65
+ <tr><td>
66
+
67
+ options
68
+
69
+
70
+ </td><td>
71
+
72
+ [PathfindingOptions](./server.pathfindingoptions.md)
73
+
74
+
75
+ </td><td>
76
+
77
+ _(Optional)_ The pathfinding options.
78
+
79
+
80
+ </td></tr>
81
+ </tbody></table>
82
+ **Returns:**
83
+
84
+ boolean
85
+
86
+ Whether the path was found.
87
+
@@ -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; [PathfindingEntityController](./server.pathfindingentitycontroller.md) &gt; [speed](./server.pathfindingentitycontroller.speed.md)
4
+
5
+ ## PathfindingEntityController.speed property
6
+
7
+ The speed of the entity.
8
+
9
+ **Signature:**
10
+
11
+ ```typescript
12
+ get speed(): number;
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; [PathfindingEntityController](./server.pathfindingentitycontroller.md) &gt; [target](./server.pathfindingentitycontroller.target.md)
4
+
5
+ ## PathfindingEntityController.target property
6
+
7
+ The target coordinate to pathfind to.
8
+
9
+ **Signature:**
10
+
11
+ ```typescript
12
+ get target(): 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; [PathfindingEntityController](./server.pathfindingentitycontroller.md) &gt; [verticalPenalty](./server.pathfindingentitycontroller.verticalpenalty.md)
4
+
5
+ ## PathfindingEntityController.verticalPenalty property
6
+
7
+ The vertical penalty for the pathfinding algorithm. A higher value will prefer paths with less vertical movement.
8
+
9
+ **Signature:**
10
+
11
+ ```typescript
12
+ get verticalPenalty(): number;
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; [PathfindingEntityController](./server.pathfindingentitycontroller.md) &gt; [waypointNextIndex](./server.pathfindingentitycontroller.waypointnextindex.md)
4
+
5
+ ## PathfindingEntityController.waypointNextIndex property
6
+
7
+ The index representing the next waypoint moving towards of the current set of waypoints being followed.
8
+
9
+ **Signature:**
10
+
11
+ ```typescript
12
+ get waypointNextIndex(): number;
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; [PathfindingEntityController](./server.pathfindingentitycontroller.md) &gt; [waypoints](./server.pathfindingentitycontroller.waypoints.md)
4
+
5
+ ## PathfindingEntityController.waypoints property
6
+
7
+ The current waypoints being followed.
8
+
9
+ **Signature:**
10
+
11
+ ```typescript
12
+ get waypoints(): Vector3Like[];
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; [PathfindingEntityController](./server.pathfindingentitycontroller.md) &gt; [waypointTimeoutMs](./server.pathfindingentitycontroller.waypointtimeoutms.md)
4
+
5
+ ## PathfindingEntityController.waypointTimeoutMs property
6
+
7
+ The timeout in milliseconds for a waypoint to be considered reached. Defaults to 2000ms divided by the speed of the entity.
8
+
9
+ **Signature:**
10
+
11
+ ```typescript
12
+ get waypointTimeoutMs(): number;
13
+ ```
@@ -0,0 +1,26 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md) &gt; [server](./server.md) &gt; [PathfindingOptions](./server.pathfindingoptions.md)
4
+
5
+ ## PathfindingOptions type
6
+
7
+ Options for the [PathfindingEntityController.pathfind()](./server.pathfindingentitycontroller.pathfind.md) method.
8
+
9
+ **Signature:**
10
+
11
+ ```typescript
12
+ export type PathfindingOptions = {
13
+ debug?: boolean;
14
+ maxFall?: number;
15
+ maxJump?: number;
16
+ maxOpenSetIterations?: number;
17
+ pathfindAbortCallback?: PathfindAbortCallback;
18
+ pathfindCompleteCallback?: PathfindCompleteCallback;
19
+ verticalPenalty?: number;
20
+ waypointMoveCompleteCallback?: WaypointMoveCompleteCallback;
21
+ waypointMoveSkippedCallback?: WaypointMoveSkippedCallback;
22
+ waypointTimeoutMs?: number;
23
+ };
24
+ ```
25
+ **References:** [PathfindAbortCallback](./server.pathfindabortcallback.md)<!-- -->, [PathfindCompleteCallback](./server.pathfindcompletecallback.md)<!-- -->, [WaypointMoveCompleteCallback](./server.waypointmovecompletecallback.md)<!-- -->, [WaypointMoveSkippedCallback](./server.waypointmoveskippedcallback.md)
26
+
@@ -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; [PlayerEntityController](./server.playerentitycontroller.md) &gt; [autoCancelMouseLeftClick](./server.playerentitycontroller.autocancelmouseleftclick.md)
4
+
5
+ ## PlayerEntityController.autoCancelMouseLeftClick property
6
+
7
+ Whether to automatically cancel left click input after first processed tick, defaults to true.
8
+
9
+ **Signature:**
10
+
11
+ ```typescript
12
+ autoCancelMouseLeftClick: boolean;
13
+ ```
@@ -91,6 +91,25 @@ Description
91
91
  </th></tr></thead>
92
92
  <tbody><tr><td>
93
93
 
94
+ [autoCancelMouseLeftClick](./server.playerentitycontroller.autocancelmouseleftclick.md)
95
+
96
+
97
+ </td><td>
98
+
99
+
100
+ </td><td>
101
+
102
+ boolean
103
+
104
+
105
+ </td><td>
106
+
107
+ Whether to automatically cancel left click input after first processed tick, defaults to true.
108
+
109
+
110
+ </td></tr>
111
+ <tr><td>
112
+
94
113
  [canJump](./server.playerentitycontroller.canjump.md)
95
114
 
96
115