How to check if the player is running? in procedure

Started by InfiniteCraft on

Topic category: Help with Minecraft modding (Java Edition)

Joined May 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to check if the player is running? in procedure

 How to check if the player is running? in procedure

You can get player x and z…
Mon, 11/25/2019 - 19:01

You can get player x and z velocity. Combine these two and check if the velocity is larger than a given number to check if player is moving fast enough to be running.

Joined Apr 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Can someone please help me…
Wed, 04/01/2020 - 17:17

Can someone please help me find a procedure that will be able to check if a player is sprinting and when the player stops sprinting it will stop the procedure. Klemen i have tried to find out how to do your suggestion but i cant find it and i dont know if this will stop the action from running if the player stops sprinting.

If you check in player tick…
Wed, 04/01/2020 - 17:57

If you check in player tick for the player's velocity, action will be executed each tick as long as the condition is met.

This is a text compare block…
Wed, 04/01/2020 - 18:14

This is a text compare block, you need to check if one number is greater than another. These are the very basics of the procedure editor, though.

I suggest you check our tutorials collection playlist on our YouTube channel which contains many examples and tutorials that can help you get started with MCreator: https://www.youtube.com/playlist?list=PLAeL-oIFIEngE6jRgFYeFMfuj8WQsO3Ei