is there any way to detect if player stops riding entity?

Started by XavierHOsinov on

Topic category: Help with Minecraft modding (Java Edition)

Joined Jul 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
is there any way to detect if player stops riding entity?

is there any way to detect if player stops riding entity?

Joined May 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
...Never tried this, but I…
Sun, 07/31/2022 - 13:40

...Never tried this, but I would imagine you could either try to detect when the player pushes the Shift-Key while riding an entity; Or, (and I think this would probably work better), make a procedure that executes every player tick, and checks if the player is riding an entity. (You should be able to find the 'Is riding entity' block in the entity data tab.)