Keep But Penalty 2.0.0+26.2-neoforge
Curse Maven Snippet
What's new
Keep But Penalty 2.0.0
- Multi-loader 8-target rewrite: Supports Fabric, Forge, and NeoForge across Minecraft
1.20.1,1.21.1,26.1.2, and26.2with zero external library dependencies. - Death-scoped
keepInventoryprojection: Temporarily projectskeepInventory = truevia a reentrantThreadLocalwithout altering the world's real gamerule. - Exact vanilla XP math: Defaults to keeping 75% of total experience without triggering XP pickup events or Mending.
- Fair durability penalty & vanilla-decoupled breaking: Defaults to 10% of max durability (
PERCENT_MAX) or fixed points (FLAT), withIdentityHashMapdeduplication across armor, hands, and optional Curios, Trinkets, and Accessories slots, plus item/tag exclusions (excludedItems,#keep_but_penalty:excluded). - Anti-suicide hunger preservation & PvP exemption: Preserves below-full hunger across death (
minRespawnFoodLevel = 6) and addsskipOnPvp. - Native in-game Config Screen & 4 languages: Zero-dependency
KeepButPenaltyConfigScreen(en_us,zh_cn,zh_tw,ja_jp) and automatic migration from legacykeep_but_penalty-common.tomltoconfig/keep_but_penalty.toml.
This mod has no additional files