Minecart command
minecraft:minecartEnglish name Minecart
Minecart (minecraft:minecart) can't be stacked; only 1 can go in a slot.Here are common commands for giving, clearing, and checking. Click "Copy" to use one.
Common Commands
Give the nearest player 1 Minecart
/give @p minecraft:minecart
Give all players
/give @a minecraft:minecart
Gold Name
/give @p minecart[custom_name={translate:"item.minecraft.minecart",color:"gold",italic:false}]To use a name of your own, replace the translate part with plain text
Clear all Minecart from the player
/clear @p minecraft:minecart
Check if holding Minecart
/execute as @a if items entity @s weapon.mainhand minecraft:minecart run title @s actionbar ["",{text:"✔ ",color:"green"},{translate:"item.minecraft.minecart"}]Basic Information
- Item ID
- minecraft:minecart
- Max Stack Size
- 1
- Type
- Item
Data from the official Minecraft Java 26.3 data. All commands have passed the 26.3 syntax check.