Skip to content

Custom Fuels ​

Configuration File ​

plugins/Craftorithm/custom_fuels.yml

Format ​

yaml
fuels:
  - item: "minecraft:command_block"
    burn_time: 100
  - item: "minecraft:bedrock"
    burn_time: 200
FieldTypeDescription
itemstringItem id. Namespaced ids are supported; defaults to vanilla (the id is the Material name)
burn_timeintegerBurn time in ticks (20 ticks = 1 second). Optional, defaults to 200

Old Format

Versions before 1.16.2.0 used top-level keys as item ids:

yaml
minecraft:command_block:
  burn_time: 100

The old format is migrated automatically to the new fuels list format on load; no manual changes are needed.

Add Command ​

bash
/cra item fuel add <burn_time>

Hold the item you want to set as fuel, then run the command.

Remove Command ​

bash
/cra item fuel remove <fuel_id>

Time Reference ​

TicksSecondsReference
20010Vanilla stick
160080Vanilla coal
1005Example

基于 MIT 许可证发布