WIP rewrite of NMS pipeline

This commit is contained in:
Jesse Boyd
2019-04-25 20:32:27 +10:00
parent 8808ec89a0
commit 35fd159e79
14 changed files with 268 additions and 4 deletions

View File

@ -257,8 +257,8 @@ public class Settings extends Config {
public static class QUEUE {
@Comment({
"This should equal the number of processors you have",
" - Set this to 1 if you need reliable `/timings`"
})
@Final
public int PARALLEL_THREADS = Math.max(1, Runtime.getRuntime().availableProcessors());
@Create
public static PROGRESS PROGRESS;

View File

@ -78,9 +78,6 @@ public class MCAChunk extends FaweChunk<Void> {
}
public void write(NBTOutputStream nbtOut) throws IOException {
nbtOut.writeNamedTagName("", NBTConstants.TYPE_COMPOUND);
nbtOut.writeLazyCompoundTag("Level", out -> {
out.writeNamedTag("V", (byte) 1);