Paintball Gun in Minecraft

Today I created a paintball gun for Minecraft 1.13 using the new raycasting feature in snapshot 17w50a. How to use the datapack Download Data Pack Download Resource Pack