Communicate with mineflayer & update on_event()

This commit is contained in:
yuymf 2023-09-25 20:11:00 +08:00
parent 1bb2450949
commit 7225b70e25
32 changed files with 3274 additions and 20 deletions

View file

@ -13,6 +13,7 @@ from metagpt.minecraft_team import MinecraftPlayer
async def learn(task="Start", investment: float = 50.0, n_round: int = 3):
mc_player = MinecraftPlayer()
mc_player.set_port(2253) # Modify this to your LAN port
mc_player.hire(
[
CurriculumDesigner(),