how to make a tool work with swinging at non-living entities

Started by keenan1127 on

Topic category: Help with Minecraft modding (Java Edition)

Active 1 week ago
Joined Jul 2024
Points:
60

User statistics:

  • Modifications: 0
  • Forum topics: 3
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 3
how to make a tool work with swinging at non-living entities

I want to have a tool that if you attack any entity, it does something, but it's only allowing me to do living entities, any work around for this?
I was thinking maybe something with entity swings item, but that would need to detect an entity getting hit by it too