MCPcopy Create free account
hub / github.com/PrismarineJS/node-minecraft-protocol / writeBundle

Method writeBundle

src/client.js:249–253  ·  view source on GitHub ↗
(packets)

Source from the content-addressed store, hash-verified

247 }
248
249 writeBundle (packets) {
250 if (this._hasBundlePacket) this.write('bundle_delimiter', {})
251 for (const [name, params] of packets) this.write(name, params)
252 if (this._hasBundlePacket) this.write('bundle_delimiter', {})
253 }
254
255 writeRaw (buffer) {
256 const stream = this.compressor === null ? this.framer : this.compressor

Callers 1

serverTest.jsFile · 0.80

Calls 1

writeMethod · 0.95

Tested by

no test coverage detected