Everyone loves adding guns to Minecraft, and today I'll show you a full raycasting system which you can use to make your own unique weapons, tools, or any other cool creations. You can customize this to your liking, and add additional commands to build off of the basic raycasting framework. Some ways to add onto this is by adding custom damage systems, vienminer, custom bullet impact sounds, dynamic range, and usage by custom mobs.
SPECIAL THANKS TO ApexHosting! They have amazing servers and great service.
Use this affiliate link to get your own server and to support me as well:
billing.apexminecrafthosting....
Intro - 0:00
General Overview - 1:02
Start Raycast - 1:57
Raycast Function - 2:14
Fix Raycast Targetting - 2:58
Limit Range - 3:59
Actually Casting the Ray - 4:39
Collide Function - 5:58
Cleaning Up in Start Function - 6:41
Outro - 7:57
Download this pack:
drive.google.com/uc?export=do...
The AK in the thumbnail came from Elidhan's Guns datapack, check it out:
www.planetminecraft.com/data-...
Check out my website about data pack making!
tinyurl.com/timberforge
Join our discord for help and inspiration!
/ discord
#datapacks #minecraftmods #minecraftdatapacks
7 июл 2024