BrokenBonesOptions

@Serializable
data class BrokenBonesOptions(var enabled: Boolean = true, var slowDurationTicks: Int = 100, var slowLevel: Int = 1) : ModuleOptions

Constructors

Link copied to clipboard
constructor(enabled: Boolean = true, slowDurationTicks: Int = 100, slowLevel: Int = 1)

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

The duration in ticks for which the player is slowed after breaking bones. Default is 5 seconds.

Link copied to clipboard

The level of slowness to apply. Default is 1, which corresponds to Slowness I.