Recipe - Crafter Craft Event (Event) — SkBee
Addon: SkBee · Category: Event · Since: 3.6.1
Syntax
[on] crafter craftDescription
Called when a Crafter is about to craft an item. Requires Minecraft 1.21.1+ `event-string` = The key for the recipe used in this event. `recipe result` = An expression that reprsents the result slot (can be changed).
Event Values
- event-block
- event-location
- event-string
- event-world
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"