Partial raycasting system originally by Cloud Wolf:
https://www.youtube.com/c/CloudWolfMinecraft
https://youtu.be/Wa8JAyKQ-wM