Versions in this module Expand all Collapse all v1 v1.0.1 Jul 11, 2023 Changes in this version + func AgentAttackRequest(direction mctype.Direction) string + func AgentDestroyRequest(direction mctype.Direction) string + func AgentMoveRequest(direction mctype.Direction) string + func AgentPlaceRequest(direction mctype.Direction) string + func AgentPositionRequest() string + func AgentTillRequest(direction mctype.Direction) string + func AgentTurnRequest(direction mctype.Direction) string + func ChunkDataRequest(dimension string, chunkX, chunkZ int, maxY int) string + func CloseChatRequest() string + func EduClientInfoRequest() string + func EnableEncryptionRequest(publicKey []byte, salt []byte) string + func LocalPlayerNameRequest() string + func ParseChunkData(data string) (colourMap []color.RGBA, heightMap []byte, err error) + func ParticleRequest(particle string, position mctype.Position) string + func QueryTargetRequest(target mctype.Target) string + func SayRequest(message string) string + func SetBlockRequest(position mctype.BlockPosition, block string, tileData byte, ...) string + func TellRawRequest(target mctype.Target, lines ...string) string + func TellRequest(target mctype.Target, message string) string + func TopSolidBlockRequest(x, z, maxY int) string + type AgentAttack AgentInstruction + type AgentDestroy AgentInstruction + type AgentInstruction struct + StatusCode int + StatusMessage string + type AgentMove AgentInstruction + type AgentPlace AgentInstruction + type AgentPosition struct + Position mctype.Position + StatusCode int + StatusMessage string + YRotation float64 + type AgentTill AgentInstruction + type AgentTurn AgentInstruction + type ChunkData struct + Data string + StatusCode int + StatusMessage string + type CloseChat struct + StatusCode int + StatusMessage string + type EduClientInfo struct + ClientUUID string + CompanionProtocolVersion int + IsEdu bool + IsHost bool + Permission int + PlayerSessionUUID string + StatusCode int + type EnableEncryption struct + PublicKey string + StatusCode int + StatusMessage string + type LocalPlayerName struct + LocalPlayerName string + StatusCode int + StatusMessage string + type Particle struct + StatusCode int + type QueryResults queryResults + func (results *QueryResults) UnmarshalJSON(data []byte) error + type QueryTarget struct + Details *QueryResults + StatusCode int + StatusMessage string + type Say struct + Message string + StatusCode int + type SetBlock struct + Position mctype.Position + StatusCode int + StatusMessage string + type Tell struct + StatusCode int + StatusMessage string + type TellRaw struct + Recipients []string + StatusCode int + type TopSolidBlock struct + AuxType int + Block string + Position mctype.BlockPosition + StatusCode int