Class PotionRecipe

java.lang.Object
com.pixelmonmod.pixelmon.api.config.recipes.PotionRecipe
All Implemented Interfaces:
net.minecraftforge.common.brewing.IBrewingRecipe

public class PotionRecipe extends Object implements net.minecraftforge.common.brewing.IBrewingRecipe
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    net.minecraft.world.item.ItemStack
    getOutput(net.minecraft.world.item.ItemStack input, net.minecraft.world.item.ItemStack ingredient)
     
    boolean
    isIngredient(net.minecraft.world.item.ItemStack ingredient)
     
    boolean
    isInput(net.minecraft.world.item.ItemStack input)
     
    static boolean
    isWaterBottle(net.minecraft.world.item.ItemStack stack)
     

    Methods inherited from class java.lang.Object

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

    • PotionRecipe

      public PotionRecipe()
  • Method Details

    • isInput

      public boolean isInput(@Nonnull net.minecraft.world.item.ItemStack input)
      Specified by:
      isInput in interface net.minecraftforge.common.brewing.IBrewingRecipe
    • isIngredient

      public boolean isIngredient(@Nonnull net.minecraft.world.item.ItemStack ingredient)
      Specified by:
      isIngredient in interface net.minecraftforge.common.brewing.IBrewingRecipe
    • getOutput

      @Nonnull public net.minecraft.world.item.ItemStack getOutput(@Nonnull net.minecraft.world.item.ItemStack input, @Nonnull net.minecraft.world.item.ItemStack ingredient)
      Specified by:
      getOutput in interface net.minecraftforge.common.brewing.IBrewingRecipe
    • isWaterBottle

      public static boolean isWaterBottle(net.minecraft.world.item.ItemStack stack)