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

Method writeTail

src/minecraft/map/DefaultSourceMap.java:184–197  ·  view source on GitHub ↗
(ValveWriter w)

Source from the content-addressed store, hash-verified

182 }
183
184 private void writeTail(ValveWriter w) throws IOException {
185 w.open("cameras")
186 .put("activecamera", 0)
187 .open("camera")
188 .put("position", this.cameraPosition.toBracketString())
189 .put("look", this.cameraLook.toBracketString())
190 .close()
191 .close(); // close from header
192 w.open("cordon")
193 .put("mins", "(-1024 -1024 -1024)")
194 .put("maxs", "(1024 1024 1024)")
195 .put("active", 0)
196 .close();
197 }
198
199 @Override
200 public void setPointToGrid(Position position) {

Callers 1

writeMethod · 0.95

Calls 4

toBracketStringMethod · 0.80
closeMethod · 0.45
putMethod · 0.45
openMethod · 0.45

Tested by

no test coverage detected