how to raycast
-
Unbelievable Minecraft Raycasting with Quillbee!
X
Video Information Raycasting is a technique that data packs can use to trace a line through the world and see if it hits any blocks or mobs for example my god mode data pack uses raycasts to fire spells and the data pack where it takes two players to mine every block uses them to detect which Block the players are looking at this is a feature that game engines typically offer out of the box but in Minecraft we have to get a little creative typically arraycast works by spawning an invisible entity at the player’s position and moving… Read More