tick20.mcfunction 1.7 KB

123456789101112131415161718192021
  1. function lib:sounds/error
  2. scoreboard players add $parkour_block mem 1
  3. execute if score $parkour_block mem matches 1 run setblock 1009 9 1036 air destroy
  4. execute if score $parkour_block mem matches 1 run setblock 1013 10 1032 air destroy
  5. execute if score $parkour_block mem matches 1 run setblock 1010 11 1033 air destroy
  6. execute if score $parkour_block mem matches 1 run setblock 1010 13 1030 air destroy
  7. execute if score $parkour_block mem matches 1 run setblock 1012 8 1035 minecraft:crimson_hyphae
  8. execute if score $parkour_block mem matches 1 run setblock 1009 10 1036 minecraft:crimson_hyphae
  9. execute if score $parkour_block mem matches 1 run setblock 1010 10 1033 minecraft:crimson_hyphae
  10. execute if score $parkour_block mem matches 1 run setblock 1013 9 1032 minecraft:crimson_hyphae
  11. execute if score $parkour_block mem matches 1 run setblock 1010 12 1030 minecraft:crimson_hyphae
  12. execute if score $parkour_block mem matches 2.. run scoreboard players set $parkour_block mem 0
  13. execute if score $parkour_block mem matches 0 run setblock 1012 8 1035 air destroy
  14. execute if score $parkour_block mem matches 0 run setblock 1009 10 1036 air destroy
  15. execute if score $parkour_block mem matches 0 run setblock 1010 10 1033 air destroy
  16. execute if score $parkour_block mem matches 0 run setblock 1013 9 1032 air destroy
  17. execute if score $parkour_block mem matches 0 run setblock 1010 12 1030 air destroy
  18. execute if score $parkour_block mem matches 0 run setblock 1009 9 1036 minecraft:warped_hyphae
  19. execute if score $parkour_block mem matches 0 run setblock 1013 10 1032 minecraft:warped_hyphae
  20. execute if score $parkour_block mem matches 0 run setblock 1010 11 1033 minecraft:warped_hyphae
  21. execute if score $parkour_block mem matches 0 run setblock 1010 13 1030 minecraft:warped_hyphae