How to tell if Player is riding an entity

Started by TheTrueB0B on

Topic category: Help with MCreator software

Active 10 months ago
Joined May 2024
Points:
78

User statistics:

  • Modifications: 0
  • Forum topics: 5
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 3
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?

Active 3 weeks ago
Joined May 2022
Points:
1190

User statistics:

  • Modifications: 14
  • Forum topics: 24
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 1141
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.

Active 10 months ago
Joined May 2024
Points:
78

User statistics:

  • Modifications: 0
  • Forum topics: 5
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 3
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.