Recipe - Register Cooking Recipe (Section) — SkBee

Addon: SkBee · Category: Section · Since: 3.0.0

Syntax

register [a] [new] (furnace|smoking|blasting|campfire) recipe

Description

This section allows you to register any cooking recipe and define special properties. **Entries**: - `id` = The ID for your recipe. This is used for recipe discovery and Minecraft's /recipe command. - `result` = The resulting ItemStack of this recipe. - `input` = The item the recipe requires as an input to output the result (Accepts an ItemStack or RecipeChoice) (Required). - `cooktime` = How long the recipe will take to finish cooking before result is given (Optional). - `experience` = The amount of experience gained when the recipe is finished cooking (Optional) Default cook times are, furnace = 10 seconds, smoking/blasting = 5 seconds and campfire = 30 seconds. - `group` = You can define a group in which all recipes under this are sorted together in the recipe book (Optional). Examples of this in game are beds and wood types. - `category` = Which category in the recipe book this recipe should appear within (Optional 1.19.4+). Valid category types are "food", "blocks", "misc", if no category is defined it defaults to "misc".

Examples

register new furnace recipe:
	id: "sieve:gravel_to_sand"
	result: sand
	input: gravel
	group: "sieve"
	cooktime: 1 minecraft day # 20 minutes
	experience: 6
	category: "blocks"

register new campfire recipe:
	id: "sieve:cobblestone_to_gravel"
	result: gravel
	input: cobblestone
	group: "sieve"
	category: "blocks"

register new smoking recipe:
	id: "chef:beef_jerky"
	result: cooked mutton named "&oBeef&r Jerky"
	input: rotten flesh
	category: "food"

register a new blasting recipe:
	id: "firery_sword"
	result: diamond sword of fire aspect named "Flaming Sword"
	input: diamond sword

View source