Sueta
[A

[API] RecipeBuilder

1.1.0-SNAPSHOT

Create Recipes with a single line of code | Load recipes from config

·Config

This API allows you to very easily create recipes in only 1 line of code.


I enjoy making all of my plugins for free, but I need your help to keep them for free.


Examples
Nametag crafted with 9 sticks (shaped recipe)

new ShapedRecipeBuilder().forResult(new ItemStack(Material.NAME_TAG)).withShape("sss", "sss", "sss").withIngredient('s', Material.STICK).register();

Bedrock crafted with 16 Obsidian (shapeless recipe)

new ShapelessRecipeBuilder(new ItemStack(Material.BEDROCK)).withIngredient(16, Material.OBSIDIAN);


More Features

  • Load recipes from a configuration file (Requires ItemBuilder)
  • Set an ItemStack as the ingredient (also supports item meta) (Requires ItemBuilder)


Maven

<repositories>
    <repository>
        <id>inventive-repo</id>
        <url>https://repo.inventivetalent.org/content/groups/public/</url>
    </repository>
</repositories>
<dependencies>
    <dependency>
        <groupId>org.inventivetalent</groupId>
        <artifactId>recipebuilder</artifactId>
        <version>1.1.0</version>
    </dependency>
</dependencies>


Links

Please leave a rating if you like this resource.
Donations to support me or this resource are also very much appreciated.

Similar projects

Config →