ovenlib

Mod

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

Server

342 downloads
0 followers
Follow Save
90% of ad revenue goes to creators. Go ad-free while supporting creators with Modrinth Plus. Subscribe today!

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!


Project members

Polymerized Bakery

Polymerized Bakery

Organization

Details

Licensed MIT
Published 2 months ago
Updated 2 months ago