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

Function print

examples/book.js:57–60  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

55}
56
57function print () {
58 const [book] = bot.inventory.items().filter(({ name }) => name === 'writable_book')
59 book.nbt.value.pages.value.value.forEach((page, i) => bot.chat(`Page ${i + 1}: ${page.replace(/§[a-z0-9]/g, '')}`))
60}

Callers 14

book.jsFile · 0.85
writeFunction · 0.85
chatterbox.pyFile · 0.85
say_block_underFunction · 0.85
kickedFunction · 0.85
playerJoinedFunction · 0.85
entityAttachFunction · 0.85
entityDetachFunction · 0.85
entityEquipmentChangeFunction · 0.85
entityEffectFunction · 0.85
entityEffectEndFunction · 0.85
basic.pyFile · 0.85

Calls 1

itemsMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…