XunLib

A common code library designed to ease mod dev

File Details

[Fabric 1.21] v.2.1.3

  • R
  • Jun 14, 2025
  • 112.88 KB
  • 9
  • 1.21
  • Fabric

File Name

xunlib-fabric-1.21-2.1.3.jar

Supported Versions

  • 1.21

Curse Maven Snippet

Fabric

modImplementation "curse.maven:xunlib-1245630:6649123"
Curse Maven does not yet support mods that have disabled 3rd party sharing

Learn more about Curse Maven

Xunlib v2.1.3 Changelog

Fixes & Improvements

  • ArmorSet/ToolSet Builders:
    • Changed Item.Properties field to Supplier for safer delayed initialization
    • withVanillaBalance() now correctly references Iron-tier attributes (attack damage/speed)
  • Registry Utilities:
    • Restored static Registries map in common utils class to resolve getKey()/getRegistryId() problem

Features

  • Custom Smithing Templates:
    • Added UpgradeSmithingTemplateItem with extracted Netherite upgrade logic from vanilla
    • Customize icons, description text, and material requirements.

Hotfix Impact:

  • Critical fixes for ArmorSet/ToolSet attribute calculations and registry lookups

Upgrade Recommended for all users experiencing registry ID errors or custom tool/armor balance issues.