{"name":"mineflayer-tool","version":"1.2.0","description":"A tool/weapon selection Mineflayer plugin for automatically selecting the best tool to use for a specific task.","main":"lib/index.js","types":"lib/index.d.ts","scripts":{"prepare":"ts-standard && tsc && require-self","clean":"rm -rf lib","test":"test","fix":"ts-standard --fix"},"repository":{"type":"git","url":"git+https://github.com/TheDudeFromCI/mineflayer-tool.git"},"keywords":["mineflayer","plugin","tool","weapon","utility"],"author":{"name":"TheDudeFromCI"},"license":"MIT","bugs":{"url":"https://github.com/TheDudeFromCI/mineflayer-tool/issues"},"homepage":"https://github.com/TheDudeFromCI/mineflayer-tool#readme","dependencies":{"mineflayer":"^4.0.0","mineflayer-pathfinder":"^2.1.1","prismarine-nbt":"^2.0.0"},"devDependencies":{"@types/node":"^17.0.4","require-self":"^0.2.3","ts-standard":"^11.0.0","typescript":"^4.1.3"},"gitHead":"8d6aa2a2701577fbdcf0eef806670d303a95e88f","_id":"mineflayer-tool@1.2.0","_nodeVersion":"14.0.0","_npmVersion":"6.14.4","dist":{"integrity":"sha512-TRd7JOX4obJnzqzVi+4MLKmbeeCDjp9taerLKM8+AGpWfgtdbAguGmsr3BHu+TdXxOIT05veYecCv77S3KX6PA==","shasum":"a4c27594f7797a4254ee94bbc9ee4620c4253b63","tarball":"http://registry-npm.ywwl.com/mineflayer-tool/download/mineflayer-tool-1.2.0.tgz","fileCount":13,"unpackedSize":28203,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEuTI8LT1AfpLMQsFy5/B1lYlg2jWNZTOca9Iz9GUp88AiBZj+I8yhfltW5u//m8cdKV/7ob5z2ZhCWfq3SfPizKpw=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJie5hMACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmowvw/5ABnaBXsLeKtHUcuveRaWKPkyMzp3ti98tRE4ptMem1rjzLDe\r\no17FtqfmYK0JerIRE2YIuGYS0pZGsJlRtDtVp7MbxArQknvtg7AABbb6CnMV\r\nrfyL87Z0A6ChM/u4fXTdbwFVJE1LZh81EvXE0yMIRTQ7LQntpBh2woRKOYat\r\nqs5w1AaUKgRiUNGmbw5UPq37EjR+4DedxZ56YzwDXSpQow/vRQApYDxCc1qS\r\n9cpxW7Tyg6A/8AJWTa1UrcitHc/6qN35Ki5DrJO73swDlnA26SOxdz1EYsJ9\r\nq9rTN0Q8SS4F1YdRRCUWo75a/XoNlJNe/VCLc4hdsBGTV/UYP2Hd6pA3bETw\r\nTniVP1gr0ZJKAGBEeBHukbZaJ4cRjyZfYppCgtw06dRWcWQAeUSsduXycZMx\r\nKAe1eq/BKX2sD2NcrwqVDO0TlEuapZPBUK2uNr6lEwNuL4Tq3mNl0t84e7XN\r\nXGAFVpC19iupW+ChHMfaS15JMoRqZmsx8sS72Vz/hQOZP+1iOnENsBX4oclA\r\nCFxLc+aZdCyqN0nlYAEAadr5E6LhWqMx7D2JiIPNAQFv08CYqpJ7wjFQiKSq\r\nTtE/g8OhodicA1UK1SHIzfA8ouWYVRCMrBFrORYIjVo9Dsu1j45sTqcFolFf\r\n/fBbLuqCQFYm5QZJ9UNxnQh7gqxlO4s9yhQ=\r\n=bJEr\r\n-----END PGP SIGNATURE-----\r\n","size":7676,"noattachment":false,"key":"/mineflayer-tool/-/mineflayer-tool-1.2.0.tgz"},"_npmUser":{"name":"thedudefromci","email":"thedudefromci@gmail.com"},"directories":{},"maintainers":[{"name":"thedudefromci","email":"thedudefromci@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/mineflayer-tool_1.2.0_1652267083850_0.18498476833002742"},"_hasShrinkwrap":false,"readme":"<h1 align=\"center\">Mineflayer-Tool</h1>\n<p align=\"center\"><i>A tool/weapon selection Mineflayer plugin for automatically selecting the best tool to use for a specific task.</i></p>\n\n<p align=\"center\">\n  <img src=\"https://github.com/TheDudeFromCI/mineflayer-tool/workflows/Build/badge.svg\" />\n  <img src=\"https://img.shields.io/npm/v/mineflayer-tool\" />\n  <img src=\"https://img.shields.io/github/repo-size/TheDudeFromCI/mineflayer-tool\" />\n  <img src=\"https://img.shields.io/npm/dm/mineflayer-tool\" />\n  <img src=\"https://img.shields.io/github/contributors/TheDudeFromCI/mineflayer-tool\" />\n  <img src=\"https://img.shields.io/github/license/TheDudeFromCI/mineflayer-tool\" />\n</p>\n\n---\n\n### Getting Started\n\nThis plugin is built using Node and can be installed using:\n```bash\nnpm install --save mineflayer-tool\n```\n\n### Simple Bot\n\nThe brief description goes here.\n\n```js\nconst mineflayer = require('mineflayer')\nconst toolPlugin = require('mineflayer-tool').plugin\n\nconst bot = mineflayer.createBot({ username: 'MiningTool_Bot' })\nbot.loadPlugin(toolPlugin)\n\nbot.on('spawn', async () => {\n  const blockPos = bot.entity.position.offset(0, -1, 0)\n  const block = bot.blockAt(blockPos)\n\n  await bot.tool.equipForBlock(block, {})\n  await bot.dig(block)\n })\n```\n\n### Documentation\n\n[API](https://github.com/TheDudeFromCI/mineflayer-tool/blob/master/docs/api.md)\n\n[Examples](https://github.com/TheDudeFromCI/mineflayer-tool/tree/master/examples)\n\n### License\n\nThis project uses the [MIT](https://github.com/TheDudeFromCI/mineflayer-tool/blob/master/LICENSE) license.\n\n### Contributions\n\nThis project is accepting PRs and Issues. See something you think can be improved? Go for it! Any and all help is highly appreciated!\n\nFor larger changes, it is recommended to discuss these changes in the issues tab before writing any code. It's also preferred to make many smaller PRs than one large one, where applicable.\n","publish_time":1652267083984,"_cnpm_publish_time":1652267083984,"dist-tags":{"latest":"1.2.0"}}