File tree 1 file changed +18
-3
lines changed 1 file changed +18
-3
lines changed Original file line number Diff line number Diff line change @@ -166,8 +166,17 @@ export namespace General {
166
166
export const Queries : MolangFunction [ ] = [
167
167
{
168
168
id : "above_top_solid" ,
169
- documentation :
170
- "Returns the height of the block immediately above the highest solid block at the input (x,z) position" ,
169
+ documentation : "Returns the height of the block immediately above the highest solid block at the input (x,z) position" ,
170
+ parameters : [
171
+ {
172
+ id : "x" ,
173
+ documentation : "The x position of the block" ,
174
+ } ,
175
+ {
176
+ id : "z" ,
177
+ documentation : "The z position of the block" ,
178
+ } ,
179
+ ]
171
180
} ,
172
181
{
173
182
id : "actor_count" ,
@@ -266,7 +275,13 @@ export namespace General {
266
275
} ,
267
276
{
268
277
id : "block_state" ,
269
- documentation : "Returns the value of the associated block's Block State."
278
+ documentation : "Returns the value of the associated block's Block State." ,
279
+ parameters : [
280
+ {
281
+ id : "property" ,
282
+ documentation : "The name of the property to query. examples: `query.block_state('foo' == false)`" ,
283
+ }
284
+ ]
270
285
} ,
271
286
{
272
287
id : "blocking" ,
You can’t perform that action at this time.
0 commit comments