Overview
minecraft:fuel is an item component: it goes in the components object of a custom item. Lets the item burn in a furnace, smoker or blast furnace to power smelting.
Fields
| Field | Type | Default | Description |
|---|---|---|---|
duration | number | 0.05 | How many seconds the item burns for. Coal burns for 80 seconds.Range: 0.05000000074505806 to … |
Example
Inside the components object of BP/items/<name>.json (values are the defaults or placeholders):
BP/items/<name>.json
{
"minecraft:fuel": {
"duration": 0.05
}
}