1.3.0 • Published 3 years ago

mineflayer-auto-totem v1.3.0

Weekly downloads
-
License
ISC
Repository
github
Last release
3 years ago

What is this?

Its a plugin for mineflayer that can be used to make your bot automatically equip totems

Installation

npm i mineflayer-auto-totem --save

Usage

const mineflayer = require('mineflayer')
const { autototem } = require('mineflayer-auto-totem')

const bot = mineflayer.createBot({
  host: 'localhost', // minecraft server ip
  username: 'bot1', // minecraft username
})

bot.loadPlugin(autototem)

bot.on("physicsTick", async () => {
    bot.autototem.equip()
})

usagegif