How do I detect fished entity (fishing rod)

Started by Vexian Empire on

Topic category: Help with modding (Java Edition)

Last seen on 02:06, 4. Mar 2024
Joined May 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How do I detect fished entity (fishing rod)

When a fishing rod catches onto an entity, how do I detect which entity was caught and which entity used the fishing rod (most likely a player used the fishing rod)

And if possible, detecting whether it was a custom fishing rod tool?

Last seen on 02:45, 27. Apr 2024
Joined Feb 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Don't think you can detect…
Fri, 03/08/2024 - 20:07

Don't think you can detect the entity, but you can check what fishing rod the caster has with the "is item in main/off hand" procedure block.