I'm making a little game for me and my friends to play, but the one part I can't seem to figure out is the question posed in the title. I want to give a player that stands still withering to promote people to keep moving.
1 Answer
Run /setblock to set a unique block under the player. Then after your time limit perform an execute/detect variant which conditionally gives the /effect you need. Be sure to /setblock the unique block back to something else afterward.
Motion
NBT tag like in MCJava, but maybe this can be done with scoreboards. I don't know if they work the same as in MCJava. And even if they do, you need one for running, one for jumping, one for gliding, etc. and check if they all remain 0 at the tick after you've last reset them.dummy
is the only criterion supported in BE, unfortunately.