MCPcopy Create free account
hub / github.com/BuildCraft/BuildCraft / readData

Method readData

common/buildcraft/lib/misc/data/Box.java:242–250  ·  view source on GitHub ↗
(PacketBuffer stream)

Source from the content-addressed store, hash-verified

240 }
241
242 public void readData(PacketBuffer stream) {
243 if (stream.readBoolean()) {
244 min = stream.readBlockPos();
245 max = stream.readBlockPos();
246 } else {
247 min = null;
248 max = null;
249 }
250 }
251
252 public void writeData(PacketBuffer stream) {
253 boolean isValid = isInitialized();

Callers 3

readPayloadMethod · 0.45
readPayloadMethod · 0.45
readPayloadMethod · 0.45

Calls 2

readBooleanMethod · 0.80
readBlockPosMethod · 0.45

Tested by

no test coverage detected