How can I check if an entity is hit by an thrown trident with an specific enchantment?

Started by Rorobse on

Topic category: Help with modding (Java Edition)

Last seen on 17:00, 29. Jan 2024
Joined Dec 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How can I check if an entity is hit by an thrown trident with an specific enchantment?

Im making a mod in wich I want to check if an entity is hit by a trident that has an specific enchantment.

Can somebody tell me how to do that?