Initial Release

Minecraft datapack: Rename a carrot on a stick to "Wrench" and right click on blocks to rotate them.
This commit is contained in:
2023-12-16 22:30:44 +00:00
parent 84f946fa32
commit 535dd77da3
74 changed files with 6372 additions and 2 deletions

View 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

View 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

View 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"}}]