Skip to content

Latest commit

 

History

History
12 lines (10 loc) · 338 Bytes

README.md

File metadata and controls

12 lines (10 loc) · 338 Bytes

mineflayer-snippets

A collection of snippets for Mineflayer

How do I

Use a trapdoor

let trapdoor = bot.registry.blocksByName['oak_trapdoor'].id
let block = bot.findBlock({ trapdoor })
if(!block) return console.log('There is no trapdoor to use!')
bot.activateBlock(block)