(CLOSED) How to check when an entity fired a projectile

Started by ImSeyo on

Topic category: Help with modding (Java Edition)

Last seen on 07:50, 29. Apr 2024
Joined Oct 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
(CLOSED) How to check when an entity fired a projectile
Mon, 04/08/2024 - 13:42 (edited)

I need to make a check when the shooter entity fired its projectile

Edited by ImSeyo on Mon, 04/08/2024 - 13:42
Last seen on 07:36, 30. Apr 2024
Joined Oct 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Use the when projectile…
Wed, 01/24/2024 - 19:17

Use the when projectile fired procedure in the custom projectile element.

Last seen on 07:50, 29. Apr 2024
Joined Oct 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
AwesomeCoderDude The thing…
Thu, 01/25/2024 - 12:13

AwesomeCoderDude The thing is, it only works with players. I need to do this check for mobs, since they don't use the item but instead shoot projectiles. That is, the procedures for the ranged item do not work for ranged mobs

Last seen on 07:36, 30. Apr 2024
Joined Oct 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I only works for players? I…
Thu, 01/25/2024 - 20:19

I only works for players? I thought I used it for entities before. If not, on entity update tick, check if it is targeting for an attack.