Block Attributes
flammability
This attribute defines the chance that fire will spread and consume the block. 300 being a 100% chance, 0, being a 0% chance.
Vanilla values:- Wooden planks: 20
- Leaves: 60
- Tall grass: 100
Examples
// Default value
flammability[0] = 0;
// ...
flammability[15] = 0;
flammability[0] = 5;
flammability[15] = 15;
flammability[0] = 0;
// ...
flammability[15] = 0;
flammability[0] = 5;
flammability[15] = 15;