Started by
AnonymousQuest…
on
Topic category: Help with Minecraft modding (Java Edition)
Hello, i would like to know how to make a procedure that detects player jumps. For example, i wanna make a procedure wit the following:
If [player jumps]
do
[do something]
thanks in advance
Use a global trigger `entity jumps` and before doing anything check if provided entity is a player with block `is (sub) type of <Entity type>`
Ps. Dunno why whole message wasn't sent.
Sad there's no block for it, I want a procedure with a different trigger to do something if the player is not jumping nor sneaking. I really need to detect if the player is jumping or not.
Indeed there is no block for it, but if you wanted to you could just use the "is air at" Block and make it check the Y value for a negative value.
I can't because in the specific circumstance the block below them wouldn't be air.