Spawns a dropped item.
Spawns a painting entity in the world.
Spawns a player after adding it to the player's list using PlayerList. If PlayerList is sent after this packet the player will appear to have the same skin as the player who receives this packet. Spawning a player to itself (using the same entity id given in the StartGame packet) will crash the client's game.
Updates the world's settings and client's permissions.
Sends a list of the commands that the player can use through the CommandStep packet.
One ore more packet, each prefixed with their varuint-encoded length, compressed with zlib's deflate algorithm.
Sets a block entity's nbt tag, block's additional data that cannot be indicated in the block's meta. More informations about block entities and their tag format can be found on Minecraft Wiki.
Adds, removes or modifies an entity's boss bar. The percentage of the bar is calculated using the entity's attributes for the health and the max health, updated with UpdateAttributes.
Packet sent always and only in response to RequestChunkRadius to change the client's view distance.
Disconnects the player from the server.
Sends a 16x16 chunk to the client with its blocks, lights and block entities (tiles).
Updates client's game rules. This packet is ignored if the game is not launched as Education Edition and should be avoid in favour of AdventureSettings, with which the same result can be obtained with less data.
Plays a sound at a certain position.
First MCPE packet sent after the establishment of the connection through raknet. It contains informations about the player.
Sent when the client puts an item in its hotbar or selects a new hotbar slot.
Packet sent as response to Login to indicate whether the connection has been accepted and when the player is ready to spawn in the world.
Sent by the player when it falls from a distance that causes damage, that can be influenced by its armour and its effects.
Adds or removes a player from the player's list displayed in the pause menu. This packet should be sent before spawning a player with AddPlayer, otherwise the skin is not applied.
Instantly removes a block, either because the player is in creative mode or because the target block's hardness is 0 or lower (after all enchantments are applied).
Despawns an entity or a player.
Packet sent by the client when its view-distance is updated and when it spawns for the first time a world. A ChunkRadiusUpdate should always be sent in response, otherwise the player will not update its view distance.
Indicates whether the cheats are enabled. If not the client cannot send commands.
Sets the world's difficulty.
Updates an entity's metadata.
Updates an entity's motion.
Sets the player's gamemode. This packet is sent by the player when it has the operator status (set in AdventureSettings.permissions) and it changes the gamemode in the settings screen.
Sets the time.
Plays the collection animation and despawns the entity that has been collected.
Sends or receives a message from the player. Every variant's field can contain Minecraft's formatting codes.
Transfers the player to another server. Once transferred the player will immediately close the connection with the transferring server, try to resolve the ip and join the new server starting a new raknet session.
Updates an entity's attributes. This packet should be used when a value must be modified but it cannot be done using another packet (for example controlling the player's experience and level).
Packets related to the gameplay. Network-related packets (encapsulation, acks, nacks) are managed by RakNet and every packet in this section is encapsualted in an Encapsualted packet.