Re-align Files
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
scoreboard players set WrenchRods WrenchConfig 0
|
||||
playsound minecraft:block.note_block.hat master @s ~ ~ ~ 0.1 0.5
|
||||
function wrench:config
|
@@ -0,0 +1,3 @@
|
||||
scoreboard players set WrenchRods WrenchConfig 1
|
||||
playsound minecraft:block.note_block.hat master @s ~ ~ ~ 0.1 2
|
||||
function wrench:config
|
6
Wrench/data/wrench/functions/config/rods/main.mcfunction
Normal file
6
Wrench/data/wrench/functions/config/rods/main.mcfunction
Normal file
@@ -0,0 +1,6 @@
|
||||
#Enabled = 600
|
||||
#Disabled = 601
|
||||
|
||||
execute if score WrenchRods WrenchConfig matches 0 run tellraw @s ["",{"text":"[ ❌ ]","color":"red","clickEvent":{"action":"run_command","value":"/function wrench:config/rods/enable"}},{"text":" End Rods","hoverEvent":{"action":"show_text","value":"Wether End Rods should be flippable"}}]
|
||||
|
||||
execute if score WrenchRods WrenchConfig matches 1 run tellraw @s ["",{"text":"[ ✔ ]","color":"green","clickEvent":{"action":"run_command","value":"/function wrench:config/rods/disable"}},{"text":" End Rods","hoverEvent":{"action":"show_text","value":"Wether End Rods should be flippable"}}]
|
Reference in New Issue
Block a user