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/collect

From SAS Gaming Wiki
Revision as of 01:08, 9 December 2025 by imported>RedX
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Template:Outdated Template:Exclusive Template:Infobox command

Lets a player's Minecraft:agent to collect all items within a one block from Agent in three dimensions.

Syntax

collect <item: string>

Arguments

item: string

Specifies the item to be collected on the block to the Agent's inventory. Must be an item ID, or a block ID for which an item exists (for example, golden_sword).

Result

Fails if the arguments are not specified correctly or no items of the same name were collected.

On success, returns if any items of the same name were collected.

History

Template:HistoryTable

Navigation

Template:Navbox commands

Minecraft:lzh:令/collect Minecraft:ru:Команды консоли/collect Minecraft:zh:命令/collect