176: DP Raycast bouncing off walls [Minecraft 1.21 Datapack]

Subscribers:
3,930
Published on ● Video Link: https://www.youtube.com/watch?v=cjxfAINSyoo



Duration: 0:00
136 views
16


Membership:

Ep176: Bouncing a raycast of multiple blocks.

Credit to Cloud Wolf since I used their tutorial to fix my z problem, and borrow a few other ideas. Check out their video below:
[QP] Bouncing Lazer / Raycast:    • [QP] Bouncing Lazer / Raycast  

00:00 Intro
02:20 Folders and files
02:40 Function load
03:00 Function give
03:15 Advancement right_click_bounce
03:45 Function right_click_bounce
05:10 Function raycast_init
06:05 Function raycast
08:15 Function hit_player
08:25 Function hit_wall
13:25 Function zfix
16:20 I forgot to reload and then we waffle

Version: Java 1.21.4

PlanetMinecraft Pack Download: https://www.planetminecraft.com/data-pack/176-dp-raycast-bouncing-off-walls-minecraft-1-21-datapack-tutorials/

Useful Links:
Episode 001:    • 001: Your first datapack. [Minecraft 1.21 ...  
Misode: https://misode.github.io/
MCStacker: https://mcstacker.net/
VSCode: https://code.visualstudio.com/download
GalSergey Datapack Assembler: https://far.ddns.me/

Commands, builds, hacks and ideas for people making their own Minecraft maps.

Check out my collabs on Coppit's channel:

The Discord server I am usually on: https://discord.gg/amU84KykEu