{"_id":"mineflayer-tool","_rev":"898212","name":"mineflayer-tool","description":"A tool/weapon selection Mineflayer plugin for automatically selecting the best tool to use for a specific task.","dist-tags":{"latest":"1.2.0"},"maintainers":[{"name":"thedudefromci","email":"thedudefromci@gmail.com"}],"time":{"modified":"2024-07-21T23:22:14.000Z","created":"2020-10-29T11:30:09.719Z","1.2.0":"2022-05-11T11:04:43.984Z","1.1.0":"2020-10-29T14:24:55.803Z","1.0.2":"2020-10-29T11:30:09.719Z"},"users":{},"author":{"name":"TheDudeFromCI"},"repository":{"type":"git","url":"git+https://github.com/TheDudeFromCI/mineflayer-tool.git"},"versions":{"1.2.0":{"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,"publish_time":1652267083984,"_cnpm_publish_time":1652267083984},"1.1.0":{"name":"mineflayer-tool","version":"1.1.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":"tsc && require-self","clean":"rm -rf lib","test":"test"},"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":"^2.21.0","mineflayer-pathfinder":"^1.0.11","mineflayer-utils":"^0.1.4","prismarine-nbt":"^1.3.0"},"devDependencies":{"@types/node":"14.14.5","require-self":"0.2.3","typescript":"4.0.5"},"licenseText":"MIT License\n\nCopyright (c) 2020 TheDudeFromCI\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"mineflayer-tool@1.1.0","dist":{"shasum":"c5eb8aec3b8ae71bc29753e6091c2291bc7673c2","integrity":"sha512-FqesJwWKI2U/8kZkCRmuncC0jULERg04EWkb+bCNtUimpoSGNq19qrpoHpGa92f3nCoJCfeefclcJCGF7og1ZA==","tarball":"http://registry-npm.ywwl.com/mineflayer-tool/download/mineflayer-tool-1.1.0.tgz","fileCount":11,"unpackedSize":20023,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfmtC4CRA9TVsSAnZWagAAZ5MQAIx5EmAwPPhDJtk2iU2z\nNejcGTo7Mv2qXng+b7RlKdsWeBir4slJpvq2K+U5JN/og8v9FYJ4N+v3PPyD\nWVLNq9ZuxXGsrj9uq1Zxv67r0CKkkj4TSvW/S09qsHjAmGMg+r/naEdZsVA9\nYYWzkiTZ9B9j4KTQ03Z0o33GD9HJfuTjGYYjVWoT6P2Le6pINohd5SO0KGtR\n+wqQIQ+/yW9z33cI6vr00RJhxq+fq/Re9Ozi7yFSZ9/Vw+K8dygj8x5bFee4\nvlmrQPnrPBn7lgRm/eJt3Lwa5swVH9c2nTp6BmCh2bLdRUYgv2wfgXpyuCJY\nYQb9w4bkTXy2FppkdwjhpKacuL0bBPy8GvJnbgXi9I0FHkhPEr/hoMjQJFKu\nXoDZRaKr32IcbWqFM07139WWrgZjGQ/ctW2QXoCcq1ayeBg/u6AVNFwJH5Wt\nLBBGO0QIxAxcwB4gvNsXShS20SOwhq4TceYzF1/GTrG9YnMBd3Czs4yVSoSC\nrPo8K9uHi2lmzWL/srgPgvpTTYGIIn0W8LyFMMg4i+uLXRZCBicbVlPMU/BW\naBPGPAuDKLY4YsJZiAkSCpJ5x7oT+vP3g3gqq2WCPYAHbiAY1pWk2IgX2K7x\neX3ftXXwkzZXcEtpUYEKb+p7AALx+TrjNiCJNubFAcGa07PDQYwEgWvQlIUj\n/gg+\r\n=xmsQ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDt40TFhgfm/g08Fnfij03dHZSCmciwlVqM4TzvIk97WwIhAKVJN6hpb3vSBRsvUlgEn9z5aRPgapBscvi1B0ic7BsO"}],"size":6279,"noattachment":false,"key":"/mineflayer-tool/-/mineflayer-tool-1.1.0.tgz"},"maintainers":[{"name":"thedudefromci","email":"thedudefromci@gmail.com"}],"_npmUser":{"name":"thedudefromci","email":"thedudefromci@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/mineflayer-tool_1.1.0_1603981495588_0.16060936017808802"},"_hasShrinkwrap":false,"publish_time":1603981495803,"_cnpm_publish_time":1603981495803},"1.0.2":{"name":"mineflayer-tool","version":"1.0.2","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":"tsc && require-self","clean":"rm -rf lib","test":"test"},"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":"^2.21.0","prismarine-nbt":"^1.3.0"},"devDependencies":{"@types/node":"14.14.5","require-self":"0.2.3","typescript":"4.0.5"},"licenseText":"MIT License\n\nCopyright (c) 2020 TheDudeFromCI\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"mineflayer-tool@1.0.2","dist":{"shasum":"ac62343260addd67480657c74a529a65debcf142","integrity":"sha512-MbaMwkpgQYItIjIhTqyrB6TQdhjDWp+B+eZuatzuBTrwSmXoqm0FtSYmMKFbN8K+JWbBnP5XWnjaQrG/q53jNg==","tarball":"http://registry-npm.ywwl.com/mineflayer-tool/download/mineflayer-tool-1.0.2.tgz","fileCount":9,"unpackedSize":9120,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfmqfCCRA9TVsSAnZWagAA+fwP+gNPlzD6JXR2oCKxE0E8\nBMWcItYi2ur6/GWPUwaxkIioj41inBNl5VQtiRg+3BN7je1Z6yPXvIFWAwY6\nrM5Dq0bfBQ3/Ig9yfZ061+8AAg2UAoa0z90UG93SJmtulNlUP01J8A2Yn4bu\njtukibJXXA9VZYRrXsigmoAgiL+5652wU5zeaiFGfDmtOE/+KQnJK/3ifDEO\nMBwyXtJVYYJDvvdw7xh2eC/fvJpVY1fUcm8pNoH0yingU54HP4K0lvVLiqiU\ntLBRfavof4ebvQczzaS6KZ+4/Ut6CMEmvGkjkBiGmcA53Ut9KcMe0VdKvIE3\ntR9p89gqXuQ3zI1SIzonWXcDGDf5qYqRJQpfg6EBs8/UogEUABtfvgO7Zzat\nhj27t6kBBMQou67Ji4VVE+YnZXagVqvCUrqrXJrj/P21aJ2TyjGcoLc5+uih\n7eMxHZOaJXePrw0tZF4GAFnuGr2SucBIaCKaZst2xzv7UK60TlnaaWYEnbum\nrJn0G0Rz4Mpqf1faQSZeiAMM/n/gqL85mE2zMj5p8cAaGxarh5yIt0O0Nhz2\nHcpyR3bDHNyHtWZq5PnxltSK6/iXzFVqxUM9kPDlDwjkRjzsBSnXYhmgTPEv\nSn4LKMe5m3B0oMXDGZJtwlNIXpcjHtT8ngLQyEMI2TyYynYEPGLUcuAd63aq\n1kU3\r\n=l33M\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFvYJ5f7Q9AhPFLFelYlt7UUMb5EXMa8Xp5SmHgPB7DIAiAtmsK92+k0e/mjMfBckYmiFMh5a11P+c5jzz15pX+aGQ=="}],"size":3705,"noattachment":false,"key":"/mineflayer-tool/-/mineflayer-tool-1.0.2.tgz"},"maintainers":[{"name":"thedudefromci","email":"thedudefromci@gmail.com"}],"_npmUser":{"name":"thedudefromci","email":"thedudefromci@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/mineflayer-tool_1.0.2_1603971009509_0.8090652840372197"},"_hasShrinkwrap":false,"publish_time":1603971009719,"_cnpm_publish_time":1603971009719}},"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","_attachments":{},"homepage":"https://github.com/TheDudeFromCI/mineflayer-tool#readme","bugs":{"url":"https://github.com/TheDudeFromCI/mineflayer-tool/issues"},"license":"MIT"}