How to count the amount of wheat
I would like to make some student learning games in MEE. Students make their Agent harvest wheat by programming, and if Agent get more than 10 wheat, I want to indicate "GAME CLEAR".
I tried to use /scoreboard command to count the amount of wheat but it didn't work. BE has "hasitem" selector but MEE doesn't seem to have one yet.
Is there anyway to count the amount of wheat?
cheers,
-
Hello, Takahiro Hagihara - it sounds like you have some intriguing plans!
agent,get_item_count(slot) and other commands for the agent are listed for Python Azure Notebooks here:
http://tech.grandmadeb.com/index.php/2022/06/20/where-are-all-of-the-minecraft-coding-manuals/
and click on the list of commands for the agent. =]
If you don't know what item is in the slot, you can find that out also.
0
Please sign in to leave a comment.
Comments
1 comment