Need help creating procedure that checks for player is specific block

Started by nilek20 on Fri, 09/17/2021 - 15:29

Topic category: Help with modding (Java Edition)

Last seen on 07:00, 23. Sep 2021
Joined Aug 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Need help creating procedure that checks for player is specific block
Fri, 09/17/2021 - 15:29

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 16:59, 18. Oct 2021
Joined Oct 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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