IntentionalGameDesignOptions

@Serializable
data class IntentionalGameDesignOptions(var enabled: Boolean = true, var explosionPower: Float = 5.0f, var explosionChance: Float = 1.0f) : ModuleOptions

Constructors

Link copied to clipboard
constructor(enabled: Boolean = true, explosionPower: Float = 5.0f, explosionChance: Float = 1.0f)

Properties

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 of a bed exploding when a player interacts with it.

Link copied to clipboard

The power of the explosion caused by the bed. Minecraft default for bed explosions is 5.0.