命令/agent
< 命令
Agent控制命令,仅允许被玩家所连接的WebSocket端执行,玩家无法直接在游戏中执行该命令。
语法
agent <command: AgentDirectionCommand> <direction: AgentDirection>
agent <command: AgentItemCommand> <slotNum: int>
agent <command: AgentCommand>
agent collect <item: Item>
agent collect all
agent drop <slotNum: int> <quantity: int> <direction: AgentDirection>
agent place <slotNum: int> <direction: AgentDirection>
agent setitem <slotNum: int> <item: Item> <count: int> <aux: int>
agent tp [destination: x y z] [y-rot: float]
agent tp <destination: x y z> facing <lookAtPosition: x y z>
agent transfer <slotNum: int> <quantity: int> <dstSlotNum: int>
agent turn <direction: AgentTurnDirection>
参数
<command: AgentDirectionCommand>
包括move|destroy|detect|attack|detectredstone|dropall|inspect|inspectdata|interact|till
<direction: AgentDirection>
包括up|down|forward|back|left|right
<command: AgentItemCommand>
包括getitemcount|getitemspace|getitemdetail
<command: AgentCommand>
包括create|getposition
<direction: AgentTurnDirection>
包括left|right
历史
携带版 | |||||
---|---|---|---|---|---|
1.0.0 | ? | 加入了/agent 。 | |||
教育版 | |||||
? | 加入了/agent 。 |