Minecraft:Commands/getitemdetail: Difference between revisions
From SAS Gaming Wiki
More actions
imported>FireX420 m Revert edits by 2001:569:FCFF:4000:12DB:FF60:3D30:6149 (talk) |
Fix template calls: add MC/ prefix |
||
| (One intermediate revision by the same user not shown) | |||
| Line 1: | Line 1: | ||
{{Outdated}} | {{Outdated}} | ||
{{ | {{MC/Exclusive|bedrock|education}} | ||
{{Infobox command | {{Infobox command | ||
|name=getitemdetail | |name=getitemdetail | ||
| Line 22: | Line 22: | ||
Fails if the arguments are not specified correctly. | Fails if the arguments are not specified correctly. | ||
On success, returns the form of the item in the specified slot. See | On success, returns the form of the item in the specified slot. See block id for the complete list. | ||
== Navigation == | == Navigation == | ||
{{Navbox commands}} | {{MC/Navbox commands}} | ||
lzh:令/getitemdetail | |||
zh:命令/getitemdetail | |||
Latest revision as of 20:10, 9 April 2026
Template:Outdated Script error: No such module "Exclusive". Template:Infobox command
Lets your Minecraft:agent return the name of the item in the specified slot.
Syntax
getitemdetail <slotNum: int>
Arguments
slotNum: int
- Specifies the slot number of items to be counted, slots are numbered from 1 to 27.
Result
Fails if the arguments are not specified correctly.
On success, returns the form of the item in the specified slot. See block id for the complete list.
lzh:令/getitemdetail zh:命令/getitemdetail