PotionRecipes Lib
No reviews yet
Super duper easy potion crafting api for developers
Community voices
Reviews
Click once to include, again to exclude, again to clear
No reviews yet. Be the first to review this project!
Get it on
Available Platforms
Compatibility
Supported Environments
About
Project Details
For authors
Embed Badge
If you're the author of this project, you can embed a live badge anywhere that supports HTML or Markdown. It updates automatically whenever ratings change.
Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.
Identifiers
Platform IDs
About
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 mod.
License
This API is available under the CC0 license. Feel free to learn from it and incorporate it in your own projects.
Potion Recipes API
Note: Archived, since in newer version of FAPI this is already a thing 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
repositories {
maven {
name = "Modrinth"
url = "https://api.modrinth.com/maven"
content {
includeGroup "maven.modrinth"
}
}
}
dependencies {
modImplementation "maven.modrinth:potionrecipes:<version>"
}
If you want you can include the API in your jar file by adding only the include string:
repositories {
maven {
name = "Modrinth"
url = "https://api.modrinth.com/maven"
content {
includeGroup "maven.modrinth"
}
}
}
dependencies {
modImplementation "maven.modrinth:potionrecipes:<version>"
include "maven.modrinth:potionrecipes:<version>"
}
How to use it
Simply call
BrewingRecipeRegister.registerPotionRecipe(Potion input, Item item, Potion output);
@param input The potion you want to start from, usually Potions.AWKWARD or your custom potion (which is going to be YourPotions.POTION) @param item The ingredient you need for your potion @param output The potion you want to have as a result of the crafting
For an example you can look into my mod.
License
This API is available under the CC0 license. Feel free to learn from it and incorporate it in your own projects.
Screenshots
Gallery
Versions
Files
Relations
Project Relations
More like this
Similar Mods
Suggestions use data such as tags, dependencies, dependents, descriptions, titles, and more to rank how much they overlap with this mod.
On ModDex
Community snapshot
By the numbers
Statistics
Want to reach Minecraft players?
We're looking for a server hosting partner to feature here and other parts of the site. Interested? Send us a message!
Get in touchGet it on
Available Platforms
On ModDex
Community snapshot
By the numbers
