altoclef
altoclef copied to clipboard
Add more stuff to docs for development
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.
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?
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.
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.