| async function craftIronPickaxe(bot) { | |
| const position = bot.entity.position.offset(1, 0, 0); | |
| await placeItem(bot, "crafting_table", position); | |
| await craftItem(bot, "iron_pickaxe", 1); | |
| bot.chat("Crafted an iron pickaxe."); | |
| } | |
| async function craftIronPickaxe(bot) { | |
| const position = bot.entity.position.offset(1, 0, 0); | |
| await placeItem(bot, "crafting_table", position); | |
| await craftItem(bot, "iron_pickaxe", 1); | |
| bot.chat("Crafted an iron pickaxe."); | |
| } | |