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,8 @@
# Piston
execute if block ~ ~ ~ minecraft:piston[extended=false] run function wrench:rotate/redstone
execute if block ~ ~ ~ minecraft:piston[facing=up] if score py WrenchRaycast matches ..11 run function wrench:rotate/redstone
execute if block ~ ~ ~ minecraft:piston[facing=down] if score py WrenchRaycast matches 4.. run function wrench:rotate/redstone
execute if block ~ ~ ~ minecraft:piston[facing=south] if score pz WrenchRaycast matches ..11 run function wrench:rotate/redstone
execute if block ~ ~ ~ minecraft:piston[facing=north] if score pz WrenchRaycast matches 4.. run function wrench:rotate/redstone
execute if block ~ ~ ~ minecraft:piston[facing=east] if score px WrenchRaycast matches ..11 run function wrench:rotate/redstone
execute if block ~ ~ ~ minecraft:piston[facing=west] if score px WrenchRaycast matches 4.. run function wrench:rotate/redstone