CustomBrewRecipes
A fabric mod that makes it easy for developers adding non-potion brewing recipes that support NBT data!
介绍
Note: won’t mantain this page too often, please look at modrinth page too, since i use that as a maven repo.
CustomBrewRecipes
A fabric mod that allows developers to create new Brewing Recipes that also support custom non potion items and Components or NBT data.
Detailed instructions can be found in the javadoc, but all you have to do is calling
CustomBrewRecipeRegister.registerCustomRecipe()
and supply the items for the recipe.
Or if you need custom components, use the
CustomBrewRecipeRegister.registerCustomRecipeWithComponents()
and either use itemstacks that already have custom components or supply the nbt to the method.
There also is a NBT version of the method that saves stuff to the CustomData component.
You can also check for the presence of component types (or nbt-fields) and not their values!
CustomBrewRecipeRegister.registerCustomRecipeWithComponentPrescence()
NB: The output item will still need to have the whole ComponentMap/NBT, since it’s the one which is going to be created!
You can also check for the presence of field/componet and specific value! You will need to use
CustomBrewRecipeRegister.registerCustomRecipeWithComponentType();
NB: The output item will still need to have the whole ComponentMap/NBT, since it’s the one which is going to be created!
Setup
You can add it to your project by adding in your build.gradle:
repositories {
maven {
name = "Modrinth"
url = "" rel="noopener nofollow" target="_blank">https://api.modrinth.com/maven"
content {
includeGroup "maven.modrinth"
}
}
}
dependencies {
modImplementation "maven.modrinth:custombrewrecipes:<version>"
}
License
This mod is available under the CC0 license.
常见问题
CustomBrewRecipes 支持哪些 Minecraft 版本?
CustomBrewRecipes 支持 Minecraft Java 版 1.21–1.21.4,共 5 个版本,可用的加载器:NeoForge。下载时注意选择和你游戏版本一致的文件。
CustomBrewRecipes 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 NeoForge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。
Emafire003 的其他作品
查看全部 →OhMyMeteors
一款现代风格的模组,带来从天而降的流星与陨石!
ColoredGlowLib
让实体发出任意颜色的光,还能自定义动画,甚至实现彩虹效果!不再局限于原版颜色!支持 API 和命令!
FoxGlow
狐狸和玩家吃下发光浆果后应该会发光,对吧?说不定还能发出五彩光芒!
ColoredGlowLib
让实体发出任意 RGB 颜色的光,不再局限于原版颜色!还支持通过数据包自定义颜色动画!
评论
登录后评论和评分