actually easiest way would probably just be to use a hashmap and use blockpos as a key, and keep blockstate as entry tbh
id like to add, could cache even a 3x3x3 cube around origin position, to optimise this even further
Is the server vanilla ? if it isn't, this might be the issue
actually easiest way would probably just be to use a hashmap and use blockpos as a key, and keep blockstate as entry tbh