HeavyArmor

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
@Serializable
data class HeavyArmorOptions(var enabled: Boolean = true, var baseSpeed: Double = 0.2, var speedDecreasePerDefensePoint: Double = 0.00125, var speedDecreasePerToughnessPoint: Double = 0.00625) : ModuleOptions

Note: Default values are set to set the player movement speed to 50% of the default speed when the player is wearing full netherite armor.

Properties

Link copied to clipboard
open override val description: String
Link copied to clipboard
open val id: String
Link copied to clipboard
open val name: String
Link copied to clipboard
open override var options: ModuleOptions
Link copied to clipboard
val typeSafeOptions: <Error class: unknown class>

Functions

Link copied to clipboard
Link copied to clipboard
fun on(event: PlayerMoveEvent)
Link copied to clipboard
open fun onDisable()

Called when the module is disabled.

Link copied to clipboard
open fun onEnable()

Called when the module is enabled.