InconsistentRedstoneOptions

@Serializable
data class InconsistentRedstoneOptions(var enabled: Boolean = true, var inconsistencyChance: Map<Material, Float> = mapOf( Material.REDSTONE to 0.05f, Material.REDSTONE_TORCH to 0.05f, Material.REDSTONE_WALL_TORCH to 0.05f, Material.REDSTONE_WIRE to 0.05f, Material.REPEATER to 0.05f, Material.COMPARATOR to 0.05f, )) : ModuleOptions

Constructors

Link copied to clipboard
constructor(enabled: Boolean = true, inconsistencyChance: Map<Material, Float> = mapOf( Material.REDSTONE to 0.05f, Material.REDSTONE_TORCH to 0.05f, Material.REDSTONE_WALL_TORCH to 0.05f, Material.REDSTONE_WIRE to 0.05f, Material.REPEATER to 0.05f, Material.COMPARATOR to 0.05f, ))

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
var inconsistencyChance: Map<Material, Float>

The chance of a redstone component being inconsistent.