Skip to content

jodeks-datapacks/5555ff-lib

Repository files navigation

minecraft datapack libarary jodek datapack minecraft jodeks library

jodeks discord - discord badge - pixel badge - pixel discord badge - jodeks datapacks - datapacks discord   matrix - datapacks matrix - jodeks datapacks matrix   5555ff lib minecraft datapack github issues   jodeks datapacks kofi - jodek kofi - minecraft datapack kofi donation   github sponsor jodek donation datapacks minecraft

The core library for all of Jodek's datapacks

Config / Interface

/trigger jodek.config

What is this?

5555ff lib is the shared library that powers all of my datapacks/mods. It handles cross pack compatibility, provides a management interface and includes shared utilites

Some of my packs require this library (especially those that modify vanilla loot tables), for others its just optional The packs then work standalone, but gain some extras when the library is installed.

Why does it exist?

When multiple datapacks modify the same vanilla loot table (e.g. Mob Heads adding a head and e.g. Name Tag adding the name tag drop) only one can win, the other one gets overwritten. 5555ff helps me managing that, preventing clutter in datapacks and making it easier for me to create new datapacks.

Beyond compatibility, the library also serves as a central hub for managing all datapacks.

In the future I will most likely include more features and more shared code.

Features

Loot Table Compatibility

Multiple of my datapacks can modify the same vanilla loot table without overwriting each other.

Management Menu

See which datapack is installed

Config Access

Access the config of each installed datapack through the librarys interface

Toggle Load Messages

Enable or disable the chat messages that packs display when they load.

Toggle Advancement Overviews

Show or hide the advancement overviews for individual packs.

Uninstall Packs

Uninstall any datapack through the menu.

Shared Utilities (expanding over time)

Common functionality like predicates (e.g. sneak detection) and reusable code that multiple packs rely on --> maintained in one place instead of duplicated across packs.

Supported Packs

This library supports most of my datapacks. Any pack that lists 5555ff lib as a dependency will work.

For Developers

5555ff lib acts as a central dispatch layer for vanilla loot tables. Instead of each datapack overriding vanilla tables directly (which causes conflicts when multiple packs modify the same mob), the library handles all vanilla overrides. This way, multiple packs can modify the same mob's drops without overwriting each other.

If you're interested in making your pack compatible, feel free to reach out on Discord or open an issue on GitHub.

Why the name? 5555ff is the color used as the background in all of my icons

About

Library used in Jodek's projects

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors