Package net.ixdarklord.coolcatcore.mixin
Class PotionBrewingMixin
java.lang.Object
net.ixdarklord.coolcatcore.mixin.PotionBrewingMixin
- All Implemented Interfaces:
PotionBrewingExt
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionList<net.ixdarklord.coolcatcore.api.brewing.IBrewingRecipe> Retrieves recipes that use the more general interface.protected abstract booleanisContainer(net.minecraft.world.item.ItemStack itemStack) booleanisInput(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.voidsetBrewingRegistry(net.ixdarklord.coolcatcore.api.brewing.BrewingRecipeRegistry registry)
-
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:PotionBrewingExtChecks 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:
isInputin interfacePotionBrewingExt
-
getRecipes
Description copied from interface:PotionBrewingExtRetrieves recipes that use the more general interface. This does NOT include the container and potion mixes.- Specified by:
getRecipesin interfacePotionBrewingExt
-
setBrewingRegistry
public void setBrewingRegistry(net.ixdarklord.coolcatcore.api.brewing.BrewingRecipeRegistry registry) - Specified by:
setBrewingRegistryin interfacePotionBrewingExt
-