prismarine-nbt
This commit is contained in:
parent
a3814e6de0
commit
502fa0d2c6
2 changed files with 4 additions and 1 deletions
4
index.js
4
index.js
|
@ -7,6 +7,7 @@ const ChatMessage = require('prismarine-chat')('1.20.1')
|
||||||
const mc = require('minecraft-protocol')
|
const mc = require('minecraft-protocol')
|
||||||
const moment = require('moment-timezone')
|
const moment = require('moment-timezone')
|
||||||
const crypto = require('crypto')
|
const crypto = require('crypto')
|
||||||
|
const nbt = require('prismarine-nbt')
|
||||||
|
|
||||||
const BRIDGE_PREFIX = 'function:'
|
const BRIDGE_PREFIX = 'function:'
|
||||||
|
|
||||||
|
@ -56,7 +57,8 @@ io.on('connection', (socket) => {
|
||||||
ChatMessage,
|
ChatMessage,
|
||||||
mc,
|
mc,
|
||||||
moment,
|
moment,
|
||||||
crypto
|
crypto,
|
||||||
|
nbt
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
|
@ -14,6 +14,7 @@
|
||||||
"moment": "^2.29.4",
|
"moment": "^2.29.4",
|
||||||
"moment-timezone": "^0.5.43",
|
"moment-timezone": "^0.5.43",
|
||||||
"prismarine-chat": "^1.8.0",
|
"prismarine-chat": "^1.8.0",
|
||||||
|
"prismarine-nbt": "^2.2.1",
|
||||||
"randomstring": "^1.3.0",
|
"randomstring": "^1.3.0",
|
||||||
"socket.io": "^4.7.1",
|
"socket.io": "^4.7.1",
|
||||||
"vm2": "^3.9.19"
|
"vm2": "^3.9.19"
|
||||||
|
|
Loading…
Reference in a new issue