訂閱遊戲事件
mc_events_subscribeSubscribe to game events like chat, block placement, and movement, storing them in a ring buffer for later retrieval so AI can perceive player actions.
Instructions
開始接收某類遊戲事件(例如 PlayerMessage 聊天、BlockPlaced 放置方塊、PlayerTravelled 移動)。事件會存進環形緩衝,之後用 mc_events_poll 取出。這是讓 AI「感知」玩家在做什麼的方式。重新連線後會自動重新訂閱。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| eventName | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| verified | Yes | ||
| eventName | Yes | ||
| subscribedEvents | Yes |