Recipe - Register Smithing Recipe (Section) — SkBee

Addon: SkBee · Category: Section · Since: 3.0.0

Syntax

register [a] [new] smithing [transform] recipe

Description

This section allows you to register a smithing transform recipe, define the output as well as the template, base and addition items **Entries**: - `id` = The ID for your recipe. - `result` = The resulting ItemStack of this recipe. - `template` = Represents the first slot in the smithing inventory (Accepts an ItemStack or RecipeChoice). - `base` = Represents the second slot in the smithing inventory (Accepts an ItemStack or RecipeChoice). - `addition` = Represents the third slot in the smithing inventory (Optional). - `copynbt` = Represents whether to copy the nbt from the input base item to the output, default = true (Requires PaperMC) (Optional).

Examples

on load:
	register smithing transform recipe:
		id: "test:smithing"
		result: emerald of unbreaking named "&cFire Stone" with all item flags
		template: paper named "&cFire Paper"
		base: diamond
		addition: blaze powder

View source