Need help creating procedure that checks for player is specific block

Started by nilek20 on

Topic category: Help with modding (Java Edition)

Last seen on 15:23, 11. Feb 2024
Joined Aug 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Need help creating procedure that checks for player is specific block

i am trying to make a procedure that checks for if a player is sneaking on top of a block for a set amount of time. once the player has been sneaking at this location for the time only then will the procedure output. i will add that this procedure will be attached to the block in question through whatever trigger is needed.

Last seen on 04:28, 26. Jan 2024
Joined Oct 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
you can make a procedure on…
Sat, 09/18/2021 - 01:28

you can make a procedure on trigger Player steps on block 

If event target entity is sneaking

and then use Number NBT Tags for the time