# Functions
AgentAttackRequest produces the command used to make an agent attack.
AgentDestroyRequest produces a command used to make an agent destroy a block in a direction.
AgentMoveRequest produces the command used to move the agent of a player in a direction.
AgentPlaceRequest produces the command used to make an agent place the block in slot 0 of its inventory.
AgentPositionRequest produces the command used to get the position of a player's agent.
AgentTillRequest produces a command used to make an agent till a dirt-like block in a direction.
AgentTurnRequest produces the command used to turn an agent.
ChunkDataRequest produces the command used to get a string of chunk data of a certain chunk.
CloseChatRequest produces the command required to close the chat window of a player.
EduClientInfoRequest produces a command that is used to get education edition related information about a connected player.
EnableEncryptionRequest produces the command required to enable encryption using a public key byte slice and salt passed.
LocalPlayerNameRequest produces a command used to get the name of the player connected to a websocket.
ParseChunkData parses a chunk data string from a ChunkData struct.
ParticleRequest produces the command required to spawn a particle using a particle name and position.
QueryTargetRequest produces the command used to query information about a target.
SayRequest produces the command used to broadcast a message to all players in a world.
SetBlockRequest produces the command required to place a block in the world of a player.
TellRawRequest produces a tell raw command string.
TellRequest produces the command required to private message a target.
TopSolidBlockRequest produces the command required to request the top solid block at a location.
# Structs
AgentInstruction is a shared structure for agent commands that instruct the agent to do an action.
AgentPosition is sent by the server to get the position of the agent of a player.
ChunkData is sent by the server to receive a string of chunk data of the highest blocks in a chunk, containing an RGB-24 colour of the blocks and their heights.
CloseChat is sent by the server to force the client to close its chat window.
EduClientInfo is sent by the server to receive education information about the player connected to the websocket server.
EnableEncryption is sent by the server to enable websocket encryption.
LocalPlayerName is sent by the server to find out the player name of the player connected to the websocket.
Particle is sent by the server to spawn a particle in the world.
QueryTarget is sent by the server to find out information about entities in the world, in particular the position related information.
Say is sent by the server to broadcast a message to all players in a world.
SetBlock is sent by the server to set a block at a specific position using a particular placement method.
Tell is sent by the server to send a private message from one player to another.
TellRaw is sent by the server to send a raw message to a player, possibly with additional formatting options.
TopSolidBlock is sent by the server to find the top solid block under a given position.
# Type aliases
AgentAttack is sent by the server to make the agent of a player attack in a direction.
AgentDestroy is sent by the server to make the agent of a player destroy a block in a direction.
AgentMove is sent by the server to move the agent of a player.
AgentPlace is sent by the server to make the agent of a player place a block in a direction.
AgentTill is sent by the server to make the agent of a player till a block in a direction.
AgentTurn is sent by the server to turn the agent of a player.
QueryResults is a slice with details for all targets matching the query.