[MC-9658] Error with command block when using ids with brackets Created: 12/Feb/13  Updated: 29/Dec/17  Resolved: 12/Feb/13

Status: Resolved
Project: Minecraft: Java Edition
Component/s: None
Affects Version/s: Minecraft 1.4.7
Fix Version/s: None

Type: Bug
Reporter: Cody Assignee: Unassigned
Resolution: Invalid Votes: 0
Labels: command_block
Environment:

java version "1.6.0_37"
Java(TM) SE Runtime Environment (build 1.6.0_37-b06-434-11M3909)
Java HotSpot(TM) 64-Bit Server VM (build 20.12-b01-434, mixed mode)


Confirmation Status: Unconfirmed
Game Mode: Creative

 Description   

So normal if i made a command block and used "give @p 12 5" It would give me sand for example. But if i use an id like 6:3 or any id with the ":" in it, it will not work.



 Comments   
Comment by [Mojang] Grum (Erik Broes) [ 12/Feb/13 ]

it is:

/give <player> <item> [amount] [data]

not:

/give <player> <item[:data]> [amount]
Generated at Sun Jan 12 12:21:49 UTC 2025 using Jira 9.12.2#9120002-sha1:301bf498dd45d800842af0b84230f1bb58606c13.