X Player Armor

Description

A modern, high-performance player armor and shield mod for Luanti. Built on an advanced entity bone attachment architecture, x_player_armor attaches lightweight 3D visual entities directly to character skeletal bones instead of overriding player models with baked textures. Third-party mods can use the standalone x_player_armor API to effortlessly create and register their own custom 3D armor models (.glb and .b3d), define custom bone attachment transforms, and customize gear with zero hard dependencies (with optional automatic enhancement when x_player_api is present).

Gameplay & Key Features 🔗

  • Modular Entity Bone Attachment Architecture: Helmets, chestplates, leggings, boots, and shields attach directly to your character's skeletal bones (Head, Body, Arm_Left, Arm_Right, Leg_Left, Leg_Right) as lightweight, optimized visual entities. Unlike legacy mods that replace your entire character with a baked armor model, your base player mesh, custom skin, and 3D outfit layers remain 100% intact.
  • Third-Party Custom 3D Model Attachments via x_player_armor API: Mod developers are completely freed from rigid baked player textures! Third-party mods can use x_player_armor.register_armor to design and attach their own custom 3D model meshes (.glb or .b3d)—including custom helmets, crowns, wizard hats, pauldrons, cloaks, quivers, wings, or shields. Fully customizable with bespoke bone targets, positional offsets, Euler rotations, visual scaling, multi-material textures, and glow emission—all with zero external dependencies required!
  • Native Blender glTF 2.0 Unified Export Workflow: Armor creators can sculpt, adjust, and texture all armor pieces and shields directly on the character in Blender and export directly to standard glTF 2.0 (.glb) with zero custom scripts or command-line converters required.
  • Zero Hard Dependencies (Optional x_player_api Synergy): Operates 100% standalone with standard Luanti player models out-of-the-box. When the optional x_player_api mod is present, x_player_armor automatically detects it and binds visual entities to x_player_api's dual visual proxies (modern .glb and legacy .b3d) for enhanced locomotion and animation synchronization.
  • Active Shield Defense & Arrow Deflection: Hold right-click with an equipped shield to raise your guard. Blocking absorbs frontal melee attacks, deflects flying arrows with bounce physics, protects your worn armor from taking wear, and shows a first-person shield indicator. Features a dedicated API allowing third-party projectile and ranged combat mods to easily hook into arrow deflection.
  • Dynamic Combat HUD: During battle, a sleek on-screen armor HUD appears automatically to show your gear's real-time durability so you always know when an item is close to breaking.
  • Sound Effects & Particle Sparks: Enjoy distinct audio effects and particle sparks when equipping gear, absorbing strikes, blocking attacks, deflecting arrows, or shattering broken armor.
  • Interactive Armor Stands: Display your favorite armor sets, held weapons, and shields in your base. Right-click to open an interactive visual wardrobe manager, or simply Shift + Punch with any item in hand (or empty hand) to swap your equipped suit and weapon with the stand in one quick action.
  • Dynamic 3D Inventory Preview: Rotate and inspect your character in real-time 3D right inside your inventory screen (sfinv, unified_inventory, or i3). When equipping custom 3D armor pieces or shields, a pure-Lua in-memory mesh assembler seamlessly merges them into a unified preview with zero server lag or disk churn.
  • Elemental Survival Perks:
    • Nether & Crystal: Stride through fire and lava without taking flame damage.
    • Crystal: Dive into deep oceans with underwater breathing.
    • Gold & Mithril: Enjoy passive health regeneration and cushioned fall landings.
    • Cactus: Sharp thorns that retaliate against attackers.
  • Matching Set Bonus: Equipping a complete 4-piece or 5-piece matching armor set grants an automatic +10% defense bonus.
  • Lag-Free Multiplayer Performance: Uses static, optimized visual entities with zero Lua tick overhead (on_step = nil). Bone tracking is offloaded directly to the Luanti engine's C++ scene graph, keeping multiplayer servers running at a solid 20 TPS with zero entity lag.
  • Full Drop-in Compatibility: Fully backwards-compatible with mods that use legacy 3d_armor, shields, or 3d_armor_stand APIs, and automatically migrates older saved inventories.

Why Choose x_player_armor Over Classic 3d_armor? 🔗

x_player_armor is a modern upgrade designed to give you better visuals, active combat, and smooth multiplayer performance while working seamlessly with all your existing mods and gear.

Feature Classic 3d_armor x_player_armor
Visual Architecture Overrides your entire player model with a baked mesh (3d_armor_character.b3d) and flattened composite textures; blurs skins and strips away 3D clothing. Optimized Bone Attachments: Attaches lightweight, static visual entities directly to your skeletal bones. Your base player model is never replaced, keeping skins and 3D outfit layers 100% intact.
Custom 3D Model Attachments Rigid and monolithic: third-party mods must bake armor textures onto a single fixed player mesh template. Cannot attach bespoke 3D meshes or unique bone attachments per piece. Standalone 3D Model API: Third-party mods use x_player_armor.register_armor to register unique 3D meshes (.glb / .b3d) for any armor slot or shield, specifying custom skeletal bones, rotations, offsets, multi-material textures, and glow. Requires zero external dependencies.
Animation & Skeletal Rigging Incompatible with modern dual-format player models and animation rigs; overrides or breaks visual proxies and desyncs with custom animation controllers. Zero Dependencies + Optional x_player_api Synergy: Functions standalone attaching directly to standard player bones. If x_player_api is present, it automatically binds visual entities to dual visual proxies without requiring manual setup.
Multiplayer Performance Constantly polls world blocks and recalculates composite textures, causing tick lag, packet bloat, and server stutter. Zero-Tick Engine Attachments: Visual entities run with zero Lua tick overhead (on_step = nil), tracked natively in C++ by the Luanti scene graph for lag-free multiplayer.
Shield Combat & Deflection Shields are passive stat-sticks—you cannot raise a guard, block attacks, or deflect incoming arrows. Active shield defense: hold right-click to raise your shield, reducing frontal damage, deflecting flying arrows with bounce physics, and absorbing wear directly onto the shield. Includes full API support for third-party projectile mods.
First-Person Shield View No visual indication of raising a shield in first-person view. A sleek 3D shield appears in your first-person view whenever you raise your guard.
Combat Awareness HUD You must open your inventory mid-fight to check if your armor is about to break. A handy mini-HUD appears during battle with clear color bars (green to red) and chime warnings before gear breaks.
Interactive Armor Stands Multiple attached pieces can glitch, duplicate, or leave floating ghost items. Rock-solid armor stands: Shift + Punch with any item in hand (or empty hand) to swap your equipped suit and held weapon in one click, with zero glitching.
Smooth Movement Can clash with sprint and potion mods, causing stuttery movement or speed resets. Plays nicely with sprint, hunger, and potion mods without interrupting your movement speed.
Drop-In Upgrade — Works instantly as a replacement—keeps all existing crafting recipes, mods, and saved player inventories.

Armor Materials & Defense Ratings 🔗

Material Defense Level Health Regen Durability Survival Perks
Wood 20 0% 80 Lightweight starter gear crafted from wood planks
Cactus 24 0% 110 Desert survival with thorns that damage attackers
Steel 45 0% 350 Dependable mid-game metal protection
Bronze 50 0% 450 Tough copper-tin alloy defense
Diamond 70 0% 1200 Exceptional durability and strong damage resistance
Gold 40 12% 200 Regenerates player health over time
Mithril 80 15% 1800 Legendary alloy with health regen and feather falling
Crystal 75 10% 1500 Water breathing and fire protection
Nether 85 5% 2200 Immune to lava, fire, and heavy explosions
Admin 100 100% Infinite Invulnerability, flight, and environmental immunity

Developer API 🔗

Mod developers can easily register custom armor items, attach bespoke 3D models (.glb and .b3d), define bone transforms, shields, sound effects, and combat callbacks via x_player_armor.register_armor with zero external dependencies. Detailed technical documentation, type definitions, and signatures are available in API.md on GitHub.

Reviews

Review

Do you recommend this mod?

  • No reviews, yet.

Releases

2.0.5

Download

Luanti 5.10+

2026-11-04 03:54 UTC

2.0.5 🔗

No release notes

2.0.4

Download

Luanti 5.10+

2026-10-17 14:11 UTC

2.0.4 🔗

  • docs(cdb): update ContentDB disclosure footer syntax

2.0.3

Download

Luanti 5.10+

2026-10-17 13:59 UTC

2.0.3 🔗

  • docs(cdb): update package metadata and documentation

2.0.2

Download

Luanti 5.10+

2026-10-16 23:33 UTC

2.0.2 🔗

  • perf(shields): simplify shield meshes to contour quads and disable texture alpha

2.0.1

Download

Luanti 5.10+

2026-10-15 23:23 UTC

2.0.1 🔗

  • fix(visuals): resolve character_anim B3D wiggler conflict and model crash
All releases

Information

Provides

x_player_armor

Dependencies

Required
No required dependencies
Optional
3d_armor 3d_armor_ip 3d_armor_sfinv 3d_armor_stand 3d_armor_ui armor_admin armor_bronze armor_cactus armor_crystal armor_diamond armor_gold armor_leather armor_mithril armor_nether armor_steel armor_wood armor_woven bones character_anim clothing default ethereal i3 modlib moreores nether player_api player_monoids playerphysics pova sfinv shields skinsdb technic technic_armor unified_inventory wieldview x_player_api

Information

Type
Mod
Technical Name
x_player_armor
Languages
English
License
LGPL-2.1-or-later for code,
CC-BY-SA-3.0 for media.
Maintenance State
Actively Developed
Added
2026-10-08 19:48 UTC
Maintainers
SaKeL

Used By