diff --git a/index.js b/index.js index 01873a0..4f21e84 100644 --- a/index.js +++ b/index.js @@ -5,6 +5,7 @@ const { stylize } = require('./colors') const randomstring = require('randomstring') const ChatMessage = require('prismarine-chat')('1.20.1') const mc = require('minecraft-protocol') +const mineflayer = require('mineflayer') const moment = require('moment-timezone') const crypto = require('crypto') const nbt = require('prismarine-nbt') @@ -59,6 +60,7 @@ io.on('connection', async (socket) => { randomstring, ChatMessage, mc, + mineflayer, moment, crypto, nbt, diff --git a/package.json b/package.json index 3aa1354..3fcafee 100644 --- a/package.json +++ b/package.json @@ -13,6 +13,7 @@ "@n8n/vm2": "^3.9.25", "axios": "^1.7.7", "minecraft-protocol": "^1.43.1", + "mineflayer": "^4.22.0", "moment": "^2.29.4", "moment-timezone": "^0.5.43", "prismarine-chat": "^1.8.0",