Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Minecraft:Commands/getitemdetail: Difference between revisions

From SAS Gaming Wiki
SyncBot (talk | contribs)
Fix template calls: add MC/ prefix
SyncBot (talk | contribs)
Sync: updated from Minecraft
 
Line 1: Line 1:
{{Outdated}}
{{Outdated}}
{{MC/Exclusive|bedrock|education}}
{{exclusive|bedrock|education}}
{{Infobox command
{{Infobox command
|name=getitemdetail
|name=getitemdetail
Line 7: Line 7:
}}
}}


Lets your [[Minecraft:agent]] return the name of the item in the specified slot.
Lets the player's [[Minecraft:agent]] return the name of the item in the specified slot.


==Syntax==
==Syntax==
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 block id for the complete list.
On success, returns the form of the item in the specified slot. See [[Minecraft:Data values|block id]] for the complete list.


== Navigation ==
== Navigation ==
{{MC/Navbox commands}}
{{Navbox commands}}


lzh:令/getitemdetail
[[Minecraft:lzh:令/getitemdetail]]
zh:命令/getitemdetail
[[Minecraft:zh:命令/getitemdetail]]

Latest revision as of 11:11, 18 September 2026

Template:Outdated Template:Exclusive Template:Infobox command

Lets the player's 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.

Navigation

Template:Navbox commands

Minecraft:lzh:令/getitemdetail Minecraft:zh:命令/getitemdetail