Recipe - Register Brewing Recipe (Section) — SkBee

Addon: SkBee · Category: Section · Since: 3.0.0

Syntax

register [a] [new] (brewing recipe|potion mix)

Description

This section allows you to register a brewing recipe, define the ingredient and input. Requires a PaperMC server. **Entries**: - `id` = The ID of this recipe. - `result` = The resulting output ItemStack of this recipe (What the 3 bottle slots turn into). - `ingredient` = Represents the ItemStack put in the top of the brewer (Accepts an ItemStack or RecipeChoice). - `input` = Represents the ItemStack put in the 3 bottle slots (Accepts an ItemStack or RecipeChoice).

Examples

on load:
	register brewing recipe:
		id: "custom:brew_glow_diamond"
		result: diamond of unbreaking with all item flags
		ingredient: glowstone dust
		input: potato
		
	register brewing recipe:
		id: "custom:yummy_soup"
		result: mushroom stew named "&bYummy Soup"
		ingredient: glowstone dust
		input: water bottle

View source