Recipe - Result Slot (Expression) — SkBee

Addon: SkBee · Category: Expression · Since: 3.6.1

Syntax

recipe result [slot]

Description

Represents the result slot of a crafting event.

Examples

on crafter craft:
	if event-string = "minecraft:diamond_sword":
		set name of recipe result to "Señor Sword"
	else:
		set recipe result to a stick named "&cNice Try"

on preparing craft:
	set {_e} to event-string
	if {_e} = "minecraft:diamond_shovel":
		set name of recipe result to "&cMr Shovel"

View source