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

Method writeData

src_old_license/buildcraft/core/LaserData.java:79–85  ·  view source on GitHub ↗
(ByteBuf stream)

Source from the content-addressed store, hash-verified

77 }
78
79 @Override
80 public void writeData(ByteBuf stream) {
81 NetworkUtils.writeVec3d(stream, head);
82 NetworkUtils.writeVec3d(stream, tail);
83 int flags = (isVisible ? 1 : 0) | (isGlowing ? 2 : 0);
84 stream.writeByte(flags);
85 }
86}

Callers

nothing calls this directly

Calls 2

writeVec3dMethod · 0.95
writeByteMethod · 0.45

Tested by

no test coverage detected