minerllabs / minerl

MineRL Competition for Sample Efficient Reinforcement Learning - Python Package
http://minerl.io/docs/
Other
711 stars 153 forks source link

How to get a chat message back from the server? #714

Open wanghan8866 opened 1 year ago

wanghan8866 commented 1 year ago

After sending the Minecraft command for MineRL@v0.4.4, is there a way to get the chat message following that command from the server?

I want to use the command like /testforblock 0 0 0 dirt to query the Minecraft environment to get info about what block is at a specific location. So, is there another way to get this information other than the command?

Thank you in advance!

Miffyli commented 1 year ago

Hmm I do not think this is supported in MineRL v0.4.4, and there does not seem to be easy way to get it done on a quick glimpse. You might want to take a look at MineDojo, which essentially is more refined version of MineRL with additional features like information about nearby blocks :)