WildfireOptions

@Serializable
data class WildfireOptions(var enabled: Boolean = true, var fireSpreadChance: Double = 0.5, var jumpVelocity: Double = 0.4, var amountOfFires: Int = 2) : ModuleOptions

Constructors

Link copied to clipboard
constructor(enabled: Boolean = true, fireSpreadChance: Double = 0.5, jumpVelocity: Double = 0.4, amountOfFires: Int = 2)

Properties

Link copied to clipboard

Number of fire blocks that can be created from a single fire block. Note: this is in addition to the original fire block that spreads. For example, if this is set to 2, this means that a single fire spread leads to 3 fire blocks being added. Also note: this scales the wildfire exponentially, so be careful with this value.

Link copied to clipboard
open override var enabled: Boolean

Whether the module is enabled or not. This is used to determine if the module should be loaded and its features activated.

Link copied to clipboard

Chance for fire to spread to adjacent blocks.

Link copied to clipboard

Velocity at which the fire jumps to nearby blocks.