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

Method getMapping

src/minecraft/reader/nbt/McaReader.java:86–93  ·  view source on GitHub ↗
(Queue<String> palette)

Source from the content-addressed store, hash-verified

84 }
85
86 private int[] getMapping(Queue<String> palette) {
87 int[] mapping = new int[palette.size()];
88 for (int i = 0; i < mapping.length; i++) {
89 String name = palette.poll();
90 mapping[i] = Material.get(name);
91 }
92 return mapping;
93 }
94
95}

Callers 1

readPaletteMethod · 0.95

Calls 1

getMethod · 0.95

Tested by

no test coverage detected