Download PotionRecipes Lib — Minecraft Mods — MetaMods

PotionRecipes Lib

Active

Downloads

0

Last update

3 years ago
Client
Libraries
Utils

PotionRecipes Lib

This project is no longer maintained!

This simple library provides developers with a convenient way to create potion brewing recipes. If this is exactly what you need - great, use it. For more complex tasks, consider other APIs such as nbt-crafting.

Essentially, this is just a convenient wrapper-invoker, nothing more, so if you wish, you can create a similar solution yourself.

Installation

Add this library as a dependency to your build.gradle file. Details can be found on the project's GitHub page.

Usage

Simply call the method:

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

input - the source potion, usually Potions.AWKWARD or your custom potion (for example, YourPotions.POTION)

item - the ingredient required to create the potion

output - the resulting potion that will be obtained during the crafting process

An example of usage can be found in my GlowfulWorld mod.

Project members
Emafire003

Emafire003

Created: 6 Jun 2022

ID: 37530