minecraft-packets
v1.8.0
Published
An easy way to query PrismarineJS/minecraft-packets
Downloads
3,525
Readme
node-minecraft-packets
Minecraft packets in a github repo.
Usage
const packets = require('minecraft-packets')
console.log(packets.pc['1.16']['from-server'].difficulty[0])
// output:
// [
// {
// json: { difficulty: 2, difficultyLocked: false },
// raw: <Buffer 0d 02 00>
// }
// ]