Started by
Cubix_Gamer
on
Topic category: Help with Minecraft modding (Java Edition)
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
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)
English (Translated with Google Translate) :
What is the block called ?
In french : https://pastebin.com/5TYrJUZM
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.
2020.4:
Thanks BlueAwesomeDinosaur and Klemen.
Is it already implemented?