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 Minecraft modding (Java Edition)

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?