Back to mods
Chained Curios project artwork

CurseForge · Minecraft mod

Chained Curios

wear chainmail under your armor, give chainmail a use!

Choose a version Pick your version below, then grab the matching file.

Quick answer

Which Chained Curios release should I use?

Updated 11 months ago
Latest stable file chainedcurios-1.1.0.jar
Game version 1.20.1
Loader Forge

Chained Curios chainedcurios-1.1.0.jar targets 1.20.1 with Forge. The project page does not say whether this file belongs on the client, dedicated server, or both. No extra mods listed for this file.

Where it goes

Is Chained Curios required on the client, server, or both?

The project page does not say whether this file belongs on the client, dedicated server, or both.

Client Source doesn’t say
Dedicated server Source doesn’t say
Loader for this release Forge
Required install it here Optional supported, not mandatory Not supported do not install here Source doesn’t say do not assume

The source does not explicitly classify this release as client-only or server-only.

What else does Chained Curios chainedcurios-1.1.0.jar need?

chainedcurios-1.1.0.jar. Change the file and its required mods may change too.

No extra mods listed for this file

This file does not list any required mods. Do not add a library just because a different file uses it.

This file does not list any required or optional mods.

Before you install it

Add Chained Curios without breaking your instance.

Built for Chained Curios chainedcurios-1.1.0.jar. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use chainedcurios-1.1.0.jar. It targets 1.20.1 with Forge; another release may have different loader, side or dependency requirements.

  2. 02

    Bring the mods it needs

    This file does not list any required mods. Do not add a library just because a different file uses it.

  3. 03

    Put it on the correct side

    The project page does not say whether this file belongs on the client, dedicated server, or both.

  4. 04

    Pick the file you checked

    Use the “Get this file” button beside chainedcurios-1.1.0.jar. It opens that exact file at the source.

About this project

What does Chained Curios add?

Chained Curios

A simple, vanilla-friendly mod that gives you a second layer of defense. No more choosing between your enchanted diamond chestplate and that cool-looking chainmail. Now you can wear both.

Features:

Underlayer Armor

Adds four new "underlayer" Curios slots, one for each armor type. This mod re-purposes vanilla chainmail to be worn underneath your primary armor instead of in the main armor slots. kinda like how you would in real life.

Layered Protection

The chainmail provides its full armor and enchantment benefits, stacking with your main gear. More protection is always better.

Smart Durability

The underlayer takes durability damage, but it's smart about it. If you have a primary armor piece equipped over it, the underlayer takes 60% less durability damage.

Seamless Visuals

The best part. The chainmail realistically renders only in the gaps of your outer armor. No ugly clipping or Z-fighting. It just looks right.

How to Use

  1. Make sure you have Forge and the Curios API for Minecraft 1.20.1 installed.
  2. Drop the .jar file into your mods folder.
  3. Open your inventory and find the new "underlayer" slots in the Curios menu.
  4. Equip chainmail armor manually or by right-clicking or shift-clicking it.

Compatibility

  • Outer Armor: The dynamic rendering technique is designed to work with armor from most other mods. You can wear your vanilla chainmail underlayer beneath almost any modded armor and it should render correctly. armor in the gallery is from the minecraft dungeons and armor mod
  • All the Trims: The mod includes explicit support for the All the Trims mod. Armor trims will render correctly on the chainmail underlayer.
  • Underlayer Armor: Please note that this mod currently only adds the underlayer functionality to vanilla Chainmail Armor. It does not enable other modded armor sets to be used as underlayers.

Technicals

This mod is designed to be lightweight and client-focused. Here's a look under the hood:

  • Curios Integration (CapabilityAttacher.java & UnderlayerCurioProvider.java):

    • The mod subscribes to Forge's AttachCapabilitiesEvent<ItemStack>. When the event fires for a chainmail item, we attach our own ICapabilityProvider.
    • This provider, UnderlayerCurioProvider, exposes the ICurio capability. The core logic resides in the ICurio implementation:
      • canEquipFromUse: Returns true to enable right-click and shift-click equipping.
      • canEquip: Checks the SlotContext identifier to ensure a chainmail piece can only be placed in its corresponding "underlayer_*" slot (e.g., Items.CHAINMAIL_HELMET in "underlayer_head").
      • getAttributeModifiers: This is key for providing armor stats. It gets the item's default attribute modifiers for its corresponding EquipmentSlot and rebuilds them with a new UUID, effectively copying the armor and armor toughness attributes to the Curio.
      • getEquipSound: Returns the vanilla SoundEvents.ARMOR_EQUIP_CHAIN.
  • Damage & Durability Logic (ModForgeEvents.java):

    • A static event handler subscribes to LivingHurtEvent. This event is where all damage calculations happen.
    • Enchantment Protection: The handler gets the player's Curios inventory and iterates through the equipped items. For each chainmail curio, it calls the vanilla EnchantmentHelper.getDamageProtection() and accumulates the value. This total is then used to calculate the damage reduction factor (1.0f - Math.min(20.0f, totalEnchantmentProtection) / 25.0f), and the event's damage amount is updated.
    • Durability Damage: After the damage is reduced, the final amount is used to calculate durability loss. The base durability damage is (int) Math.max(1.0f, finalDamage / 4.0f).
    • Synergy: The handler then checks if the player is wearing a corresponding piece of vanilla armor. If so, the durability damage for the curio is reduced by 60% (durabilityDamage * 0.4f).
    • Finally, the ItemStack.hurtAndBreak() method is called on the curio's stack to apply the damage.
  • The Rendering Magic (UnderlayerRenderer.java & ClientModEvents.java):

    • Registration: In the FMLClientSetupEvent, we register an instance of our UnderlayerRenderer for each of the four chainmail items using CuriosRendererRegistry.register().
    • The Problem: Rendering layered armor typically results in Z-fighting, where the inner and outer models clip through each other.
    • The Solution (Stencil Buffering): We use a multi-pass rendering technique to solve this.
      1. Pass 1: The Stencil Mold: We render the outer armor first, but invisibly (RenderSystem.colorMask(false, false, false, false)). This pass writes to the depth buffer (creating a 3D "mold") and, crucially, writes a value of 1 to the stencil buffer for every pixel the armor occupies. A custom RenderType (armorCutoutWithCull) is used to enable back-face culling, preventing the inside of the armor from creating a messy mold.
      2. Pass 2: The Clipped Underlayer: We then render the chainmail underlayer. However, we configure the RenderSystem to only draw where the stencil buffer's value is not equal to 1 (RenderSystem.stencilFunc(GL11.GL_NOTEQUAL, 1, 0xFF)). This confines the underlayer to the 2D silhouette of the outer armor. The standard depth test against the "mold" from Pass 1 then correctly clips the underlayer in 3D space, ensuring it only appears in the gaps and underneath the outer armor.
    • Chestplate Exception: The chestplate model, with its separate body and arm pieces, requires a more complex cycle. The body is rendered first (with limbs stenciled out), followed by the limbs (with the body stenciled out), ensuring a perfect composite.
    • Compatibility: The renderer includes a specific call to AllTheTrimsCompat.tryRender() to provide explicit support for rendering trims from the All the Trims mod. If that fails or the mod is not present, it falls back to the vanilla trim rendering logic.

Project description from CurseForge.

Pick your setup

Chained Curios by Minecraft version and loader

Choose the version and loader you play, then open the matching release.

1 available setups

Check the dependencies, then try the file in a copied instance before changing a world you care about.

Recent files

Chained Curios versions and loaders

1 of 1 releases match

Looking for an older file? The official CurseForge project page is in Resources.