altoclef icon indicating copy to clipboard operation
altoclef copied to clipboard

Add more stuff to docs for development

Open 1Euro7Cent opened this issue 3 years ago • 3 comments

I tried to add my own stuff to this, and I'm having some trouble bc of lac of docs. For example is there a way to set a "minimum" required pickaxe bc of when I need one, but I don't want to make my own diamond pickaxe when the player has a netherite one. Another one: I'm requesting the bot to get a stack of torches. I said that the bot is NOT allowed to break torches. Before the calculations finish the bot tries to break every torch that is placed.

1Euro7Cent avatar Dec 02 '21 18:12 1Euro7Cent

The former is a featuer that's not in yet, but I'm curious about the latter. How did you tell the bot to not break torches?

TacoTechnica avatar Dec 08 '21 20:12 TacoTechnica

In https://github.com/gaucho-matrero/altoclef/blob/main/src/main/java/adris/altoclef/tasks/examples/ExampleTask2.java in line 21 you tell the bot to not damage trees. I copied that to not break torches.

1Euro7Cent avatar Dec 09 '21 18:12 1Euro7Cent

It should be easy to get the bot to aquire torches, but to place them is more difficult. Are you still working on this? If we can update the issue, I can sync some time in to this.

JamesGreen31 avatar Mar 30 '22 01:03 JamesGreen31