Data Packs Other

Launch Anything Module | 1.18

  • 2.4k views 0 today
  • save_alt 170 downloads
Compatibility
Minecraft 1.18
Changes include
  • Functions
Added Creditinfo
  • 6
  • 2
  • 2
Spuduking
Lvl 34Artisan Procrastinator
18
Launch any entity at any velocity! Here are some important features:
  • Easy to customize: just copy the template file, change some numbers and the entity!
  • Always shoots from the eyes, and works with any projectile or mob!

How do I use this?
  • Copy the template function sentry:shoot_arrow_1

  • In the copy, change the numbers in the following commands:
  • execute store result storage sentry:sentry rx double 0.000005 run scoreboard players get @s math_out
  • execute store result storage sentry:sentry rz double 0.000005 run scoreboard players get @s math_out
  • execute store result storage sentry:sentry ry double 0.005 run scoreboard players get @s math_out

  • Modify the entity in the last three commands as desired; be sure that entity has the tag 'init' and that you change the target selectors to include the new entity type.

  • Save the copy, and presto! You can now shoot your new projectile by executing the function!


Feel free to give me feedback, bug reports and/or suggestions! Thanks!

More like this

  Have something to say?

Ezekielman
05/02/2024 3:03 pm
He/Him • Level 1 : New Explorer
I was wondering, how do you change the speed of the projectiles? I tried a bunch of things, but I couldn't figure it out.
1
Spuduking
05/05/2024 9:51 pm
Level 34 : Artisan Procrastinator
just increase the numbers.
Example:
  • execute store result storage sentry:sentry rx double 0.0000075 run scoreboard players get @s math_out
  • execute store result storage sentry:sentry rz double 0.0000075 run scoreboard players get @s math_out
  • execute store result storage sentry:sentry ry double 0.0075 run scoreboard players get @s math_out

The first two numbers cannot be above about 0.00001, and the third number can't be above around 0.01. You shouldn't need them to be any higher in any case, it's very fast!

Let me know if you have any more questions.

Hope this helps!
1

Welcome