1. Wiki
  2. /Blocks
  3. /minecraft:flammable

minecraft:flammable

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

Overview

minecraft:flammable is a block component: it goes in the components object of a custom block. Lets nearby fire spread onto the block and burn it away, like wood. Without it, the block only burns if lit directly.

Fields

FieldTypeDefaultDescription
catch_chance_modifierinteger5How easily the block catches fire from nearby flames. Higher is easier; planks use 5.Range: 0 to …
destroy_chance_modifierinteger20How easily fire burns the block away. Set it to 0 to make a block that burns forever without being destroyed.Range: 0 to …
lava_flammableLava Flammable"never"Set to "always" so nearby lava can also set the block on fire, or "never" to ignore lava.

Example

Inside the components object of BP/blocks/<name>.json (values are the defaults or placeholders):

BP/blocks/<name>.json
{
  "minecraft:flammable": {
    "catch_chance_modifier": 5,
    "destroy_chance_modifier": 20,
    "lava_flammable": "never"
  }
}

Blocks: Behavior pack

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