Skip to content

Instantly share code, notes, and snippets.

@dada513
dada513 / index.js
Last active Mar 26, 2021
mineflayer - drop every item in bot's inventory
View index.js
// JS Standard Code Style
/*
Simple
*/
const items = bot.inventory.items() // get the items
// dropper is a recursive function
const dropper = (i) => {