MCPcopy
hub / github.com/PrismarineJS/mineflayer / toss

Function toss

examples/book.js:42–45  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

40})
41
42function toss () {
43 const [book] = bot.inventory.items().filter(({ name }) => name === 'writable_book')
44 bot.tossStack(book)
45}
46
47async function write () {
48 const [book] = bot.inventory.items().filter(({ name }) => name === 'writable_book')

Callers 1

book.jsFile · 0.70

Calls 1

itemsMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…