Class PotionBrewingMixin

java.lang.Object
net.ixdarklord.coolcatcore.mixin.PotionBrewingMixin
All Implemented Interfaces:
PotionBrewingExt

public abstract class PotionBrewingMixin extends Object implements PotionBrewingExt
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static class 
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    List<net.ixdarklord.coolcatcore.api.brewing.IBrewingRecipe>
    Retrieves recipes that use the more general interface.
    protected abstract boolean
    isContainer(net.minecraft.world.item.ItemStack itemStack)
     
    boolean
    isInput(net.minecraft.world.item.ItemStack stack)
    Checks if an item stack is a valid input for brewing, for use in the lower 3 slots where water bottles would normally go.
    void
    setBrewingRegistry(net.ixdarklord.coolcatcore.api.brewing.BrewingRecipeRegistry registry)
     

    Methods inherited from class Object

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

    • PotionBrewingMixin

      public PotionBrewingMixin()
  • Method Details

    • isContainer

      protected abstract boolean isContainer(net.minecraft.world.item.ItemStack itemStack)
    • isInput

      public boolean isInput(net.minecraft.world.item.ItemStack stack)
      Description copied from interface: PotionBrewingExt
      Checks if an item stack is a valid input for brewing, for use in the lower 3 slots where water bottles would normally go.
      Specified by:
      isInput in interface PotionBrewingExt
    • getRecipes

      public List<net.ixdarklord.coolcatcore.api.brewing.IBrewingRecipe> getRecipes()
      Description copied from interface: PotionBrewingExt
      Retrieves recipes that use the more general interface. This does NOT include the container and potion mixes.
      Specified by:
      getRecipes in interface PotionBrewingExt
    • setBrewingRegistry

      public void setBrewingRegistry(net.ixdarklord.coolcatcore.api.brewing.BrewingRecipeRegistry registry)
      Specified by:
      setBrewingRegistry in interface PotionBrewingExt