Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

There is no information about BehaviourFindBlock in the API #117

Open
Kreb55 opened this issue Nov 4, 2021 · 2 comments
Open

There is no information about BehaviourFindBlock in the API #117

Kreb55 opened this issue Nov 4, 2021 · 2 comments

Comments

@Kreb55
Copy link

Kreb55 commented Nov 4, 2021

I've read everything in the API but I couldn't find any information about BehaviorFindBlock. How to specify the block to find in targets.positions ? An example should be added to the examples folder for BehaviorFindBlock. You can use the source of your mining demo video. Also I would like to know how to specify the block if possible .

@EnderTheCoder
Copy link

same problem

@sefirosweb
Copy link
Contributor

Seems you need to add in object the number ids of block

const findBlock= new BehaviorFindBlock(bot /* your bot */);
findBlock.blocks = [X,Y,Z]

Anyways seems not usefully, on my bot never i used that function

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants