Uploaded August 2019 | Updated September 2026, 2 weeks ago
In this video I showcase an updated projectile firing utility that can display what entity fired the projectile, also sorry about the delayed game audio, I am still getting everything in working order
to use you need a jukebox at 0 0 0 with an item in it and to have the chunk at 0 0 be forceloaded
the function:
# summoning entities
execute positioned 0.0 0.0 0.0 run summon minecraft:area_effect_cloud ^ ^ ^2 {Tags:["arrow_motion"]}
execute anchored eyes run summon minecraft:arrow ^ ^ ^0.1 {Tags:["arrow_new"],Color:-1}
# writing uuid data
data modify block 0 0 0 RecordItem.tag.uuid.OwnerUUIDMost set from entity @s UUIDMost
data modify block 0 0 0 RecordItem.tag.uuid.OwnerUUIDLeast set from entity @s UUIDLeast
# data writing to arrow
data modify entity @e[tag=arrow_new,limit=1] Motion set from entity @e[tag=arrow_motion,limit=1] Pos
data modify entity @e[tag=arrow_new,limit=1] {} merge from block 0 0 0 RecordItem.tag.uuid
# termination
kill @e[tag=arrow_motion,limit=1]
tag @e[tag=arrow_new] remove arrow_new
In this video I showcase an updated projectile firing utility that can display what entity fired the projectile, also sorry about the delayed game audio, I am still getting everything in working order
to use you need a jukebox at 0 0 0 with an item in it and to have the chunk at 0 0 be forceloaded
the function:
# summoning entities
execute positioned 0.0 0.0 0.0 run summon minecraft:area_effect_cloud ^ ^ ^2 {Tags:["arrow_motion"]}
execute anchored eyes run summon minecraft:arrow ^ ^ ^0.1 {Tags:["arrow_new"],Color:-1}
# writing uuid data
data modify block 0 0 0 RecordItem.tag.uuid.OwnerUUIDMost set from entity @s UUIDMost
data modify block 0 0 0 RecordItem.tag.uuid.OwnerUUIDLeast set from entity @s UUIDLeast
# data writing to arrow
data modify entity @e[tag=arrow_new,limit=1] Motion set from entity @e[tag=arrow_motion,limit=1] Pos
data modify entity @e[tag=arrow_new,limit=1] {} merge from block 0 0 0 RecordItem.tag.uuid
# termination
kill @e[tag=arrow_motion,limit=1]
tag @e[tag=arrow_new] remove arrow_new










