Help with creation of projectiles?

Started by FloweyWave on

Topic category: Help with MCreator software

Last seen on 18:54, 22. Jul 2022
Joined Jul 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Help with creation of projectiles?

So I would like to create an item that can cast certain abilities if you press specific keys. While the item and key-detection work great, I struggle with projectile-related abilities. For now, I would be totally fine with the basic one, which simply creates a slow-moving projectile unaffected by gravity in the direction the player is pointing that slows and deals damage to the first mob/player it hits - when the player clicks on "R". The "R" detection works, now I just need to make this projectile work. Any advice would be deeply appreciated <3

Last seen on 00:07, 21. Mar 2024
Joined Jan 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Set power to 0.5, then in…
Sat, 07/23/2022 - 04:21

Set power to 0.5, then in the "on projectile tick update" option put the procedure (set no gravity of entity to false) in. change "false" to true, and change "event/target entity" to "immediate source entity". "Immediate source entity" can be found under Minecraft components. This should result in a slow projectile that is not affected by gravity.