Mods
Resource Packs
Data Packs
Modpacks
Shaders
Plugins
Mods Resource Packs Data Packs Plugins Shaders Modpacks
Get Modrinth App Upgrade to Modrinth+
Sign in
ModsPluginsData PacksShadersResource PacksModpacks
Sign in
Settings
BlueLib Common

BlueLib Common

BlueLib is an all-round Minecraft modding library that leverages datapack-driven features, providing complete flexibility for mod development and seamless compatibility with addons, resource packs, and datapacks!

55
1
Library
Management
Utility

Compatibility

Minecraft: Java Edition

1.21.x

Platforms

Fabric
Forge
NeoForge

Supported environments

Client and server

90% of ad revenue goes to creators

Support creators and Modrinth ad-free with Modrinth+

Links

Report issues View source Visit wiki Join Discord server

Creators

MeAlam1
MeAlam1 Co-Author
dannybrande6335 Co-Author

Details

Licensed MIT
Published last week
Updated last week
DescriptionGalleryChangelogVersions
All versions2.0.0-common-1.21-bluelib.jar

2.0.0-common-1.21-bluelib.jar

Download
Report

Changelog

This version brings Breaking Changes.

Updating might make your mod incompatible with previous versions of the Library.

2.0.0

Added

Variant Loader

  • Added a fallback variant parameter to getParameterDataFromVariant, allowing shared data to be centralized in a single JSON instead of duplicating it per variant.
  • Reworked the entire Loading system to have the Events on the Library side and allow Developers to just inject the path and entities.
    • Instead of handling everything themself.
    • All Developers can now remove their ReloadHandler since it became redundant and has been replaced with a way cleaner and more optimized system.
    • For more details, visit the Wiki.
  • onReload has been modified to onDatapackSync.

Logging

  • Added a new /log command accessible to users with a permission level of 3 or higher (/op).
    • This command opens an in-game menu displaying console logs, allowing developers to monitor output directly without needing terminal access.
    • Supports log levels with color-coded formatting for easier readability.
  • isLoggingEnabled has been moved to a server sided config.
  • All Logging is now translatable through Minecrafts Component System!
  • Added a ton more ways to Log stuff to match the slf4j system.

Network Handler

  • Introduced a streamlined network registration system.
    • Simplifies the use of custom packets by automatically handling registration internally via BlueLib.
    • Packet definitions and handlers are now separated into two distinct classes for better structure and maintainability.
    • For more details, visit the Wiki.

Packets

Variant Data Synchronization

  • AllDataPacket – Sends a Map<String, JsonObject> containing all variant data from the server to the client.
  • ParameterDataPacket – Sends specific parameter data for a given variant as a JsonElement.
  • VariantsPacket – Sends a Set<String> representing all available variant identifiers for an entity. ⚠️ These packets are not registered by default; they must be registered on the S2C side, with the handler provided as a lambda defining the logic to execute when the packet is received.⚠️

Changed

  • onReload has been modified to onDatapackSync.

Bug Fixes

  • Cleaned up all of the Logging we had in place.

Deleted

  • Removed IVariantEntityBase since it has become redundant!

Files

2.0.0-common-1.21.1-bluelib.jar(349.13 KiB) Primary
Download

Metadata

Release channel

Release

Version number

2.0.0

Loaders

Fabric ForgeNeoForge

Game versions

1.21–1.21.1, 1.21.2, 1.21.3

Downloads

7

Publication date

May 26, 2025 at 1:02 PM

Publisher

MeAlam1

MeAlam1

Co-Author

Version ID

Modrinth is open source.

main@bd61f5d

© Rinth, Inc.

Company

TermsPrivacyRulesCareers

Resources

SupportBlogDocsStatus

Interact

Discord X (Twitter) Mastodon Crowdin
Get Modrinth App Settings
NOT AN OFFICIAL MINECRAFT SERVICE. NOT APPROVED BY OR ASSOCIATED WITH MOJANG OR MICROSOFT.