bc-minecraft-bedrock-command 1.0.17

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 (39) hide show
  1. package/LICENSE +29 -0
  2. package/README.md +13 -0
  3. package/lib/src/Lib/Data/CommandContainer.d.ts +6 -0
  4. package/lib/src/Lib/Data/CommandContainer.js +3 -0
  5. package/lib/src/Lib/Data/CommandContainer.js.map +1 -0
  6. package/lib/src/Lib/Data/CommandInfo.d.ts +36 -0
  7. package/lib/src/Lib/Data/CommandInfo.js +3 -0
  8. package/lib/src/Lib/Data/CommandInfo.js.map +1 -0
  9. package/lib/src/Lib/Data/Edu.d.ts +2 -0
  10. package/lib/src/Lib/Data/Edu.js +110 -0
  11. package/lib/src/Lib/Data/Edu.js.map +1 -0
  12. package/lib/src/Lib/Data/Vanilla.d.ts +2 -0
  13. package/lib/src/Lib/Data/Vanilla.js +2249 -0
  14. package/lib/src/Lib/Data/Vanilla.js.map +1 -0
  15. package/lib/src/Lib/Data/include.d.ts +3 -0
  16. package/lib/src/Lib/Data/include.js +16 -0
  17. package/lib/src/Lib/Data/include.js.map +1 -0
  18. package/lib/src/Lib/Types/Command/Command.d.ts +45 -0
  19. package/lib/src/Lib/Types/Command/Command.js +102 -0
  20. package/lib/src/Lib/Types/Command/Command.js.map +1 -0
  21. package/lib/src/Lib/Types/Command/Functions.d.ts +28 -0
  22. package/lib/src/Lib/Types/Command/Functions.js +213 -0
  23. package/lib/src/Lib/Types/Command/Functions.js.map +1 -0
  24. package/lib/src/Lib/Types/Command/Parameter.d.ts +18 -0
  25. package/lib/src/Lib/Types/Command/Parameter.js +27 -0
  26. package/lib/src/Lib/Types/Command/Parameter.js.map +1 -0
  27. package/lib/src/Lib/Types/Command/Parse.d.ts +19 -0
  28. package/lib/src/Lib/Types/Command/Parse.js +89 -0
  29. package/lib/src/Lib/Types/Command/Parse.js.map +1 -0
  30. package/lib/src/Lib/Types/ParameterType.d.ts +47 -0
  31. package/lib/src/Lib/Types/ParameterType.js +98 -0
  32. package/lib/src/Lib/Types/ParameterType.js.map +1 -0
  33. package/lib/src/Lib/Types/include.d.ts +4 -0
  34. package/lib/src/Lib/Types/include.js +17 -0
  35. package/lib/src/Lib/Types/include.js.map +1 -0
  36. package/lib/src/main.d.ts +2 -0
  37. package/lib/src/main.js +16 -0
  38. package/lib/src/main.js.map +1 -0
  39. package/package.json +57 -0
@@ -0,0 +1,2249 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Vanilla = void 0;
4
+ const ParameterType_1 = require("../Types/ParameterType");
5
+ exports.Vanilla = {
6
+ /**The alwaysday command */
7
+ alwaysday: [
8
+ {
9
+ name: "alwaysday",
10
+ documentation: "Locks and unlocks the day-night cycle.",
11
+ parameters: [
12
+ { text: "alwaysday", type: ParameterType_1.ParameterType.keyword, required: true },
13
+ { text: "lock", type: ParameterType_1.ParameterType.boolean, required: false },
14
+ ],
15
+ },
16
+ ],
17
+ /**The camerashake command */
18
+ camerashake: [
19
+ {
20
+ name: "camerashake",
21
+ documentation: "Applies shaking to the players' camera with specified intensity and duration",
22
+ parameters: [
23
+ { text: "camerashake", type: ParameterType_1.ParameterType.keyword, required: true },
24
+ { text: "add", type: ParameterType_1.ParameterType.keyword, required: true },
25
+ { text: "player", type: ParameterType_1.ParameterType.selector, required: true, options: { playerOnly: true } },
26
+ { text: "intensity", type: ParameterType_1.ParameterType.float, required: false, options: { minimum: 0, maximum: 4 } },
27
+ { text: "seconds", type: ParameterType_1.ParameterType.float, required: false, options: { minimum: 0 } },
28
+ { text: "shake type", type: ParameterType_1.ParameterType.cameraShakeType, required: false },
29
+ ],
30
+ },
31
+ {
32
+ name: "camerashake",
33
+ documentation: "Stops shaking to the players' camera with specified intensity and duration",
34
+ parameters: [
35
+ { text: "camerashake", type: ParameterType_1.ParameterType.keyword, required: true },
36
+ { text: "stop", type: ParameterType_1.ParameterType.keyword, required: true },
37
+ { text: "player", type: ParameterType_1.ParameterType.selector, required: false, options: { playerOnly: true } },
38
+ ],
39
+ },
40
+ ],
41
+ /**The clear command */
42
+ clear: [
43
+ {
44
+ name: "clear",
45
+ documentation: "Clears items from player inventory.",
46
+ parameters: [
47
+ { text: "clear", type: ParameterType_1.ParameterType.keyword, required: true },
48
+ { text: "player", type: ParameterType_1.ParameterType.selector, required: false, options: { playerOnly: true } },
49
+ { text: "item name", type: ParameterType_1.ParameterType.item, required: false },
50
+ { text: "data", type: ParameterType_1.ParameterType.integer, required: false },
51
+ { text: "max count", type: ParameterType_1.ParameterType.integer, required: false },
52
+ ],
53
+ },
54
+ ],
55
+ /**The clearspawnpoint command */
56
+ clearspawnpoint: [
57
+ {
58
+ name: "clearspawnpoint",
59
+ documentation: "Removes the spawnpoint from the player.",
60
+ parameters: [{ text: "player", type: ParameterType_1.ParameterType.selector, required: false, options: { playerOnly: true } }],
61
+ },
62
+ ],
63
+ /**The clone command */
64
+ clone: [
65
+ {
66
+ name: "clone",
67
+ documentation: "Copies blocks from one place to another.",
68
+ parameters: [
69
+ { text: "clone", type: ParameterType_1.ParameterType.keyword, required: true },
70
+ { text: "begin x", type: ParameterType_1.ParameterType.coordinate, required: true },
71
+ { text: "begin y", type: ParameterType_1.ParameterType.coordinate, required: true },
72
+ { text: "begin z", type: ParameterType_1.ParameterType.coordinate, required: true },
73
+ { text: "end x", type: ParameterType_1.ParameterType.coordinate, required: true },
74
+ { text: "end y", type: ParameterType_1.ParameterType.coordinate, required: true },
75
+ { text: "end z", type: ParameterType_1.ParameterType.coordinate, required: true },
76
+ { text: "destination x", type: ParameterType_1.ParameterType.coordinate, required: true },
77
+ { text: "destination y", type: ParameterType_1.ParameterType.coordinate, required: true },
78
+ { text: "destination z", type: ParameterType_1.ParameterType.coordinate, required: true },
79
+ { text: "mask", type: ParameterType_1.ParameterType.maskMode, required: false },
80
+ { text: "clone mode", type: ParameterType_1.ParameterType.cloneMode, required: true },
81
+ ],
82
+ },
83
+ {
84
+ name: "clone",
85
+ documentation: "Copies blocks from one place to another.",
86
+ parameters: [
87
+ { text: "clone", type: ParameterType_1.ParameterType.keyword, required: true },
88
+ { text: "begin x", type: ParameterType_1.ParameterType.coordinate, required: true },
89
+ { text: "begin y", type: ParameterType_1.ParameterType.coordinate, required: true },
90
+ { text: "begin z", type: ParameterType_1.ParameterType.coordinate, required: true },
91
+ { text: "end x", type: ParameterType_1.ParameterType.coordinate, required: true },
92
+ { text: "end y", type: ParameterType_1.ParameterType.coordinate, required: true },
93
+ { text: "end z", type: ParameterType_1.ParameterType.coordinate, required: true },
94
+ { text: "destination x", type: ParameterType_1.ParameterType.coordinate, required: true },
95
+ { text: "destination y", type: ParameterType_1.ParameterType.coordinate, required: true },
96
+ { text: "destination z", type: ParameterType_1.ParameterType.coordinate, required: true },
97
+ { text: "filtered", type: ParameterType_1.ParameterType.keyword, required: true },
98
+ { text: "clone mode", type: ParameterType_1.ParameterType.cloneMode, required: true },
99
+ { text: "tile name", type: ParameterType_1.ParameterType.block, required: true },
100
+ { text: "tile data", type: ParameterType_1.ParameterType.integer, required: false },
101
+ ],
102
+ },
103
+ {
104
+ name: "clone",
105
+ documentation: "Copies blocks from one place to another.",
106
+ parameters: [
107
+ { text: "clone", type: ParameterType_1.ParameterType.keyword, required: true },
108
+ { text: "begin x", type: ParameterType_1.ParameterType.coordinate, required: true },
109
+ { text: "begin y", type: ParameterType_1.ParameterType.coordinate, required: true },
110
+ { text: "begin z", type: ParameterType_1.ParameterType.coordinate, required: true },
111
+ { text: "end x", type: ParameterType_1.ParameterType.coordinate, required: true },
112
+ { text: "end y", type: ParameterType_1.ParameterType.coordinate, required: true },
113
+ { text: "end z", type: ParameterType_1.ParameterType.coordinate, required: true },
114
+ { text: "destination x", type: ParameterType_1.ParameterType.coordinate, required: true },
115
+ { text: "destination y", type: ParameterType_1.ParameterType.coordinate, required: true },
116
+ { text: "destination z", type: ParameterType_1.ParameterType.coordinate, required: true },
117
+ { text: "filtered", type: ParameterType_1.ParameterType.keyword, required: true },
118
+ { text: "clone mode", type: ParameterType_1.ParameterType.cloneMode, required: true },
119
+ { text: "tile name", type: ParameterType_1.ParameterType.block, required: true },
120
+ { text: "block states", type: ParameterType_1.ParameterType.blockStates, required: false },
121
+ ],
122
+ },
123
+ ],
124
+ /**The daylock command */
125
+ daylock: [
126
+ {
127
+ name: "daylock",
128
+ documentation: "Locks and unlocks the day-night cycle.",
129
+ parameters: [
130
+ { text: "daylock", type: ParameterType_1.ParameterType.keyword, required: true },
131
+ { text: "lock", type: ParameterType_1.ParameterType.boolean, required: false },
132
+ ],
133
+ },
134
+ ],
135
+ /**The dialogue command */
136
+ dialogue: [
137
+ {
138
+ name: "dialogue",
139
+ documentation: "Forces to open an NPC dialogue box to the targeted player(s)",
140
+ parameters: [
141
+ { text: "dialogue", type: ParameterType_1.ParameterType.keyword, required: true },
142
+ { text: "open", type: ParameterType_1.ParameterType.keyword, required: true },
143
+ { text: "npc", type: ParameterType_1.ParameterType.selector, required: true, options: { allowFakePlayers: false, playerOnly: false } },
144
+ { text: "player receiver", type: ParameterType_1.ParameterType.selector, required: true, options: { playerOnly: true, allowFakePlayers: false } },
145
+ { text: "scene name", type: ParameterType_1.ParameterType.string, required: false },
146
+ ],
147
+ },
148
+ {
149
+ name: "dialogue",
150
+ documentation: "Direct an NPC to use the dialogue provided in a specifically designated scene file",
151
+ parameters: [
152
+ { text: "dialogue", type: ParameterType_1.ParameterType.keyword, required: true },
153
+ { text: "change", type: ParameterType_1.ParameterType.keyword, required: true },
154
+ { text: "npc", type: ParameterType_1.ParameterType.selector, required: true, options: { allowFakePlayers: false, playerOnly: false } },
155
+ { text: "scene name", type: ParameterType_1.ParameterType.string, required: true },
156
+ { text: "player receiver", type: ParameterType_1.ParameterType.selector, required: false, options: { playerOnly: true, allowFakePlayers: false } },
157
+ ],
158
+ },
159
+ ],
160
+ /**The difficulty command */
161
+ difficulty: [
162
+ {
163
+ name: "difficulty",
164
+ documentation: "Sets the difficulty level.",
165
+ parameters: [
166
+ { text: "difficulty", type: ParameterType_1.ParameterType.keyword, required: true },
167
+ { text: "mode", type: ParameterType_1.ParameterType.difficulty, required: true },
168
+ ],
169
+ },
170
+ ],
171
+ /**The effect command */
172
+ effect: [
173
+ {
174
+ name: "effect",
175
+ documentation: "Sets the difficulty level.",
176
+ parameters: [
177
+ { text: "effect", type: ParameterType_1.ParameterType.keyword, required: true },
178
+ { text: "player", type: ParameterType_1.ParameterType.selector, required: true },
179
+ { text: "effect", type: ParameterType_1.ParameterType.effect, required: true },
180
+ { text: "seconds", type: ParameterType_1.ParameterType.integer, required: false },
181
+ { text: "amplifier", type: ParameterType_1.ParameterType.integer, required: false },
182
+ { text: "hide particles", type: ParameterType_1.ParameterType.boolean, required: false },
183
+ ],
184
+ },
185
+ {
186
+ name: "effect",
187
+ documentation: "Sets the difficulty level.",
188
+ parameters: [
189
+ { text: "effect", type: ParameterType_1.ParameterType.keyword, required: true },
190
+ { text: "player", type: ParameterType_1.ParameterType.selector, required: true },
191
+ { text: "clear", type: ParameterType_1.ParameterType.keyword, required: true },
192
+ ],
193
+ },
194
+ ],
195
+ /**The enchant command */
196
+ enchant: [
197
+ {
198
+ name: "enchant",
199
+ documentation: "Enchants a player item.",
200
+ parameters: [
201
+ { text: "enchant", type: ParameterType_1.ParameterType.keyword, required: true },
202
+ { text: "player", type: ParameterType_1.ParameterType.selector, required: true, options: { playerOnly: true } },
203
+ { text: "id", type: ParameterType_1.ParameterType.integer, required: true },
204
+ { text: "level", type: ParameterType_1.ParameterType.integer, required: false },
205
+ ],
206
+ },
207
+ {
208
+ name: "enchant",
209
+ documentation: "Enchants a player item.",
210
+ parameters: [
211
+ { text: "enchant", type: ParameterType_1.ParameterType.keyword, required: true },
212
+ { text: "player", type: ParameterType_1.ParameterType.selector, required: true, options: { playerOnly: true } },
213
+ { text: "id", type: ParameterType_1.ParameterType.string, required: true },
214
+ { text: "level", type: ParameterType_1.ParameterType.keyword, required: false },
215
+ ],
216
+ },
217
+ ],
218
+ /**The event command */
219
+ event: [
220
+ {
221
+ name: "event",
222
+ documentation: "Triggers an event for the specified objects.",
223
+ parameters: [
224
+ { text: "event", type: ParameterType_1.ParameterType.keyword, required: true },
225
+ { text: "entity", type: ParameterType_1.ParameterType.keyword, required: true },
226
+ { text: "target", type: ParameterType_1.ParameterType.selector, required: true },
227
+ { text: "event name", type: ParameterType_1.ParameterType.event, required: true },
228
+ ],
229
+ },
230
+ ],
231
+ /**The execute command */
232
+ execute: [
233
+ {
234
+ name: "execute",
235
+ documentation: "Executes another command.",
236
+ parameters: [
237
+ { text: "execute", type: ParameterType_1.ParameterType.keyword, required: true },
238
+ { text: "origin", type: ParameterType_1.ParameterType.selector, required: true },
239
+ { text: "position x", type: ParameterType_1.ParameterType.coordinate, required: true },
240
+ { text: "position y", type: ParameterType_1.ParameterType.coordinate, required: true },
241
+ { text: "position z", type: ParameterType_1.ParameterType.coordinate, required: true },
242
+ { text: "command", type: ParameterType_1.ParameterType.command, required: true },
243
+ ],
244
+ },
245
+ {
246
+ name: "execute",
247
+ documentation: "Executes another command.",
248
+ parameters: [
249
+ { text: "execute", type: ParameterType_1.ParameterType.keyword, required: true },
250
+ { text: "origin", type: ParameterType_1.ParameterType.selector, required: true },
251
+ { text: "position x", type: ParameterType_1.ParameterType.coordinate, required: true },
252
+ { text: "position y", type: ParameterType_1.ParameterType.coordinate, required: true },
253
+ { text: "position z", type: ParameterType_1.ParameterType.coordinate, required: true },
254
+ { text: "detect", type: ParameterType_1.ParameterType.keyword, required: true },
255
+ { text: "detectPos x", type: ParameterType_1.ParameterType.coordinate, required: true },
256
+ { text: "detectPos y", type: ParameterType_1.ParameterType.coordinate, required: true },
257
+ { text: "detectPos z", type: ParameterType_1.ParameterType.coordinate, required: true },
258
+ { text: "block", type: ParameterType_1.ParameterType.block, required: true },
259
+ { text: "data", type: ParameterType_1.ParameterType.integer, required: true },
260
+ { text: "command", type: ParameterType_1.ParameterType.command, required: true },
261
+ ],
262
+ },
263
+ ],
264
+ /**The fill command */
265
+ fill: [
266
+ {
267
+ name: "fill",
268
+ documentation: "Fills a region with a specific block.",
269
+ parameters: [
270
+ { text: "fill", type: ParameterType_1.ParameterType.keyword, required: true },
271
+ { text: "from x", type: ParameterType_1.ParameterType.coordinate, required: true },
272
+ { text: "from y", type: ParameterType_1.ParameterType.coordinate, required: true },
273
+ { text: "from z", type: ParameterType_1.ParameterType.coordinate, required: true },
274
+ { text: "to x", type: ParameterType_1.ParameterType.coordinate, required: true },
275
+ { text: "to y", type: ParameterType_1.ParameterType.coordinate, required: true },
276
+ { text: "to z", type: ParameterType_1.ParameterType.coordinate, required: true },
277
+ { text: "tile name", type: ParameterType_1.ParameterType.block, required: true },
278
+ { text: "tile data", type: ParameterType_1.ParameterType.integer, required: true },
279
+ { text: "replace", type: ParameterType_1.ParameterType.keyword, required: true },
280
+ { text: "replace tile name", type: ParameterType_1.ParameterType.block, required: false },
281
+ { text: "replace data value", type: ParameterType_1.ParameterType.integer, required: false },
282
+ ],
283
+ },
284
+ {
285
+ name: "fill",
286
+ documentation: "Fills a region with a specific block.",
287
+ parameters: [
288
+ { text: "fill", type: ParameterType_1.ParameterType.keyword, required: true },
289
+ { text: "from x", type: ParameterType_1.ParameterType.coordinate, required: true },
290
+ { text: "from y", type: ParameterType_1.ParameterType.coordinate, required: true },
291
+ { text: "from z", type: ParameterType_1.ParameterType.coordinate, required: true },
292
+ { text: "to x", type: ParameterType_1.ParameterType.coordinate, required: true },
293
+ { text: "to y", type: ParameterType_1.ParameterType.coordinate, required: true },
294
+ { text: "to z", type: ParameterType_1.ParameterType.coordinate, required: true },
295
+ { text: "tile name", type: ParameterType_1.ParameterType.block, required: true },
296
+ { text: "tile data", type: ParameterType_1.ParameterType.integer, required: true },
297
+ { text: "replace", type: ParameterType_1.ParameterType.keyword, required: true },
298
+ { text: "replace tile name", type: ParameterType_1.ParameterType.block, required: false },
299
+ { text: "replace block states", type: ParameterType_1.ParameterType.blockStates, required: false },
300
+ ],
301
+ },
302
+ {
303
+ name: "fill",
304
+ documentation: "Fills a region with a specific block.",
305
+ parameters: [
306
+ { text: "fill", type: ParameterType_1.ParameterType.keyword, required: true },
307
+ { text: "from x", type: ParameterType_1.ParameterType.coordinate, required: true },
308
+ { text: "from y", type: ParameterType_1.ParameterType.coordinate, required: true },
309
+ { text: "from z", type: ParameterType_1.ParameterType.coordinate, required: true },
310
+ { text: "to x", type: ParameterType_1.ParameterType.coordinate, required: true },
311
+ { text: "to y", type: ParameterType_1.ParameterType.coordinate, required: true },
312
+ { text: "to z", type: ParameterType_1.ParameterType.coordinate, required: true },
313
+ { text: "tile name", type: ParameterType_1.ParameterType.block, required: true },
314
+ { text: "block states", type: ParameterType_1.ParameterType.blockStates, required: true },
315
+ { text: "replace", type: ParameterType_1.ParameterType.keyword, required: true },
316
+ { text: "replace tile name", type: ParameterType_1.ParameterType.block, required: false },
317
+ { text: "replace block states", type: ParameterType_1.ParameterType.blockStates, required: false },
318
+ ],
319
+ },
320
+ {
321
+ name: "fill",
322
+ documentation: "Fills a region with a specific block.",
323
+ parameters: [
324
+ { text: "fill", type: ParameterType_1.ParameterType.keyword, required: true },
325
+ { text: "from x", type: ParameterType_1.ParameterType.coordinate, required: true },
326
+ { text: "from y", type: ParameterType_1.ParameterType.coordinate, required: true },
327
+ { text: "from z", type: ParameterType_1.ParameterType.coordinate, required: true },
328
+ { text: "to x", type: ParameterType_1.ParameterType.coordinate, required: true },
329
+ { text: "to y", type: ParameterType_1.ParameterType.coordinate, required: true },
330
+ { text: "to z", type: ParameterType_1.ParameterType.coordinate, required: true },
331
+ { text: "tile name", type: ParameterType_1.ParameterType.block, required: true },
332
+ { text: "tile data", type: ParameterType_1.ParameterType.integer, required: false },
333
+ { text: "mode", type: ParameterType_1.ParameterType.fillMode, required: true },
334
+ ],
335
+ },
336
+ ],
337
+ /**The fog command */
338
+ fog: [
339
+ {
340
+ name: "fog",
341
+ documentation: "Pushes a new fog setting, to specified player(s), along with a user provided ID, onto the top of the Fog Command layers of the players' active fog stacks.",
342
+ parameters: [
343
+ { text: "fog", type: ParameterType_1.ParameterType.keyword, required: true },
344
+ { text: "victim", type: ParameterType_1.ParameterType.selector, required: true },
345
+ { text: "push", type: ParameterType_1.ParameterType.keyword, required: true },
346
+ { text: "fog id", type: ParameterType_1.ParameterType.string, required: true },
347
+ { text: "user provided id", type: ParameterType_1.ParameterType.string, required: true },
348
+ ],
349
+ },
350
+ {
351
+ name: "fog",
352
+ documentation: 'Removes the top-most fog setting, from selected player(s), that matches the user provided ID (i.e. as provided previously via a "/fog push" command).',
353
+ parameters: [
354
+ { text: "fog", type: ParameterType_1.ParameterType.keyword, required: true },
355
+ { text: "victim", type: ParameterType_1.ParameterType.selector, required: true },
356
+ { text: "pop", type: ParameterType_1.ParameterType.keyword, required: true },
357
+ { text: "user provided id", type: ParameterType_1.ParameterType.string, required: true },
358
+ ],
359
+ },
360
+ {
361
+ name: "fog",
362
+ documentation: 'Removes all matching fog settings, from the selected player(s), that matches the user-provided ID (i.e. as provided previously via one or more "/fog push" commands).',
363
+ parameters: [
364
+ { text: "fog", type: ParameterType_1.ParameterType.keyword, required: true },
365
+ { text: "victim", type: ParameterType_1.ParameterType.selector, required: true },
366
+ { text: "remove", type: ParameterType_1.ParameterType.keyword, required: true },
367
+ { text: "user provided id", type: ParameterType_1.ParameterType.string, required: true },
368
+ ],
369
+ },
370
+ ],
371
+ /**The function command */
372
+ function: [
373
+ {
374
+ name: "function",
375
+ documentation: "Runs a function.",
376
+ parameters: [
377
+ { text: "function", type: ParameterType_1.ParameterType.keyword, required: true },
378
+ { text: "function path", type: ParameterType_1.ParameterType.function, required: true },
379
+ ],
380
+ },
381
+ ],
382
+ /**The gamemode command */
383
+ gamemode: [
384
+ {
385
+ name: "gamemode",
386
+ documentation: "Sets a player's game mode.",
387
+ parameters: [
388
+ { text: "gamemode", type: ParameterType_1.ParameterType.keyword, required: true },
389
+ { text: "gamemode", type: ParameterType_1.ParameterType.gamemode, required: true },
390
+ { text: "player", type: ParameterType_1.ParameterType.selector, required: false, options: { playerOnly: true } },
391
+ ],
392
+ },
393
+ ],
394
+ /**The gamerule command */
395
+ gamerule: [
396
+ {
397
+ name: "gamerule",
398
+ documentation: "Sets or queries a game rule value.",
399
+ parameters: [
400
+ { text: "gamerule", type: ParameterType_1.ParameterType.keyword, required: true },
401
+ { text: "commandblockoutput", type: ParameterType_1.ParameterType.keyword, required: true },
402
+ { text: "value", type: ParameterType_1.ParameterType.boolean, required: false },
403
+ ],
404
+ },
405
+ {
406
+ name: "gamerule",
407
+ documentation: "Sets or queries a game rule value.",
408
+ parameters: [
409
+ { text: "gamerule", type: ParameterType_1.ParameterType.keyword, required: true },
410
+ { text: "commandblocksenabled", type: ParameterType_1.ParameterType.keyword, required: true },
411
+ { text: "value", type: ParameterType_1.ParameterType.boolean, required: false },
412
+ ],
413
+ },
414
+ {
415
+ name: "gamerule",
416
+ documentation: "Sets or queries a game rule value.",
417
+ parameters: [
418
+ { text: "gamerule", type: ParameterType_1.ParameterType.keyword, required: true },
419
+ { text: "dodaylightcycle", type: ParameterType_1.ParameterType.keyword, required: true },
420
+ { text: "value", type: ParameterType_1.ParameterType.boolean, required: false },
421
+ ],
422
+ },
423
+ {
424
+ name: "gamerule",
425
+ documentation: "Sets or queries a game rule value.",
426
+ parameters: [
427
+ { text: "gamerule", type: ParameterType_1.ParameterType.keyword, required: true },
428
+ { text: "doentitydrops", type: ParameterType_1.ParameterType.keyword, required: true },
429
+ { text: "value", type: ParameterType_1.ParameterType.boolean, required: false },
430
+ ],
431
+ },
432
+ {
433
+ name: "gamerule",
434
+ documentation: "Sets or queries a game rule value.",
435
+ parameters: [
436
+ { text: "gamerule", type: ParameterType_1.ParameterType.keyword, required: true },
437
+ { text: "dofiretick", type: ParameterType_1.ParameterType.keyword, required: true },
438
+ { text: "value", type: ParameterType_1.ParameterType.boolean, required: false },
439
+ ],
440
+ },
441
+ {
442
+ name: "gamerule",
443
+ documentation: "Sets or queries a game rule value.",
444
+ parameters: [
445
+ { text: "gamerule", type: ParameterType_1.ParameterType.keyword, required: true },
446
+ { text: "doimmediaterespawn", type: ParameterType_1.ParameterType.keyword, required: true },
447
+ { text: "value", type: ParameterType_1.ParameterType.boolean, required: false },
448
+ ],
449
+ },
450
+ {
451
+ name: "gamerule",
452
+ documentation: "Sets or queries a game rule value.",
453
+ parameters: [
454
+ { text: "gamerule", type: ParameterType_1.ParameterType.keyword, required: true },
455
+ { text: "doinsomnia", type: ParameterType_1.ParameterType.keyword, required: true },
456
+ { text: "value", type: ParameterType_1.ParameterType.boolean, required: false },
457
+ ],
458
+ },
459
+ {
460
+ name: "gamerule",
461
+ documentation: "Sets or queries a game rule value.",
462
+ parameters: [
463
+ { text: "gamerule", type: ParameterType_1.ParameterType.keyword, required: true },
464
+ { text: "domobloot", type: ParameterType_1.ParameterType.keyword, required: true },
465
+ { text: "value", type: ParameterType_1.ParameterType.boolean, required: false },
466
+ ],
467
+ },
468
+ {
469
+ name: "gamerule",
470
+ documentation: "Sets or queries a game rule value.",
471
+ parameters: [
472
+ { text: "gamerule", type: ParameterType_1.ParameterType.keyword, required: true },
473
+ { text: "domobspawning", type: ParameterType_1.ParameterType.keyword, required: true },
474
+ { text: "value", type: ParameterType_1.ParameterType.boolean, required: false },
475
+ ],
476
+ },
477
+ {
478
+ name: "gamerule",
479
+ documentation: "Sets or queries a game rule value.",
480
+ parameters: [
481
+ { text: "gamerule", type: ParameterType_1.ParameterType.keyword, required: true },
482
+ { text: "dotiledrops", type: ParameterType_1.ParameterType.keyword, required: true },
483
+ { text: "value", type: ParameterType_1.ParameterType.boolean, required: false },
484
+ ],
485
+ },
486
+ {
487
+ name: "gamerule",
488
+ documentation: "Sets or queries a game rule value.",
489
+ parameters: [
490
+ { text: "gamerule", type: ParameterType_1.ParameterType.keyword, required: true },
491
+ { text: "doweathercycle", type: ParameterType_1.ParameterType.keyword, required: true },
492
+ { text: "value", type: ParameterType_1.ParameterType.boolean, required: false },
493
+ ],
494
+ },
495
+ {
496
+ name: "gamerule",
497
+ documentation: "Sets or queries a game rule value.",
498
+ parameters: [
499
+ { text: "gamerule", type: ParameterType_1.ParameterType.keyword, required: true },
500
+ { text: "drowningdamage", type: ParameterType_1.ParameterType.keyword, required: true },
501
+ { text: "value", type: ParameterType_1.ParameterType.boolean, required: false },
502
+ ],
503
+ },
504
+ {
505
+ name: "gamerule",
506
+ documentation: "Sets or queries a game rule value.",
507
+ parameters: [
508
+ { text: "gamerule", type: ParameterType_1.ParameterType.keyword, required: true },
509
+ { text: "falldamage", type: ParameterType_1.ParameterType.keyword, required: true },
510
+ { text: "value", type: ParameterType_1.ParameterType.boolean, required: false },
511
+ ],
512
+ },
513
+ {
514
+ name: "gamerule",
515
+ documentation: "Sets or queries a game rule value.",
516
+ parameters: [
517
+ { text: "gamerule", type: ParameterType_1.ParameterType.keyword, required: true },
518
+ { text: "firedamage", type: ParameterType_1.ParameterType.keyword, required: true },
519
+ { text: "value", type: ParameterType_1.ParameterType.boolean, required: false },
520
+ ],
521
+ },
522
+ {
523
+ name: "gamerule",
524
+ documentation: "Sets or queries a game rule value.",
525
+ parameters: [
526
+ { text: "gamerule", type: ParameterType_1.ParameterType.keyword, required: true },
527
+ { text: "functioncommandlimit", type: ParameterType_1.ParameterType.keyword, required: true },
528
+ { text: "value", type: ParameterType_1.ParameterType.boolean, required: false },
529
+ ],
530
+ },
531
+ {
532
+ name: "gamerule",
533
+ documentation: "Sets or queries a game rule value.",
534
+ parameters: [
535
+ { text: "gamerule", type: ParameterType_1.ParameterType.keyword, required: true },
536
+ { text: "keepinventory", type: ParameterType_1.ParameterType.keyword, required: true },
537
+ { text: "value", type: ParameterType_1.ParameterType.boolean, required: false },
538
+ ],
539
+ },
540
+ {
541
+ name: "gamerule",
542
+ documentation: "Sets or queries a game rule value.",
543
+ parameters: [
544
+ { text: "gamerule", type: ParameterType_1.ParameterType.keyword, required: true },
545
+ { text: "maxcommandchainlength", type: ParameterType_1.ParameterType.keyword, required: true },
546
+ { text: "int", type: ParameterType_1.ParameterType.integer, required: false },
547
+ ],
548
+ },
549
+ {
550
+ name: "gamerule",
551
+ documentation: "Sets or queries a game rule value.",
552
+ parameters: [
553
+ { text: "gamerule", type: ParameterType_1.ParameterType.keyword, required: true },
554
+ { text: "mobgriefing", type: ParameterType_1.ParameterType.keyword, required: true },
555
+ { text: "value", type: ParameterType_1.ParameterType.boolean, required: false },
556
+ ],
557
+ },
558
+ {
559
+ name: "gamerule",
560
+ documentation: "Sets or queries a game rule value.",
561
+ parameters: [
562
+ { text: "gamerule", type: ParameterType_1.ParameterType.keyword, required: true },
563
+ { text: "naturalregeneration", type: ParameterType_1.ParameterType.keyword, required: true },
564
+ { text: "value", type: ParameterType_1.ParameterType.boolean, required: false },
565
+ ],
566
+ },
567
+ {
568
+ name: "gamerule",
569
+ documentation: "Sets or queries a game rule value.",
570
+ parameters: [
571
+ { text: "gamerule", type: ParameterType_1.ParameterType.keyword, required: true },
572
+ { text: "pvp", type: ParameterType_1.ParameterType.keyword, required: true },
573
+ { text: "value", type: ParameterType_1.ParameterType.boolean, required: false },
574
+ ],
575
+ },
576
+ {
577
+ name: "gamerule",
578
+ documentation: "Sets or queries a game rule value.",
579
+ parameters: [
580
+ { text: "gamerule", type: ParameterType_1.ParameterType.keyword, required: true },
581
+ { text: "randomtickspeed", type: ParameterType_1.ParameterType.keyword, required: true },
582
+ { text: "int", type: ParameterType_1.ParameterType.integer, required: false },
583
+ ],
584
+ },
585
+ {
586
+ name: "gamerule",
587
+ documentation: "Sets or queries a game rule value.",
588
+ parameters: [
589
+ { text: "gamerule", type: ParameterType_1.ParameterType.keyword, required: true },
590
+ { text: "sendcommandfeedback", type: ParameterType_1.ParameterType.keyword, required: true },
591
+ { text: "value", type: ParameterType_1.ParameterType.boolean, required: false },
592
+ ],
593
+ },
594
+ {
595
+ name: "gamerule",
596
+ documentation: "Sets or queries a game rule value.",
597
+ parameters: [
598
+ { text: "gamerule", type: ParameterType_1.ParameterType.keyword, required: true },
599
+ { text: "showcoordinates", type: ParameterType_1.ParameterType.keyword, required: true },
600
+ { text: "value", type: ParameterType_1.ParameterType.boolean, required: false },
601
+ ],
602
+ },
603
+ {
604
+ name: "gamerule",
605
+ documentation: "Sets or queries a game rule value.",
606
+ parameters: [
607
+ { text: "gamerule", type: ParameterType_1.ParameterType.keyword, required: true },
608
+ { text: "showdeathmessages", type: ParameterType_1.ParameterType.keyword, required: true },
609
+ { text: "value", type: ParameterType_1.ParameterType.boolean, required: false },
610
+ ],
611
+ },
612
+ {
613
+ name: "gamerule",
614
+ documentation: "Sets or queries a game rule value.",
615
+ parameters: [
616
+ { text: "gamerule", type: ParameterType_1.ParameterType.keyword, required: true },
617
+ { text: "showtags", type: ParameterType_1.ParameterType.keyword, required: true },
618
+ { text: "value", type: ParameterType_1.ParameterType.boolean, required: false },
619
+ ],
620
+ },
621
+ {
622
+ name: "gamerule",
623
+ documentation: "Sets or queries a game rule value.",
624
+ parameters: [
625
+ { text: "gamerule", type: ParameterType_1.ParameterType.keyword, required: true },
626
+ { text: "spawnradius", type: ParameterType_1.ParameterType.keyword, required: true },
627
+ { text: "value", type: ParameterType_1.ParameterType.integer, required: false },
628
+ ],
629
+ },
630
+ {
631
+ name: "gamerule",
632
+ documentation: "Sets or queries a game rule value.",
633
+ parameters: [
634
+ { text: "gamerule", type: ParameterType_1.ParameterType.keyword, required: true },
635
+ { text: "tntexplodes", type: ParameterType_1.ParameterType.keyword, required: true },
636
+ { text: "value", type: ParameterType_1.ParameterType.boolean, required: false },
637
+ ],
638
+ },
639
+ ],
640
+ /**The give command */
641
+ give: [
642
+ {
643
+ name: "give",
644
+ documentation: "Gives an item to a player.",
645
+ parameters: [
646
+ { text: "give", type: ParameterType_1.ParameterType.keyword, required: true },
647
+ { text: "player", type: ParameterType_1.ParameterType.selector, required: true, options: { playerOnly: true } },
648
+ { text: "item name", type: ParameterType_1.ParameterType.item, required: true },
649
+ { text: "amount", type: ParameterType_1.ParameterType.integer, required: false },
650
+ { text: "data", type: ParameterType_1.ParameterType.integer, required: false },
651
+ { text: "components", type: ParameterType_1.ParameterType.jsonItem, required: false },
652
+ ],
653
+ },
654
+ ],
655
+ /**The kick command */
656
+ kick: [
657
+ {
658
+ name: "kick",
659
+ documentation: "Kicks the specified players.",
660
+ parameters: [
661
+ { text: "kick", type: ParameterType_1.ParameterType.keyword, required: true },
662
+ { text: "selector", type: ParameterType_1.ParameterType.selector, required: false, options: { playerOnly: true } },
663
+ ],
664
+ },
665
+ ],
666
+ /**The kill command */
667
+ kill: [
668
+ {
669
+ name: "kill",
670
+ documentation: "Kills entities (players, mobs, items, etc.).",
671
+ parameters: [
672
+ { text: "kill", type: ParameterType_1.ParameterType.keyword, required: true },
673
+ { text: "selector", type: ParameterType_1.ParameterType.selector, required: false },
674
+ ],
675
+ },
676
+ ],
677
+ /**The locate command */
678
+ locate: [
679
+ {
680
+ name: "locate",
681
+ documentation: "Displays the coordiantes for the closest structure of a given type.",
682
+ parameters: [
683
+ { text: "locate", type: ParameterType_1.ParameterType.keyword, required: true },
684
+ { text: "feature", type: ParameterType_1.ParameterType.locateFeature, required: true },
685
+ ],
686
+ },
687
+ ],
688
+ /**The me command */
689
+ me: [
690
+ {
691
+ name: "me",
692
+ documentation: "Displays a message about the sender.",
693
+ parameters: [
694
+ { text: "me", type: ParameterType_1.ParameterType.keyword, required: true },
695
+ { text: "message", type: ParameterType_1.ParameterType.keyword, required: true },
696
+ ],
697
+ },
698
+ ],
699
+ /**The msg command */
700
+ msg: [
701
+ {
702
+ name: "msg",
703
+ documentation: "An alias of `/tell` and `/w`. Displays a private message to other players.",
704
+ parameters: [
705
+ { text: "msg", type: ParameterType_1.ParameterType.keyword, required: true },
706
+ { text: "selector", type: ParameterType_1.ParameterType.selector, required: true },
707
+ { text: "message", type: ParameterType_1.ParameterType.unknown, required: true },
708
+ ],
709
+ },
710
+ ],
711
+ /**The music command */
712
+ music: [
713
+ {
714
+ name: "music",
715
+ documentation: "Allows you to control playing music tracks.",
716
+ parameters: [
717
+ { text: "music", type: ParameterType_1.ParameterType.keyword, required: true },
718
+ { text: "queue", type: ParameterType_1.ParameterType.keyword, required: true },
719
+ { text: "track name", type: ParameterType_1.ParameterType.string, required: true },
720
+ { text: "volume", type: ParameterType_1.ParameterType.float, required: false, options: { minimum: 0.01, maximum: 1 } },
721
+ { text: "fade seconds", type: ParameterType_1.ParameterType.float, required: false, options: { minimum: 0 } },
722
+ { text: "repeat", type: ParameterType_1.ParameterType.musicRepeatMode, required: false },
723
+ ],
724
+ },
725
+ {
726
+ name: "music",
727
+ documentation: "Allows you to control playing music tracks.",
728
+ parameters: [
729
+ { text: "music", type: ParameterType_1.ParameterType.keyword, required: true },
730
+ { text: "play", type: ParameterType_1.ParameterType.keyword, required: true },
731
+ { text: "track name", type: ParameterType_1.ParameterType.string, required: true },
732
+ { text: "volume", type: ParameterType_1.ParameterType.float, required: false, options: { minimum: 0.01, maximum: 1 } },
733
+ { text: "fade seconds", type: ParameterType_1.ParameterType.float, required: false, options: { minimum: 0 } },
734
+ { text: "repeat", type: ParameterType_1.ParameterType.musicRepeatMode, required: false },
735
+ ],
736
+ },
737
+ {
738
+ name: "music",
739
+ documentation: "Allows you to control playing music tracks.",
740
+ parameters: [
741
+ { text: "music", type: ParameterType_1.ParameterType.keyword, required: true },
742
+ { text: "stop", type: ParameterType_1.ParameterType.keyword, required: true },
743
+ { text: "fade seconds", type: ParameterType_1.ParameterType.float, required: false, options: { minimum: 0 } },
744
+ ],
745
+ },
746
+ {
747
+ name: "music",
748
+ documentation: "Allows you to control playing music tracks.",
749
+ parameters: [
750
+ { text: "music", type: ParameterType_1.ParameterType.keyword, required: true },
751
+ { text: "volume", type: ParameterType_1.ParameterType.keyword, required: true },
752
+ { text: "volume", type: ParameterType_1.ParameterType.float, required: false, options: { minimum: 0.01, maximum: 1 } },
753
+ ],
754
+ },
755
+ ],
756
+ /**The op command */
757
+ op: [
758
+ {
759
+ name: "op",
760
+ documentation: "Grants operator status to a player.",
761
+ parameters: [
762
+ { text: "op", type: ParameterType_1.ParameterType.keyword, required: true },
763
+ { text: "player", type: ParameterType_1.ParameterType.selector, required: true, options: { playerOnly: true } },
764
+ ],
765
+ },
766
+ ],
767
+ /**The particle command */
768
+ particle: [
769
+ {
770
+ name: "particle",
771
+ documentation: "Creates particles.",
772
+ parameters: [
773
+ { text: "particle", type: ParameterType_1.ParameterType.keyword, required: true },
774
+ { text: "effect", type: ParameterType_1.ParameterType.particle, required: true },
775
+ { text: "position x", type: ParameterType_1.ParameterType.coordinate, required: true },
776
+ { text: "position y", type: ParameterType_1.ParameterType.coordinate, required: true },
777
+ { text: "position z", type: ParameterType_1.ParameterType.coordinate, required: true },
778
+ ],
779
+ },
780
+ ],
781
+ /**The playsound command */
782
+ playsound: [
783
+ {
784
+ parameters: [
785
+ { text: "playsound", type: ParameterType_1.ParameterType.keyword, required: true },
786
+ { text: "sound", type: ParameterType_1.ParameterType.sound, required: true },
787
+ { text: "player", type: ParameterType_1.ParameterType.selector, required: false, options: { playerOnly: true } },
788
+ { text: "position x", type: ParameterType_1.ParameterType.coordinate, required: false },
789
+ { text: "position y", type: ParameterType_1.ParameterType.coordinate, required: false },
790
+ { text: "position z", type: ParameterType_1.ParameterType.coordinate, required: false },
791
+ { text: "volume", type: ParameterType_1.ParameterType.float, required: false },
792
+ { text: "pitch", type: ParameterType_1.ParameterType.float, required: false },
793
+ { text: "minimumVolume", type: ParameterType_1.ParameterType.float, required: false },
794
+ ],
795
+ name: "playsound",
796
+ documentation: "Plays a sound.",
797
+ },
798
+ ],
799
+ /**The playanimation command */
800
+ playanimation: [
801
+ {
802
+ name: "playanimation",
803
+ documentation: "Makes one or more entities play a one-off animation. Assumes all variables are set up correctly",
804
+ parameters: [
805
+ { text: "playanimation", type: ParameterType_1.ParameterType.keyword, required: true },
806
+ { text: "entity", type: ParameterType_1.ParameterType.selector, required: true },
807
+ { text: "animation", type: ParameterType_1.ParameterType.animation, required: true },
808
+ { text: "next state", type: ParameterType_1.ParameterType.string, required: false },
809
+ { text: "stop expression", type: ParameterType_1.ParameterType.string, required: false },
810
+ { text: "controller name", type: ParameterType_1.ParameterType.string, required: false },
811
+ ],
812
+ },
813
+ ],
814
+ /**The replaceitem command */
815
+ replaceitem: [
816
+ {
817
+ name: "replaceitem",
818
+ documentation: "Replaces items in inventories.",
819
+ parameters: [
820
+ { text: "replaceitem", type: ParameterType_1.ParameterType.keyword, required: true },
821
+ { text: "block", type: ParameterType_1.ParameterType.keyword, required: true },
822
+ { text: "position x", type: ParameterType_1.ParameterType.coordinate, required: true },
823
+ { text: "position y", type: ParameterType_1.ParameterType.coordinate, required: true },
824
+ { text: "position z", type: ParameterType_1.ParameterType.coordinate, required: true },
825
+ { text: "slot.container", type: ParameterType_1.ParameterType.keyword, required: true },
826
+ { text: "slot id", type: ParameterType_1.ParameterType.slotID, required: true },
827
+ { text: "item name", type: ParameterType_1.ParameterType.item, required: true },
828
+ { text: "amount", type: ParameterType_1.ParameterType.keyword, required: false },
829
+ { text: "data", type: ParameterType_1.ParameterType.keyword, required: false },
830
+ { text: "components", type: ParameterType_1.ParameterType.keyword, required: false },
831
+ ],
832
+ },
833
+ {
834
+ name: "replaceitem",
835
+ documentation: "Replaces items in inventories.",
836
+ parameters: [
837
+ { text: "replaceitem", type: ParameterType_1.ParameterType.keyword, required: true },
838
+ { text: "block", type: ParameterType_1.ParameterType.keyword, required: true },
839
+ { text: "position x", type: ParameterType_1.ParameterType.coordinate, required: true },
840
+ { text: "position y", type: ParameterType_1.ParameterType.coordinate, required: true },
841
+ { text: "position z", type: ParameterType_1.ParameterType.coordinate, required: true },
842
+ { text: "slot.container", type: ParameterType_1.ParameterType.keyword, required: true },
843
+ { text: "slotId", type: ParameterType_1.ParameterType.slotID, required: true },
844
+ { text: "replacemode", type: ParameterType_1.ParameterType.replaceMode, required: true },
845
+ { text: "item name", type: ParameterType_1.ParameterType.item, required: true },
846
+ { text: "amount", type: ParameterType_1.ParameterType.keyword, required: false },
847
+ { text: "data", type: ParameterType_1.ParameterType.keyword, required: false },
848
+ { text: "components", type: ParameterType_1.ParameterType.keyword, required: false },
849
+ ],
850
+ },
851
+ {
852
+ name: "replaceitem",
853
+ documentation: "Replaces items in inventories.",
854
+ parameters: [
855
+ { text: "replaceitem", type: ParameterType_1.ParameterType.keyword, required: true },
856
+ { text: "entity", type: ParameterType_1.ParameterType.keyword, required: true },
857
+ { text: "selector", type: ParameterType_1.ParameterType.selector, required: true },
858
+ { text: "slot.container", type: ParameterType_1.ParameterType.slotType, required: true },
859
+ { text: "slotId", type: ParameterType_1.ParameterType.slotID, required: true },
860
+ { text: "item name", type: ParameterType_1.ParameterType.item, required: true },
861
+ { text: "amount", type: ParameterType_1.ParameterType.integer, required: false },
862
+ { text: "data", type: ParameterType_1.ParameterType.integer, required: false },
863
+ { text: "components", type: ParameterType_1.ParameterType.jsonItem, required: false },
864
+ ],
865
+ },
866
+ {
867
+ name: "replaceitem",
868
+ documentation: "Replaces items in inventories.",
869
+ parameters: [
870
+ { text: "replaceitem", type: ParameterType_1.ParameterType.keyword, required: true },
871
+ { text: "entity", type: ParameterType_1.ParameterType.keyword, required: true },
872
+ { text: "selector", type: ParameterType_1.ParameterType.selector, required: true },
873
+ { text: "slot type", type: ParameterType_1.ParameterType.slotType, required: true },
874
+ { text: "slot id", type: ParameterType_1.ParameterType.slotID, required: true },
875
+ { text: "replace mode", type: ParameterType_1.ParameterType.replaceMode, required: true },
876
+ { text: "item name", type: ParameterType_1.ParameterType.item, required: true },
877
+ { text: "amount", type: ParameterType_1.ParameterType.integer, required: false },
878
+ { text: "data", type: ParameterType_1.ParameterType.integer, required: false },
879
+ { text: "components", type: ParameterType_1.ParameterType.jsonItem, required: false },
880
+ ],
881
+ },
882
+ ],
883
+ /**The ride command */
884
+ ride: [
885
+ {
886
+ name: "ride",
887
+ documentation: "Makes entities ride other entities, stops entities from riding, makes rides evict their riders, or summons rides or riders",
888
+ parameters: [
889
+ { text: "ride", type: ParameterType_1.ParameterType.keyword, required: true },
890
+ { text: "riders", type: ParameterType_1.ParameterType.selector, required: true },
891
+ { text: "start_riding", type: ParameterType_1.ParameterType.keyword, required: true },
892
+ { text: "ride", type: ParameterType_1.ParameterType.selector, required: true },
893
+ { text: "teleport", type: ParameterType_1.ParameterType.teleportRules, required: false },
894
+ { text: "fill mode", type: ParameterType_1.ParameterType.ridefillMode, required: false },
895
+ ],
896
+ },
897
+ {
898
+ name: "ride",
899
+ documentation: "Makes entities ride other entities, stops entities from riding, makes rides evict their riders, or summons rides or riders",
900
+ parameters: [
901
+ { text: "ride", type: ParameterType_1.ParameterType.keyword, required: true },
902
+ { text: "riders", type: ParameterType_1.ParameterType.selector, required: true },
903
+ { text: "stop_riding", type: ParameterType_1.ParameterType.keyword, required: true },
904
+ ],
905
+ },
906
+ {
907
+ name: "ride",
908
+ documentation: "Makes entities ride other entities, stops entities from riding, makes rides evict their riders, or summons rides or riders",
909
+ parameters: [
910
+ { text: "ride", type: ParameterType_1.ParameterType.keyword, required: true },
911
+ { text: "rides", type: ParameterType_1.ParameterType.selector, required: true },
912
+ { text: "evict_riders", type: ParameterType_1.ParameterType.keyword, required: true },
913
+ ],
914
+ },
915
+ {
916
+ name: "ride",
917
+ documentation: "Makes entities ride other entities, stops entities from riding, makes rides evict their riders, or summons rides or riders",
918
+ parameters: [
919
+ { text: "ride", type: ParameterType_1.ParameterType.keyword, required: true },
920
+ { text: "riders", type: ParameterType_1.ParameterType.selector, required: true },
921
+ { text: "summon_ride", type: ParameterType_1.ParameterType.keyword, required: true },
922
+ { text: "entity type", type: ParameterType_1.ParameterType.entity, required: true },
923
+ { text: "ride rules", type: ParameterType_1.ParameterType.rideRules, required: true },
924
+ { text: "event", type: ParameterType_1.ParameterType.event, required: true },
925
+ { text: "name", type: ParameterType_1.ParameterType.string, required: true },
926
+ ],
927
+ },
928
+ {
929
+ name: "ride",
930
+ documentation: "Makes entities ride other entities, stops entities from riding, makes rides evict their riders, or summons rides or riders",
931
+ parameters: [
932
+ { text: "ride", type: ParameterType_1.ParameterType.keyword, required: true },
933
+ { text: "rides", type: ParameterType_1.ParameterType.selector, required: true },
934
+ { text: "summon_rider", type: ParameterType_1.ParameterType.keyword, required: true },
935
+ { text: "entity type", type: ParameterType_1.ParameterType.entity, required: true },
936
+ { text: "event", type: ParameterType_1.ParameterType.event, required: true },
937
+ { text: "name", type: ParameterType_1.ParameterType.string, required: true },
938
+ ],
939
+ },
940
+ ],
941
+ /**The say command */
942
+ say: [
943
+ {
944
+ name: "say",
945
+ documentation: "Displays a message to multiple players.",
946
+ parameters: [
947
+ { text: "say", type: ParameterType_1.ParameterType.keyword, required: true },
948
+ { text: "message", type: ParameterType_1.ParameterType.unknown, required: true },
949
+ ],
950
+ },
951
+ ],
952
+ /**The schedule command */
953
+ schedule: [
954
+ {
955
+ name: "schedule",
956
+ documentation: "Schedules an action to be executed once an area is loaded, or after a certain amount of time",
957
+ parameters: [
958
+ { text: "schedule", type: ParameterType_1.ParameterType.keyword, required: true },
959
+ { text: "on_area_loaded", type: ParameterType_1.ParameterType.keyword, required: true },
960
+ { text: "add", type: ParameterType_1.ParameterType.keyword, required: true },
961
+ { text: "from x", type: ParameterType_1.ParameterType.coordinate, required: true },
962
+ { text: "from y", type: ParameterType_1.ParameterType.coordinate, required: true },
963
+ { text: "from z", type: ParameterType_1.ParameterType.coordinate, required: true },
964
+ { text: "to x", type: ParameterType_1.ParameterType.coordinate, required: true },
965
+ { text: "to y", type: ParameterType_1.ParameterType.coordinate, required: true },
966
+ { text: "to z", type: ParameterType_1.ParameterType.coordinate, required: true },
967
+ { text: "function", type: ParameterType_1.ParameterType.function, required: true },
968
+ ],
969
+ },
970
+ {
971
+ name: "schedule",
972
+ documentation: "Schedules an action to be executed once an area is loaded, or after a certain amount of time",
973
+ parameters: [
974
+ { text: "schedule", type: ParameterType_1.ParameterType.keyword, required: true },
975
+ { text: "on_area_loaded", type: ParameterType_1.ParameterType.keyword, required: true },
976
+ { text: "add", type: ParameterType_1.ParameterType.keyword, required: true },
977
+ { text: "circle", type: ParameterType_1.ParameterType.keyword, required: true },
978
+ { text: "center x", type: ParameterType_1.ParameterType.coordinate, required: true },
979
+ { text: "center y", type: ParameterType_1.ParameterType.coordinate, required: true },
980
+ { text: "center z", type: ParameterType_1.ParameterType.coordinate, required: true },
981
+ { text: "radius", type: ParameterType_1.ParameterType.integer, required: true },
982
+ { text: "function", type: ParameterType_1.ParameterType.function, required: true },
983
+ ],
984
+ },
985
+ {
986
+ name: "schedule",
987
+ documentation: "Schedules an action to be executed once an area is loaded, or after a certain amount of time",
988
+ parameters: [
989
+ { text: "schedule", type: ParameterType_1.ParameterType.keyword, required: true },
990
+ { text: "on_area_loaded", type: ParameterType_1.ParameterType.keyword, required: true },
991
+ { text: "add", type: ParameterType_1.ParameterType.keyword, required: true },
992
+ { text: "tickingarea", type: ParameterType_1.ParameterType.keyword, required: true },
993
+ { text: "tickingarea name", type: ParameterType_1.ParameterType.tickingarea, required: true },
994
+ { text: "function", type: ParameterType_1.ParameterType.function, required: true },
995
+ ],
996
+ },
997
+ ],
998
+ /**The scoreboard command */
999
+ scoreboard: [
1000
+ {
1001
+ name: "scoreboard",
1002
+ documentation: "Add a new objective to the scoreboard.",
1003
+ parameters: [
1004
+ { text: "scoreboard", type: ParameterType_1.ParameterType.keyword, required: true },
1005
+ { text: "objectives", type: ParameterType_1.ParameterType.keyword, required: true },
1006
+ { text: "add", type: ParameterType_1.ParameterType.keyword, required: true },
1007
+ { text: "name", type: ParameterType_1.ParameterType.objective, required: true },
1008
+ { text: "dummy", type: ParameterType_1.ParameterType.keyword, required: true },
1009
+ { text: "display name", type: ParameterType_1.ParameterType.string, required: false },
1010
+ ],
1011
+ },
1012
+ {
1013
+ name: "scoreboard",
1014
+ documentation: "Display a list of objectives.",
1015
+ parameters: [
1016
+ { text: "scoreboard", type: ParameterType_1.ParameterType.keyword, required: true },
1017
+ { text: "objectives", type: ParameterType_1.ParameterType.keyword, required: true },
1018
+ { text: "list", type: ParameterType_1.ParameterType.keyword, required: true },
1019
+ ],
1020
+ },
1021
+ {
1022
+ name: "scoreboard",
1023
+ documentation: "Removes the given objective from chat.",
1024
+ parameters: [
1025
+ { text: "scoreboard", type: ParameterType_1.ParameterType.keyword, required: true },
1026
+ { text: "objectives", type: ParameterType_1.ParameterType.keyword, required: true },
1027
+ { text: "remove", type: ParameterType_1.ParameterType.keyword, required: true },
1028
+ { text: "name", type: ParameterType_1.ParameterType.objective, required: true },
1029
+ ],
1030
+ },
1031
+ {
1032
+ name: "scoreboard",
1033
+ documentation: "Sets the objective on the list.",
1034
+ parameters: [
1035
+ { text: "scoreboard", type: ParameterType_1.ParameterType.keyword, required: true },
1036
+ { text: "objectives", type: ParameterType_1.ParameterType.keyword, required: true },
1037
+ { text: "setdisplay", type: ParameterType_1.ParameterType.keyword, required: true },
1038
+ { text: "list", type: ParameterType_1.ParameterType.keyword, required: true },
1039
+ { text: "objective", type: ParameterType_1.ParameterType.objective, required: false },
1040
+ { text: "ascending", type: ParameterType_1.ParameterType.keyword, required: false },
1041
+ ],
1042
+ },
1043
+ {
1044
+ name: "scoreboard",
1045
+ documentation: "Sets the objective on the list.",
1046
+ parameters: [
1047
+ { text: "scoreboard", type: ParameterType_1.ParameterType.keyword, required: true },
1048
+ { text: "objectives", type: ParameterType_1.ParameterType.keyword, required: true },
1049
+ { text: "setdisplay", type: ParameterType_1.ParameterType.keyword, required: true },
1050
+ { text: "list", type: ParameterType_1.ParameterType.keyword, required: true },
1051
+ { text: "objective", type: ParameterType_1.ParameterType.objective, required: false },
1052
+ { text: "descending", type: ParameterType_1.ParameterType.keyword, required: false },
1053
+ ],
1054
+ },
1055
+ {
1056
+ name: "scoreboard",
1057
+ documentation: "Sets the objective on the sidebar.",
1058
+ parameters: [
1059
+ { text: "scoreboard", type: ParameterType_1.ParameterType.keyword, required: true },
1060
+ { text: "objectives", type: ParameterType_1.ParameterType.keyword, required: true },
1061
+ { text: "setdisplay", type: ParameterType_1.ParameterType.keyword, required: true },
1062
+ { text: "sidebar", type: ParameterType_1.ParameterType.keyword, required: true },
1063
+ { text: "objective", type: ParameterType_1.ParameterType.objective, required: false },
1064
+ { text: "ascending", type: ParameterType_1.ParameterType.keyword, required: false },
1065
+ ],
1066
+ },
1067
+ {
1068
+ name: "scoreboard",
1069
+ documentation: "Sets the objective on the sidebar.",
1070
+ parameters: [
1071
+ { text: "scoreboard", type: ParameterType_1.ParameterType.keyword, required: true },
1072
+ { text: "objectives", type: ParameterType_1.ParameterType.keyword, required: true },
1073
+ { text: "setdisplay", type: ParameterType_1.ParameterType.keyword, required: true },
1074
+ { text: "sidebar", type: ParameterType_1.ParameterType.keyword, required: true },
1075
+ { text: "objective", type: ParameterType_1.ParameterType.objective, required: false },
1076
+ { text: "descending", type: ParameterType_1.ParameterType.keyword, required: false },
1077
+ ],
1078
+ },
1079
+ {
1080
+ name: "scoreboard",
1081
+ documentation: "Sets the objective under the name.",
1082
+ parameters: [
1083
+ { text: "scoreboard", type: ParameterType_1.ParameterType.keyword, required: true },
1084
+ { text: "objectives", type: ParameterType_1.ParameterType.keyword, required: true },
1085
+ { text: "setdisplay", type: ParameterType_1.ParameterType.keyword, required: true },
1086
+ { text: "below_name", type: ParameterType_1.ParameterType.keyword, required: true },
1087
+ { text: "objective", type: ParameterType_1.ParameterType.objective, required: false },
1088
+ ],
1089
+ },
1090
+ {
1091
+ name: "scoreboard",
1092
+ documentation: "Adds the given value onto the specified entities.",
1093
+ parameters: [
1094
+ { text: "scoreboard", type: ParameterType_1.ParameterType.keyword, required: true },
1095
+ { text: "players", type: ParameterType_1.ParameterType.keyword, required: true },
1096
+ { text: "add", type: ParameterType_1.ParameterType.keyword, required: true },
1097
+ { text: "entity", type: ParameterType_1.ParameterType.selector, required: true, options: { allowFakePlayers: true } },
1098
+ { text: "objective", type: ParameterType_1.ParameterType.objective, required: true },
1099
+ { text: "count", type: ParameterType_1.ParameterType.integer, required: true },
1100
+ ],
1101
+ },
1102
+ {
1103
+ name: "scoreboard",
1104
+ documentation: "List values of the given entity and their scores.",
1105
+ parameters: [
1106
+ { text: "scoreboard", type: ParameterType_1.ParameterType.keyword, required: true },
1107
+ { text: "players", type: ParameterType_1.ParameterType.keyword, required: true },
1108
+ { text: "list", type: ParameterType_1.ParameterType.keyword, required: true },
1109
+ { text: "entity", type: ParameterType_1.ParameterType.selector, required: false, options: { allowFakePlayers: true } },
1110
+ ],
1111
+ },
1112
+ {
1113
+ name: "scoreboard",
1114
+ documentation: "Executes a scoreboard operation between two entities.",
1115
+ parameters: [
1116
+ { text: "scoreboard", type: ParameterType_1.ParameterType.keyword, required: true },
1117
+ { text: "players", type: ParameterType_1.ParameterType.keyword, required: true },
1118
+ { text: "operation", type: ParameterType_1.ParameterType.keyword, required: true },
1119
+ { text: "destination", type: ParameterType_1.ParameterType.selector, required: true, options: { allowFakePlayers: true } },
1120
+ { text: "objective", type: ParameterType_1.ParameterType.objective, required: true },
1121
+ { text: "operation", type: ParameterType_1.ParameterType.operation, required: true },
1122
+ { text: "selector", type: ParameterType_1.ParameterType.selector, required: true, options: { allowFakePlayers: true } },
1123
+ { text: "objective", type: ParameterType_1.ParameterType.objective, required: true },
1124
+ ],
1125
+ },
1126
+ {
1127
+ name: "scoreboard",
1128
+ documentation: "Generates a random value onto the given entity.",
1129
+ parameters: [
1130
+ { text: "scoreboard", type: ParameterType_1.ParameterType.keyword, required: true },
1131
+ { text: "players", type: ParameterType_1.ParameterType.keyword, required: true },
1132
+ { text: "random", type: ParameterType_1.ParameterType.keyword, required: true },
1133
+ { text: "entity", type: ParameterType_1.ParameterType.selector, required: true, options: { allowFakePlayers: true } },
1134
+ { text: "objective", type: ParameterType_1.ParameterType.objective, required: true },
1135
+ { text: "min", type: ParameterType_1.ParameterType.integer, required: true },
1136
+ { text: "max", type: ParameterType_1.ParameterType.integer, required: true },
1137
+ ],
1138
+ },
1139
+ {
1140
+ name: "scoreboard",
1141
+ documentation: "Substract a value from the given entities.",
1142
+ parameters: [
1143
+ { text: "scoreboard", type: ParameterType_1.ParameterType.keyword, required: true },
1144
+ { text: "players", type: ParameterType_1.ParameterType.keyword, required: true },
1145
+ { text: "remove", type: ParameterType_1.ParameterType.keyword, required: true },
1146
+ { text: "entity", type: ParameterType_1.ParameterType.selector, required: true, options: { allowFakePlayers: true } },
1147
+ { text: "objective", type: ParameterType_1.ParameterType.objective, required: true },
1148
+ { text: "count", type: ParameterType_1.ParameterType.integer, required: true },
1149
+ ],
1150
+ },
1151
+ {
1152
+ name: "scoreboard",
1153
+ documentation: "Removes the scores from the given entities.",
1154
+ parameters: [
1155
+ { text: "scoreboard", type: ParameterType_1.ParameterType.keyword, required: true },
1156
+ { text: "players", type: ParameterType_1.ParameterType.keyword, required: true },
1157
+ { text: "reset", type: ParameterType_1.ParameterType.keyword, required: true },
1158
+ { text: "entity", type: ParameterType_1.ParameterType.selector, required: true, options: { wildcard: true, allowFakePlayers: true } },
1159
+ { text: "objective", type: ParameterType_1.ParameterType.objective, required: false },
1160
+ ],
1161
+ },
1162
+ {
1163
+ name: "scoreboard",
1164
+ documentation: "Sets the scores of the entities to a specific value.",
1165
+ parameters: [
1166
+ { text: "scoreboard", type: ParameterType_1.ParameterType.keyword, required: true },
1167
+ { text: "players", type: ParameterType_1.ParameterType.keyword, required: true },
1168
+ { text: "set", type: ParameterType_1.ParameterType.keyword, required: true },
1169
+ { text: "entity", type: ParameterType_1.ParameterType.selector, required: true, options: { allowFakePlayers: true } },
1170
+ { text: "objective", type: ParameterType_1.ParameterType.objective, required: true },
1171
+ { text: "score", type: ParameterType_1.ParameterType.integer, required: true },
1172
+ ],
1173
+ },
1174
+ {
1175
+ name: "scoreboard",
1176
+ documentation: "A test statement on wheter or not the entity has the specified value/range.",
1177
+ parameters: [
1178
+ { text: "scoreboard", type: ParameterType_1.ParameterType.keyword, required: true },
1179
+ { text: "players", type: ParameterType_1.ParameterType.keyword, required: true },
1180
+ { text: "test", type: ParameterType_1.ParameterType.keyword, required: true },
1181
+ { text: "entity", type: ParameterType_1.ParameterType.selector, required: true, options: { allowFakePlayers: true } },
1182
+ { text: "objective", type: ParameterType_1.ParameterType.objective, required: true },
1183
+ { text: "min", type: ParameterType_1.ParameterType.integer, required: true, options: { wildcard: true } },
1184
+ { text: "max", type: ParameterType_1.ParameterType.integer, required: true, options: { wildcard: true } },
1185
+ ],
1186
+ },
1187
+ ],
1188
+ /**The setblock command */
1189
+ setblock: [
1190
+ {
1191
+ name: "setblock",
1192
+ documentation: "Places the specified block.",
1193
+ parameters: [
1194
+ { text: "setblock", type: ParameterType_1.ParameterType.keyword, required: true },
1195
+ { text: "position x", type: ParameterType_1.ParameterType.coordinate, required: true },
1196
+ { text: "position y", type: ParameterType_1.ParameterType.coordinate, required: true },
1197
+ { text: "position z", type: ParameterType_1.ParameterType.coordinate, required: true },
1198
+ { text: "tile name", type: ParameterType_1.ParameterType.block, required: true },
1199
+ { text: "tile data", type: ParameterType_1.ParameterType.integer, required: false },
1200
+ { text: "old block mode", type: ParameterType_1.ParameterType.oldBlockMode, required: false },
1201
+ ],
1202
+ },
1203
+ {
1204
+ name: "setblock",
1205
+ documentation: "Places the specified block.",
1206
+ parameters: [
1207
+ { text: "setblock", type: ParameterType_1.ParameterType.keyword, required: true },
1208
+ { text: "position x", type: ParameterType_1.ParameterType.coordinate, required: true },
1209
+ { text: "position y", type: ParameterType_1.ParameterType.coordinate, required: true },
1210
+ { text: "position z", type: ParameterType_1.ParameterType.coordinate, required: true },
1211
+ { text: "tile name", type: ParameterType_1.ParameterType.block, required: true },
1212
+ { text: "block states", type: ParameterType_1.ParameterType.blockStates, required: false },
1213
+ { text: "old block mode", type: ParameterType_1.ParameterType.oldBlockMode, required: false },
1214
+ ],
1215
+ },
1216
+ ],
1217
+ /**The setworldspawn command */
1218
+ setworldspawn: [
1219
+ {
1220
+ name: "setworldspawn",
1221
+ documentation: "Sets the worldspawn.",
1222
+ parameters: [
1223
+ { text: "setworldspawn", type: ParameterType_1.ParameterType.keyword, required: true },
1224
+ { text: "spawn x", type: ParameterType_1.ParameterType.coordinate, required: false },
1225
+ { text: "spawn y", type: ParameterType_1.ParameterType.coordinate, required: false },
1226
+ { text: "spawn z", type: ParameterType_1.ParameterType.coordinate, required: false },
1227
+ ],
1228
+ },
1229
+ ],
1230
+ /**The setmaxplayers command */
1231
+ setmaxplayers: [
1232
+ {
1233
+ name: "setmaxplayers",
1234
+ documentation: "Sets the maximum number of players for this game session",
1235
+ parameters: [
1236
+ { text: "setmaxplayers", type: ParameterType_1.ParameterType.keyword, required: true },
1237
+ { text: "maximum players", type: ParameterType_1.ParameterType.integer, required: true, options: { minimum: 1 } },
1238
+ ],
1239
+ },
1240
+ ],
1241
+ /**The spawnpoint command */
1242
+ spawnpoint: [
1243
+ {
1244
+ name: "spawnpoint",
1245
+ documentation: "Sets the spawnpoint of the given entities.",
1246
+ parameters: [
1247
+ { text: "spawnpoint", type: ParameterType_1.ParameterType.keyword, required: true },
1248
+ { text: "player", type: ParameterType_1.ParameterType.selector, required: false, options: { playerOnly: true } },
1249
+ { text: "spawn x", type: ParameterType_1.ParameterType.coordinate, required: false },
1250
+ { text: "spawn y", type: ParameterType_1.ParameterType.coordinate, required: false },
1251
+ { text: "spawn z", type: ParameterType_1.ParameterType.coordinate, required: false },
1252
+ ],
1253
+ },
1254
+ ],
1255
+ /**The spreadplayers command */
1256
+ spreadplayers: [
1257
+ {
1258
+ name: "spreadplayers",
1259
+ documentation: "Spreads the players around.",
1260
+ parameters: [
1261
+ { text: "spreadplayers", type: ParameterType_1.ParameterType.keyword, required: true },
1262
+ { text: "x", type: ParameterType_1.ParameterType.coordinate, required: true },
1263
+ { text: "z", type: ParameterType_1.ParameterType.coordinate, required: true },
1264
+ { text: "spread distance", type: ParameterType_1.ParameterType.float, required: true },
1265
+ { text: "max range", type: ParameterType_1.ParameterType.float, required: true },
1266
+ { text: "victim", type: ParameterType_1.ParameterType.selector, required: true },
1267
+ ],
1268
+ },
1269
+ ],
1270
+ /**The stopsound command */
1271
+ stopsound: [
1272
+ {
1273
+ name: "stopsound",
1274
+ documentation: "Stops all playing sounds on the given players.",
1275
+ parameters: [
1276
+ { text: "stopsound", type: ParameterType_1.ParameterType.keyword, required: true },
1277
+ { text: "player", type: ParameterType_1.ParameterType.selector, required: true, options: { playerOnly: true } },
1278
+ { text: "sound", type: ParameterType_1.ParameterType.sound, required: false },
1279
+ ],
1280
+ },
1281
+ ],
1282
+ /**The structure command */
1283
+ structure: [
1284
+ {
1285
+ name: "structure",
1286
+ documentation: "Saves the given area into a structure.",
1287
+ parameters: [
1288
+ { text: "structure", type: ParameterType_1.ParameterType.keyword, required: true },
1289
+ { text: "save", type: ParameterType_1.ParameterType.keyword, required: true },
1290
+ { text: "name", type: ParameterType_1.ParameterType.string, required: true },
1291
+ { text: "from x", type: ParameterType_1.ParameterType.coordinate, required: true },
1292
+ { text: "from y", type: ParameterType_1.ParameterType.coordinate, required: true },
1293
+ { text: "from z", type: ParameterType_1.ParameterType.coordinate, required: true },
1294
+ { text: "to x", type: ParameterType_1.ParameterType.coordinate, required: true },
1295
+ { text: "to y", type: ParameterType_1.ParameterType.coordinate, required: true },
1296
+ { text: "to z", type: ParameterType_1.ParameterType.coordinate, required: true },
1297
+ { text: "save mode", type: ParameterType_1.ParameterType.saveMode, required: false },
1298
+ ],
1299
+ },
1300
+ {
1301
+ name: "structure",
1302
+ documentation: "Saves the given area into a structure.",
1303
+ parameters: [
1304
+ { text: "structure", type: ParameterType_1.ParameterType.keyword, required: true },
1305
+ { text: "save", type: ParameterType_1.ParameterType.keyword, required: true },
1306
+ { text: "name", type: ParameterType_1.ParameterType.string, required: true },
1307
+ { text: "from x", type: ParameterType_1.ParameterType.coordinate, required: true },
1308
+ { text: "from y", type: ParameterType_1.ParameterType.coordinate, required: true },
1309
+ { text: "from z", type: ParameterType_1.ParameterType.coordinate, required: true },
1310
+ { text: "to x", type: ParameterType_1.ParameterType.coordinate, required: true },
1311
+ { text: "to y", type: ParameterType_1.ParameterType.coordinate, required: true },
1312
+ { text: "to z", type: ParameterType_1.ParameterType.coordinate, required: true },
1313
+ { text: "include entities", type: ParameterType_1.ParameterType.boolean, required: false },
1314
+ { text: "save mode", type: ParameterType_1.ParameterType.saveMode, required: false },
1315
+ { text: "include blocks", type: ParameterType_1.ParameterType.boolean, required: false },
1316
+ ],
1317
+ },
1318
+ {
1319
+ name: "structure",
1320
+ documentation: "Loads a structure to the world.",
1321
+ parameters: [
1322
+ { text: "structure", type: ParameterType_1.ParameterType.keyword, required: true },
1323
+ { text: "load", type: ParameterType_1.ParameterType.keyword, required: true },
1324
+ { text: "name", type: ParameterType_1.ParameterType.string, required: true },
1325
+ { text: "to x", type: ParameterType_1.ParameterType.coordinate, required: true },
1326
+ { text: "to y", type: ParameterType_1.ParameterType.coordinate, required: true },
1327
+ { text: "to z", type: ParameterType_1.ParameterType.coordinate, required: true },
1328
+ { text: "rotation", type: ParameterType_1.ParameterType.rotation, required: false },
1329
+ { text: "mirror", type: ParameterType_1.ParameterType.mirror, required: false },
1330
+ { text: "include entities", type: ParameterType_1.ParameterType.boolean, required: false },
1331
+ { text: "include blocks", type: ParameterType_1.ParameterType.boolean, required: false },
1332
+ { text: "integrity", type: ParameterType_1.ParameterType.float, required: false },
1333
+ { text: "seed", type: ParameterType_1.ParameterType.string, required: false },
1334
+ ],
1335
+ },
1336
+ {
1337
+ name: "structure",
1338
+ documentation: "Loads a structure to the world.",
1339
+ parameters: [
1340
+ { text: "structure", type: ParameterType_1.ParameterType.keyword, required: true },
1341
+ { text: "load", type: ParameterType_1.ParameterType.keyword, required: true },
1342
+ { text: "name", type: ParameterType_1.ParameterType.string, required: true },
1343
+ { text: "to x", type: ParameterType_1.ParameterType.coordinate, required: true },
1344
+ { text: "to y", type: ParameterType_1.ParameterType.coordinate, required: true },
1345
+ { text: "to z", type: ParameterType_1.ParameterType.coordinate, required: true },
1346
+ { text: "rotation", type: ParameterType_1.ParameterType.rotation, required: false },
1347
+ { text: "mirror", type: ParameterType_1.ParameterType.mirror, required: false },
1348
+ { text: "animation mode", type: ParameterType_1.ParameterType.structureAnimationMode, required: false },
1349
+ { text: "animation seconds", type: ParameterType_1.ParameterType.float, required: false },
1350
+ { text: "include entities", type: ParameterType_1.ParameterType.boolean, required: false },
1351
+ { text: "include blocks", type: ParameterType_1.ParameterType.boolean, required: false },
1352
+ { text: "integrity", type: ParameterType_1.ParameterType.float, required: false },
1353
+ { text: "seed", type: ParameterType_1.ParameterType.string, required: false },
1354
+ ],
1355
+ },
1356
+ {
1357
+ name: "structure",
1358
+ documentation: "Removes the structure from the contents.",
1359
+ parameters: [
1360
+ { text: "structure", type: ParameterType_1.ParameterType.keyword, required: true },
1361
+ { text: "delete", type: ParameterType_1.ParameterType.keyword, required: true },
1362
+ { text: "name", type: ParameterType_1.ParameterType.string, required: true },
1363
+ ],
1364
+ },
1365
+ ],
1366
+ /**The summon command */
1367
+ summon: [
1368
+ {
1369
+ name: "summon",
1370
+ documentation: "Summons an entity.",
1371
+ parameters: [
1372
+ { text: "summon", type: ParameterType_1.ParameterType.keyword, required: true },
1373
+ { text: "entity type", type: ParameterType_1.ParameterType.entity, required: true },
1374
+ { text: "spawnPos x", type: ParameterType_1.ParameterType.coordinate, required: false },
1375
+ { text: "spawnPos y", type: ParameterType_1.ParameterType.coordinate, required: false },
1376
+ { text: "spawnPos z", type: ParameterType_1.ParameterType.coordinate, required: false },
1377
+ { text: "spawnevent", type: ParameterType_1.ParameterType.event, required: false },
1378
+ { text: "name", type: ParameterType_1.ParameterType.string, required: false },
1379
+ ],
1380
+ },
1381
+ {
1382
+ name: "summon",
1383
+ documentation: "Summons an entity.",
1384
+ parameters: [
1385
+ { text: "summon", type: ParameterType_1.ParameterType.keyword, required: true },
1386
+ { text: "entity type", type: ParameterType_1.ParameterType.entity, required: true },
1387
+ { text: "name", type: ParameterType_1.ParameterType.string, required: false },
1388
+ { text: "spawnPos x", type: ParameterType_1.ParameterType.coordinate, required: false },
1389
+ { text: "spawnPos y", type: ParameterType_1.ParameterType.coordinate, required: false },
1390
+ { text: "spawnPos z", type: ParameterType_1.ParameterType.coordinate, required: false },
1391
+ ],
1392
+ },
1393
+ ],
1394
+ /**The tag command */
1395
+ tag: [
1396
+ {
1397
+ name: "tag",
1398
+ documentation: "Manages tags stored in entities.",
1399
+ parameters: [
1400
+ { text: "tag", type: ParameterType_1.ParameterType.keyword, required: true },
1401
+ { text: "selector", type: ParameterType_1.ParameterType.selector, required: true },
1402
+ { text: "add", type: ParameterType_1.ParameterType.keyword, required: true },
1403
+ { text: "name", type: ParameterType_1.ParameterType.tag, required: true },
1404
+ ],
1405
+ },
1406
+ {
1407
+ name: "tag",
1408
+ documentation: "Manages tags stored in entities.",
1409
+ parameters: [
1410
+ { text: "tag", type: ParameterType_1.ParameterType.keyword, required: true },
1411
+ { text: "selector", type: ParameterType_1.ParameterType.selector, required: true },
1412
+ { text: "list", type: ParameterType_1.ParameterType.keyword, required: true },
1413
+ ],
1414
+ },
1415
+ {
1416
+ name: "tag",
1417
+ documentation: "Manages tags stored in entities.",
1418
+ parameters: [
1419
+ { text: "tag", type: ParameterType_1.ParameterType.keyword, required: true },
1420
+ { text: "selector", type: ParameterType_1.ParameterType.selector, required: true, options: { wildcard: true } },
1421
+ { text: "remove", type: ParameterType_1.ParameterType.keyword, required: true },
1422
+ { text: "name", type: ParameterType_1.ParameterType.tag, required: true },
1423
+ ],
1424
+ },
1425
+ ],
1426
+ /**The tell command */
1427
+ tell: [
1428
+ {
1429
+ name: "tell",
1430
+ documentation: "Sends a private message to one or more players.",
1431
+ parameters: [
1432
+ { text: "tell", type: ParameterType_1.ParameterType.keyword, required: true },
1433
+ { text: "player", type: ParameterType_1.ParameterType.selector, required: true, options: { playerOnly: true } },
1434
+ { text: "message", type: ParameterType_1.ParameterType.unknown, required: true },
1435
+ ],
1436
+ },
1437
+ ],
1438
+ /**The tellraw command */
1439
+ tellraw: [
1440
+ {
1441
+ name: "tellraw",
1442
+ documentation: "Sends a json messsage to players.",
1443
+ parameters: [
1444
+ { text: "tellraw", type: ParameterType_1.ParameterType.keyword, required: true },
1445
+ { text: "player", type: ParameterType_1.ParameterType.selector, required: true, options: { playerOnly: true } },
1446
+ { text: "json raw text", type: ParameterType_1.ParameterType.jsonRawText, required: true },
1447
+ ],
1448
+ },
1449
+ ],
1450
+ /**The testfor command */
1451
+ testfor: [
1452
+ {
1453
+ name: "testfor",
1454
+ documentation: "Counts entities (players, mobs, items, etc.) matching specified conditions.",
1455
+ parameters: [
1456
+ { text: "testfor", type: ParameterType_1.ParameterType.keyword, required: true },
1457
+ { text: "victim", type: ParameterType_1.ParameterType.selector, required: true },
1458
+ ],
1459
+ },
1460
+ ],
1461
+ /**The testforblock command */
1462
+ testforblock: [
1463
+ {
1464
+ name: "testforblock",
1465
+ documentation: "tests whether a certain block is a specific location.",
1466
+ parameters: [
1467
+ { text: "testforblock", type: ParameterType_1.ParameterType.keyword, required: true },
1468
+ { text: "position x", type: ParameterType_1.ParameterType.coordinate, required: true },
1469
+ { text: "position y", type: ParameterType_1.ParameterType.coordinate, required: true },
1470
+ { text: "position z", type: ParameterType_1.ParameterType.coordinate, required: true },
1471
+ { text: "tile name", type: ParameterType_1.ParameterType.block, required: true },
1472
+ { text: "data value", type: ParameterType_1.ParameterType.integer, required: false },
1473
+ ],
1474
+ },
1475
+ {
1476
+ name: "testforblocks",
1477
+ documentation: "Tests whether the blocks in two regions match.",
1478
+ parameters: [
1479
+ { text: "testforblocks", type: ParameterType_1.ParameterType.keyword, required: true },
1480
+ { text: "begin x", type: ParameterType_1.ParameterType.coordinate, required: true },
1481
+ { text: "begin y", type: ParameterType_1.ParameterType.coordinate, required: true },
1482
+ { text: "begin z", type: ParameterType_1.ParameterType.coordinate, required: true },
1483
+ { text: "end x", type: ParameterType_1.ParameterType.coordinate, required: true },
1484
+ { text: "end y", type: ParameterType_1.ParameterType.coordinate, required: true },
1485
+ { text: "end z", type: ParameterType_1.ParameterType.coordinate, required: true },
1486
+ { text: "destination x", type: ParameterType_1.ParameterType.coordinate, required: true },
1487
+ { text: "destination y", type: ParameterType_1.ParameterType.coordinate, required: true },
1488
+ { text: "destination z", type: ParameterType_1.ParameterType.coordinate, required: true },
1489
+ ],
1490
+ },
1491
+ {
1492
+ name: "testforblocks",
1493
+ documentation: "Tests whether the blocks in two regions match.",
1494
+ parameters: [
1495
+ { text: "testforblocks", type: ParameterType_1.ParameterType.keyword, required: true },
1496
+ { text: "begin x", type: ParameterType_1.ParameterType.coordinate, required: true },
1497
+ { text: "begin y", type: ParameterType_1.ParameterType.coordinate, required: true },
1498
+ { text: "begin z", type: ParameterType_1.ParameterType.coordinate, required: true },
1499
+ { text: "end x", type: ParameterType_1.ParameterType.coordinate, required: true },
1500
+ { text: "end y", type: ParameterType_1.ParameterType.coordinate, required: true },
1501
+ { text: "end z", type: ParameterType_1.ParameterType.coordinate, required: true },
1502
+ { text: "destination x", type: ParameterType_1.ParameterType.coordinate, required: true },
1503
+ { text: "destination y", type: ParameterType_1.ParameterType.coordinate, required: true },
1504
+ { text: "destination z", type: ParameterType_1.ParameterType.coordinate, required: true },
1505
+ { text: "all", type: ParameterType_1.ParameterType.keyword, required: true },
1506
+ ],
1507
+ },
1508
+ {
1509
+ name: "testforblocks",
1510
+ documentation: "Tests whether the blocks in two regions match.",
1511
+ parameters: [
1512
+ { text: "testforblocks", type: ParameterType_1.ParameterType.keyword, required: true },
1513
+ { text: "begin x", type: ParameterType_1.ParameterType.coordinate, required: true },
1514
+ { text: "begin y", type: ParameterType_1.ParameterType.coordinate, required: true },
1515
+ { text: "begin z", type: ParameterType_1.ParameterType.coordinate, required: true },
1516
+ { text: "end x", type: ParameterType_1.ParameterType.coordinate, required: true },
1517
+ { text: "end y", type: ParameterType_1.ParameterType.coordinate, required: true },
1518
+ { text: "end z", type: ParameterType_1.ParameterType.coordinate, required: true },
1519
+ { text: "destination x", type: ParameterType_1.ParameterType.coordinate, required: true },
1520
+ { text: "destination y", type: ParameterType_1.ParameterType.coordinate, required: true },
1521
+ { text: "destination z", type: ParameterType_1.ParameterType.coordinate, required: true },
1522
+ { text: "masked", type: ParameterType_1.ParameterType.keyword, required: true },
1523
+ ],
1524
+ },
1525
+ ],
1526
+ /**The tickingarea command */
1527
+ tickingarea: [
1528
+ {
1529
+ name: "tickingarea",
1530
+ documentation: "Add, remove, or list ticking areas.",
1531
+ parameters: [
1532
+ { text: "tickingarea", type: ParameterType_1.ParameterType.keyword, required: true },
1533
+ { text: "add", type: ParameterType_1.ParameterType.keyword, required: true },
1534
+ { text: "begin x", type: ParameterType_1.ParameterType.coordinate, required: true },
1535
+ { text: "begin y", type: ParameterType_1.ParameterType.coordinate, required: true },
1536
+ { text: "begin z", type: ParameterType_1.ParameterType.coordinate, required: true },
1537
+ { text: "end x", type: ParameterType_1.ParameterType.coordinate, required: true },
1538
+ { text: "end y", type: ParameterType_1.ParameterType.coordinate, required: true },
1539
+ { text: "end z", type: ParameterType_1.ParameterType.coordinate, required: true },
1540
+ { text: "name", type: ParameterType_1.ParameterType.tickingarea, required: false },
1541
+ ],
1542
+ },
1543
+ {
1544
+ name: "tickingarea",
1545
+ documentation: "Add, remove, or list ticking areas.",
1546
+ parameters: [
1547
+ { text: "tickingarea", type: ParameterType_1.ParameterType.keyword, required: true },
1548
+ { text: "add", type: ParameterType_1.ParameterType.keyword, required: true },
1549
+ { text: "circle", type: ParameterType_1.ParameterType.keyword, required: true },
1550
+ { text: "center x", type: ParameterType_1.ParameterType.coordinate, required: true },
1551
+ { text: "center y", type: ParameterType_1.ParameterType.coordinate, required: true },
1552
+ { text: "center z", type: ParameterType_1.ParameterType.coordinate, required: true },
1553
+ { text: "radius", type: ParameterType_1.ParameterType.integer, required: true },
1554
+ { text: "name", type: ParameterType_1.ParameterType.tickingarea, required: false },
1555
+ ],
1556
+ },
1557
+ {
1558
+ name: "tickingarea",
1559
+ documentation: "Add, remove, or list ticking areas.",
1560
+ parameters: [
1561
+ { text: "tickingarea", type: ParameterType_1.ParameterType.keyword, required: true },
1562
+ { text: "list", type: ParameterType_1.ParameterType.keyword, required: true },
1563
+ { text: "all-dimensions", type: ParameterType_1.ParameterType.keyword, required: false },
1564
+ ],
1565
+ },
1566
+ {
1567
+ name: "tickingarea",
1568
+ documentation: "Add, remove, or list ticking areas.",
1569
+ parameters: [
1570
+ { text: "tickingarea", type: ParameterType_1.ParameterType.keyword, required: true },
1571
+ { text: "remove", type: ParameterType_1.ParameterType.keyword, required: true },
1572
+ { text: "x", type: ParameterType_1.ParameterType.coordinate, required: true },
1573
+ { text: "y", type: ParameterType_1.ParameterType.coordinate, required: true },
1574
+ { text: "z", type: ParameterType_1.ParameterType.coordinate, required: true },
1575
+ ],
1576
+ },
1577
+ {
1578
+ name: "tickingarea",
1579
+ documentation: "Add, remove, or list ticking areas.",
1580
+ parameters: [
1581
+ { text: "tickingarea", type: ParameterType_1.ParameterType.keyword, required: true },
1582
+ { text: "remove", type: ParameterType_1.ParameterType.keyword, required: true },
1583
+ { text: "name", type: ParameterType_1.ParameterType.tickingarea, required: true },
1584
+ ],
1585
+ },
1586
+ {
1587
+ name: "tickingarea",
1588
+ documentation: "Add, remove, or list ticking areas.",
1589
+ parameters: [
1590
+ { text: "tickingarea", type: ParameterType_1.ParameterType.keyword, required: true },
1591
+ { text: "remove_all", type: ParameterType_1.ParameterType.keyword, required: true },
1592
+ ],
1593
+ },
1594
+ ],
1595
+ /**The time command */
1596
+ time: [
1597
+ {
1598
+ name: "time",
1599
+ documentation: "Add to the world's game time.",
1600
+ parameters: [
1601
+ { text: "time", type: ParameterType_1.ParameterType.keyword, required: true },
1602
+ { text: "add", type: ParameterType_1.ParameterType.keyword, required: true },
1603
+ { text: "amount", type: ParameterType_1.ParameterType.integer, required: true },
1604
+ ],
1605
+ },
1606
+ {
1607
+ name: "time",
1608
+ documentation: "Changes or queries the world's game time.",
1609
+ parameters: [
1610
+ { text: "time", type: ParameterType_1.ParameterType.keyword, required: true },
1611
+ { text: "query", type: ParameterType_1.ParameterType.keyword, required: true },
1612
+ { text: "daytime", type: ParameterType_1.ParameterType.keyword, required: true },
1613
+ ],
1614
+ },
1615
+ {
1616
+ name: "time",
1617
+ documentation: "Queries the world's game time.",
1618
+ parameters: [
1619
+ { text: "time", type: ParameterType_1.ParameterType.keyword, required: true },
1620
+ { text: "query", type: ParameterType_1.ParameterType.keyword, required: true },
1621
+ { text: "gametime", type: ParameterType_1.ParameterType.integer, required: true },
1622
+ ],
1623
+ },
1624
+ {
1625
+ name: "time",
1626
+ documentation: "Changes or queries the world's game time.",
1627
+ parameters: [
1628
+ { text: "time", type: ParameterType_1.ParameterType.keyword, required: true },
1629
+ { text: "query", type: ParameterType_1.ParameterType.keyword, required: true },
1630
+ { text: "day", type: ParameterType_1.ParameterType.keyword, required: true },
1631
+ ],
1632
+ },
1633
+ {
1634
+ name: "time",
1635
+ documentation: "Sets the world's game time.",
1636
+ parameters: [
1637
+ { text: "time", type: ParameterType_1.ParameterType.keyword, required: true },
1638
+ { text: "set", type: ParameterType_1.ParameterType.keyword, required: true },
1639
+ { text: "amount", type: ParameterType_1.ParameterType.integer, required: true },
1640
+ ],
1641
+ },
1642
+ ],
1643
+ /**The title command */
1644
+ title: [
1645
+ {
1646
+ name: "title",
1647
+ documentation: "Sets the title.",
1648
+ parameters: [
1649
+ { text: "title", type: ParameterType_1.ParameterType.keyword, required: true },
1650
+ { text: "player", type: ParameterType_1.ParameterType.selector, required: true, options: { playerOnly: true } },
1651
+ { text: "title", type: ParameterType_1.ParameterType.keyword, required: true },
1652
+ { text: "titletext", type: ParameterType_1.ParameterType.unknown, required: true },
1653
+ ],
1654
+ },
1655
+ {
1656
+ name: "title",
1657
+ documentation: "Sets the sub titles.",
1658
+ parameters: [
1659
+ { text: "title", type: ParameterType_1.ParameterType.keyword, required: true },
1660
+ { text: "player", type: ParameterType_1.ParameterType.selector, required: true, options: { playerOnly: true } },
1661
+ { text: "subtitle", type: ParameterType_1.ParameterType.keyword, required: true },
1662
+ { text: "titletext", type: ParameterType_1.ParameterType.unknown, required: true },
1663
+ ],
1664
+ },
1665
+ {
1666
+ name: "title",
1667
+ documentation: "Sets the action bar.",
1668
+ parameters: [
1669
+ { text: "title", type: ParameterType_1.ParameterType.keyword, required: true },
1670
+ { text: "player", type: ParameterType_1.ParameterType.selector, required: true, options: { playerOnly: true } },
1671
+ { text: "actionbar", type: ParameterType_1.ParameterType.keyword, required: true },
1672
+ { text: "titletext", type: ParameterType_1.ParameterType.unknown, required: true },
1673
+ ],
1674
+ },
1675
+ {
1676
+ name: "title",
1677
+ documentation: "Clears the title & subtitle from the given players",
1678
+ parameters: [
1679
+ { text: "title", type: ParameterType_1.ParameterType.keyword, required: true },
1680
+ { text: "player", type: ParameterType_1.ParameterType.selector, required: true, options: { playerOnly: true } },
1681
+ { text: "clear", type: ParameterType_1.ParameterType.keyword, required: true },
1682
+ ],
1683
+ },
1684
+ {
1685
+ name: "title",
1686
+ documentation: "Clears the title & subtitle from the given players",
1687
+ parameters: [
1688
+ { text: "title", type: ParameterType_1.ParameterType.keyword, required: true },
1689
+ { text: "player", type: ParameterType_1.ParameterType.selector, required: true, options: { playerOnly: true } },
1690
+ { text: "reset", type: ParameterType_1.ParameterType.keyword, required: true },
1691
+ ],
1692
+ },
1693
+ {
1694
+ name: "title",
1695
+ documentation: "Set the title timings.",
1696
+ parameters: [
1697
+ { text: "title", type: ParameterType_1.ParameterType.keyword, required: true },
1698
+ { text: "player", type: ParameterType_1.ParameterType.selector, required: true, options: { playerOnly: true } },
1699
+ { text: "times", type: ParameterType_1.ParameterType.keyword, required: true },
1700
+ { text: "fade in", type: ParameterType_1.ParameterType.integer, required: true },
1701
+ { text: "stay", type: ParameterType_1.ParameterType.integer, required: true },
1702
+ { text: "fade out", type: ParameterType_1.ParameterType.integer, required: true },
1703
+ ],
1704
+ },
1705
+ ],
1706
+ /**The titleraw command */
1707
+ titleraw: [
1708
+ {
1709
+ name: "titleraw",
1710
+ documentation: "Sets the title.",
1711
+ parameters: [
1712
+ { text: "titleraw", type: ParameterType_1.ParameterType.keyword, required: true },
1713
+ { text: "player", type: ParameterType_1.ParameterType.selector, required: true, options: { playerOnly: true } },
1714
+ { text: "title", type: ParameterType_1.ParameterType.keyword, required: true },
1715
+ { text: "json raw text", type: ParameterType_1.ParameterType.jsonRawText, required: true },
1716
+ ],
1717
+ },
1718
+ {
1719
+ name: "titleraw",
1720
+ documentation: "Sets the sub titles.",
1721
+ parameters: [
1722
+ { text: "titleraw", type: ParameterType_1.ParameterType.keyword, required: true },
1723
+ { text: "player", type: ParameterType_1.ParameterType.selector, required: true, options: { playerOnly: true } },
1724
+ { text: "subtitle", type: ParameterType_1.ParameterType.keyword, required: true },
1725
+ { text: "json raw text", type: ParameterType_1.ParameterType.jsonRawText, required: true },
1726
+ ],
1727
+ },
1728
+ {
1729
+ name: "titleraw",
1730
+ documentation: "Sets the action bar.",
1731
+ parameters: [
1732
+ { text: "titleraw", type: ParameterType_1.ParameterType.keyword, required: true },
1733
+ { text: "player", type: ParameterType_1.ParameterType.selector, required: true, options: { playerOnly: true } },
1734
+ { text: "actionbar", type: ParameterType_1.ParameterType.keyword, required: true },
1735
+ { text: "json raw text", type: ParameterType_1.ParameterType.jsonRawText, required: true },
1736
+ ],
1737
+ },
1738
+ {
1739
+ name: "titleraw",
1740
+ documentation: "Clears the title & subtitle from the given players",
1741
+ parameters: [
1742
+ { text: "titleraw", type: ParameterType_1.ParameterType.keyword, required: true },
1743
+ { text: "player", type: ParameterType_1.ParameterType.selector, required: true, options: { playerOnly: true } },
1744
+ { text: "clear", type: ParameterType_1.ParameterType.keyword, required: true },
1745
+ ],
1746
+ },
1747
+ {
1748
+ name: "titleraw",
1749
+ documentation: "Clears the title & subtitle from the given players",
1750
+ parameters: [
1751
+ { text: "titleraw", type: ParameterType_1.ParameterType.keyword, required: true },
1752
+ { text: "player", type: ParameterType_1.ParameterType.selector, required: true, options: { playerOnly: true } },
1753
+ { text: "reset", type: ParameterType_1.ParameterType.keyword, required: true },
1754
+ ],
1755
+ },
1756
+ {
1757
+ name: "titleraw",
1758
+ documentation: "Set the timings.",
1759
+ parameters: [
1760
+ { text: "titleraw", type: ParameterType_1.ParameterType.keyword, required: true },
1761
+ { text: "player", type: ParameterType_1.ParameterType.selector, required: true, options: { playerOnly: true } },
1762
+ { text: "times", type: ParameterType_1.ParameterType.keyword, required: true },
1763
+ { text: "fade in", type: ParameterType_1.ParameterType.integer, required: true },
1764
+ { text: "stay", type: ParameterType_1.ParameterType.integer, required: true },
1765
+ { text: "fade out", type: ParameterType_1.ParameterType.integer, required: true },
1766
+ ],
1767
+ },
1768
+ ],
1769
+ /**The toggledownfall command */
1770
+ toggledownfall: [
1771
+ {
1772
+ parameters: [{ text: "toggledownfall", type: ParameterType_1.ParameterType.keyword, required: true }],
1773
+ name: "toggledownfall",
1774
+ documentation: "Toggles the weather.",
1775
+ },
1776
+ ],
1777
+ /**The tp command */
1778
+ tp: [
1779
+ {
1780
+ name: "tp",
1781
+ documentation: "Teleport the executing entity to the destination entity.",
1782
+ parameters: [
1783
+ { text: "tp", type: ParameterType_1.ParameterType.keyword, required: true },
1784
+ { text: "destination", type: ParameterType_1.ParameterType.selector, required: true },
1785
+ { text: "check for blocks", type: ParameterType_1.ParameterType.boolean, required: false },
1786
+ ],
1787
+ },
1788
+ {
1789
+ name: "tp",
1790
+ documentation: "Teleport the executing entity to the location.",
1791
+ parameters: [
1792
+ { text: "tp", type: ParameterType_1.ParameterType.keyword, required: true },
1793
+ { text: "destination x", type: ParameterType_1.ParameterType.coordinate, required: true },
1794
+ { text: "destination y", type: ParameterType_1.ParameterType.coordinate, required: true },
1795
+ { text: "destination z", type: ParameterType_1.ParameterType.coordinate, required: true },
1796
+ { text: "check for blocks", type: ParameterType_1.ParameterType.boolean, required: false },
1797
+ ],
1798
+ },
1799
+ {
1800
+ name: "tp",
1801
+ documentation: "Teleport the entity to the destination entity.",
1802
+ parameters: [
1803
+ { text: "tp", type: ParameterType_1.ParameterType.keyword, required: true },
1804
+ { text: "victim", type: ParameterType_1.ParameterType.selector, required: true },
1805
+ { text: "destination", type: ParameterType_1.ParameterType.selector, required: true },
1806
+ { text: "check for blocks", type: ParameterType_1.ParameterType.boolean, required: false },
1807
+ ],
1808
+ },
1809
+ {
1810
+ name: "tp",
1811
+ documentation: "Teleport the entity to the specified location.",
1812
+ parameters: [
1813
+ { text: "tp", type: ParameterType_1.ParameterType.keyword, required: true },
1814
+ { text: "victim", type: ParameterType_1.ParameterType.selector, required: true },
1815
+ { text: "destination x", type: ParameterType_1.ParameterType.coordinate, required: true },
1816
+ { text: "destination y", type: ParameterType_1.ParameterType.coordinate, required: true },
1817
+ { text: "destination z", type: ParameterType_1.ParameterType.coordinate, required: true },
1818
+ { text: "check for blocks", type: ParameterType_1.ParameterType.boolean, required: false },
1819
+ ],
1820
+ },
1821
+ {
1822
+ name: "tp",
1823
+ documentation: "Teleport the executing entity to the destination with rotation.",
1824
+ parameters: [
1825
+ { text: "tp", type: ParameterType_1.ParameterType.keyword, required: true },
1826
+ { text: "destination", type: ParameterType_1.ParameterType.selector, required: true },
1827
+ { text: "yRot", type: ParameterType_1.ParameterType.coordinate, required: false },
1828
+ { text: "xRot", type: ParameterType_1.ParameterType.coordinate, required: false },
1829
+ { text: "check for blocks", type: ParameterType_1.ParameterType.boolean, required: false },
1830
+ ],
1831
+ },
1832
+ {
1833
+ name: "tp",
1834
+ documentation: "Teleport the executing entity to the destination with rotation.",
1835
+ parameters: [
1836
+ { text: "tp", type: ParameterType_1.ParameterType.keyword, required: true },
1837
+ { text: "destination x", type: ParameterType_1.ParameterType.coordinate, required: true },
1838
+ { text: "destination y", type: ParameterType_1.ParameterType.coordinate, required: true },
1839
+ { text: "destination z", type: ParameterType_1.ParameterType.coordinate, required: true },
1840
+ { text: "yRot", type: ParameterType_1.ParameterType.coordinate, required: false },
1841
+ { text: "xRot", type: ParameterType_1.ParameterType.coordinate, required: false },
1842
+ { text: "check for blocks", type: ParameterType_1.ParameterType.boolean, required: false },
1843
+ ],
1844
+ },
1845
+ {
1846
+ name: "tp",
1847
+ documentation: "Teleport the entity to the destination with rotation.",
1848
+ parameters: [
1849
+ { text: "tp", type: ParameterType_1.ParameterType.keyword, required: true },
1850
+ { text: "victim", type: ParameterType_1.ParameterType.selector, required: true },
1851
+ { text: "destination", type: ParameterType_1.ParameterType.selector, required: true },
1852
+ { text: "facing", type: ParameterType_1.ParameterType.keyword, required: true },
1853
+ { text: "yRot", type: ParameterType_1.ParameterType.coordinate, required: false },
1854
+ { text: "xRot", type: ParameterType_1.ParameterType.coordinate, required: false },
1855
+ { text: "check for blocks", type: ParameterType_1.ParameterType.boolean, required: false },
1856
+ ],
1857
+ },
1858
+ {
1859
+ name: "tp",
1860
+ documentation: "Teleport the entity to the destination with rotation.",
1861
+ parameters: [
1862
+ { text: "tp", type: ParameterType_1.ParameterType.keyword, required: true },
1863
+ { text: "victim", type: ParameterType_1.ParameterType.selector, required: true },
1864
+ { text: "destination x", type: ParameterType_1.ParameterType.coordinate, required: true },
1865
+ { text: "destination y", type: ParameterType_1.ParameterType.coordinate, required: true },
1866
+ { text: "destination z", type: ParameterType_1.ParameterType.coordinate, required: true },
1867
+ { text: "yRot", type: ParameterType_1.ParameterType.coordinate, required: false },
1868
+ { text: "xRot", type: ParameterType_1.ParameterType.coordinate, required: false },
1869
+ { text: "check for blocks", type: ParameterType_1.ParameterType.boolean, required: false },
1870
+ ],
1871
+ },
1872
+ {
1873
+ name: "tp",
1874
+ documentation: "Teleport the executing entity to the destination with facing.",
1875
+ parameters: [
1876
+ { text: "tp", type: ParameterType_1.ParameterType.keyword, required: true },
1877
+ { text: "destination", type: ParameterType_1.ParameterType.selector, required: true },
1878
+ { text: "facing", type: ParameterType_1.ParameterType.keyword, required: true },
1879
+ { text: "look at", type: ParameterType_1.ParameterType.selector, required: true },
1880
+ { text: "check for blocks", type: ParameterType_1.ParameterType.boolean, required: false },
1881
+ ],
1882
+ },
1883
+ {
1884
+ name: "tp",
1885
+ documentation: "Teleport the executing entity to the destination with facing.",
1886
+ parameters: [
1887
+ { text: "tp", type: ParameterType_1.ParameterType.keyword, required: true },
1888
+ { text: "destination", type: ParameterType_1.ParameterType.selector, required: true },
1889
+ { text: "facing", type: ParameterType_1.ParameterType.keyword, required: true },
1890
+ { text: "look at x", type: ParameterType_1.ParameterType.coordinate, required: true },
1891
+ { text: "look at y", type: ParameterType_1.ParameterType.coordinate, required: true },
1892
+ { text: "look at z", type: ParameterType_1.ParameterType.coordinate, required: true },
1893
+ { text: "check for blocks", type: ParameterType_1.ParameterType.boolean, required: false },
1894
+ ],
1895
+ },
1896
+ {
1897
+ name: "tp",
1898
+ documentation: "Teleport the entity to the destination with facing.",
1899
+ parameters: [
1900
+ { text: "tp", type: ParameterType_1.ParameterType.keyword, required: true },
1901
+ { text: "victim", type: ParameterType_1.ParameterType.selector, required: true },
1902
+ { text: "destination", type: ParameterType_1.ParameterType.selector, required: true },
1903
+ { text: "facing", type: ParameterType_1.ParameterType.keyword, required: true },
1904
+ { text: "look at", type: ParameterType_1.ParameterType.selector, required: true },
1905
+ { text: "check for blocks", type: ParameterType_1.ParameterType.boolean, required: false },
1906
+ ],
1907
+ },
1908
+ {
1909
+ name: "tp",
1910
+ documentation: "Teleport the entity to the destination with facing.",
1911
+ parameters: [
1912
+ { text: "tp", type: ParameterType_1.ParameterType.keyword, required: true },
1913
+ { text: "victim", type: ParameterType_1.ParameterType.selector, required: true },
1914
+ { text: "destination", type: ParameterType_1.ParameterType.selector, required: true },
1915
+ { text: "facing", type: ParameterType_1.ParameterType.keyword, required: true },
1916
+ { text: "look at x", type: ParameterType_1.ParameterType.coordinate, required: true },
1917
+ { text: "look at y", type: ParameterType_1.ParameterType.coordinate, required: true },
1918
+ { text: "look at z", type: ParameterType_1.ParameterType.coordinate, required: true },
1919
+ { text: "check for blocks", type: ParameterType_1.ParameterType.boolean, required: false },
1920
+ ],
1921
+ },
1922
+ {
1923
+ name: "tp",
1924
+ documentation: "Teleport the executing entity to the destination with facing.",
1925
+ parameters: [
1926
+ { text: "tp", type: ParameterType_1.ParameterType.keyword, required: true },
1927
+ { text: "destination x", type: ParameterType_1.ParameterType.coordinate, required: true },
1928
+ { text: "destination y", type: ParameterType_1.ParameterType.coordinate, required: true },
1929
+ { text: "destination z", type: ParameterType_1.ParameterType.coordinate, required: true },
1930
+ { text: "facing", type: ParameterType_1.ParameterType.keyword, required: true },
1931
+ { text: "look at", type: ParameterType_1.ParameterType.selector, required: true },
1932
+ { text: "check for blocks", type: ParameterType_1.ParameterType.boolean, required: false },
1933
+ ],
1934
+ },
1935
+ {
1936
+ name: "tp",
1937
+ documentation: "Teleport the entity to the destination with facing.",
1938
+ parameters: [
1939
+ { text: "tp", type: ParameterType_1.ParameterType.keyword, required: true },
1940
+ { text: "destination x", type: ParameterType_1.ParameterType.coordinate, required: true },
1941
+ { text: "destination y", type: ParameterType_1.ParameterType.coordinate, required: true },
1942
+ { text: "destination z", type: ParameterType_1.ParameterType.coordinate, required: true },
1943
+ { text: "facing", type: ParameterType_1.ParameterType.keyword, required: true },
1944
+ { text: "look at x", type: ParameterType_1.ParameterType.coordinate, required: true },
1945
+ { text: "look at y", type: ParameterType_1.ParameterType.coordinate, required: true },
1946
+ { text: "look at z", type: ParameterType_1.ParameterType.coordinate, required: true },
1947
+ { text: "check for blocks", type: ParameterType_1.ParameterType.boolean, required: false },
1948
+ ],
1949
+ },
1950
+ {
1951
+ name: "tp",
1952
+ documentation: "Teleport the entity to the destination with facing.",
1953
+ parameters: [
1954
+ { text: "tp", type: ParameterType_1.ParameterType.keyword, required: true },
1955
+ { text: "victim", type: ParameterType_1.ParameterType.selector, required: true },
1956
+ { text: "destination x", type: ParameterType_1.ParameterType.coordinate, required: true },
1957
+ { text: "destination y", type: ParameterType_1.ParameterType.coordinate, required: true },
1958
+ { text: "destination z", type: ParameterType_1.ParameterType.coordinate, required: true },
1959
+ { text: "facing", type: ParameterType_1.ParameterType.keyword, required: true },
1960
+ { text: "look at", type: ParameterType_1.ParameterType.selector, required: true },
1961
+ { text: "check for blocks", type: ParameterType_1.ParameterType.boolean, required: false },
1962
+ ],
1963
+ },
1964
+ {
1965
+ name: "tp",
1966
+ documentation: "Teleport the entity to the destination with facing.",
1967
+ parameters: [
1968
+ { text: "tp", type: ParameterType_1.ParameterType.keyword, required: true },
1969
+ { text: "victim", type: ParameterType_1.ParameterType.selector, required: true },
1970
+ { text: "destination x", type: ParameterType_1.ParameterType.coordinate, required: true },
1971
+ { text: "destination y", type: ParameterType_1.ParameterType.coordinate, required: true },
1972
+ { text: "destination z", type: ParameterType_1.ParameterType.coordinate, required: true },
1973
+ { text: "facing", type: ParameterType_1.ParameterType.keyword, required: true },
1974
+ { text: "look at x", type: ParameterType_1.ParameterType.coordinate, required: true },
1975
+ { text: "look at y", type: ParameterType_1.ParameterType.coordinate, required: true },
1976
+ { text: "look at z", type: ParameterType_1.ParameterType.coordinate, required: true },
1977
+ { text: "check for blocks", type: ParameterType_1.ParameterType.boolean, required: false },
1978
+ ],
1979
+ },
1980
+ ],
1981
+ /**The teleport command */
1982
+ teleport: [
1983
+ {
1984
+ name: "teleport",
1985
+ documentation: "Teleport Entities.",
1986
+ parameters: [
1987
+ { text: "teleport", type: ParameterType_1.ParameterType.keyword, required: true },
1988
+ { text: "destination", type: ParameterType_1.ParameterType.selector, required: true },
1989
+ { text: "check for blocks", type: ParameterType_1.ParameterType.boolean, required: false },
1990
+ ],
1991
+ },
1992
+ {
1993
+ name: "teleport",
1994
+ documentation: "Teleport Entities.",
1995
+ parameters: [
1996
+ { text: "teleport", type: ParameterType_1.ParameterType.keyword, required: true },
1997
+ { text: "destination x", type: ParameterType_1.ParameterType.coordinate, required: true },
1998
+ { text: "destination y", type: ParameterType_1.ParameterType.coordinate, required: true },
1999
+ { text: "destination z", type: ParameterType_1.ParameterType.coordinate, required: true },
2000
+ { text: "check for blocks", type: ParameterType_1.ParameterType.boolean, required: false },
2001
+ ],
2002
+ },
2003
+ {
2004
+ name: "teleport",
2005
+ documentation: "Teleport Entities.",
2006
+ parameters: [
2007
+ { text: "teleport", type: ParameterType_1.ParameterType.keyword, required: true },
2008
+ { text: "victim", type: ParameterType_1.ParameterType.selector, required: true },
2009
+ { text: "destination", type: ParameterType_1.ParameterType.selector, required: true },
2010
+ { text: "check for blocks", type: ParameterType_1.ParameterType.boolean, required: false },
2011
+ ],
2012
+ },
2013
+ {
2014
+ name: "teleport",
2015
+ documentation: "Teleport Entities.",
2016
+ parameters: [
2017
+ { text: "teleport", type: ParameterType_1.ParameterType.keyword, required: true },
2018
+ { text: "victim", type: ParameterType_1.ParameterType.selector, required: true },
2019
+ { text: "destination x", type: ParameterType_1.ParameterType.coordinate, required: true },
2020
+ { text: "destination y", type: ParameterType_1.ParameterType.coordinate, required: true },
2021
+ { text: "destination z", type: ParameterType_1.ParameterType.coordinate, required: true },
2022
+ { text: "check for blocks", type: ParameterType_1.ParameterType.boolean, required: false },
2023
+ ],
2024
+ },
2025
+ {
2026
+ name: "teleport",
2027
+ documentation: "Teleport Entities.",
2028
+ parameters: [
2029
+ { text: "teleport", type: ParameterType_1.ParameterType.keyword, required: true },
2030
+ { text: "destination", type: ParameterType_1.ParameterType.selector, required: true },
2031
+ { text: "yRot", type: ParameterType_1.ParameterType.coordinate, required: false },
2032
+ { text: "xRot", type: ParameterType_1.ParameterType.coordinate, required: false },
2033
+ { text: "check for blocks", type: ParameterType_1.ParameterType.boolean, required: false },
2034
+ ],
2035
+ },
2036
+ {
2037
+ name: "teleport",
2038
+ documentation: "Teleport Entities.",
2039
+ parameters: [
2040
+ { text: "teleport", type: ParameterType_1.ParameterType.keyword, required: true },
2041
+ { text: "destination x", type: ParameterType_1.ParameterType.coordinate, required: true },
2042
+ { text: "destination y", type: ParameterType_1.ParameterType.coordinate, required: true },
2043
+ { text: "destination z", type: ParameterType_1.ParameterType.coordinate, required: true },
2044
+ { text: "yRot", type: ParameterType_1.ParameterType.coordinate, required: false },
2045
+ { text: "xRot", type: ParameterType_1.ParameterType.coordinate, required: false },
2046
+ { text: "check for blocks", type: ParameterType_1.ParameterType.boolean, required: false },
2047
+ ],
2048
+ },
2049
+ {
2050
+ name: "teleport",
2051
+ documentation: "Teleport the entity to the destination with rotation.",
2052
+ parameters: [
2053
+ { text: "teleport", type: ParameterType_1.ParameterType.keyword, required: true },
2054
+ { text: "victim", type: ParameterType_1.ParameterType.selector, required: true },
2055
+ { text: "destination", type: ParameterType_1.ParameterType.selector, required: true },
2056
+ { text: "facing", type: ParameterType_1.ParameterType.keyword, required: true },
2057
+ { text: "yRot", type: ParameterType_1.ParameterType.coordinate, required: false },
2058
+ { text: "xRot", type: ParameterType_1.ParameterType.coordinate, required: false },
2059
+ { text: "check for blocks", type: ParameterType_1.ParameterType.boolean, required: false },
2060
+ ],
2061
+ },
2062
+ {
2063
+ name: "teleport",
2064
+ documentation: "Teleport Entities.",
2065
+ parameters: [
2066
+ { text: "teleport", type: ParameterType_1.ParameterType.keyword, required: true },
2067
+ { text: "victim", type: ParameterType_1.ParameterType.selector, required: true },
2068
+ { text: "destination x", type: ParameterType_1.ParameterType.coordinate, required: true },
2069
+ { text: "destination y", type: ParameterType_1.ParameterType.coordinate, required: true },
2070
+ { text: "destination z", type: ParameterType_1.ParameterType.coordinate, required: true },
2071
+ { text: "yRot", type: ParameterType_1.ParameterType.coordinate, required: false },
2072
+ { text: "xRot", type: ParameterType_1.ParameterType.coordinate, required: false },
2073
+ { text: "check for blocks", type: ParameterType_1.ParameterType.boolean, required: false },
2074
+ ],
2075
+ },
2076
+ {
2077
+ name: "teleport",
2078
+ documentation: "Teleport Entities.",
2079
+ parameters: [
2080
+ { text: "teleport", type: ParameterType_1.ParameterType.keyword, required: true },
2081
+ { text: "destination", type: ParameterType_1.ParameterType.selector, required: true },
2082
+ { text: "facing", type: ParameterType_1.ParameterType.keyword, required: true },
2083
+ { text: "look at", type: ParameterType_1.ParameterType.selector, required: true },
2084
+ { text: "check for blocks", type: ParameterType_1.ParameterType.boolean, required: false },
2085
+ ],
2086
+ },
2087
+ {
2088
+ name: "teleport",
2089
+ documentation: "Teleport Entities.",
2090
+ parameters: [
2091
+ { text: "teleport", type: ParameterType_1.ParameterType.keyword, required: true },
2092
+ { text: "destination", type: ParameterType_1.ParameterType.selector, required: true },
2093
+ { text: "facing", type: ParameterType_1.ParameterType.keyword, required: true },
2094
+ { text: "look at x", type: ParameterType_1.ParameterType.coordinate, required: true },
2095
+ { text: "look at y", type: ParameterType_1.ParameterType.coordinate, required: true },
2096
+ { text: "look at z", type: ParameterType_1.ParameterType.coordinate, required: true },
2097
+ { text: "check for blocks", type: ParameterType_1.ParameterType.boolean, required: false },
2098
+ ],
2099
+ },
2100
+ {
2101
+ name: "teleport",
2102
+ documentation: "Teleport Entities.",
2103
+ parameters: [
2104
+ { text: "teleport", type: ParameterType_1.ParameterType.keyword, required: true },
2105
+ { text: "victim", type: ParameterType_1.ParameterType.selector, required: true },
2106
+ { text: "destination", type: ParameterType_1.ParameterType.selector, required: true },
2107
+ { text: "facing", type: ParameterType_1.ParameterType.keyword, required: true },
2108
+ { text: "look at", type: ParameterType_1.ParameterType.selector, required: true },
2109
+ { text: "check for blocks", type: ParameterType_1.ParameterType.boolean, required: false },
2110
+ ],
2111
+ },
2112
+ {
2113
+ name: "teleport",
2114
+ documentation: "Teleport Entities.",
2115
+ parameters: [
2116
+ { text: "teleport", type: ParameterType_1.ParameterType.keyword, required: true },
2117
+ { text: "victim", type: ParameterType_1.ParameterType.selector, required: true },
2118
+ { text: "destination", type: ParameterType_1.ParameterType.selector, required: true },
2119
+ { text: "facing", type: ParameterType_1.ParameterType.keyword, required: true },
2120
+ { text: "look at x", type: ParameterType_1.ParameterType.coordinate, required: true },
2121
+ { text: "look at y", type: ParameterType_1.ParameterType.coordinate, required: true },
2122
+ { text: "look at z", type: ParameterType_1.ParameterType.coordinate, required: true },
2123
+ { text: "check for blocks", type: ParameterType_1.ParameterType.boolean, required: false },
2124
+ ],
2125
+ },
2126
+ {
2127
+ name: "teleport",
2128
+ documentation: "Teleport Entities.",
2129
+ parameters: [
2130
+ { text: "teleport", type: ParameterType_1.ParameterType.keyword, required: true },
2131
+ { text: "destination x", type: ParameterType_1.ParameterType.coordinate, required: true },
2132
+ { text: "destination y", type: ParameterType_1.ParameterType.coordinate, required: true },
2133
+ { text: "destination z", type: ParameterType_1.ParameterType.coordinate, required: true },
2134
+ { text: "facing", type: ParameterType_1.ParameterType.keyword, required: true },
2135
+ { text: "look at", type: ParameterType_1.ParameterType.selector, required: true },
2136
+ { text: "check for blocks", type: ParameterType_1.ParameterType.boolean, required: false },
2137
+ ],
2138
+ },
2139
+ {
2140
+ name: "teleport",
2141
+ documentation: "Teleport Entities.",
2142
+ parameters: [
2143
+ { text: "teleport", type: ParameterType_1.ParameterType.keyword, required: true },
2144
+ { text: "destination x", type: ParameterType_1.ParameterType.coordinate, required: true },
2145
+ { text: "destination y", type: ParameterType_1.ParameterType.coordinate, required: true },
2146
+ { text: "destination z", type: ParameterType_1.ParameterType.coordinate, required: true },
2147
+ { text: "facing", type: ParameterType_1.ParameterType.keyword, required: true },
2148
+ { text: "look at x", type: ParameterType_1.ParameterType.coordinate, required: true },
2149
+ { text: "look at y", type: ParameterType_1.ParameterType.coordinate, required: true },
2150
+ { text: "look at z", type: ParameterType_1.ParameterType.coordinate, required: true },
2151
+ { text: "check for blocks", type: ParameterType_1.ParameterType.boolean, required: false },
2152
+ ],
2153
+ },
2154
+ {
2155
+ name: "teleport",
2156
+ documentation: "Teleport Entities.",
2157
+ parameters: [
2158
+ { text: "teleport", type: ParameterType_1.ParameterType.keyword, required: true },
2159
+ { text: "victim", type: ParameterType_1.ParameterType.selector, required: true },
2160
+ { text: "destination x", type: ParameterType_1.ParameterType.coordinate, required: true },
2161
+ { text: "destination y", type: ParameterType_1.ParameterType.coordinate, required: true },
2162
+ { text: "destination z", type: ParameterType_1.ParameterType.coordinate, required: true },
2163
+ { text: "facing", type: ParameterType_1.ParameterType.keyword, required: true },
2164
+ { text: "look at", type: ParameterType_1.ParameterType.selector, required: true },
2165
+ { text: "check for blocks", type: ParameterType_1.ParameterType.boolean, required: false },
2166
+ ],
2167
+ },
2168
+ {
2169
+ name: "teleport",
2170
+ documentation: "Teleport Entities.",
2171
+ parameters: [
2172
+ { text: "teleport", type: ParameterType_1.ParameterType.keyword, required: true },
2173
+ { text: "victim", type: ParameterType_1.ParameterType.selector, required: true },
2174
+ { text: "destination x", type: ParameterType_1.ParameterType.coordinate, required: true },
2175
+ { text: "destination y", type: ParameterType_1.ParameterType.coordinate, required: true },
2176
+ { text: "destination z", type: ParameterType_1.ParameterType.coordinate, required: true },
2177
+ { text: "facing", type: ParameterType_1.ParameterType.keyword, required: true },
2178
+ { text: "look at x", type: ParameterType_1.ParameterType.coordinate, required: true },
2179
+ { text: "look at y", type: ParameterType_1.ParameterType.coordinate, required: true },
2180
+ { text: "look at z", type: ParameterType_1.ParameterType.coordinate, required: true },
2181
+ { text: "check for blocks", type: ParameterType_1.ParameterType.boolean, required: false },
2182
+ ],
2183
+ },
2184
+ ],
2185
+ /**The w command */
2186
+ w: [
2187
+ {
2188
+ name: "w",
2189
+ documentation: "Sends a message to the receiver.",
2190
+ parameters: [
2191
+ { text: "w", type: ParameterType_1.ParameterType.keyword, required: true },
2192
+ { text: "selector", type: ParameterType_1.ParameterType.selector, required: true },
2193
+ { text: "message", type: ParameterType_1.ParameterType.keyword, required: true },
2194
+ ],
2195
+ },
2196
+ ],
2197
+ /**The weather command */
2198
+ weather: [
2199
+ {
2200
+ name: "weather",
2201
+ documentation: "Sets the weather.",
2202
+ parameters: [
2203
+ { text: "weather", type: ParameterType_1.ParameterType.keyword, required: true },
2204
+ { text: "clear", type: ParameterType_1.ParameterType.keyword, required: true },
2205
+ { text: "duration", type: ParameterType_1.ParameterType.integer, required: false },
2206
+ ],
2207
+ },
2208
+ {
2209
+ name: "weather",
2210
+ documentation: "Sets the weather.",
2211
+ parameters: [
2212
+ { text: "weather", type: ParameterType_1.ParameterType.keyword, required: true },
2213
+ { text: "rain", type: ParameterType_1.ParameterType.keyword, required: true },
2214
+ { text: "duration", type: ParameterType_1.ParameterType.integer, required: false },
2215
+ ],
2216
+ },
2217
+ {
2218
+ name: "weather",
2219
+ documentation: "Sets the weather.",
2220
+ parameters: [
2221
+ { text: "weather", type: ParameterType_1.ParameterType.keyword, required: true },
2222
+ { text: "thunder", type: ParameterType_1.ParameterType.keyword, required: true },
2223
+ { text: "duration", type: ParameterType_1.ParameterType.integer, required: false },
2224
+ ],
2225
+ },
2226
+ ],
2227
+ /**The xp command */
2228
+ xp: [
2229
+ {
2230
+ name: "xp",
2231
+ documentation: "Adds or removes player experience.",
2232
+ parameters: [
2233
+ { text: "xp", type: ParameterType_1.ParameterType.keyword, required: true },
2234
+ { text: "amount", type: ParameterType_1.ParameterType.xp, required: true },
2235
+ { text: "player", type: ParameterType_1.ParameterType.selector, required: false, options: { playerOnly: true } },
2236
+ ],
2237
+ },
2238
+ {
2239
+ name: "xp",
2240
+ documentation: "Adds or removes player experience.",
2241
+ parameters: [
2242
+ { text: "xp", type: ParameterType_1.ParameterType.keyword, required: true },
2243
+ { text: "amount", type: ParameterType_1.ParameterType.integer, required: true },
2244
+ { text: "player", type: ParameterType_1.ParameterType.selector, required: false, options: { playerOnly: true } },
2245
+ ],
2246
+ },
2247
+ ],
2248
+ };
2249
+ //# sourceMappingURL=Vanilla.js.map