Help with fireball projectile acceleration/speed

Started by Imerial_Ender on

Topic category: Help with modding (Java Edition)

Last seen on 21:46, 7. Feb 2023
Joined Feb 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Help with fireball projectile acceleration/speed

Hello, can someone help me fix an issue I have where if fireball projectiles move out of a certain range or enter water they slow down stop moving.
Procedure:
External Trigger(RightClick)

If Provided [itemstack] = [Item]

      Shoot fireball of type [Small fireball] with acceleration ax [0] az [0] ay [0]

      Deal [3]  damage to [provided itemstack]

      For each slot in [event/target entity] get contents copy as [itemstack iterator]

      do if is [provided itemstack] iterator tagged in item tags as [tag] = true

            do cooldown [itemstack iterator] for [ticks] ticks for [event/target entity]

 

 

Last seen on 15:18, 21. Oct 2023
Joined Oct 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I get this same issue and…
Thu, 06/08/2023 - 15:48

I get this same issue and still havent been able to fix it.

Last seen on 03:17, 20. Apr 2024
Joined Jun 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
For the acceleration. You…
Sat, 02/03/2024 - 11:19

For the acceleration. You could get angle XYZ of the player and multiply it by a amount, lets say *0.6, this will shoot it in the direction you are looking while not being too great of a acceleration, just enough to reach 10 blocks before stopping I think