ArmorRenderLib: Directors Cut
⚪ Last updated 2024⚠️ Install Order · 2 steps
Install in this order, then this mod last — most mods fail to load without their framework and dependencies in place.
Preview

🔍 Analysis
- 👍 0.4% endorsement rate
- 🏆 #45 of 885 fabric mods in this game by downloads
📋 About This Mod
!(https://cdn.discordapp.com/attachments/540362725289885700/1194930378209767465/oie_30VpdLHJHOAj.png?ex=65b224a2&is=659fafa2&hm=1a22e9a6ce2b3249a749ce774ab21097ac8b8dbae6fad815bf34672359b4669c&)
(https://www.curseforge.com/minecraft/mc-mods/armorrenderlib-directors-cut), a port of (https://modrinth.com/mod/armor-render-lib) is a lightweight extension library to Fabric API's fabric-rendering-v1 (https://github.com/FabricMC/fabric/tree/1. 20. 1/fabric-rendering-v1). Since the Fabric API implementation is quite abstract, a more targeted implementation is needed for some specific use cases. These use cases are present across more than one of my mods, so in the spirit of code reuse this library was created. It is robust, using only a few very targeted mixins and is fully compatible with Cosmetic Armor and GeckoLib.
### • Build
To include this library in your project, copy the following into your `build.gradle`:
```gradle repositories { maven { name = "Modrinth" url = "https://api.modrinth.com/maven" content { includeGroup "maven.modrinth" } } } ```
```gradle
dependencies {
modImplementation "maven.modrinth:armor-render-lib:
Armor Render Lib adds armor render layers. These are objects containing a dynamic texture location, color and glint boolean that render armor for an item (or items). They are roughly equivalent to Fabric API's (https://github.com/FabricMC/fabric/blob/f14603e8624d4cb192846321c429cc00c9ef6f55/fabric-rendering-v1/src/main/java/net/fabricmc/fabric/api/client/rendering/v1/ArmorRenderer.java#L69), but the texture, color and glint can be dynamically specified based on the `ItemStack`, `LivingEntity` and `EquipmentSlot`.
They should be registered like so:
```java public class ExampleMod implements ClientModInitializer { private static ArmorRenderProvider render(ItemStack stack, LivingEntity entity, EquipmentSlot slot) { // Dynamic texture path String texture = "examplemod:textures/model/armor/example_chestplate.png"; // Dynamic color int color = 0xFF00FF; return data -> data.accept(texture, color, stack.hasGlint()); } @Override public void onInitializeClient() { ArmorRenderLib.register(ExampleMod::render, Items. IRON_CHESTPLATE); } } ```
### • Notes
- An item can have multiple different armor render layers registered to it.
- Multiple items can have the same armor render layer registered to them.
- Registering a render layer to a vanilla item (or other armor item) overrides the default armor rendering.
- - This means that the texture, color and/or enchantment glint of vanilla armor can be modified.

Use code "BAREMINIMUM" to get 15% off your first month!
📊 Mod Details
- Game
- Minecraft Mods
- Author
- bibireden
- Version
- 0.3.1+1.20.1
- Downloads
- 1,203
- Endorsements
- 5
- Category
- fabric
- Created
- 1/15/2024
- Updated
- 1/11/2024
- Game Versions
- 1.20.1
- Tags
- library
🔧 How to Install Minecraft Mods Mods
Download from Modrinth. Use Prism Launcher or drop into your mods folder.
📖 Full step-by-step install guide for Minecraft Mods →
Visit the official mod page for specific installation instructions for this mod.
🎮 Need cheat codes or console commands? Check ur gaming wiki for Minecraft Mods commands, item IDs, and more.
❓ Frequently Asked Questions
Which Minecraft Mods versions does ArmorRenderLib: Directors Cut support?
The author lists 1.20.1. Other versions may work but are untested by the author.
What is the latest version of ArmorRenderLib: Directors Cut?
Version 0.3.1+1.20.1, published 2024-01-11 with 1,203 downloads recorded at the source.
Keep browsing — more Minecraft Mods mods await