介绍
Resource Provider Lib
This library is written for Fabric. Core functionalities for this library:
- To provide users the ability to append custom resource pack providers to Minecraft using Java code.
- Give user API in Java to generate resource and data packs programmatically.
What is a resource pack provider?
It is a component, function, and object that appends packs to the resource pack selection screen and data packs at the data pack selection screen.
Resource, Asset, and Data packs in this API?
- Asset pack. Pack that contains resources for clients. Like block and item models, and textures.
- Data pack. Pack that contains resources for clients and servers. Recipes for crafting, cooking, etc. Functions, loot tables.
- Resource pack. Combination of asset and data packs.
API that allows generating Asset and Data packs?
ResproRegistry.registerAssetPack and ResproRegistry.registerDataPack are entry points for generating and registering custom resource pack. Asset pack generator allows you to generate custom item models, block states, set pack icon, name, and description. Datapack generator allows you to generate recipes for Custre mod.
Development future?
I will keep this mod updated for new Minecraft releases, and implement functionality for the data pack generator, like custom recipe generation, loot table generation, and custom data generation for other mod support. And update functionality the same way as with the data pack generator. Make a wiki page with a guide on how to use this mod, library.
常见问题
Resource Provider Library (FABRIC) 支持哪些 Minecraft 版本?
Resource Provider Library (FABRIC) 支持 Minecraft Java 版 1.16.5–1.19.1,共 8 个版本,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。
Resource Provider Library (FABRIC) 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。
评论
登录后评论和评分