NotALib
This is a library mod containing shared code used in various Minecraft mods. It was initially developed to support my own mods, but other developers can also freely use it in their projects. The mod is open source and distributed under the LGPL 2.1 license, allowing developers who don't want to establish a hard dependency on this library to freely use its code.
Key Features
-
Item and Block Color Handlers: Provides standard handlers for changing the colors of items and blocks using NBT, simplifying the creation of visually diverse content.
-
SetColor Loot Function: Adds the SetColor function, designed for configuring the color of items that use the provided color handlers. This allows dynamic changes to loot appearance based on various conditions.
-
BiomeSpecific Condition: Includes the BiomeSpecific condition, which restricts loot drops depending on the biome. This helps create a more logical and immersive resource generation system in the game.