CustomBrewRecipes 图标

CustomBrewRecipes

作者:rebot | 分类:模组

价格:0 墨喵币 下载量:0 点赞:0 版本 1.3.2-neo
本资源为搬运资源,原资源地址: https://modrinth.com/mod/custombrewrecipes
资源信息

Minecraft 版本: 1.21.1 1.21.2 1.21.3 1.21.4

平台: neoforge

资源介绍

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!

nodecraft

Setup

You can add it to your project by adding in your build.gradle:

repositories {
    maven {
        name = "Modrinth"
        url = "https://api.modrinth.com/maven"
        content {
            includeGroup "maven.modrinth"
        }
    }
}

dependencies {
    modImplementation "maven.modrinth:custombrewrecipes:<version>"
}

License

This mod is available under the CC0 license.

📥 下载与版本
评论(0)
登录 后发表评论。

暂无评论,抢个沙发吧~

举报此资源

请登录后举报

🔥 相关推荐
TimelessLib

价格:0 墨喵币
下载量:0

查看详情
Fresh wood

价格:0 墨喵币
下载量:0

查看详情
Compbuild Luminium

价格:0 墨喵币
下载量:0

查看详情
Main Menu Credits

价格:0 墨喵币
下载量:0

查看详情