Jump to content

we need few snippets


A lazy Cat

Recommended Posts

Please post your 

 

 

  • Anti ban method
  • Chop methods
  • Nest dection / pick nest up ;)

Anti ban

I don't use it. Fuck it, that's my own risk.

Chop method

A simple interact with a tree

Nest dection

Use onMessage, it you get message about nest on floor or what not. Search ground item for nest pick it up. And keep wood cutting

Link to comment
Share on other sites

Why would you even need people to submit code for this, snippets are supposed to be at least something worth spending the time to make/have a solid function and don't take 5 seconds to create.

 

public void chopTree(String s) {
Entity tree = closestObjectForName(s);
if (tree != null) {
if (tree.isVisible()) {
tree.interact("Chop down");
sleep(random(50000000000, 600000000);

 

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...