Class FabricBrewingRecipes
java.lang.Object
net.ixdarklord.coolcatcore.api.brewing.fabric.FabricBrewingRecipes
The custom brewing recipes on Fabric, next to vanilla's (static)
PotionBrewing
mixes, which the brewing stand checks first. They're registered through RegisterBrewingRecipesEvent, fired
once the game has started (see registerRecipes()); until then there are none.-
Method Summary
Modifier and TypeMethodDescriptionstatic List<net.ixdarklord.coolcatcore.api.brewing.IBrewingRecipe>Retrieves recipes that use the more general interface.static 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.static voidFiresRegisterBrewingRecipesEventand keeps its recipes; only the first call does anything.static net.ixdarklord.coolcatcore.api.brewing.BrewingRecipeRegistryregistry()
-
Method Details
-
getRecipes
Retrieves recipes that use the more general interface. This does NOT include the container and potion mixes. -
isInput
public static 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. -
registry
@Internal public static net.ixdarklord.coolcatcore.api.brewing.BrewingRecipeRegistry registry() -
registerRecipes
@Internal public static void registerRecipes()FiresRegisterBrewingRecipesEventand keeps its recipes; only the first call does anything. Called once the client has started, or as a dedicated server starts, so every mod has registered its listeners.
-