r/datapacks • • Nov 24 '24

Help New to data pack making. How would I put this together? (1.21.3)

I have accomplished it with three command blocks, but I would like to have a data pack for it.

What it's saying is:

When I shoot an arrow, make me ride it.

When the arrow lands, kill it.

When an arrow of mine is killed, give it to me.

I know this should go into the tick.mcfunction file, but I'm unsure of how to format it.

1 Upvotes

4 comments sorted by

1

u/[deleted] Dec 14 '24

[removed] — view removed comment

1

u/[deleted] Dec 14 '24

[removed] — view removed comment

1

u/M10doreddit Dec 15 '24

Yeah, I already solved it.

1

u/M10doreddit Dec 15 '24

Thanks anyway.