Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

archerbot

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

archerbot - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2

7

index.js

@@ -150,3 +150,3 @@ var mineflayer = require('mineflayer')

bot.navigate.to(dest, {
endRadius: 2,
endRadius: 10,
timeout: 2000,

@@ -162,5 +162,6 @@ });

function haveEquipment() {
var haveBow = bot.inventory.count(261) > 0;
var bowItem = bot.inventory.findInventoryItem(261);
if (bowItem) bot.equip(bowItem, 'hand');
var arrowCount = bot.inventory.count(262);
return haveBow && arrowCount >= 30;
return bowItem != null && arrowCount >= 30;
}

@@ -167,0 +168,0 @@

{
"name": "archerbot",
"version": "0.0.1",
"version": "0.0.2",
"description": "mineflayer bot that engages you in a gentlemanly duel",

@@ -5,0 +5,0 @@ "main": "index.js",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc