UNPKG

minecraft-data

Version:
1,814 lines (1,813 loc) 73.8 kB
!version: 1.20.3 !StartDocs: true ^types: varint: native varlong: native optvarint: varint pstring: native buffer: native u8: native u16: native u32: native u64: native i8: native i16: native i32: native i64: native bool: native f32: native f64: native UUID: native option: native entityMetadataLoop: native topBitSetTerminatedArray: native bitfield: native bitflags: native container: native switch: native void: native array: native restBuffer: native anonymousNbt: native anonOptionalNbt: native registryEntryHolder: native registryEntryHolderSet: native ByteArray: ["buffer", { "countType": "varint" }] string: ["pstring", { "countType": "varint" }] vec3f: x: f32 y: f32 z: f32 vec4f: x: f32 y: f32 z: f32 w: f32 vec3f64: x: f64 y: f64 z: f64 ItemSoundEvent: soundName: string fixedRange?: f32 ItemSoundHolder: ["registryEntryHolder", { "baseName": "soundId", "otherwise": { name: "data", type: "ItemSoundEvent" } }] slot: present: bool _: present ? if false: void if true: itemId: varint itemCount: i8 nbtData: anonOptionalNbt Particle: # See client/net/minecraft/core/particles/ParticleTypes.java type: varint => - angry_villager - block - block_marker - bubble - cloud - crit - damage_indicator - dragon_breath - dripping_lava - falling_lava - landing_lava - dripping_water - falling_water - dust - dust_color_transition - effect - elder_guardian - enchanted_hit - enchant - end_rod - entity_effect - explosion_emitter - explosion - gust - small_gust - gust_emitter_large - gust_emitter_small - sonic_boom - falling_dust - firework - fishing - flame - infested - cherry_leaves - sculk_soul - sculk_charge - sculk_charge_pop - soul_fire_flame - soul - flash - happy_villager - composter - heart - instant_effect - item - vibration - item_slime - item_cobweb - item_snowball - large_smoke - lava - mycelium - note - poof - portal - rain - smoke - white_smoke - sneeze - spit - squid_ink - sweep_attack - totem_of_undying - underwater - splash - witch - bubble_pop - current_down - bubble_column_up - nautilus - dolphin - campfire_cosy_smoke - campfire_signal_smoke - dripping_honey - falling_honey - landing_honey - falling_nectar - falling_spore_blossom - ash - crimson_spore - warped_spore - spore_blossom_air - dripping_obsidian_tear - falling_obsidian_tear - landing_obsidian_tear - reverse_portal - white_ash - small_flame - snowflake - dripping_dripstone_lava - falling_dripstone_lava - dripping_dripstone_water - falling_dripstone_water - glow_squid_ink - glow - wax_on - wax_off - electric_spark - scrape - shriek - egg_crack - dust_plume - trial_spawner_detected_player - trial_spawner_detected_player_ominous - vault_connection - dust_pillar - ominous_spawning - raid_omen - trial_omen data: particleData: $compareTo ? if 2: blockState: varint if 3: blockState: varint if 14: red: f32 green: f32 blue: f32 scale: f32 if 15: fromRed: f32 fromGreen: f32 fromBlue: f32 scale: f32 toRed: f32 toGreen: f32 toBlue: f32 if 27: blockState: varint if 33: rotation: f32 if 42: item: slot if 43: positionType: string entityId: positionType ? if minecraft:entity: varint default: void entityEyeHeight: positionType ? if minecraft:entity: varint default: void destination: positionType ? if minecraft:block: position if minecraft:entity: varint ticks: varint if 96: delayInTicksBeforeShown: varint default: void ingredient: slot[]varint position: [ "bitfield", [ { "name": "x", "size": 26, "signed": true }, { "name": "z", "size": 26, "signed": true }, { "name": "y", "size": 12, "signed": true } ] ] soundSource: varint => 0: master 1: music 2: record 3: weather 4: block 5: hostile 6: neutral 7: player 8: ambient 9: voice packedChunkPos: z: i32 x: i32 previousMessages: []varint id: varint signature: id ? if 0: [ "buffer", { "count": 256 } ] default: void entityMetadataItem: $compareTo ? if byte: i8 if int: varint if long: varlong if float: f32 if string: string if component: anonymousNbt if optional_component: [ "option", "anonymousNbt" ] if item_stack: slot if boolean: bool if rotations: pitch: f32 yaw: f32 roll: f32 if block_pos: position if optional_block_pos: [ "option", "position" ] if direction: varint if optional_uuid: [ "option", "UUID" ] if block_state: varint if optional_block_state: optvarint if compound_tag: anonymousNbt if particle: Particle if villager_data: villagerType: varint villagerProfession: varint level: varint if optional_unsigned_int: optvarint if pose: varint if cat_variant: varint if frog_variant: varint if optional_global_pos: [ "option", "string" ] if painting_variant: varint if sniffer_state: varint if vector3: vec3f if quaternion: vec4f entityMetadata: [ "entityMetadataLoop", { "endVal": 255, "type": [ "container", [ { "name": "key", "type": "u8" }, { "name": "type", "type": [ "mapper", { "type": "varint", "mappings": { "0": "byte", "1": "int", "2": "long", "3": "float", "4": "string", "5": "component", "6": "optional_component", "7": "item_stack", "8": "boolean", "9": "rotations", "10": "block_pos", "11": "optional_block_pos", "12": "direction", "13": "optional_uuid", "14": "block_state", "15": "optional_block_state", "16": "compound_tag", "17": "particle", "18": "villager_data", "19": "optional_unsigned_int", "20": "pose", "21": "cat_variant", "22": "frog_variant", "23": "optional_global_pos", "24": "painting_variant", "25": "sniffer_state", "26": "vector3", "27": "quaternion" } } ] }, { "name": "value", "type": [ "entityMetadataItem", { "compareTo": "type" } ] } ] ] } ] minecraft_simple_recipe_format: category: varint minecraft_smelting_format: group: string category: varint ingredient: ingredient result: slot experience: f32 cookTime: varint tags: []varint tagName: string entries: varint[]varint chunkBlockEntity: _: [ "bitfield", [ { "name": "x", "size": 4, "signed": false }, { "name": "z", "size": 4, "signed": false } ] ] y: i16 type: varint nbtData: anonOptionalNbt chat_session?: uuid: UUID publicKey: expireTime: i64 keyBytes: [ "buffer", { "countType": "varint" } ] keySignature: [ "buffer", { "countType": "varint" } ] game_profile: name: string properties: []varint name: string value: string signature?: string command_node: flags: [ "bitfield", [ { "name": "unused", "size": 3, "signed": false }, { "name": "has_custom_suggestions", "size": 1, "signed": false }, { "name": "has_redirect_node", "size": 1, "signed": false }, { "name": "has_command", "size": 1, "signed": false }, { "name": "command_node_type", "size": 2, "signed": false } ] ] children: varint[]varint redirectNode: flags/has_redirect_node ? if 1: varint default: void extraNodeData: flags/command_node_type ? if 0: void if 1: name: string if 2: name: string parser: varint => 0: brigadier:bool 1: brigadier:float 2: brigadier:double 3: brigadier:integer 4: brigadier:long 5: brigadier:string 6: minecraft:entity 7: minecraft:game_profile 8: minecraft:block_pos 9: minecraft:column_pos 10: minecraft:vec3 11: minecraft:vec2 12: minecraft:block_state 13: minecraft:block_predicate 14: minecraft:item_stack 15: minecraft:item_predicate 16: minecraft:color 17: minecraft:component 18: minecraft:style 19: minecraft:message 20: minecraft:nbt 21: minecraft:nbt_tag 22: minecraft:nbt_path 23: minecraft:objective 24: minecraft:objective_criteria 25: minecraft:operation 26: minecraft:particle 27: minecraft:angle 28: minecraft:rotation 29: minecraft:scoreboard_slot 30: minecraft:score_holder 31: minecraft:swizzle 32: minecraft:team 33: minecraft:item_slot 34: minecraft:resource_location 35: minecraft:function 36: minecraft:entity_anchor 37: minecraft:int_range 38: minecraft:float_range 39: minecraft:dimension 40: minecraft:gamemode 41: minecraft:time 42: minecraft:resource_or_tag 43: minecraft:resource_or_tag_key 44: minecraft:resource 45: minecraft:resource_key 46: minecraft:template_mirror 47: minecraft:template_rotation 48: minecraft:heightmap 49: minecraft:uuid properties: parser ? if brigadier:bool: void if brigadier:float: flags: [ "bitfield", [ { "name": "unused", "size": 6, "signed": false }, { "name": "max_present", "size": 1, "signed": false }, { "name": "min_present", "size": 1, "signed": false } ] ] min: flags/min_present ? if 1: f32 default: void max: flags/max_present ? if 1: f32 default: void if brigadier:double: flags: [ "bitfield", [ { "name": "unused", "size": 6, "signed": false }, { "name": "max_present", "size": 1, "signed": false }, { "name": "min_present", "size": 1, "signed": false } ] ] min: flags/min_present ? if 1: f64 default: void max: flags/max_present ? if 1: f64 default: void if brigadier:integer: flags: [ "bitfield", [ { "name": "unused", "size": 6, "signed": false }, { "name": "max_present", "size": 1, "signed": false }, { "name": "min_present", "size": 1, "signed": false } ] ] min: flags/min_present ? if 1: i32 default: void max: flags/max_present ? if 1: i32 default: void if brigadier:long: flags: [ "bitfield", [ { "name": "unused", "size": 6, "signed": false }, { "name": "max_present", "size": 1, "signed": false }, { "name": "min_present", "size": 1, "signed": false } ] ] min: flags/min_present ? if 1: i64 default: void max: flags/max_present ? if 1: i64 default: void if brigadier:string: varint => 0: SINGLE_WORD 1: QUOTABLE_PHRASE 2: GREEDY_PHRASE if minecraft:entity: [ "bitfield", [ { "name": "unused", "size": 6, "signed": false }, { "name": "onlyAllowPlayers", "size": 1, "signed": false }, { "name": "onlyAllowEntities", "size": 1, "signed": false } ] ] if minecraft:game_profile: void if minecraft:block_pos: void if minecraft:column_pos: void if minecraft:vec3: void if minecraft:vec2: void if minecraft:block_state: void if minecraft:block_predicate: void if minecraft:item_stack: void if minecraft:item_predicate: void if minecraft:color: void if minecraft:component: void if minecraft:message: void if minecraft:nbt: void if minecraft:nbt_path: void if minecraft:objective: void if minecraft:objective_criteria: void if minecraft:operation: void if minecraft:particle: void if minecraft:angle: void if minecraft:rotation: void if minecraft:scoreboard_slot: void if minecraft:score_holder: [ "bitfield", [ { "name": "unused", "size": 7, "signed": false }, { "name": "allowMultiple", "size": 1, "signed": false } ] ] if minecraft:swizzle: void if minecraft:team: void if minecraft:item_slot: void if minecraft:resource_location: void if minecraft:function: void if minecraft:entity_anchor: void if minecraft:int_range: void if minecraft:float_range: void if minecraft:dimension: void if minecraft:gamemode: void if minecraft:time: min: i32 if minecraft:resource_or_tag: registry: string if minecraft:resource_or_tag_key: registry: string if minecraft:resource: registry: string if minecraft:resource_key: registry: string if minecraft:template_mirror: void if minecraft:template_rotation: void if minecraft:heightmap: void if minecraft:uuid: void suggestionType: ../flags/has_custom_suggestions ? if 1: string default: void ^handshaking.toClient.types: packet: name: varint => params: ["switch",{"compareTo":"name","fields":{}}] ^handshaking.toServer.types: packet_set_protocol: protocolVersion: varint serverHost: string serverPort: u16 nextState: varint packet_legacy_server_list_ping: payload: u8 packet: name: varint => 0x00: set_protocol 0xfe: legacy_server_list_ping params: name ? if set_protocol: packet_set_protocol if legacy_server_list_ping: packet_legacy_server_list_ping ^status.toClient.types: # MC: ClientboundStatusResponsePacket packet_server_info: response: string # MC: ClientboundPongResponsePacket packet_ping: time: i64 packet: name: varint => 0x00: server_info 0x01: ping params: name ? if server_info: packet_server_info if ping: packet_ping ^status.toServer.types: # MC: ServerboundStatusRequestPacket packet_ping_start: # Empty # MC: ServerboundPingRequestPacket packet_ping: time: i64 packet: name: varint => 0x00: ping_start 0x01: ping params: name ? if ping_start: packet_ping_start if ping: packet_ping ^login.toClient.types: # MC: ClientboundLoginDisconnectPacket packet_disconnect: reason: string # MC: ClientboundHelloPacket packet_encryption_begin: serverId: string publicKey: [ "buffer", { "countType": "varint" } ] verifyToken: [ "buffer", { "countType": "varint" } ] # MC: ClientboundGameProfilePacket packet_success: uuid: UUID username: string properties: []varint name: string value: string signature?: string # MC: ClientboundLoginCompressionPacket packet_compress: threshold: varint # MC: ClientboundCustomQueryPacket packet_login_plugin_request: messageId: varint channel: string data: restBuffer packet: name: varint => - disconnect - encryption_begin - success - compress - login_plugin_request params: name ? if disconnect: packet_disconnect if encryption_begin: packet_encryption_begin if success: packet_success if compress: packet_compress if login_plugin_request: packet_login_plugin_request ^login.toServer.types: # MC: ServerboundHelloPacket packet_login_start: username: string playerUUID: UUID # MC: ServerboundKeyPacket packet_encryption_begin: sharedSecret: [ "buffer", { "countType": "varint" } ] verifyToken: [ "buffer", { "countType": "varint" } ] # MC: ServerboundCustomQueryAnswerPacket packet_login_plugin_response: messageId: varint data?: restBuffer # MC: ServerboundLoginAcknowledgedPacket packet_login_acknowledged: # Empty packet: name: varint => - login_start - encryption_begin - login_plugin_response - login_acknowledged params: name ? if login_start: packet_login_start if encryption_begin: packet_encryption_begin if login_plugin_response: packet_login_plugin_response if login_acknowledged: packet_login_acknowledged ^configuration.toClient.types: # MC: ClientboundCustomPayloadPacket packet_custom_payload: channel: string data: restBuffer # MC: ClientboundDisconnectPacket packet_disconnect: reason: anonymousNbt # MC: ClientboundFinishConfigurationPacket packet_finish_configuration: # Empty # MC: ClientboundKeepAlivePacket packet_keep_alive: keepAliveId: i64 # MC: ClientboundPingPacket packet_ping: id: i32 # MC: ClientboundRegistryDataPacket packet_registry_data: codec: anonymousNbt # MC: ClientboundResourcePackPopPacket packet_remove_resource_pack: uuid?: UUID # MC: ClientboundResourcePackPushPacket packet_add_resource_pack: uuid: UUID url: string hash: string forced: bool promptMessage?: anonymousNbt # MC: ClientboundUpdateEnabledFeaturesPacket packet_feature_flags: features: string[]varint # MC: ClientboundUpdateTagsPacket packet_tags: tags: []varint tagType: string tags: tags packet: name: varint => - custom_payload - disconnect - finish_configuration - keep_alive - ping - registry_data - remove_resource_pack - add_resource_pack - feature_flags - tags params: name ? if custom_payload: packet_custom_payload if disconnect: packet_disconnect if finish_configuration: packet_finish_configuration if keep_alive: packet_keep_alive if ping: packet_ping if registry_data: packet_registry_data if remove_resource_pack: packet_remove_resource_pack if add_resource_pack: packet_add_resource_pack if feature_flags: packet_feature_flags if tags: packet_tags ^configuration.toServer.types: # MC: ServerboundClientInformationPacket packet_settings: locale: string viewDistance: i8 chatFlags: varint chatColors: bool skinParts: u8 mainHand: varint enableTextFiltering: bool enableServerListing: bool # MC: ServerboundCustomPayloadPacket packet_custom_payload: channel: string data: restBuffer # MC: ServerboundFinishConfigurationPacket packet_finish_configuration: # Empty # MC: ServerboundKeepAlivePacket packet_keep_alive: keepAliveId: i64 # MC: ServerboundPongPacket packet_pong: id: i32 # MC: ServerboundResourcePackPacket packet_resource_pack_receive: uuid: UUID result: varint packet: name: varint => - settings - custom_payload - finish_configuration - keep_alive - pong - resource_pack_receive params: name ? if settings: packet_settings if custom_payload: packet_custom_payload if finish_configuration: packet_finish_configuration if keep_alive: packet_keep_alive if pong: packet_pong if resource_pack_receive: packet_resource_pack_receive ^play.toClient.types: # MC: ClientboundAddEntityPacket packet_spawn_entity: entityId: varint objectUUID: UUID type: varint x: f64 y: f64 z: f64 pitch: i8 yaw: i8 headPitch: i8 objectData: varint velocityX: i16 velocityY: i16 velocityZ: i16 # MC: ClientboundAddExperienceOrbPacket packet_spawn_entity_experience_orb: entityId: varint x: f64 y: f64 z: f64 count: i16 # MC: ClientboundAnimatePacket packet_animation: entityId: varint animation: u8 # MC: ClientboundAwardStatsPacket packet_statistics: entries: []varint categoryId: varint statisticId: varint value: varint # MC: ClientboundUpdateAdvancementsPacket packet_advancements: reset: bool advancementMapping: []varint key: string value: parentId?: string displayData?: title: anonymousNbt description: anonymousNbt icon: slot frameType: varint flags: [ "bitfield", [ { "name": "_unused", "size": 29, "signed": false }, { "name": "hidden", "size": 1, "signed": false }, { "name": "show_toast", "size": 1, "signed": false }, { "name": "has_background_texture", "size": 1, "signed": false } ] ] backgroundTexture: flags/has_background_texture ? if 1: string default: void xCord: f32 yCord: f32 requirements: []varint _: string[]varint sendsTelemtryData: bool identifiers: string[]varint progressMapping: []varint key: string value: []varint criterionIdentifier: string criterionProgress?: i64 # MC: ClientboundBlockDestructionPacket packet_block_break_animation: entityId: varint location: position destroyStage: i8 # MC: ClientboundBlockEntityDataPacket packet_tile_entity_data: location: position action: varint nbtData: anonOptionalNbt # MC: ClientboundBlockEventPacket packet_block_action: location: position byte1: u8 byte2: u8 blockId: varint # MC: ClientboundBlockUpdatePacket packet_block_change: location: position type: varint # MC: ClientboundBossEventPacket packet_boss_bar: entityUUID: UUID action: varint title: action ? if 0: anonymousNbt if 3: anonymousNbt default: void health: action ? if 0: f32 if 2: f32 default: void color: action ? if 0: varint if 4: varint default: void dividers: action ? if 0: varint if 4: varint default: void flags: action ? if 0: u8 if 5: u8 default: void # MC: ClientboundChangeDifficultyPacket packet_difficulty: difficulty: u8 difficultyLocked: bool # MC: ClientboundChunkBatchFinishedPacket packet_chunk_batch_finished: batchSize: varint # MC: ClientboundChunkBatchStartPacket packet_chunk_batch_start: # Empty # MC: ClientboundCommandSuggestionsPacket packet_tab_complete: transactionId: varint start: varint length: varint matches: []varint match: string tooltip?: anonymousNbt # MC: ClientboundCommandsPacket packet_declare_commands: nodes: command_node[]varint rootIndex: varint # MC: ClientboundPlayerLookAtPacket packet_face_player: feet_eyes: varint x: f64 y: f64 z: f64 isEntity: bool entityId: isEntity ? if true: varint default: void entity_feet_eyes: isEntity ? if true: varint default: void # MC: ClientboundTagQueryPacket packet_nbt_query_response: transactionId: varint nbt: anonOptionalNbt # MC: ClientboundSectionBlocksUpdatePacket packet_multi_block_change: chunkCoordinates: [ "bitfield", [ { "name": "x", "size": 22, "signed": true }, { "name": "z", "size": 22, "signed": true }, { "name": "y", "size": 20, "signed": true } ] ] records: varint[]varint # MC: ClientboundContainerClosePacket packet_close_window: windowId: u8 # MC: ClientboundOpenScreenPacket packet_open_window: windowId: varint inventoryType: varint windowTitle: anonymousNbt # MC: ClientboundContainerSetContentPacket packet_window_items: windowId: u8 stateId: varint items: slot[]varint carriedItem: slot # MC: ClientboundContainerSetDataPacket packet_craft_progress_bar: windowId: u8 property: i16 value: i16 # MC: ClientboundContainerSetSlotPacket packet_set_slot: windowId: i8 stateId: varint slot: i16 item: slot # MC: ClientboundCooldownPacket packet_set_cooldown: itemID: varint cooldownTicks: varint # MC: ClientboundCustomChatCompletionsPacket packet_chat_suggestions: action: varint entries: string[]varint # MC: ClientboundCustomPayloadPacket packet_custom_payload: channel: string data: restBuffer # MC: ClientboundDeleteChatPacket packet_hide_message: id: varint signature: id ? if 0: [ "buffer", { "count": 256 } ] default: void # MC: ClientboundDisconnectPacket packet_kick_disconnect: reason: anonymousNbt # MC: ClientboundDisguisedChatPacket packet_profileless_chat: message: anonymousNbt type: varint name: anonymousNbt target?: anonymousNbt # MC: ClientboundEntityEventPacket packet_entity_status: entityId: i32 entityStatus: i8 # MC: ClientboundExplodePacket packet_explosion: x: f64 y: f64 z: f64 radius: f32 affectedBlockOffsets: []varint x: i8 y: i8 z: i8 playerMotionX: f32 playerMotionY: f32 playerMotionZ: f32 block_interaction_type: varint small_explosion_particle: Particle large_explosion_particle: Particle sound: ItemSoundHolder # MC: ClientboundForgetLevelChunkPacket packet_unload_chunk: chunkZ: i32 chunkX: i32 # MC: ClientboundGameEventPacket packet_game_state_change: reason: u8 gameMode: f32 # MC: ClientboundHorseScreenOpenPacket packet_open_horse_window: windowId: u8 nbSlots: varint entityId: i32 # MC: ClientboundKeepAlivePacket packet_keep_alive: keepAliveId: i64 # MC: ClientboundLevelChunkWithLightPacket packet_map_chunk: x: i32 z: i32 heightmaps: anonymousNbt chunkData: [ "buffer", { "countType": "varint" } ] blockEntities: chunkBlockEntity[]varint skyLightMask: i64[]varint blockLightMask: i64[]varint emptySkyLightMask: i64[]varint emptyBlockLightMask: i64[]varint skyLight: []varint _: u8[]varint blockLight: []varint _: u8[]varint # MC: ClientboundLevelEventPacket packet_world_event: effectId: i32 location: position data: i32 global: bool # MC: ClientboundLevelParticlesPacket packet_world_particles: particleId: varint longDistance: bool x: f64 y: f64 z: f64 offsetX: f32 offsetY: f32 offsetZ: f32 particleData: f32 particles: i32 data: [ "particleData", { "compareTo": "particleId" } ] # MC: ClientboundLightUpdatePacket packet_update_light: chunkX: varint chunkZ: varint skyLightMask: i64[]varint blockLightMask: i64[]varint emptySkyLightMask: i64[]varint emptyBlockLightMask: i64[]varint skyLight: []varint _: u8[]varint blockLight: []varint _: u8[]varint # MC: ClientboundLoginPacket packet_login: entityId: i32 isHardcore: bool worldNames: string[]varint maxPlayers: varint viewDistance: varint simulationDistance: varint reducedDebugInfo: bool enableRespawnScreen: bool doLimitedCrafting: bool worldType: string worldName: string hashedSeed: i64 gameMode: u8 previousGameMode: i8 isDebug: bool isFlat: bool death?: dimensionName: string location: position portalCooldown: varint # MC: ClientboundMapItemDataPacket packet_map: itemDamage: varint scale: i8 locked: bool icons?: []varint type: varint x: i8 z: i8 direction: u8 displayName?: anonymousNbt columns: u8 rows: columns ? if 0: void default: u8 x: columns ? if 0: void default: u8 y: columns ? if 0: void default: u8 data: columns ? if 0: void default: [ "buffer", { "countType": "varint" } ] # MC: ClientboundMerchantOffersPacket packet_trade_list: windowId: varint trades: []varint inputItem1: slot outputItem: slot inputItem2: slot tradeDisabled: bool nbTradeUses: i32 maximumNbTradeUses: i32 xp: i32 specialPrice: i32 priceMultiplier: f32 demand: i32 villagerLevel: varint experience: varint isRegularVillager: bool canRestock: bool # MC: ClientboundMoveEntityPacket.Pos packet_rel_entity_move: entityId: varint dX: i16 dY: i16 dZ: i16 onGround: bool # MC: ClientboundMoveEntityPacket.PosRot packet_entity_move_look: entityId: varint dX: i16 dY: i16 dZ: i16 yaw: i8 pitch: i8 onGround: bool # MC: ClientboundMoveEntityPacket.Rot packet_entity_look: entityId: varint yaw: i8 pitch: i8 onGround: bool # MC: ClientboundMoveVehiclePacket packet_vehicle_move: x: f64 y: f64 z: f64 yaw: f32 pitch: f32 # MC: ClientboundOpenBookPacket packet_open_book: hand: varint # MC: ClientboundOpenSignEditorPacket packet_open_sign_entity: location: position isFrontText: bool # MC: ClientboundPlaceGhostRecipePacket packet_craft_recipe_response: windowId: i8 recipe: string # MC: ClientboundPlayerAbilitiesPacket packet_abilities: flags: i8 flyingSpeed: f32 walkingSpeed: f32 # MC: ClientboundPlayerChatPacket packet_player_chat: senderUuid: UUID index: varint signature?: [ "buffer", { "count": 256 } ] plainMessage: string timestamp: i64 salt: i64 previousMessages: previousMessages unsignedChatContent?: anonymousNbt filterType: varint filterTypeMask: filterType ? if 2: i64[]varint default: void type: varint networkName: anonymousNbt networkTargetName?: anonymousNbt # MC: ClientboundPlayerCombatEndPacket packet_end_combat_event: duration: varint # MC: ClientboundPlayerCombatEnterPacket packet_enter_combat_event: # Empty # MC: ClientboundPlayerCombatKillPacket packet_death_combat_event: playerId: varint message: anonymousNbt # MC: ClientboundPlayerInfoRemovePacket packet_player_remove: players: UUID[]varint # MC: ClientboundPlayerInfoUpdatePacket packet_player_info: ## ClientboundPlayerInfoUpdatePacket.java#L160 action: ["bitflags", { "type": "u8", "flags": [ "add_player", "initialize_chat", "update_game_mode", "update_listed", "update_latency", "update_display_name" ] }] data: []varint uuid: UUID player: ../action/add_player ? if true: game_profile default: void chatSession: ../action/initialize_chat ? if true: chat_session default: void gamemode: ../action/update_game_mode ? if true: varint default: void listed: ../action/update_listed ? if true: varint default: void latency: ../action/update_latency ? if true: varint default: void displayName: ../action/update_display_name ? if true: ["option", "anonymousNbt"] default: void # MC: ClientboundPlayerPositionPacket packet_position: x: f64 y: f64 z: f64 yaw: f32 pitch: f32 flags: i8 teleportId: varint # MC: ClientboundRecipePacket packet_unlock_recipes: action: varint craftingBookOpen: bool filteringCraftable: bool smeltingBookOpen: bool filteringSmeltable: bool blastFurnaceOpen: bool filteringBlastFurnace: bool smokerBookOpen: bool filteringSmoker: bool recipes1: string[]varint recipes2: action ? if 0: string[]varint default: void # MC: ClientboundRemoveEntitiesPacket packet_entity_destroy: entityIds: varint[]varint # MC: ClientboundRemoveMobEffectPacket packet_remove_entity_effect: entityId: varint effectId: varint # MC: ClientboundResetScorePacket packet_reset_score: entity_name: string objective_name?: string # MC: ClientboundResourcePackPopPacket packet_remove_resource_pack: uuid?: UUID # MC: ClientboundResourcePackPushPacket packet_add_resource_pack: uuid: UUID url: string hash: string forced: bool promptMessage?: anonymousNbt # MC: ClientboundRespawnPacket packet_respawn: dimension: string worldName: string hashedSeed: i64 gamemode: i8 previousGamemode: u8 isDebug: bool isFlat: bool death?: dimensionName: string location: position portalCooldown: varint copyMetadata: bool # MC: ClientboundRotateHeadPacket packet_entity_head_rotation: entityId: varint headYaw: i8 # MC: ClientboundSetCameraPacket packet_camera: cameraId: varint # MC: ClientboundSetCarriedItemPacket packet_held_item_slot: slot: i8 # MC: ClientboundSetChunkCacheCenterPacket packet_update_view_position: chunkX: varint chunkZ: varint # MC: ClientboundSetChunkCacheRadiusPacket packet_update_view_distance: viewDistance: varint # MC: ClientboundSetDisplayObjectivePacket packet_scoreboard_display_objective: position: varint name: string # MC: ClientboundSetEntityDataPacket packet_entity_metadata: entityId: varint metadata: entityMetadata # MC: ClientboundSetEntityLinkPacket packet_attach_entity: entityId: i32 vehicleId: i32 # MC: ClientboundSetEntityMotionPacket packet_entity_velocity: entityId: varint velocityX: i16 velocityY: i16 velocityZ: i16 # MC: ClientboundSetEquipmentPacket packet_entity_equipment: entityId: varint equipments: [ "topBitSetTerminatedArray", { "type": [ "container", [ { "name": "slot", "type": "i8" }, { "name": "item", "type": "slot" } ] ] } ] # MC: ClientboundSetExperiencePacket packet_experience: experienceBar: f32 level: varint totalExperience: varint # MC: ClientboundSetHealthPacket packet_update_health: health: f32 food: varint foodSaturation: f32 # MC: ClientboundSetObjectivePacket packet_scoreboard_objective: name: string action: i8 displayText: action ? if 0: anonymousNbt if 2: anonymousNbt default: void type: action ? if 0: varint if 2: varint default: void number_format: action ? if 0: [ "option", "varint" ] if 2: [ "option", "varint" ] default: void styling: action ? if 0: number_format ? if 1: anonymousNbt if 2: anonymousNbt default: void if 2: number_format ? if 1: anonymousNbt if 2: anonymousNbt default: void default: void # MC: ClientboundSetPassengersPacket packet_set_passengers: entityId: varint passengers: varint[]varint # MC: ClientboundSetPlayerTeamPacket packet_teams: team: string mode: i8 name: mode ? if 0: anonymousNbt if 2: anonymousNbt default: void friendlyFire: mode ? if 0: i8 if 2: i8 default: void nameTagVisibility: mode ? if 0: string if 2: string default: void collisionRule: mode ? if 0: string if 2: string default: void formatting: mode ? if 0: varint if 2: varint default: void prefix: mode ? if 0: anonymousNbt if 2: anonymousNbt default: void suffix: mode ? if 0: anonymousNbt if 2: anonymousNbt default: void players: mode ? if 0: string[]varint if 3: string[]varint if 4: string[]varint default: void # MC: ClientboundSetScorePacket packet_scoreboard_score: itemName: string scoreName: string value: varint display_name?: anonymousNbt number_format?: varint styling: number_format ? if 1: anonymousNbt if 2: anonymousNbt default: void # MC: ClientboundSetDefaultSpawnPositionPacket packet_spawn_position: location: position angle: f32 # MC: ClientboundSetTimePacket packet_update_time: age: i64 time: i64 # MC: ClientboundSoundEntityPacket packet_entity_sound_effect: soundId: varint soundEvent: soundId ? if 0: resource: string range?: f32 default: void soundCategory: soundSource entityId: varint volume: f32 pitch: f32 seed: i64 # MC: ClientboundStopSoundPacket packet_stop_sound: flags: i8 source: flags ? if 1: varint if 3: varint default: void sound: flags ? if 2: string if 3: string default: void # MC: ClientboundSoundPacket packet_sound_effect: sound: ItemSoundHolder soundCategory: soundSource x: i32 y: i32 z: i32 volume: f32 pitch: f32 seed: i64 # MC: ClientboundSystemChatPacket packet_system_chat: content: anonymousNbt isActionBar: bool # MC: ClientboundTabListPacket packet_playerlist_header: header: anonymousNbt footer: anonymousNbt # MC: ClientboundTakeItemEntityPacket packet_collect: collectedEntityId: varint collectorEntityId: varint pickupItemCount: varint # MC: ClientboundTeleportEntityPacket packet_entity_teleport: entityId: varint x: f64 y: f64 z: f64 yaw: i8 pitch: i8 onGround: bool # MC: ClientboundUpdateAttributesPacket packet_entity_update_attributes: entityId: varint properties: []varint name: string value: f64 modifiers: []varint uuid: UUID amount: f64 operation: i8 # MC: ClientboundUpdateMobEffectPacket packet_entity_effect: entityId: varint effectId: varint amplifier: i8 duration: varint hideParticles: i8 factorCodec?: anonymousNbt # MC: ClientboundSelectAdvancementsTabPacket packet_select_advancement_tab: id?: string # MC: ClientboundServerDataPacket packet_server_data: motd: anonymousNbt iconBytes?: [ "buffer", { "countType": "varint" } ] enforcesSecureChat: bool # MC: ClientboundUpdateRecipesPacket packet_declare_recipes: recipes: []varint type: string recipeId: string data: type ? if minecraft:crafting_shapeless: group: string category: varint ingredients: ingredient[]varint result: slot if minecraft:crafting_shaped: group: string category: varint width: varint height: varint ingredients: []$width _: ingredient[]$height result: slot showNotification: bool if minecraft:crafting_special_armordye: minecraft_simple_recipe_format if minecraft:crafting_special_bookcloning: minecraft_simple_recipe_format if minecraft:crafting_special_mapcloning: minecraft_simple_recipe_format if minecraft:crafting_special_mapextending: minecraft_simple_recipe_format if minecraft:crafting_special_firework_rocket: minecraft_simple_recipe_format if minecraft:crafting_special_firework_star: minecraft_simple_recipe_format if minecraft:crafting_special_firework_star_fade: minecraft_simple_recipe_format if minecraft:crafting_special_repairitem: minecraft_simple_recipe_format if minecraft:crafting_special_tippedarrow: minecraft_simple_recipe_format if minecraft:crafting_special_bannerduplicate: minecraft_simple_recipe_format if minecraft:crafting_special_banneraddpattern: minecraft_simple_recipe_format if minecraft:crafting_special_shielddecoration: minecraft_simple_recipe_format if minecraft:crafting_special_shulkerboxcoloring: minecraft_simple_recipe_format if minecraft:crafting_special_suspiciousstew: minecraft_simple_recipe_format if minecraft:smelting: minecraft_smelting_format if minecraft:blasting: minecraft_smelting_format if minecraft:smoking: minecraft_smelting_for