-
Notifications
You must be signed in to change notification settings - Fork 25
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
How to control an agent? #8
Comments
This page may be useful: https://education.minecraft.net/wp-content/uploads/Code_Connection_API.pdf. It has an |
Thanks. I've read that document.
I am experimenting with the standard (non-education) edition of Minecraft. But the education edition option is enabled. |
I don't think there is any way to give the agent items without actually dropping it to it, but I'm not entirely sure. |
Thanks. Looks like the agent can build something without having blocks in its inventory. The following JS code works in Education Edition -
The question is how to perform the first command? |
I create an agent with the
NewAgent
command. It is created at the user's position.tp @c
doesn't work (looks like@c
works at Education Edition only). Is there any way to kill and create the agent again?replaceitem
andgive
, but again it doesn't accept neither@c
norplayer.Agent
. I was thinking about using theagent collect
command (it works!), but I see no way to drop blocks near the agent.The text was updated successfully, but these errors were encountered: