public class BrewingRecipe extends java.lang.Object implements IBrewingRecipe
| コンストラクタと説明 |
|---|
BrewingRecipe(Ingredient input,
Ingredient ingredient,
ItemStack output) |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
Ingredient |
getIngredient() |
Ingredient |
getInput() |
ItemStack |
getOutput() |
ItemStack |
getOutput(ItemStack input,
ItemStack ingredient)
Returns the output when the passed input is brewed with the passed
ingredient.
|
boolean |
isIngredient(ItemStack ingredient)
Returns true if the passed ItemStack is an ingredient for this recipe.
|
boolean |
isInput(ItemStack stack)
Returns true is the passed ItemStack is an input for this recipe.
|
public BrewingRecipe(Ingredient input, Ingredient ingredient, ItemStack output)
public boolean isInput(@Nonnull
ItemStack stack)
IBrewingRecipeisInput インタフェース内 IBrewingRecipepublic ItemStack getOutput(ItemStack input, ItemStack ingredient)
IBrewingRecipegetOutput インタフェース内 IBrewingRecipepublic Ingredient getInput()
public Ingredient getIngredient()
public ItemStack getOutput()
public boolean isIngredient(ItemStack ingredient)
IBrewingRecipeisIngredient インタフェース内 IBrewingRecipe