Help with fireball projectile acceleration/speed

Started by Imerial_Ender on Sun, 02/05/2023 - 15:51

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:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Help with fireball projectile acceleration/speed
Sun, 02/05/2023 - 15:51

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]