Compatibility
Minecraft: Java Edition
Platforms
Supported environments
75% of ad revenue goes to creators
Support creators and Modrinth ad-free with Modrinth+Creators
Details
OvenLib is a library that we at Polymerized Bakery will be using for alot of our mods to help with repition, the library is primarily an Polymerlib helper.
Currently it as two functions, ToolMaterialFactory and ToolFactory
ToolMaterialFactory makes it easy to build custom tool materials.
ToolFactory makes it easy to build entire toolsets (axe, hoe, pickaxe, shovel, and sword) with a specified material and name! This makes it so you just need to call ToolMaterialFactory.Generate(mining level, durability<int>, mining speed<float>, attack damage<float>, enchantability<int>, repairIngredient)
, and it will automatically generate the tools in the registry. (do note you will need to provide textures and recipies yourself, I have yet to learn how to DataGen for recipies)
Thats about all it does for now, but later I plan on making it able to generate items from a config file for you server owners!