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