HeavyArmorOptions

@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.

Constructors

Link copied to clipboard
constructor(enabled: Boolean = true, baseSpeed: Double = 0.2, speedDecreasePerDefensePoint: Double = 0.00125, speedDecreasePerToughnessPoint: Double = 0.00625)

Properties

Link copied to clipboard

The base speed of the player when not wearing any armor. Minecraft default Player speed is 0.2. This means that with no armor, the player will move at 0.2 blocks per tick.

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 speed decrease per armor defense point. See: https://minecraft.fandom.com/wiki/Armor#Defense_points Max multiplier is 20 points (full diamond or netherite armor). For context: Minecraft default Player speed is 0.2 This means that with full diamond armor, the player will move at 0.2 - (20 * speedDecreasePerDefensePoint) blocks per tick.

Link copied to clipboard

The speed decrease per toughness point. See: https://minecraft.fandom.com/wiki/Armor#Armor_toughness Max multiplier is 12 points (full netherite armor). For context: Minecraft default Player speed is 0.2 This means that with full netherite armor, the player will move at 0.2 - (12 * speedDecreasePerToughnessPoint) blocks per tick.