Detect player jump

Started by Cubix_Gamer on

Topic category: Help with Minecraft modding (Java Edition)

Joined Dec 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Detect player jump

English (Translated with Google Translate)
Hello,
I would like to do an elevator. But for it to work I would like to know if a player jumps but I don't know how to detect if a player jumps. IF you can help me it would be nice.
Thank you in advance for your help.

In French : https://pastebin.com/KkkGE66D

Joined Sep 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
English: You could detect y…
Thu, 07/02/2020 - 17:20

English: You could detect y-movement (possible in MCreator), or detect the jump client-side and send a packet (not possible in MCreator)

 

Francais : Vous pouvez detecter y-movement (possible dans MCreator), ou detecter le cote client de saut et envoyer un paquet (pas possible dans MCreator)

Joined Aug 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I'd say check if y velocity…
Thu, 07/02/2020 - 21:59

I'd say check if y velocity is greater than 0 or something slightly below zero since gravity sets your velocity below zero at all times.

Joined Dec 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Is it already implemented?
Sat, 07/04/2020 - 08:23

Is it already implemented?