CNPC Real Armor
No reviews yet
Adds real vanilla-style armor damage reduction to CustomNPCs NPCs on Forge 1.20.1.
Includes quality of life improvements and small tweaks to enhance and customize gameplay.
Forge is a popular mod loader for versions 1.1+ of Minecraft.
Community voices
Reviews
Click once to include, again to exclude, again to clear
No reviews yet. Be the first to review this project!
Get it on
Available Platforms
About
Project Details
For authors
Embed Badge
If you're the author of this project, you can embed a live badge anywhere that supports HTML or Markdown. It updates automatically whenever ratings change.
Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.
Identifiers
Platform IDs
Resources
External Links
About
Description
Description
CustomNPCs NPCs can equip armor, but normal NPC damage handling does not always behave like vanilla living entities. In many setups, armor may appear visually equipped while the incoming damage is not reduced in the expected vanilla way.
CNPC Real Armor fixes that by hooking into the CustomNPCs damage pipeline and applying vanilla-style armor calculation to NPC armor slots. It is designed as a separate damage extension mod, not as part of a gun or weapon bridge.
Main Features
- Applies armor reduction to normal CustomNPCs NPCs.
- Uses armor item stats instead of manually subtracting health.
- Optional armor toughness calculation.
- Optional Protection enchantment calculation.
- Optional armor knockback resistance support.
- Configurable CustomNPCs resistance and vanilla armor calculation order.
- Optional companion armor override.
- Optional split NPC armor damage for humanoid
EntityCustomNpcNPCs. - Optional armor durability damage.
- Optional in-game debug messages for hit location and damage values.
- In-game config screen through the Forge Mods menu.
- Runtime commands for quick testing and tuning.
Split NPC Armor Damage
When split NPC armor damage is enabled, humanoid CustomNPCs NPCs use different armor slots depending on hit location:
- Head hits use the helmet slot.
- Chest hits use the chestplate slot.
- Leg hits use leggings and boots.
The split system is limited to EntityCustomNpc humanoid NPCs. It uses CustomNPCs model part scale data to estimate head, chest, and leg regions. Non-humanoid NPCs fall back to normal full-armor calculation.
In-game Commands
Requires permission level 2.
/cnpc_real_armor status
/cnpc_real_armor split true
/cnpc_real_armor split false
/cnpc_real_armor durability true
/cnpc_real_armor durability false
/cnpc_real_armor debug true
/cnpc_real_armor debug false
These commands apply immediately while the game is running.
Config
The config can be changed from the Forge Mods menu in-game. Most options apply immediately after being changed.
Important options:
- Enable vanilla armor calculation
- Enable armor toughness
- Enable Protection enchantments
- Enable armor knockback resistance
- Enable split NPC armor damage
- Damage armor items
- Debug damage messages
- Override companion armor behavior
- Armor stat source
- CustomNPCs resistance order
Debug Mode
Debug mode is disabled by default.
When enabled, the mod sends in-game messages showing the attacker, target NPC, detected body part, damage source, original damage, and final armor-adjusted damage. This is useful for tuning hit detection and armor behavior in modpacks.
Compatibility
Built for:
- Minecraft 1.20.1
- Minecraft Forge 47.x
- CustomNPCs 1.20.1 GBPort Unofficial
This mod is independent from TACZ Fire. If TACZ or another weapon mod sends damage through the normal Minecraft or CustomNPCs damage pipeline, CNPC Real Armor can apply to that damage. If another mod fully replaces, cancels, or rewrites damage outside that pipeline, behavior may vary.
Known Limits
- FirstAid compatibility is not implemented yet.
- Same-faction damage cancel override is not included in the first release.
- Body-part detection is best-effort and currently supports head, chest, and legs only.
- Installing or updating the mod jar still requires restarting Minecraft. Config changes after launch do not require a restart.
Screenshots
Gallery
Versions
Files
Relations
Project Relations
More like this
Similar Mods
Suggestions use data such as tags, dependencies, dependents, descriptions, titles, and more to rank how much they overlap with this mod.
On ModDex
Community snapshot
By the numbers
Statistics
Want to reach Minecraft players?
We're looking for a server hosting partner to feature here and other parts of the site. Interested? Send us a message!
Get in touchGet it on
Available Platforms
On ModDex
Community snapshot
By the numbers
Statistics
Resources