minecraft:fuel
Fuel item component allows this item to be used as fuel in a furnace to 'cook' other items.
Properties
Can be written as a single value: decimal (min 0.05).
| Property | Type | Default | What it does |
|---|---|---|---|
duration | Decimalmin 0.05 | 0.05 | Amount of time, in seconds, this fuel will cook items. |
Example from the game files
This is how vanilla wooden_spear uses it in Minecraft Bedrock 1.26.60.5:
{
"minecraft:fuel": {
"duration": 10.0
}
}Used by 1
Vanilla items with minecraft:fuel in their definition:
wooden_spearSet it without writing JSON
The item maker writes this component for you from a form and puts it in a ready-to-import .mcaddon.