Class NeoForgeBrewingRecipe

java.lang.Object
net.neoforged.neoforge.common.brewing.BrewingRecipe
net.ixdarklord.coolcatcore.api.brewing.neoforge.NeoForgeBrewingRecipe
All Implemented Interfaces:
net.neoforged.neoforge.common.brewing.IBrewingRecipe

@Internal public class NeoForgeBrewingRecipe extends net.neoforged.neoforge.common.brewing.BrewingRecipe
  • Constructor Summary

    Constructors
    Constructor
    Description
    NeoForgeBrewingRecipe(net.ixdarklord.coolcatcore.api.brewing.IBrewingRecipe recipe)
     
  • Method Summary

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

    Methods inherited from class net.neoforged.neoforge.common.brewing.BrewingRecipe

    getIngredient, getInput, getOutput

    Methods inherited from class Object

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

    • NeoForgeBrewingRecipe

      public NeoForgeBrewingRecipe(net.ixdarklord.coolcatcore.api.brewing.IBrewingRecipe recipe)
  • Method Details

    • isInput

      public boolean isInput(@NotNull @NotNull net.minecraft.world.item.ItemStack input)
      Specified by:
      isInput in interface net.neoforged.neoforge.common.brewing.IBrewingRecipe
      Overrides:
      isInput in class net.neoforged.neoforge.common.brewing.BrewingRecipe
    • isIngredient

      public boolean isIngredient(@NotNull @NotNull net.minecraft.world.item.ItemStack ingredient)
      Specified by:
      isIngredient in interface net.neoforged.neoforge.common.brewing.IBrewingRecipe
      Overrides:
      isIngredient in class net.neoforged.neoforge.common.brewing.BrewingRecipe
    • getOutput

      @NotNull public @NotNull net.minecraft.world.item.ItemStack getOutput(@NotNull @NotNull net.minecraft.world.item.ItemStack input, @NotNull @NotNull net.minecraft.world.item.ItemStack ingredient)
      Specified by:
      getOutput in interface net.neoforged.neoforge.common.brewing.IBrewingRecipe
      Overrides:
      getOutput in class net.neoforged.neoforge.common.brewing.BrewingRecipe