promotional bannermobile promotional banner
premium banner
Super duper easy potion crafting api for developers

Description

Potion Recipes API

This project has been archived! This simple API provides a simple way to make brewing recipes. If this is all you need, good use this, if you also need to do something else you may look also at nbt-crafting api or something like that.

This is just a "fancy" invoker, nothing less nothing more, so you could just create your own.

Setup

Include this library into your build.gradle as a dependency. More on the Github page.

How to use it

Simply call

BrewingRecipeRegister.registerPotionRecipe(Potion input, Item item, Potion output);

input The potion you want to start from, usually Potions.AWKWARD or your custom potion (which is going to be YourPotions.POTION)

item The ingredient you need for your potion

output The potion you want to have as a result of the crafting

For an example you can look into my GlowfulWorld mod.

License

This API is available under the CC0 license. Feel free to learn from it and incorporate it in your own projects.

bisecthosting