package
0.0.0-20240923100104-4c637a37df6b
Repository: https://github.com/tedacmc/tedac.git
Documentation: pkg.go.dev
# Functions
PlayerListRemoveEntry encodes/decodes a PlayerListEntry for removal from the list.
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
ActorPickRequest is sent by the client when it tries to pick an entity, so that it gets a spawn egg which can spawn that entity.
AddActor is sent by the server to the client to spawn an entity to the player.
AddItemActor is sent by the server to the client to make an item entity show up.
AddPlayer is sent by the server to the client to make a player entity show up client-side.
AvailableCommands is sent by the server to send a list of all commands that the player is able to use on the server.
CommandRequest is sent by the client to request the execution of a server-side command.
ContainerClose is sent by the server to close a container the player currently has opened, which was opened using the ContainerOpen packet, or by the client to tell the server it closed a particular container, such as the crafting grid.
Disconnect may be sent by the server to disconnect the client using an optional message to send as the disconnect screen.
GameRulesChanged is sent by the server to the client to update client-side game rules, such as game rules like the 'showCoordinates' game rule.
InventoryContent is sent by the server to update the full content of a particular inventory.
InventorySlot is sent by the server to update a single slot in one of the inventory windows that the client currently has opened.
InventoryTransaction is a packet sent by the client.
LevelChunk is sent by the server to provide the client with a chunk of a world data (16xYx16 blocks).
MobArmourEquipment is sent by the server to the client to update the armour an entity is wearing.
MobEquipment is sent by the client to the server and the server to the client to make the other side aware of the new item that an entity is holding.
ModalFormResponse is sent by the client in response to a ModalFormRequest, after the player has submitted the form sent.
MovePlayer is sent by players to send their movement to the server, and by the server to update the movement of player entities to other players.
NetworkChunkPublisherUpdate is sent by the server to change the point around which chunks are and remain loaded.
PlayerAction is sent by the client when it executes any action, for example starting to sprint, swim, starting the breaking of a block, dropping an item, etc.
PlayerList is sent by the server to update the client-side player list in the in-game menu screen.
PlayerListEntry is an entry found in the PlayerList packet.
PlayerSkin is sent by the client to the server when it updates its own skin using the in-game skin picker.
RequestChunkRadius is sent by the client to the server to update the server on the chunk view radius that it has set in the settings.
ResourcePackChunkData is sent to the client so that the client can download the resource pack.
ResourcePacksInfo is sent by the server to inform the client on what resource packs the server has.
ResourcePackStack is sent by the server to send the order in which resource packs and behaviour packs should be applied (and downloaded) by the client.
SetActorData is sent by the server to update the entity metadata of an entity.
SetTitle is sent by the server to make a title, subtitle or action bar shown to a player.
StartGame is sent by the server to send information about the world the player will be spawned in.
StopSound is sent by the server to stop a sound playing to the player, such as a playing music disk track or other long-lasting sounds.
Text is sent by the client to the server to send chat messages, and by the server to the client to forward or send messages, which may be chat, popups, tips etc.
Transfer is sent by the server to transfer a player from the current server to another.
UpdateAttributes is sent by the server to update an amount of attributes of any entity in the world.