Add chunkstatus and chunkversion shaders (for problem determination)

This commit is contained in:
Mike Primm 2021-12-19 21:02:35 -06:00
parent 322a3dd03b
commit 24d78e5f78
14 changed files with 537 additions and 117 deletions

View file

@ -558,16 +558,6 @@ public class FabricMapChunkCache extends MapChunkCache {
return (((chunkindex * worldheight) + y) << 8) | (bx << 4) | bz;
}
@Override
public final boolean isEmptySection() {
try {
return !isSectionNotEmpty[chunkindex][y >> 4];
} catch (Exception x) {
initSectionData(chunkindex);
return !isSectionNotEmpty[chunkindex][y >> 4];
}
}
@Override
public RenderPatchFactory getPatchFactory() {
return HDBlockModels.getPatchDefinitionFactory();