mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-18 03:15:07 +00:00
Catalysts can accept any catalyst BlockState.
This constitutes a major, but not breaking, API update. All catalyst methods previously in RecipeManaInfusion have been deprecated.
This commit is contained in:
1 parent
bcecfb9148
commit
fa8c12d6fc
11 files changed
+89
-38
No files matched your search
@@ -473,7 +473,7 @@ public final class BotaniaAPI {
|
||||
*/
|
||||
public static RecipeManaInfusion registerManaAlchemyRecipe(ItemStack output, Object input, int mana) {
|
||||
RecipeManaInfusion recipe = registerManaInfusionRecipe(output, input, mana);
|
||||
recipe.setAlchemy(true);
|
||||
recipe.setCatalyst(RecipeManaInfusion.alchemyState);
|
||||
return recipe;
|
||||
}
|
||||
|
||||
@@ -484,7 +484,7 @@ public final class BotaniaAPI {
|
||||
*/
|
||||
public static RecipeManaInfusion registerManaConjurationRecipe(ItemStack output, Object input, int mana) {
|
||||
RecipeManaInfusion recipe = registerManaInfusionRecipe(output, input, mana);
|
||||
recipe.setConjuration(true);
|
||||
recipe.setCatalyst(RecipeManaInfusion.conjurationState);
|
||||
return recipe;
|
||||
}
|
||||
|
||||
@@ -503,7 +503,7 @@ public final class BotaniaAPI {
|
||||
/**
|
||||
* Registers a Brew Recipe (for the Botanical Brewery).
|
||||
* @param brew The brew in to be set in this recipe.
|
||||
* @inputs The items used in the recipe, no more than 6.
|
||||
* @param inputs The items used in the recipe, no more than 6.
|
||||
*/
|
||||
public static RecipeBrew registerBrewRecipe(Brew brew, Object... inputs) {
|
||||
Preconditions.checkArgument(inputs.length <= 6);
|
||||
|
||||
Reference in new issue
Block a user