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,13 @@
#Setting up the raycasting data.
tag @s add raycast
scoreboard players set #distance raycast 0
#Activating the raycast. This function will call itself until it is done.
execute as @e[tag=raycast] at @s anchored eyes positioned ^ ^ ^ run function wrench:raycast/rayloop
tag @e[tag=raycast] add WrenchResult
tag @e[tag=raycast] add RaycastResult
#Raycasting finished, removing tag from the raycaster.
tag @s remove raycast