bedrock-protocol/data/protocol.json
2016-03-06 16:27:20 -05:00

1823 lines
37 KiB
JSON

{
"types": {
"string": [
"pstring",
{
"countType":"short"
}
],
"shapeless_recipe": [
"container",
[
{
"name":"ingredientList",
"type":
[
"array",
{
"countType":"i32",
"type":"slot"
}
]
},
{
"name": "resultCount",
"type": "i32"
},
{
"name": "slot",
"type": "slot"
},
{
"name": "id",
"type": "uuid"
}
]
],
"shaped_recipe": [
"container",
[
{
"name": "width",
"type": [
"count", {
"type": "i32",
"countFor": "shape"
}
]
},
{
"name": "height",
"type": [
"count",
{
"type": "i32",
"countFor": "shape/0"
}
]
},
{
"name": "shape",
"type": [
"array",
{
"count": "width",
"type": [
"array",
{
"count": "height",
"type": "slot"
}
]
}
]
},
{
"name": "resultCount",
"type": "i32"
},
{
"name": "slot",
"type": "slot"
},
{
"name": "id",
"type": "uuid"
}
]
],
"furnace_recipe": [
"container",
[
{
"name": "meta",
"type": "short"
},
{
"name": "id",
"type": "short"
},
{
"name": "result",
"type": "slot"
}
]
],
"furnace_recipe_data": [
"container",
[
{
"name": "id",
"type": "short"
},
{
"name": "meta",
"type": "short"
},
{
"name": "result",
"type": "slot"
}
]
],
"enchant_list": [
"array",
{
"countType": "i8",
"type": [
"container",
{
"name": "cost",
"type": "i32"
},
{
"name": "enchantments",
"type": [
"array",
{
"countType": "i8",
"type": [
"container",
{
"name": "id",
"type": "i32"
},
{
"name": "level",
"id": "i32"
}
]
}
]
},
{
"name": "name",
"type": "string"
}
]
}
],
"recipes": [
"container",
[
{
"name": "entryType",
"type": "i32"
},
{
"name": "recipe",
"type": [
"array",
{
"countType": "i32",
"type": [
"switch",
{
"compareTo": "entryType",
"fields": {
"0": "shapeless_recipe",
"1": "shaped_recipe",
"2": "furnace_recipe",
"3": "furnace_recipe_data",
"4": "enchant_list"
}
}
]
}
]
},
{
"name": "cleanRecipes",
"type": "i8"
}
]
],
"metadataints": [
"switch",
{
"compareTo": "window_id",
"fields": {
"0": [
"array",
{
"countType":"i16",
"type": [
"container",
[
{
"name": "slot",
"type": "i32"
}
]
]
}
]
},
"default": "i16"
}
],
"entityMetadataItem": [
"switch",
{
"compareTo": "$compareTo",
"fields": {
"0": "i8",
"1": "i16",
"2": "i32",
"3": "f32",
"4": "string",
"5": "slot",
"6": [
"container",
[
{
"name": "x",
"type": "i32"
},
{
"name": "y",
"type": "i32"
},
{
"name": "z",
"type": "i32"
}
]
],
"7": [
"container",
[
{
"name": "pitch",
"type": "f32"
},
{
"name": "yaw",
"type": "f32"
},
{
"name": "roll",
"type": "f32"
}
]
],
"8": "i64"
}
}
],
"metadatadictionary": [
"entityMetadataLoop",
{
"endVal": 127,
"type": [
"container",
[
{
"anon": true,
"type": [
"bitfield",
[
{
"name": "type",
"size": 3,
"signed": false
},
{
"name": "key",
"size": 5,
"signed": false
}
]
]
},
{
"name": "value",
"type": [
"entityMetadataItem",
{
"compareTo": "type"
}
]
}
]
]
}
],
"slot": [
"container",
[
{
"name": "blockId",
"type": "i16"
},
{
"anon": true,
"type": [
"switch",
{
"compareTo": "blockId",
"fields": {
"0": "void"
},
"default": [
"container",
[
{
"name": "itemCount",
"type": "i8"
},
{
"name": "itemDamage",
"type": "i16"
},
{
"name": "nbtData",
"type": "nbt"
}
]
]
}
]
}
]
],
"itemstacks": [
"array",
{
"countType":"i16",
"type": [
"container",
[
{
"name": "slot",
"type": "slot"
}
]
]
}
],
"skin": [
"container",
[
{
"name": "skinType",
"type": "string"
},
{
"name": "texture",
"type": "string"
}
]
],
"blockrecords": [
"array",
{
"countType":"i16",
"type": [
"container",
[
{
"name": "x",
"type": "i32"
},
{
"name": "y",
"type": "i32"
},
{
"name": "z",
"type": "i8"
},
{
"anon": true,
"type": [
"bitfield",
[
{
"name": "blockData",
"size": 4,
"signed": false
},
{
"name": "flags",
"size": 4,
"signed": false
}
]
]
}
]
]
}
],
"records": [
"array",
{
"countType":"i16",
"type": [
"container",
[
{
"name": "x",
"type": "i8"
},
{
"name": "y",
"type": "i8"
},
{
"name": "z",
"type": "i8"
}
]
]
}
],
"playerrecords": [
"switch",
{
"compareTo": "type",
"fields": {
"0": [
"container",
[
{
"name": "clientUuid",
"type": "uuid"
},
{
"name": "entityId",
"type": "i64"
},
{
"name": "displayName",
"type": "string"
},
{
"name": "skinType",
"type": "string"
},
{
"name": "textures",
"type": "string"
}
]
],
"1": [
"container",
[
{
"name": "clientUuid",
"type": "uuid"
}
]
]
}
}
],
"playerattributes": [
"array",
{
"countType":"i16",
"type": [
"container",
[
{
"name": "minValue",
"type": "f32"
},
{
"name": "maxValue",
"type": "f32"
},
{
"name": "id",
"type": "f32"
},
{
"name": "name",
"type": "string"
}
]
]
}
],
"entitymotions": [
"array",
{
"countType":"i16",
"type": [
"container",
[
{
"name": "eid",
"type": "i64"
},
{
"name": "motX",
"type": "f32"
},
{
"name": "motY",
"type": "f32"
},
{
"name": "motZ",
"type": "f32"
}
]
]
}
],
"vector3": [
"container",
[
{
"name": "x",
"type": "f32"
},
{
"name": "y",
"type": "f32"
},
{
"name": "z",
"type": "f32"
}
]
],
"blockcoordinates": [
"container",
[
{
"name": "x",
"type": "i32"
},
{
"name": "y",
"type": "i32"
},
{
"name": "z",
"type": "i32"
}
]
],
"entitylocations": [
"array",
{
"countType":"i16",
"type": [
"container",
[
{
"name": "eid",
"type": "i64"
},
{
"name": "x",
"type": "f32"
},
{
"name": "y",
"type": "f32"
},
{
"name": "z",
"type": "f32"
},
{
"name": "yaw",
"type": "f32"
},
{
"name": "headYaw",
"type": "f32"
},
{
"name": "pitch",
"type": "f32"
}
]
]
}
],
"packet": [
"container",
[
{
"name": "name",
"type": [
"mapper",
{
"type": "u8",
"mappings": {
"0x04": "id_detect_lost_connections",
"0x14": "id_no_free_incoming_connections",
"0x17": "id_connection_banned",
"0x1A": "id_ip_recently_connected",
"0x8f": "mcpe_login",
"0x90": "mcpe_player_status",
"0x91": "mcpe_disconnect",
"0x92": "mcpe_batch",
"0x93": "mcpe_text",
"0x94": "mcpe_set_time",
"0x95": "mcpe_start_game",
"0x96": "mcpe_add_player",
"0x97": "mcpe_remove_player",
"0x98": "mcpe_add_entity",
"0x99": "mcpe_remove_entity",
"0x9a": "mcpe_add_item_entity",
"0x9b": "mcpe_take_item_entity",
"0x9c": "mcpe_move_entity",
"0x9d": "mcpe_move_player",
"0x9e": "mcpe_remove_block",
"0x9f": "mcpe_update_block",
"0xa0": "mcpe_add_painting",
"0xa1": "mcpe_explode",
"0xa2": "mcpe_level_event",
"0xa3": "mcpe_tile_event",
"0xa4": "mcpe_entity_event",
"0xa5": "mcpe_mob_effect",
"0xa6": "mcpe_update_attributes",
"0xa7": "mcpe_player_equipment",
"0xa8": "mcpe_player_armor_equipment",
"0xa9": "mcpe_interact",
"0xaa": "mcpe_use_item",
"0xab": "mcpe_player_action",
"0xac": "mcpe_hurt_armor",
"0xad": "mcpe_set_entity_data",
"0xae": "mcpe_set_entity_motion",
"0xaf": "mcpe_set_entity_link",
"0xb0": "mcpe_set_health",
"0xb1": "mcpe_set_spawn_position",
"0xb2": "mcpe_animate",
"0xb3": "mcpe_respawn",
"0xb4": "mcpe_drop_item",
"0xb5": "mcpe_container_open",
"0xb6": "mcpe_container_close",
"0xb7": "mcpe_container_set_slot",
"0xb8": "mcpe_container_set_data",
"0xb9": "mcpe_container_set_content",
"0xba": "mcpe_crafting_data",
"0xbb": "mcpe_crafting_event",
"0xbc": "mcpe_adventure_settings",
"0xbd": "mcpe_tile_entity_data",
"0xbf": "mcpe_full_chunk_data",
"0xc0": "mcpe_set_difficulty",
"0xc3": "mcpe_player_list",
"0xc8": "mcpe_request_chunk_radius",
"0xc9": "mcpe_chunk_radius_update",
"0x1b": "mcpe_transfer",
"0xc5": "mcpe_spawn_experience_orb"
}
}
]
},
{
"name": "params",
"type": [
"switch",
{
"compareTo": "name",
"fields": {
"id_detect_lost_connections": "packet_id_detect_lost_connections",
"id_no_free_incoming_connections": "packet_id_no_free_incoming_connections",
"id_connection_banned": "packet_id_connection_banned",
"id_ip_recently_connected": "packet_id_ip_recently_connected",
"mcpe_login": "packet_mcpe_login",
"mcpe_player_status": "packet_mcpe_player_status",
"mcpe_disconnect": "packet_mcpe_disconnect",
"mcpe_batch": "packet_mcpe_batch",
"mcpe_text": "packet_mcpe_text",
"mcpe_set_time": "packet_mcpe_set_time",
"mcpe_start_game": "packet_mcpe_start_game",
"mcpe_add_player": "packet_mcpe_add_player",
"mcpe_remove_player": "packet_mcpe_remove_player",
"mcpe_add_entity": "packet_mcpe_add_entity",
"mcpe_remove_entity": "packet_mcpe_remove_entity",
"mcpe_add_item_entity": "packet_mcpe_add_item_entity",
"mcpe_take_item_entity": "packet_mcpe_take_item_entity",
"mcpe_move_entity": "packet_mcpe_move_entity",
"mcpe_move_player": "packet_mcpe_move_player",
"mcpe_remove_block": "packet_mcpe_remove_block",
"mcpe_update_block": "packet_mcpe_update_block",
"mcpe_add_painting": "packet_mcpe_add_painting",
"mcpe_explode": "packet_mcpe_explode",
"mcpe_level_event": "packet_mcpe_level_event",
"mcpe_tile_event": "packet_mcpe_tile_event",
"mcpe_entity_event": "packet_mcpe_entity_event",
"mcpe_mob_effect": "packet_mcpe_mob_effect",
"mcpe_update_attributes": "packet_mcpe_update_attributes",
"mcpe_player_equipment": "packet_mcpe_player_equipment",
"mcpe_player_armor_equipment": "packet_mcpe_player_armor_equipment",
"mcpe_interact": "packet_mcpe_interact",
"mcpe_use_item": "packet_mcpe_use_item",
"mcpe_player_action": "packet_mcpe_player_action",
"mcpe_hurt_armor": "packet_mcpe_hurt_armor",
"mcpe_set_entity_data": "packet_mcpe_set_entity_data",
"mcpe_set_entity_motion": "packet_mcpe_set_entity_motion",
"mcpe_set_entity_link": "packet_mcpe_set_entity_link",
"mcpe_set_health": "packet_mcpe_set_health",
"mcpe_set_spawn_position": "packet_mcpe_set_spawn_position",
"mcpe_animate": "packet_mcpe_animate",
"mcpe_respawn": "packet_mcpe_respawn",
"mcpe_drop_item": "packet_mcpe_drop_item",
"mcpe_container_open": "packet_mcpe_container_open",
"mcpe_container_close": "packet_mcpe_container_close",
"mcpe_container_set_slot": "packet_mcpe_container_set_slot",
"mcpe_container_set_data": "packet_mcpe_container_set_data",
"mcpe_container_set_content": "packet_mcpe_container_set_content",
"mcpe_crafting_data": "packet_mcpe_crafting_data",
"mcpe_crafting_event": "packet_mcpe_crafting_event",
"mcpe_adventure_settings": "packet_mcpe_adventure_settings",
"mcpe_tile_entity_data": "packet_mcpe_tile_entity_data",
"mcpe_full_chunk_data": "packet_mcpe_full_chunk_data",
"mcpe_set_difficulty": "packet_mcpe_set_difficulty",
"mcpe_player_list": "packet_mcpe_player_list",
"mcpe_request_chunk_radius": "packet_mcpe_request_chunk_radius",
"mcpe_chunk_radius_update": "packet_mcpe_chunk_radius_update",
"mcpe_transfer": "packet_mcpe_transfer",
"mcpe_spawn_experience_orb": "packet_mcpe_spawn_experience_orb"
}
}
]
}
]
],
"packet_id_detect_lost_connections": [
"container",
[]
],
"packet_id_no_free_incoming_connections": [
"container",
[]
],
"packet_id_connection_banned": [
"container",
[]
],
"packet_id_ip_recently_connected": [
"container",
[]
],
"packet_mcpe_login": [
"container",
[
{
"name": "username",
"type": "string"
},
{
"name": "protocol",
"type": "i32"
},
{
"name": "protocol2",
"type": "i32"
},
{
"name": "client_id",
"type": "i64"
},
{
"name": "client_uuid",
"type": "uuid"
},
{
"name": "server_address",
"type": "string"
},
{
"name": "client_secret",
"type": "string"
},
{
"name": "skin",
"type": "skin"
}
]
],
"packet_mcpe_player_status": [
"container",
[
{
"name": "status",
"type": "i32"
}
]
],
"packet_mcpe_disconnect": [
"container",
[
{
"name": "message",
"type": "string"
}
]
],
"packet_mcpe_batch": [
"container",
[
{
"name": "payload_size",
"type": "i32"
},
{
"name": "payload",
"type":["buffer",{"countType":"i16"}]
}
]
],
"packet_mcpe_text": [
"container",
[
{
"name": "type",
"type": "i8"
}
]
],
"packet_mcpe_set_time": [
"container",
[
{
"name": "time",
"type": "i32"
},
{
"name": "started",
"type": "i8"
}
]
],
"packet_mcpe_start_game": [
"container",
[
{
"name": "seed",
"type": "i32"
},
{
"name": "dimension",
"type": "i8"
},
{
"name": "generator",
"type": "i32"
},
{
"name": "gamemode",
"type": "i32"
},
{
"name": "entity_id",
"type": "i64"
},
{
"name": "spawn_x",
"type": "i32"
},
{
"name": "spawn_y",
"type": "i32"
},
{
"name": "spawn_z",
"type": "i32"
},
{
"name": "x",
"type": "f32"
},
{
"name": "y",
"type": "f32"
},
{
"name": "z",
"type": "f32"
},
{
"name": "unknown",
"type": "i8"
}
]
],
"packet_mcpe_add_player": [
"container",
[
{
"name": "uuid",
"type": "uuid"
},
{
"name": "username",
"type": "string"
},
{
"name": "entity_id",
"type": "i64"
},
{
"name": "x",
"type": "f32"
},
{
"name": "y",
"type": "f32"
},
{
"name": "z",
"type": "f32"
},
{
"name": "speed_x",
"type": "f32"
},
{
"name": "speed_y",
"type": "f32"
},
{
"name": "speed_z",
"type": "f32"
},
{
"name": "yaw",
"type": "f32"
},
{
"name": "head_yaw",
"type": "f32"
},
{
"name": "pitch",
"type": "f32"
},
{
"name": "item",
"type": "slot"
},
{
"name": "metadata",
"type": "metadatadictionary"
}
]
],
"packet_mcpe_remove_player": [
"container",
[
{
"name": "entity_id",
"type": "i64"
},
{
"name": "client_uuid",
"type": "uuid"
}
]
],
"packet_mcpe_add_entity": [
"container",
[
{
"name": "entity_id",
"type": "i64"
},
{
"name": "entity_type",
"type": "i32"
},
{
"name": "x",
"type": "f32"
},
{
"name": "y",
"type": "f32"
},
{
"name": "z",
"type": "f32"
},
{
"name": "speed_x",
"type": "f32"
},
{
"name": "speed_y",
"type": "f32"
},
{
"name": "speed_z",
"type": "f32"
},
{
"name": "yaw",
"type": "f32"
},
{
"name": "pitch",
"type": "f32"
},
{
"name": "metadata",
"type": "metadatadictionary"
},
{
"name": "links",
"type": "i16"
}
]
],
"packet_mcpe_remove_entity": [
"container",
[
{
"name": "entity_id",
"type": "i64"
}
]
],
"packet_mcpe_add_item_entity": [
"container",
[
{
"name": "entity_id",
"type": "i64"
},
{
"name": "item",
"type": "slot"
},
{
"name": "x",
"type": "f32"
},
{
"name": "y",
"type": "f32"
},
{
"name": "z",
"type": "f32"
},
{
"name": "speed_x",
"type": "f32"
},
{
"name": "speed_y",
"type": "f32"
},
{
"name": "speed_z",
"type": "f32"
}
]
],
"packet_mcpe_take_item_entity": [
"container",
[
{
"name": "target",
"type": "i64"
},
{
"name": "entity_id",
"type": "i64"
}
]
],
"packet_mcpe_move_entity": [
"container",
[
{
"name": "entities",
"type": "entitylocations"
}
]
],
"packet_mcpe_move_player": [
"container",
[
{
"name": "entity_id",
"type": "i64"
},
{
"name": "x",
"type": "f32"
},
{
"name": "y",
"type": "f32"
},
{
"name": "z",
"type": "f32"
},
{
"name": "yaw",
"type": "f32"
},
{
"name": "head_yaw",
"type": "f32"
},
{
"name": "pitch",
"type": "f32"
},
{
"name": "mode",
"type": "i8"
},
{
"name": "on_ground",
"type": "i8"
}
]
],
"packet_mcpe_remove_block": [
"container",
[
{
"name": "entity_id",
"type": "i64"
},
{
"name": "x",
"type": "i32"
},
{
"name": "z",
"type": "i32"
},
{
"name": "y",
"type": "i8"
}
]
],
"packet_mcpe_update_block": [
"container",
[
{
"name": "blocks",
"type": "blockrecords"
}
]
],
"packet_mcpe_add_painting": [
"container",
[
{
"name": "entity_id",
"type": "i64"
},
{
"name": "x",
"type": "i32"
},
{
"name": "y",
"type": "i32"
},
{
"name": "z",
"type": "i32"
},
{
"name": "direction",
"type": "i32"
},
{
"name": "title",
"type": "string"
}
]
],
"packet_mcpe_explode": [
"container",
[
{
"name": "x",
"type": "f32"
},
{
"name": "y",
"type": "f32"
},
{
"name": "z",
"type": "f32"
},
{
"name": "radius",
"type": "f32"
},
{
"name": "records",
"type": "records"
}
]
],
"packet_mcpe_level_event": [
"container",
[
{
"name": "event_id",
"type": "i16"
},
{
"name": "x",
"type": "f32"
},
{
"name": "y",
"type": "f32"
},
{
"name": "z",
"type": "f32"
},
{
"name": "data",
"type": "i32"
}
]
],
"packet_mcpe_tile_event": [
"container",
[
{
"name": "x",
"type": "i32"
},
{
"name": "y",
"type": "i32"
},
{
"name": "z",
"type": "i32"
},
{
"name": "case_1",
"type": "i32"
},
{
"name": "case_2",
"type": "i32"
}
]
],
"packet_mcpe_entity_event": [
"container",
[
{
"name": "entity_id",
"type": "i64"
},
{
"name": "event_id",
"type": "i8"
}
]
],
"packet_mcpe_mob_effect": [
"container",
[
{
"name": "entity_id",
"type": "i64"
},
{
"name": "event_id",
"type": "i8"
},
{
"name": "effect_id",
"type": "i8"
},
{
"name": "amplifier",
"type": "i8"
},
{
"name": "particles",
"type": "i8"
},
{
"name": "duration",
"type": "i32"
}
]
],
"packet_mcpe_update_attributes": [
"container",
[
{
"name": "entity_id",
"type": "i64"
},
{
"name": "attributes",
"type": "playerattributes"
}
]
],
"packet_mcpe_player_equipment": [
"container",
[
{
"name": "entity_id",
"type": "i64"
},
{
"name": "item",
"type": "slot"
},
{
"name": "slot",
"type": "i8"
},
{
"name": "selected_slot",
"type": "i8"
}
]
],
"packet_mcpe_player_armor_equipment": [
"container",
[
{
"name": "entity_id",
"type": "i64"
},
{
"name": "helmet",
"type": "slot"
},
{
"name": "chestplate",
"type": "slot"
},
{
"name": "leggings",
"type": "slot"
},
{
"name": "boots",
"type": "slot"
}
]
],
"packet_mcpe_interact": [
"container",
[
{
"name": "action_id",
"type": "i8"
},
{
"name": "target_entity_id",
"type": "i64"
}
]
],
"packet_mcpe_use_item": [
"container",
[
{
"name": "blockcoordinates",
"type": "blockcoordinates"
},
{
"name": "face",
"type": "i8"
},
{
"name": "facecoordinates",
"type": "vector3"
},
{
"name": "playerposition",
"type": "vector3"
},
{
"name": "item",
"type": "slot"
}
]
],
"packet_mcpe_player_action": [
"container",
[
{
"name": "entity_id",
"type": "i64"
},
{
"name": "action_id",
"type": "i32"
},
{
"name": "x",
"type": "i32"
},
{
"name": "y",
"type": "i32"
},
{
"name": "z",
"type": "i32"
},
{
"name": "face",
"type": "i32"
}
]
],
"packet_mcpe_hurt_armor": [
"container",
[
{
"name": "health",
"type": "i8"
}
]
],
"packet_mcpe_set_entity_data": [
"container",
[
{
"name": "entity_id",
"type": "i64"
},
{
"name": "metadata",
"type": "metadatadictionary"
}
]
],
"packet_mcpe_set_entity_motion": [
"container",
[
{
"name": "entities",
"type": "entitymotions"
}
]
],
"packet_mcpe_set_entity_link": [
"container",
[
{
"name": "rider_id",
"type": "i64"
},
{
"name": "ridden_id",
"type": "i64"
},
{
"name": "link_type",
"type": "i8"
}
]
],
"packet_mcpe_set_health": [
"container",
[
{
"name": "health",
"type": "i32"
}
]
],
"packet_mcpe_set_spawn_position": [
"container",
[
{
"name": "x",
"type": "i32"
},
{
"name": "z",
"type": "i32"
},
{
"name": "y",
"type": "i32"
}
]
],
"packet_mcpe_animate": [
"container",
[
{
"name": "action_id",
"type": "i8"
},
{
"name": "entity_id",
"type": "i64"
}
]
],
"packet_mcpe_respawn": [
"container",
[
{
"name": "x",
"type": "f32"
},
{
"name": "y",
"type": "f32"
},
{
"name": "z",
"type": "f32"
}
]
],
"packet_mcpe_drop_item": [
"container",
[
{
"name": "itemtype",
"type": "i8"
},
{
"name": "item",
"type": "slot"
}
]
],
"packet_mcpe_container_open": [
"container",
[
{
"name": "window_id",
"type": "i8"
},
{
"name": "type",
"type": "i8"
},
{
"name": "slot_count",
"type": "i16"
},
{
"name": "x",
"type": "i32"
},
{
"name": "y",
"type": "i32"
},
{
"name": "z",
"type": "i32"
}
]
],
"packet_mcpe_container_close": [
"container",
[
{
"name": "window_id",
"type": "i8"
}
]
],
"packet_mcpe_container_set_slot": [
"container",
[
{
"name": "window_id",
"type": "i8"
},
{
"name": "slot",
"type": "i16"
},
{
"name": "unknown",
"type": "i16"
},
{
"name": "item",
"type": "slot"
}
]
],
"packet_mcpe_container_set_data": [
"container",
[
{
"name": "window_id",
"type": "i8"
},
{
"name": "property",
"type": "i16"
},
{
"name": "value",
"type": "i16"
}
]
],
"packet_mcpe_container_set_content": [
"container",
[
{
"name": "window_id",
"type": "i8"
},
{
"name": "slot_data",
"type": "itemstacks"
},
{
"name": "hotbar_data",
"type": "metadataints"
}
]
],
"packet_mcpe_crafting_data": [
"container",
[
{
"name": "recipes",
"type": "recipes"
},
{
"name": "cleanRecipes",
"type": "i8"
}
]
],
"packet_mcpe_crafting_event": [
"container",
[
{
"name": "window_id",
"type": "i8"
},
{
"name": "recipe_type",
"type": "i32"
},
{
"name": "recipe_id",
"type": "uuid"
},
{
"name": "input",
"type": "itemstacks"
},
{
"name": "result",
"type": "itemstacks"
}
]
],
"packet_mcpe_adventure_settings": [
"container",
[
{
"name": "flags",
"type": "i32"
}
]
],
"packet_mcpe_tile_entity_data": [
"container",
[
{
"name": "x",
"type": "i32"
},
{
"name": "y",
"type": "i32"
},
{
"name": "z",
"type": "i32"
},
{
"name": "namedtag",
"type": "nbt"
}
]
],
"packet_mcpe_full_chunk_data": [
"container",
[
{
"name": "chunk_x",
"type": "i32"
},
{
"name": "chunk_z",
"type": "i32"
},
{
"name": "order",
"type": "i8"
},
{
"name": "chunk_data_length",
"type": "i32"
},
{
"name": "chunk_data",
"type":["buffer",{"countType":"i16"}]
}
]
],
"packet_mcpe_set_difficulty": [
"container",
[
{
"name": "difficulty",
"type": "i32"
}
]
],
"packet_mcpe_player_list": [
"container",
[
{
"name": "type",
"type": "i8"
},
{
"name": "records",
"type": "playerrecords"
}
]
],
"packet_mcpe_request_chunk_radius": [
"container",
[
{
"name": "chunk_radius",
"type": "i32"
}
]
],
"packet_mcpe_chunk_radius_update": [
"container",
[
{
"name": "chunk_radius",
"type": "i32"
}
]
],
"packet_mcpe_transfer": [
"container",
[
{
"name": "endpoint",
"type": "ipAddress"
}
]
],
"packet_mcpe_spawn_experience_orb": [
"container",
[
{
"name": "entity_id",
"type": "i64"
},
{
"name": "x",
"type": "i32"
},
{
"name": "y",
"type": "i32"
},
{
"name": "z",
"type": "i32"
},
{
"name": "count",
"type": "i32"
}
]
]
}
}