Class BotanicalBreweryRecipe

java.lang.Object
vazkii.botania.common.crafting.BotanicalBreweryRecipe
All Implemented Interfaces:
net.minecraft.world.item.crafting.Recipe<net.minecraft.world.item.crafting.RecipeInput>, BotanicalBreweryRecipe

public class BotanicalBreweryRecipe extends Object implements BotanicalBreweryRecipe
  • Field Details

    • SERIALIZER

      public static final net.minecraft.world.item.crafting.RecipeSerializer<BotanicalBreweryRecipe> SERIALIZER
  • Constructor Details

    • BotanicalBreweryRecipe

      public BotanicalBreweryRecipe(Brew brew, net.minecraft.world.item.crafting.Ingredient... inputs)
    • BotanicalBreweryRecipe

      public BotanicalBreweryRecipe(Brew brew, List<net.minecraft.world.item.crafting.Ingredient> ingredients)
  • Method Details

    • matches

      public boolean matches(net.minecraft.world.item.crafting.RecipeInput inv, net.minecraft.world.level.Level world)
      Specified by:
      matches in interface net.minecraft.world.item.crafting.Recipe<net.minecraft.world.item.crafting.RecipeInput>
    • getIngredients

      public net.minecraft.core.NonNullList<net.minecraft.world.item.crafting.Ingredient> getIngredients()
      Specified by:
      getIngredients in interface net.minecraft.world.item.crafting.Recipe<net.minecraft.world.item.crafting.RecipeInput>
    • getToastSymbol

      public net.minecraft.world.item.ItemStack getToastSymbol()
      Specified by:
      getToastSymbol in interface net.minecraft.world.item.crafting.Recipe<net.minecraft.world.item.crafting.RecipeInput>
    • getSerializer

      public net.minecraft.world.item.crafting.RecipeSerializer<?> getSerializer()
      Specified by:
      getSerializer in interface net.minecraft.world.item.crafting.Recipe<net.minecraft.world.item.crafting.RecipeInput>
    • getBrew

      public Brew getBrew()
      Specified by:
      getBrew in interface BotanicalBreweryRecipe
    • getManaUsage

      public int getManaUsage()
      Specified by:
      getManaUsage in interface BotanicalBreweryRecipe
    • getOutput

      public net.minecraft.world.item.ItemStack getOutput(net.minecraft.world.item.ItemStack stack)
      Specified by:
      getOutput in interface BotanicalBreweryRecipe
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object