Minecraft:Commands/inspectdata: Difference between revisions
From SAS Gaming Wiki
More actions
Remove broken links to missing pages |
Fix template calls: add MC/ prefix |
||
| Line 1: | Line 1: | ||
{{Outdated}} | {{Outdated}} | ||
{{ | {{MC/Exclusive|bedrock|education}} | ||
{{Infobox command | {{Infobox command | ||
|name=inspectdata | |name=inspectdata | ||
| Line 32: | Line 32: | ||
== Navigation == | == Navigation == | ||
{{Navbox commands}} | {{MC/Navbox commands}} | ||
lzh:令/inspectdata | lzh:令/inspectdata | ||
zh:命令/inspectdata | zh:命令/inspectdata | ||
Latest revision as of 20:11, 9 April 2026
Template:Outdated Script error: No such module "Exclusive". Template:Infobox command
Lets your Minecraft:agent returns the data value of the block in the specified direction.
Syntax
inspectdata <direction: string>
Arguments
direction: string
- Specifies the direction of Agent to verify the data value of the block.
- Must be one of:
forwardto inspect the block on the front.backto inspect the block on the back.leftto inspect the block on the left-hand side.rightto inpect the block on the right-hand side.upto inspect the block on the top-hand side.downto inspect the block on the bottom-hand side.
Result
Fails if the arguments are not specified correctly.
On success, returns the data value of the block in the specified direction. See block id for the complete list.
lzh:令/inspectdata zh:命令/inspectdata