ToB Recipe Unlock Function - MCreator-Examples/Tale-of-Biomes GitHub Wiki

💬 OVERVIEW

This function runs every game tick and is used to unlock crafting recipes for the player.

📜 Function

# Unlock recipes if the player has gained 1 point for mining piruff logs.
execute as @a[scores={tobMinedPiruffLog=1}] run recipe give @s tale_of_biomes:basic_tool_table_crafting
# Unlock recipes if the player has gained 1 point for mining piruff wood.
execute as @a[scores={tobMinedPiruffWood=1}] run recipe give @s tale_of_biomes:basic_tool_table_crafting
# Unlock recipes if the player has gained 1 point for mining stone
execute as @a[scores={tobMinedStone=1}] run recipe give @s tale_of_biomes:basic_stone_table_crafting