Skip to content

API reference Obsidian.API.Crafting

BrewingRecipe class

A brewing stand recipe (minecraft:brewing, 26.3): BrewingRecipe.Reagent in the ingredient slot brews each bottle BrewingRecipe.Input matches into a new BrewingRecipe.Output.

public sealed class BrewingRecipe : IRecipe

In Obsidian.API.

Properties

public string Group { get; init; }public required string Identifier { get; init; }

Input

public required PotionIngredient Input { get; init; }

The bottles the recipe brews.

Output

public required ItemStack Output { get; init; }

What each bottle becomes. Like vanilla's, it's a new stack: nothing of the bottle it replaces carries over.

Reagent

public required PotionIngredient Reagent { get; init; }

What goes in the stand's ingredient slot.

public required CraftingType Type { get; init; }

Methods

Matches(ItemStack, ItemStack)

public bool Matches(ItemStack bottle, ItemStack reagent);

Whether the recipe brews bottle with reagent (vanilla's BrewingRecipe.matches).

On this page