Is Smoking Recipe
The arc:is_smoking_recipe condition type checks if a recipe is specifically for a smoker.
Parameters
This condition type does not have any parameters.
Example
The following example will give the player an extra cooked beef every time they smelt beef in a smoker.
data/my_datapack/arc/extra_beef_from_smoker.json
{
"holder": {
"type": "arc:player",
"id": "arc:player"
},
"type": "arc:on_smelt_item",
"conditions": [
{
"type": "arc:is_smoking_recipe"
},
{
"type": "arc:item",
"item": { "id": "minecraft:cooked_beef" }
}
],
"rewards": [
{
"type": "arc:item",
"item": { "id": "minecraft:cooked_beef" }
}
]
}
Compatible Action Types
🛠️ On Craft Item
The arc:oncraftitem action type is triggered when a player crafts an item.
🔥 On Smelt Item
The arc:onsmeltitem action type is triggered when a player takes an item out of a furnace, smoker, or blast furnace. Just like experience orbs in vanilla Minecraft, this action also counts the items that are taken out with a hopper. As long as the player takes out one of the smelted items, the action will be triggered. The action is called for every item smelted individually, regardless of how many are taken out at once.