How to detect player jump

Started by AnonymousQuest… on

Topic category: Help with Minecraft modding (Java Edition)

Joined Jul 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to detect player jump

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

 

 

Joined Oct 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Use global trigger ⁠⁠⁠⁠⁠⁠…
Thu, 07/20/2023 - 14:23
Use global trigger ⁠⁠⁠⁠⁠⁠⁠entity
Joined Oct 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Use a global trigger `entity…
Thu, 07/20/2023 - 14:25

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. 

Joined Jul 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Sad there's no block for it,…
Thu, 11/14/2024 - 08:58

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.

Joined Nov 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Indeed there is no block for…
Wed, 11/20/2024 - 00:01

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. 

Joined Jul 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I can't because in the…
Thu, 11/21/2024 - 18:50

I can't because in the specific circumstance the block below them wouldn't be air.