Skip to content

ToB Recipe Unlock Function

NorthWestTrees edited this page Aug 11, 2024 · 1 revision

πŸ’¬ 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

WIKI

πŸ§ͺ DEVELOPMENT

πŸ“œ DOCUMENTS

🐞 ISSUE TRACKER

πŸ”— MOD PAGES

Clone this wiki locally