Class MixRecipe

java.lang.Object
org.cloudburstmc.server.crafting.MixRecipe
All Implemented Interfaces:
org.cloudburstmc.api.crafting.Recipe
Direct Known Subclasses:
BrewingRecipe, ContainerRecipe

public abstract class MixRecipe extends Object implements org.cloudburstmc.api.crafting.Recipe
  • Constructor Summary

    Constructors
    Constructor
    Description
    MixRecipe​(org.cloudburstmc.api.util.Identifier id, org.cloudburstmc.api.item.ItemStack input, org.cloudburstmc.api.item.ItemStack ingredient, org.cloudburstmc.api.item.ItemStack output)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.cloudburstmc.api.util.Identifier
     
    org.cloudburstmc.api.util.Identifier
     
    org.cloudburstmc.api.item.ItemStack
     
    org.cloudburstmc.api.item.ItemStack
     
    org.cloudburstmc.api.item.ItemStack
     
    org.cloudburstmc.api.crafting.RecipeType
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • MixRecipe

      public MixRecipe(org.cloudburstmc.api.util.Identifier id, org.cloudburstmc.api.item.ItemStack input, org.cloudburstmc.api.item.ItemStack ingredient, org.cloudburstmc.api.item.ItemStack output)
  • Method Details

    • getId

      public org.cloudburstmc.api.util.Identifier getId()
      Specified by:
      getId in interface org.cloudburstmc.api.crafting.Recipe
    • getIngredient

      public org.cloudburstmc.api.item.ItemStack getIngredient()
    • getInput

      public org.cloudburstmc.api.item.ItemStack getInput()
    • getResult

      public org.cloudburstmc.api.item.ItemStack getResult()
      Specified by:
      getResult in interface org.cloudburstmc.api.crafting.Recipe
    • getType

      public org.cloudburstmc.api.crafting.RecipeType getType()
      Specified by:
      getType in interface org.cloudburstmc.api.crafting.Recipe
    • getBlock

      public org.cloudburstmc.api.util.Identifier getBlock()
      Specified by:
      getBlock in interface org.cloudburstmc.api.crafting.Recipe