HomeJavaModsovenlib
ModsJava

ovenlib

by drakosoldier298 · on Modrinth

Library for Polymerized Bakery, handles alot of repetition in our development and you might find it useful as well!

⬇ Download on Modrinth

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!

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

Verified by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more