1. Wiki
  2. /Items
  3. /minecraft:fuel

minecraft:fuel

Don't want to write this by hand? GodCraft sets minecraft:fuel for you with a switch.Get GodCraft

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

FieldTypeDefaultDescription
durationnumber0.05How 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
  }
}

Items: Behavior pack

We use cookies to improve your experience and analyse site traffic. Learn more