How to specify y level
Barbay1 opened this issue · 3 comments
Coreprotect is pretty slow sometimes.
Can we add the parameters
yabove:<#> and
ybelow:<#> and
ybetween:<#>,<#>
to limit how far up or down coreprotect searches/restore/remove?
a. it will speed up the search/repair
b. it will protect builds above while fixing ice highways
c. it will protect ice highways while fixing builds above
I hope this speeds up the search so coreprotect doesn't have to search the entire Minecraft height for each coordinate.
You can already use r:0x0x0
(x/y/z) to restrict a y level. You can also specify a location with c:0,0,0
.
E.g. if you’re at x50/z244, you should be able to do something like this for a radius lookup on lower y levels:
co l c:50,0,244 r:50x10x50
Note that searching through locations is extremely intensive and slows down lookups, rather than speeding them up.
Thank you very much! That will cure me of the habit using r:5 to try to speed up coreprotect.
Instead, I keep getting coreprotect so slow I think it's hung. 😆