Skip to content

Commit 568d428

Browse files
committed
Adding parameters to above_top_solid
1 parent 0e63aa6 commit 568d428

File tree

1 file changed

+18
-3
lines changed

1 file changed

+18
-3
lines changed

src/MolangData/General.ts

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -166,8 +166,17 @@ export namespace General {
166166
export const Queries: MolangFunction[] = [
167167
{
168168
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+
]
171180
},
172181
{
173182
id: "actor_count",
@@ -266,7 +275,13 @@ export namespace General {
266275
},
267276
{
268277
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+
]
270285
},
271286
{
272287
id: "blocking",

0 commit comments

Comments
 (0)