minecraft:flammable for you with a switch.Get GodCraftOverview
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
| Field | Type | Default | Description |
|---|---|---|---|
catch_chance_modifier | integer | 5 | How easily the block catches fire from nearby flames. Higher is easier; planks use 5.Range: 0 to … |
destroy_chance_modifier | integer | 20 | How easily fire burns the block away. Set it to 0 to make a block that burns forever without being destroyed.Range: 0 to … |
lava_flammable | Lava 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"
}
}