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)
IBrewingRecipe
isInput
インタフェース内 IBrewingRecipe
public ItemStack getOutput(ItemStack input, ItemStack ingredient)
IBrewingRecipe
getOutput
インタフェース内 IBrewingRecipe
public Ingredient getInput()
public Ingredient getIngredient()
public ItemStack getOutput()
public boolean isIngredient(ItemStack ingredient)
IBrewingRecipe
isIngredient
インタフェース内 IBrewingRecipe