ModsFinder

Petrolpark's Library

by petrolpark

Petrolpark's Library supplies shared APIs and utilities that the author's other mods, and some modpacks, build on, with features such as data-driven flags, decays and wishes.

ForgeNeoForgeClient and serverAll rights reserved1.20.1 – 1.21.1

What it does

Flags can be attached to item stacks, fluid stacks and block entities, and they carry through crafting, smelting and several Create processes. Decays change an item or its components after a set time, even inside a modded inventory, and a barrel recipe type starts a decay that stops when the item is removed. Wishes let a player pick an item, such as one with particular enchantments, and the loot system works to fulfil open wishes whenever a loot table is rolled. The library also adds player attribute types for extra inventory and hotbar slots.

The library is closely tied to Create and integrates with it, but Create is an optional dependency: features that need it are simply disabled when it is absent. It is published for Forge and NeoForge, for 1.20.1 and 1.21.1, and is licensed as All rights reserved. Every player and the server need a copy of the mod.

Key features

  1. Data-driven flags

    Flags are tags on stacks and block entities that survive vanilla crafting, smelting and most Create recipes.

  2. Decay system

    Items can be set to change after a given time, such as rotting food or aging wine, based on the Factorio design.

  3. Barrel decay recipes

    A recipe type starts a decay for items placed in a Barrel or another implementing container, and stops it when the item is removed.

  4. Wish items

    Wishes are granted as rewards or crafted, and loot rolls are steered toward them instead of relying on repeated rolls.

Compatibility

Latest build for each game version and loader.

1.21.1Not available1.21.1-1.5.11
1.20.11.20.1-1.4.271.20.1-1.4.4
ReleaseBetaAlphaNot available

Only full game releases are shown. This mod publishes no snapshot builds.

Requirements

Dependencies declared by the latest file for each loader.

Optional 1

CreateAesthetic Technology that empowers the Player
Optional

Required by 3 mods

Use cases

Who it’s for: Mod and modpack developers who want data-driven building blocks, and server owners whose packs depend on the author's other mods.

How it compares

Full comparison

LanternLib is open source under the GNU Lesser General Public License v3.0 or later, is published for Forge and NeoForge for 1.20.1 – 1.21.1, and runs on client and server. Elysium API is open source under the GNU General Public License v2.0 only, covers the same versions and loaders, and is optional on either side. Rapid Leaf Decay is server-side only and not open source, published for 1.17.1 – 26.3, so it is a different kind of mod altogether.

ModLoadersGame versionsEnvironmentUpdated
Petrolpark's LibraryForge and NeoForge1.20.1 – 1.21.1Client and server2026-09-14
LanternLibForge and NeoForge1.20.1 – 1.21.1Client and server2026-04-01
Elysium APIForge and NeoForge1.20.1 – 1.21.1Client or server, optional2026-08-22
Rapid Leaf DecayForge and NeoForge1.17.1 – 26.3Server-side only2026-10-10

Questions

Does Petrolpark's Library need Create?

No. Create is an optional dependency, and features that use it are disabled when it is not installed.

Which loader should be used with Petrolpark's Library?

Builds exist for Forge and NeoForge. The NeoForge file for 1.21.1 is marked as a beta release, while the Forge file targets 1.20.1.

Which mods depend on Petrolpark's Library?

Three catalog mods require it, including Petrol's Parts, Destroy and pquality.

In the catalog

Petrolpark's Library is one of 3,514 Library mods on ModsFinder, and one of 1,576 Library mods for Forge. 32,366 mods support Minecraft 1.21.1.

More from petrolpark

All projects

Similar mods

What the author says

This library provides a variety of largely data-driven APIs for mod and modpack developers, and contains code common to my Create add-ons and other mods. Most of its systems are designed to be very versatile to allow modders and modpack developers to do things with the game they can't normally. The library is heavily…
petrolpark, on the Modrinth page

Official listing

Owner
petrolpark
Published
2024-08-24
Updated on Modrinth
2026-09-14
Facts verified
2026-10-15

Tags