Commands/gettopsolidblock
Minecraft Wiki article. Categories: Minecraft_Work_in_progress, Minecraft_Work_in_progress_with_a_note, Minecraft_stubs, Stubs, Bedrock_Edition, Minecraft_Education, Articles_with_empty_sections, Unknown_Bedrock_version_history…
This article is reproduced from Commands/gettopsolidblock on the Minecraft Wiki. Mirrored from revision 3314005. It is licensed CC BY-NC-SA 3.0 by the Minecraft Wiki contributors — not under the Codex’s CC BY-SA 4.0, and it may not be used commercially. Edits belong upstream, not here.
Note:
/gettopsolidblock{
"title": "<code>/gettopsolidblock</code>",
"rows": [
{
"field": "1",
"label": "(link to Permission level article, displayed as Permission level<br>required)"
},
{
"field": "(link to Cheat article, displayed as Cheat) only<br>",
"label": "(link to Commands#Restrictions article, displayed as Restrictions)"
}
],
"invimages": [],
"images": []
}
Gets the position of the top non-air block below the specified position. [1]
Usage
Syntax
gettopsolidblock <x: value> <y: value> <z: value>- Gets the position of the top non-air block below the specified position. [1]
Arguments
x: value: float andy: value: float andz: value: float- Specifies the coordinates at which to check for the block.
Result
Output
Example
History
| Bedrock Edition | |||||||
|---|---|---|---|---|---|---|---|
| ? | ? | Added /gettopsolidblock. | |||||
| Minecraft Education | |||||||
References
- ↑ a b Language/en_GB.lang at master · CloudburstMC/Language · GitHub https://github.com/CloudburstMC/Language/blob/master/en_GB.lang#:~:text=commands.gettopsolidblock.description%3DGets%20the%20position%20of%20the%20top%20non%2Dair%20block%20below%20the%20specified%20position%09%23
Navigation
Sources
- Commands/gettopsolidblock — Minecraft Wiki, CC BY-NC-SA 3.0, revision 3314005.