| Name | block cooks|smelts item into item |
| Event Lines | <block> cooks|smelts <item> (into <item>) |
| Triggers | when an item is smelted/cooked by a block. |
| Generated Examples | on exposed_copper_trapdoor smelts item into item:
on light_gray_bed cooks reinforced_deepslate: |
| Contexts | <context.location> returns the LocationTag of the block smelting/cooking.
<context.source_item> returns the ItemTag that is being smelted/cooked.
<context.result_item> returns the ItemTag that is the result of the smelting/cooking.
|
| Determine | ItemTag to set the item that is the result of the smelting/cooking. |
| Cancellable | True - This adds <context.cancelled> and determine 'cancelled' or 'cancelled:false' |
| Has Location | True - This adds the switches 'in:<area>', 'location_flagged:<flag>', ... |
| Group | Block |
| Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/events/block/BlockCooksSmeltsItemScriptEvent.java#L13 |