mineflayer sucks but why not

This commit is contained in:
Chayapak 2024-10-20 12:28:02 +07:00
parent 6df2ef5f0c
commit 2fbdad2b2a
2 changed files with 3 additions and 0 deletions

View file

@ -5,6 +5,7 @@ const { stylize } = require('./colors')
const randomstring = require('randomstring') const randomstring = require('randomstring')
const ChatMessage = require('prismarine-chat')('1.20.1') const ChatMessage = require('prismarine-chat')('1.20.1')
const mc = require('minecraft-protocol') const mc = require('minecraft-protocol')
const mineflayer = require('mineflayer')
const moment = require('moment-timezone') const moment = require('moment-timezone')
const crypto = require('crypto') const crypto = require('crypto')
const nbt = require('prismarine-nbt') const nbt = require('prismarine-nbt')
@ -59,6 +60,7 @@ io.on('connection', async (socket) => {
randomstring, randomstring,
ChatMessage, ChatMessage,
mc, mc,
mineflayer,
moment, moment,
crypto, crypto,
nbt, nbt,

View file

@ -13,6 +13,7 @@
"@n8n/vm2": "^3.9.25", "@n8n/vm2": "^3.9.25",
"axios": "^1.7.7", "axios": "^1.7.7",
"minecraft-protocol": "^1.43.1", "minecraft-protocol": "^1.43.1",
"mineflayer": "^4.22.0",
"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",