跳到正文

Protection Not Points

作者:CappleApple

Changes armor and toughness to be damage resistance and reduction in a customizable way.

收藏

介绍

中文介绍正在准备中,下面暂时显示原文。

Protection Not Points

Protection Not Points gives Minecraft’s existing vanilla defense attributes direct, readable meanings:

  • Armor becomes diminishing-return percentage reduction: Armor / (Armor + K).
  • Armor Toughness becomes flat damage reduction: Toughness × flatReductionPerPoint.
  • Toughness applies first, armor applies second, and a configurable minimum-damage floor applies last.

The mod continues to use the entity’s effective minecraft:generic.armor and minecraft:generic.armor_toughness values, including equipment, effects, commands, accessories, and other attribute modifiers.

It also exposes the converted values as attributes for character sheets and integrations:

  • protectionnotpoints:damage_resistance — armor reduction as a 0.0–1.0 fraction.
  • protectionnotpoints:damage_reduction — flat toughness reduction in damage points.

Items that provide vanilla Armor or Armor Toughness also expose their converted contribution through these attributes. Their registered base values remain zero.

Converted attributes are omitted from vanilla item tooltips.

The display attributes describe equipment contributions. Actual combat calculations use the entity’s effective vanilla Armor and Armor Toughness values so non-item modifiers still affect mitigation.

Damage Pipeline

Protection Not Points replaces vanilla armor absorption while leaving the surrounding damage pipeline intact.

The order is:

  1. Armor durability and earlier damage handling.
  2. Toughness flat reduction.
  3. Armor percentage reduction.
  4. Configured minimum-damage floor.
  5. Resistance, protection enchantments, absorption, and health loss.

Shield blocking and other damage handling that occurs before armor remain unchanged.

Damage tagged minecraft:bypasses_armor skips both armor and toughness by default.

Set:

toughnessRespectsArmorBypass = false

to allow toughness to reduce armor-bypassing damage without enabling armor against it.

Vanilla armor-effectiveness modifiers from weapon enchantments are retained.

Configuration

Gameplay settings are stored in:

config/protectionnotpoints-server.toml

Server settings are synchronized to clients so client-side calculations and API consumers use the same rules.

[armor]
scalingConstant = 30.0
maximumReduction = 0.95

[toughness]
flatReductionPerPoint = 0.25

[damage]
minimumDamageFraction = 0.0
toughnessRespectsArmorBypass = true
applyToMobs = true

Armor

scalingConstant controls the diminishing-return curve:

Armor / (Armor + scalingConstant)

Lower values make each point of armor stronger.

maximumReduction caps the percentage of incoming damage armor can remove.

Toughness

flatReductionPerPoint controls how much flat damage each point of Armor Toughness removes:

Toughness × flatReductionPerPoint

Damage

minimumDamageFraction sets the minimum fraction of the original incoming damage that must remain after toughness and armor.

toughnessRespectsArmorBypass controls whether minecraft:bypasses_armor also bypasses toughness.

applyToMobs controls whether the replacement armor rules apply to non-player living entities.

The mod does not replace the HUD or add additional item tooltip text.

Balancing Commands

/armormath debug

Shows the entity’s effective defense attributes and active Protection Not Points rules.

/armormath testdamage <amount>

Previews the toughness, armor, minimum-damage floor, and final damage stages for an eligible generic hit.

常见问题

Protection Not Points 支持哪些 Minecraft 版本?

Protection Not Points 支持 Minecraft Java 版 1.21.1,可用的加载器:NeoForge。下载时注意选择和你游戏版本一致的文件。

Protection Not Points 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 NeoForge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。

评论

登录后评论和评分

CappleApple 的其他作品

查看全部 →