How to tell if Player is riding an entity

Started by TheTrueB0B on

Topic category: Help with MCreator software

Last seen on 03:54, 11. Jun 2024
Joined May 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to tell if Player is riding an entity

I need help to tell if my target entity is riding any mob. I don't want to know what the mob is, just if the target is riding it. Is there a way to determine that?

Last seen on 18:01, 13. Jun 2024
Joined May 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Yep, there's a logic…
Mon, 06/03/2024 - 15:25

Yep, there's a logic function in the 'entity data' tab that checks if the entity is riding something. If you want the entity they're riding, there's a function for that too.

Last seen on 03:54, 11. Jun 2024
Joined May 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I can't seem to be able to…
Mon, 06/03/2024 - 18:50

I can't seem to be able to find that logic function. All I found was 'is target entity being ridden' which I'm pretty sure is seeing if the target entity has another entity riding it, not the other way around. If I'm wrong please or if I just completely overlooked the function, please correct me.