bc-minecraft-molang 1.2.6 → 1.2.10

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.
@@ -7,43 +7,43 @@ var General;
7
7
  /**The collection of math functions*/
8
8
  General.Math = [
9
9
  {
10
- documentation: "Absolute value of value",
11
10
  id: "abs",
11
+ documentation: "Absolute value of value",
12
12
  parameters: [{ id: "value" }],
13
13
  },
14
14
  {
15
- documentation: "arccos of value",
16
15
  id: "acos",
16
+ documentation: "arccos of value",
17
17
  parameters: [{ id: "value" }],
18
18
  },
19
19
  {
20
- documentation: "arcsin of value",
21
20
  id: "asin",
21
+ documentation: "arcsin of value",
22
22
  parameters: [{ id: "value" }],
23
23
  },
24
24
  {
25
- documentation: "arctan of value",
26
25
  id: "atan",
26
+ documentation: "arctan of value",
27
27
  parameters: [{ id: "value" }],
28
28
  },
29
29
  {
30
- documentation: "arctan of y/x. NOTE: the order of arguments!",
31
30
  id: "atan2",
31
+ documentation: "arctan of y/x. NOTE: the order of arguments!",
32
32
  parameters: [{ id: "y" }, { id: "x" }],
33
33
  },
34
34
  {
35
- documentation: "Round value up to nearest integral number",
36
35
  id: "ceil",
36
+ documentation: "Round value up to nearest integral number",
37
37
  parameters: [{ id: "value" }],
38
38
  },
39
39
  {
40
- documentation: "Clamp value to between min and max inclusive",
41
40
  id: "clamp",
41
+ documentation: "Clamp value to between min and max inclusive",
42
42
  parameters: [{ id: "value" }, { id: "min" }, { id: "max" }],
43
43
  },
44
44
  {
45
- documentation: "Cosine (in degrees) of value",
46
45
  id: "cos",
46
+ documentation: "Cosine (in degrees) of value",
47
47
  parameters: [{ id: "value" }],
48
48
  },
49
49
  {
@@ -57,13 +57,13 @@ var General;
57
57
  parameters: [{ id: "num" }, { id: "low" }, { id: "high" }],
58
58
  },
59
59
  {
60
- documentation: "Calculates e to the value'th power",
61
60
  id: "exp",
61
+ documentation: "Calculates e to the value'th power",
62
62
  parameters: [{ id: "value" }],
63
63
  },
64
64
  {
65
- documentation: "Round value down to nearest integral number",
66
65
  id: "floor",
66
+ documentation: "Round value down to nearest integral number",
67
67
  parameters: [{ id: "value" }],
68
68
  },
69
69
  {
@@ -72,77 +72,77 @@ var General;
72
72
  parameters: [{ id: "value" }],
73
73
  },
74
74
  {
75
- documentation: "Lerp from start to end via 0_to_1",
76
75
  id: "lerp",
76
+ documentation: "Lerp from start to end via 0_to_1",
77
77
  parameters: [{ id: "start" }, { id: "end" }, { id: "0_to_1" }],
78
78
  },
79
79
  {
80
- documentation: "Lerp the shortest direction around a circle from start degrees to end degrees via 0_to_1",
81
80
  id: "lerprotate",
81
+ documentation: "Lerp the shortest direction around a circle from start degrees to end degrees via 0_to_1",
82
82
  parameters: [{ id: "start" }, { id: "end" }, { id: "0_to_1" }],
83
83
  },
84
84
  {
85
- documentation: "Natural logarithm of value",
86
85
  id: "ln",
86
+ documentation: "Natural logarithm of value",
87
87
  parameters: [{ id: "value" }],
88
88
  },
89
89
  {
90
- documentation: "Return highest value of A or B",
91
90
  id: "max",
91
+ documentation: "Return highest value of A or B",
92
92
  parameters: [{ id: "A" }, { id: "B" }],
93
93
  },
94
94
  {
95
- documentation: "Return lowest value of A or B",
96
95
  id: "min",
96
+ documentation: "Return lowest value of A or B",
97
97
  parameters: [{ id: "A" }, { id: "B" }],
98
98
  },
99
99
  {
100
- documentation: "Minimize angle magnitude (in degrees) into the range [-180, 180]",
101
100
  id: "min_angle",
101
+ documentation: "Minimize angle magnitude (in degrees) into the range [-180, 180]",
102
102
  parameters: [{ id: "value" }],
103
103
  },
104
104
  {
105
- documentation: "Return the remainder of value / denominator",
106
105
  id: "mod",
106
+ documentation: "Return the remainder of value / denominator",
107
107
  parameters: [{ id: "value" }, { id: "denominator" }],
108
108
  },
109
109
  {
110
- documentation: "Returns the float representation of the constant pi.",
111
110
  id: "pi",
111
+ documentation: "Returns the float representation of the constant pi.",
112
112
  },
113
113
  {
114
- documentation: "Elevates `base` to the `exponent`'th power",
115
114
  id: "pow",
115
+ documentation: "Elevates `base` to the `exponent`'th power",
116
116
  parameters: [{ id: "base" }, { id: "exponent" }],
117
117
  },
118
118
  {
119
- documentation: "Random value between low and high inclusive",
120
119
  id: "random",
120
+ documentation: "Random value between low and high inclusive",
121
121
  parameters: [{ id: "low" }, { id: "high" }],
122
122
  },
123
123
  {
124
- documentation: "Random integer value between low and high inclusive",
125
124
  id: "random_integer",
125
+ documentation: "Random integer value between low and high inclusive",
126
126
  parameters: [{ id: "low" }, { id: "high" }],
127
127
  },
128
128
  {
129
- documentation: "Round value to nearest integral number",
130
129
  id: "round",
130
+ documentation: "Round value to nearest integral number",
131
131
  parameters: [{ id: "value" }],
132
132
  },
133
133
  {
134
- documentation: "Sine (in degrees) of value",
135
134
  id: "sin",
135
+ documentation: "Sine (in degrees) of value",
136
136
  parameters: [{ id: "value" }],
137
137
  },
138
138
  {
139
- documentation: "Square root of value",
140
139
  id: "sqrt",
140
+ documentation: "Square root of value",
141
141
  parameters: [{ id: "value" }],
142
142
  },
143
143
  {
144
- documentation: "Round value towards zero",
145
144
  id: "trunc",
145
+ documentation: "Round value towards zero",
146
146
  parameters: [{ id: "value" }],
147
147
  },
148
148
  ];
@@ -158,920 +158,953 @@ var General;
158
158
  /**The collection of queries*/
159
159
  General.Queries = [
160
160
  {
161
- documentation: "Gets specified axis of the specified bone orientation pivot",
162
- id: "get_default_bone_pivot",
163
- },
164
- {
165
- documentation: "Returns 1.0 if the entity is in contact with any water (water, rain, splash water bottle), else it returns 0.0",
166
- id: "is_in_contact_with_water",
167
- },
168
- {
169
- documentation: "Returns 1.0 if the entity is playing dead, else it returns 0.0",
170
- id: "is_playing_dead",
171
- },
172
- {
173
- documentation: "Returns the height of the block immediately above the highest solid block at the input (x,z) position",
174
161
  id: "above_top_solid",
162
+ documentation: "Returns the height of the block immediately above the highest solid block at the input (x,z) position",
175
163
  },
176
164
  {
177
- documentation: "Returns the number of actors rendered in the last frame",
178
165
  id: "actor_count",
166
+ documentation: "Returns the number of actors rendered in the last frame",
179
167
  },
180
168
  {
181
- documentation: "Only valid in an animation controller. Returns 1.0 if all animations in the current animation controller state have played through at least once, else it returns 0.0",
182
169
  id: "all_animations_finished",
170
+ documentation: "Only valid in an animation controller. Returns 1.0 if all animations in the current animation controller state have played through at least once, else it returns 0.0",
183
171
  },
184
172
  {
185
- documentation: "Returns if the item or block has all of the tags specified",
186
173
  id: "all_tags",
174
+ documentation: "Returns if the item or block has all of the tags specified",
175
+ },
176
+ {
177
+ id: "all",
178
+ documentation: "Requires at least 3 arguments. Evaluates the first argument, then returns 1.0 if all of the following arguments evaluate to the same value as the first. Otherwise it returns 0.0.",
179
+ parameters: [
180
+ { id: "evualate", documentation: "The value to evualate" },
181
+ { id: "first", documentation: "The first value to compare" },
182
+ { id: "second", documentation: "The first value to compare" },
183
+ ],
187
184
  },
188
185
  {
189
- documentation: "Returns the time in seconds since the current animation started, else 0.0 if not called within an animation",
190
186
  id: "anim_time",
187
+ documentation: "Returns the time in seconds since the current animation started, else 0.0 if not called within an animation",
191
188
  },
192
189
  {
193
- documentation: "Only valid in an animation controller. Returns 1.0 if any animation in the current animation controller state has played through at least once, else it returns 0.0",
194
190
  id: "any_animation_finished",
191
+ documentation: "Only valid in an animation controller. Returns 1.0 if any animation in the current animation controller state has played through at least once, else it returns 0.0",
195
192
  },
196
193
  {
197
- documentation: "Returns if the item or block has any of the tags specified",
198
194
  id: "any_tag",
195
+ documentation: "Returns if the item or block has any of the tags specified",
196
+ },
197
+ {
198
+ id: "any",
199
+ documentation: "Requires at least 3 arguments. Evaluates the first argument, then returns 1.0 if any of the following arguments evaluate to the same value as the first. Otherwise it returns 0.0.",
200
+ parameters: [
201
+ { id: "evualate", documentation: "The value to evualate" },
202
+ { id: "first", documentation: "The first value to compare" },
203
+ { id: "second", documentation: "The first value to compare" },
204
+ ],
199
205
  },
200
206
  {
201
- documentation: "Returns 1.0 if all of the arguments are within 0.000000 of each other, else 0.0",
202
207
  id: "approx_eq",
208
+ documentation: "Returns 1.0 if all of the arguments are within 0.000000 of each other, else 0.0",
203
209
  },
204
210
  {
205
- documentation: "Takes the armor slot index as a parameter, and returns the color of the armor in the requested slot",
206
211
  id: "armor_color_slot",
212
+ documentation: "Takes the armor slot index as a parameter, and returns the color of the armor in the requested slot",
207
213
  },
208
214
  {
209
- documentation: "Takes the armor slot index as a parameter, and returns the armor material type in the requested armor slot",
210
215
  id: "armor_material_slot",
216
+ documentation: "Takes the armor slot index as a parameter, and returns the armor material type in the requested armor slot",
211
217
  },
212
218
  {
213
- documentation: "Takes the armor slot index as a parameter, and returns the texture type of the requested slot",
214
219
  id: "armor_texture_slot",
220
+ documentation: "Takes the armor slot index as a parameter, and returns the texture type of the requested slot",
215
221
  },
216
222
  {
217
- documentation: "Returns the time in *seconds* of the average frame time over the last 'n' frames. If an argument is passed, it is assumed to be the number of frames in the past that you wish to query. `query.average_frame_time` (or the equivalent `query.average_frame_time(0)`) will return the frame time of the frame before the current one. `query.average_frame_time(1)` will return the average frame time of the previous two frames. Currently we store the history of the last 30 frames, although note that this may change in the future. Asking for more frames will result in only sampling the number of frames stored.",
218
223
  id: "average_frame_time",
224
+ documentation: "Returns the time in *seconds* of the average frame time over the last 'n' frames. If an argument is passed, it is assumed to be the number of frames in the past that you wish to query. `query.average_frame_time` (or the equivalent `query.average_frame_time(0)`) will return the frame time of the frame before the current one. `query.average_frame_time(1)` will return the average frame time of the previous two frames. Currently we store the history of the last 30 frames, although note that this may change in the future. Asking for more frames will result in only sampling the number of frames stored.",
219
225
  },
220
226
  {
221
- documentation: "Returns the block face for this (only valid for certain triggers such as placing blocks, or interacting with block) (Down=0.0, Up=1.0, North=2.0, South=3.0, West=4.0, East=5.0, Undefined=6.0).",
222
227
  id: "block_face",
228
+ documentation: "Returns the block face for this (only valid for certain triggers such as placing blocks, or interacting with block) (Down=0.0, Up=1.0, North=2.0, South=3.0, West=4.0, East=5.0, Undefined=6.0).",
223
229
  },
224
230
  {
225
- documentation: "Returns the value of the associated Blocks Block State",
226
231
  id: "block_property",
232
+ documentation: "Returns the value of the associated Blocks Block State",
227
233
  },
228
234
  {
229
- documentation: "Returns 1.0 if the entity is blocking, else it returns 0.0",
230
235
  id: "blocking",
236
+ documentation: "Returns 1.0 if the entity is blocking, else it returns 0.0",
231
237
  },
232
238
  {
233
- documentation: "Returns the body pitch rotation if called on an actor, else it returns 0.0",
234
239
  id: "body_x_rotation",
240
+ documentation: "Returns the body pitch rotation if called on an actor, else it returns 0.0",
235
241
  },
236
242
  {
237
- documentation: "Returns the body yaw rotation if called on an actor, else it returns 0.0",
238
243
  id: "body_y_rotation",
244
+ documentation: "Returns the body yaw rotation if called on an actor, else it returns 0.0",
245
+ },
246
+ {
247
+ id: "bone_aabb",
248
+ documentation: "Returns the axis aligned bounding box of a bone as a struct with members '.min', '.max', along with '.x', '.y', and '.z' values for each.",
249
+ },
250
+ {
251
+ id: "bone_origin",
252
+ documentation: "Returns the initial (from the .geo) pivot of a bone as a struct with members '.x', '.y', and '.z'.",
253
+ },
254
+ {
255
+ id: "bone_rotation",
256
+ documentation: "Returns the initial (from the .geo) rotation of a bone as a struct with members '.x', '.y', and '.z' in degrees.",
239
257
  },
240
258
  {
241
- documentation: "Takes two distances (any order) and return a number from 0 to 1 based on the camera distance between the two ranges clamped to that range. For example, `query.camera_distance_range_lerp(10, 20)` will return 0 for any distance less than or equal to 10, 0.2 for a distance of 12, 0.5 for 15, and 1 for 20 or greater. If you pass in (20, 10), a distance of 20 will return 0.0",
242
259
  id: "camera_distance_range_lerp",
260
+ documentation: "Takes two distances (any order) and return a number from 0 to 1 based on the camera distance between the two ranges clamped to that range. For example, `query.camera_distance_range_lerp(10, 20)` will return 0 for any distance less than or equal to 10, 0.2 for a distance of 12, 0.5 for 15, and 1 for 20 or greater. If you pass in (20, 10), a distance of 20 will return 0.0",
243
261
  },
244
262
  {
245
- documentation: "Returns the rotation of the camera. Requires one argument representing the rotation axis you would like (`0 for x`, `1 for y`)",
246
263
  id: "camera_rotation",
264
+ documentation: "Returns the rotation of the camera. Requires one argument representing the rotation axis you would like (`0 for x`, `1 for y`)",
265
+ parameters: [{ id: "axis", documentation: "0 for x, 1 for y" }],
247
266
  },
248
267
  {
249
- documentation: "Returns 1.0 if the entity can climb, else it returns 0.0",
250
268
  id: "can_climb",
269
+ documentation: "Returns 1.0 if the entity can climb, else it returns 0.0",
251
270
  },
252
271
  {
253
- documentation: "Returns 1.0 if the entity can damage nearby mobs, else it returns 0.0",
254
272
  id: "can_damage_nearby_mobs",
273
+ documentation: "Returns 1.0 if the entity can damage nearby mobs, else it returns 0.0",
255
274
  },
256
275
  {
257
- documentation: "Returns 1.0 if the entity can fly, else it returns 0.0",
258
276
  id: "can_fly",
277
+ documentation: "Returns 1.0 if the entity can fly, else it returns 0.0",
259
278
  },
260
279
  {
261
- documentation: "Returns 1.0 if the entity can power jump, else it returns 0.0",
262
280
  id: "can_power_jump",
281
+ documentation: "Returns 1.0 if the entity can power jump, else it returns 0.0",
263
282
  },
264
283
  {
265
- documentation: "Returns 1.0 if the entity can swim, else it returns 0.0",
266
284
  id: "can_swim",
285
+ documentation: "Returns 1.0 if the entity can swim, else it returns 0.0",
267
286
  },
268
287
  {
269
- documentation: "Returns 1.0 if the entity can walk, else it returns 0.0",
270
288
  id: "can_walk",
289
+ documentation: "Returns 1.0 if the entity can walk, else it returns 0.0",
271
290
  },
272
291
  {
273
- documentation: "Returns the axis aligned bounding box of a bone as a struct with members '.min', '.max', along with '.x', '.y', and '.z' values for each.",
274
- id: "bone_aabb",
275
- },
276
- {
277
- documentation: "Returns the initial (from the .geo) pivot of a bone as a struct with members '.x', '.y', and '.z'.",
278
- id: "bone_origin",
279
- },
280
- {
281
- documentation: "Returns the initial (from the .geo) rotation of a bone as a struct with members '.x', '.y', and '.z' in degrees.",
282
- id: "bone_rotation",
283
- },
284
- {
285
- documentation: "returns value between 0.0 and 1.0 with 0.0 meaning cape is fully down and 1.0 is cape is fully up",
286
292
  id: "cape_flap_amount",
287
- },
288
- /*{
289
- documentation: "DEPRECATED (please use query.block_face instead) Returns the block face for this (only valid for on_placed_by_player trigger) (Down=0.0, Up=1.0, North=2.0, South=3.0, West=4.0, East=5.0, Undefined=6.0).",
290
- id: "cardinal_block_face_placed_on",
291
- },*/
292
- {
293
- documentation: "Returns the current facing of the player (Down=0.0, Up=1.0, North=2.0, South=3.0, West=4.0, East=5.0, Undefined=6.0).",
294
- id: "cardinal_facing",
293
+ documentation: "returns value between 0.0 and 1.0 with 0.0 meaning cape is fully down and 1.0 is cape is fully up",
295
294
  },
296
295
  {
297
- documentation: "Returns the current facing of the player ignoring up/down part of the direction (North=2.0, South=3.0, West=4.0, East=5.0, Undefined=6.0).",
298
296
  id: "cardinal_facing_2d",
297
+ documentation: "Returns the current facing of the player ignoring up/down part of the direction (North=2.0, South=3.0, West=4.0, East=5.0, Undefined=6.0).",
299
298
  },
300
299
  {
300
+ id: "cardinal_facing",
301
301
  documentation: "Returns the current facing of the player (Down=0.0, Up=1.0, North=2.0, South=3.0, West=4.0, East=5.0, Undefined=6.0).",
302
+ },
303
+ {
302
304
  id: "cardinal_player_facing",
305
+ documentation: "Returns the current facing of the player (Down=0.0, Up=1.0, North=2.0, South=3.0, West=4.0, East=5.0, Undefined=6.0).",
303
306
  },
304
307
  {
305
- documentation: "Combines any valid entity references from all arguments into a single array. Note that order is not preserved, and duplicates and invalid values are removed.",
306
308
  id: "combine_entities",
309
+ documentation: "Combines any valid entity references from all arguments into a single array. Note that order is not preserved, and duplicates and invalid values are removed.",
307
310
  },
308
311
  {
309
- documentation: "Counts the number of things passed to it (arrays are counted as the number of elements they contain; non-arrays count as 1).",
310
312
  id: "count",
313
+ documentation: "Counts the number of things passed to it (arrays are counted as the number of elements they contain; non-arrays count as 1).",
311
314
  },
312
315
  {
313
- documentation: "Returns the squish value for the current entity, or 0.0 if this doesn't make sense",
314
316
  id: "current_squish_value",
317
+ documentation: "Returns the squish value for the current entity, or 0.0 if this doesn't make sense",
315
318
  },
319
+ { id: "day", documentation: "Returns the day of the current level." },
316
320
  {
317
- documentation: "Returns the day of the current level.",
318
- id: "day",
321
+ id: "death_ticks",
322
+ documentation: "Returns the elapsed ticks since the mob started dying.",
319
323
  },
320
324
  {
321
- documentation: "debug log a value to the output debug window for builds that have one",
322
325
  id: "debug_output",
326
+ documentation: "debug log a value to the output debug window for builds that have one",
323
327
  },
324
328
  {
325
- documentation: "Returns the elapsed ticks since the mob started dying.",
326
- id: "death_ticks",
327
- },
328
- {
329
- documentation: "Returns the time in seconds since the previous frame",
330
329
  id: "delta_time",
330
+ documentation: "Returns the time in seconds since the previous frame",
331
331
  },
332
332
  {
333
- documentation: "Returns the distance of the root of this actor or particle emitter from the camera",
334
333
  id: "distance_from_camera",
334
+ documentation: "Returns the distance of the root of this actor or particle emitter from the camera",
335
335
  },
336
336
  {
337
- documentation: "Returns the total number of active emitters of the callee's particle effect type",
338
337
  id: "effect_emitter_count",
338
+ documentation: "Returns the total number of active emitters of the callee's particle effect type",
339
339
  },
340
340
  {
341
- documentation: "Returns the total number of active particles of the callee's particle effect type",
342
341
  id: "effect_particle_count",
342
+ documentation: "Returns the total number of active particles of the callee's particle effect type",
343
343
  },
344
344
  {
345
- documentation: "returns the equipment count for an actor",
346
345
  id: "equipment_count",
346
+ documentation: "returns the equipment count for an actor",
347
347
  },
348
348
  {
349
- documentation: "takes a slot name followed by any tag you want to check for in the form of 'tag_name' and returns 1 if all of the tags are on that equipped item, 0 otherwise",
350
349
  id: "equipped_item_all_tags",
350
+ documentation: "takes a slot name followed by any tag you want to check for in the form of 'tag_name' and returns 1 if all of the tags are on that equipped item, 0 otherwise",
351
351
  },
352
352
  {
353
- documentation: "takes a slot name followed by any tag you want to check for in the form of 'tag_name' and returns 0 if none of the tags are on that equipped item or 1 if at least 1 tag exists",
354
353
  id: "equipped_item_any_tag",
354
+ documentation: "takes a slot name followed by any tag you want to check for in the form of 'tag_name' and returns 0 if none of the tags are on that equipped item or 1 if at least 1 tag exists",
355
355
  },
356
356
  {
357
- documentation: "Takes the desired hand slot as a parameter (0 or 'main_hand' for main hand, 1 or 'off_hand' for off hand), and returns whether the item is an attachable or not.",
358
357
  id: "equipped_item_is_attachable",
358
+ documentation: "Takes the desired hand slot as a parameter (0 or 'main_hand' for main hand, 1 or 'off_hand' for off hand), and returns whether the item is an attachable or not.",
359
359
  },
360
360
  {
361
- documentation: "returns the X eye rotation of the entity if it makes sense, else it returns 0.0",
362
361
  id: "eye_target_x_rotation",
362
+ documentation: "returns the X eye rotation of the entity if it makes sense, else it returns 0.0",
363
363
  },
364
364
  {
365
- documentation: "returns the Y eye rotation of the entity if it makes sense, else it returns 0.0",
366
365
  id: "eye_target_y_rotation",
366
+ documentation: "returns the Y eye rotation of the entity if it makes sense, else it returns 0.0",
367
367
  },
368
368
  {
369
- documentation: "Returns the ratio (from 0 to 1) of how much between AI ticks this frame is being rendered",
370
- id: "frame_alpha",
369
+ id: "facing_target_to_range_attack",
370
+ documentation: "Returns 1.0 if the entity is attacking from range (i.e. minecraft:behavior.ranged_attack), else it returns 0.0",
371
371
  },
372
372
  {
373
- documentation: "Returns 1.0 if the entity is attacking from range (i.e. minecraft:behavior.ranged_attack), else it returns 0.0",
374
- id: "facing_target_to_range_attack",
373
+ id: "frame_alpha",
374
+ documentation: "Returns the ratio (from 0 to 1) of how much between AI ticks this frame is being rendered",
375
375
  },
376
376
  {
377
- documentation: "Returns the integer id of an actor by its string name",
378
377
  id: "get_actor_info_id",
378
+ documentation: "Returns the integer id of an actor by its string name",
379
379
  },
380
380
  {
381
- documentation: "Returns the current texture of the item",
382
381
  id: "get_animation_frame",
382
+ documentation: "Returns the current texture of the item",
383
383
  },
384
384
  {
385
- documentation: "takes one optional hand slot as a parameter (0 or 'main_hand' for main hand, 1 or 'off_hand' for off hand), and a second parameter (0=default) if you would like the equipped item or any non-zero number for the currently rendered item, and returns the name of the item in the requested slot (defaulting to the main hand if no parameter is supplied) if there is one, otherwise returns ''.",
386
- id: "get_equipped_item_name",
385
+ id: "get_default_bone_pivot",
386
+ documentation: "Gets specified axis of the specified bone orientation pivot",
387
387
  },
388
388
  {
389
- documentation: "Gets specified axis of the specified locator offset",
390
389
  id: "get_locator_offset",
390
+ documentation: "Gets specified axis of the specified locator offset",
391
391
  },
392
392
  {
393
- documentation: "get the name of the mob if there is one, otherwise return ''",
394
- id: "get_name",
395
- },
396
- {
397
- documentation: "Gets specified axis of the specified locator offset of the root model",
398
393
  id: "get_root_locator_offset",
394
+ documentation: "Gets specified axis of the specified locator offset of the root model",
399
395
  },
400
396
  {
401
- documentation: "Returns the ground speed of the entity in metres/second",
402
397
  id: "ground_speed",
398
+ documentation: "Returns the ground speed of the entity in metres/second",
403
399
  },
404
400
  {
405
- documentation: "Returns 1 if the entity has any of the specified families, else 0.",
406
401
  id: "has_any_family",
402
+ documentation: "Returns 1 if the entity has any of the specified families, else 0.",
407
403
  },
408
404
  {
409
- documentation: "Takes the armor slot index as a parameter, and returns 1.0 if the entity has armor in the requested slot, else it returns 0.0",
410
405
  id: "has_armor_slot",
406
+ documentation: "Takes the armor slot index as a parameter, and returns 1.0 if the entity has armor in the requested slot, else it returns 0.0",
411
407
  },
412
408
  {
413
- documentation: "Returns whether or not a Block Placement Target has a specific biome tag",
414
409
  id: "has_biome_tag",
410
+ documentation: "Returns whether or not a Block Placement Target has a specific biome tag",
415
411
  },
416
412
  {
417
- documentation: "Returns 1.0 if the associated block has the given block property or 0.0 if not",
418
413
  id: "has_block_property",
414
+ documentation: "Returns 1.0 if the associated block has the given block property or 0.0 if not",
419
415
  },
420
416
  {
421
- documentation: "Returns 1.0 if the player has a cape, else it returns 0.0",
422
417
  id: "has_cape",
418
+ documentation: "Returns 1.0 if the player has a cape, else it returns 0.0",
423
419
  },
424
420
  {
425
- documentation: "Returns 1.0 if the entity has collisions enabled, else it returns 0.0",
426
421
  id: "has_collision",
422
+ documentation: "Returns 1.0 if the entity has collisions enabled, else it returns 0.0",
427
423
  },
428
424
  {
429
- documentation: "Returns 1.0 if the entity is affected by gravity, else it returns 0.0",
430
425
  id: "has_gravity",
426
+ documentation: "Returns 1.0 if the entity is affected by gravity, else it returns 0.0",
431
427
  },
432
428
  {
433
- documentation: "Returns true if the entity has an owner ID else it returns false",
434
429
  id: "has_owner",
430
+ documentation: "Returns true if the entity has an owner ID else it returns false",
435
431
  },
436
432
  {
437
- documentation: "Returns 1.0 if the entity has a rider, else it returns 0.0",
438
433
  id: "has_rider",
434
+ documentation: "Returns 1.0 if the entity has a rider, else it returns 0.0",
439
435
  },
440
436
  {
441
- documentation: "Returns 1.0 if the entity has a target, else it returns 0.0",
442
437
  id: "has_target",
438
+ documentation: "Returns 1.0 if the entity has a target, else it returns 0.0",
443
439
  },
444
440
  {
445
- documentation: "returns the roll angle of the head of the entity if it makes sense, else it returns 0.0",
446
441
  id: "head_roll_angle",
442
+ documentation: "returns the roll angle of the head of the entity if it makes sense, else it returns 0.0",
447
443
  },
448
444
  {
449
- documentation: "Takes one argument as a parameter. Returns the nth head x rotation of the entity if it makes sense, else it returns 0.0",
450
445
  id: "head_x_rotation",
446
+ documentation: "Takes one argument as a parameter. Returns the nth head x rotation of the entity if it makes sense, else it returns 0.0",
451
447
  },
452
448
  {
453
- documentation: "Takes one argument as a parameter. Returns the nth head y rotation of the entity if it makes sense, else it returns 0.0",
454
449
  id: "head_y_rotation",
450
+ documentation: "Takes one argument as a parameter. Returns the nth head y rotation of the entity if it makes sense, else it returns 0.0",
455
451
  },
456
452
  {
457
- documentation: "Returns the health of the entity, or 0.0 if it doesn't make sense to call on this entity.",
458
453
  id: "health",
454
+ documentation: "Returns the health of the entity, or 0.0 if it doesn't make sense to call on this entity.",
459
455
  },
456
+ { id: "heightmap", documentation: "Queries Height Map" },
460
457
  {
461
- documentation: "Queries Height Map",
462
- id: "heightmap",
463
- },
464
- {
465
- documentation: "returns the hurt direction for the actor, otherwise returns 0",
466
458
  id: "hurt_direction",
459
+ documentation: "returns the hurt direction for the actor, otherwise returns 0",
467
460
  },
468
461
  {
469
- documentation: "returns the hurt time for the actor, otherwise returns 0",
470
462
  id: "hurt_time",
463
+ documentation: "returns the hurt time for the actor, otherwise returns 0",
464
+ },
465
+ {
466
+ id: "in_range",
467
+ documentation: "Requires 3 numerical arguments: some value, a minimum, and a maximum. If the first argument is between the minimum and maximum (inclusive), returns 1.0. Otherwise returns 0.0.",
468
+ parameters: [
469
+ { id: "evualate", documentation: "The value to evualate" },
470
+ {
471
+ id: "minimum",
472
+ documentation: "The first value to compare, inclusive",
473
+ },
474
+ {
475
+ id: "maximum",
476
+ documentation: "The second value to compare, inclusive",
477
+ },
478
+ ],
471
479
  },
472
480
  {
473
- documentation: "Returns the number of ticks of invulnerability the entity has left if it makes sense, else it returns 0.0",
474
481
  id: "invulnerable_ticks",
482
+ documentation: "Returns the number of ticks of invulnerability the entity has left if it makes sense, else it returns 0.0",
475
483
  },
476
484
  {
477
- documentation: "Returns 1.0 if the entity is admiring, else it returns 0.0",
478
485
  id: "is_admiring",
486
+ documentation: "Returns 1.0 if the entity is admiring, else it returns 0.0",
479
487
  },
480
488
  {
481
- documentation: "returns 1.0 if the entity is alive, and 0.0 if it's dead",
482
489
  id: "is_alive",
490
+ documentation: "returns 1.0 if the entity is alive, and 0.0 if it's dead",
483
491
  },
484
492
  {
485
- documentation: "Returns 1.0 if the entity is angry, else it returns 0.0",
486
493
  id: "is_angry",
494
+ documentation: "Returns 1.0 if the entity is angry, else it returns 0.0",
487
495
  },
488
496
  {
489
- documentation: "Returns 1.0 if the actor is attached to an entity, else it will return 0.0",
490
497
  id: "is_attached_to_entity",
498
+ documentation: "Returns 1.0 if the actor is attached to an entity, else it will return 0.0",
491
499
  },
492
500
  {
493
- documentation: "Returns 1.0 if the entity is fleeing from a block, else it returns 0.0",
494
501
  id: "is_avoiding_block",
502
+ documentation: "Returns 1.0 if the entity is fleeing from a block, else it returns 0.0",
495
503
  },
496
504
  {
497
- documentation: "Returns 1.0 if the entity is fleeing from mobs, else it returns 0.0",
498
505
  id: "is_avoiding_mobs",
506
+ documentation: "Returns 1.0 if the entity is fleeing from mobs, else it returns 0.0",
499
507
  },
500
508
  {
501
- documentation: "Returns 1.0 if the entity is a baby, else it returns 0.0",
502
509
  id: "is_baby",
510
+ documentation: "Returns 1.0 if the entity is a baby, else it returns 0.0",
503
511
  },
504
512
  {
505
- documentation: "Returns 1.0 if the entity is breathing, else it returns 0.0",
506
513
  id: "is_breathing",
514
+ documentation: "Returns 1.0 if the entity is breathing, else it returns 0.0",
507
515
  },
508
516
  {
509
- documentation: "Returns 1.0 if the entity has been bribed, else it returns 0.0",
510
517
  id: "is_bribed",
518
+ documentation: "Returns 1.0 if the entity has been bribed, else it returns 0.0",
511
519
  },
512
520
  {
513
- documentation: "Returns 1.0 if the entity is carrying a block, else it returns 0.0",
514
521
  id: "is_carrying_block",
522
+ documentation: "Returns 1.0 if the entity is carrying a block, else it returns 0.0",
515
523
  },
516
524
  {
517
- documentation: "Returns 1.0 if the entity is casting, else it returns 0.0",
518
525
  id: "is_casting",
526
+ documentation: "Returns 1.0 if the entity is casting, else it returns 0.0",
519
527
  },
520
528
  {
521
- documentation: "Returns 1.0 if the entity is celebrating, else it returns 0.0",
522
- id: "is_celebrating",
529
+ id: "is_celebrating_special",
530
+ documentation: "Returns 1.0 if the entity is doing a special celebration, else it returns 0.0",
523
531
  },
524
532
  {
525
- documentation: "Returns 1.0 if the entity is doing a special celebration, else it returns 0.0",
526
- id: "is_celebrating_special",
533
+ id: "is_celebrating",
534
+ documentation: "Returns 1.0 if the entity is celebrating, else it returns 0.0",
527
535
  },
528
536
  {
529
- documentation: "Returns 1.0 if the entity is charged, else it returns 0.0",
530
537
  id: "is_charged",
538
+ documentation: "Returns 1.0 if the entity is charged, else it returns 0.0",
531
539
  },
532
540
  {
533
- documentation: "Returns 1.0 if the entity is charging, else it returns 0.0",
534
541
  id: "is_charging",
542
+ documentation: "Returns 1.0 if the entity is charging, else it returns 0.0",
535
543
  },
536
544
  {
537
- documentation: "Returns 1.0 if the entity has chests attached to it, else it returns 0.0",
538
545
  id: "is_chested",
546
+ documentation: "Returns 1.0 if the entity has chests attached to it, else it returns 0.0",
539
547
  },
540
548
  {
541
- documentation: "Returns 1.0 if the entity is critical, else it returns 0.0",
542
549
  id: "is_critical",
550
+ documentation: "Returns 1.0 if the entity is critical, else it returns 0.0",
551
+ },
552
+ {
553
+ id: "is_croaking",
554
+ documentation: "Returns 1.0 if the entity is croaking, else it returns 0.0",
543
555
  },
544
556
  {
545
- documentation: "Returns 1.0 if the entity is dancing, else it returns 0.0",
546
557
  id: "is_dancing",
558
+ documentation: "Returns 1.0 if the entity is dancing, else it returns 0.0",
547
559
  },
548
560
  {
549
- documentation: "returns 1.0 if the entity is attacking using the delayed attack, else it returns 0.0",
550
561
  id: "is_delayed_attacking",
562
+ documentation: "returns 1.0 if the entity is attacking using the delayed attack, else it returns 0.0",
563
+ },
564
+ {
565
+ id: "is_eating_mob",
566
+ documentation: "Returns 1.0 if the entity is eating a mob, else it returns 0.0",
551
567
  },
552
568
  {
553
- documentation: "Returns 1.0 if the entity is eating, else it returns 0.0",
554
569
  id: "is_eating",
570
+ documentation: "Returns 1.0 if the entity is eating, else it returns 0.0",
555
571
  },
556
572
  {
557
- documentation: "Returns 1.0 if the entity is an elder version of it, else it returns 0.0",
558
573
  id: "is_elder",
574
+ documentation: "Returns 1.0 if the entity is an elder version of it, else it returns 0.0",
559
575
  },
560
576
  {
561
- documentation: "Returns 1.0 if the entity is emoting, else it returns 0.0",
562
577
  id: "is_emoting",
578
+ documentation: "Returns 1.0 if the entity is emoting, else it returns 0.0",
563
579
  },
564
580
  {
565
- documentation: "Returns 1.0 if the entity is enchanted, else it returns 0.0",
566
581
  id: "is_enchanted",
582
+ documentation: "Returns 1.0 if the entity is enchanted, else it returns 0.0",
567
583
  },
568
584
  {
569
- documentation: "Returns 1.0 if the entity is immune to fire, else it returns 0.0",
570
585
  id: "is_fire_immune",
586
+ documentation: "Returns 1.0 if the entity is immune to fire, else it returns 0.0",
571
587
  },
572
588
  {
573
- documentation: "Returns 1.0 if the entity is being rendered in first person mode, else it returns 0.0",
574
589
  id: "is_first_person",
590
+ documentation: "Returns 1.0 if the entity is being rendered in first person mode, else it returns 0.0",
575
591
  },
576
592
  {
577
- documentation: "returns 1.0 if an entity is a ghost, else it returns 0.0",
578
593
  id: "is_ghost",
594
+ documentation: "returns 1.0 if an entity is a ghost, else it returns 0.0",
579
595
  },
580
596
  {
581
- documentation: "Returns 1.0 if the entity is gliding, else it returns 0.0",
582
597
  id: "is_gliding",
598
+ documentation: "Returns 1.0 if the entity is gliding, else it returns 0.0",
583
599
  },
584
600
  {
585
- documentation: "Returns 1.0 if the entity is grazing, or 0.0 if not",
586
601
  id: "is_grazing",
602
+ documentation: "Returns 1.0 if the entity is grazing, or 0.0 if not",
587
603
  },
588
604
  {
589
- documentation: "Returns 1.0 if the entity is idling, else it returns 0.0",
590
605
  id: "is_idling",
606
+ documentation: "Returns 1.0 if the entity is idling, else it returns 0.0",
591
607
  },
592
608
  {
593
- documentation: "Returns 1.0 if the entity is ignited, else it returns 0.0",
594
609
  id: "is_ignited",
610
+ documentation: "Returns 1.0 if the entity is ignited, else it returns 0.0",
595
611
  },
596
612
  {
597
- documentation: "Returns 1.0 if the entity is an illager captain, else it returns 0.0",
598
613
  id: "is_illager_captain",
614
+ documentation: "Returns 1.0 if the entity is an illager captain, else it returns 0.0",
615
+ },
616
+ {
617
+ id: "is_in_contact_with_water",
618
+ documentation: "Returns 1.0 if the entity is in contact with any water (water, rain, splash water bottle), else it returns 0.0",
599
619
  },
600
620
  {
601
- documentation: "Returns 1.0 if the entity is in love, else it returns 0.0",
602
621
  id: "is_in_love",
622
+ documentation: "Returns 1.0 if the entity is in love, else it returns 0.0",
603
623
  },
604
624
  {
605
- documentation: "Returns 1.0 if the entity is rendered as part of the UI, else it returns 0.0",
606
625
  id: "is_in_ui",
626
+ documentation: "Returns 1.0 if the entity is rendered as part of the UI, else it returns 0.0",
607
627
  },
608
628
  {
609
- documentation: "Returns 1.0 if the entity is in water, else it returns 0.0",
610
- id: "is_in_water",
629
+ id: "is_in_water_or_rain",
630
+ documentation: "Returns 1.0 if the entity is in water or rain, else it returns 0.0",
611
631
  },
612
632
  {
613
- documentation: "Returns 1.0 if the entity is in water or rain, else it returns 0.0",
614
- id: "is_in_water_or_rain",
633
+ id: "is_in_water",
634
+ documentation: "Returns 1.0 if the entity is in water, else it returns 0.0",
615
635
  },
616
636
  {
617
- documentation: "Returns 1.0 if the entity is interested, else it returns 0.0",
618
637
  id: "is_interested",
638
+ documentation: "Returns 1.0 if the entity is interested, else it returns 0.0",
619
639
  },
620
640
  {
621
- documentation: "Returns 1.0 if the entity is invisible, else it returns 0.0",
622
641
  id: "is_invisible",
642
+ documentation: "Returns 1.0 if the entity is invisible, else it returns 0.0",
623
643
  },
624
644
  {
625
- documentation: "takes one optional hand slot as a parameter (0 or 'main_hand' for main hand, 1 or 'off_hand' for off hand), and returns 1.0 if there is an item in the requested slot (defaulting to the main hand if no parameter is supplied), otherwise returns 0.0.",
626
645
  id: "is_item_equipped",
627
- parameters: [{ id: "slot", documentation: "0 or 'main_hand' for main hand, 1 or 'off_hand' for off hand" }],
646
+ documentation: "takes one optional hand slot as a parameter (0 or 'main_hand' for main hand, 1 or 'off_hand' for off hand), and returns 1.0 if there is an item in the requested slot (defaulting to the main hand if no parameter is supplied), otherwise returns 0.0.",
647
+ parameters: [
648
+ {
649
+ id: "slot",
650
+ documentation: "0 or 'main_hand' for main hand, 1 or 'off_hand' for off hand",
651
+ },
652
+ ],
653
+ },
654
+ {
655
+ id: "is_item_name_any",
656
+ documentation: "Takes an equipment slot name (see the replaceitem command) and an optional slot index value. After that, takes one or more full name (with 'namespace:') strings to check for. Returns 1.0 if an item in the specified slot has any of the specified names, otherwise returns 0.0. An empty string '' can be specified to check for an empty slot. Note that querying slot.enderchest, slot.saddle, slot.armor, or slot.chest will only work in behavior packs. A preferred query to query.get_equipped_item_name, as it can be adjusted by Mojang to avoid breaking content if names are changed.",
657
+ parameters: [
658
+ { id: "quipment slot name", documentation: "quipment slot name" },
659
+ { id: "slot index", documentation: "" },
660
+ { id: "item", documentation: "" },
661
+ ],
628
662
  },
629
663
  {
630
- documentation: "Returns 1.0 if the entity is in water or rain, else it returns 0.0",
631
664
  id: "is_jumping",
665
+ documentation: "Returns 1.0 if the entity is in water or rain, else it returns 0.0",
632
666
  },
633
667
  {
634
- documentation: "Returns 1.0 if the entity is laying down, else it returns 0.0",
635
668
  id: "is_laying_down",
669
+ documentation: "Returns 1.0 if the entity is laying down, else it returns 0.0",
636
670
  },
637
671
  {
638
- documentation: "Returns 1.0 if the entity is laying an egg, else it returns 0.0",
639
672
  id: "is_laying_egg",
673
+ documentation: "Returns 1.0 if the entity is laying an egg, else it returns 0.0",
640
674
  },
641
675
  {
642
- documentation: "Returns 1.0 if the entity is leashed to something, else it returns 0.0",
643
676
  id: "is_leashed",
677
+ documentation: "Returns 1.0 if the entity is leashed to something, else it returns 0.0",
644
678
  },
645
679
  {
646
- documentation: "Returns 1.0 if the entity is levitating, else it returns 0.0",
647
680
  id: "is_levitating",
681
+ documentation: "Returns 1.0 if the entity is levitating, else it returns 0.0",
648
682
  },
649
683
  {
650
- documentation: "Returns 1.0 if the entity is lingering, else it returns 0.0",
651
684
  id: "is_lingering",
685
+ documentation: "Returns 1.0 if the entity is lingering, else it returns 0.0",
652
686
  },
653
687
  {
654
- documentation: "Returns 1.0 if the entity is moving, else it returns 0.0",
655
688
  id: "is_moving",
689
+ documentation: "Returns 1.0 if the entity is moving, else it returns 0.0",
690
+ },
691
+ {
692
+ id: "is_name_any",
693
+ documentation: "Takes one or more arguments. If the entity's name is any of the specified string values, returns 1.0. Otherwise returns 0.0. A preferred query to query.get_name, as it can be adjusted by Mojang to avoid breaking content if names are changed.",
694
+ parameters: [
695
+ { id: "name 1", documentation: "possible entity name" },
696
+ { id: "name 2", documentation: "possible entity name" },
697
+ ],
656
698
  },
657
699
  {
658
- documentation: "returns 1.0 if the entity is on fire, else it returns 0.0",
659
700
  id: "is_on_fire",
701
+ documentation: "returns 1.0 if the entity is on fire, else it returns 0.0",
660
702
  },
661
703
  {
662
- documentation: "Returns 1.0 if the entity is on the ground, else it returns 0.0",
663
704
  id: "is_on_ground",
705
+ documentation: "Returns 1.0 if the entity is on the ground, else it returns 0.0",
664
706
  },
665
707
  {
666
- documentation: "returns 1.0 if this is called on an entity at a time when it is known if it is on screen, else it returns 0.0",
667
708
  id: "is_on_screen",
709
+ documentation: "returns 1.0 if this is called on an entity at a time when it is known if it is on screen, else it returns 0.0",
668
710
  },
669
711
  {
670
- documentation: "Returns 1.0 if the entity is on fire, else it returns 0.0",
671
712
  id: "is_onfire",
713
+ documentation: "Returns 1.0 if the entity is on fire, else it returns 0.0",
672
714
  },
673
715
  {
674
- documentation: "Returns 1.0 if the entity is orphaned, else it returns 0.0",
675
716
  id: "is_orphaned",
717
+ documentation: "Returns 1.0 if the entity is orphaned, else it returns 0.0",
718
+ },
719
+ {
720
+ id: "is_owner_identifier_any",
721
+ documentation: "Takes one or more arguments. Returns whether the root actor identifier is any of the specified strings. A preferred query to query.owner_identifier, as it can be adjusted by Mojang to avoid breaking content if names are changed.",
722
+ parameters: [
723
+ { id: "name 1", documentation: "possible entity name" },
724
+ { id: "name 2", documentation: "possible entity name" },
725
+ ],
676
726
  },
677
727
  {
678
- documentation: "Returns 1.0 if the player has a persona or permium skin, else it returns 0.0",
679
728
  id: "is_persona_or_premium_skin",
729
+ documentation: "Returns 1.0 if the player has a persona or permium skin, else it returns 0.0",
730
+ },
731
+ {
732
+ id: "is_playing_dead",
733
+ documentation: "Returns 1.0 if the entity is playing dead, else it returns 0.0",
680
734
  },
681
735
  {
682
- documentation: "Returns 1.0 if the entity is powered, else it returns 0.0",
683
736
  id: "is_powered",
737
+ documentation: "Returns 1.0 if the entity is powered, else it returns 0.0",
684
738
  },
685
739
  {
686
- documentation: "Returns 1.0 if the entity is pregnant, else it returns 0.0",
687
740
  id: "is_pregnant",
741
+ documentation: "Returns 1.0 if the entity is pregnant, else it returns 0.0",
688
742
  },
689
743
  {
690
- documentation: "Returns 1.0 if the entity is using a ram attack, else it returns 0.0",
691
744
  id: "is_ram_attacking",
745
+ documentation: "Returns 1.0 if the entity is using a ram attack, else it returns 0.0",
692
746
  },
693
747
  {
694
- documentation: "Returns 1.0 if the entity is resting, else it returns 0.0",
695
748
  id: "is_resting",
749
+ documentation: "Returns 1.0 if the entity is resting, else it returns 0.0",
696
750
  },
697
751
  {
698
- documentation: "Returns 1.0 if the entity is riding, else it returns 0.0",
699
752
  id: "is_riding",
753
+ documentation: "Returns 1.0 if the entity is riding, else it returns 0.0",
700
754
  },
701
755
  {
702
- documentation: "returns 1.0 if the entity is currently roaring, else it returns 0.0",
703
756
  id: "is_roaring",
757
+ documentation: "returns 1.0 if the entity is currently roaring, else it returns 0.0",
704
758
  },
705
759
  {
706
- documentation: "Returns 1.0 if the entity is rolling, else it returns 0.0",
707
760
  id: "is_rolling",
761
+ documentation: "Returns 1.0 if the entity is rolling, else it returns 0.0",
708
762
  },
709
763
  {
710
- documentation: "Returns 1.0 if the entity has a saddle, else it returns 0.0",
711
764
  id: "is_saddled",
765
+ documentation: "Returns 1.0 if the entity has a saddle, else it returns 0.0",
712
766
  },
713
767
  {
714
- documentation: "Returns 1.0 if the entity is scared, else it returns 0.0",
715
768
  id: "is_scared",
769
+ documentation: "Returns 1.0 if the entity is scared, else it returns 0.0",
716
770
  },
717
771
  {
718
- documentation: "returns true if the player has selected an item in the inventory, else it returns 0.0",
719
772
  id: "is_selected_item",
773
+ documentation: "returns true if the player has selected an item in the inventory, else it returns 0.0",
720
774
  },
721
775
  {
722
- documentation: "Returns 1.0 if the entity is casting, else it returns 0.0",
723
- id: "is_shaking",
776
+ id: "is_shaking_wetness",
777
+ documentation: "returns 1.0 if the entity is shaking water off, else it returns 0.0",
724
778
  },
725
779
  {
726
- documentation: "returns 1.0 if the entity is shaking water off, else it returns 0.0",
727
- id: "is_shaking_wetness",
780
+ id: "is_shaking",
781
+ documentation: "Returns 1.0 if the entity is casting, else it returns 0.0",
728
782
  },
729
783
  {
730
- documentation: "Returns 1.0 if the entity is able to be sheared and is sheared, else it returns 0.0",
731
784
  id: "is_sheared",
785
+ documentation: "Returns 1.0 if the entity is able to be sheared and is sheared, else it returns 0.0",
732
786
  },
733
787
  {
734
- documentation: "Returns 1.0f if the entity has an active powered shield if it makes sense, else it returns 0.0",
735
788
  id: "is_shield_powered",
789
+ documentation: "Returns 1.0f if the entity has an active powered shield if it makes sense, else it returns 0.0",
736
790
  },
737
791
  {
738
- documentation: "Returns 1.0 if the entity is silent, else it returns 0.0",
739
792
  id: "is_silent",
793
+ documentation: "Returns 1.0 if the entity is silent, else it returns 0.0",
740
794
  },
741
795
  {
742
- documentation: "Returns 1.0 if the entity is sitting, else it returns 0.0",
743
796
  id: "is_sitting",
797
+ documentation: "Returns 1.0 if the entity is sitting, else it returns 0.0",
744
798
  },
745
799
  {
746
- documentation: "Returns 1.0 if the entity is sleeping, else it returns 0.0",
747
800
  id: "is_sleeping",
801
+ documentation: "Returns 1.0 if the entity is sleeping, else it returns 0.0",
748
802
  },
749
803
  {
750
- documentation: "Returns 1.0 if the entity is sneaking, else it returns 0.0",
751
804
  id: "is_sneaking",
805
+ documentation: "Returns 1.0 if the entity is sneaking, else it returns 0.0",
752
806
  },
753
807
  {
754
- documentation: "Returns 1.0 if the entity is sneezing, else it returns 0.0",
755
808
  id: "is_sneezing",
809
+ documentation: "Returns 1.0 if the entity is sneezing, else it returns 0.0",
756
810
  },
757
811
  {
758
- documentation: "Returns 1.0 if the entity is sprinting, else it returns 0.0",
759
812
  id: "is_sprinting",
813
+ documentation: "Returns 1.0 if the entity is sprinting, else it returns 0.0",
760
814
  },
761
815
  {
762
- documentation: "Returns 1.0 if the entity is stackable, else it returns 0.0",
763
816
  id: "is_stackable",
817
+ documentation: "Returns 1.0 if the entity is stackable, else it returns 0.0",
764
818
  },
765
819
  {
766
- documentation: "Returns 1.0 if the entity is stalking, else it returns 0.0",
767
820
  id: "is_stalking",
821
+ documentation: "Returns 1.0 if the entity is stalking, else it returns 0.0",
768
822
  },
769
823
  {
770
- documentation: "Returns 1.0 if the entity is standing, else it returns 0.0",
771
824
  id: "is_standing",
825
+ documentation: "Returns 1.0 if the entity is standing, else it returns 0.0",
772
826
  },
773
827
  {
774
- documentation: "returns 1.0 if the entity is currently stunned, else it returns 0.0",
775
828
  id: "is_stunned",
829
+ documentation: "returns 1.0 if the entity is currently stunned, else it returns 0.0",
776
830
  },
777
831
  {
778
- documentation: "Returns 1.0 if the entity is swimming, else it returns 0.0",
779
832
  id: "is_swimming",
833
+ documentation: "Returns 1.0 if the entity is swimming, else it returns 0.0",
780
834
  },
781
835
  {
782
- documentation: "Returns 1.0 if the entity is tamed, else it returns 0.0",
783
836
  id: "is_tamed",
837
+ documentation: "Returns 1.0 if the entity is tamed, else it returns 0.0",
784
838
  },
785
839
  {
786
- documentation: "Returns 1.0 if the entity is transforming, else it returns 0.0",
787
840
  id: "is_transforming",
841
+ documentation: "Returns 1.0 if the entity is transforming, else it returns 0.0",
788
842
  },
789
843
  {
790
- documentation: "Returns 1.0 if the entity is using an item, else it returns 0.0",
791
844
  id: "is_using_item",
845
+ documentation: "Returns 1.0 if the entity is using an item, else it returns 0.0",
792
846
  },
793
847
  {
794
- documentation: "Returns 1.0 if the entity is climbing a wall, else it returns 0.0",
795
848
  id: "is_wall_climbing",
849
+ documentation: "Returns 1.0 if the entity is climbing a wall, else it returns 0.0",
796
850
  },
797
851
  {
798
- documentation: "Returns the amount of time an item has been in use in seconds up to the maximum duration, else 0.0 if it doesn't make sense",
799
852
  id: "item_in_use_duration",
853
+ documentation: "Returns the amount of time an item has been in use in seconds up to the maximum duration, else 0.0 if it doesn't make sense",
800
854
  },
801
855
  {
802
- documentation: "takes one optional hand slot as a parameter (0 or 'main_hand' for main hand, 1 or `off_hand` for off hand), and returns 1.0 if the item is charged in the requested slot (defaulting to the main hand if no parameter is supplied), otherwise returns 0.0.",
803
856
  id: "item_is_charged",
804
- parameters: [{ id: "slot", documentation: "0 or 'main_hand' for main hand, 1 or 'off_hand' for off hand" }],
857
+ documentation: "takes one optional hand slot as a parameter (0 or 'main_hand' for main hand, 1 or `off_hand` for off hand), and returns 1.0 if the item is charged in the requested slot (defaulting to the main hand if no parameter is supplied), otherwise returns 0.0.",
858
+ parameters: [
859
+ {
860
+ id: "slot",
861
+ documentation: "0 or 'main_hand' for main hand, 1 or 'off_hand' for off hand",
862
+ },
863
+ ],
805
864
  },
806
865
  {
807
- documentation: "Returns the maximum amount of time the item can be used, else 0.0 if it doesn't make sense",
808
866
  id: "item_max_use_duration",
867
+ documentation: "Returns the maximum amount of time the item can be used, else 0.0 if it doesn't make sense",
809
868
  },
810
869
  {
811
- documentation: "Returns the amount of time an item has left to use, else 0.0 if it doesn't make sense. Item queried is specified by the slot name `main_hand` or `off_hand`. Time remaining is normalized using the normalization value, only if one is given, else it is returned in seconds.",
812
870
  id: "item_remaining_use_duration",
871
+ documentation: "Returns the amount of time an item has left to use, else 0.0 if it doesn't make sense. Item queried is specified by the slot name `main_hand` or `off_hand`. Time remaining is normalized using the normalization value, only if one is given, else it is returned in seconds.",
813
872
  },
814
873
  {
815
- documentation: "query.item_slot_to_bone_name requires one parameter: the name of the equipment slot. This id returns the name of the bone this entity has mapped to that slot.",
816
874
  id: "item_slot_to_bone_name",
875
+ documentation: "query.item_slot_to_bone_name requires one parameter: the name of the equipment slot. This id returns the name of the bone this entity has mapped to that slot.",
817
876
  },
818
877
  {
819
- documentation: "Returns the ratio between the previous and next key frames",
820
878
  id: "key_frame_lerp_time",
879
+ documentation: "Returns the ratio between the previous and next key frames",
821
880
  },
822
881
  {
823
- documentation: "Returns the time in *seconds* of the last frame. If an argument is passed, it is assumed to be the number of frames in the past that you wish to query. 'query.last_frame_time' (or the equivalent 'query.last_frame_time(0)') will return the frame time of the frame before the current one. 'query.last_frame_time(1)' will return the frame time of two frames ago. Currently we store the history of the last 30 frames, although note that this may change in the future. Passing an index more than the available data will return the oldest frame stored.",
824
882
  id: "last_frame_time",
883
+ documentation: "Returns the time in *seconds* of the last frame. If an argument is passed, it is assumed to be the number of frames in the past that you wish to query. 'query.last_frame_time' (or the equivalent 'query.last_frame_time(0)') will return the frame time of the frame before the current one. 'query.last_frame_time(1)' will return the frame time of two frames ago. Currently we store the history of the last 30 frames, although note that this may change in the future. Passing an index more than the available data will return the oldest frame stored.",
825
884
  },
826
885
  {
827
- documentation: "Returns 1.0 if the entity was last hit by the player, else it returns 0.0. If called by the client always returns 0.0",
828
886
  id: "last_hit_by_player",
887
+ documentation: "Returns 1.0 if the entity was last hit by the player, else it returns 0.0. If called by the client always returns 0.0",
829
888
  },
830
889
  {
831
- documentation: "Returns the lie down amount for the entity",
832
890
  id: "lie_amount",
891
+ documentation: "Returns the lie down amount for the entity",
833
892
  },
834
893
  {
835
- documentation: "returns the limited life span of an entity, or 0.0 if it lives forever",
836
894
  id: "life_span",
895
+ documentation: "returns the limited life span of an entity, or 0.0 if it lives forever",
837
896
  },
838
897
  {
839
- documentation: "Returns the time in seconds since the current animation started, else 0.0 if not called within an animation",
840
898
  id: "life_time",
899
+ documentation: "Returns the time in seconds since the current animation started, else 0.0 if not called within an animation",
841
900
  },
842
901
  {
843
- documentation: "Takes an array of distances and returns the zero - based index of which range the actor is in based on distance from the camera.For example, 'query.lod_index(10, 20, 30)' will return 0, 1, or 2 based on whether the mob is less than 10, 20, or 30 units away from the camera, or it will return 3 if it is greater than 30.",
844
902
  id: "lod_index",
903
+ documentation: "Takes an array of distances and returns the zero - based index of which range the actor is in based on distance from the camera.For example, 'query.lod_index(10, 20, 30)' will return 0, 1, or 2 based on whether the mob is less than 10, 20, or 30 units away from the camera, or it will return 3 if it is greater than 30.",
845
904
  },
905
+ { id: "log", documentation: "debug log a value to the content log" },
846
906
  {
847
- documentation: "debug log a value to the content log",
848
- id: "log",
849
- },
850
- {
851
- documentation: "Returns the use time maximum duration for the main hand item if it makes sense, else it returns 0.0",
852
907
  id: "main_hand_item_max_duration",
908
+ documentation: "Returns the use time maximum duration for the main hand item if it makes sense, else it returns 0.0",
853
909
  },
854
910
  {
855
- documentation: "Returns the use time for the main hand item.",
856
911
  id: "main_hand_item_use_duration",
912
+ documentation: "Returns the use time for the main hand item.",
857
913
  },
914
+ { id: "mark_variant", documentation: "Returns the entity's mark variant" },
858
915
  {
859
- documentation: "Returns the entity's mark variant",
860
- id: "mark_variant",
861
- },
862
- {
863
- documentation: "Returns the max durability an item can take",
864
916
  id: "max_durability",
917
+ documentation: "Returns the max durability an item can take",
865
918
  },
866
919
  {
867
- documentation: "Returns the maximum health of the entity, or 0.0 if it doesn't make sense to call on this entity.",
868
920
  id: "max_health",
921
+ documentation: "Returns the maximum health of the entity, or 0.0 if it doesn't make sense to call on this entity.",
869
922
  },
870
923
  {
871
- documentation: "Returns the maximum trade tier of the entity if it makes sense, else it returns 0.0",
872
924
  id: "max_trade_tier",
925
+ documentation: "Returns the maximum trade tier of the entity if it makes sense, else it returns 0.0",
873
926
  },
874
927
  {
875
- documentation: "Returns the time in *seconds* of the most expensive frame over the last 'n' frames. If an argument is passed, it is assumed to be the number of frames in the past that you wish to query. 'query.maximum_frame_time' (or the equivalent 'query.maximum_frame_time(0)') will return the frame time of the frame before the current one. 'query.maximum_frame_time(1)' will return the maximum frame time of the previous two frames. Currently we store the history of the last 30 frames, although note that this may change in the future. Asking for more frames will result in only sampling the number of frames stored.",
876
928
  id: "maximum_frame_time",
929
+ documentation: "Returns the time in *seconds* of the most expensive frame over the last 'n' frames. If an argument is passed, it is assumed to be the number of frames in the past that you wish to query. 'query.maximum_frame_time' (or the equivalent 'query.maximum_frame_time(0)') will return the frame time of the frame before the current one. 'query.maximum_frame_time(1)' will return the maximum frame time of the previous two frames. Currently we store the history of the last 30 frames, although note that this may change in the future. Asking for more frames will result in only sampling the number of frames stored.",
877
930
  },
878
931
  {
879
- documentation: "Returns the time in *seconds* of the least expensive frame over the last 'n' frames. If an argument is passed, it is assumed to be the number of frames in the past that you wish to query. 'query.minimum_frame_time' (or the equivalent 'query.minimum_frame_time(0)') will return the frame time of the frame before the current one. 'query.minimum_frame_time(1)' will return the minimum frame time of the previous two frames. Currently we store the history of the last 30 frames, although note that this may change in the future. Asking for more frames will result in only sampling the number of frames stored.",
880
932
  id: "minimum_frame_time",
933
+ documentation: "Returns the time in *seconds* of the least expensive frame over the last 'n' frames. If an argument is passed, it is assumed to be the number of frames in the past that you wish to query. 'query.minimum_frame_time' (or the equivalent 'query.minimum_frame_time(0)') will return the frame time of the frame before the current one. 'query.minimum_frame_time(1)' will return the minimum frame time of the previous two frames. Currently we store the history of the last 30 frames, although note that this may change in the future. Asking for more frames will result in only sampling the number of frames stored.",
881
934
  },
882
935
  {
883
- documentation: "Returns the scale of the current entity",
884
936
  id: "model_scale",
937
+ documentation: "Returns the scale of the current entity",
885
938
  },
886
939
  {
887
- documentation: "Returns the total distance the entity has moved horizontally in meters (since the entity was last loaded, not necessarily since it was originally created) modified along the way by status flags such as is_baby or on_fire",
888
940
  id: "modified_distance_moved",
941
+ documentation: "Returns the total distance the entity has moved horizontally in meters (since the entity was last loaded, not necessarily since it was originally created) modified along the way by status flags such as is_baby or on_fire",
889
942
  },
890
943
  {
891
- documentation: "Returns the current walk speed of the entity modified by status flags such as is_baby or on_fire",
892
944
  id: "modified_move_speed",
945
+ documentation: "Returns the current walk speed of the entity modified by status flags such as is_baby or on_fire",
893
946
  },
894
947
  {
895
- documentation: "Returns the brightness of the moon (FULL_MOON=1.0, WANING_GIBBOUS=0.75, FIRST_QUARTER=0.5, WANING_CRESCENT=0.25, NEW_MOON=0.0, WAXING_CRESCENT=0.25, LAST_QUARTER=0.5, WAXING_GIBBOUS=0.75).",
896
948
  id: "moon_brightness",
949
+ documentation: "Returns the brightness of the moon (FULL_MOON=1.0, WANING_GIBBOUS=0.75, FIRST_QUARTER=0.5, WANING_CRESCENT=0.25, NEW_MOON=0.0, WAXING_CRESCENT=0.25, LAST_QUARTER=0.5, WAXING_GIBBOUS=0.75).",
897
950
  },
898
951
  {
899
- documentation: "Returns the phase of the moon (FULL_MOON=0, WANING_GIBBOUS=1, FIRST_QUARTER=2, WANING_CRESCENT=3, NEW_MOON=4, WAXING_CRESCENT=5, LAST_QUARTER=6, WAXING_GIBBOUS=7).",
900
952
  id: "moon_phase",
953
+ documentation: "Returns the phase of the moon (FULL_MOON=0, WANING_GIBBOUS=1, FIRST_QUARTER=2, WANING_CRESCENT=3, NEW_MOON=4, WAXING_CRESCENT=5, LAST_QUARTER=6, WAXING_GIBBOUS=7).",
901
954
  },
902
955
  {
903
- documentation: "returns the specified axis of the normalized position delta of the entity",
904
956
  id: "movement_direction",
957
+ documentation: "returns the specified axis of the normalized position delta of the entity",
905
958
  parameters: [{ id: "axis", documentation: "0 for x, 1 for y, 2 for z" }],
906
959
  },
960
+ { id: "noise", documentation: "Queries Perlin Noise Map" },
907
961
  {
908
- documentation: "Queries Perlin Noise Map",
909
- id: "noise",
910
- },
911
- {
912
- documentation: "returns the time that the entity is on fire, else it returns 0.0",
913
962
  id: "on_fire_time",
963
+ documentation: "returns the time that the entity is on fire, else it returns 0.0",
914
964
  },
915
965
  {
916
- documentation: "Returns 1.0 if the entity is out of control, else it returns 0.0",
917
966
  id: "out_of_control",
967
+ documentation: "Returns 1.0 if the entity is out of control, else it returns 0.0",
918
968
  },
919
969
  {
920
- documentation: "Do not use - this id is deprecated and will be removed",
921
- id: "overlay_alpha",
922
- },
923
- {
924
- documentation: "Returns the root actor identifier",
925
- id: "owner_identifier",
926
- },
927
- {
928
- documentation: "returns the players level if the actor is a player, otherwise returns 0",
929
970
  id: "player_level",
971
+ documentation: "returns the players level if the actor is a player, otherwise returns 0",
930
972
  },
931
973
  {
932
- documentation: "Returns the absolute position of an actor. Takes one argument that represents the desired axis (0 for x-axis, 1 for y-axis, 2 for z-axis).",
933
- id: "position",
974
+ id: "position_delta",
975
+ documentation: "Returns the position delta for an actor. Takes one argument that represents the desired axis (0 for x-axis, 1 for y-axis, 2 for z-axis).",
976
+ parameters: [{ id: "axis", documentation: "0 for x, 1 for y, 2 for z" }],
934
977
  },
935
978
  {
936
- documentation: "Returns the position delta for an actor. Takes one argument that represents the desired axis (0 for x-axis, 1 for y-axis, 2 for z-axis).",
937
- id: "position_delta",
979
+ id: "position",
980
+ documentation: "Returns the absolute position of an actor. Takes one argument that represents the desired axis (0 for x-axis, 1 for y-axis, 2 for z-axis).",
981
+ parameters: [{ id: "axis", documentation: "0 for x, 1 for y, 2 for z" }],
938
982
  },
939
983
  {
940
- documentation: "Returns the previous squish value for the current entity, or 0.0 if this doesn't make sense",
941
984
  id: "previous_squish_value",
985
+ documentation: "Returns the previous squish value for the current entity, or 0.0 if this doesn't make sense",
942
986
  },
943
987
  {
944
- documentation: "Returns the how much durability an item has remaining",
945
988
  id: "remaining_durability",
989
+ documentation: "Returns the how much durability an item has remaining",
946
990
  },
947
991
  {
948
- documentation: "Returns the roll counter of the entity",
949
992
  id: "roll_counter",
993
+ documentation: "Returns the roll counter of the entity",
950
994
  },
951
995
  {
952
- documentation: "Returns the rotation required to aim at the camera. Requires one argument representing the rotation axis you would like (0 for x, 1 for y)",
953
996
  id: "rotation_to_camera",
997
+ documentation: "Returns the rotation required to aim at the camera. Requires one argument representing the rotation axis you would like (0 for x, 1 for y)",
998
+ parameters: [{ id: "axis", documentation: "0 for x, 1 for y" }],
954
999
  },
955
1000
  {
956
- documentation: "returns the shaking angle of the entity if it makes sense, else it returns 0.0",
957
1001
  id: "shake_angle",
1002
+ documentation: "returns the shaking angle of the entity if it makes sense, else it returns 0.0",
958
1003
  },
959
1004
  {
960
- documentation: "Returns the shake time of the entity.",
961
1005
  id: "shake_time",
1006
+ documentation: "Returns the shake time of the entity.",
962
1007
  },
963
1008
  {
964
- documentation: "Returns the how much the offhand shield should translate down when blocking and being hit.",
965
1009
  id: "shield_blocking_bob",
1010
+ documentation: "Returns the how much the offhand shield should translate down when blocking and being hit.",
966
1011
  },
967
1012
  {
968
- documentation: "Returns the current sit amount of the entity",
969
- id: "sit_amount",
1013
+ id: "show_bottom",
1014
+ documentation: "Returns 1.0 if we render the entity's bottom, else it returns 0.0",
970
1015
  },
971
1016
  {
972
- documentation: "Returns the entity's skin ID",
973
- id: "skin_id",
1017
+ id: "sit_amount",
1018
+ documentation: "Returns the current sit amount of the entity",
974
1019
  },
1020
+ { id: "skin_id", documentation: "Returns the entity's skin ID" },
975
1021
  {
976
- documentation: "returns the rotation of the bed the player is sleeping on.",
977
1022
  id: "sleep_rotation",
1023
+ documentation: "returns the rotation of the bed the player is sleeping on.",
978
1024
  },
979
1025
  {
980
- documentation: "Returns the sneeze counter of the entity",
981
1026
  id: "sneeze_counter",
1027
+ documentation: "Returns the sneeze counter of the entity",
982
1028
  },
983
1029
  {
984
- documentation: "Returns 1.0 if we render the entity's bottom, else it returns 0.0",
985
- id: "show_bottom",
986
- },
987
- {
988
- documentation: "Returns the entity spell colour if it makes sense, else it returns 0.0",
989
1030
  id: "spellcolor",
1031
+ documentation: "Returns the entity spell colour if it makes sense, else it returns 0.0",
990
1032
  },
991
1033
  {
992
- documentation: "Returns the scale of how standing up the entity is",
993
1034
  id: "standing_scale",
1035
+ documentation: "Returns the scale of how standing up the entity is",
994
1036
  },
995
1037
  {
996
- documentation: "returns the structural integrity for the actor, otherwise returns 0",
997
1038
  id: "structural_integrity",
1039
+ documentation: "returns the structural integrity for the actor, otherwise returns 0",
998
1040
  },
1041
+ { id: "swell_amount", documentation: "Returns how swollen the entity is" },
999
1042
  {
1000
- documentation: "Returns how swollen the entity is",
1001
- id: "swell_amount",
1002
- },
1003
- {
1004
- documentation: "Returns the swelling direction of the entity if it makes sense, else it returns 0.0",
1005
1043
  id: "swelling_dir",
1044
+ documentation: "Returns the swelling direction of the entity if it makes sense, else it returns 0.0",
1006
1045
  },
1007
1046
  {
1008
- documentation: "Returns the amount the current entity is swimming",
1009
1047
  id: "swim_amount",
1048
+ documentation: "Returns the amount the current entity is swimming",
1010
1049
  },
1011
1050
  {
1012
- documentation: "returns the angle of the tail of the entity if it makes sense, else it returns 0.0",
1013
1051
  id: "tail_angle",
1052
+ documentation: "returns the angle of the tail of the entity if it makes sense, else it returns 0.0",
1014
1053
  },
1015
1054
  {
1016
- documentation: "Returns the x rotation required to aim at the entity's current target if it has one, else it returns 0.0",
1017
1055
  id: "target_x_rotation",
1056
+ documentation: "Returns the x rotation required to aim at the entity's current target if it has one, else it returns 0.0",
1018
1057
  },
1019
1058
  {
1020
- documentation: "Returns the y rotation required to aim at the entity's current target if it has one, else it returns 0.0",
1021
1059
  id: "target_y_rotation",
1060
+ documentation: "Returns the y rotation required to aim at the entity's current target if it has one, else it returns 0.0",
1022
1061
  },
1023
1062
  {
1024
- documentation: "Returns the icon index of the experience orb",
1025
1063
  id: "texture_frame_index",
1064
+ documentation: "Returns the icon index of the experience orb",
1026
1065
  },
1027
1066
  {
1028
- documentation: "Returns the time of day (midnight=0.0, sunrise=0.25, noon=0.5, sunset=0.75) of the dimension the entity is in.",
1029
1067
  id: "time_of_day",
1068
+ documentation: "Returns the time of day (midnight=0.0, sunrise=0.25, noon=0.5, sunset=0.75) of the dimension the entity is in.",
1030
1069
  },
1031
1070
  {
1032
- documentation: "Returns the current time stamp of the level",
1033
1071
  id: "time_stamp",
1072
+ documentation: "Returns the current time stamp of the level",
1034
1073
  },
1035
1074
  {
1036
- documentation: "Returns the total number of active emitters in the world",
1037
1075
  id: "total_emitter_count",
1076
+ documentation: "Returns the total number of active emitters in the world",
1038
1077
  },
1039
1078
  {
1040
- documentation: "Returns the total number of active particles in the world",
1041
1079
  id: "total_particle_count",
1080
+ documentation: "Returns the total number of active particles in the world",
1042
1081
  },
1043
1082
  {
1044
- documentation: "Returns the trade tier of the entity if it makes sense, else it returns 0.0",
1045
1083
  id: "trade_tier",
1084
+ documentation: "Returns the trade tier of the entity if it makes sense, else it returns 0.0",
1046
1085
  },
1047
1086
  {
1048
- documentation: "Returns how unhappy the entity is",
1049
1087
  id: "unhappy_counter",
1088
+ documentation: "Returns how unhappy the entity is",
1050
1089
  },
1090
+ { id: "variant", documentation: "Returns the entity's variant index" },
1051
1091
  {
1052
- documentation: "Returns the entity's variant index",
1053
- id: "variant",
1054
- },
1055
- {
1056
- documentation: "Returns the speed of the entity up or down in metres/second, where positive is up",
1057
1092
  id: "vertical_speed",
1093
+ documentation: "Returns the speed of the entity up or down in metres/second, where positive is up",
1058
1094
  },
1059
1095
  {
1060
- documentation: "Returns the walk distance of the entity.",
1061
1096
  id: "walk_distance",
1097
+ documentation: "Returns the walk distance of the entity.",
1062
1098
  },
1063
1099
  {
1064
- documentation: "Returns the wing flap position of the entity, or 0.0 if this doesn't make sense",
1065
1100
  id: "wing_flap_position",
1101
+ documentation: "Returns the wing flap position of the entity, or 0.0 if this doesn't make sense",
1066
1102
  },
1067
1103
  {
1068
- documentation: "Returns the wing flap speed of the entity, or 0.0 if this doesn't make sense",
1069
1104
  id: "wing_flap_speed",
1105
+ documentation: "Returns the wing flap speed of the entity, or 0.0 if this doesn't make sense",
1070
1106
  },
1071
- {
1072
- documentation: "Returns the entity's yaw speed",
1073
- id: "yaw_speed",
1074
- },
1107
+ { id: "yaw_speed", documentation: "Returns the entity's yaw speed" },
1075
1108
  ];
1076
1109
  function getQuery(id) {
1077
1110
  for (let I = 0; I < General.Math.length; I++) {