Improved speed of /LocalRegionChunkCuboidBlockMaterialBufferWrapper by caching the last buffer read
NPE check
Flat material -> submaterial array