{ "types": { "varint32": "varint", "bool": "native", "zigzag32": "native", "zigzag64": "native", "uuid": "native", "byterot": "native", "MapInfo": "native", "nbt": "native", "BehaviourPackInfos": [ "array", { "countType": "li16", "type": [ "container", [ { "name": "uuid", "type": "string" }, { "name": "version", "type": "string" }, { "name": "size", "type": "lu64" }, { "name": "content_key", "type": "string" }, { "name": "sub_pack_name", "type": "string" }, { "name": "content_identity", "type": "string" }, { "name": "has_scripts", "type": "bool" } ] ] } ], "TexturePackInfos": [ "array", { "countType": "li16", "type": [ "container", [ { "name": "uuid", "type": "string" }, { "name": "version", "type": "string" }, { "name": "size", "type": "lu64" }, { "name": "content_key", "type": "string" }, { "name": "sub_pack_name", "type": "string" }, { "name": "content_identity", "type": "string" }, { "name": "has_scripts", "type": "bool" }, { "name": "rtx_enabled", "type": "bool" } ] ] } ], "ResourcePackIdVersions": [ "array", { "countType": "varint", "type": [ "container", [ { "name": "uuid", "type": "string" }, { "name": "version", "type": "string" }, { "name": "name", "type": "string" } ] ] } ], "ResourcePackIds": [ "array", { "countType": "li16", "type": "string" } ], "Experiment": [ "container", [ { "name": "name", "type": "string" }, { "name": "enabled", "type": "bool" } ] ], "Experiments": [ "array", { "countType": "li32", "type": "Experiment" } ], "GameMode": [ "mapper", { "type": "zigzag32", "mappings": { "0": "survival", "1": "creative", "2": "adventure", "3": "survival_spectator", "4": "creative_spectator", "5": "fallback" } } ], "GameRule": [ "container", [ { "name": "name", "type": "string" }, { "name": "type", "type": [ "mapper", { "type": "varint", "mappings": { "1": "bool", "2": "int", "3": "float" } } ] }, { "name": "value", "type": [ "switch", { "compareTo": "type", "fields": { "bool": "bool", "int": "zigzag32", "float": "lf32" }, "default": "void" } ] } ] ], "GameRules": [ "array", { "countType": "varint", "type": "GameRule" } ], "Blob": [ "container", [ { "name": "hash", "type": "lu64" }, { "name": "payload", "type": "ByteArray" } ] ], "BlockPalette": [ "array", { "countType": "varint", "type": [ "container", [ { "name": "name", "type": "string" }, { "name": "state", "type": "nbt" } ] ] } ], "Itemstates": [ "array", { "countType": "varint", "type": [ "container", [ { "name": "name", "type": "string" }, { "name": "runtime_id", "type": "li16" }, { "name": "component_based", "type": "bool" } ] ] } ], "Item": [ "container", [ { "name": "network_id", "type": "zigzag32" }, { "anon": true, "type": [ "switch", { "compareTo": "network_id", "fields": { "0": "void" }, "default": [ "container", [ { "name": "auxiliary_value", "type": "zigzag32" }, { "name": "has_nbt", "type": [ "mapper", { "type": "lu16", "mappings": { "0": "false", "65535": "true" } } ] }, { "name": "nbt", "type": [ "switch", { "compareTo": "has_nbt", "fields": { "true": [ "container", [ { "name": "version", "type": "u8" }, { "name": "nbt", "type": "nbt" } ] ] }, "default": "void" } ] }, { "name": "can_place_on", "type": [ "array", { "countType": "zigzag32", "type": "string" } ] }, { "name": "can_destroy", "type": [ "array", { "countType": "zigzag32", "type": "string" } ] } ] ] } ] }, { "anon": true, "type": [ "switch", { "compareTo": "network_id", "fields": { "355": [ "container", [ { "name": "blocking_tick", "type": "zigzag64" } ] ] }, "default": "void" } ] } ] ], "vec3i": [ "container", [ { "name": "x", "type": "zigzag32" }, { "name": "y", "type": "zigzag32" }, { "name": "z", "type": "zigzag32" } ] ], "vec3u": [ "container", [ { "name": "x", "type": "varint" }, { "name": "y", "type": "varint" }, { "name": "z", "type": "varint" } ] ], "vec3f": [ "container", [ { "name": "x", "type": "lf32" }, { "name": "y", "type": "lf32" }, { "name": "z", "type": "lf32" } ] ], "vec2f": [ "container", [ { "name": "x", "type": "lf32" }, { "name": "z", "type": "lf32" } ] ], "MetadataDictionary": [ "array", { "countType": "varint", "type": [ "container", [ { "name": "key", "type": [ "mapper", { "type": "varint", "mappings": { "0": "index", "1": "health", "2": "variant", "3": "color", "4": "nametag", "5": "owner_eid", "6": "target_eid", "7": "air", "8": "potion_color", "9": "potion_ambient", "10": "jump_duration", "11": "hurt_time", "12": "hurt_direction", "13": "paddle_time_left", "14": "paddle_time_right", "15": "experience_value", "16": "minecart_display_block", "17": "minecart_display_offset", "18": "minecart_has_display", "20": "old_swell", "21": "swell_dir", "22": "charge_amount", "23": "enderman_held_runtime_id", "24": "entity_age", "26": "player_flags", "27": "player_index", "28": "player_bed_position", "29": "fireball_power_x", "30": "fireball_power_y", "31": "fireball_power_z", "32": "aux_power", "33": "fish_x", "34": "fish_z", "35": "fish_angle", "36": "potion_aux_value", "37": "lead_holder_eid", "38": "scale", "39": "interactive_tag", "40": "npc_skin_id", "41": "url_tag", "42": "max_airdata_max_air", "43": "mark_variant", "44": "container_type", "45": "container_base_size", "46": "container_extra_slots_per_strength", "47": "block_target", "48": "wither_invulnerable_ticks", "49": "wither_target_1", "50": "wither_target_2", "51": "wither_target_3", "52": "aerial_attack", "53": "boundingbox_width", "54": "boundingbox_height", "55": "fuse_length", "56": "rider_seat_position", "57": "rider_rotation_locked", "58": "rider_max_rotation", "59": "rider_min_rotation", "60": "area_effect_cloud_radius", "61": "area_effect_cloud_waiting", "62": "area_effect_cloud_particle_id", "63": "shulker_peek_id", "64": "shulker_attach_face", "65": "shulker_attached", "66": "shulker_attach_pos", "67": "trading_player_eid", "68": "trading_career", "69": "has_command_block", "70": "command_block_command", "71": "command_block_last_output", "72": "command_block_track_output", "73": "controlling_rider_seat_number", "74": "strength", "75": "max_strength", "76": "spell_casting_color", "77": "limited_life", "78": "armor_stand_pose_index", "79": "ender_crystal_time_offset", "80": "always_show_nametag", "81": "color_2", "82": "name_author", "83": "score_tag", "84": "balloon_attached_entity", "85": "pufferfish_size", "86": "bubble_time", "87": "agent", "88": "sitting_amount", "89": "sitting_amount_previous", "90": "eating_counter", "91": "flags_extended", "92": "laying_amount", "93": "laying_amount_previous", "94": "duration", "95": "spawn_time", "96": "change_rate", "97": "change_on_pickup", "98": "pickup_count", "99": "interact_text", "100": "trade_tier", "101": "max_trade_tier", "102": "trade_experience", "103": "skin_id", "104": "spawning_frames", "105": "command_block_tick_delay", "106": "command_block_execute_on_first_tick", "107": "ambient_sound_interval", "108": "ambient_sound_interval_range", "109": "ambient_sound_event_name", "110": "fall_damage_multiplier", "111": "name_raw_text", "112": "can_ride_target", "113": "low_tier_cured_discount", "114": "high_tier_cured_discount", "115": "nearby_cured_discount", "116": "nearby_cured_discount_timestamp", "117": "hitbox", "118": "is_buoyant", "119": "buoyancy_data" } } ] }, { "name": "type", "type": [ "mapper", { "type": "varint", "mappings": { "0": "byte", "1": "short", "2": "int", "3": "float", "4": "string", "5": "compound", "6": "vec3i", "7": "long", "8": "vec3f" } } ] }, { "name": "value", "type": [ "switch", { "compareTo": "type", "fields": { "byte": "i8", "short": "li16", "int": "zigzag32", "float": "lf32", "string": "string", "compound": "nbt", "vec3i": "vec3i", "long": "zigzag64", "vec3f": "vec3f" }, "default": "void" } ] } ] ] } ], "Link": [ "container", [ { "name": "ridden_entity_id", "type": "zigzag64" }, { "name": "rider_entity_id", "type": "zigzag64" }, { "name": "type", "type": "u8" }, { "name": "immediate", "type": "bool" }, { "name": "rider_initiated", "type": "bool" } ] ], "Links": [ "array", { "countType": "varint", "type": "Link" } ], "EntityAttributes": [ "array", { "countType": "varint", "type": [ "container", [ { "name": "name", "type": "string" }, { "name": "min", "type": "lf32" }, { "name": "value", "type": "lf32" }, { "name": "max", "type": "lf32" } ] ] } ], "Rotation": [ "container", [ { "name": "yaw", "type": "byterot" }, { "name": "pitch", "type": "byterot" }, { "name": "head_yaw", "type": "byterot" } ] ], "BlockCoordinates": [ "container", [ { "name": "x", "type": "zigzag32" }, { "name": "y", "type": "varint" }, { "name": "z", "type": "zigzag32" } ] ], "PlayerAttributes": [ "array", { "countType": "varint", "type": [ "container", [ { "name": "min", "type": "lf32" }, { "name": "max", "type": "lf32" }, { "name": "current", "type": "lf32" }, { "name": "default", "type": "lf32" }, { "name": "name", "type": "string" } ] ] } ], "Transaction": [ "container", [ { "name": "legacy_request_id", "type": "zigzag32" }, { "name": "legacy_transactions", "type": [ "switch", { "compareTo": "legacy_request_id", "fields": { "0": "void" }, "default": [ "array", { "countType": "varint", "type": [ "container", [ { "name": "container_id", "type": "u8" }, { "name": "changed_slots", "type": [ "array", { "countType": "varint", "type": [ "container", [ { "name": "slot_id", "type": "u8" } ] ] } ] } ] ] } ] } ] }, { "name": "transaction_type", "type": [ "mapper", { "type": "varint", "mappings": { "0": "normal", "1": "inventory_mismatch", "2": "item_use", "3": "item_use_on_entity", "4": "item_release" } } ] }, { "name": "network_ids", "type": "bool" }, { "name": "inventory_actions", "type": [ "array", { "countType": "varint", "type": [ "container", [ { "name": "source_type", "type": [ "mapper", { "type": "varint", "mappings": { "0": "container", "1": "global", "2": "world_interaction", "3": "creative", "100": "craft_slot", "99999": "craft" } } ] }, { "anon": true, "type": [ "switch", { "compareTo": "source_type", "fields": { "container": [ "container", [ { "name": "inventory_id", "type": "varint" } ] ], "creative": [ "container", [ { "name": "inventory_id", "type": "varint" } ] ], "world_interaction": [ "container", [ { "name": "flags", "type": "varint" } ] ], "craft": [ "container", [ { "name": "action", "type": "varint" } ] ], "craft_slot": [ "container", [ { "name": "action", "type": "varint" } ] ] }, "default": "void" } ] }, { "name": "slot", "type": "varint" }, { "name": "old_item", "type": "Item" }, { "name": "new_item", "type": "Item" }, { "name": "new_item_stack_id", "type": [ "switch", { "compareTo": "../network_ids", "fields": { "true": "zigzag32" }, "default": "void" } ] } ] ] } ] }, { "name": "transaction_data", "type": [ "switch", { "compareTo": "transaction_type", "fields": { "normal": "void", "inventory_mismatch": "void", "item_use": [ "container", [ { "name": "action_type", "type": [ "mapper", { "type": "varint", "mappings": { "0": "click_block", "1": "click_air", "2": "break_block" } } ] }, { "name": "block_position", "type": "BlockCoordinates" }, { "name": "face", "type": "varint" }, { "name": "hotbar_slot", "type": "varint" }, { "name": "held_item", "type": "Item" }, { "name": "player_pos", "type": "vec3f" }, { "name": "click_pos", "type": "vec3f" }, { "name": "block_runtime_id", "type": "varint" } ] ], "item_use_on_entity": [ "container", [ { "name": "entity_runtime_id", "type": "varint64" }, { "name": "action_type", "type": [ "mapper", { "type": "varint", "mappings": { "0": "interact", "1": "attack" } } ] }, { "name": "hotbar_slot", "type": "zigzag32" }, { "name": "held_item", "type": "Item" }, { "name": "player_pos", "type": "vec3f" }, { "name": "click_pos", "type": "vec3f" } ] ], "item_release": [ "container", [ { "name": "action_type", "type": [ "mapper", { "type": "varint", "mappings": { "0": "release", "1": "consume" } } ] }, { "name": "hotbar_slot", "type": "zigzag32" }, { "name": "held_item", "type": "Item" }, { "name": "head_pos", "type": "vec3f" } ] ] }, "default": "void" } ] } ] ], "ItemStack": [ "container", [ { "name": "runtime_id", "type": "zigzag32" }, { "name": "item", "type": "Item" } ] ], "ItemStacks": [ "array", { "countType": "varint", "type": "ItemStack" } ], "RecipeIngredient": [ "container", [ { "name": "network_id", "type": "zigzag32" }, { "anon": true, "type": [ "switch", { "compareTo": "network_id", "fields": { "0": "void" }, "default": [ "container", [ { "name": "network_data", "type": "zigzag32" }, { "name": "count", "type": "zigzag32" } ] ] } ] } ] ], "PotionTypeRecipes": [ "array", { "countType": "varint", "type": [ "container", [ { "name": "input_item_id", "type": "zigzag32" }, { "name": "input_item_meta", "type": "zigzag32" }, { "name": "ingredient_id", "type": "zigzag32" }, { "name": "ingredient_meta", "type": "zigzag32" }, { "name": "output_item_id", "type": "zigzag32" }, { "name": "output_item_meta", "type": "zigzag32" } ] ] } ], "PotionContainerChangeRecipes": [ "array", { "countType": "varint", "type": [ "container", [ { "name": "input_item_id", "type": "zigzag32" }, { "name": "ingredient_id", "type": "zigzag32" }, { "name": "output_item_id", "type": "zigzag32" } ] ] } ], "Recipes": [ "array", { "countType": "varint", "type": [ "container", [ { "name": "type", "type": [ "mapper", { "type": "zigzag32", "mappings": { "0": "shapeless", "1": "shaped", "2": "furnace", "3": "furnace_with_metadata", "4": "multi", "5": "shulker_box", "6": "shapeless_chemistry", "7": "shaped_chemistry" } } ] }, { "name": "recipe", "type": [ "switch", { "compareTo": "type", "fields": { "shapeless": [ "container", [ { "name": "recipe_id", "type": "string" }, { "name": "input", "type": [ "array", { "countType": "varint", "type": "RecipeIngredient" } ] }, { "name": "output", "type": [ "array", { "countType": "varint", "type": "Item" } ] }, { "name": "uuid", "type": "uuid" }, { "name": "block", "type": "string" }, { "name": "priority", "type": "zigzag32" }, { "name": "network_id", "type": "zigzag32" } ] ], "shulker_box": [ "container", [ { "name": "recipe_id", "type": "string" }, { "name": "input", "type": [ "array", { "countType": "varint", "type": "RecipeIngredient" } ] }, { "name": "output", "type": [ "array", { "countType": "varint", "type": "Item" } ] }, { "name": "uuid", "type": "uuid" }, { "name": "block", "type": "string" }, { "name": "priority", "type": "zigzag32" }, { "name": "network_id", "type": "zigzag32" } ] ], "shapeless_chemistry": [ "container", [ { "name": "recipe_id", "type": "string" }, { "name": "input", "type": [ "array", { "countType": "varint", "type": "RecipeIngredient" } ] }, { "name": "output", "type": [ "array", { "countType": "varint", "type": "Item" } ] }, { "name": "uuid", "type": "uuid" }, { "name": "block", "type": "string" }, { "name": "priority", "type": "zigzag32" }, { "name": "network_id", "type": "zigzag32" } ] ], "shaped": [ "container", [ { "name": "recipe_id", "type": "string" }, { "name": "width", "type": "zigzag32" }, { "name": "height", "type": "zigzag32" }, { "name": "input", "type": [ "array", { "count": "width", "type": [ "array", { "count": "height", "type": "RecipeIngredient" } ] } ] }, { "name": "output", "type": [ "array", { "countType": "varint", "type": "Item" } ] }, { "name": "uuid", "type": "uuid" }, { "name": "block", "type": "string" }, { "name": "priority", "type": "zigzag32" }, { "name": "network_id", "type": "zigzag32" } ] ], "shaped_chemistry": [ "container", [ { "name": "recipe_id", "type": "string" }, { "name": "width", "type": "zigzag32" }, { "name": "height", "type": "zigzag32" }, { "name": "input", "type": [ "array", { "count": "width", "type": [ "array", { "count": "height", "type": "RecipeIngredient" } ] } ] }, { "name": "output", "type": [ "array", { "countType": "varint", "type": "Item" } ] }, { "name": "uuid", "type": "uuid" }, { "name": "block", "type": "string" }, { "name": "priority", "type": "zigzag32" }, { "name": "network_id", "type": "zigzag32" } ] ], "furnace": [ "container", [ { "name": "input_id", "type": "zigzag32" }, { "name": "output", "type": "Item" }, { "name": "block", "type": "string" } ] ], "furnace_with_metadata": [ "container", [ { "name": "input_id", "type": "zigzag32" }, { "name": "input_meta", "type": "zigzag32" }, { "name": "output", "type": "Item" }, { "name": "block", "type": "string" } ] ], "multi": [ "container", [ { "name": "uuid", "type": "uuid" }, { "name": "network_id", "type": "zigzag32" } ] ] }, "default": "void" } ] } ] ] } ], "SkinImage": [ "container", [ { "name": "width", "type": "li32" }, { "name": "height", "type": "li32" }, { "name": "data", "type": "string" } ] ], "Skin": [ "container", [ { "name": "skin_id", "type": "string" }, { "name": "skin_resource_pack", "type": "string" }, { "name": "skin_data", "type": "SkinImage" }, { "name": "animations", "type": [ "array", { "countType": "li32", "type": [ "container", [ { "name": "skin_image", "type": "SkinImage" }, { "name": "animation_type", "type": "li32" }, { "name": "animation_frames", "type": "lf32" }, { "name": "expression_type", "type": "lf32" } ] ] } ] }, { "name": "cape_data", "type": "SkinImage" }, { "name": "geometry_data", "type": "string" }, { "name": "animation_data", "type": "string" }, { "name": "premium", "type": "string" }, { "name": "persona", "type": "bool" }, { "name": "cape_on_classic", "type": "bool" }, { "name": "cape_id", "type": "string" }, { "name": "full_skin_id", "type": "string" }, { "name": "arm_size", "type": "string" }, { "name": "skin_color", "type": "string" }, { "name": "personal_pieces", "type": [ "array", { "countType": "li32", "type": [ "container", [ { "name": "piece_id", "type": "string" }, { "name": "piece_type", "type": "string" }, { "name": "pack_id", "type": "string" }, { "name": "is_default_piece", "type": "bool" }, { "name": "product_id", "type": "string" } ] ] } ] }, { "name": "piece_tint_colors", "type": [ "array", { "countType": "li32", "type": [ "container", [ { "name": "piece_type", "type": "string" }, { "name": "colors", "type": [ "array", { "countType": "li32", "type": "string" } ] } ] ] } ] } ] ], "PlayerRecords": [ "container", [ { "name": "type", "type": [ "mapper", { "type": "u8", "mappings": { "0": "add", "1": "remove" } } ] }, { "name": "records_count", "type": "varint" }, { "name": "records", "type": [ "array", { "count": "records_count", "type": [ "switch", { "compareTo": "type", "fields": { "add": [ "container", [ { "name": "uuid", "type": "uuid" }, { "name": "entity_unique_id", "type": "zigzag64" }, { "name": "username", "type": "string" }, { "name": "xbox_user_id", "type": "string" }, { "name": "platform_chat_id", "type": "string" }, { "name": "build_platform", "type": "li32" }, { "name": "skin_data", "type": "Skin" }, { "name": "is_teacher", "type": "bool" }, { "name": "is_host", "type": "bool" } ] ], "remove": [ "container", [ { "name": "uuid", "type": "uuid" } ] ] }, "default": "void" } ] } ] }, { "name": "verified", "type": [ "array", { "count": "records_count", "type": "bool" } ] } ] ], "ScoreEntries": [ "container", [ { "name": "type", "type": [ "mapper", { "type": "u8", "mappings": { "0": "change", "1": "remove" } } ] }, { "name": "entries", "type": [ "array", { "countType": "varint", "type": [ "container", [ { "name": "scoreboard_id", "type": "zigzag64" }, { "name": "objective_name", "type": "string" }, { "name": "score", "type": "li32" }, { "anon": true, "type": [ "switch", { "compareTo": "type", "fields": { "remove": [ "container", [ { "name": "entry_type", "type": [ "mapper", { "type": "i8", "mappings": { "1": "player", "2": "entity", "3": "fake_player" } } ] }, { "name": "entity_unique_id", "type": [ "switch", { "compareTo": "entry_type", "fields": { "player": "zigzag64", "entity": "zigzag64" }, "default": "void" } ] }, { "name": "custom_name", "type": [ "switch", { "compareTo": "entry_type", "fields": { "fake_player": "string" }, "default": "void" } ] } ] ] }, "default": "void" } ] } ] ] } ] } ] ], "ScoreboardIdentityEntries": [ "container", [ { "name": "type", "type": [ "mapper", { "type": "i8", "mappings": { "0": "TYPE_REGISTER_IDENTITY", "1": "TYPE_CLEAR_IDENTITY" } } ] }, { "name": "entries", "type": [ "array", { "countType": "varint", "type": [ "container", [ { "name": "scoreboard_id", "type": "zigzag64" }, { "name": "entity_unique_id", "type": [ "switch", { "compareTo": "type", "fields": { "TYPE_REGISTER_IDENTITY": "zigzag64" }, "default": "void" } ] } ] ] } ] } ] ], "Enchant": [ "container", [ { "name": "id", "type": "u8" }, { "name": "level", "type": "u8" } ] ], "EnchantOptions": [ "array", { "countType": "varint", "type": [ "container", [ { "name": "cost", "type": "varint" }, { "name": "slot_flags", "type": "li32" }, { "name": "equip_enchants", "type": [ "array", { "countType": "varint", "type": "Enchant" } ] }, { "name": "held_enchants", "type": [ "array", { "countType": "varint", "type": "Enchant" } ] }, { "name": "self_enchants", "type": [ "array", { "countType": "varint", "type": "Enchant" } ] }, { "name": "name", "type": "string" }, { "name": "option_id", "type": "zigzag32" } ] ] } ], "StackRequestSlotInfo": [ "container", [ { "name": "container_id", "type": "u8" }, { "name": "slot_id", "type": "u8" }, { "name": "stack_id", "type": "zigzag32" } ] ], "ItemStackRequests": [ "array", { "countType": "varint", "type": [ "container", [ { "name": "request_id", "type": "zigzag32" }, { "name": "actions", "type": [ "array", { "countType": "varint", "type": [ "container", [ { "name": "type_id", "type": [ "mapper", { "type": "u8", "mappings": { "0": "take", "1": "place", "2": "swap", "3": "drop", "4": "destroy", "5": "consume", "6": "create", "7": "lab_table_combine", "8": "beacon_payment", "9": "craft_recipe", "10": "craft_recipe_auto", "11": "craft_creative", "12": "optional", "13": "non_implemented", "14": "results_deprecated" } } ] }, { "anon": true, "type": [ "switch", { "compareTo": "type_id", "fields": { "take": [ "container", [ { "name": "count", "type": "u8" }, { "name": "source", "type": "StackRequestSlotInfo" }, { "name": "destination", "type": "StackRequestSlotInfo" } ] ], "place": [ "container", [ { "name": "count", "type": "u8" }, { "name": "source", "type": "StackRequestSlotInfo" }, { "name": "destination", "type": "StackRequestSlotInfo" } ] ], "swap": [ "container", [ { "name": "source", "type": "StackRequestSlotInfo" }, { "name": "destination", "type": "StackRequestSlotInfo" } ] ], "drop": [ "container", [ { "name": "count", "type": "u8" }, { "name": "source", "type": "StackRequestSlotInfo" }, { "name": "randomly", "type": "bool" } ] ], "destroy": [ "container", [ { "name": "count", "type": "u8" }, { "name": "source", "type": "StackRequestSlotInfo" } ] ], "consume": [ "container", [ { "name": "count", "type": "u8" }, { "name": "source", "type": "StackRequestSlotInfo" } ] ], "create": [ "container", [ { "name": "result_slot_id", "type": "u8" } ] ], "beacon_payment": [ "container", [ { "name": "primary_effect", "type": "zigzag32" }, { "name": "secondary_effect", "type": "zigzag32" } ] ], "craft_recipe": [ "container", [ { "name": "recipe_network_id", "type": "varint" } ] ], "craft_recipe_auto": [ "container", [ { "name": "recipe_network_id", "type": "varint" } ] ], "craft_creative": [ "container", [ { "name": "creative_item_network_id", "type": "varint32" } ] ], "optional": [ "container", [ { "name": "recipe_network_id", "type": "varint" }, { "name": "filtered_string_index", "type": "li32" } ] ], "non_implemented": "void", "results_deprecated": [ "container", [ { "name": "result_items", "type": [ "array", { "countType": "varint", "type": "Item" } ] }, { "name": "times_crafted", "type": "u8" } ] ] }, "default": "void" } ] } ] ] } ] }, { "name": "custom_names", "type": [ "array", { "countType": "varint", "type": "string" } ] } ] ] } ], "ItemStackResponses": [ "array", { "countType": "varint", "type": [ "container", [ { "name": "result", "type": "u8" }, { "name": "request_id", "type": "varint32" }, { "name": "containers", "type": [ "array", { "countType": "varint", "type": [ "container", [ { "name": "container_id", "type": "u8" }, { "name": "slots", "type": [ "array", { "countType": "varint", "type": [ "container", [ { "name": "slot", "type": "u8" }, { "name": "hotbar_slot", "type": "u8" }, { "name": "count", "type": "u8" }, { "name": "item_stack_id", "type": "varint32" }, { "name": "custom_name", "type": "string" } ] ] } ] } ] ] } ] } ] ] } ], "ItemComponentList": [ "array", { "countType": "varint", "type": [ "container", [ { "name": "name", "type": "string" }, { "name": "nbt", "type": "nbt" } ] ] } ], "CommandOrigin": [ "container", [ { "name": "type", "type": [ "mapper", { "type": "varint", "mappings": { "0": "player", "1": "block", "2": "minecart_block", "3": "dev_console", "4": "test", "5": "automation_player", "6": "client_automation", "7": "dedicated_server", "8": "entity", "9": "virtual", "10": "game_argument", "11": "entity_server" } } ] }, { "name": "uuid", "type": "uuid" }, { "name": "request_id", "type": "string" }, { "name": "player_entity_id", "type": [ "switch", { "compareTo": "type", "fields": { "dev_console": [ "container", [ { "name": "player_entity_id", "type": "zigzag64" } ] ], "test": [ "container", [ { "name": "player_entity_id", "type": "zigzag64" } ] ] }, "default": "void" } ] } ] ], "WindowID": [ "mapper", { "type": "i8", "mappings": { "0": "inventory", "1": "first", "100": "last", "119": "offhand", "120": "armor", "121": "creative", "122": "hotbar", "123": "fixed_inventory", "124": "ui", "-100": "drop_contents", "-24": "beacon", "-23": "trading_output", "-22": "trading_use_inputs", "-21": "trading_input_2", "-20": "trading_input_1", "-17": "enchant_output", "-16": "enchant_material", "-15": "enchant_input", "-13": "anvil_output", "-12": "anvil_result", "-11": "anvil_material", "-10": "container_input", "-5": "crafting_use_ingredient", "-4": "crafting_result", "-3": "crafting_remove_ingredient", "-2": "crafting_add_ingredient", "-1": "none" } } ], "WindowType": [ "mapper", { "type": "u8", "mappings": { "0": "container", "1": "workbench", "2": "furnace", "3": "enchantment", "4": "brewing_stand", "5": "anvil", "6": "dispenser", "7": "dropper", "8": "hopper", "9": "cauldron", "10": "minecart_chest", "11": "minecart_hopper", "12": "horse", "13": "beacon", "14": "structure_editor", "15": "trading", "16": "command_block", "17": "jukebox", "18": "armor", "19": "hand", "20": "compound_creator", "21": "element_constructor", "22": "material_reducer", "23": "lab_table", "24": "loom", "25": "lectern", "26": "grindstone", "27": "blast_furnace", "28": "smoker", "29": "stonecutter", "30": "cartography", "31": "hud", "32": "jigsaw_editor", "33": "smithing_table" } } ], "LegacyEntityType": [ "mapper", { "type": "li32", "mappings": { "10": "chicken", "11": "cow", "12": "pig", "13": "sheep", "14": "wolf", "15": "villager", "16": "mooshroom", "17": "squid", "18": "rabbit", "19": "bat", "20": "iron_golem", "21": "snow_golem", "22": "ocelot", "23": "horse", "24": "donkey", "25": "mule", "26": "skeleton_horse", "27": "zombie_horse", "28": "polar_bear", "29": "llama", "30": "parrot", "31": "dolphin", "32": "zombie", "33": "creeper", "34": "skeleton", "35": "spider", "36": "zombie_pigman", "37": "slime", "38": "enderman", "39": "silverfish", "40": "cave_spider", "41": "ghast", "42": "magma_cube", "43": "blaze", "44": "zombie_villager", "45": "witch", "46": "stray", "47": "husk", "48": "wither_skeleton", "49": "guardian", "50": "elder_guardian", "51": "npc", "52": "wither", "53": "ender_dragon", "54": "shulker", "55": "endermite", "56": "agent", "57": "vindicator", "58": "phantom", "61": "armor_stand", "62": "tripod_camera", "63": "player", "64": "item", "65": "tnt", "66": "falling_block", "67": "moving_block", "68": "xp_bottle", "69": "xp_orb", "70": "eye_of_ender_signal", "71": "ender_crystal", "72": "fireworks_rocket", "73": "thrown_trident", "74": "turtle", "75": "cat", "76": "shulker_bullet", "77": "fishing_hook", "78": "chalkboard", "79": "dragon_fireball", "80": "arrow", "81": "snowball", "82": "egg", "83": "painting", "84": "minecart", "85": "fireball", "86": "splash_potion", "87": "ender_pearl", "88": "leash_knot", "89": "wither_skull", "90": "boat", "91": "wither_skull_dangerous", "93": "lightning_bolt", "94": "small_fireball", "95": "area_effect_cloud", "96": "hopper_minecart", "97": "tnt_minecart", "98": "chest_minecart", "100": "command_block_minecart", "101": "lingering_potion", "102": "llama_spit", "103": "evocation_fang", "104": "evocation_illager", "105": "vex", "106": "ice_bomb", "107": "balloon", "108": "pufferfish", "109": "salmon", "110": "drowned", "111": "tropicalfish", "112": "cod", "113": "panda" } } ], "mcpe_packet": [ "container", [ { "name": "name", "type": [ "mapper", { "type": "varint", "mappings": { "1": "login", "2": "play_status", "3": "server_to_client_handshake", "4": "client_to_server_handshake", "5": "disconnect", "6": "resource_packs_info", "7": "resource_pack_stack", "8": "resource_pack_client_response", "9": "text", "10": "set_time", "11": "start_game", "12": "add_player", "13": "add_entity", "14": "remove_entity", "15": "add_item_entity", "17": "take_item_entity", "18": "move_entity", "19": "move_player", "20": "rider_jump", "21": "update_block", "22": "add_painting", "23": "tick_sync", "24": "level_sound_event_old", "25": "level_event", "26": "block_event", "27": "entity_event", "28": "mob_effect", "29": "update_attributes", "30": "inventory_transaction", "31": "mob_equipment", "32": "mob_armor_equipment", "33": "interact", "34": "block_pick_request", "35": "entity_pick_request", "36": "player_action", "38": "hurt_armor", "39": "set_entity_data", "40": "set_entity_motion", "41": "set_entity_link", "42": "set_health", "43": "set_spawn_position", "44": "animate", "45": "respawn", "46": "container_open", "47": "container_close", "48": "player_hotbar", "49": "inventory_content", "50": "inventory_slot", "51": "container_set_data", "52": "crafting_data", "53": "crafting_event", "54": "gui_data_pick_item", "55": "adventure_settings", "56": "block_entity_data", "57": "player_input", "58": "level_chunk", "59": "set_commands_enabled", "60": "set_difficulty", "61": "change_dimension", "62": "set_player_game_type", "63": "player_list", "64": "simple_event", "65": "event", "66": "spawn_experience_orb", "67": "clientbound_map_item_data", "68": "map_info_request", "69": "request_chunk_radius", "70": "chunk_radius_update", "71": "item_frame_drop_item", "72": "game_rules_changed", "73": "camera", "74": "boss_event", "75": "show_credits", "76": "available_commands", "77": "command_request", "78": "command_block_update", "79": "command_output", "80": "update_trade", "81": "update_equipment", "82": "resource_pack_data_info", "83": "resource_pack_chunk_data", "84": "resource_pack_chunk_request", "85": "transfer", "86": "play_sound", "87": "stop_sound", "88": "set_title", "89": "add_behavior_tree", "90": "structure_block_update", "91": "show_store_offer", "92": "purchase_receipt", "93": "player_skin", "94": "sub_client_login", "95": "initiate_web_socket_connection", "96": "set_last_hurt_by", "97": "book_edit", "98": "npc_request", "99": "photo_transfer", "100": "modal_form_request", "101": "modal_form_response", "102": "server_settings_request", "103": "server_settings_response", "104": "show_profile", "105": "set_default_game_type", "106": "remove_objective", "107": "set_display_objective", "108": "set_score", "109": "lab_table", "110": "update_block_synced", "111": "move_entity_delta", "112": "set_scoreboard_identity", "113": "set_local_player_as_initialized", "114": "update_soft_enum", "115": "network_stack_latency", "117": "script_custom_event", "118": "spawn_particle_effect", "119": "available_entity_identifiers", "120": "level_sound_event_v2", "121": "network_chunk_publisher_update", "122": "biome_definition_list", "123": "level_sound_event", "124": "level_event_generic", "125": "lectern_update", "126": "video_stream_connect", "127": "add_ecs_entity", "128": "remove_ecs_entity", "129": "client_cache_status", "130": "on_screen_texture_animation", "131": "map_create_locked_copy", "132": "structure_template_data_export_request", "133": "structure_template_data_export_response", "134": "update_block_properties", "135": "client_cache_blob_status", "136": "client_cache_miss_response", "137": "education_settings", "139": "multiplayer_settings", "140": "settings_command", "141": "anvil_damage", "142": "completed_using_item", "143": "network_settings", "144": "player_auth_input", "145": "creative_content", "146": "player_enchant_options", "147": "item_stack_request", "148": "item_stack_response", "149": "player_armor_damage", "151": "update_player_game_type", "153": "position_tracking_db_broadcast", "154": "position_tracking_db_request", "156": "packet_violation_warning", "157": "motion_prediction_hints", "158": "animate_entity", "159": "camera_shake", "160": "player_fog", "161": "correct_player_move_prediction", "162": "item_component", "163": "filter_text_packet" } } ] }, { "name": "params", "type": [ "switch", { "compareTo": "name", "fields": { "login": "packet_login", "play_status": "packet_play_status", "server_to_client_handshake": "packet_server_to_client_handshake", "client_to_server_handshake": "packet_client_to_server_handshake", "disconnect": "packet_disconnect", "resource_packs_info": "packet_resource_packs_info", "resource_pack_stack": "packet_resource_pack_stack", "resource_pack_client_response": "packet_resource_pack_client_response", "text": "packet_text", "set_time": "packet_set_time", "start_game": "packet_start_game", "add_player": "packet_add_player", "add_entity": "packet_add_entity", "remove_entity": "packet_remove_entity", "add_item_entity": "packet_add_item_entity", "take_item_entity": "packet_take_item_entity", "move_entity": "packet_move_entity", "move_player": "packet_move_player", "rider_jump": "packet_rider_jump", "update_block": "packet_update_block", "add_painting": "packet_add_painting", "tick_sync": "packet_tick_sync", "level_sound_event_old": "packet_level_sound_event_old", "level_event": "packet_level_event", "block_event": "packet_block_event", "entity_event": "packet_entity_event", "mob_effect": "packet_mob_effect", "update_attributes": "packet_update_attributes", "inventory_transaction": "packet_inventory_transaction", "mob_equipment": "packet_mob_equipment", "mob_armor_equipment": "packet_mob_armor_equipment", "interact": "packet_interact", "block_pick_request": "packet_block_pick_request", "entity_pick_request": "packet_entity_pick_request", "player_action": "packet_player_action", "hurt_armor": "packet_hurt_armor", "set_entity_data": "packet_set_entity_data", "set_entity_motion": "packet_set_entity_motion", "set_entity_link": "packet_set_entity_link", "set_health": "packet_set_health", "set_spawn_position": "packet_set_spawn_position", "animate": "packet_animate", "respawn": "packet_respawn", "container_open": "packet_container_open", "container_close": "packet_container_close", "player_hotbar": "packet_player_hotbar", "inventory_content": "packet_inventory_content", "inventory_slot": "packet_inventory_slot", "container_set_data": "packet_container_set_data", "crafting_data": "packet_crafting_data", "crafting_event": "packet_crafting_event", "gui_data_pick_item": "packet_gui_data_pick_item", "adventure_settings": "packet_adventure_settings", "block_entity_data": "packet_block_entity_data", "player_input": "packet_player_input", "level_chunk": "packet_level_chunk", "set_commands_enabled": "packet_set_commands_enabled", "set_difficulty": "packet_set_difficulty", "change_dimension": "packet_change_dimension", "set_player_game_type": "packet_set_player_game_type", "player_list": "packet_player_list", "simple_event": "packet_simple_event", "event": "packet_event", "spawn_experience_orb": "packet_spawn_experience_orb", "clientbound_map_item_data": "packet_clientbound_map_item_data", "map_info_request": "packet_map_info_request", "request_chunk_radius": "packet_request_chunk_radius", "chunk_radius_update": "packet_chunk_radius_update", "item_frame_drop_item": "packet_item_frame_drop_item", "game_rules_changed": "packet_game_rules_changed", "camera": "packet_camera", "boss_event": "packet_boss_event", "show_credits": "packet_show_credits", "available_commands": "packet_available_commands", "command_request": "packet_command_request", "command_block_update": "packet_command_block_update", "command_output": "packet_command_output", "update_trade": "packet_update_trade", "update_equipment": "packet_update_equipment", "resource_pack_data_info": "packet_resource_pack_data_info", "resource_pack_chunk_data": "packet_resource_pack_chunk_data", "resource_pack_chunk_request": "packet_resource_pack_chunk_request", "transfer": "packet_transfer", "play_sound": "packet_play_sound", "stop_sound": "packet_stop_sound", "set_title": "packet_set_title", "add_behavior_tree": "packet_add_behavior_tree", "structure_block_update": "packet_structure_block_update", "show_store_offer": "packet_show_store_offer", "purchase_receipt": "packet_purchase_receipt", "player_skin": "packet_player_skin", "sub_client_login": "packet_sub_client_login", "initiate_web_socket_connection": "packet_initiate_web_socket_connection", "set_last_hurt_by": "packet_set_last_hurt_by", "book_edit": "packet_book_edit", "npc_request": "packet_npc_request", "photo_transfer": "packet_photo_transfer", "modal_form_request": "packet_modal_form_request", "modal_form_response": "packet_modal_form_response", "server_settings_request": "packet_server_settings_request", "server_settings_response": "packet_server_settings_response", "show_profile": "packet_show_profile", "set_default_game_type": "packet_set_default_game_type", "remove_objective": "packet_remove_objective", "set_display_objective": "packet_set_display_objective", "set_score": "packet_set_score", "lab_table": "packet_lab_table", "update_block_synced": "packet_update_block_synced", "move_entity_delta": "packet_move_entity_delta", "set_scoreboard_identity": "packet_set_scoreboard_identity", "set_local_player_as_initialized": "packet_set_local_player_as_initialized", "update_soft_enum": "packet_update_soft_enum", "network_stack_latency": "packet_network_stack_latency", "script_custom_event": "packet_script_custom_event", "spawn_particle_effect": "packet_spawn_particle_effect", "available_entity_identifiers": "packet_available_entity_identifiers", "level_sound_event_v2": "packet_level_sound_event_v2", "network_chunk_publisher_update": "packet_network_chunk_publisher_update", "biome_definition_list": "packet_biome_definition_list", "level_sound_event": "packet_level_sound_event", "level_event_generic": "packet_level_event_generic", "lectern_update": "packet_lectern_update", "video_stream_connect": "packet_video_stream_connect", "add_ecs_entity": "packet_add_ecs_entity", "remove_ecs_entity": "packet_remove_ecs_entity", "client_cache_status": "packet_client_cache_status", "on_screen_texture_animation": "packet_on_screen_texture_animation", "map_create_locked_copy": "packet_map_create_locked_copy", "structure_template_data_export_request": "packet_structure_template_data_export_request", "structure_template_data_export_response": "packet_structure_template_data_export_response", "update_block_properties": "packet_update_block_properties", "client_cache_blob_status": "packet_client_cache_blob_status", "client_cache_miss_response": "packet_client_cache_miss_response", "education_settings": "packet_education_settings", "multiplayer_settings": "packet_multiplayer_settings", "settings_command": "packet_settings_command", "anvil_damage": "packet_anvil_damage", "completed_using_item": "packet_completed_using_item", "network_settings": "packet_network_settings", "player_auth_input": "packet_player_auth_input", "creative_content": "packet_creative_content", "player_enchant_options": "packet_player_enchant_options", "item_stack_request": "packet_item_stack_request", "item_stack_response": "packet_item_stack_response", "player_armor_damage": "packet_player_armor_damage", "update_player_game_type": "packet_update_player_game_type", "position_tracking_db_request": "packet_position_tracking_db_request", "position_tracking_db_broadcast": "packet_position_tracking_db_broadcast", "packet_violation_warning": "packet_packet_violation_warning", "motion_prediction_hints": "packet_motion_prediction_hints", "animate_entity": "packet_animate_entity", "camera_shake": "packet_camera_shake", "player_fog": "packet_player_fog", "correct_player_move_prediction": "packet_correct_player_move_prediction", "item_component": "packet_item_component", "filter_text_packet": "packet_filter_text_packet" }, "default": "void" } ] } ] ], "packet_login": [ "container", [ { "name": "protocol_version", "type": "i32" }, { "name": "payload_size", "type": "varint" }, { "name": "chain", "type": "LittleString" }, { "name": "client_data", "type": "LittleString" } ] ], "packet_play_status": [ "container", [ { "name": "status", "type": [ "mapper", { "type": "i32", "mappings": { "0": "login_success", "1": "failed_client", "2": "failed_spawn", "3": "player_spawn", "4": "failed_invalid_tenant", "5": "failed_vanilla_edu", "6": "failed_edu_vanilla", "7": "failed_server_full" } } ] } ] ], "packet_server_to_client_handshake": [ "container", [ { "name": "token", "type": "string" } ] ], "packet_client_to_server_handshake": [ "container", [] ], "packet_disconnect": [ "container", [ { "name": "hide_disconnect_reason", "type": "bool" }, { "name": "message", "type": "string" } ] ], "packet_resource_packs_info": [ "container", [ { "name": "must_accept", "type": "bool" }, { "name": "has_scripts", "type": "bool" }, { "name": "behaviour_packs", "type": "BehaviourPackInfos" }, { "name": "texture_packs", "type": "TexturePackInfos" } ] ], "packet_resource_pack_stack": [ "container", [ { "name": "must_accept", "type": "bool" }, { "name": "behavior_packs", "type": "ResourcePackIdVersions" }, { "name": "resource_packs", "type": "ResourcePackIdVersions" }, { "name": "game_version", "type": "string" }, { "name": "experiments", "type": "Experiments" }, { "name": "experiments_previously_used", "type": "bool" } ] ], "packet_resource_pack_client_response": [ "container", [ { "name": "response_status", "type": [ "mapper", { "type": "u8", "mappings": { "0": "none", "1": "refused", "2": "send_packs", "3": "have_all_packs", "4": "completed" } } ] }, { "name": "resourcepackids", "type": "ResourcePackIds" } ] ], "packet_text": [ "container", [ { "name": "type", "type": [ "mapper", { "type": "u8", "mappings": { "0": "raw", "1": "chat", "2": "translation", "3": "popup", "4": "jukebox_popup", "5": "tip", "6": "system", "7": "whisper", "8": "announcement", "9": "json_whisper", "10": "json" } } ] }, { "name": "needs_translation", "type": "bool" }, { "anon": true, "type": [ "switch", { "compareTo": "type", "fields": { "chat": [ "container", [ { "name": "source_name", "type": "string" }, { "name": "message", "type": "string" } ] ], "whisper": [ "container", [ { "name": "source_name", "type": "string" }, { "name": "message", "type": "string" } ] ], "announcement": [ "container", [ { "name": "source_name", "type": "string" }, { "name": "message", "type": "string" } ] ], "raw": [ "container", [ { "name": "message", "type": "string" } ] ], "tip": [ "container", [ { "name": "message", "type": "string" } ] ], "system": [ "container", [ { "name": "message", "type": "string" } ] ], "json_whisper": [ "container", [ { "name": "message", "type": "string" } ] ], "json": [ "container", [ { "name": "message", "type": "string" } ] ], "translation": [ "container", [ { "name": "message", "type": "string" }, { "name": "paramaters", "type": [ "array", { "countType": "varint", "type": "string" } ] } ] ], "popup": [ "container", [ { "name": "message", "type": "string" }, { "name": "paramaters", "type": [ "array", { "countType": "varint", "type": "string" } ] } ] ], "jukebox_popup": [ "container", [ { "name": "message", "type": "string" }, { "name": "paramaters", "type": [ "array", { "countType": "varint", "type": "string" } ] } ] ] }, "default": "void" } ] }, { "name": "xuid", "type": "string" }, { "name": "platform_chat_id", "type": "string" } ] ], "packet_set_time": [ "container", [ { "name": "time", "type": "zigzag32" } ] ], "packet_start_game": [ "container", [ { "name": "entity_id", "type": "zigzag64" }, { "name": "runtime_entity_id", "type": "varint64" }, { "name": "player_gamemode", "type": "GameMode" }, { "name": "spawn", "type": "vec3f" }, { "name": "rotation", "type": "vec2f" }, { "name": "seed", "type": "zigzag32" }, { "name": "biome_type", "type": "li16" }, { "name": "biome_name", "type": "string" }, { "name": "dimension", "type": "zigzag32" }, { "name": "generator", "type": "zigzag32" }, { "name": "world_gamemode", "type": "GameMode" }, { "name": "difficulty", "type": "zigzag32" }, { "name": "spawn_position", "type": "BlockCoordinates" }, { "name": "achievements_disabled", "type": "bool" }, { "name": "day_cycle_stop_time", "type": "zigzag32" }, { "name": "edu_offer", "type": "zigzag32" }, { "name": "edu_features_enabled", "type": "bool" }, { "name": "edu_product_uuid", "type": "string" }, { "name": "rain_level", "type": "lf32" }, { "name": "lightning_level", "type": "lf32" }, { "name": "has_confirmed_platform_locked_content", "type": "bool" }, { "name": "is_multiplayer", "type": "bool" }, { "name": "broadcast_to_lan", "type": "bool" }, { "name": "xbox_live_broadcast_mode", "type": "varint" }, { "name": "platform_broadcast_mode", "type": "varint" }, { "name": "enable_commands", "type": "bool" }, { "name": "is_texturepacks_required", "type": "bool" }, { "name": "gamerules", "type": "GameRules" }, { "name": "experiments", "type": "Experiments" }, { "name": "experiments_previously_used", "type": "bool" }, { "name": "bonus_chest", "type": "bool" }, { "name": "map_enabled", "type": "bool" }, { "name": "permission_level", "type": "zigzag32" }, { "name": "server_chunk_tick_range", "type": "li32" }, { "name": "has_locked_behavior_pack", "type": "bool" }, { "name": "has_locked_resource_pack", "type": "bool" }, { "name": "is_from_locked_world_template", "type": "bool" }, { "name": "msa_gamertags_only", "type": "bool" }, { "name": "is_from_world_template", "type": "bool" }, { "name": "is_world_template_option_locked", "type": "bool" }, { "name": "only_spawn_v1_villagers", "type": "bool" }, { "name": "game_version", "type": "string" }, { "name": "limited_world_width", "type": "li32" }, { "name": "limited_world_length", "type": "li32" }, { "name": "is_new_nether", "type": "bool" }, { "name": "experimental_gameplay_override", "type": "bool" }, { "name": "level_id", "type": "string" }, { "name": "world_name", "type": "string" }, { "name": "premium_world_template_id", "type": "string" }, { "name": "is_trial", "type": "bool" }, { "name": "movement_authority", "type": [ "mapper", { "type": "zigzag32", "mappings": { "0": "client", "1": "server", "2": "server_v2_rewind" } } ] }, { "name": "current_tick", "type": "li64" }, { "name": "enchantment_seed", "type": "zigzag32" }, { "name": "block_palette", "type": "BlockPalette" }, { "name": "itemstates", "type": "Itemstates" }, { "name": "multiplayer_correlation_id", "type": "string" }, { "name": "server_authoritative_inventory", "type": "bool" } ] ], "packet_add_player": [ "container", [ { "name": "uuid", "type": "uuid" }, { "name": "username", "type": "string" }, { "name": "entity_id_self", "type": "zigzag64" }, { "name": "runtime_entity_id", "type": "varint" }, { "name": "platform_chat_id", "type": "string" }, { "name": "x", "type": "lf32" }, { "name": "y", "type": "lf32" }, { "name": "z", "type": "lf32" }, { "name": "speed_x", "type": "lf32" }, { "name": "speed_y", "type": "lf32" }, { "name": "speed_z", "type": "lf32" }, { "name": "pitch", "type": "lf32" }, { "name": "yaw", "type": "lf32" }, { "name": "head_yaw", "type": "lf32" }, { "name": "held_item", "type": "Item" }, { "name": "metadata", "type": "MetadataDictionary" }, { "name": "flags", "type": "varint" }, { "name": "command_permission", "type": "varint" }, { "name": "action_permissions", "type": "varint" }, { "name": "permission_level", "type": "varint" }, { "name": "custom_stored_permissions", "type": "varint" }, { "name": "user_id", "type": "li64" }, { "name": "links", "type": "Links" }, { "name": "device_id", "type": "string" }, { "name": "device_os", "type": "li32" } ] ], "packet_add_entity": [ "container", [ { "name": "entity_id_self", "type": "zigzag64" }, { "name": "runtime_entity_id", "type": "varint" }, { "name": "entity_type", "type": "string" }, { "name": "x", "type": "lf32" }, { "name": "y", "type": "lf32" }, { "name": "z", "type": "lf32" }, { "name": "speed_x", "type": "lf32" }, { "name": "speed_y", "type": "lf32" }, { "name": "speed_z", "type": "lf32" }, { "name": "pitch", "type": "lf32" }, { "name": "yaw", "type": "lf32" }, { "name": "head_yaw", "type": "lf32" }, { "name": "attributes", "type": "EntityAttributes" }, { "name": "metadata", "type": "MetadataDictionary" }, { "name": "links", "type": "Links" } ] ], "packet_remove_entity": [ "container", [ { "name": "entity_id_self", "type": "zigzag64" } ] ], "packet_add_item_entity": [ "container", [ { "name": "entity_id_self", "type": "zigzag64" }, { "name": "runtime_entity_id", "type": "varint" }, { "name": "item", "type": "Item" }, { "name": "x", "type": "lf32" }, { "name": "y", "type": "lf32" }, { "name": "z", "type": "lf32" }, { "name": "speed_x", "type": "lf32" }, { "name": "speed_y", "type": "lf32" }, { "name": "speed_z", "type": "lf32" }, { "name": "metadata", "type": "MetadataDictionary" }, { "name": "is_from_fishing", "type": "bool" } ] ], "packet_take_item_entity": [ "container", [ { "name": "runtime_entity_id", "type": "varint" }, { "name": "target", "type": "varint" } ] ], "packet_move_entity": [ "container", [ { "name": "runtime_entity_id", "type": "varint" }, { "name": "flags", "type": "u8" }, { "name": "position", "type": "vec3f" }, { "name": "rotation", "type": "Rotation" } ] ], "packet_move_player": [ "container", [ { "name": "runtime_id", "type": "varint" }, { "name": "position", "type": "vec3f" }, { "name": "pitch", "type": "lf32" }, { "name": "yaw", "type": "lf32" }, { "name": "head_yaw", "type": "lf32" }, { "name": "mode", "type": [ "mapper", { "type": "u8", "mappings": { "0": "normal", "1": "reset", "2": "teleport", "3": "rotation" } } ] }, { "name": "on_ground", "type": "bool" }, { "name": "ridden_runtime_id", "type": "varint" }, { "name": "teleport", "type": [ "switch", { "compareTo": "mode", "fields": { "teleport": [ "container", [ { "name": "cause", "type": [ "mapper", { "type": "li32", "mappings": { "0": "unknown", "1": "projectile", "2": "chorus_fruit", "3": "command", "4": "behavior" } } ] }, { "name": "source_entity_type", "type": "LegacyEntityType" } ] ] }, "default": "void" } ] }, { "name": "tick", "type": "varint64" } ] ], "packet_rider_jump": [ "container", [ { "name": "jump_strength", "type": "zigzag32" } ] ], "packet_update_block": [ "container", [ { "name": "coordinates", "type": "BlockCoordinates" }, { "name": "block_runtime_id", "type": "varint" }, { "name": "block_priority", "type": "varint" }, { "name": "storage", "type": "varint" } ] ], "packet_add_painting": [ "container", [ { "name": "entity_id_self", "type": "zigzag64" }, { "name": "runtime_entity_id", "type": "varint" }, { "name": "coordinates", "type": "BlockCoordinates" }, { "name": "direction", "type": "zigzag32" }, { "name": "title", "type": "string" } ] ], "packet_tick_sync": [ "container", [ { "name": "request_time", "type": "li64" }, { "name": "response_time", "type": "li64" } ] ], "packet_level_sound_event_old": [ "container", [ { "name": "sound_id", "type": "u8" }, { "name": "position", "type": "vec3f" }, { "name": "block_id", "type": "zigzag32" }, { "name": "entity_type", "type": "zigzag32" }, { "name": "is_baby_mob", "type": "bool" }, { "name": "is_global", "type": "bool" } ] ], "packet_level_event": [ "container", [ { "name": "event", "type": [ "mapper", { "type": "zigzag32", "mappings": { "1000": "sound_click", "1001": "sound_click_fail", "1002": "sound_shoot", "1003": "sound_door", "1004": "sound_fizz", "1005": "sound_ignite", "1007": "sound_ghast", "1008": "sound_ghast_shoot", "1009": "sound_blaze_shoot", "1010": "sound_door_bump", "1012": "sound_door_crash", "1018": "sound_enderman_teleport", "1020": "sound_anvil_break", "1021": "sound_anvil_use", "1022": "sound_anvil_fall", "1030": "sound_pop", "1032": "sound_portal", "1040": "sound_itemframe_add_item", "1041": "sound_itemframe_remove", "1042": "sound_itemframe_place", "1043": "sound_itemframe_remove_item", "1044": "sound_itemframe_rotate_item", "1050": "sound_camera", "1051": "sound_orb", "1052": "sound_totem", "1060": "sound_armor_stand_break", "1061": "sound_armor_stand_hit", "1062": "sound_armor_stand_fall", "1063": "sound_armor_stand_place", "2000": "particle_shoot", "2001": "particle_destroy", "2002": "particle_splash", "2003": "particle_eye_despawn", "2004": "particle_spawn", "2006": "guardian_curse", "2008": "particle_block_force_field", "2009": "particle_projectile_hit", "2013": "particle_enderman_teleport", "2014": "particle_punch_block", "3001": "start_rain", "3002": "start_thunder", "3003": "stop_rain", "3004": "stop_thunder", "3005": "pause_game", "3006": "pause_game_no_screen", "3007": "set_game_speed", "3500": "redstone_trigger", "3501": "cauldron_explode", "3502": "cauldron_dye_armor", "3503": "cauldron_clean_armor", "3504": "cauldron_fill_potion", "3505": "cauldron_take_potion", "3506": "cauldron_fill_water", "3507": "cauldron_take_water", "3508": "cauldron_add_dye", "3509": "cauldron_clean_banner", "3600": "block_start_break", "3601": "block_stop_break", "4000": "set_data", "9800": "players_sleeping", "16384": "add_particle_mask" } } ] }, { "name": "position", "type": "vec3f" }, { "name": "data", "type": "zigzag32" } ] ], "packet_block_event": [ "container", [ { "name": "position", "type": "BlockCoordinates" }, { "name": "type", "type": [ "mapper", { "type": "zigzag32", "mappings": { "0": "sound", "1": "change_state" } } ] }, { "name": "data", "type": "zigzag32" } ] ], "packet_entity_event": [ "container", [ { "name": "runtime_entity_id", "type": "varint" }, { "name": "event_id", "type": [ "mapper", { "type": "u8", "mappings": { "1": "jump", "2": "hurt_animation", "3": "death_animation", "4": "arm_swing", "5": "stop_attack", "6": "tame_fail", "7": "tame_success", "8": "shake_wet", "9": "use_item", "10": "eat_grass_animation", "11": "fish_hook_bubble", "12": "fish_hook_position", "13": "fish_hook_hook", "14": "fish_hook_tease", "15": "squid_ink_cloud", "16": "zombie_villager_cure", "18": "respawn", "19": "iron_golem_offer_flower", "20": "iron_golem_withdraw_flower", "21": "love_particles", "22": "villager_angry", "23": "villager_happy", "24": "witch_spell_particles", "25": "firework_particles", "26": "in_love_particles", "27": "silverfish_spawn_animation", "28": "guardian_attack", "29": "witch_drink_potion", "30": "witch_throw_potion", "31": "minecart_tnt_prime_fuse", "32": "creeper_prime_fuse", "33": "air_supply_expired", "34": "player_add_xp_levels", "35": "elder_guardian_curse", "36": "agent_arm_swing", "37": "ender_dragon_death", "38": "dust_particles", "39": "arrow_shake", "57": "eating_item", "60": "baby_animal_feed", "61": "death_smoke_cloud", "62": "complete_trade", "63": "remove_leash", "65": "consume_totem", "66": "player_check_treasure_hunter_achievement", "67": "entity_spawn", "68": "dragon_puke", "69": "item_entity_merge", "70": "start_swim", "71": "balloon_pop", "72": "treasure_hunt", "73": "agent_summon", "74": "charged_crossbow", "75": "fall" } } ] }, { "name": "data", "type": "zigzag32" } ] ], "packet_mob_effect": [ "container", [ { "name": "runtime_entity_id", "type": "varint" }, { "name": "event_id", "type": "u8" }, { "name": "effect_id", "type": "zigzag32" }, { "name": "amplifier", "type": "zigzag32" }, { "name": "particles", "type": "bool" }, { "name": "duration", "type": "zigzag32" } ] ], "packet_update_attributes": [ "container", [ { "name": "runtime_entity_id", "type": "varint64" }, { "name": "attributes", "type": "PlayerAttributes" }, { "name": "tick", "type": "varint64" } ] ], "packet_inventory_transaction": [ "container", [ { "name": "transaction", "type": "Transaction" } ] ], "packet_mob_equipment": [ "container", [ { "name": "runtime_entity_id", "type": "varint" }, { "name": "item", "type": "Item" }, { "name": "slot", "type": "u8" }, { "name": "selected_slot", "type": "u8" }, { "name": "windows_id", "type": "WindowID" } ] ], "packet_mob_armor_equipment": [ "container", [ { "name": "runtime_entity_id", "type": "varint" }, { "name": "helmet", "type": "Item" }, { "name": "chestplate", "type": "Item" }, { "name": "leggings", "type": "Item" }, { "name": "boots", "type": "Item" } ] ], "packet_interact": [ "container", [ { "name": "action_id", "type": [ "mapper", { "type": "u8", "mappings": { "3": "leave_vehicle", "4": "mouse_over_entity", "6": "open_inventory" } } ] }, { "name": "target_runtime_entity_id", "type": "varint" }, { "name": "position", "type": [ "switch", { "compareTo": "action_id", "fields": { "mouse_over_entity": "vec3f", "leave_vehicle": "vec3f" }, "default": "void" } ] } ] ], "packet_block_pick_request": [ "container", [ { "name": "x", "type": "zigzag32" }, { "name": "y", "type": "zigzag32" }, { "name": "z", "type": "zigzag32" }, { "name": "add_user_data", "type": "bool" }, { "name": "selected_slot", "type": "u8" } ] ], "packet_entity_pick_request": [ "container", [ { "name": "runtime_entity_id", "type": "lu64" }, { "name": "selected_slot", "type": "u8" } ] ], "packet_player_action": [ "container", [ { "name": "runtime_entity_id", "type": "varint" }, { "name": "action", "type": [ "mapper", { "type": "zigzag32", "mappings": { "0": "start_break", "1": "abort_break", "2": "stop_break", "3": "get_updated_block", "4": "drop_item", "5": "start_sleeping", "6": "stop_sleeping", "7": "respawn", "8": "jump", "9": "start_sprint", "10": "stop_sprint", "11": "start_sneak", "12": "stop_sneak", "13": "creative_player_destroy_block", "14": "dimension_change_ack", "15": "start_glide", "16": "stop_glide", "17": "build_denied", "18": "continue_break", "19": "change_skin", "20": "set_enchatnment_seed", "21": "swimming", "22": "stop_swimming", "23": "start_spin_attack", "24": "stop_spin_attack", "25": "ineract_block" } } ] }, { "name": "position", "type": "BlockCoordinates" }, { "name": "face", "type": "zigzag32" } ] ], "packet_hurt_armor": [ "container", [ { "name": "health", "type": "zigzag32" } ] ], "packet_set_entity_data": [ "container", [ { "name": "runtime_entity_id", "type": "varint" }, { "name": "metadata", "type": "MetadataDictionary" }, { "name": "tick", "type": "varint" } ] ], "packet_set_entity_motion": [ "container", [ { "name": "runtime_entity_id", "type": "varint" }, { "name": "velocity", "type": "vec3f" } ] ], "packet_set_entity_link": [ "container", [ { "name": "link", "type": "Link" } ] ], "packet_set_health": [ "container", [ { "name": "health", "type": "zigzag32" } ] ], "packet_set_spawn_position": [ "container", [ { "name": "spawn_type", "type": [ "mapper", { "type": "zigzag32", "mappings": { "0": "player", "1": "world" } } ] }, { "name": "player_position", "type": "BlockCoordinates" }, { "name": "dimension", "type": "zigzag32" }, { "name": "world_position", "type": "BlockCoordinates" } ] ], "packet_animate": [ "container", [ { "name": "action_id", "type": "zigzag32" }, { "name": "runtime_entity_id", "type": "varint" } ] ], "packet_respawn": [ "container", [ { "name": "x", "type": "lf32" }, { "name": "y", "type": "lf32" }, { "name": "z", "type": "lf32" }, { "name": "state", "type": "u8" }, { "name": "runtime_entity_id", "type": "varint" } ] ], "packet_container_open": [ "container", [ { "name": "window_id", "type": "WindowID" }, { "name": "window_type", "type": "WindowType" }, { "name": "coordinates", "type": "BlockCoordinates" }, { "name": "runtime_entity_id", "type": "zigzag64" } ] ], "packet_container_close": [ "container", [ { "name": "window_id", "type": "WindowID" }, { "name": "server", "type": "bool" } ] ], "packet_player_hotbar": [ "container", [ { "name": "selected_slot", "type": "varint" }, { "name": "window_id", "type": "WindowID" }, { "name": "select_slot", "type": "bool" } ] ], "packet_inventory_content": [ "container", [ { "name": "inventory_id", "type": "varint" }, { "name": "input", "type": "ItemStacks" } ] ], "packet_inventory_slot": [ "container", [ { "name": "window_id", "type": "WindowID" }, { "name": "slot", "type": "varint" }, { "name": "item", "type": "ItemStack" } ] ], "packet_container_set_data": [ "container", [ { "name": "window_id", "type": "WindowID" }, { "name": "property", "type": "zigzag32" }, { "name": "value", "type": "zigzag32" } ] ], "packet_crafting_data": [ "container", [ { "name": "recipes", "type": "Recipes" }, { "name": "potion_type_recipes", "type": "PotionTypeRecipes" }, { "name": "potion_container_recipes", "type": "PotionContainerChangeRecipes" }, { "name": "is_clean", "type": "bool" } ] ], "packet_crafting_event": [ "container", [ { "name": "window_id", "type": "WindowID" }, { "name": "recipe_type", "type": [ "mapper", { "type": "zigzag32", "mappings": { "0": "inventory", "1": "crafting", "2": "workbench" } } ] }, { "name": "recipe_id", "type": "uuid" }, { "name": "input", "type": [ "array", { "countType": "varint", "type": "Item" } ] }, { "name": "result", "type": [ "array", { "countType": "varint", "type": "Item" } ] } ] ], "packet_gui_data_pick_item": [ "container", [] ], "packet_adventure_settings": [ "container", [ { "name": "flags", "type": "AdventureFlags" }, { "name": "command_permission", "type": [ "mapper", { "type": "varint32", "mappings": { "0": "normal", "1": "operator", "2": "host", "3": "automation", "4": "admin" } } ] }, { "name": "action_permissions", "type": "ActionPermissions" }, { "name": "permission_level", "type": [ "mapper", { "type": "varint", "mappings": { "0": "visitor", "1": "member", "2": "operator", "3": "custom" } } ] }, { "name": "custom_stored_permissions", "type": "varint" }, { "name": "user_id", "type": "li64" } ] ], "packet_block_entity_data": [ "container", [ { "name": "position", "type": "BlockCoordinates" }, { "name": "nbt", "type": "nbt" } ] ], "packet_player_input": [ "container", [ { "name": "motion_x", "type": "lf32" }, { "name": "motion_z", "type": "lf32" }, { "name": "jumping", "type": "bool" }, { "name": "sneaking", "type": "bool" } ] ], "packet_level_chunk": [ "container", [ { "name": "x", "type": "zigzag32" }, { "name": "z", "type": "zigzag32" }, { "name": "sub_chunk_count", "type": "varint" }, { "name": "cache_enabled", "type": "bool" }, { "name": "blobs", "type": [ "switch", { "compareTo": "cache_enabled", "fields": { "true": [ "container", [ { "name": "hashes", "type": [ "array", { "countType": "varint", "type": "lu64" } ] } ] ] }, "default": "void" } ] }, { "name": "payload", "type": "ByteArray" } ] ], "packet_set_commands_enabled": [ "container", [ { "name": "enabled", "type": "bool" } ] ], "packet_set_difficulty": [ "container", [ { "name": "difficulty", "type": "varint" } ] ], "packet_change_dimension": [ "container", [ { "name": "dimension", "type": "zigzag32" }, { "name": "position", "type": "vec3f" }, { "name": "respawn", "type": "bool" } ] ], "packet_set_player_game_type": [ "container", [ { "name": "gamemode", "type": "GameMode" } ] ], "packet_player_list": [ "container", [ { "name": "records", "type": "PlayerRecords" } ] ], "packet_simple_event": [ "container", [ { "name": "event_type", "type": "lu16" } ] ], "packet_event": [ "container", [ { "name": "runtime_id", "type": "varint64" }, { "name": "event_type", "type": [ "mapper", { "type": "zigzag32", "mappings": { "0": "achievement_awarded", "1": "entity_interact", "2": "portal_built", "3": "portal_used", "4": "mob_killed", "5": "cauldron_used", "6": "player_death", "7": "boss_killed", "8": "agent_command", "9": "agent_created", "10": "banner_pattern_removed", "11": "commaned_executed", "12": "fish_bucketed", "13": "mob_born", "14": "pet_died", "15": "cauldron_block_used", "16": "composter_block_used", "17": "bell_block_used" } } ] }, { "name": "use_player_id", "type": "u8" }, { "name": "event_data", "type": "restBuffer" } ] ], "packet_spawn_experience_orb": [ "container", [ { "name": "position", "type": "vec3f" }, { "name": "count", "type": "zigzag32" } ] ], "packet_clientbound_map_item_data": [ "container", [ { "name": "mapinfo", "type": "MapInfo" } ] ], "packet_map_info_request": [ "container", [ { "name": "map_id", "type": "zigzag64" } ] ], "packet_request_chunk_radius": [ "container", [ { "name": "chunk_radius", "type": "zigzag32" } ] ], "packet_chunk_radius_update": [ "container", [ { "name": "chunk_radius", "type": "zigzag32" } ] ], "packet_item_frame_drop_item": [ "container", [ { "name": "coordinates", "type": "BlockCoordinates" } ] ], "packet_game_rules_changed": [ "container", [ { "name": "rules", "type": "GameRules" } ] ], "packet_camera": [ "container", [ { "name": "camera_entity_unique_id", "type": "zigzag64" }, { "name": "target_player_unique_id", "type": "zigzag64" } ] ], "packet_boss_event": [ "container", [ { "name": "boss_entity_id", "type": "zigzag64" }, { "name": "type", "type": [ "mapper", { "type": "varint", "mappings": { "0": "show_bar", "1": "register_player", "2": "hide_bar", "3": "unregister_player", "4": "set_bar_progress", "5": "set_bar_title", "6": "update_properties", "7": "texture" } } ] }, { "anon": true, "type": [ "switch", { "compareTo": "type", "fields": { "register_player": [ "container", [ { "name": "player_id", "type": "zigzag64" } ] ], "unregister_player": [ "container", [ { "name": "player_id", "type": "zigzag64" } ] ], "show": [ "container", [ { "name": "title", "type": "string" }, { "name": "bar_progress", "type": "lf32" } ] ], "update_properties": [ "container", [ { "name": "darkness_factor", "type": "li16" } ] ], "texture": [ "container", [ { "name": "color", "type": "varint" }, { "name": "overlay", "type": "varint" } ] ], "set_bar_progress": [ "container", [ { "name": "bar_progress", "type": "lf32" } ] ], "set_bar_title": [ "container", [ { "name": "title", "type": "string" } ] ] }, "default": "void" } ] } ] ], "packet_show_credits": [ "container", [ { "name": "runtime_entity_id", "type": "varint" }, { "name": "status", "type": "zigzag32" } ] ], "packet_available_commands": [ "container", [ { "name": "values_len", "type": "varint" }, { "name": "_enum_type", "type": [ "enum_size_based_on_values_len" ] }, { "name": "enum_values", "type": [ "array", { "count": "values_len", "type": "string" } ] }, { "name": "suffixes", "type": [ "array", { "countType": "varint", "type": "string" } ] }, { "name": "enums", "type": [ "array", { "countType": "varint", "type": [ "container", [ { "name": "name", "type": "string" }, { "name": "values", "type": [ "array", { "countType": "varint", "type": [ "switch", { "compareTo": "../_enum_type", "fields": { "byte": "u8", "short": "lu16", "int": "lu32" }, "default": "void" } ] } ] } ] ] } ] }, { "name": "command_data", "type": [ "array", { "countType": "varint", "type": [ "container", [ { "name": "name", "type": "string" }, { "name": "description", "type": "string" }, { "name": "flags", "type": "u8" }, { "name": "permission_level", "type": "u8" }, { "name": "alias", "type": "li32" }, { "name": "overloads", "type": [ "array", { "countType": "varint", "type": [ "array", { "countType": "varint", "type": [ "container", [ { "name": "paramater_name", "type": "string" }, { "name": "value_type", "type": [ "mapper", { "type": "lu16", "mappings": { "1": "int", "2": "float", "3": "value", "4": "wildcard_int", "5": "operator", "6": "target", "14": "file_path", "29": "string", "37": "position", "41": "message", "43": "raw_text", "46": "json", "53": "command" } } ] }, { "name": "enum_type", "type": [ "mapper", { "type": "lu16", "mappings": { "16": "valid", "32": "enum", "256": "suffixed", "1024": "soft_enum" } } ] }, { "name": "optional", "type": "bool" }, { "name": "options", "type": "CommandFlags" } ] ] } ] } ] } ] ] } ] }, { "name": "dynamic_enums", "type": [ "array", { "countType": "varint", "type": [ "container", [ { "name": "name", "type": "string" }, { "name": "values", "type": [ "array", { "countType": "varint", "type": "string" } ] } ] ] } ] }, { "name": "enum_constraints", "type": [ "array", { "countType": "varint", "type": [ "container", [ { "name": "value_index", "type": "li32" }, { "name": "enum_index", "type": "li32" }, { "name": "constraints", "type": [ "array", { "countType": "varint", "type": [ "container", [ { "name": "constraint", "type": [ "mapper", { "type": "u8", "mappings": { "0": "cheats_enabled" } } ] } ] ] } ] } ] ] } ] } ] ], "packet_command_request": [ "container", [ { "name": "command", "type": "string" }, { "name": "origin", "type": "CommandOrigin" }, { "name": "interval", "type": "bool" } ] ], "packet_command_block_update": [ "container", [ { "name": "is_block", "type": "bool" } ] ], "packet_command_output": [ "container", [ { "name": "origin", "type": "CommandOrigin" }, { "name": "output_type", "type": "i8" }, { "name": "success_count", "type": "varint" }, { "name": "output", "type": [ "array", { "countType": "varint", "type": [ "container", [ { "name": "success", "type": "bool" }, { "name": "message_id", "type": "string" }, { "name": "paramaters", "type": [ "array", { "countType": "varint", "type": "string" } ] } ] ] } ] } ] ], "packet_update_trade": [ "container", [ { "name": "window_id", "type": "WindowID" }, { "name": "window_type", "type": "WindowType" }, { "name": "size", "type": "varint" }, { "name": "trade_tier", "type": "varint" }, { "name": "villager_unique_id", "type": "varint64" }, { "name": "entity_unique_id", "type": "varint64" }, { "name": "display_name", "type": "string" }, { "name": "new_trading_ui", "type": "bool" }, { "name": "economic_trades", "type": "bool" }, { "name": "offers", "type": "nbt" } ] ], "packet_update_equipment": [ "container", [ { "name": "window_id", "type": "WindowID" }, { "name": "window_type", "type": "WindowType" }, { "name": "size", "type": "u8" }, { "name": "entity_id", "type": "zigzag64" }, { "name": "inventory", "type": "nbt" } ] ], "packet_resource_pack_data_info": [ "container", [ { "name": "package_id", "type": "string" }, { "name": "max_chunk_size", "type": "lu32" }, { "name": "chunk_count", "type": "lu32" }, { "name": "compressed_package_size", "type": "lu64" }, { "name": "hash", "type": "ByteArray" }, { "name": "is_premium", "type": "bool" }, { "name": "pack_type", "type": "u8" } ] ], "packet_resource_pack_chunk_data": [ "container", [ { "name": "package_id", "type": "string" }, { "name": "chunk_index", "type": "lu32" }, { "name": "progress", "type": "lu64" }, { "name": "payload", "type": "ByteArray" } ] ], "packet_resource_pack_chunk_request": [ "container", [ { "name": "package_id", "type": "string" }, { "name": "chunk_index", "type": "lu32" } ] ], "packet_transfer": [ "container", [ { "name": "server_address", "type": "string" }, { "name": "port", "type": "lu16" } ] ], "packet_play_sound": [ "container", [ { "name": "name", "type": "string" }, { "name": "coordinates", "type": "BlockCoordinates" }, { "name": "volume", "type": "lf32" }, { "name": "pitch", "type": "lf32" } ] ], "packet_stop_sound": [ "container", [ { "name": "name", "type": "string" }, { "name": "stop_all", "type": "bool" } ] ], "packet_set_title": [ "container", [ { "name": "type", "type": "zigzag32" }, { "name": "text", "type": "string" }, { "name": "fade_in_time", "type": "zigzag32" }, { "name": "stay_time", "type": "zigzag32" }, { "name": "fade_out_time", "type": "zigzag32" } ] ], "packet_add_behavior_tree": [ "container", [ { "name": "behaviortree", "type": "string" } ] ], "packet_structure_block_update": [ "container", [] ], "packet_show_store_offer": [ "container", [ { "name": "unknown0", "type": "string" }, { "name": "unknown1", "type": "bool" } ] ], "packet_purchase_receipt": [ "container", [] ], "packet_player_skin": [ "container", [ { "name": "uuid", "type": "uuid" }, { "name": "skin", "type": "Skin" }, { "name": "skin_name", "type": "string" }, { "name": "old_skin_name", "type": "string" }, { "name": "is_verified", "type": "bool" } ] ], "packet_sub_client_login": [ "container", [] ], "packet_initiate_web_socket_connection": [ "container", [ { "name": "server", "type": "string" } ] ], "packet_set_last_hurt_by": [ "container", [ { "name": "unknown", "type": "varint" } ] ], "packet_book_edit": [ "container", [ { "name": "type", "type": [ "mapper", { "type": "u8", "mappings": { "0": "replace_page", "1": "add_page", "2": "delete_page", "3": "swap_pages", "4": "sign" } } ] }, { "name": "slot", "type": "u8" }, { "anon": true, "type": [ "switch", { "compareTo": "type", "fields": { "replace_page": [ "container", [ { "name": "page_number", "type": "u8" }, { "name": "text", "type": "string" }, { "name": "photo_name", "type": "string" } ] ], "add_page": [ "container", [ { "name": "page_number", "type": "u8" }, { "name": "text", "type": "string" }, { "name": "photo_name", "type": "string" } ] ], "delete_page": [ "container", [ { "name": "page_number", "type": "u8" } ] ], "swap_pages": [ "container", [ { "name": "page1", "type": "u8" }, { "name": "page2", "type": "u8" } ] ], "sign": [ "container", [ { "name": "title", "type": "string" }, { "name": "author", "type": "string" }, { "name": "xuid", "type": "string" } ] ] }, "default": "void" } ] } ] ], "packet_npc_request": [ "container", [ { "name": "runtime_entity_id", "type": "varint" }, { "name": "unknown0", "type": "u8" }, { "name": "unknown1", "type": "string" }, { "name": "unknown2", "type": "u8" } ] ], "packet_photo_transfer": [ "container", [ { "name": "file_name", "type": "string" }, { "name": "image_data", "type": "string" }, { "name": "unknown2", "type": "string" } ] ], "packet_modal_form_request": [ "container", [ { "name": "form_id", "type": "varint" }, { "name": "data", "type": "string" } ] ], "packet_modal_form_response": [ "container", [ { "name": "form_id", "type": "varint" }, { "name": "data", "type": "string" } ] ], "packet_server_settings_request": [ "container", [] ], "packet_server_settings_response": [ "container", [ { "name": "form_id", "type": "varint" }, { "name": "data", "type": "string" } ] ], "packet_show_profile": [ "container", [ { "name": "xuid", "type": "string" } ] ], "packet_set_default_game_type": [ "container", [ { "name": "gamemode", "type": "GameMode" } ] ], "packet_remove_objective": [ "container", [ { "name": "objective_name", "type": "string" } ] ], "packet_set_display_objective": [ "container", [ { "name": "display_slot", "type": "string" }, { "name": "objective_name", "type": "string" }, { "name": "display_name", "type": "string" }, { "name": "criteria_name", "type": "string" }, { "name": "sort_order", "type": "zigzag32" } ] ], "packet_set_score": [ "container", [ { "name": "entries", "type": "ScoreEntries" } ] ], "packet_lab_table": [ "container", [ { "name": "useless_byte", "type": "u8" }, { "name": "lab_table_x", "type": "varint" }, { "name": "lab_table_y", "type": "varint" }, { "name": "lab_table_z", "type": "varint" }, { "name": "reaction_type", "type": "u8" } ] ], "packet_update_block_synced": [ "container", [ { "name": "coordinates", "type": "BlockCoordinates" }, { "name": "block_runtime_id", "type": "varint" }, { "name": "block_priority", "type": "varint" }, { "name": "data_layer_id", "type": "varint" }, { "name": "unknown0", "type": "varint" }, { "name": "unknown1", "type": "varint" } ] ], "packet_move_entity_delta": [ "container", [ { "name": "runtime_entity_id", "type": "varint64" }, { "name": "flags", "type": "DeltaMoveFlags" }, { "name": "x", "type": [ "switch", { "compareTo": "flags.has_x", "fields": { "true": "lf32" }, "default": "void" } ] }, { "name": "y", "type": [ "switch", { "compareTo": "flags.has_y", "fields": { "true": "lf32" }, "default": "void" } ] }, { "name": "z", "type": [ "switch", { "compareTo": "flags.has_z", "fields": { "true": "lf32" }, "default": "void" } ] }, { "name": "rot_x", "type": [ "switch", { "compareTo": "flags.has_rot_x", "fields": { "true": "u8" }, "default": "void" } ] }, { "name": "rot_y", "type": [ "switch", { "compareTo": "flags.has_rot_y", "fields": { "true": "u8" }, "default": "void" } ] }, { "name": "rot_z", "type": [ "switch", { "compareTo": "flags.has_rot_z", "fields": { "true": "u8" }, "default": "void" } ] } ] ], "packet_set_scoreboard_identity": [ "container", [ { "name": "entries", "type": "ScoreboardIdentityEntries" } ] ], "packet_set_local_player_as_initialized": [ "container", [ { "name": "runtime_entity_id", "type": "varint64" } ] ], "packet_update_soft_enum": [ "container", [] ], "packet_network_stack_latency": [ "container", [ { "name": "timestamp", "type": "lu64" }, { "name": "unknown_flag", "type": "u8" } ] ], "packet_script_custom_event": [ "container", [ { "name": "event_name", "type": "string" }, { "name": "event_data", "type": "string" } ] ], "packet_spawn_particle_effect": [ "container", [ { "name": "dimension_id", "type": "u8" }, { "name": "entity_id", "type": "zigzag64" }, { "name": "position", "type": "vec3f" }, { "name": "particle_name", "type": "string" } ] ], "packet_available_entity_identifiers": [ "container", [ { "name": "nbt", "type": "nbt" } ] ], "packet_level_sound_event_v2": [ "container", [ { "name": "sound_id", "type": "u8" }, { "name": "position", "type": "vec3f" }, { "name": "block_id", "type": "zigzag32" }, { "name": "entity_type", "type": "string" }, { "name": "is_baby_mob", "type": "bool" }, { "name": "is_global", "type": "bool" } ] ], "packet_network_chunk_publisher_update": [ "container", [ { "name": "coordinates", "type": "BlockCoordinates" }, { "name": "radius", "type": "varint" } ] ], "packet_biome_definition_list": [ "container", [ { "name": "nbt", "type": "nbt" } ] ], "packet_level_sound_event": [ "container", [ { "name": "sound_id", "type": "varint" }, { "name": "position", "type": "vec3f" }, { "name": "block_id", "type": "zigzag32" }, { "name": "entity_type", "type": "string" }, { "name": "is_baby_mob", "type": "bool" }, { "name": "is_global", "type": "bool" } ] ], "packet_level_event_generic": [ "container", [ { "name": "event_id", "type": "varint" }, { "name": "nbt", "type": "nbtLoop" } ] ], "packet_lectern_update": [ "container", [ { "name": "page", "type": "u8" }, { "name": "page_count", "type": "u8" }, { "name": "position", "type": "vec3i" }, { "name": "drop_book", "type": "bool" } ] ], "packet_video_stream_connect": [ "container", [ { "name": "server_uri", "type": "string" }, { "name": "frame_send_frequency", "type": "lf32" }, { "name": "action", "type": "u8" }, { "name": "resolution_x", "type": "li32" }, { "name": "resolution_y", "type": "li32" } ] ], "packet_add_ecs_entity": [ "container", [ { "name": "network_id", "type": "varint64" } ] ], "packet_remove_ecs_entity": [ "container", [ { "name": "network_id", "type": "varint64" } ] ], "packet_client_cache_status": [ "container", [ { "name": "enabled", "type": "bool" } ] ], "packet_on_screen_texture_animation": [ "container", [] ], "packet_map_create_locked_copy": [ "container", [] ], "packet_structure_template_data_export_request": [ "container", [] ], "packet_structure_template_data_export_response": [ "container", [] ], "packet_update_block_properties": [ "container", [ { "name": "nbt", "type": "nbt" } ] ], "packet_client_cache_blob_status": [ "container", [ { "name": "misses", "type": "varint" }, { "name": "haves", "type": "varint" }, { "name": "missing", "type": [ "array", { "count": "misses", "type": "lu64" } ] }, { "name": "have", "type": [ "array", { "count": "haves", "type": "lu64" } ] } ] ], "packet_client_cache_miss_response": [ "container", [ { "name": "blobs", "type": [ "array", { "countType": "varint", "type": "Blob" } ] } ] ], "packet_education_settings": [ "container", [ { "name": "CodeBuilderDefaultURI", "type": "string" }, { "name": "CodeBuilderTitle", "type": "string" }, { "name": "CanResizeCodeBuilder", "type": "bool" }, { "name": "HasOverrideURI", "type": "bool" }, { "name": "OverrideURI", "type": [ "switch", { "compareTo": "HasOverrideURI", "fields": { "true": "string" }, "default": "void" } ] }, { "name": "HasQuiz", "type": "bool" } ] ], "packet_multiplayer_settings": [ "container", [ { "name": "action_type", "type": [ "mapper", { "type": "zigzag32", "mappings": { "0": "enable_multiplayer", "1": "disable_multiplayer", "2": "refresh_join_code" } } ] } ] ], "packet_settings_command": [ "container", [ { "name": "command_line", "type": "string" }, { "name": "suppress_output", "type": "bool" } ] ], "packet_anvil_damage": [ "container", [ { "name": "damage", "type": "u8" }, { "name": "position", "type": "BlockCoordinates" } ] ], "packet_completed_using_item": [ "container", [ { "name": "used_item_id", "type": "li16" }, { "name": "use_method", "type": [ "mapper", { "type": "li32", "mappings": { "0": "equip_armor", "1": "eat", "2": "attack", "3": "consume", "4": "throw", "5": "shoot", "6": "place", "7": "fill_bottle", "8": "fill_bucket", "9": "pour_bucket", "10": "use_tool", "11": "interact", "12": "retrieved", "13": "dyed", "14": "traded" } } ] } ] ], "packet_network_settings": [ "container", [ { "name": "compression_threshold", "type": "u16" } ] ], "packet_player_auth_input": [ "container", [ { "name": "pitch", "type": "lf32" }, { "name": "yaw", "type": "lf32" }, { "name": "position", "type": "vec3f" }, { "name": "move_vector", "type": "vec2f" }, { "name": "head_yaw", "type": "lf32" }, { "name": "input_data", "type": "InputFlag" }, { "name": "input_mode", "type": [ "mapper", { "type": "varint", "mappings": { "0": "mouse", "1": "touch", "2": "game_pad", "3": "motion_controller" } } ] }, { "name": "play_mode", "type": [ "mapper", { "type": "varint", "mappings": { "0": "normal", "1": "teaser", "2": "screen", "3": "viewer", "4": "reality", "5": "placement", "6": "living_room", "7": "exit_level", "8": "exit_level_living_room", "9": "num_modes" } } ] }, { "name": "gaze_direction", "type": [ "switch", { "compareTo": "play_mode", "fields": { "reality": "vec3f" }, "default": "void" } ] }, { "name": "tick", "type": "varint64" }, { "name": "delta", "type": "vec3f" } ] ], "packet_creative_content": [ "container", [ { "name": "items", "type": "ItemStacks" } ] ], "packet_player_enchant_options": [ "container", [ { "name": "enchant_options", "type": "EnchantOptions" } ] ], "packet_item_stack_request": [ "container", [ { "name": "requests", "type": "ItemStackRequests" } ] ], "packet_item_stack_response": [ "container", [ { "name": "responses", "type": "ItemStackResponses" } ] ], "packet_player_armor_damage": [ "container", [ { "name": "type", "type": "ArmorDamageType" }, { "name": "helmet_damage", "type": [ "switch", { "compareTo": "type.head", "fields": { "true": "zigzag32" }, "default": "void" } ] }, { "name": "chestplate_damage", "type": [ "switch", { "compareTo": "type.chest", "fields": { "true": "zigzag32" }, "default": "void" } ] }, { "name": "leggings_damage", "type": [ "switch", { "compareTo": "type.legs", "fields": { "true": "zigzag32" }, "default": "void" } ] }, { "name": "boots_damage", "type": [ "switch", { "compareTo": "types.feet", "fields": { "true": "zigzag32" }, "default": "void" } ] } ] ], "packet_update_player_game_type": [ "container", [ { "name": "gamemode", "type": "GameMode" }, { "name": "player_unique_id", "type": "zigzag64" } ] ], "packet_position_tracking_db_request": [ "container", [ { "name": "action", "type": [ "mapper", { "type": "u8", "mappings": { "0": "query" } } ] }, { "name": "tracking_id", "type": "zigzag32" } ] ], "packet_position_tracking_db_broadcast": [ "container", [ { "name": "broadcast_action", "type": [ "mapper", { "type": "u8", "mappings": { "0": "update", "1": "destory", "2": "not_found" } } ] }, { "name": "tracking_id", "type": "zigzag32" }, { "name": "nbt", "type": "nbt" } ] ], "packet_packet_violation_warning": [ "container", [ { "name": "violation_type", "type": [ "mapper", { "type": "zigzag32", "mappings": { "0": "malformed" } } ] }, { "name": "severity", "type": [ "mapper", { "type": "zigzag32", "mappings": { "0": "warning", "1": "final_warning", "2": "terminating" } } ] }, { "name": "packet_id", "type": "zigzag32" }, { "name": "reason", "type": "string" } ] ], "packet_motion_prediction_hints": [ "container", [ { "name": "entity_runtime_id", "type": "varint64" }, { "name": "velocity", "type": "vec3f" }, { "name": "on_ground", "type": "bool" } ] ], "packet_animate_entity": [ "container", [ { "name": "animation", "type": "string" }, { "name": "next_state", "type": "string" }, { "name": "stop_condition", "type": "string" }, { "name": "controller", "type": "string" }, { "name": "blend_out_time", "type": "lf32" }, { "name": "runtime_entity_ids", "type": [ "array", { "countType": "varint", "type": "varint64" } ] } ] ], "packet_camera_shake": [ "container", [ { "name": "intensity", "type": "lf32" }, { "name": "duration", "type": "lf32" }, { "name": "type", "type": "u8" } ] ], "packet_player_fog": [ "container", [ { "name": "stack", "type": [ "array", { "countType": "varint", "type": "string" } ] } ] ], "packet_correct_player_move_prediction": [ "container", [ { "name": "position", "type": "vec3f" }, { "name": "delta", "type": "vec3f" }, { "name": "on_ground", "type": "bool" }, { "name": "tick", "type": "varint64" } ] ], "packet_item_component": [ "container", [ { "name": "entries", "type": "ItemComponentList" } ] ], "packet_filter_text_packet": [ "container", [ { "name": "text", "type": "string" }, { "name": "from_server", "type": "bool" } ] ], "string": [ "pstring", { "countType": "varint" } ], "ByteArray": [ "buffer", { "countType": "varint" } ], "SignedByteArray": [ "buffer", { "countType": "zigzag32" } ], "LittleString": [ "pstring", { "countType": "li32" } ], "AdventureFlags": [ "bitflags", { "type": "varint", "flags": { "world_immutable": 1, "no_pvp": 2, "auto_jump": 32, "allow_flight": 64, "no_clip": 128, "world_builder": 256, "flying": 512, "muted": 1024 } } ], "ActionPermissions": [ "bitflags", { "type": "varint", "flags": { "build_and_mine": 65537, "doors_and_switches": 65538, "open_containers": 65540, "attack_players": 65544, "attack_mobs": 65552, "operator": 65568, "teleport": 65664 } } ], "CommandFlags": [ "bitfield", [ { "name": "unused", "size": 6, "signed": false }, { "name": "has_semantic_constraint", "size": 1, "signed": false }, { "name": "collapse_enum", "size": 1, "signed": false } ] ], "DeltaMoveFlags": [ "bitflags", { "type": "lu16", "flags": { "has_x": 1, "has_y": 2, "has_z": 4, "has_rot_x": 8, "has_rot_y": 16, "has_rot_z": 32, "on_ground": 64, "teleport": 128, "force_move": 256 } } ], "InputFlag": [ "bitflags", { "type": "varint", "flags": { "ascend": 1, "descend": 2, "north_jump": 4, "jump_down": 8, "sprint_down": 16, "change_height": 32, "jumping": 64, "auto_jumping_in_water": 128, "sneaking": 256, "sneak_down": 512, "up": 1024, "down": 2048, "left": 4096, "right": 8192, "up_left": 16384, "up_right": 32768, "want_up": 65536, "want_down": 131072, "want_down_slow": 262144, "want_up_slow": 524288, "sprinting": 1048576, "ascend_scaffolding": 2097152, "descend_scaffolding": 4194304, "sneak_toggle_down": 8388608, "persist_sneak": 16777216 } } ], "ArmorDamageType": [ "bitflags", { "type": "u8", "flags": { "head": 1, "chest": 2, "legs": 4, "feet": 8 } } ] } }