clientcommands
clientcommands copied to clipboard
Add --keep-searching option to /cfindblock
For example, /cfindblock spawner --i 20 would run the command every 20 seconds. Not sure how many commands this could be realistically applied to
Why not run it every tick?
I find that cfindblock can cause really big lagspikes when unable to find any nearby so running it every tick wouldn't be so great
Also just realised the scripting feature can do exactly this so maybe this can be used for shorter activities that don't need a whole script?
We could have --i 20 be every 20 ticks...
Why not cinterval <time> <command>, where <time> is a minecraft:time?
We probably want to exclude any already found blocks
We could also just... ya know... optimize cfindblock --keep-searching so it doesnt lag the game out
That sounds like a pretty fringe usecase that you can already do with /cscript
Changing this to a --keep-searching option, which seems to better reflect the problem you actually want to solve.