#Loading chunks and reading data!
1 messages · Page 1 of 1 (latest)
- #1212018757791252540
- I'm very sure that also here hacks aren't allowed
This isn't for hacking purposes thooo
But if its considered like a hack then I am sorry and yall dont have to answer to this
common thing for stuff like this is to go through every chunk in the radius individually, then look through that chunk
just so you're not having to 'get' the chunk every getBlockState
also if it's specifically chests you can look at every block entity in the chunk instead and see if it's a chest in range, much faster than every block
barrels are but chests aren't apparently
it's crusty old code but this is how I used to do it https://github.com/JackFred2/WhereIsIt/blob/legacy/src%2Fmain%2Fjava%2Fred%2Fjackf%2Fwhereisit%2FSearcher.java#L35-L51
Thanks!