MCPcopy Create free account
hub / github.com/Garten/sourcecraft / readChunk

Method readChunk

src/minecraft/reader/nbt/McaReader.java:33–40  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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(() -> {

Callers 1

readChunkMethod · 0.95

Calls 5

readTagMethod · 0.80
readTitleMethod · 0.80
doCompoundMethod · 0.80
putMethod · 0.45
createMethod · 0.45

Tested by

no test coverage detected