ArmorComparatorMode

Decides how ArmorComparator ranks armor pieces.

Entries

Link copied to clipboard

The original, damage-model based ranking. It weighs every damage-reduction enchantment (Protection, Projectile-, Fire- and Blast Protection) into a single reduction value, using the toughness-aware 1.9+ damage formula. Kept for backwards compatibility and modern survival.

Link copied to clipboard

SkyWars/BedWars oriented ranking built on the legacy (1.8) armor model where one armor point is a flat 4% reduction with no toughness and no damage-strength scaling. Only relevant enchantments influence the choice (Protection always, Projectile Protection optionally). Niche enchantments (Fire/Blast Protection, Thorns, Unbreaking, ...) never out-weigh real defense - they only act as a final tie-breaker. This stops the module from picking, say, iron with high Fire Protection over plain diamond.

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override val tag: String
Link copied to clipboard

Functions

Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.