ModsFinder

PicesCup Develop Lib

by PiscesCup

PicesCup Develop Lib is a Fabric library for mod developers, with helpers for registering items, blocks, item groups and tags, plus data generation for recipes, models and translations.

FabricServer required, client optionalCC0 1.0 UniversalOpen source1.21.4

What it does

Developers add the library as a dependency to skip repetitive setup code. Its register classes, PCItemRegister, PCBlockRegister, PCItemGroupRegister and PCItemTagKeyRegister, handle items, blocks, item groups and item and block tags. Register first, then call registerAndBuild; calling it without first adding entries throws an IllegalArgumentException. The library also provides utilities such as Language.java and factories that return data providers for FabricDataGenerator.

Recipes can be declared with PCShapedRecipe and PCShapelessRecipe, while item models are set through the model method of PCItemRegister and blocks can use the simpleCubeAll method in PCBlockRegister. Translation and language providers are reached through PCTranslationProviderFactory and PCLanguageProviderFactory. The project includes an examples folder and a GUI development section.

The library is for Fabric only and targets Minecraft 1.21.4. The server needs it, while players may leave it out, since the client side is optional. It is released under CC0 1.0 Universal and is open source, with a source repository, an issue tracker and a wiki.

Key features

  1. Item and block registration

    PCItemRegister and PCBlockRegister register items and blocks, and PCBlockItemRegister adds their block items.

  2. Item groups and tags

    PCItemGroupRegister registers item groups, and tag key registers create item and block tags for mod or vanilla tags.

  3. Recipe helpers

    PCShapedRecipe and PCShapelessRecipe declare crafting recipes for items in code.

  4. Data generation providers

    Factories return data providers, and language providers cover one or several languages for translations.

Compatibility

Latest build for each game version and loader.

1.21.41.0.1
ReleaseBetaAlphaNot available

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

How it compares

Full comparison

Baspig Utils Lib is a Fabric library for 1.21.3 – 1.21.5, released under the MIT License and open source, and it runs on client and server. Farest's API is a Fabric library for 1.21 – 1.21.10, open source under the GNU Lesser General Public License v3.0 only, and it also runs on client and server. PicesCup Develop Lib targets only 1.21.4 and is released under CC0 1.0 Universal, with the server needing it while clients may skip it.

ModLoadersGame versionsEnvironmentUpdated
PicesCup Develop LibFabric1.21.4Server required, client optional2025-05-14
Baspig Utils LibFabric1.21.3 – 1.21.5Client and server2025-05-06
Farest's APIFabric1.21 – 1.21.10Client and server2025-12-14

Questions

Does PicesCup Develop Lib need to be installed on clients?

No. Players may leave it out, since the client side is optional. The server needs it to run mods that depend on it.

Which loaders does PicesCup Develop Lib support?

Only Fabric. The latest Fabric file is 1.0.1 for 1.21.4, published 2025-05-14, and no other loader files are listed.

Why does registerAndBuild throw an exception?

It throws an IllegalArgumentException when a register class is built before its entries are added. Add items, blocks or tags at least once before calling registerAndBuild.

In the catalog

PicesCup Develop Lib is one of 3,514 Library mods on ModsFinder, and one of 2,348 Library mods for Fabric. 17,979 mods support Minecraft 1.21.4.

More from PiscesCup

All projects

Similar mods

What the author says

The examples are in the Examples Folder. If you want to set translations, models, recipes, you should use the method registerAndBuild() first.
PiscesCup, on the Modrinth page

Official listing

Owner
PiscesCup
Published
2025-05-14
Updated on Modrinth
2025-05-14
Facts verified
2026-10-15

Tags