()
| 31 | private static final NamedTag LEVEL = new NamedTag(NbtTag.COMPOUND, "Level"); |
| 32 | |
| 33 | public void readChunk() throws IOException { |
| 34 | if (this.readTag() == NbtTag.COMPOUND) { |
| 35 | this.readTitle(); |
| 36 | this.doCompound(NbtTasks.I.create() |
| 37 | .put(LEVEL, () -> this.doCompound(NbtTasks.I.create() |
| 38 | .put(SECTIONS, this::readSections)))); |
| 39 | } |
| 40 | } |
| 41 | |
| 42 | private void readSections() throws IOException { |
| 43 | this.doListOfCompounds(() -> { |