Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support brewing recipes in tags (#2423)
* Support brewing recipes in recipe tags * Move `BrewingRecipe` * Impl on 1.18 * Minor cleanup * Meta fix and cleanup * Meta fix * Better naming * Minor cleanups
- Loading branch information
Showing
6 changed files
with
243 additions
and
69 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 17 additions & 0 deletions
17
plugin/src/main/java/com/denizenscript/denizen/utilities/inventory/BrewingRecipe.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
package com.denizenscript.denizen.utilities.inventory; | ||
|
||
import org.bukkit.inventory.ItemStack; | ||
import org.bukkit.inventory.RecipeChoice; | ||
|
||
public class BrewingRecipe { | ||
|
||
public RecipeChoice input; | ||
public RecipeChoice ingredient; | ||
public ItemStack result; | ||
|
||
public BrewingRecipe(RecipeChoice ingredient, RecipeChoice input, ItemStack result) { | ||
this.ingredient = ingredient; | ||
this.input = input; | ||
this.result = result; | ||
} | ||
} |
Oops, something went wrong.