1
0
Fork 0
Gen2/datapacks/timber/data/timber/function/settings/toggle/stopsound.mcfunction
2025-08-27 20:49:18 -05:00

7 lines
No EOL
573 B
MCFunction
Executable file

execute if score stopsound timber matches 1.. run scoreboard players set stopsound timber 2
execute unless score stopsound timber matches 1.. run scoreboard players set stopsound timber 1
execute if score stopsound timber matches 2.. run scoreboard players set stopsound timber 0
execute if score stopsound timber matches 1 run playsound minecraft:ui.button.click master @s ~ ~ ~ .2 1.9 .2
execute if score stopsound timber matches 0 run playsound minecraft:ui.button.click master @s ~ ~ ~ .2 1.3 .2
function timber:settings/settings
function timber:settings/end_of_message