#%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%#
#  This Datapack was generated for private distribution only  #
# ----------------------------------------------------------- #
#                         DATAPACK INFO                       #
# ----------------------------------------------------------- #
#     Author: GenMode                                         #
#     Twitter: @DatapackGen                                   #
#     URL: https://github.com/GenMode/Minecraft/wiki          #
#                                                             #
#%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%#


# Init
tag @s add temp.data_api.user
function data_api:entity/player/summon_raycast

# Function
execute as @n[type=minecraft:marker, tag=temp.data_api.raycast] at @s run function data_api:item/tags/book/raycast

# Close
kill @e[type=marker, tag=temp.data_api.raycast]
tag @s remove temp.data_api.user
