跳到正文

ovenlib

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

收藏

介绍

中文介绍正在准备中,下面暂时显示原文。

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!

常见问题

ovenlib 支持哪些 Minecraft 版本?

ovenlib 支持 Minecraft Java 版 1.21,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。

ovenlib 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:仅服务端。

评论

登录后评论和评分

Polymerized Bakery 的其他作品

查看全部 →