MineToolsminetools.cn · Minecraft Java Tools

Charcoal command

minecraft:charcoalEnglish name Charcoal

Charcoal (minecraft:charcoal) can be stacked up to 64.Here are common commands for giving, clearing, and checking. Click "Copy" to use one.

Common Commands

Give the nearest player 1 Charcoal
/give @p minecraft:charcoal
Give a stack (64)
/give @p minecraft:charcoal 64
Give all players
/give @a minecraft:charcoal
Gold Name
/give @p charcoal[custom_name={translate:"item.minecraft.charcoal",color:"gold",italic:false}]

To use a name of your own, replace the translate part with plain text

Clear all Charcoal from the player
/clear @p minecraft:charcoal
Check if holding Charcoal
/execute as @a if items entity @s weapon.mainhand minecraft:charcoal run title @s actionbar ["",{text:"✔ ",color:"green"},{translate:"item.minecraft.charcoal"}]
Edit in the Item Generator (name, enchantments, attributes, ...)

Basic Information

Item ID
minecraft:charcoal
Max Stack Size
64
Type
Item

Data from the official Minecraft Java 26.3 data. All commands have passed the 26.3 syntax check.