Triggers trigger/craft_item

Craft Item Trigger

Fires when a player crafts an item in a crafting table or their inventory.

Note: Cancel with Event Cancel to prevent the player from picking up the crafted item.

Outputs

NameTypeDescription
exec exec Fires when a player crafts an item.
player player The player who crafted.
result string Material name of the crafted item.
amount number Amount crafted in this action.

Properties

KeyTypeDefaultDescription
resultMaterial string "" Only fire when this material is crafted. Leave blank for any.