Class MixRecipe

java.lang.Object
cn.nukkit.inventory.MixRecipe
All Implemented Interfaces:
Recipe
Direct Known Subclasses:
BrewingRecipe, ContainerRecipe

public abstract class MixRecipe extends Object implements Recipe
  • Constructor Details

    • MixRecipe

      public MixRecipe(Item input, Item ingredient, Item output)
  • Method Details

    • getIngredient

      public Item getIngredient()
    • getInput

      public Item getInput()
    • getResult

      public Item getResult()
      Specified by:
      getResult in interface Recipe
    • toString

      public String toString()
      Overrides:
      toString in class Object