Modern namespaced IDs are recommended. This numerical form is only for old Java releases.
/give @p 342 1
Give command syntax by version
Java 1.13+
/give @p minecraft:chest_minecart 1
Namespaced ID (current format)
Java 1.8–1.12.2
/give @p 342 1 0
Numerical ID + data value
Bedrock Edition
/give @p minecraft:chest_minecart 1
Same namespaced ID (namespace optional)
Rows appear only when the underlying value is verified: the Java 1.8–1.12.2 row requires a reviewed historical numerical ID, and the Bedrock row appears only when this exact namespaced ID exists in the Bedrock registry.
How to Get Minecart with Chest
Crafting Recipe
Combine 1 chest and 1 minecart in any arrangement on a crafting table — makes 1 × Minecart with Chest.
Give 1 to nearest player: /give @p minecraft:chest_minecart 1
Give 1 to yourself: /give @s minecraft:chest_minecart 1
Give to a specific player: /give PlayerName minecraft:chest_minecart 1
Clear from inventory: /clear @p minecraft:chest_minecart
Minecart with Chest FAQ
What is the item ID for Minecart with Chest?
The item ID for Minecart with Chest is minecraft:chest_minecart. Java Edition commands such as /give, /clear, and /setblock use this namespaced ID.
What is the numerical ID for Minecart with Chest?
Minecart with Chest has the historical numerical ID 342, used in Java Edition 1.12.2 and earlier. Current versions use minecraft:chest_minecart instead.
How do I give myself Minecart with Chest in Minecraft?
Open the chat window and run /give @p minecraft:chest_minecart 1 to give the nearest player one Minecart with Chest. Replace @p with a player name to target someone else.
How do you craft Minecart with Chest?
Minecart with Chest is crafted on a crafting table with 1 chest and 1 minecart, which yields 1 Minecart with Chest.