promotional bannermobile promotional banner

SilverLib

This is a library for shared code between my mods.

SilverLib

SilverLib is a shared library for my mods. It holds the code and features that more than one of my mods needs, so each mod can stay focused on its own gameplay instead of re-implementing the same plumbing.

On its own, SilverLib changes nothing. It adds no items, blocks, drops, XP, or rewards. It only records information and exposes it through an API for other mods to read. Install it because another mod requires it.

What it currently does

Combat contribution tracking

SilverLib keeps a ledger of who contributed to a mob's death and how much. Other mods use this to answer questions like "who deserves credit for this kill?" or "how should this XP be split?" fairly, instead of giving everything to whoever landed the last hit.

For every living entity it records, since the entity was last at full health:

  • Total damage taken from every source, including the environment and other mobs.
  • Per-player damage dealt, with overkill clamped so hitting a mob with 1 HP for 100 damage counts as 1.
  • Indirect damage such as fire, poison, and wither ticks, attributed to the player who last hit the mob directly. A Fire Aspect kill is credited to the player, not to "the environment".
  • Damage mitigated by the mob's armor, enchantments, and effects, so a heavily armored fight still reflects the effort put in.
  • Effects applied to the mob by each player.
  • Summons and projectiles are attributed to their owner, so a summoner's wolf or a mage's spell counts as the player's contribution.

For every player it also records who healed or buffed them, so support players can be credited by mods that care about it.

Once a mob is healed back to full health the ledger is cleared. A fight that never stuck does not carry over into the next one.

Item Breaking

Items can now break without vanishing. This stops them from being used in any way and any enchantments on them from working until they are repaired. This does not happen by default and has to be activated by another mod (Artifactory or QualityAPI currently).

Soulbound

Items can now be soulbound and will appear on you after you die and respawn. This also needs to be activated before it will happen (Artifactory currently)

 

SilverLib Team

profile avatar
  • 13
    Followers
  • 27
    Projects
  • 465.3K
    Downloads

I couldn't find the perfect modpack (for me) so I decided to make it. I'm now over 20 custom mods deep for it and counting.

More from SilvertideView all

  • QualityAPI project image

    QualityAPI

    Shared item quality for NeoForge: data-driven tiers from Crude to Masterwork that change durability, speed, attributes and enchantments, carry through crafting, and break instead of vanishing. Standalone or as an API for other mods.

    • 394
    • October 29, 2026
  • Beasts & Bounties project image

    Beasts & Bounties

    Every creature you slay fills a page of your Hunter’s Bestiary and makes you deadlier against it. Learn to track what you’ve studied, take hunts from the Bounty Board, and turn your thousandth zombie into something that matters.

    • 680
    • October 28, 2026
  • Realms Of Reverie project image

    Realms Of Reverie

    A highly integrated RPG pack designed for character progression, discovery, exploration, advancement, and long term community play.

    • 2.1K
    • October 26, 2026
  • Realms of Reverie project image

    Realms of Reverie

    Realms of Reverie Modpack Mod

    • 2.1K
    • October 25, 2026
  • QualityAPI project image

    QualityAPI

    Shared item quality for NeoForge: data-driven tiers from Crude to Masterwork that change durability, speed, attributes and enchantments, carry through crafting, and break instead of vanishing. Standalone or as an API for other mods.

    • 394
    • October 29, 2026
  • Beasts & Bounties project image

    Beasts & Bounties

    Every creature you slay fills a page of your Hunter’s Bestiary and makes you deadlier against it. Learn to track what you’ve studied, take hunts from the Bounty Board, and turn your thousandth zombie into something that matters.

    • 680
    • October 28, 2026
  • Realms Of Reverie project image

    Realms Of Reverie

    A highly integrated RPG pack designed for character progression, discovery, exploration, advancement, and long term community play.

    • 2.1K
    • October 26, 2026
  • Realms of Reverie project image

    Realms of Reverie

    Realms of Reverie Modpack Mod

    • 2.1K
    • October 25, 2026