diff --git a/data/dataPaths.json b/data/dataPaths.json index e4b6e200b..04992770f 100644 --- a/data/dataPaths.json +++ b/data/dataPaths.json @@ -1319,7 +1319,7 @@ "tints": "pc/1.20.2", "mapIcons": "pc/1.20.2", "commands": "pc/1.20.3", - "proto": "pc/latest" + "proto": "pc/1.20.3" }, "1.20.4": { "attributes": "pc/1.17", @@ -1346,7 +1346,7 @@ "mapIcons": "pc/1.20.2", "commands": "pc/1.20.3", "sounds": "pc/1.20.4", - "proto": "pc/latest" + "proto": "pc/1.20.3" }, "1.20.5": { "attributes": "pc/1.17", @@ -1361,14 +1361,14 @@ "materials": "pc/1.20.5", "language": "pc/1.20.5", "entities": "pc/1.20.5", - "protocol": "pc/1.20.3", + "protocol": "pc/1.20.5", "windows": "pc/1.16.1", - "version": "pc/1.20.4", + "version": "pc/1.20.5", "foods": "pc/1.20.5", "particles": "pc/1.20.5", "blockLoot": "pc/1.20", "entityLoot": "pc/1.20", - "loginPacket": "pc/1.20.2", + "loginPacket": "pc/1.20.5", "tints": "pc/1.20.5", "mapIcons": "pc/1.20.2", "commands": "pc/1.20.3", @@ -2089,4 +2089,4 @@ "language": "bedrock/1.20.10" } } -} \ No newline at end of file +} diff --git a/data/pc/1.20.3/proto.yml b/data/pc/1.20.3/proto.yml new file mode 100644 index 000000000..1e6f922d6 --- /dev/null +++ b/data/pc/1.20.3/proto.yml @@ -0,0 +1,2762 @@ +!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 + container: native + switch: native + void: native + array: native + restBuffer: native + anonymousNbt: native + anonOptionalNbt: native + 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 + slot: + present: bool + _: present ? + if false: void + if true: + itemId: varint + itemCount: i8 + nbtData: anonOptionalNbt + particle: + particleId: varint + data: [ + "particleData", + { + "compareTo": "particleId" + } + ] + 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 + key: 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 + explosion_sound_name: string + sound_range?: f32 + # 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: + action: i8 + data: []varint + uuid: UUID + player: ../action ? + if 1: game_profile + if 3: game_profile + if 5: game_profile + if 7: game_profile + if 9: game_profile + if 11: game_profile + if 13: game_profile + if 15: game_profile + if 17: game_profile + if 19: game_profile + if 21: game_profile + if 23: game_profile + if 25: game_profile + if 27: game_profile + if 29: game_profile + if 31: game_profile + if 33: game_profile + if 35: game_profile + if 37: game_profile + if 39: game_profile + if 41: game_profile + if 43: game_profile + if 45: game_profile + if 47: game_profile + if 49: game_profile + if 51: game_profile + if 53: game_profile + if 55: game_profile + if 57: game_profile + if 59: game_profile + if 61: game_profile + if 63: game_profile + default: void + chatSession: ../action ? + if 2: chat_session + if 3: chat_session + if 6: chat_session + if 7: chat_session + if 10: chat_session + if 11: chat_session + if 14: chat_session + if 15: chat_session + if 18: chat_session + if 19: chat_session + if 22: chat_session + if 23: chat_session + if 26: chat_session + if 27: chat_session + if 30: chat_session + if 31: chat_session + if 34: chat_session + if 35: chat_session + if 38: chat_session + if 39: chat_session + if 42: chat_session + if 43: chat_session + if 46: chat_session + if 47: chat_session + if 50: chat_session + if 51: chat_session + if 54: chat_session + if 55: chat_session + if 58: chat_session + if 59: chat_session + if 62: chat_session + if 63: chat_session + default: void + gamemode: ../action ? + if 4: varint + if 5: varint + if 6: varint + if 7: varint + if 12: varint + if 13: varint + if 14: varint + if 15: varint + if 20: varint + if 21: varint + if 22: varint + if 23: varint + if 28: varint + if 29: varint + if 30: varint + if 31: varint + if 36: varint + if 37: varint + if 38: varint + if 39: varint + if 44: varint + if 45: varint + if 46: varint + if 47: varint + if 52: varint + if 53: varint + if 54: varint + if 55: varint + if 60: varint + if 61: varint + if 62: varint + if 63: varint + default: void + listed: ../action ? + if 8: bool + if 9: bool + if 10: bool + if 11: bool + if 12: bool + if 13: bool + if 14: bool + if 15: bool + if 24: bool + if 25: bool + if 26: bool + if 27: bool + if 28: bool + if 29: bool + if 30: bool + if 31: bool + if 40: bool + if 41: bool + if 42: bool + if 43: bool + if 44: bool + if 45: bool + if 46: bool + if 47: bool + if 56: bool + if 57: bool + if 58: bool + if 59: bool + if 60: bool + if 61: bool + if 62: bool + if 63: bool + default: void + latency: ../action ? + if 16: varint + if 17: varint + if 18: varint + if 19: varint + if 20: varint + if 21: varint + if 22: varint + if 23: varint + if 24: varint + if 25: varint + if 26: varint + if 27: varint + if 28: varint + if 29: varint + if 30: varint + if 31: varint + if 48: varint + if 49: varint + if 50: varint + if 51: varint + if 52: varint + if 53: varint + if 54: varint + if 55: varint + if 56: varint + if 57: varint + if 58: varint + if 59: varint + if 60: varint + if 61: varint + if 62: varint + if 63: varint + default: void + displayName: ../action ? + if 32: [ + "option", + "anonymousNbt" + ] + if 33: [ + "option", + "anonymousNbt" + ] + if 34: [ + "option", + "anonymousNbt" + ] + if 35: [ + "option", + "anonymousNbt" + ] + if 36: [ + "option", + "anonymousNbt" + ] + if 37: [ + "option", + "anonymousNbt" + ] + if 38: [ + "option", + "anonymousNbt" + ] + if 39: [ + "option", + "anonymousNbt" + ] + if 40: [ + "option", + "anonymousNbt" + ] + if 41: [ + "option", + "anonymousNbt" + ] + if 42: [ + "option", + "anonymousNbt" + ] + if 43: [ + "option", + "anonymousNbt" + ] + if 44: [ + "option", + "anonymousNbt" + ] + if 45: [ + "option", + "anonymousNbt" + ] + if 46: [ + "option", + "anonymousNbt" + ] + if 47: [ + "option", + "anonymousNbt" + ] + if 48: [ + "option", + "anonymousNbt" + ] + if 49: [ + "option", + "anonymousNbt" + ] + if 50: [ + "option", + "anonymousNbt" + ] + if 51: [ + "option", + "anonymousNbt" + ] + if 52: [ + "option", + "anonymousNbt" + ] + if 53: [ + "option", + "anonymousNbt" + ] + if 54: [ + "option", + "anonymousNbt" + ] + if 55: [ + "option", + "anonymousNbt" + ] + if 56: [ + "option", + "anonymousNbt" + ] + if 57: [ + "option", + "anonymousNbt" + ] + if 58: [ + "option", + "anonymousNbt" + ] + if 59: [ + "option", + "anonymousNbt" + ] + if 60: [ + "option", + "anonymousNbt" + ] + if 61: [ + "option", + "anonymousNbt" + ] + if 62: [ + "option", + "anonymousNbt" + ] + if 63: [ + "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: + soundId: varint + soundEvent: soundId ? + if 0: + resource: string + range?: f32 + default: void + 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 + key: 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_format + if minecraft:campfire_cooking: minecraft_smelting_format + if minecraft:stonecutting: + group: string + ingredient: ingredient + result: slot + if minecraft:smithing_transform: + template: ingredient + base: ingredient + addition: ingredient + result: slot + if minecraft:smithing_trim: + template: ingredient + base: ingredient + addition: ingredient + if minecraft:crafting_decorated_pot: minecraft_simple_recipe_format + # MC: ClientboundUpdateTagsPacket + packet_tags: + tags: []varint + tagType: string + tags: tags + # MC: ClientboundBlockChangedAckPacket + packet_acknowledge_player_digging: + sequenceId: varint + # MC: ClientboundClearTitlesPacket + packet_clear_titles: + reset: bool + # MC: ClientboundInitializeBorderPacket + packet_initialize_world_border: + x: f64 + z: f64 + oldDiameter: f64 + newDiameter: f64 + speed: varint + portalTeleportBoundary: varint + warningBlocks: varint + warningTime: varint + # MC: ClientboundSetActionBarTextPacket + packet_action_bar: + text: anonymousNbt + # MC: ClientboundSetBorderCenterPacket + packet_world_border_center: + x: f64 + z: f64 + # MC: ClientboundSetBorderLerpSizePacket + packet_world_border_lerp_size: + oldDiameter: f64 + newDiameter: f64 + speed: varint + # MC: ClientboundSetBorderSizePacket + packet_world_border_size: + diameter: f64 + # MC: ClientboundSetBorderWarningDelayPacket + packet_world_border_warning_delay: + warningTime: varint + # MC: ClientboundSetBorderWarningDistancePacket + packet_world_border_warning_reach: + warningBlocks: varint + # MC: ClientboundPingPacket + packet_ping: + id: i32 + # MC: ClientboundPongResponsePacket + packet_ping_response: + id: i64 + # MC: ClientboundSetSubtitleTextPacket + packet_set_title_subtitle: + text: anonymousNbt + # MC: ClientboundSetTitleTextPacket + packet_set_title_text: + text: anonymousNbt + # MC: ClientboundSetTitlesAnimationPacket + packet_set_title_time: + fadeIn: i32 + stay: i32 + fadeOut: i32 + # MC: ClientboundSetSimulationDistancePacket + packet_simulation_distance: + distance: varint + # MC: ClientboundChunksBiomesPacket + packet_chunk_biomes: + biomes: []varint + position: packedChunkPos + data: [ + "buffer", + { + "countType": "varint" + } + ] + # MC: ClientboundDamageEventPacket + packet_damage_event: + entityId: varint + sourceTypeId: varint + sourceCauseId: varint + sourceDirectId: varint + sourcePosition?: vec3f64 + # MC: ClientboundHurtAnimationPacket + packet_hurt_animation: + entityId: varint + yaw: f32 + # MC: ClientboundStartConfigurationPacket + packet_start_configuration: + # Empty + # MC: ClientboundTickingStatePacket + packet_set_ticking_state: + tick_rate: f32 + is_frozen: bool + # MC: ClientboundTickingStepPacket + packet_step_tick: + tick_steps: varint + packet: + name: varint => + - bundle_delimiter + - spawn_entity + - spawn_entity_experience_orb + - animation + - statistics + - acknowledge_player_digging + - block_break_animation + - tile_entity_data + - block_action + - block_change + - boss_bar + - difficulty + - chunk_batch_finished + - chunk_batch_start + - chunk_biomes + - clear_titles + - tab_complete + - declare_commands + - close_window + - window_items + - craft_progress_bar + - set_slot + - set_cooldown + - chat_suggestions + - custom_payload + - damage_event + - hide_message + - kick_disconnect + - profileless_chat + - entity_status + - explosion + - unload_chunk + - game_state_change + - open_horse_window + - hurt_animation + - initialize_world_border + - keep_alive + - map_chunk + - world_event + - world_particles + - update_light + - login + - map + - trade_list + - rel_entity_move + - entity_move_look + - entity_look + - vehicle_move + - open_book + - open_window + - open_sign_entity + - ping + - ping_response + - craft_recipe_response + - abilities + - player_chat + - end_combat_event + - enter_combat_event + - death_combat_event + - player_remove + - player_info + - face_player + - position + - unlock_recipes + - entity_destroy + - remove_entity_effect + - reset_score + - remove_resource_pack + - add_resource_pack + - respawn + - entity_head_rotation + - multi_block_change + - select_advancement_tab + - server_data + - action_bar + - world_border_center + - world_border_lerp_size + - world_border_size + - world_border_warning_delay + - world_border_warning_reach + - camera + - held_item_slot + - update_view_position + - update_view_distance + - spawn_position + - scoreboard_display_objective + - entity_metadata + - attach_entity + - entity_velocity + - entity_equipment + - experience + - update_health + - scoreboard_objective + - set_passengers + - teams + - scoreboard_score + - simulation_distance + - set_title_subtitle + - update_time + - set_title_text + - set_title_time + - entity_sound_effect + - sound_effect + - start_configuration + - stop_sound + - system_chat + - playerlist_header + - nbt_query_response + - collect + - entity_teleport + - set_ticking_state + - step_tick + - advancements + - entity_update_attributes + - entity_effect + - declare_recipes + - tags + params: name ? + if bundle_delimiter: void + if spawn_entity: packet_spawn_entity + if spawn_entity_experience_orb: packet_spawn_entity_experience_orb + if animation: packet_animation + if statistics: packet_statistics + if acknowledge_player_digging: packet_acknowledge_player_digging + if block_break_animation: packet_block_break_animation + if tile_entity_data: packet_tile_entity_data + if block_action: packet_block_action + if block_change: packet_block_change + if boss_bar: packet_boss_bar + if difficulty: packet_difficulty + if chunk_batch_finished: packet_chunk_batch_finished + if chunk_batch_start: packet_chunk_batch_start + if chunk_biomes: packet_chunk_biomes + if clear_titles: packet_clear_titles + if tab_complete: packet_tab_complete + if declare_commands: packet_declare_commands + if close_window: packet_close_window + if window_items: packet_window_items + if craft_progress_bar: packet_craft_progress_bar + if set_slot: packet_set_slot + if set_cooldown: packet_set_cooldown + if chat_suggestions: packet_chat_suggestions + if custom_payload: packet_custom_payload + if damage_event: packet_damage_event + if hide_message: packet_hide_message + if kick_disconnect: packet_kick_disconnect + if profileless_chat: packet_profileless_chat + if entity_status: packet_entity_status + if explosion: packet_explosion + if unload_chunk: packet_unload_chunk + if game_state_change: packet_game_state_change + if open_horse_window: packet_open_horse_window + if hurt_animation: packet_hurt_animation + if initialize_world_border: packet_initialize_world_border + if keep_alive: packet_keep_alive + if map_chunk: packet_map_chunk + if world_event: packet_world_event + if world_particles: packet_world_particles + if update_light: packet_update_light + if login: packet_login + if map: packet_map + if trade_list: packet_trade_list + if rel_entity_move: packet_rel_entity_move + if entity_move_look: packet_entity_move_look + if entity_look: packet_entity_look + if vehicle_move: packet_vehicle_move + if open_book: packet_open_book + if open_window: packet_open_window + if open_sign_entity: packet_open_sign_entity + if ping: packet_ping + if ping_response: packet_ping_response + if craft_recipe_response: packet_craft_recipe_response + if abilities: packet_abilities + if player_chat: packet_player_chat + if end_combat_event: packet_end_combat_event + if enter_combat_event: packet_enter_combat_event + if death_combat_event: packet_death_combat_event + if player_remove: packet_player_remove + if player_info: packet_player_info + if face_player: packet_face_player + if position: packet_position + if unlock_recipes: packet_unlock_recipes + if entity_destroy: packet_entity_destroy + if remove_entity_effect: packet_remove_entity_effect + if reset_score: packet_reset_score + if remove_resource_pack: packet_remove_resource_pack + if add_resource_pack: packet_add_resource_pack + if respawn: packet_respawn + if entity_head_rotation: packet_entity_head_rotation + if multi_block_change: packet_multi_block_change + if select_advancement_tab: packet_select_advancement_tab + if server_data: packet_server_data + if action_bar: packet_action_bar + if world_border_center: packet_world_border_center + if world_border_lerp_size: packet_world_border_lerp_size + if world_border_size: packet_world_border_size + if world_border_warning_delay: packet_world_border_warning_delay + if world_border_warning_reach: packet_world_border_warning_reach + if camera: packet_camera + if held_item_slot: packet_held_item_slot + if update_view_position: packet_update_view_position + if update_view_distance: packet_update_view_distance + if spawn_position: packet_spawn_position + if scoreboard_display_objective: packet_scoreboard_display_objective + if entity_metadata: packet_entity_metadata + if attach_entity: packet_attach_entity + if entity_velocity: packet_entity_velocity + if entity_equipment: packet_entity_equipment + if experience: packet_experience + if update_health: packet_update_health + if scoreboard_objective: packet_scoreboard_objective + if set_passengers: packet_set_passengers + if teams: packet_teams + if scoreboard_score: packet_scoreboard_score + if simulation_distance: packet_simulation_distance + if set_title_subtitle: packet_set_title_subtitle + if update_time: packet_update_time + if set_title_text: packet_set_title_text + if set_title_time: packet_set_title_time + if entity_sound_effect: packet_entity_sound_effect + if sound_effect: packet_sound_effect + if start_configuration: packet_start_configuration + if stop_sound: packet_stop_sound + if system_chat: packet_system_chat + if playerlist_header: packet_playerlist_header + if nbt_query_response: packet_nbt_query_response + if collect: packet_collect + if entity_teleport: packet_entity_teleport + if advancements: packet_advancements + if entity_update_attributes: packet_entity_update_attributes + if entity_effect: packet_entity_effect + if declare_recipes: packet_declare_recipes + if tags: packet_tags + if set_ticking_state: packet_set_ticking_state + if step_tick: packet_step_tick +^play.toServer.types: + # MC: ServerboundAcceptTeleportationPacket + packet_teleport_confirm: + teleportId: varint + # MC: ServerboundBlockEntityTagQuery + packet_query_block_nbt: + transactionId: varint + location: position + # MC: ServerboundChatCommandPacket + packet_chat_command: + command: string + timestamp: i64 + salt: i64 + argumentSignatures: []varint + argumentName: string + signature: [ + "buffer", + { + "count": 256 + } + ] + messageCount: varint + acknowledged: [ + "buffer", + { + "count": 3 + } + ] + # MC: ServerboundChatPacket + packet_chat_message: + message: string + timestamp: i64 + salt: i64 + signature?: [ + "buffer", + { + "count": 256 + } + ] + offset: varint + acknowledged: [ + "buffer", + { + "count": 3 + } + ] + # MC: ServerboundChangeDifficultyPacket + packet_set_difficulty: + newDifficulty: u8 + # MC: ServerboundChatAckPacket + packet_message_acknowledgement: + count: varint + # MC: ServerboundEditBookPacket + packet_edit_book: + hand: varint + pages: string[]varint + title?: string + # MC: ServerboundEntityTagQuery + packet_query_entity_nbt: + transactionId: varint + entityId: varint + # MC: ServerboundPickItemPacket + packet_pick_item: + slot: varint + # MC: ServerboundRenameItemPacket + packet_name_item: + name: string + # MC: ServerboundSelectTradePacket + packet_select_trade: + slot: varint + # MC: ServerboundSetBeaconPacket + packet_set_beacon_effect: + primary_effect?: varint + secondary_effect?: varint + # MC: ServerboundSetCommandBlockPacket + packet_update_command_block: + location: position + command: string + mode: varint + flags: u8 + # MC: ServerboundSetCommandMinecartPacket + packet_update_command_block_minecart: + entityId: varint + command: string + track_output: bool + # MC: ServerboundSetStructureBlockPacket + packet_update_structure_block: + location: position + action: varint + mode: varint + name: string + offset_x: i8 + offset_y: i8 + offset_z: i8 + size_x: i8 + size_y: i8 + size_z: i8 + mirror: varint + rotation: varint + metadata: string + integrity: f32 + seed: varint + flags: u8 + # MC: ServerboundCommandSuggestionPacket + packet_tab_complete: + transactionId: varint + text: string + # MC: ServerboundClientCommandPacket + packet_client_command: + actionId: varint + # MC: ServerboundClientInformationPacket + packet_settings: + locale: string + viewDistance: i8 + chatFlags: varint + chatColors: bool + skinParts: u8 + mainHand: varint + enableTextFiltering: bool + enableServerListing: bool + # MC: ServerboundContainerButtonClickPacket + packet_enchant_item: + windowId: i8 + enchantment: i8 + # MC: ServerboundContainerClickPacket + packet_window_click: + windowId: u8 + stateId: varint + slot: i16 + mouseButton: i8 + mode: varint + changedSlots: []varint + location: i16 + item: slot + cursorItem: slot + # MC: ServerboundContainerClosePacket + packet_close_window: + windowId: u8 + # MC: ServerboundCustomPayloadPacket + packet_custom_payload: + channel: string + data: restBuffer + # MC: ServerboundInteractPacket + packet_use_entity: + target: varint + mouse: varint + x: mouse ? + if 2: f32 + default: void + y: mouse ? + if 2: f32 + default: void + z: mouse ? + if 2: f32 + default: void + hand: mouse ? + if 0: varint + if 2: varint + default: void + sneaking: bool + # MC: ServerboundJigsawGeneratePacket + packet_generate_structure: + location: position + levels: varint + keepJigsaws: bool + # MC: ServerboundKeepAlivePacket + packet_keep_alive: + keepAliveId: i64 + # MC: ServerboundLockDifficultyPacket + packet_lock_difficulty: + locked: bool + # MC: ServerboundMovePlayerPacket.Pos + packet_position: + x: f64 + y: f64 + z: f64 + onGround: bool + # MC: ServerboundMovePlayerPacket.PosRot + packet_position_look: + x: f64 + y: f64 + z: f64 + yaw: f32 + pitch: f32 + onGround: bool + # MC: ServerboundMovePlayerPacket.Rot + packet_look: + yaw: f32 + pitch: f32 + onGround: bool + # MC: ServerboundMovePlayerPacket.StatusOnly + packet_flying: + onGround: bool + # MC: ServerboundMoveVehiclePacket + packet_vehicle_move: + x: f64 + y: f64 + z: f64 + yaw: f32 + pitch: f32 + # MC: ServerboundPaddleBoatPacket + packet_steer_boat: + leftPaddle: bool + rightPaddle: bool + # MC: ServerboundPlaceRecipePacket + packet_craft_recipe_request: + windowId: i8 + recipe: string + makeAll: bool + # MC: ServerboundPlayerAbilitiesPacket + packet_abilities: + flags: i8 + # MC: ServerboundPlayerActionPacket + packet_block_dig: + status: varint + location: position + face: i8 + sequence: varint + # MC: ServerboundPlayerCommandPacket + packet_entity_action: + entityId: varint + actionId: varint + jumpBoost: varint + # MC: ServerboundPlayerInputPacket + packet_steer_vehicle: + sideways: f32 + forward: f32 + jump: u8 + # MC: ServerboundRecipeBookSeenRecipePacket + packet_displayed_recipe: + recipeId: string + # MC: ServerboundRecipeBookChangeSettingsPacket + packet_recipe_book: + bookId: varint + bookOpen: bool + filterActive: bool + # MC: ServerboundResourcePackPacket + packet_resource_pack_receive: + uuid: UUID + result: varint + # MC: ServerboundSetCarriedItemPacket + packet_held_item_slot: + slotId: i16 + # MC: ServerboundSetCreativeModeSlotPacket + packet_set_creative_slot: + slot: i16 + item: slot + # MC: ServerboundSetJigsawBlockPacket + packet_update_jigsaw_block: + location: position + name: string + target: string + pool: string + finalState: string + jointType: string + selection_priority: varint + placement_priority: varint + # MC: ServerboundSignUpdatePacket + packet_update_sign: + location: position + isFrontText: bool + text1: string + text2: string + text3: string + text4: string + # MC: ServerboundSwingPacket + packet_arm_animation: + hand: varint + # MC: ServerboundTeleportToEntityPacket + packet_spectate: + target: UUID + # MC: ServerboundUseItemOnPacket + packet_block_place: + hand: varint + location: position + direction: varint + cursorX: f32 + cursorY: f32 + cursorZ: f32 + insideBlock: bool + sequence: varint + # MC: ServerboundUseItemPacket + packet_use_item: + hand: varint + sequence: varint + # MC: ServerboundSeenAdvancementsPacket + packet_advancement_tab: + action: varint + tabId: action ? + if 0: string + if 1: void + # MC: ServerboundPongPacket + packet_pong: + id: i32 + # MC: ServerboundChatSessionUpdatePacket + packet_chat_session_update: + sessionUUID: UUID + expireTime: i64 + publicKey: [ + "buffer", + { + "countType": "varint" + } + ] + signature: [ + "buffer", + { + "countType": "varint" + } + ] + # MC: ServerboundChunkBatchReceivedPacket + packet_chunk_batch_received: + chunksPerTick: f32 + # MC: ServerboundConfigurationAcknowledgedPacket + packet_configuration_acknowledged: + # Empty + # MC: ServerboundPingRequestPacket + packet_ping_request: + id: i64 + # MC: ServerboundContainerSlotStateChangedPacket + packet_set_slot_state: + slot_id: varint + window_id: varint + state: bool + packet: + name: varint => + - teleport_confirm + - query_block_nbt + - set_difficulty + - message_acknowledgement + - chat_command + - chat_message + - chat_session_update + - chunk_batch_received + - client_command + - settings + - tab_complete + - configuration_acknowledged + - enchant_item + - window_click + - close_window + - set_slot_state + - custom_payload + - edit_book + - query_entity_nbt + - use_entity + - generate_structure + - keep_alive + - lock_difficulty + - position + - position_look + - look + - flying + - vehicle_move + - steer_boat + - pick_item + - ping_request + - craft_recipe_request + - abilities + - block_dig + - entity_action + - steer_vehicle + - pong + - recipe_book + - displayed_recipe + - name_item + - resource_pack_receive + - advancement_tab + - select_trade + - set_beacon_effect + - held_item_slot + - update_command_block + - update_command_block_minecart + - set_creative_slot + - update_jigsaw_block + - update_structure_block + - update_sign + - arm_animation + - spectate + - block_place + - use_item + params: name ? + if teleport_confirm: packet_teleport_confirm + if query_block_nbt: packet_query_block_nbt + if set_difficulty: packet_set_difficulty + if message_acknowledgement: packet_message_acknowledgement + if chat_command: packet_chat_command + if chat_message: packet_chat_message + if client_command: packet_client_command + if settings: packet_settings + if tab_complete: packet_tab_complete + if enchant_item: packet_enchant_item + if window_click: packet_window_click + if close_window: packet_close_window + if custom_payload: packet_custom_payload + if edit_book: packet_edit_book + if query_entity_nbt: packet_query_entity_nbt + if use_entity: packet_use_entity + if generate_structure: packet_generate_structure + if keep_alive: packet_keep_alive + if lock_difficulty: packet_lock_difficulty + if position: packet_position + if position_look: packet_position_look + if look: packet_look + if flying: packet_flying + if vehicle_move: packet_vehicle_move + if steer_boat: packet_steer_boat + if pick_item: packet_pick_item + if craft_recipe_request: packet_craft_recipe_request + if abilities: packet_abilities + if block_dig: packet_block_dig + if entity_action: packet_entity_action + if steer_vehicle: packet_steer_vehicle + if pong: packet_pong + if chat_session_update: packet_chat_session_update + if recipe_book: packet_recipe_book + if displayed_recipe: packet_displayed_recipe + if name_item: packet_name_item + if resource_pack_receive: packet_resource_pack_receive + if advancement_tab: packet_advancement_tab + if select_trade: packet_select_trade + if set_beacon_effect: packet_set_beacon_effect + if held_item_slot: packet_held_item_slot + if update_command_block: packet_update_command_block + if update_command_block_minecart: packet_update_command_block_minecart + if set_creative_slot: packet_set_creative_slot + if update_jigsaw_block: packet_update_jigsaw_block + if update_structure_block: packet_update_structure_block + if update_sign: packet_update_sign + if arm_animation: packet_arm_animation + if spectate: packet_spectate + if block_place: packet_block_place + if use_item: packet_use_item + if chunk_batch_received: packet_chunk_batch_received + if configuration_acknowledged: packet_configuration_acknowledged + if ping_request: packet_ping_request + if set_slot_state: packet_set_slot_state diff --git a/data/pc/1.20.3/protocol.json b/data/pc/1.20.3/protocol.json index b84081403..f90a2cd36 100644 --- a/data/pc/1.20.3/protocol.json +++ b/data/pc/1.20.3/protocol.json @@ -3489,14 +3489,14 @@ { "compareTo": "columns", "fields": { - "0": [ - "buffer", - { - "countType": "varint" - } - ] + "0": "void" }, - "default": "void" + "default": [ + "buffer", + { + "countType": "varint" + } + ] } ] } diff --git a/data/pc/1.20.5/loginPacket.json b/data/pc/1.20.5/loginPacket.json new file mode 100644 index 000000000..46ecd0072 --- /dev/null +++ b/data/pc/1.20.5/loginPacket.json @@ -0,0 +1,8264 @@ +{ + "entityId": 28, + "isHardcore": false, + "worldNames": [ + "minecraft:overworld", + "minecraft:the_end", + "minecraft:the_nether" + ], + "maxPlayers": 120, + "viewDistance": 10, + "simulationDistance": 10, + "reducedDebugInfo": false, + "enableRespawnScreen": true, + "doLimitedCrafting": false, + "worldState": { + "dimension": 0, + "name": "minecraft:overworld", + "hashedSeed": [ + 572061085, + 1191958278 + ], + "gamemode": "survival", + "previousGamemode": 255, + "isDebug": false, + "isFlat": false, + "portalCooldown": 0 + }, + "enforcesSecureChat": false, + "dimensionCodec": { + "minecraft:worldgen/biome": { + "id": "minecraft:worldgen/biome", + "entries": [ + { + "key": "minecraft:badlands", + "value": { + "type": "compound", + "value": { + "effects": { + "type": "compound", + "value": { + "music": { + "type": "compound", + "value": { + "replace_current_music": { + "type": "byte", + "value": 0 + }, + "max_delay": { + "type": "int", + "value": 24000 + }, + "sound": { + "type": "string", + "value": "minecraft:music.overworld.badlands" + }, + "min_delay": { + "type": "int", + "value": 12000 + } + } + }, + "sky_color": { + "type": "int", + "value": 7254527 + }, + "grass_color": { + "type": "int", + "value": 9470285 + }, + "foliage_color": { + "type": "int", + "value": 10387789 + }, + "water_fog_color": { + "type": "int", + "value": 329011 + }, + "fog_color": { + "type": "int", + "value": 12638463 + }, + "water_color": { + "type": "int", + "value": 4159204 + }, + "mood_sound": { + "type": "compound", + "value": { + "tick_delay": { + "type": "int", + "value": 6000 + }, + "offset": { + "type": "double", + "value": 2 + }, + "sound": { + "type": "string", + "value": "minecraft:ambient.cave" + }, + "block_search_extent": { + "type": "int", + "value": 8 + } + } + } + } + }, + "has_precipitation": { + "type": "byte", + "value": 0 + }, + "temperature": { + "type": "float", + "value": 2 + }, + "downfall": { + "type": "float", + "value": 0 + } + } + } + }, + { + "key": "minecraft:bamboo_jungle", + "value": { + "type": "compound", + "value": { + "effects": { + "type": "compound", + "value": { + "music": { + "type": "compound", + "value": { + "replace_current_music": { + "type": "byte", + "value": 0 + }, + "max_delay": { + "type": "int", + "value": 24000 + }, + "sound": { + "type": "string", + "value": "minecraft:music.overworld.bamboo_jungle" + }, + "min_delay": { + "type": "int", + "value": 12000 + } + } + }, + "sky_color": { + "type": "int", + "value": 7842047 + }, + "water_fog_color": { + "type": "int", + "value": 329011 + }, + "fog_color": { + "type": "int", + "value": 12638463 + }, + "water_color": { + "type": "int", + "value": 4159204 + }, + "mood_sound": { + "type": "compound", + "value": { + "tick_delay": { + "type": "int", + "value": 6000 + }, + "offset": { + "type": "double", + "value": 2 + }, + "sound": { + "type": "string", + "value": "minecraft:ambient.cave" + }, + "block_search_extent": { + "type": "int", + "value": 8 + } + } + } + } + }, + "has_precipitation": { + "type": "byte", + "value": 1 + }, + "temperature": { + "type": "float", + "value": 0.949999988079071 + }, + "downfall": { + "type": "float", + "value": 0.8999999761581421 + } + } + } + }, + { + "key": "minecraft:basalt_deltas", + "value": { + "type": "compound", + "value": { + "effects": { + "type": "compound", + "value": { + "music": { + "type": "compound", + "value": { + "replace_current_music": { + "type": "byte", + "value": 0 + }, + "max_delay": { + "type": "int", + "value": 24000 + }, + "sound": { + "type": "string", + "value": "minecraft:music.nether.basalt_deltas" + }, + "min_delay": { + "type": "int", + "value": 12000 + } + } + }, + "sky_color": { + "type": "int", + "value": 7254527 + }, + "ambient_sound": { + "type": "string", + "value": "minecraft:ambient.basalt_deltas.loop" + }, + "additions_sound": { + "type": "compound", + "value": { + "sound": { + "type": "string", + "value": "minecraft:ambient.basalt_deltas.additions" + }, + "tick_chance": { + "type": "double", + "value": 0.0111 + } + } + }, + "particle": { + "type": "compound", + "value": { + "probability": { + "type": "float", + "value": 0.1180933341383934 + }, + "options": { + "type": "compound", + "value": { + "type": { + "type": "string", + "value": "minecraft:white_ash" + } + } + } + } + }, + "water_fog_color": { + "type": "int", + "value": 329011 + }, + "fog_color": { + "type": "int", + "value": 6840176 + }, + "water_color": { + "type": "int", + "value": 4159204 + }, + "mood_sound": { + "type": "compound", + "value": { + "tick_delay": { + "type": "int", + "value": 6000 + }, + "offset": { + "type": "double", + "value": 2 + }, + "sound": { + "type": "string", + "value": "minecraft:ambient.basalt_deltas.mood" + }, + "block_search_extent": { + "type": "int", + "value": 8 + } + } + } + } + }, + "has_precipitation": { + "type": "byte", + "value": 0 + }, + "temperature": { + "type": "float", + "value": 2 + }, + "downfall": { + "type": "float", + "value": 0 + } + } + } + }, + { + "key": "minecraft:beach", + "value": { + "type": "compound", + "value": { + "effects": { + "type": "compound", + "value": { + "sky_color": { + "type": "int", + "value": 7907327 + }, + "water_fog_color": { + "type": "int", + "value": 329011 + }, + "fog_color": { + "type": "int", + "value": 12638463 + }, + "water_color": { + "type": "int", + "value": 4159204 + }, + "mood_sound": { + "type": "compound", + "value": { + "tick_delay": { + "type": "int", + "value": 6000 + }, + "offset": { + "type": "double", + "value": 2 + }, + "sound": { + "type": "string", + "value": "minecraft:ambient.cave" + }, + "block_search_extent": { + "type": "int", + "value": 8 + } + } + } + } + }, + "has_precipitation": { + "type": "byte", + "value": 1 + }, + "temperature": { + "type": "float", + "value": 0.800000011920929 + }, + "downfall": { + "type": "float", + "value": 0.4000000059604645 + } + } + } + }, + { + "key": "minecraft:birch_forest", + "value": { + "type": "compound", + "value": { + "effects": { + "type": "compound", + "value": { + "music": { + "type": "compound", + "value": { + "replace_current_music": { + "type": "byte", + "value": 0 + }, + "max_delay": { + "type": "int", + "value": 24000 + }, + "sound": { + "type": "string", + "value": "minecraft:music.overworld.forest" + }, + "min_delay": { + "type": "int", + "value": 12000 + } + } + }, + "sky_color": { + "type": "int", + "value": 8037887 + }, + "water_fog_color": { + "type": "int", + "value": 329011 + }, + "fog_color": { + "type": "int", + "value": 12638463 + }, + "water_color": { + "type": "int", + "value": 4159204 + }, + "mood_sound": { + "type": "compound", + "value": { + "tick_delay": { + "type": "int", + "value": 6000 + }, + "offset": { + "type": "double", + "value": 2 + }, + "sound": { + "type": "string", + "value": "minecraft:ambient.cave" + }, + "block_search_extent": { + "type": "int", + "value": 8 + } + } + } + } + }, + "has_precipitation": { + "type": "byte", + "value": 1 + }, + "temperature": { + "type": "float", + "value": 0.6000000238418579 + }, + "downfall": { + "type": "float", + "value": 0.6000000238418579 + } + } + } + }, + { + "key": "minecraft:cherry_grove", + "value": { + "type": "compound", + "value": { + "effects": { + "type": "compound", + "value": { + "music": { + "type": "compound", + "value": { + "replace_current_music": { + "type": "byte", + "value": 0 + }, + "max_delay": { + "type": "int", + "value": 24000 + }, + "sound": { + "type": "string", + "value": "minecraft:music.overworld.cherry_grove" + }, + "min_delay": { + "type": "int", + "value": 12000 + } + } + }, + "sky_color": { + "type": "int", + "value": 8103167 + }, + "grass_color": { + "type": "int", + "value": 11983713 + }, + "foliage_color": { + "type": "int", + "value": 11983713 + }, + "water_fog_color": { + "type": "int", + "value": 6141935 + }, + "fog_color": { + "type": "int", + "value": 12638463 + }, + "water_color": { + "type": "int", + "value": 6141935 + }, + "mood_sound": { + "type": "compound", + "value": { + "tick_delay": { + "type": "int", + "value": 6000 + }, + "offset": { + "type": "double", + "value": 2 + }, + "sound": { + "type": "string", + "value": "minecraft:ambient.cave" + }, + "block_search_extent": { + "type": "int", + "value": 8 + } + } + } + } + }, + "has_precipitation": { + "type": "byte", + "value": 1 + }, + "temperature": { + "type": "float", + "value": 0.5 + }, + "downfall": { + "type": "float", + "value": 0.800000011920929 + } + } + } + }, + { + "key": "minecraft:cold_ocean", + "value": { + "type": "compound", + "value": { + "effects": { + "type": "compound", + "value": { + "sky_color": { + "type": "int", + "value": 8103167 + }, + "water_fog_color": { + "type": "int", + "value": 329011 + }, + "fog_color": { + "type": "int", + "value": 12638463 + }, + "water_color": { + "type": "int", + "value": 4020182 + }, + "mood_sound": { + "type": "compound", + "value": { + "tick_delay": { + "type": "int", + "value": 6000 + }, + "offset": { + "type": "double", + "value": 2 + }, + "sound": { + "type": "string", + "value": "minecraft:ambient.cave" + }, + "block_search_extent": { + "type": "int", + "value": 8 + } + } + } + } + }, + "has_precipitation": { + "type": "byte", + "value": 1 + }, + "temperature": { + "type": "float", + "value": 0.5 + }, + "downfall": { + "type": "float", + "value": 0.5 + } + } + } + }, + { + "key": "minecraft:crimson_forest", + "value": { + "type": "compound", + "value": { + "effects": { + "type": "compound", + "value": { + "music": { + "type": "compound", + "value": { + "replace_current_music": { + "type": "byte", + "value": 0 + }, + "max_delay": { + "type": "int", + "value": 24000 + }, + "sound": { + "type": "string", + "value": "minecraft:music.nether.crimson_forest" + }, + "min_delay": { + "type": "int", + "value": 12000 + } + } + }, + "sky_color": { + "type": "int", + "value": 7254527 + }, + "ambient_sound": { + "type": "string", + "value": "minecraft:ambient.crimson_forest.loop" + }, + "additions_sound": { + "type": "compound", + "value": { + "sound": { + "type": "string", + "value": "minecraft:ambient.crimson_forest.additions" + }, + "tick_chance": { + "type": "double", + "value": 0.0111 + } + } + }, + "particle": { + "type": "compound", + "value": { + "probability": { + "type": "float", + "value": 0.02500000037252903 + }, + "options": { + "type": "compound", + "value": { + "type": { + "type": "string", + "value": "minecraft:crimson_spore" + } + } + } + } + }, + "water_fog_color": { + "type": "int", + "value": 329011 + }, + "fog_color": { + "type": "int", + "value": 3343107 + }, + "water_color": { + "type": "int", + "value": 4159204 + }, + "mood_sound": { + "type": "compound", + "value": { + "tick_delay": { + "type": "int", + "value": 6000 + }, + "offset": { + "type": "double", + "value": 2 + }, + "sound": { + "type": "string", + "value": "minecraft:ambient.crimson_forest.mood" + }, + "block_search_extent": { + "type": "int", + "value": 8 + } + } + } + } + }, + "has_precipitation": { + "type": "byte", + "value": 0 + }, + "temperature": { + "type": "float", + "value": 2 + }, + "downfall": { + "type": "float", + "value": 0 + } + } + } + }, + { + "key": "minecraft:dark_forest", + "value": { + "type": "compound", + "value": { + "effects": { + "type": "compound", + "value": { + "grass_color_modifier": { + "type": "string", + "value": "dark_forest" + }, + "music": { + "type": "compound", + "value": { + "replace_current_music": { + "type": "byte", + "value": 0 + }, + "max_delay": { + "type": "int", + "value": 24000 + }, + "sound": { + "type": "string", + "value": "minecraft:music.overworld.forest" + }, + "min_delay": { + "type": "int", + "value": 12000 + } + } + }, + "sky_color": { + "type": "int", + "value": 7972607 + }, + "water_fog_color": { + "type": "int", + "value": 329011 + }, + "fog_color": { + "type": "int", + "value": 12638463 + }, + "water_color": { + "type": "int", + "value": 4159204 + }, + "mood_sound": { + "type": "compound", + "value": { + "tick_delay": { + "type": "int", + "value": 6000 + }, + "offset": { + "type": "double", + "value": 2 + }, + "sound": { + "type": "string", + "value": "minecraft:ambient.cave" + }, + "block_search_extent": { + "type": "int", + "value": 8 + } + } + } + } + }, + "has_precipitation": { + "type": "byte", + "value": 1 + }, + "temperature": { + "type": "float", + "value": 0.699999988079071 + }, + "downfall": { + "type": "float", + "value": 0.800000011920929 + } + } + } + }, + { + "key": "minecraft:deep_cold_ocean", + "value": { + "type": "compound", + "value": { + "effects": { + "type": "compound", + "value": { + "sky_color": { + "type": "int", + "value": 8103167 + }, + "water_fog_color": { + "type": "int", + "value": 329011 + }, + "fog_color": { + "type": "int", + "value": 12638463 + }, + "water_color": { + "type": "int", + "value": 4020182 + }, + "mood_sound": { + "type": "compound", + "value": { + "tick_delay": { + "type": "int", + "value": 6000 + }, + "offset": { + "type": "double", + "value": 2 + }, + "sound": { + "type": "string", + "value": "minecraft:ambient.cave" + }, + "block_search_extent": { + "type": "int", + "value": 8 + } + } + } + } + }, + "has_precipitation": { + "type": "byte", + "value": 1 + }, + "temperature": { + "type": "float", + "value": 0.5 + }, + "downfall": { + "type": "float", + "value": 0.5 + } + } + } + }, + { + "key": "minecraft:deep_dark", + "value": { + "type": "compound", + "value": { + "effects": { + "type": "compound", + "value": { + "music": { + "type": "compound", + "value": { + "replace_current_music": { + "type": "byte", + "value": 0 + }, + "max_delay": { + "type": "int", + "value": 24000 + }, + "sound": { + "type": "string", + "value": "minecraft:music.overworld.deep_dark" + }, + "min_delay": { + "type": "int", + "value": 12000 + } + } + }, + "sky_color": { + "type": "int", + "value": 7907327 + }, + "water_fog_color": { + "type": "int", + "value": 329011 + }, + "fog_color": { + "type": "int", + "value": 12638463 + }, + "water_color": { + "type": "int", + "value": 4159204 + }, + "mood_sound": { + "type": "compound", + "value": { + "tick_delay": { + "type": "int", + "value": 6000 + }, + "offset": { + "type": "double", + "value": 2 + }, + "sound": { + "type": "string", + "value": "minecraft:ambient.cave" + }, + "block_search_extent": { + "type": "int", + "value": 8 + } + } + } + } + }, + "has_precipitation": { + "type": "byte", + "value": 1 + }, + "temperature": { + "type": "float", + "value": 0.800000011920929 + }, + "downfall": { + "type": "float", + "value": 0.4000000059604645 + } + } + } + }, + { + "key": "minecraft:deep_frozen_ocean", + "value": { + "type": "compound", + "value": { + "effects": { + "type": "compound", + "value": { + "sky_color": { + "type": "int", + "value": 8103167 + }, + "water_fog_color": { + "type": "int", + "value": 329011 + }, + "fog_color": { + "type": "int", + "value": 12638463 + }, + "water_color": { + "type": "int", + "value": 3750089 + }, + "mood_sound": { + "type": "compound", + "value": { + "tick_delay": { + "type": "int", + "value": 6000 + }, + "offset": { + "type": "double", + "value": 2 + }, + "sound": { + "type": "string", + "value": "minecraft:ambient.cave" + }, + "block_search_extent": { + "type": "int", + "value": 8 + } + } + } + } + }, + "has_precipitation": { + "type": "byte", + "value": 1 + }, + "temperature": { + "type": "float", + "value": 0.5 + }, + "downfall": { + "type": "float", + "value": 0.5 + }, + "temperature_modifier": { + "type": "string", + "value": "frozen" + } + } + } + }, + { + "key": "minecraft:deep_lukewarm_ocean", + "value": { + "type": "compound", + "value": { + "effects": { + "type": "compound", + "value": { + "sky_color": { + "type": "int", + "value": 8103167 + }, + "water_fog_color": { + "type": "int", + "value": 267827 + }, + "fog_color": { + "type": "int", + "value": 12638463 + }, + "water_color": { + "type": "int", + "value": 4566514 + }, + "mood_sound": { + "type": "compound", + "value": { + "tick_delay": { + "type": "int", + "value": 6000 + }, + "offset": { + "type": "double", + "value": 2 + }, + "sound": { + "type": "string", + "value": "minecraft:ambient.cave" + }, + "block_search_extent": { + "type": "int", + "value": 8 + } + } + } + } + }, + "has_precipitation": { + "type": "byte", + "value": 1 + }, + "temperature": { + "type": "float", + "value": 0.5 + }, + "downfall": { + "type": "float", + "value": 0.5 + } + } + } + }, + { + "key": "minecraft:deep_ocean", + "value": { + "type": "compound", + "value": { + "effects": { + "type": "compound", + "value": { + "sky_color": { + "type": "int", + "value": 8103167 + }, + "water_fog_color": { + "type": "int", + "value": 329011 + }, + "fog_color": { + "type": "int", + "value": 12638463 + }, + "water_color": { + "type": "int", + "value": 4159204 + }, + "mood_sound": { + "type": "compound", + "value": { + "tick_delay": { + "type": "int", + "value": 6000 + }, + "offset": { + "type": "double", + "value": 2 + }, + "sound": { + "type": "string", + "value": "minecraft:ambient.cave" + }, + "block_search_extent": { + "type": "int", + "value": 8 + } + } + } + } + }, + "has_precipitation": { + "type": "byte", + "value": 1 + }, + "temperature": { + "type": "float", + "value": 0.5 + }, + "downfall": { + "type": "float", + "value": 0.5 + } + } + } + }, + { + "key": "minecraft:desert", + "value": { + "type": "compound", + "value": { + "effects": { + "type": "compound", + "value": { + "music": { + "type": "compound", + "value": { + "replace_current_music": { + "type": "byte", + "value": 0 + }, + "max_delay": { + "type": "int", + "value": 24000 + }, + "sound": { + "type": "string", + "value": "minecraft:music.overworld.desert" + }, + "min_delay": { + "type": "int", + "value": 12000 + } + } + }, + "sky_color": { + "type": "int", + "value": 7254527 + }, + "water_fog_color": { + "type": "int", + "value": 329011 + }, + "fog_color": { + "type": "int", + "value": 12638463 + }, + "water_color": { + "type": "int", + "value": 4159204 + }, + "mood_sound": { + "type": "compound", + "value": { + "tick_delay": { + "type": "int", + "value": 6000 + }, + "offset": { + "type": "double", + "value": 2 + }, + "sound": { + "type": "string", + "value": "minecraft:ambient.cave" + }, + "block_search_extent": { + "type": "int", + "value": 8 + } + } + } + } + }, + "has_precipitation": { + "type": "byte", + "value": 0 + }, + "temperature": { + "type": "float", + "value": 2 + }, + "downfall": { + "type": "float", + "value": 0 + } + } + } + }, + { + "key": "minecraft:dripstone_caves", + "value": { + "type": "compound", + "value": { + "effects": { + "type": "compound", + "value": { + "music": { + "type": "compound", + "value": { + "replace_current_music": { + "type": "byte", + "value": 0 + }, + "max_delay": { + "type": "int", + "value": 24000 + }, + "sound": { + "type": "string", + "value": "minecraft:music.overworld.dripstone_caves" + }, + "min_delay": { + "type": "int", + "value": 12000 + } + } + }, + "sky_color": { + "type": "int", + "value": 7907327 + }, + "water_fog_color": { + "type": "int", + "value": 329011 + }, + "fog_color": { + "type": "int", + "value": 12638463 + }, + "water_color": { + "type": "int", + "value": 4159204 + }, + "mood_sound": { + "type": "compound", + "value": { + "tick_delay": { + "type": "int", + "value": 6000 + }, + "offset": { + "type": "double", + "value": 2 + }, + "sound": { + "type": "string", + "value": "minecraft:ambient.cave" + }, + "block_search_extent": { + "type": "int", + "value": 8 + } + } + } + } + }, + "has_precipitation": { + "type": "byte", + "value": 1 + }, + "temperature": { + "type": "float", + "value": 0.800000011920929 + }, + "downfall": { + "type": "float", + "value": 0.4000000059604645 + } + } + } + }, + { + "key": "minecraft:end_barrens", + "value": { + "type": "compound", + "value": { + "effects": { + "type": "compound", + "value": { + "sky_color": { + "type": "int", + "value": 0 + }, + "water_fog_color": { + "type": "int", + "value": 329011 + }, + "fog_color": { + "type": "int", + "value": 10518688 + }, + "water_color": { + "type": "int", + "value": 4159204 + }, + "mood_sound": { + "type": "compound", + "value": { + "tick_delay": { + "type": "int", + "value": 6000 + }, + "offset": { + "type": "double", + "value": 2 + }, + "sound": { + "type": "string", + "value": "minecraft:ambient.cave" + }, + "block_search_extent": { + "type": "int", + "value": 8 + } + } + } + } + }, + "has_precipitation": { + "type": "byte", + "value": 0 + }, + "temperature": { + "type": "float", + "value": 0.5 + }, + "downfall": { + "type": "float", + "value": 0.5 + } + } + } + }, + { + "key": "minecraft:end_highlands", + "value": { + "type": "compound", + "value": { + "effects": { + "type": "compound", + "value": { + "sky_color": { + "type": "int", + "value": 0 + }, + "water_fog_color": { + "type": "int", + "value": 329011 + }, + "fog_color": { + "type": "int", + "value": 10518688 + }, + "water_color": { + "type": "int", + "value": 4159204 + }, + "mood_sound": { + "type": "compound", + "value": { + "tick_delay": { + "type": "int", + "value": 6000 + }, + "offset": { + "type": "double", + "value": 2 + }, + "sound": { + "type": "string", + "value": "minecraft:ambient.cave" + }, + "block_search_extent": { + "type": "int", + "value": 8 + } + } + } + } + }, + "has_precipitation": { + "type": "byte", + "value": 0 + }, + "temperature": { + "type": "float", + "value": 0.5 + }, + "downfall": { + "type": "float", + "value": 0.5 + } + } + } + }, + { + "key": "minecraft:end_midlands", + "value": { + "type": "compound", + "value": { + "effects": { + "type": "compound", + "value": { + "sky_color": { + "type": "int", + "value": 0 + }, + "water_fog_color": { + "type": "int", + "value": 329011 + }, + "fog_color": { + "type": "int", + "value": 10518688 + }, + "water_color": { + "type": "int", + "value": 4159204 + }, + "mood_sound": { + "type": "compound", + "value": { + "tick_delay": { + "type": "int", + "value": 6000 + }, + "offset": { + "type": "double", + "value": 2 + }, + "sound": { + "type": "string", + "value": "minecraft:ambient.cave" + }, + "block_search_extent": { + "type": "int", + "value": 8 + } + } + } + } + }, + "has_precipitation": { + "type": "byte", + "value": 0 + }, + "temperature": { + "type": "float", + "value": 0.5 + }, + "downfall": { + "type": "float", + "value": 0.5 + } + } + } + }, + { + "key": "minecraft:eroded_badlands", + "value": { + "type": "compound", + "value": { + "effects": { + "type": "compound", + "value": { + "music": { + "type": "compound", + "value": { + "replace_current_music": { + "type": "byte", + "value": 0 + }, + "max_delay": { + "type": "int", + "value": 24000 + }, + "sound": { + "type": "string", + "value": "minecraft:music.overworld.badlands" + }, + "min_delay": { + "type": "int", + "value": 12000 + } + } + }, + "sky_color": { + "type": "int", + "value": 7254527 + }, + "grass_color": { + "type": "int", + "value": 9470285 + }, + "foliage_color": { + "type": "int", + "value": 10387789 + }, + "water_fog_color": { + "type": "int", + "value": 329011 + }, + "fog_color": { + "type": "int", + "value": 12638463 + }, + "water_color": { + "type": "int", + "value": 4159204 + }, + "mood_sound": { + "type": "compound", + "value": { + "tick_delay": { + "type": "int", + "value": 6000 + }, + "offset": { + "type": "double", + "value": 2 + }, + "sound": { + "type": "string", + "value": "minecraft:ambient.cave" + }, + "block_search_extent": { + "type": "int", + "value": 8 + } + } + } + } + }, + "has_precipitation": { + "type": "byte", + "value": 0 + }, + "temperature": { + "type": "float", + "value": 2 + }, + "downfall": { + "type": "float", + "value": 0 + } + } + } + }, + { + "key": "minecraft:flower_forest", + "value": { + "type": "compound", + "value": { + "effects": { + "type": "compound", + "value": { + "music": { + "type": "compound", + "value": { + "replace_current_music": { + "type": "byte", + "value": 0 + }, + "max_delay": { + "type": "int", + "value": 24000 + }, + "sound": { + "type": "string", + "value": "minecraft:music.overworld.flower_forest" + }, + "min_delay": { + "type": "int", + "value": 12000 + } + } + }, + "sky_color": { + "type": "int", + "value": 7972607 + }, + "water_fog_color": { + "type": "int", + "value": 329011 + }, + "fog_color": { + "type": "int", + "value": 12638463 + }, + "water_color": { + "type": "int", + "value": 4159204 + }, + "mood_sound": { + "type": "compound", + "value": { + "tick_delay": { + "type": "int", + "value": 6000 + }, + "offset": { + "type": "double", + "value": 2 + }, + "sound": { + "type": "string", + "value": "minecraft:ambient.cave" + }, + "block_search_extent": { + "type": "int", + "value": 8 + } + } + } + } + }, + "has_precipitation": { + "type": "byte", + "value": 1 + }, + "temperature": { + "type": "float", + "value": 0.699999988079071 + }, + "downfall": { + "type": "float", + "value": 0.800000011920929 + } + } + } + }, + { + "key": "minecraft:forest", + "value": { + "type": "compound", + "value": { + "effects": { + "type": "compound", + "value": { + "music": { + "type": "compound", + "value": { + "replace_current_music": { + "type": "byte", + "value": 0 + }, + "max_delay": { + "type": "int", + "value": 24000 + }, + "sound": { + "type": "string", + "value": "minecraft:music.overworld.forest" + }, + "min_delay": { + "type": "int", + "value": 12000 + } + } + }, + "sky_color": { + "type": "int", + "value": 7972607 + }, + "water_fog_color": { + "type": "int", + "value": 329011 + }, + "fog_color": { + "type": "int", + "value": 12638463 + }, + "water_color": { + "type": "int", + "value": 4159204 + }, + "mood_sound": { + "type": "compound", + "value": { + "tick_delay": { + "type": "int", + "value": 6000 + }, + "offset": { + "type": "double", + "value": 2 + }, + "sound": { + "type": "string", + "value": "minecraft:ambient.cave" + }, + "block_search_extent": { + "type": "int", + "value": 8 + } + } + } + } + }, + "has_precipitation": { + "type": "byte", + "value": 1 + }, + "temperature": { + "type": "float", + "value": 0.699999988079071 + }, + "downfall": { + "type": "float", + "value": 0.800000011920929 + } + } + } + }, + { + "key": "minecraft:frozen_ocean", + "value": { + "type": "compound", + "value": { + "effects": { + "type": "compound", + "value": { + "sky_color": { + "type": "int", + "value": 8364543 + }, + "water_fog_color": { + "type": "int", + "value": 329011 + }, + "fog_color": { + "type": "int", + "value": 12638463 + }, + "water_color": { + "type": "int", + "value": 3750089 + }, + "mood_sound": { + "type": "compound", + "value": { + "tick_delay": { + "type": "int", + "value": 6000 + }, + "offset": { + "type": "double", + "value": 2 + }, + "sound": { + "type": "string", + "value": "minecraft:ambient.cave" + }, + "block_search_extent": { + "type": "int", + "value": 8 + } + } + } + } + }, + "has_precipitation": { + "type": "byte", + "value": 1 + }, + "temperature": { + "type": "float", + "value": 0 + }, + "downfall": { + "type": "float", + "value": 0.5 + }, + "temperature_modifier": { + "type": "string", + "value": "frozen" + } + } + } + }, + { + "key": "minecraft:frozen_peaks", + "value": { + "type": "compound", + "value": { + "effects": { + "type": "compound", + "value": { + "music": { + "type": "compound", + "value": { + "replace_current_music": { + "type": "byte", + "value": 0 + }, + "max_delay": { + "type": "int", + "value": 24000 + }, + "sound": { + "type": "string", + "value": "minecraft:music.overworld.frozen_peaks" + }, + "min_delay": { + "type": "int", + "value": 12000 + } + } + }, + "sky_color": { + "type": "int", + "value": 8756735 + }, + "water_fog_color": { + "type": "int", + "value": 329011 + }, + "fog_color": { + "type": "int", + "value": 12638463 + }, + "water_color": { + "type": "int", + "value": 4159204 + }, + "mood_sound": { + "type": "compound", + "value": { + "tick_delay": { + "type": "int", + "value": 6000 + }, + "offset": { + "type": "double", + "value": 2 + }, + "sound": { + "type": "string", + "value": "minecraft:ambient.cave" + }, + "block_search_extent": { + "type": "int", + "value": 8 + } + } + } + } + }, + "has_precipitation": { + "type": "byte", + "value": 1 + }, + "temperature": { + "type": "float", + "value": -0.699999988079071 + }, + "downfall": { + "type": "float", + "value": 0.8999999761581421 + } + } + } + }, + { + "key": "minecraft:frozen_river", + "value": { + "type": "compound", + "value": { + "effects": { + "type": "compound", + "value": { + "sky_color": { + "type": "int", + "value": 8364543 + }, + "water_fog_color": { + "type": "int", + "value": 329011 + }, + "fog_color": { + "type": "int", + "value": 12638463 + }, + "water_color": { + "type": "int", + "value": 3750089 + }, + "mood_sound": { + "type": "compound", + "value": { + "tick_delay": { + "type": "int", + "value": 6000 + }, + "offset": { + "type": "double", + "value": 2 + }, + "sound": { + "type": "string", + "value": "minecraft:ambient.cave" + }, + "block_search_extent": { + "type": "int", + "value": 8 + } + } + } + } + }, + "has_precipitation": { + "type": "byte", + "value": 1 + }, + "temperature": { + "type": "float", + "value": 0 + }, + "downfall": { + "type": "float", + "value": 0.5 + } + } + } + }, + { + "key": "minecraft:grove", + "value": { + "type": "compound", + "value": { + "effects": { + "type": "compound", + "value": { + "music": { + "type": "compound", + "value": { + "replace_current_music": { + "type": "byte", + "value": 0 + }, + "max_delay": { + "type": "int", + "value": 24000 + }, + "sound": { + "type": "string", + "value": "minecraft:music.overworld.grove" + }, + "min_delay": { + "type": "int", + "value": 12000 + } + } + }, + "sky_color": { + "type": "int", + "value": 8495359 + }, + "water_fog_color": { + "type": "int", + "value": 329011 + }, + "fog_color": { + "type": "int", + "value": 12638463 + }, + "water_color": { + "type": "int", + "value": 4159204 + }, + "mood_sound": { + "type": "compound", + "value": { + "tick_delay": { + "type": "int", + "value": 6000 + }, + "offset": { + "type": "double", + "value": 2 + }, + "sound": { + "type": "string", + "value": "minecraft:ambient.cave" + }, + "block_search_extent": { + "type": "int", + "value": 8 + } + } + } + } + }, + "has_precipitation": { + "type": "byte", + "value": 1 + }, + "temperature": { + "type": "float", + "value": -0.20000000298023224 + }, + "downfall": { + "type": "float", + "value": 0.800000011920929 + } + } + } + }, + { + "key": "minecraft:ice_spikes", + "value": { + "type": "compound", + "value": { + "effects": { + "type": "compound", + "value": { + "sky_color": { + "type": "int", + "value": 8364543 + }, + "water_fog_color": { + "type": "int", + "value": 329011 + }, + "fog_color": { + "type": "int", + "value": 12638463 + }, + "water_color": { + "type": "int", + "value": 4159204 + }, + "mood_sound": { + "type": "compound", + "value": { + "tick_delay": { + "type": "int", + "value": 6000 + }, + "offset": { + "type": "double", + "value": 2 + }, + "sound": { + "type": "string", + "value": "minecraft:ambient.cave" + }, + "block_search_extent": { + "type": "int", + "value": 8 + } + } + } + } + }, + "has_precipitation": { + "type": "byte", + "value": 1 + }, + "temperature": { + "type": "float", + "value": 0 + }, + "downfall": { + "type": "float", + "value": 0.5 + } + } + } + }, + { + "key": "minecraft:jagged_peaks", + "value": { + "type": "compound", + "value": { + "effects": { + "type": "compound", + "value": { + "music": { + "type": "compound", + "value": { + "replace_current_music": { + "type": "byte", + "value": 0 + }, + "max_delay": { + "type": "int", + "value": 24000 + }, + "sound": { + "type": "string", + "value": "minecraft:music.overworld.jagged_peaks" + }, + "min_delay": { + "type": "int", + "value": 12000 + } + } + }, + "sky_color": { + "type": "int", + "value": 8756735 + }, + "water_fog_color": { + "type": "int", + "value": 329011 + }, + "fog_color": { + "type": "int", + "value": 12638463 + }, + "water_color": { + "type": "int", + "value": 4159204 + }, + "mood_sound": { + "type": "compound", + "value": { + "tick_delay": { + "type": "int", + "value": 6000 + }, + "offset": { + "type": "double", + "value": 2 + }, + "sound": { + "type": "string", + "value": "minecraft:ambient.cave" + }, + "block_search_extent": { + "type": "int", + "value": 8 + } + } + } + } + }, + "has_precipitation": { + "type": "byte", + "value": 1 + }, + "temperature": { + "type": "float", + "value": -0.699999988079071 + }, + "downfall": { + "type": "float", + "value": 0.8999999761581421 + } + } + } + }, + { + "key": "minecraft:jungle", + "value": { + "type": "compound", + "value": { + "effects": { + "type": "compound", + "value": { + "music": { + "type": "compound", + "value": { + "replace_current_music": { + "type": "byte", + "value": 0 + }, + "max_delay": { + "type": "int", + "value": 24000 + }, + "sound": { + "type": "string", + "value": "minecraft:music.overworld.jungle" + }, + "min_delay": { + "type": "int", + "value": 12000 + } + } + }, + "sky_color": { + "type": "int", + "value": 7842047 + }, + "water_fog_color": { + "type": "int", + "value": 329011 + }, + "fog_color": { + "type": "int", + "value": 12638463 + }, + "water_color": { + "type": "int", + "value": 4159204 + }, + "mood_sound": { + "type": "compound", + "value": { + "tick_delay": { + "type": "int", + "value": 6000 + }, + "offset": { + "type": "double", + "value": 2 + }, + "sound": { + "type": "string", + "value": "minecraft:ambient.cave" + }, + "block_search_extent": { + "type": "int", + "value": 8 + } + } + } + } + }, + "has_precipitation": { + "type": "byte", + "value": 1 + }, + "temperature": { + "type": "float", + "value": 0.949999988079071 + }, + "downfall": { + "type": "float", + "value": 0.8999999761581421 + } + } + } + }, + { + "key": "minecraft:lukewarm_ocean", + "value": { + "type": "compound", + "value": { + "effects": { + "type": "compound", + "value": { + "sky_color": { + "type": "int", + "value": 8103167 + }, + "water_fog_color": { + "type": "int", + "value": 267827 + }, + "fog_color": { + "type": "int", + "value": 12638463 + }, + "water_color": { + "type": "int", + "value": 4566514 + }, + "mood_sound": { + "type": "compound", + "value": { + "tick_delay": { + "type": "int", + "value": 6000 + }, + "offset": { + "type": "double", + "value": 2 + }, + "sound": { + "type": "string", + "value": "minecraft:ambient.cave" + }, + "block_search_extent": { + "type": "int", + "value": 8 + } + } + } + } + }, + "has_precipitation": { + "type": "byte", + "value": 1 + }, + "temperature": { + "type": "float", + "value": 0.5 + }, + "downfall": { + "type": "float", + "value": 0.5 + } + } + } + }, + { + "key": "minecraft:lush_caves", + "value": { + "type": "compound", + "value": { + "effects": { + "type": "compound", + "value": { + "music": { + "type": "compound", + "value": { + "replace_current_music": { + "type": "byte", + "value": 0 + }, + "max_delay": { + "type": "int", + "value": 24000 + }, + "sound": { + "type": "string", + "value": "minecraft:music.overworld.lush_caves" + }, + "min_delay": { + "type": "int", + "value": 12000 + } + } + }, + "sky_color": { + "type": "int", + "value": 8103167 + }, + "water_fog_color": { + "type": "int", + "value": 329011 + }, + "fog_color": { + "type": "int", + "value": 12638463 + }, + "water_color": { + "type": "int", + "value": 4159204 + }, + "mood_sound": { + "type": "compound", + "value": { + "tick_delay": { + "type": "int", + "value": 6000 + }, + "offset": { + "type": "double", + "value": 2 + }, + "sound": { + "type": "string", + "value": "minecraft:ambient.cave" + }, + "block_search_extent": { + "type": "int", + "value": 8 + } + } + } + } + }, + "has_precipitation": { + "type": "byte", + "value": 1 + }, + "temperature": { + "type": "float", + "value": 0.5 + }, + "downfall": { + "type": "float", + "value": 0.5 + } + } + } + }, + { + "key": "minecraft:mangrove_swamp", + "value": { + "type": "compound", + "value": { + "effects": { + "type": "compound", + "value": { + "grass_color_modifier": { + "type": "string", + "value": "swamp" + }, + "music": { + "type": "compound", + "value": { + "replace_current_music": { + "type": "byte", + "value": 0 + }, + "max_delay": { + "type": "int", + "value": 24000 + }, + "sound": { + "type": "string", + "value": "minecraft:music.overworld.swamp" + }, + "min_delay": { + "type": "int", + "value": 12000 + } + } + }, + "sky_color": { + "type": "int", + "value": 7907327 + }, + "foliage_color": { + "type": "int", + "value": 9285927 + }, + "water_fog_color": { + "type": "int", + "value": 5077600 + }, + "fog_color": { + "type": "int", + "value": 12638463 + }, + "water_color": { + "type": "int", + "value": 3832426 + }, + "mood_sound": { + "type": "compound", + "value": { + "tick_delay": { + "type": "int", + "value": 6000 + }, + "offset": { + "type": "double", + "value": 2 + }, + "sound": { + "type": "string", + "value": "minecraft:ambient.cave" + }, + "block_search_extent": { + "type": "int", + "value": 8 + } + } + } + } + }, + "has_precipitation": { + "type": "byte", + "value": 1 + }, + "temperature": { + "type": "float", + "value": 0.800000011920929 + }, + "downfall": { + "type": "float", + "value": 0.8999999761581421 + } + } + } + }, + { + "key": "minecraft:meadow", + "value": { + "type": "compound", + "value": { + "effects": { + "type": "compound", + "value": { + "music": { + "type": "compound", + "value": { + "replace_current_music": { + "type": "byte", + "value": 0 + }, + "max_delay": { + "type": "int", + "value": 24000 + }, + "sound": { + "type": "string", + "value": "minecraft:music.overworld.meadow" + }, + "min_delay": { + "type": "int", + "value": 12000 + } + } + }, + "sky_color": { + "type": "int", + "value": 8103167 + }, + "water_fog_color": { + "type": "int", + "value": 329011 + }, + "fog_color": { + "type": "int", + "value": 12638463 + }, + "water_color": { + "type": "int", + "value": 937679 + }, + "mood_sound": { + "type": "compound", + "value": { + "tick_delay": { + "type": "int", + "value": 6000 + }, + "offset": { + "type": "double", + "value": 2 + }, + "sound": { + "type": "string", + "value": "minecraft:ambient.cave" + }, + "block_search_extent": { + "type": "int", + "value": 8 + } + } + } + } + }, + "has_precipitation": { + "type": "byte", + "value": 1 + }, + "temperature": { + "type": "float", + "value": 0.5 + }, + "downfall": { + "type": "float", + "value": 0.800000011920929 + } + } + } + }, + { + "key": "minecraft:mushroom_fields", + "value": { + "type": "compound", + "value": { + "effects": { + "type": "compound", + "value": { + "sky_color": { + "type": "int", + "value": 7842047 + }, + "water_fog_color": { + "type": "int", + "value": 329011 + }, + "fog_color": { + "type": "int", + "value": 12638463 + }, + "water_color": { + "type": "int", + "value": 4159204 + }, + "mood_sound": { + "type": "compound", + "value": { + "tick_delay": { + "type": "int", + "value": 6000 + }, + "offset": { + "type": "double", + "value": 2 + }, + "sound": { + "type": "string", + "value": "minecraft:ambient.cave" + }, + "block_search_extent": { + "type": "int", + "value": 8 + } + } + } + } + }, + "has_precipitation": { + "type": "byte", + "value": 1 + }, + "temperature": { + "type": "float", + "value": 0.8999999761581421 + }, + "downfall": { + "type": "float", + "value": 1 + } + } + } + }, + { + "key": "minecraft:nether_wastes", + "value": { + "type": "compound", + "value": { + "effects": { + "type": "compound", + "value": { + "music": { + "type": "compound", + "value": { + "replace_current_music": { + "type": "byte", + "value": 0 + }, + "max_delay": { + "type": "int", + "value": 24000 + }, + "sound": { + "type": "string", + "value": "minecraft:music.nether.nether_wastes" + }, + "min_delay": { + "type": "int", + "value": 12000 + } + } + }, + "sky_color": { + "type": "int", + "value": 7254527 + }, + "ambient_sound": { + "type": "string", + "value": "minecraft:ambient.nether_wastes.loop" + }, + "additions_sound": { + "type": "compound", + "value": { + "sound": { + "type": "string", + "value": "minecraft:ambient.nether_wastes.additions" + }, + "tick_chance": { + "type": "double", + "value": 0.0111 + } + } + }, + "water_fog_color": { + "type": "int", + "value": 329011 + }, + "fog_color": { + "type": "int", + "value": 3344392 + }, + "water_color": { + "type": "int", + "value": 4159204 + }, + "mood_sound": { + "type": "compound", + "value": { + "tick_delay": { + "type": "int", + "value": 6000 + }, + "offset": { + "type": "double", + "value": 2 + }, + "sound": { + "type": "string", + "value": "minecraft:ambient.nether_wastes.mood" + }, + "block_search_extent": { + "type": "int", + "value": 8 + } + } + } + } + }, + "has_precipitation": { + "type": "byte", + "value": 0 + }, + "temperature": { + "type": "float", + "value": 2 + }, + "downfall": { + "type": "float", + "value": 0 + } + } + } + }, + { + "key": "minecraft:ocean", + "value": { + "type": "compound", + "value": { + "effects": { + "type": "compound", + "value": { + "sky_color": { + "type": "int", + "value": 8103167 + }, + "water_fog_color": { + "type": "int", + "value": 329011 + }, + "fog_color": { + "type": "int", + "value": 12638463 + }, + "water_color": { + "type": "int", + "value": 4159204 + }, + "mood_sound": { + "type": "compound", + "value": { + "tick_delay": { + "type": "int", + "value": 6000 + }, + "offset": { + "type": "double", + "value": 2 + }, + "sound": { + "type": "string", + "value": "minecraft:ambient.cave" + }, + "block_search_extent": { + "type": "int", + "value": 8 + } + } + } + } + }, + "has_precipitation": { + "type": "byte", + "value": 1 + }, + "temperature": { + "type": "float", + "value": 0.5 + }, + "downfall": { + "type": "float", + "value": 0.5 + } + } + } + }, + { + "key": "minecraft:old_growth_birch_forest", + "value": { + "type": "compound", + "value": { + "effects": { + "type": "compound", + "value": { + "music": { + "type": "compound", + "value": { + "replace_current_music": { + "type": "byte", + "value": 0 + }, + "max_delay": { + "type": "int", + "value": 24000 + }, + "sound": { + "type": "string", + "value": "minecraft:music.overworld.forest" + }, + "min_delay": { + "type": "int", + "value": 12000 + } + } + }, + "sky_color": { + "type": "int", + "value": 8037887 + }, + "water_fog_color": { + "type": "int", + "value": 329011 + }, + "fog_color": { + "type": "int", + "value": 12638463 + }, + "water_color": { + "type": "int", + "value": 4159204 + }, + "mood_sound": { + "type": "compound", + "value": { + "tick_delay": { + "type": "int", + "value": 6000 + }, + "offset": { + "type": "double", + "value": 2 + }, + "sound": { + "type": "string", + "value": "minecraft:ambient.cave" + }, + "block_search_extent": { + "type": "int", + "value": 8 + } + } + } + } + }, + "has_precipitation": { + "type": "byte", + "value": 1 + }, + "temperature": { + "type": "float", + "value": 0.6000000238418579 + }, + "downfall": { + "type": "float", + "value": 0.6000000238418579 + } + } + } + }, + { + "key": "minecraft:old_growth_pine_taiga", + "value": { + "type": "compound", + "value": { + "effects": { + "type": "compound", + "value": { + "music": { + "type": "compound", + "value": { + "replace_current_music": { + "type": "byte", + "value": 0 + }, + "max_delay": { + "type": "int", + "value": 24000 + }, + "sound": { + "type": "string", + "value": "minecraft:music.overworld.old_growth_taiga" + }, + "min_delay": { + "type": "int", + "value": 12000 + } + } + }, + "sky_color": { + "type": "int", + "value": 8168447 + }, + "water_fog_color": { + "type": "int", + "value": 329011 + }, + "fog_color": { + "type": "int", + "value": 12638463 + }, + "water_color": { + "type": "int", + "value": 4159204 + }, + "mood_sound": { + "type": "compound", + "value": { + "tick_delay": { + "type": "int", + "value": 6000 + }, + "offset": { + "type": "double", + "value": 2 + }, + "sound": { + "type": "string", + "value": "minecraft:ambient.cave" + }, + "block_search_extent": { + "type": "int", + "value": 8 + } + } + } + } + }, + "has_precipitation": { + "type": "byte", + "value": 1 + }, + "temperature": { + "type": "float", + "value": 0.30000001192092896 + }, + "downfall": { + "type": "float", + "value": 0.800000011920929 + } + } + } + }, + { + "key": "minecraft:old_growth_spruce_taiga", + "value": { + "type": "compound", + "value": { + "effects": { + "type": "compound", + "value": { + "music": { + "type": "compound", + "value": { + "replace_current_music": { + "type": "byte", + "value": 0 + }, + "max_delay": { + "type": "int", + "value": 24000 + }, + "sound": { + "type": "string", + "value": "minecraft:music.overworld.old_growth_taiga" + }, + "min_delay": { + "type": "int", + "value": 12000 + } + } + }, + "sky_color": { + "type": "int", + "value": 8233983 + }, + "water_fog_color": { + "type": "int", + "value": 329011 + }, + "fog_color": { + "type": "int", + "value": 12638463 + }, + "water_color": { + "type": "int", + "value": 4159204 + }, + "mood_sound": { + "type": "compound", + "value": { + "tick_delay": { + "type": "int", + "value": 6000 + }, + "offset": { + "type": "double", + "value": 2 + }, + "sound": { + "type": "string", + "value": "minecraft:ambient.cave" + }, + "block_search_extent": { + "type": "int", + "value": 8 + } + } + } + } + }, + "has_precipitation": { + "type": "byte", + "value": 1 + }, + "temperature": { + "type": "float", + "value": 0.25 + }, + "downfall": { + "type": "float", + "value": 0.800000011920929 + } + } + } + }, + { + "key": "minecraft:plains", + "value": { + "type": "compound", + "value": { + "effects": { + "type": "compound", + "value": { + "sky_color": { + "type": "int", + "value": 7907327 + }, + "water_fog_color": { + "type": "int", + "value": 329011 + }, + "fog_color": { + "type": "int", + "value": 12638463 + }, + "water_color": { + "type": "int", + "value": 4159204 + }, + "mood_sound": { + "type": "compound", + "value": { + "tick_delay": { + "type": "int", + "value": 6000 + }, + "offset": { + "type": "double", + "value": 2 + }, + "sound": { + "type": "string", + "value": "minecraft:ambient.cave" + }, + "block_search_extent": { + "type": "int", + "value": 8 + } + } + } + } + }, + "has_precipitation": { + "type": "byte", + "value": 1 + }, + "temperature": { + "type": "float", + "value": 0.800000011920929 + }, + "downfall": { + "type": "float", + "value": 0.4000000059604645 + } + } + } + }, + { + "key": "minecraft:river", + "value": { + "type": "compound", + "value": { + "effects": { + "type": "compound", + "value": { + "sky_color": { + "type": "int", + "value": 8103167 + }, + "water_fog_color": { + "type": "int", + "value": 329011 + }, + "fog_color": { + "type": "int", + "value": 12638463 + }, + "water_color": { + "type": "int", + "value": 4159204 + }, + "mood_sound": { + "type": "compound", + "value": { + "tick_delay": { + "type": "int", + "value": 6000 + }, + "offset": { + "type": "double", + "value": 2 + }, + "sound": { + "type": "string", + "value": "minecraft:ambient.cave" + }, + "block_search_extent": { + "type": "int", + "value": 8 + } + } + } + } + }, + "has_precipitation": { + "type": "byte", + "value": 1 + }, + "temperature": { + "type": "float", + "value": 0.5 + }, + "downfall": { + "type": "float", + "value": 0.5 + } + } + } + }, + { + "key": "minecraft:savanna", + "value": { + "type": "compound", + "value": { + "effects": { + "type": "compound", + "value": { + "sky_color": { + "type": "int", + "value": 7254527 + }, + "water_fog_color": { + "type": "int", + "value": 329011 + }, + "fog_color": { + "type": "int", + "value": 12638463 + }, + "water_color": { + "type": "int", + "value": 4159204 + }, + "mood_sound": { + "type": "compound", + "value": { + "tick_delay": { + "type": "int", + "value": 6000 + }, + "offset": { + "type": "double", + "value": 2 + }, + "sound": { + "type": "string", + "value": "minecraft:ambient.cave" + }, + "block_search_extent": { + "type": "int", + "value": 8 + } + } + } + } + }, + "has_precipitation": { + "type": "byte", + "value": 0 + }, + "temperature": { + "type": "float", + "value": 2 + }, + "downfall": { + "type": "float", + "value": 0 + } + } + } + }, + { + "key": "minecraft:savanna_plateau", + "value": { + "type": "compound", + "value": { + "effects": { + "type": "compound", + "value": { + "sky_color": { + "type": "int", + "value": 7254527 + }, + "water_fog_color": { + "type": "int", + "value": 329011 + }, + "fog_color": { + "type": "int", + "value": 12638463 + }, + "water_color": { + "type": "int", + "value": 4159204 + }, + "mood_sound": { + "type": "compound", + "value": { + "tick_delay": { + "type": "int", + "value": 6000 + }, + "offset": { + "type": "double", + "value": 2 + }, + "sound": { + "type": "string", + "value": "minecraft:ambient.cave" + }, + "block_search_extent": { + "type": "int", + "value": 8 + } + } + } + } + }, + "has_precipitation": { + "type": "byte", + "value": 0 + }, + "temperature": { + "type": "float", + "value": 2 + }, + "downfall": { + "type": "float", + "value": 0 + } + } + } + }, + { + "key": "minecraft:small_end_islands", + "value": { + "type": "compound", + "value": { + "effects": { + "type": "compound", + "value": { + "sky_color": { + "type": "int", + "value": 0 + }, + "water_fog_color": { + "type": "int", + "value": 329011 + }, + "fog_color": { + "type": "int", + "value": 10518688 + }, + "water_color": { + "type": "int", + "value": 4159204 + }, + "mood_sound": { + "type": "compound", + "value": { + "tick_delay": { + "type": "int", + "value": 6000 + }, + "offset": { + "type": "double", + "value": 2 + }, + "sound": { + "type": "string", + "value": "minecraft:ambient.cave" + }, + "block_search_extent": { + "type": "int", + "value": 8 + } + } + } + } + }, + "has_precipitation": { + "type": "byte", + "value": 0 + }, + "temperature": { + "type": "float", + "value": 0.5 + }, + "downfall": { + "type": "float", + "value": 0.5 + } + } + } + }, + { + "key": "minecraft:snowy_beach", + "value": { + "type": "compound", + "value": { + "effects": { + "type": "compound", + "value": { + "sky_color": { + "type": "int", + "value": 8364543 + }, + "water_fog_color": { + "type": "int", + "value": 329011 + }, + "fog_color": { + "type": "int", + "value": 12638463 + }, + "water_color": { + "type": "int", + "value": 4020182 + }, + "mood_sound": { + "type": "compound", + "value": { + "tick_delay": { + "type": "int", + "value": 6000 + }, + "offset": { + "type": "double", + "value": 2 + }, + "sound": { + "type": "string", + "value": "minecraft:ambient.cave" + }, + "block_search_extent": { + "type": "int", + "value": 8 + } + } + } + } + }, + "has_precipitation": { + "type": "byte", + "value": 1 + }, + "temperature": { + "type": "float", + "value": 0.05000000074505806 + }, + "downfall": { + "type": "float", + "value": 0.30000001192092896 + } + } + } + }, + { + "key": "minecraft:snowy_plains", + "value": { + "type": "compound", + "value": { + "effects": { + "type": "compound", + "value": { + "sky_color": { + "type": "int", + "value": 8364543 + }, + "water_fog_color": { + "type": "int", + "value": 329011 + }, + "fog_color": { + "type": "int", + "value": 12638463 + }, + "water_color": { + "type": "int", + "value": 4159204 + }, + "mood_sound": { + "type": "compound", + "value": { + "tick_delay": { + "type": "int", + "value": 6000 + }, + "offset": { + "type": "double", + "value": 2 + }, + "sound": { + "type": "string", + "value": "minecraft:ambient.cave" + }, + "block_search_extent": { + "type": "int", + "value": 8 + } + } + } + } + }, + "has_precipitation": { + "type": "byte", + "value": 1 + }, + "temperature": { + "type": "float", + "value": 0 + }, + "downfall": { + "type": "float", + "value": 0.5 + } + } + } + }, + { + "key": "minecraft:snowy_slopes", + "value": { + "type": "compound", + "value": { + "effects": { + "type": "compound", + "value": { + "music": { + "type": "compound", + "value": { + "replace_current_music": { + "type": "byte", + "value": 0 + }, + "max_delay": { + "type": "int", + "value": 24000 + }, + "sound": { + "type": "string", + "value": "minecraft:music.overworld.snowy_slopes" + }, + "min_delay": { + "type": "int", + "value": 12000 + } + } + }, + "sky_color": { + "type": "int", + "value": 8560639 + }, + "water_fog_color": { + "type": "int", + "value": 329011 + }, + "fog_color": { + "type": "int", + "value": 12638463 + }, + "water_color": { + "type": "int", + "value": 4159204 + }, + "mood_sound": { + "type": "compound", + "value": { + "tick_delay": { + "type": "int", + "value": 6000 + }, + "offset": { + "type": "double", + "value": 2 + }, + "sound": { + "type": "string", + "value": "minecraft:ambient.cave" + }, + "block_search_extent": { + "type": "int", + "value": 8 + } + } + } + } + }, + "has_precipitation": { + "type": "byte", + "value": 1 + }, + "temperature": { + "type": "float", + "value": -0.30000001192092896 + }, + "downfall": { + "type": "float", + "value": 0.8999999761581421 + } + } + } + }, + { + "key": "minecraft:snowy_taiga", + "value": { + "type": "compound", + "value": { + "effects": { + "type": "compound", + "value": { + "sky_color": { + "type": "int", + "value": 8625919 + }, + "water_fog_color": { + "type": "int", + "value": 329011 + }, + "fog_color": { + "type": "int", + "value": 12638463 + }, + "water_color": { + "type": "int", + "value": 4020182 + }, + "mood_sound": { + "type": "compound", + "value": { + "tick_delay": { + "type": "int", + "value": 6000 + }, + "offset": { + "type": "double", + "value": 2 + }, + "sound": { + "type": "string", + "value": "minecraft:ambient.cave" + }, + "block_search_extent": { + "type": "int", + "value": 8 + } + } + } + } + }, + "has_precipitation": { + "type": "byte", + "value": 1 + }, + "temperature": { + "type": "float", + "value": -0.5 + }, + "downfall": { + "type": "float", + "value": 0.4000000059604645 + } + } + } + }, + { + "key": "minecraft:soul_sand_valley", + "value": { + "type": "compound", + "value": { + "effects": { + "type": "compound", + "value": { + "music": { + "type": "compound", + "value": { + "replace_current_music": { + "type": "byte", + "value": 0 + }, + "max_delay": { + "type": "int", + "value": 24000 + }, + "sound": { + "type": "string", + "value": "minecraft:music.nether.soul_sand_valley" + }, + "min_delay": { + "type": "int", + "value": 12000 + } + } + }, + "sky_color": { + "type": "int", + "value": 7254527 + }, + "ambient_sound": { + "type": "string", + "value": "minecraft:ambient.soul_sand_valley.loop" + }, + "additions_sound": { + "type": "compound", + "value": { + "sound": { + "type": "string", + "value": "minecraft:ambient.soul_sand_valley.additions" + }, + "tick_chance": { + "type": "double", + "value": 0.0111 + } + } + }, + "particle": { + "type": "compound", + "value": { + "probability": { + "type": "float", + "value": 0.0062500000931322575 + }, + "options": { + "type": "compound", + "value": { + "type": { + "type": "string", + "value": "minecraft:ash" + } + } + } + } + }, + "water_fog_color": { + "type": "int", + "value": 329011 + }, + "fog_color": { + "type": "int", + "value": 1787717 + }, + "water_color": { + "type": "int", + "value": 4159204 + }, + "mood_sound": { + "type": "compound", + "value": { + "tick_delay": { + "type": "int", + "value": 6000 + }, + "offset": { + "type": "double", + "value": 2 + }, + "sound": { + "type": "string", + "value": "minecraft:ambient.soul_sand_valley.mood" + }, + "block_search_extent": { + "type": "int", + "value": 8 + } + } + } + } + }, + "has_precipitation": { + "type": "byte", + "value": 0 + }, + "temperature": { + "type": "float", + "value": 2 + }, + "downfall": { + "type": "float", + "value": 0 + } + } + } + }, + { + "key": "minecraft:sparse_jungle", + "value": { + "type": "compound", + "value": { + "effects": { + "type": "compound", + "value": { + "music": { + "type": "compound", + "value": { + "replace_current_music": { + "type": "byte", + "value": 0 + }, + "max_delay": { + "type": "int", + "value": 24000 + }, + "sound": { + "type": "string", + "value": "minecraft:music.overworld.sparse_jungle" + }, + "min_delay": { + "type": "int", + "value": 12000 + } + } + }, + "sky_color": { + "type": "int", + "value": 7842047 + }, + "water_fog_color": { + "type": "int", + "value": 329011 + }, + "fog_color": { + "type": "int", + "value": 12638463 + }, + "water_color": { + "type": "int", + "value": 4159204 + }, + "mood_sound": { + "type": "compound", + "value": { + "tick_delay": { + "type": "int", + "value": 6000 + }, + "offset": { + "type": "double", + "value": 2 + }, + "sound": { + "type": "string", + "value": "minecraft:ambient.cave" + }, + "block_search_extent": { + "type": "int", + "value": 8 + } + } + } + } + }, + "has_precipitation": { + "type": "byte", + "value": 1 + }, + "temperature": { + "type": "float", + "value": 0.949999988079071 + }, + "downfall": { + "type": "float", + "value": 0.800000011920929 + } + } + } + }, + { + "key": "minecraft:stony_peaks", + "value": { + "type": "compound", + "value": { + "effects": { + "type": "compound", + "value": { + "music": { + "type": "compound", + "value": { + "replace_current_music": { + "type": "byte", + "value": 0 + }, + "max_delay": { + "type": "int", + "value": 24000 + }, + "sound": { + "type": "string", + "value": "minecraft:music.overworld.stony_peaks" + }, + "min_delay": { + "type": "int", + "value": 12000 + } + } + }, + "sky_color": { + "type": "int", + "value": 7776511 + }, + "water_fog_color": { + "type": "int", + "value": 329011 + }, + "fog_color": { + "type": "int", + "value": 12638463 + }, + "water_color": { + "type": "int", + "value": 4159204 + }, + "mood_sound": { + "type": "compound", + "value": { + "tick_delay": { + "type": "int", + "value": 6000 + }, + "offset": { + "type": "double", + "value": 2 + }, + "sound": { + "type": "string", + "value": "minecraft:ambient.cave" + }, + "block_search_extent": { + "type": "int", + "value": 8 + } + } + } + } + }, + "has_precipitation": { + "type": "byte", + "value": 1 + }, + "temperature": { + "type": "float", + "value": 1 + }, + "downfall": { + "type": "float", + "value": 0.30000001192092896 + } + } + } + }, + { + "key": "minecraft:stony_shore", + "value": { + "type": "compound", + "value": { + "effects": { + "type": "compound", + "value": { + "sky_color": { + "type": "int", + "value": 8233727 + }, + "water_fog_color": { + "type": "int", + "value": 329011 + }, + "fog_color": { + "type": "int", + "value": 12638463 + }, + "water_color": { + "type": "int", + "value": 4159204 + }, + "mood_sound": { + "type": "compound", + "value": { + "tick_delay": { + "type": "int", + "value": 6000 + }, + "offset": { + "type": "double", + "value": 2 + }, + "sound": { + "type": "string", + "value": "minecraft:ambient.cave" + }, + "block_search_extent": { + "type": "int", + "value": 8 + } + } + } + } + }, + "has_precipitation": { + "type": "byte", + "value": 1 + }, + "temperature": { + "type": "float", + "value": 0.20000000298023224 + }, + "downfall": { + "type": "float", + "value": 0.30000001192092896 + } + } + } + }, + { + "key": "minecraft:sunflower_plains", + "value": { + "type": "compound", + "value": { + "effects": { + "type": "compound", + "value": { + "sky_color": { + "type": "int", + "value": 7907327 + }, + "water_fog_color": { + "type": "int", + "value": 329011 + }, + "fog_color": { + "type": "int", + "value": 12638463 + }, + "water_color": { + "type": "int", + "value": 4159204 + }, + "mood_sound": { + "type": "compound", + "value": { + "tick_delay": { + "type": "int", + "value": 6000 + }, + "offset": { + "type": "double", + "value": 2 + }, + "sound": { + "type": "string", + "value": "minecraft:ambient.cave" + }, + "block_search_extent": { + "type": "int", + "value": 8 + } + } + } + } + }, + "has_precipitation": { + "type": "byte", + "value": 1 + }, + "temperature": { + "type": "float", + "value": 0.800000011920929 + }, + "downfall": { + "type": "float", + "value": 0.4000000059604645 + } + } + } + }, + { + "key": "minecraft:swamp", + "value": { + "type": "compound", + "value": { + "effects": { + "type": "compound", + "value": { + "grass_color_modifier": { + "type": "string", + "value": "swamp" + }, + "music": { + "type": "compound", + "value": { + "replace_current_music": { + "type": "byte", + "value": 0 + }, + "max_delay": { + "type": "int", + "value": 24000 + }, + "sound": { + "type": "string", + "value": "minecraft:music.overworld.swamp" + }, + "min_delay": { + "type": "int", + "value": 12000 + } + } + }, + "sky_color": { + "type": "int", + "value": 7907327 + }, + "foliage_color": { + "type": "int", + "value": 6975545 + }, + "water_fog_color": { + "type": "int", + "value": 2302743 + }, + "fog_color": { + "type": "int", + "value": 12638463 + }, + "water_color": { + "type": "int", + "value": 6388580 + }, + "mood_sound": { + "type": "compound", + "value": { + "tick_delay": { + "type": "int", + "value": 6000 + }, + "offset": { + "type": "double", + "value": 2 + }, + "sound": { + "type": "string", + "value": "minecraft:ambient.cave" + }, + "block_search_extent": { + "type": "int", + "value": 8 + } + } + } + } + }, + "has_precipitation": { + "type": "byte", + "value": 1 + }, + "temperature": { + "type": "float", + "value": 0.800000011920929 + }, + "downfall": { + "type": "float", + "value": 0.8999999761581421 + } + } + } + }, + { + "key": "minecraft:taiga", + "value": { + "type": "compound", + "value": { + "effects": { + "type": "compound", + "value": { + "sky_color": { + "type": "int", + "value": 8233983 + }, + "water_fog_color": { + "type": "int", + "value": 329011 + }, + "fog_color": { + "type": "int", + "value": 12638463 + }, + "water_color": { + "type": "int", + "value": 4159204 + }, + "mood_sound": { + "type": "compound", + "value": { + "tick_delay": { + "type": "int", + "value": 6000 + }, + "offset": { + "type": "double", + "value": 2 + }, + "sound": { + "type": "string", + "value": "minecraft:ambient.cave" + }, + "block_search_extent": { + "type": "int", + "value": 8 + } + } + } + } + }, + "has_precipitation": { + "type": "byte", + "value": 1 + }, + "temperature": { + "type": "float", + "value": 0.25 + }, + "downfall": { + "type": "float", + "value": 0.800000011920929 + } + } + } + }, + { + "key": "minecraft:the_end", + "value": { + "type": "compound", + "value": { + "effects": { + "type": "compound", + "value": { + "sky_color": { + "type": "int", + "value": 0 + }, + "water_fog_color": { + "type": "int", + "value": 329011 + }, + "fog_color": { + "type": "int", + "value": 10518688 + }, + "water_color": { + "type": "int", + "value": 4159204 + }, + "mood_sound": { + "type": "compound", + "value": { + "tick_delay": { + "type": "int", + "value": 6000 + }, + "offset": { + "type": "double", + "value": 2 + }, + "sound": { + "type": "string", + "value": "minecraft:ambient.cave" + }, + "block_search_extent": { + "type": "int", + "value": 8 + } + } + } + } + }, + "has_precipitation": { + "type": "byte", + "value": 0 + }, + "temperature": { + "type": "float", + "value": 0.5 + }, + "downfall": { + "type": "float", + "value": 0.5 + } + } + } + }, + { + "key": "minecraft:the_void", + "value": { + "type": "compound", + "value": { + "effects": { + "type": "compound", + "value": { + "sky_color": { + "type": "int", + "value": 8103167 + }, + "water_fog_color": { + "type": "int", + "value": 329011 + }, + "fog_color": { + "type": "int", + "value": 12638463 + }, + "water_color": { + "type": "int", + "value": 4159204 + }, + "mood_sound": { + "type": "compound", + "value": { + "tick_delay": { + "type": "int", + "value": 6000 + }, + "offset": { + "type": "double", + "value": 2 + }, + "sound": { + "type": "string", + "value": "minecraft:ambient.cave" + }, + "block_search_extent": { + "type": "int", + "value": 8 + } + } + } + } + }, + "has_precipitation": { + "type": "byte", + "value": 0 + }, + "temperature": { + "type": "float", + "value": 0.5 + }, + "downfall": { + "type": "float", + "value": 0.5 + } + } + } + }, + { + "key": "minecraft:warm_ocean", + "value": { + "type": "compound", + "value": { + "effects": { + "type": "compound", + "value": { + "sky_color": { + "type": "int", + "value": 8103167 + }, + "water_fog_color": { + "type": "int", + "value": 270131 + }, + "fog_color": { + "type": "int", + "value": 12638463 + }, + "water_color": { + "type": "int", + "value": 4445678 + }, + "mood_sound": { + "type": "compound", + "value": { + "tick_delay": { + "type": "int", + "value": 6000 + }, + "offset": { + "type": "double", + "value": 2 + }, + "sound": { + "type": "string", + "value": "minecraft:ambient.cave" + }, + "block_search_extent": { + "type": "int", + "value": 8 + } + } + } + } + }, + "has_precipitation": { + "type": "byte", + "value": 1 + }, + "temperature": { + "type": "float", + "value": 0.5 + }, + "downfall": { + "type": "float", + "value": 0.5 + } + } + } + }, + { + "key": "minecraft:warped_forest", + "value": { + "type": "compound", + "value": { + "effects": { + "type": "compound", + "value": { + "music": { + "type": "compound", + "value": { + "replace_current_music": { + "type": "byte", + "value": 0 + }, + "max_delay": { + "type": "int", + "value": 24000 + }, + "sound": { + "type": "string", + "value": "minecraft:music.nether.warped_forest" + }, + "min_delay": { + "type": "int", + "value": 12000 + } + } + }, + "sky_color": { + "type": "int", + "value": 7254527 + }, + "ambient_sound": { + "type": "string", + "value": "minecraft:ambient.warped_forest.loop" + }, + "additions_sound": { + "type": "compound", + "value": { + "sound": { + "type": "string", + "value": "minecraft:ambient.warped_forest.additions" + }, + "tick_chance": { + "type": "double", + "value": 0.0111 + } + } + }, + "particle": { + "type": "compound", + "value": { + "probability": { + "type": "float", + "value": 0.014279999770224094 + }, + "options": { + "type": "compound", + "value": { + "type": { + "type": "string", + "value": "minecraft:warped_spore" + } + } + } + } + }, + "water_fog_color": { + "type": "int", + "value": 329011 + }, + "fog_color": { + "type": "int", + "value": 1705242 + }, + "water_color": { + "type": "int", + "value": 4159204 + }, + "mood_sound": { + "type": "compound", + "value": { + "tick_delay": { + "type": "int", + "value": 6000 + }, + "offset": { + "type": "double", + "value": 2 + }, + "sound": { + "type": "string", + "value": "minecraft:ambient.warped_forest.mood" + }, + "block_search_extent": { + "type": "int", + "value": 8 + } + } + } + } + }, + "has_precipitation": { + "type": "byte", + "value": 0 + }, + "temperature": { + "type": "float", + "value": 2 + }, + "downfall": { + "type": "float", + "value": 0 + } + } + } + }, + { + "key": "minecraft:windswept_forest", + "value": { + "type": "compound", + "value": { + "effects": { + "type": "compound", + "value": { + "sky_color": { + "type": "int", + "value": 8233727 + }, + "water_fog_color": { + "type": "int", + "value": 329011 + }, + "fog_color": { + "type": "int", + "value": 12638463 + }, + "water_color": { + "type": "int", + "value": 4159204 + }, + "mood_sound": { + "type": "compound", + "value": { + "tick_delay": { + "type": "int", + "value": 6000 + }, + "offset": { + "type": "double", + "value": 2 + }, + "sound": { + "type": "string", + "value": "minecraft:ambient.cave" + }, + "block_search_extent": { + "type": "int", + "value": 8 + } + } + } + } + }, + "has_precipitation": { + "type": "byte", + "value": 1 + }, + "temperature": { + "type": "float", + "value": 0.20000000298023224 + }, + "downfall": { + "type": "float", + "value": 0.30000001192092896 + } + } + } + }, + { + "key": "minecraft:windswept_gravelly_hills", + "value": { + "type": "compound", + "value": { + "effects": { + "type": "compound", + "value": { + "sky_color": { + "type": "int", + "value": 8233727 + }, + "water_fog_color": { + "type": "int", + "value": 329011 + }, + "fog_color": { + "type": "int", + "value": 12638463 + }, + "water_color": { + "type": "int", + "value": 4159204 + }, + "mood_sound": { + "type": "compound", + "value": { + "tick_delay": { + "type": "int", + "value": 6000 + }, + "offset": { + "type": "double", + "value": 2 + }, + "sound": { + "type": "string", + "value": "minecraft:ambient.cave" + }, + "block_search_extent": { + "type": "int", + "value": 8 + } + } + } + } + }, + "has_precipitation": { + "type": "byte", + "value": 1 + }, + "temperature": { + "type": "float", + "value": 0.20000000298023224 + }, + "downfall": { + "type": "float", + "value": 0.30000001192092896 + } + } + } + }, + { + "key": "minecraft:windswept_hills", + "value": { + "type": "compound", + "value": { + "effects": { + "type": "compound", + "value": { + "sky_color": { + "type": "int", + "value": 8233727 + }, + "water_fog_color": { + "type": "int", + "value": 329011 + }, + "fog_color": { + "type": "int", + "value": 12638463 + }, + "water_color": { + "type": "int", + "value": 4159204 + }, + "mood_sound": { + "type": "compound", + "value": { + "tick_delay": { + "type": "int", + "value": 6000 + }, + "offset": { + "type": "double", + "value": 2 + }, + "sound": { + "type": "string", + "value": "minecraft:ambient.cave" + }, + "block_search_extent": { + "type": "int", + "value": 8 + } + } + } + } + }, + "has_precipitation": { + "type": "byte", + "value": 1 + }, + "temperature": { + "type": "float", + "value": 0.20000000298023224 + }, + "downfall": { + "type": "float", + "value": 0.30000001192092896 + } + } + } + }, + { + "key": "minecraft:windswept_savanna", + "value": { + "type": "compound", + "value": { + "effects": { + "type": "compound", + "value": { + "sky_color": { + "type": "int", + "value": 7254527 + }, + "water_fog_color": { + "type": "int", + "value": 329011 + }, + "fog_color": { + "type": "int", + "value": 12638463 + }, + "water_color": { + "type": "int", + "value": 4159204 + }, + "mood_sound": { + "type": "compound", + "value": { + "tick_delay": { + "type": "int", + "value": 6000 + }, + "offset": { + "type": "double", + "value": 2 + }, + "sound": { + "type": "string", + "value": "minecraft:ambient.cave" + }, + "block_search_extent": { + "type": "int", + "value": 8 + } + } + } + } + }, + "has_precipitation": { + "type": "byte", + "value": 0 + }, + "temperature": { + "type": "float", + "value": 2 + }, + "downfall": { + "type": "float", + "value": 0 + } + } + } + }, + { + "key": "minecraft:wooded_badlands", + "value": { + "type": "compound", + "value": { + "effects": { + "type": "compound", + "value": { + "music": { + "type": "compound", + "value": { + "replace_current_music": { + "type": "byte", + "value": 0 + }, + "max_delay": { + "type": "int", + "value": 24000 + }, + "sound": { + "type": "string", + "value": "minecraft:music.overworld.badlands" + }, + "min_delay": { + "type": "int", + "value": 12000 + } + } + }, + "sky_color": { + "type": "int", + "value": 7254527 + }, + "grass_color": { + "type": "int", + "value": 9470285 + }, + "foliage_color": { + "type": "int", + "value": 10387789 + }, + "water_fog_color": { + "type": "int", + "value": 329011 + }, + "fog_color": { + "type": "int", + "value": 12638463 + }, + "water_color": { + "type": "int", + "value": 4159204 + }, + "mood_sound": { + "type": "compound", + "value": { + "tick_delay": { + "type": "int", + "value": 6000 + }, + "offset": { + "type": "double", + "value": 2 + }, + "sound": { + "type": "string", + "value": "minecraft:ambient.cave" + }, + "block_search_extent": { + "type": "int", + "value": 8 + } + } + } + } + }, + "has_precipitation": { + "type": "byte", + "value": 0 + }, + "temperature": { + "type": "float", + "value": 2 + }, + "downfall": { + "type": "float", + "value": 0 + } + } + } + } + ] + }, + "minecraft:chat_type": { + "id": "minecraft:chat_type", + "entries": [ + { + "key": "minecraft:chat", + "value": { + "type": "compound", + "value": { + "chat": { + "type": "compound", + "value": { + "translation_key": { + "type": "string", + "value": "chat.type.text" + }, + "parameters": { + "type": "list", + "value": { + "type": "string", + "value": [ + "sender", + "content" + ] + } + } + } + }, + "narration": { + "type": "compound", + "value": { + "translation_key": { + "type": "string", + "value": "chat.type.text.narrate" + }, + "parameters": { + "type": "list", + "value": { + "type": "string", + "value": [ + "sender", + "content" + ] + } + } + } + } + } + } + }, + { + "key": "minecraft:emote_command", + "value": { + "type": "compound", + "value": { + "chat": { + "type": "compound", + "value": { + "translation_key": { + "type": "string", + "value": "chat.type.emote" + }, + "parameters": { + "type": "list", + "value": { + "type": "string", + "value": [ + "sender", + "content" + ] + } + } + } + }, + "narration": { + "type": "compound", + "value": { + "translation_key": { + "type": "string", + "value": "chat.type.emote" + }, + "parameters": { + "type": "list", + "value": { + "type": "string", + "value": [ + "sender", + "content" + ] + } + } + } + } + } + } + }, + { + "key": "minecraft:msg_command_incoming", + "value": { + "type": "compound", + "value": { + "chat": { + "type": "compound", + "value": { + "translation_key": { + "type": "string", + "value": "commands.message.display.incoming" + }, + "style": { + "type": "compound", + "value": { + "color": { + "type": "string", + "value": "gray" + }, + "italic": { + "type": "byte", + "value": 1 + } + } + }, + "parameters": { + "type": "list", + "value": { + "type": "string", + "value": [ + "sender", + "content" + ] + } + } + } + }, + "narration": { + "type": "compound", + "value": { + "translation_key": { + "type": "string", + "value": "chat.type.text.narrate" + }, + "parameters": { + "type": "list", + "value": { + "type": "string", + "value": [ + "sender", + "content" + ] + } + } + } + } + } + } + }, + { + "key": "minecraft:msg_command_outgoing", + "value": { + "type": "compound", + "value": { + "chat": { + "type": "compound", + "value": { + "translation_key": { + "type": "string", + "value": "commands.message.display.outgoing" + }, + "style": { + "type": "compound", + "value": { + "color": { + "type": "string", + "value": "gray" + }, + "italic": { + "type": "byte", + "value": 1 + } + } + }, + "parameters": { + "type": "list", + "value": { + "type": "string", + "value": [ + "target", + "content" + ] + } + } + } + }, + "narration": { + "type": "compound", + "value": { + "translation_key": { + "type": "string", + "value": "chat.type.text.narrate" + }, + "parameters": { + "type": "list", + "value": { + "type": "string", + "value": [ + "sender", + "content" + ] + } + } + } + } + } + } + }, + { + "key": "minecraft:say_command", + "value": { + "type": "compound", + "value": { + "chat": { + "type": "compound", + "value": { + "translation_key": { + "type": "string", + "value": "chat.type.announcement" + }, + "parameters": { + "type": "list", + "value": { + "type": "string", + "value": [ + "sender", + "content" + ] + } + } + } + }, + "narration": { + "type": "compound", + "value": { + "translation_key": { + "type": "string", + "value": "chat.type.text.narrate" + }, + "parameters": { + "type": "list", + "value": { + "type": "string", + "value": [ + "sender", + "content" + ] + } + } + } + } + } + } + }, + { + "key": "minecraft:team_msg_command_incoming", + "value": { + "type": "compound", + "value": { + "chat": { + "type": "compound", + "value": { + "translation_key": { + "type": "string", + "value": "chat.type.team.text" + }, + "parameters": { + "type": "list", + "value": { + "type": "string", + "value": [ + "target", + "sender", + "content" + ] + } + } + } + }, + "narration": { + "type": "compound", + "value": { + "translation_key": { + "type": "string", + "value": "chat.type.text.narrate" + }, + "parameters": { + "type": "list", + "value": { + "type": "string", + "value": [ + "sender", + "content" + ] + } + } + } + } + } + } + }, + { + "key": "minecraft:team_msg_command_outgoing", + "value": { + "type": "compound", + "value": { + "chat": { + "type": "compound", + "value": { + "translation_key": { + "type": "string", + "value": "chat.type.team.sent" + }, + "parameters": { + "type": "list", + "value": { + "type": "string", + "value": [ + "target", + "sender", + "content" + ] + } + } + } + }, + "narration": { + "type": "compound", + "value": { + "translation_key": { + "type": "string", + "value": "chat.type.text.narrate" + }, + "parameters": { + "type": "list", + "value": { + "type": "string", + "value": [ + "sender", + "content" + ] + } + } + } + } + } + } + } + ] + }, + "minecraft:trim_pattern": { + "id": "minecraft:trim_pattern", + "entries": [ + { + "key": "minecraft:coast", + "value": { + "type": "compound", + "value": { + "template_item": { + "type": "string", + "value": "minecraft:coast_armor_trim_smithing_template" + }, + "description": { + "type": "compound", + "value": { + "translate": { + "type": "string", + "value": "trim_pattern.minecraft.coast" + } + } + }, + "asset_id": { + "type": "string", + "value": "minecraft:coast" + }, + "decal": { + "type": "byte", + "value": 0 + } + } + } + }, + { + "key": "minecraft:dune", + "value": { + "type": "compound", + "value": { + "template_item": { + "type": "string", + "value": "minecraft:dune_armor_trim_smithing_template" + }, + "description": { + "type": "compound", + "value": { + "translate": { + "type": "string", + "value": "trim_pattern.minecraft.dune" + } + } + }, + "asset_id": { + "type": "string", + "value": "minecraft:dune" + }, + "decal": { + "type": "byte", + "value": 0 + } + } + } + }, + { + "key": "minecraft:eye", + "value": { + "type": "compound", + "value": { + "template_item": { + "type": "string", + "value": "minecraft:eye_armor_trim_smithing_template" + }, + "description": { + "type": "compound", + "value": { + "translate": { + "type": "string", + "value": "trim_pattern.minecraft.eye" + } + } + }, + "asset_id": { + "type": "string", + "value": "minecraft:eye" + }, + "decal": { + "type": "byte", + "value": 0 + } + } + } + }, + { + "key": "minecraft:host", + "value": { + "type": "compound", + "value": { + "template_item": { + "type": "string", + "value": "minecraft:host_armor_trim_smithing_template" + }, + "description": { + "type": "compound", + "value": { + "translate": { + "type": "string", + "value": "trim_pattern.minecraft.host" + } + } + }, + "asset_id": { + "type": "string", + "value": "minecraft:host" + }, + "decal": { + "type": "byte", + "value": 0 + } + } + } + }, + { + "key": "minecraft:raiser", + "value": { + "type": "compound", + "value": { + "template_item": { + "type": "string", + "value": "minecraft:raiser_armor_trim_smithing_template" + }, + "description": { + "type": "compound", + "value": { + "translate": { + "type": "string", + "value": "trim_pattern.minecraft.raiser" + } + } + }, + "asset_id": { + "type": "string", + "value": "minecraft:raiser" + }, + "decal": { + "type": "byte", + "value": 0 + } + } + } + }, + { + "key": "minecraft:rib", + "value": { + "type": "compound", + "value": { + "template_item": { + "type": "string", + "value": "minecraft:rib_armor_trim_smithing_template" + }, + "description": { + "type": "compound", + "value": { + "translate": { + "type": "string", + "value": "trim_pattern.minecraft.rib" + } + } + }, + "asset_id": { + "type": "string", + "value": "minecraft:rib" + }, + "decal": { + "type": "byte", + "value": 0 + } + } + } + }, + { + "key": "minecraft:sentry", + "value": { + "type": "compound", + "value": { + "template_item": { + "type": "string", + "value": "minecraft:sentry_armor_trim_smithing_template" + }, + "description": { + "type": "compound", + "value": { + "translate": { + "type": "string", + "value": "trim_pattern.minecraft.sentry" + } + } + }, + "asset_id": { + "type": "string", + "value": "minecraft:sentry" + }, + "decal": { + "type": "byte", + "value": 0 + } + } + } + }, + { + "key": "minecraft:shaper", + "value": { + "type": "compound", + "value": { + "template_item": { + "type": "string", + "value": "minecraft:shaper_armor_trim_smithing_template" + }, + "description": { + "type": "compound", + "value": { + "translate": { + "type": "string", + "value": "trim_pattern.minecraft.shaper" + } + } + }, + "asset_id": { + "type": "string", + "value": "minecraft:shaper" + }, + "decal": { + "type": "byte", + "value": 0 + } + } + } + }, + { + "key": "minecraft:silence", + "value": { + "type": "compound", + "value": { + "template_item": { + "type": "string", + "value": "minecraft:silence_armor_trim_smithing_template" + }, + "description": { + "type": "compound", + "value": { + "translate": { + "type": "string", + "value": "trim_pattern.minecraft.silence" + } + } + }, + "asset_id": { + "type": "string", + "value": "minecraft:silence" + }, + "decal": { + "type": "byte", + "value": 0 + } + } + } + }, + { + "key": "minecraft:snout", + "value": { + "type": "compound", + "value": { + "template_item": { + "type": "string", + "value": "minecraft:snout_armor_trim_smithing_template" + }, + "description": { + "type": "compound", + "value": { + "translate": { + "type": "string", + "value": "trim_pattern.minecraft.snout" + } + } + }, + "asset_id": { + "type": "string", + "value": "minecraft:snout" + }, + "decal": { + "type": "byte", + "value": 0 + } + } + } + }, + { + "key": "minecraft:spire", + "value": { + "type": "compound", + "value": { + "template_item": { + "type": "string", + "value": "minecraft:spire_armor_trim_smithing_template" + }, + "description": { + "type": "compound", + "value": { + "translate": { + "type": "string", + "value": "trim_pattern.minecraft.spire" + } + } + }, + "asset_id": { + "type": "string", + "value": "minecraft:spire" + }, + "decal": { + "type": "byte", + "value": 0 + } + } + } + }, + { + "key": "minecraft:tide", + "value": { + "type": "compound", + "value": { + "template_item": { + "type": "string", + "value": "minecraft:tide_armor_trim_smithing_template" + }, + "description": { + "type": "compound", + "value": { + "translate": { + "type": "string", + "value": "trim_pattern.minecraft.tide" + } + } + }, + "asset_id": { + "type": "string", + "value": "minecraft:tide" + }, + "decal": { + "type": "byte", + "value": 0 + } + } + } + }, + { + "key": "minecraft:vex", + "value": { + "type": "compound", + "value": { + "template_item": { + "type": "string", + "value": "minecraft:vex_armor_trim_smithing_template" + }, + "description": { + "type": "compound", + "value": { + "translate": { + "type": "string", + "value": "trim_pattern.minecraft.vex" + } + } + }, + "asset_id": { + "type": "string", + "value": "minecraft:vex" + }, + "decal": { + "type": "byte", + "value": 0 + } + } + } + }, + { + "key": "minecraft:ward", + "value": { + "type": "compound", + "value": { + "template_item": { + "type": "string", + "value": "minecraft:ward_armor_trim_smithing_template" + }, + "description": { + "type": "compound", + "value": { + "translate": { + "type": "string", + "value": "trim_pattern.minecraft.ward" + } + } + }, + "asset_id": { + "type": "string", + "value": "minecraft:ward" + }, + "decal": { + "type": "byte", + "value": 0 + } + } + } + }, + { + "key": "minecraft:wayfinder", + "value": { + "type": "compound", + "value": { + "template_item": { + "type": "string", + "value": "minecraft:wayfinder_armor_trim_smithing_template" + }, + "description": { + "type": "compound", + "value": { + "translate": { + "type": "string", + "value": "trim_pattern.minecraft.wayfinder" + } + } + }, + "asset_id": { + "type": "string", + "value": "minecraft:wayfinder" + }, + "decal": { + "type": "byte", + "value": 0 + } + } + } + }, + { + "key": "minecraft:wild", + "value": { + "type": "compound", + "value": { + "template_item": { + "type": "string", + "value": "minecraft:wild_armor_trim_smithing_template" + }, + "description": { + "type": "compound", + "value": { + "translate": { + "type": "string", + "value": "trim_pattern.minecraft.wild" + } + } + }, + "asset_id": { + "type": "string", + "value": "minecraft:wild" + }, + "decal": { + "type": "byte", + "value": 0 + } + } + } + } + ] + }, + "minecraft:trim_material": { + "id": "minecraft:trim_material", + "entries": [ + { + "key": "minecraft:amethyst", + "value": { + "type": "compound", + "value": { + "ingredient": { + "type": "string", + "value": "minecraft:amethyst_shard" + }, + "asset_name": { + "type": "string", + "value": "amethyst" + }, + "item_model_index": { + "type": "float", + "value": 1 + }, + "description": { + "type": "compound", + "value": { + "color": { + "type": "string", + "value": "#9A5CC6" + }, + "translate": { + "type": "string", + "value": "trim_material.minecraft.amethyst" + } + } + } + } + } + }, + { + "key": "minecraft:copper", + "value": { + "type": "compound", + "value": { + "ingredient": { + "type": "string", + "value": "minecraft:copper_ingot" + }, + "asset_name": { + "type": "string", + "value": "copper" + }, + "item_model_index": { + "type": "float", + "value": 0.5 + }, + "description": { + "type": "compound", + "value": { + "color": { + "type": "string", + "value": "#B4684D" + }, + "translate": { + "type": "string", + "value": "trim_material.minecraft.copper" + } + } + } + } + } + }, + { + "key": "minecraft:diamond", + "value": { + "type": "compound", + "value": { + "override_armor_materials": { + "type": "compound", + "value": { + "minecraft:diamond": { + "type": "string", + "value": "diamond_darker" + } + } + }, + "ingredient": { + "type": "string", + "value": "minecraft:diamond" + }, + "asset_name": { + "type": "string", + "value": "diamond" + }, + "item_model_index": { + "type": "float", + "value": 0.800000011920929 + }, + "description": { + "type": "compound", + "value": { + "color": { + "type": "string", + "value": "#6EECD2" + }, + "translate": { + "type": "string", + "value": "trim_material.minecraft.diamond" + } + } + } + } + } + }, + { + "key": "minecraft:emerald", + "value": { + "type": "compound", + "value": { + "ingredient": { + "type": "string", + "value": "minecraft:emerald" + }, + "asset_name": { + "type": "string", + "value": "emerald" + }, + "item_model_index": { + "type": "float", + "value": 0.699999988079071 + }, + "description": { + "type": "compound", + "value": { + "color": { + "type": "string", + "value": "#11A036" + }, + "translate": { + "type": "string", + "value": "trim_material.minecraft.emerald" + } + } + } + } + } + }, + { + "key": "minecraft:gold", + "value": { + "type": "compound", + "value": { + "override_armor_materials": { + "type": "compound", + "value": { + "minecraft:gold": { + "type": "string", + "value": "gold_darker" + } + } + }, + "ingredient": { + "type": "string", + "value": "minecraft:gold_ingot" + }, + "asset_name": { + "type": "string", + "value": "gold" + }, + "item_model_index": { + "type": "float", + "value": 0.6000000238418579 + }, + "description": { + "type": "compound", + "value": { + "color": { + "type": "string", + "value": "#DEB12D" + }, + "translate": { + "type": "string", + "value": "trim_material.minecraft.gold" + } + } + } + } + } + }, + { + "key": "minecraft:iron", + "value": { + "type": "compound", + "value": { + "override_armor_materials": { + "type": "compound", + "value": { + "minecraft:iron": { + "type": "string", + "value": "iron_darker" + } + } + }, + "ingredient": { + "type": "string", + "value": "minecraft:iron_ingot" + }, + "asset_name": { + "type": "string", + "value": "iron" + }, + "item_model_index": { + "type": "float", + "value": 0.20000000298023224 + }, + "description": { + "type": "compound", + "value": { + "color": { + "type": "string", + "value": "#ECECEC" + }, + "translate": { + "type": "string", + "value": "trim_material.minecraft.iron" + } + } + } + } + } + }, + { + "key": "minecraft:lapis", + "value": { + "type": "compound", + "value": { + "ingredient": { + "type": "string", + "value": "minecraft:lapis_lazuli" + }, + "asset_name": { + "type": "string", + "value": "lapis" + }, + "item_model_index": { + "type": "float", + "value": 0.8999999761581421 + }, + "description": { + "type": "compound", + "value": { + "color": { + "type": "string", + "value": "#416E97" + }, + "translate": { + "type": "string", + "value": "trim_material.minecraft.lapis" + } + } + } + } + } + }, + { + "key": "minecraft:netherite", + "value": { + "type": "compound", + "value": { + "override_armor_materials": { + "type": "compound", + "value": { + "minecraft:netherite": { + "type": "string", + "value": "netherite_darker" + } + } + }, + "ingredient": { + "type": "string", + "value": "minecraft:netherite_ingot" + }, + "asset_name": { + "type": "string", + "value": "netherite" + }, + "item_model_index": { + "type": "float", + "value": 0.30000001192092896 + }, + "description": { + "type": "compound", + "value": { + "color": { + "type": "string", + "value": "#625859" + }, + "translate": { + "type": "string", + "value": "trim_material.minecraft.netherite" + } + } + } + } + } + }, + { + "key": "minecraft:quartz", + "value": { + "type": "compound", + "value": { + "ingredient": { + "type": "string", + "value": "minecraft:quartz" + }, + "asset_name": { + "type": "string", + "value": "quartz" + }, + "item_model_index": { + "type": "float", + "value": 0.10000000149011612 + }, + "description": { + "type": "compound", + "value": { + "color": { + "type": "string", + "value": "#E3D4C4" + }, + "translate": { + "type": "string", + "value": "trim_material.minecraft.quartz" + } + } + } + } + } + }, + { + "key": "minecraft:redstone", + "value": { + "type": "compound", + "value": { + "ingredient": { + "type": "string", + "value": "minecraft:redstone" + }, + "asset_name": { + "type": "string", + "value": "redstone" + }, + "item_model_index": { + "type": "float", + "value": 0.4000000059604645 + }, + "description": { + "type": "compound", + "value": { + "color": { + "type": "string", + "value": "#971607" + }, + "translate": { + "type": "string", + "value": "trim_material.minecraft.redstone" + } + } + } + } + } + } + ] + }, + "minecraft:wolf_variant": { + "id": "minecraft:wolf_variant", + "entries": [ + { + "key": "minecraft:ashen", + "value": { + "type": "compound", + "value": { + "wild_texture": { + "type": "string", + "value": "minecraft:entity/wolf/wolf_ashen" + }, + "angry_texture": { + "type": "string", + "value": "minecraft:entity/wolf/wolf_ashen_angry" + }, + "biomes": { + "type": "string", + "value": "minecraft:snowy_taiga" + }, + "tame_texture": { + "type": "string", + "value": "minecraft:entity/wolf/wolf_ashen_tame" + } + } + } + }, + { + "key": "minecraft:black", + "value": { + "type": "compound", + "value": { + "wild_texture": { + "type": "string", + "value": "minecraft:entity/wolf/wolf_black" + }, + "angry_texture": { + "type": "string", + "value": "minecraft:entity/wolf/wolf_black_angry" + }, + "biomes": { + "type": "string", + "value": "minecraft:old_growth_pine_taiga" + }, + "tame_texture": { + "type": "string", + "value": "minecraft:entity/wolf/wolf_black_tame" + } + } + } + }, + { + "key": "minecraft:chestnut", + "value": { + "type": "compound", + "value": { + "wild_texture": { + "type": "string", + "value": "minecraft:entity/wolf/wolf_chestnut" + }, + "angry_texture": { + "type": "string", + "value": "minecraft:entity/wolf/wolf_chestnut_angry" + }, + "biomes": { + "type": "string", + "value": "minecraft:old_growth_spruce_taiga" + }, + "tame_texture": { + "type": "string", + "value": "minecraft:entity/wolf/wolf_chestnut_tame" + } + } + } + }, + { + "key": "minecraft:pale", + "value": { + "type": "compound", + "value": { + "wild_texture": { + "type": "string", + "value": "minecraft:entity/wolf/wolf" + }, + "angry_texture": { + "type": "string", + "value": "minecraft:entity/wolf/wolf_angry" + }, + "biomes": { + "type": "string", + "value": "minecraft:taiga" + }, + "tame_texture": { + "type": "string", + "value": "minecraft:entity/wolf/wolf_tame" + } + } + } + }, + { + "key": "minecraft:rusty", + "value": { + "type": "compound", + "value": { + "wild_texture": { + "type": "string", + "value": "minecraft:entity/wolf/wolf_rusty" + }, + "angry_texture": { + "type": "string", + "value": "minecraft:entity/wolf/wolf_rusty_angry" + }, + "biomes": { + "type": "string", + "value": "#minecraft:is_jungle" + }, + "tame_texture": { + "type": "string", + "value": "minecraft:entity/wolf/wolf_rusty_tame" + } + } + } + }, + { + "key": "minecraft:snowy", + "value": { + "type": "compound", + "value": { + "wild_texture": { + "type": "string", + "value": "minecraft:entity/wolf/wolf_snowy" + }, + "angry_texture": { + "type": "string", + "value": "minecraft:entity/wolf/wolf_snowy_angry" + }, + "biomes": { + "type": "string", + "value": "minecraft:grove" + }, + "tame_texture": { + "type": "string", + "value": "minecraft:entity/wolf/wolf_snowy_tame" + } + } + } + }, + { + "key": "minecraft:spotted", + "value": { + "type": "compound", + "value": { + "wild_texture": { + "type": "string", + "value": "minecraft:entity/wolf/wolf_spotted" + }, + "angry_texture": { + "type": "string", + "value": "minecraft:entity/wolf/wolf_spotted_angry" + }, + "biomes": { + "type": "string", + "value": "#minecraft:is_savanna" + }, + "tame_texture": { + "type": "string", + "value": "minecraft:entity/wolf/wolf_spotted_tame" + } + } + } + }, + { + "key": "minecraft:striped", + "value": { + "type": "compound", + "value": { + "wild_texture": { + "type": "string", + "value": "minecraft:entity/wolf/wolf_striped" + }, + "angry_texture": { + "type": "string", + "value": "minecraft:entity/wolf/wolf_striped_angry" + }, + "biomes": { + "type": "string", + "value": "#minecraft:is_badlands" + }, + "tame_texture": { + "type": "string", + "value": "minecraft:entity/wolf/wolf_striped_tame" + } + } + } + }, + { + "key": "minecraft:woods", + "value": { + "type": "compound", + "value": { + "wild_texture": { + "type": "string", + "value": "minecraft:entity/wolf/wolf_woods" + }, + "angry_texture": { + "type": "string", + "value": "minecraft:entity/wolf/wolf_woods_angry" + }, + "biomes": { + "type": "string", + "value": "minecraft:forest" + }, + "tame_texture": { + "type": "string", + "value": "minecraft:entity/wolf/wolf_woods_tame" + } + } + } + } + ] + }, + "minecraft:dimension_type": { + "id": "minecraft:dimension_type", + "entries": [ + { + "key": "minecraft:overworld", + "value": { + "type": "compound", + "value": { + "piglin_safe": { + "type": "byte", + "value": 0 + }, + "natural": { + "type": "byte", + "value": 1 + }, + "ambient_light": { + "type": "float", + "value": 0 + }, + "monster_spawn_block_light_limit": { + "type": "int", + "value": 0 + }, + "infiniburn": { + "type": "string", + "value": "#minecraft:infiniburn_overworld" + }, + "respawn_anchor_works": { + "type": "byte", + "value": 0 + }, + "has_skylight": { + "type": "byte", + "value": 1 + }, + "bed_works": { + "type": "byte", + "value": 1 + }, + "effects": { + "type": "string", + "value": "minecraft:overworld" + }, + "has_raids": { + "type": "byte", + "value": 1 + }, + "logical_height": { + "type": "int", + "value": 384 + }, + "coordinate_scale": { + "type": "double", + "value": 1 + }, + "monster_spawn_light_level": { + "type": "compound", + "value": { + "min_inclusive": { + "type": "int", + "value": 0 + }, + "max_inclusive": { + "type": "int", + "value": 7 + }, + "type": { + "type": "string", + "value": "minecraft:uniform" + } + } + }, + "min_y": { + "type": "int", + "value": -64 + }, + "ultrawarm": { + "type": "byte", + "value": 0 + }, + "has_ceiling": { + "type": "byte", + "value": 0 + }, + "height": { + "type": "int", + "value": 384 + } + } + } + }, + { + "key": "minecraft:overworld_caves", + "value": { + "type": "compound", + "value": { + "piglin_safe": { + "type": "byte", + "value": 0 + }, + "natural": { + "type": "byte", + "value": 1 + }, + "ambient_light": { + "type": "float", + "value": 0 + }, + "monster_spawn_block_light_limit": { + "type": "int", + "value": 0 + }, + "infiniburn": { + "type": "string", + "value": "#minecraft:infiniburn_overworld" + }, + "respawn_anchor_works": { + "type": "byte", + "value": 0 + }, + "has_skylight": { + "type": "byte", + "value": 1 + }, + "bed_works": { + "type": "byte", + "value": 1 + }, + "effects": { + "type": "string", + "value": "minecraft:overworld" + }, + "has_raids": { + "type": "byte", + "value": 1 + }, + "logical_height": { + "type": "int", + "value": 384 + }, + "coordinate_scale": { + "type": "double", + "value": 1 + }, + "monster_spawn_light_level": { + "type": "compound", + "value": { + "min_inclusive": { + "type": "int", + "value": 0 + }, + "max_inclusive": { + "type": "int", + "value": 7 + }, + "type": { + "type": "string", + "value": "minecraft:uniform" + } + } + }, + "min_y": { + "type": "int", + "value": -64 + }, + "ultrawarm": { + "type": "byte", + "value": 0 + }, + "has_ceiling": { + "type": "byte", + "value": 1 + }, + "height": { + "type": "int", + "value": 384 + } + } + } + }, + { + "key": "minecraft:the_end", + "value": { + "type": "compound", + "value": { + "piglin_safe": { + "type": "byte", + "value": 0 + }, + "natural": { + "type": "byte", + "value": 0 + }, + "ambient_light": { + "type": "float", + "value": 0 + }, + "monster_spawn_block_light_limit": { + "type": "int", + "value": 0 + }, + "infiniburn": { + "type": "string", + "value": "#minecraft:infiniburn_end" + }, + "respawn_anchor_works": { + "type": "byte", + "value": 0 + }, + "has_skylight": { + "type": "byte", + "value": 0 + }, + "bed_works": { + "type": "byte", + "value": 0 + }, + "effects": { + "type": "string", + "value": "minecraft:the_end" + }, + "fixed_time": { + "type": "long", + "value": [ + 0, + 6000 + ] + }, + "has_raids": { + "type": "byte", + "value": 1 + }, + "logical_height": { + "type": "int", + "value": 256 + }, + "coordinate_scale": { + "type": "double", + "value": 1 + }, + "monster_spawn_light_level": { + "type": "compound", + "value": { + "min_inclusive": { + "type": "int", + "value": 0 + }, + "max_inclusive": { + "type": "int", + "value": 7 + }, + "type": { + "type": "string", + "value": "minecraft:uniform" + } + } + }, + "min_y": { + "type": "int", + "value": 0 + }, + "ultrawarm": { + "type": "byte", + "value": 0 + }, + "has_ceiling": { + "type": "byte", + "value": 0 + }, + "height": { + "type": "int", + "value": 256 + } + } + } + }, + { + "key": "minecraft:the_nether", + "value": { + "type": "compound", + "value": { + "piglin_safe": { + "type": "byte", + "value": 1 + }, + "natural": { + "type": "byte", + "value": 0 + }, + "ambient_light": { + "type": "float", + "value": 0.10000000149011612 + }, + "monster_spawn_block_light_limit": { + "type": "int", + "value": 15 + }, + "infiniburn": { + "type": "string", + "value": "#minecraft:infiniburn_nether" + }, + "respawn_anchor_works": { + "type": "byte", + "value": 1 + }, + "has_skylight": { + "type": "byte", + "value": 0 + }, + "bed_works": { + "type": "byte", + "value": 0 + }, + "effects": { + "type": "string", + "value": "minecraft:the_nether" + }, + "fixed_time": { + "type": "long", + "value": [ + 0, + 18000 + ] + }, + "has_raids": { + "type": "byte", + "value": 0 + }, + "logical_height": { + "type": "int", + "value": 128 + }, + "coordinate_scale": { + "type": "double", + "value": 8 + }, + "monster_spawn_light_level": { + "type": "int", + "value": 7 + }, + "min_y": { + "type": "int", + "value": 0 + }, + "ultrawarm": { + "type": "byte", + "value": 1 + }, + "has_ceiling": { + "type": "byte", + "value": 1 + }, + "height": { + "type": "int", + "value": 256 + } + } + } + } + ] + }, + "minecraft:damage_type": { + "id": "minecraft:damage_type", + "entries": [ + { + "key": "minecraft:arrow", + "value": { + "type": "compound", + "value": { + "scaling": { + "type": "string", + "value": "when_caused_by_living_non_player" + }, + "exhaustion": { + "type": "float", + "value": 0.10000000149011612 + }, + "message_id": { + "type": "string", + "value": "arrow" + } + } + } + }, + { + "key": "minecraft:bad_respawn_point", + "value": { + "type": "compound", + "value": { + "scaling": { + "type": "string", + "value": "always" + }, + "exhaustion": { + "type": "float", + "value": 0.10000000149011612 + }, + "message_id": { + "type": "string", + "value": "badRespawnPoint" + }, + "death_message_type": { + "type": "string", + "value": "intentional_game_design" + } + } + } + }, + { + "key": "minecraft:cactus", + "value": { + "type": "compound", + "value": { + "scaling": { + "type": "string", + "value": "when_caused_by_living_non_player" + }, + "exhaustion": { + "type": "float", + "value": 0.10000000149011612 + }, + "message_id": { + "type": "string", + "value": "cactus" + } + } + } + }, + { + "key": "minecraft:cramming", + "value": { + "type": "compound", + "value": { + "scaling": { + "type": "string", + "value": "when_caused_by_living_non_player" + }, + "exhaustion": { + "type": "float", + "value": 0 + }, + "message_id": { + "type": "string", + "value": "cramming" + } + } + } + }, + { + "key": "minecraft:dragon_breath", + "value": { + "type": "compound", + "value": { + "scaling": { + "type": "string", + "value": "when_caused_by_living_non_player" + }, + "exhaustion": { + "type": "float", + "value": 0 + }, + "message_id": { + "type": "string", + "value": "dragonBreath" + } + } + } + }, + { + "key": "minecraft:drown", + "value": { + "type": "compound", + "value": { + "effects": { + "type": "string", + "value": "drowning" + }, + "scaling": { + "type": "string", + "value": "when_caused_by_living_non_player" + }, + "exhaustion": { + "type": "float", + "value": 0 + }, + "message_id": { + "type": "string", + "value": "drown" + } + } + } + }, + { + "key": "minecraft:dry_out", + "value": { + "type": "compound", + "value": { + "scaling": { + "type": "string", + "value": "when_caused_by_living_non_player" + }, + "exhaustion": { + "type": "float", + "value": 0.10000000149011612 + }, + "message_id": { + "type": "string", + "value": "dryout" + } + } + } + }, + { + "key": "minecraft:explosion", + "value": { + "type": "compound", + "value": { + "scaling": { + "type": "string", + "value": "always" + }, + "exhaustion": { + "type": "float", + "value": 0.10000000149011612 + }, + "message_id": { + "type": "string", + "value": "explosion" + } + } + } + }, + { + "key": "minecraft:fall", + "value": { + "type": "compound", + "value": { + "scaling": { + "type": "string", + "value": "when_caused_by_living_non_player" + }, + "exhaustion": { + "type": "float", + "value": 0 + }, + "message_id": { + "type": "string", + "value": "fall" + }, + "death_message_type": { + "type": "string", + "value": "fall_variants" + } + } + } + }, + { + "key": "minecraft:falling_anvil", + "value": { + "type": "compound", + "value": { + "scaling": { + "type": "string", + "value": "when_caused_by_living_non_player" + }, + "exhaustion": { + "type": "float", + "value": 0.10000000149011612 + }, + "message_id": { + "type": "string", + "value": "anvil" + } + } + } + }, + { + "key": "minecraft:falling_block", + "value": { + "type": "compound", + "value": { + "scaling": { + "type": "string", + "value": "when_caused_by_living_non_player" + }, + "exhaustion": { + "type": "float", + "value": 0.10000000149011612 + }, + "message_id": { + "type": "string", + "value": "fallingBlock" + } + } + } + }, + { + "key": "minecraft:falling_stalactite", + "value": { + "type": "compound", + "value": { + "scaling": { + "type": "string", + "value": "when_caused_by_living_non_player" + }, + "exhaustion": { + "type": "float", + "value": 0.10000000149011612 + }, + "message_id": { + "type": "string", + "value": "fallingStalactite" + } + } + } + }, + { + "key": "minecraft:fireball", + "value": { + "type": "compound", + "value": { + "effects": { + "type": "string", + "value": "burning" + }, + "scaling": { + "type": "string", + "value": "when_caused_by_living_non_player" + }, + "exhaustion": { + "type": "float", + "value": 0.10000000149011612 + }, + "message_id": { + "type": "string", + "value": "fireball" + } + } + } + }, + { + "key": "minecraft:fireworks", + "value": { + "type": "compound", + "value": { + "scaling": { + "type": "string", + "value": "when_caused_by_living_non_player" + }, + "exhaustion": { + "type": "float", + "value": 0.10000000149011612 + }, + "message_id": { + "type": "string", + "value": "fireworks" + } + } + } + }, + { + "key": "minecraft:fly_into_wall", + "value": { + "type": "compound", + "value": { + "scaling": { + "type": "string", + "value": "when_caused_by_living_non_player" + }, + "exhaustion": { + "type": "float", + "value": 0 + }, + "message_id": { + "type": "string", + "value": "flyIntoWall" + } + } + } + }, + { + "key": "minecraft:freeze", + "value": { + "type": "compound", + "value": { + "effects": { + "type": "string", + "value": "freezing" + }, + "scaling": { + "type": "string", + "value": "when_caused_by_living_non_player" + }, + "exhaustion": { + "type": "float", + "value": 0 + }, + "message_id": { + "type": "string", + "value": "freeze" + } + } + } + }, + { + "key": "minecraft:generic", + "value": { + "type": "compound", + "value": { + "scaling": { + "type": "string", + "value": "when_caused_by_living_non_player" + }, + "exhaustion": { + "type": "float", + "value": 0 + }, + "message_id": { + "type": "string", + "value": "generic" + } + } + } + }, + { + "key": "minecraft:generic_kill", + "value": { + "type": "compound", + "value": { + "scaling": { + "type": "string", + "value": "when_caused_by_living_non_player" + }, + "exhaustion": { + "type": "float", + "value": 0 + }, + "message_id": { + "type": "string", + "value": "genericKill" + } + } + } + }, + { + "key": "minecraft:hot_floor", + "value": { + "type": "compound", + "value": { + "effects": { + "type": "string", + "value": "burning" + }, + "scaling": { + "type": "string", + "value": "when_caused_by_living_non_player" + }, + "exhaustion": { + "type": "float", + "value": 0.10000000149011612 + }, + "message_id": { + "type": "string", + "value": "hotFloor" + } + } + } + }, + { + "key": "minecraft:in_fire", + "value": { + "type": "compound", + "value": { + "effects": { + "type": "string", + "value": "burning" + }, + "scaling": { + "type": "string", + "value": "when_caused_by_living_non_player" + }, + "exhaustion": { + "type": "float", + "value": 0.10000000149011612 + }, + "message_id": { + "type": "string", + "value": "inFire" + } + } + } + }, + { + "key": "minecraft:in_wall", + "value": { + "type": "compound", + "value": { + "scaling": { + "type": "string", + "value": "when_caused_by_living_non_player" + }, + "exhaustion": { + "type": "float", + "value": 0 + }, + "message_id": { + "type": "string", + "value": "inWall" + } + } + } + }, + { + "key": "minecraft:indirect_magic", + "value": { + "type": "compound", + "value": { + "scaling": { + "type": "string", + "value": "when_caused_by_living_non_player" + }, + "exhaustion": { + "type": "float", + "value": 0 + }, + "message_id": { + "type": "string", + "value": "indirectMagic" + } + } + } + }, + { + "key": "minecraft:lava", + "value": { + "type": "compound", + "value": { + "effects": { + "type": "string", + "value": "burning" + }, + "scaling": { + "type": "string", + "value": "when_caused_by_living_non_player" + }, + "exhaustion": { + "type": "float", + "value": 0.10000000149011612 + }, + "message_id": { + "type": "string", + "value": "lava" + } + } + } + }, + { + "key": "minecraft:lightning_bolt", + "value": { + "type": "compound", + "value": { + "scaling": { + "type": "string", + "value": "when_caused_by_living_non_player" + }, + "exhaustion": { + "type": "float", + "value": 0.10000000149011612 + }, + "message_id": { + "type": "string", + "value": "lightningBolt" + } + } + } + }, + { + "key": "minecraft:magic", + "value": { + "type": "compound", + "value": { + "scaling": { + "type": "string", + "value": "when_caused_by_living_non_player" + }, + "exhaustion": { + "type": "float", + "value": 0 + }, + "message_id": { + "type": "string", + "value": "magic" + } + } + } + }, + { + "key": "minecraft:mob_attack", + "value": { + "type": "compound", + "value": { + "scaling": { + "type": "string", + "value": "when_caused_by_living_non_player" + }, + "exhaustion": { + "type": "float", + "value": 0.10000000149011612 + }, + "message_id": { + "type": "string", + "value": "mob" + } + } + } + }, + { + "key": "minecraft:mob_attack_no_aggro", + "value": { + "type": "compound", + "value": { + "scaling": { + "type": "string", + "value": "when_caused_by_living_non_player" + }, + "exhaustion": { + "type": "float", + "value": 0.10000000149011612 + }, + "message_id": { + "type": "string", + "value": "mob" + } + } + } + }, + { + "key": "minecraft:mob_projectile", + "value": { + "type": "compound", + "value": { + "scaling": { + "type": "string", + "value": "when_caused_by_living_non_player" + }, + "exhaustion": { + "type": "float", + "value": 0.10000000149011612 + }, + "message_id": { + "type": "string", + "value": "mob" + } + } + } + }, + { + "key": "minecraft:on_fire", + "value": { + "type": "compound", + "value": { + "effects": { + "type": "string", + "value": "burning" + }, + "scaling": { + "type": "string", + "value": "when_caused_by_living_non_player" + }, + "exhaustion": { + "type": "float", + "value": 0 + }, + "message_id": { + "type": "string", + "value": "onFire" + } + } + } + }, + { + "key": "minecraft:out_of_world", + "value": { + "type": "compound", + "value": { + "scaling": { + "type": "string", + "value": "when_caused_by_living_non_player" + }, + "exhaustion": { + "type": "float", + "value": 0 + }, + "message_id": { + "type": "string", + "value": "outOfWorld" + } + } + } + }, + { + "key": "minecraft:outside_border", + "value": { + "type": "compound", + "value": { + "scaling": { + "type": "string", + "value": "when_caused_by_living_non_player" + }, + "exhaustion": { + "type": "float", + "value": 0 + }, + "message_id": { + "type": "string", + "value": "outsideBorder" + } + } + } + }, + { + "key": "minecraft:player_attack", + "value": { + "type": "compound", + "value": { + "scaling": { + "type": "string", + "value": "when_caused_by_living_non_player" + }, + "exhaustion": { + "type": "float", + "value": 0.10000000149011612 + }, + "message_id": { + "type": "string", + "value": "player" + } + } + } + }, + { + "key": "minecraft:player_explosion", + "value": { + "type": "compound", + "value": { + "scaling": { + "type": "string", + "value": "always" + }, + "exhaustion": { + "type": "float", + "value": 0.10000000149011612 + }, + "message_id": { + "type": "string", + "value": "explosion.player" + } + } + } + }, + { + "key": "minecraft:sonic_boom", + "value": { + "type": "compound", + "value": { + "scaling": { + "type": "string", + "value": "always" + }, + "exhaustion": { + "type": "float", + "value": 0 + }, + "message_id": { + "type": "string", + "value": "sonic_boom" + } + } + } + }, + { + "key": "minecraft:spit", + "value": { + "type": "compound", + "value": { + "scaling": { + "type": "string", + "value": "when_caused_by_living_non_player" + }, + "exhaustion": { + "type": "float", + "value": 0.10000000149011612 + }, + "message_id": { + "type": "string", + "value": "mob" + } + } + } + }, + { + "key": "minecraft:stalagmite", + "value": { + "type": "compound", + "value": { + "scaling": { + "type": "string", + "value": "when_caused_by_living_non_player" + }, + "exhaustion": { + "type": "float", + "value": 0 + }, + "message_id": { + "type": "string", + "value": "stalagmite" + } + } + } + }, + { + "key": "minecraft:starve", + "value": { + "type": "compound", + "value": { + "scaling": { + "type": "string", + "value": "when_caused_by_living_non_player" + }, + "exhaustion": { + "type": "float", + "value": 0 + }, + "message_id": { + "type": "string", + "value": "starve" + } + } + } + }, + { + "key": "minecraft:sting", + "value": { + "type": "compound", + "value": { + "scaling": { + "type": "string", + "value": "when_caused_by_living_non_player" + }, + "exhaustion": { + "type": "float", + "value": 0.10000000149011612 + }, + "message_id": { + "type": "string", + "value": "sting" + } + } + } + }, + { + "key": "minecraft:sweet_berry_bush", + "value": { + "type": "compound", + "value": { + "effects": { + "type": "string", + "value": "poking" + }, + "scaling": { + "type": "string", + "value": "when_caused_by_living_non_player" + }, + "exhaustion": { + "type": "float", + "value": 0.10000000149011612 + }, + "message_id": { + "type": "string", + "value": "sweetBerryBush" + } + } + } + }, + { + "key": "minecraft:thorns", + "value": { + "type": "compound", + "value": { + "effects": { + "type": "string", + "value": "thorns" + }, + "scaling": { + "type": "string", + "value": "when_caused_by_living_non_player" + }, + "exhaustion": { + "type": "float", + "value": 0.10000000149011612 + }, + "message_id": { + "type": "string", + "value": "thorns" + } + } + } + }, + { + "key": "minecraft:thrown", + "value": { + "type": "compound", + "value": { + "scaling": { + "type": "string", + "value": "when_caused_by_living_non_player" + }, + "exhaustion": { + "type": "float", + "value": 0.10000000149011612 + }, + "message_id": { + "type": "string", + "value": "thrown" + } + } + } + }, + { + "key": "minecraft:trident", + "value": { + "type": "compound", + "value": { + "scaling": { + "type": "string", + "value": "when_caused_by_living_non_player" + }, + "exhaustion": { + "type": "float", + "value": 0.10000000149011612 + }, + "message_id": { + "type": "string", + "value": "trident" + } + } + } + }, + { + "key": "minecraft:unattributed_fireball", + "value": { + "type": "compound", + "value": { + "effects": { + "type": "string", + "value": "burning" + }, + "scaling": { + "type": "string", + "value": "when_caused_by_living_non_player" + }, + "exhaustion": { + "type": "float", + "value": 0.10000000149011612 + }, + "message_id": { + "type": "string", + "value": "onFire" + } + } + } + }, + { + "key": "minecraft:wither", + "value": { + "type": "compound", + "value": { + "scaling": { + "type": "string", + "value": "when_caused_by_living_non_player" + }, + "exhaustion": { + "type": "float", + "value": 0 + }, + "message_id": { + "type": "string", + "value": "wither" + } + } + } + }, + { + "key": "minecraft:wither_skull", + "value": { + "type": "compound", + "value": { + "scaling": { + "type": "string", + "value": "when_caused_by_living_non_player" + }, + "exhaustion": { + "type": "float", + "value": 0.10000000149011612 + }, + "message_id": { + "type": "string", + "value": "witherSkull" + } + } + } + } + ] + }, + "minecraft:banner_pattern": { + "id": "minecraft:banner_pattern", + "entries": [ + { + "key": "minecraft:base", + "value": { + "type": "compound", + "value": { + "translation_key": { + "type": "string", + "value": "block.minecraft.banner.base" + }, + "asset_id": { + "type": "string", + "value": "minecraft:base" + } + } + } + }, + { + "key": "minecraft:border", + "value": { + "type": "compound", + "value": { + "translation_key": { + "type": "string", + "value": "block.minecraft.banner.border" + }, + "asset_id": { + "type": "string", + "value": "minecraft:border" + } + } + } + }, + { + "key": "minecraft:bricks", + "value": { + "type": "compound", + "value": { + "translation_key": { + "type": "string", + "value": "block.minecraft.banner.bricks" + }, + "asset_id": { + "type": "string", + "value": "minecraft:bricks" + } + } + } + }, + { + "key": "minecraft:circle", + "value": { + "type": "compound", + "value": { + "translation_key": { + "type": "string", + "value": "block.minecraft.banner.circle" + }, + "asset_id": { + "type": "string", + "value": "minecraft:circle" + } + } + } + }, + { + "key": "minecraft:creeper", + "value": { + "type": "compound", + "value": { + "translation_key": { + "type": "string", + "value": "block.minecraft.banner.creeper" + }, + "asset_id": { + "type": "string", + "value": "minecraft:creeper" + } + } + } + }, + { + "key": "minecraft:cross", + "value": { + "type": "compound", + "value": { + "translation_key": { + "type": "string", + "value": "block.minecraft.banner.cross" + }, + "asset_id": { + "type": "string", + "value": "minecraft:cross" + } + } + } + }, + { + "key": "minecraft:curly_border", + "value": { + "type": "compound", + "value": { + "translation_key": { + "type": "string", + "value": "block.minecraft.banner.curly_border" + }, + "asset_id": { + "type": "string", + "value": "minecraft:curly_border" + } + } + } + }, + { + "key": "minecraft:diagonal_left", + "value": { + "type": "compound", + "value": { + "translation_key": { + "type": "string", + "value": "block.minecraft.banner.diagonal_left" + }, + "asset_id": { + "type": "string", + "value": "minecraft:diagonal_left" + } + } + } + }, + { + "key": "minecraft:diagonal_right", + "value": { + "type": "compound", + "value": { + "translation_key": { + "type": "string", + "value": "block.minecraft.banner.diagonal_right" + }, + "asset_id": { + "type": "string", + "value": "minecraft:diagonal_right" + } + } + } + }, + { + "key": "minecraft:diagonal_up_left", + "value": { + "type": "compound", + "value": { + "translation_key": { + "type": "string", + "value": "block.minecraft.banner.diagonal_up_left" + }, + "asset_id": { + "type": "string", + "value": "minecraft:diagonal_up_left" + } + } + } + }, + { + "key": "minecraft:diagonal_up_right", + "value": { + "type": "compound", + "value": { + "translation_key": { + "type": "string", + "value": "block.minecraft.banner.diagonal_up_right" + }, + "asset_id": { + "type": "string", + "value": "minecraft:diagonal_up_right" + } + } + } + }, + { + "key": "minecraft:flower", + "value": { + "type": "compound", + "value": { + "translation_key": { + "type": "string", + "value": "block.minecraft.banner.flower" + }, + "asset_id": { + "type": "string", + "value": "minecraft:flower" + } + } + } + }, + { + "key": "minecraft:globe", + "value": { + "type": "compound", + "value": { + "translation_key": { + "type": "string", + "value": "block.minecraft.banner.globe" + }, + "asset_id": { + "type": "string", + "value": "minecraft:globe" + } + } + } + }, + { + "key": "minecraft:gradient", + "value": { + "type": "compound", + "value": { + "translation_key": { + "type": "string", + "value": "block.minecraft.banner.gradient" + }, + "asset_id": { + "type": "string", + "value": "minecraft:gradient" + } + } + } + }, + { + "key": "minecraft:gradient_up", + "value": { + "type": "compound", + "value": { + "translation_key": { + "type": "string", + "value": "block.minecraft.banner.gradient_up" + }, + "asset_id": { + "type": "string", + "value": "minecraft:gradient_up" + } + } + } + }, + { + "key": "minecraft:half_horizontal", + "value": { + "type": "compound", + "value": { + "translation_key": { + "type": "string", + "value": "block.minecraft.banner.half_horizontal" + }, + "asset_id": { + "type": "string", + "value": "minecraft:half_horizontal" + } + } + } + }, + { + "key": "minecraft:half_horizontal_bottom", + "value": { + "type": "compound", + "value": { + "translation_key": { + "type": "string", + "value": "block.minecraft.banner.half_horizontal_bottom" + }, + "asset_id": { + "type": "string", + "value": "minecraft:half_horizontal_bottom" + } + } + } + }, + { + "key": "minecraft:half_vertical", + "value": { + "type": "compound", + "value": { + "translation_key": { + "type": "string", + "value": "block.minecraft.banner.half_vertical" + }, + "asset_id": { + "type": "string", + "value": "minecraft:half_vertical" + } + } + } + }, + { + "key": "minecraft:half_vertical_right", + "value": { + "type": "compound", + "value": { + "translation_key": { + "type": "string", + "value": "block.minecraft.banner.half_vertical_right" + }, + "asset_id": { + "type": "string", + "value": "minecraft:half_vertical_right" + } + } + } + }, + { + "key": "minecraft:mojang", + "value": { + "type": "compound", + "value": { + "translation_key": { + "type": "string", + "value": "block.minecraft.banner.mojang" + }, + "asset_id": { + "type": "string", + "value": "minecraft:mojang" + } + } + } + }, + { + "key": "minecraft:piglin", + "value": { + "type": "compound", + "value": { + "translation_key": { + "type": "string", + "value": "block.minecraft.banner.piglin" + }, + "asset_id": { + "type": "string", + "value": "minecraft:piglin" + } + } + } + }, + { + "key": "minecraft:rhombus", + "value": { + "type": "compound", + "value": { + "translation_key": { + "type": "string", + "value": "block.minecraft.banner.rhombus" + }, + "asset_id": { + "type": "string", + "value": "minecraft:rhombus" + } + } + } + }, + { + "key": "minecraft:skull", + "value": { + "type": "compound", + "value": { + "translation_key": { + "type": "string", + "value": "block.minecraft.banner.skull" + }, + "asset_id": { + "type": "string", + "value": "minecraft:skull" + } + } + } + }, + { + "key": "minecraft:small_stripes", + "value": { + "type": "compound", + "value": { + "translation_key": { + "type": "string", + "value": "block.minecraft.banner.small_stripes" + }, + "asset_id": { + "type": "string", + "value": "minecraft:small_stripes" + } + } + } + }, + { + "key": "minecraft:square_bottom_left", + "value": { + "type": "compound", + "value": { + "translation_key": { + "type": "string", + "value": "block.minecraft.banner.square_bottom_left" + }, + "asset_id": { + "type": "string", + "value": "minecraft:square_bottom_left" + } + } + } + }, + { + "key": "minecraft:square_bottom_right", + "value": { + "type": "compound", + "value": { + "translation_key": { + "type": "string", + "value": "block.minecraft.banner.square_bottom_right" + }, + "asset_id": { + "type": "string", + "value": "minecraft:square_bottom_right" + } + } + } + }, + { + "key": "minecraft:square_top_left", + "value": { + "type": "compound", + "value": { + "translation_key": { + "type": "string", + "value": "block.minecraft.banner.square_top_left" + }, + "asset_id": { + "type": "string", + "value": "minecraft:square_top_left" + } + } + } + }, + { + "key": "minecraft:square_top_right", + "value": { + "type": "compound", + "value": { + "translation_key": { + "type": "string", + "value": "block.minecraft.banner.square_top_right" + }, + "asset_id": { + "type": "string", + "value": "minecraft:square_top_right" + } + } + } + }, + { + "key": "minecraft:straight_cross", + "value": { + "type": "compound", + "value": { + "translation_key": { + "type": "string", + "value": "block.minecraft.banner.straight_cross" + }, + "asset_id": { + "type": "string", + "value": "minecraft:straight_cross" + } + } + } + }, + { + "key": "minecraft:stripe_bottom", + "value": { + "type": "compound", + "value": { + "translation_key": { + "type": "string", + "value": "block.minecraft.banner.stripe_bottom" + }, + "asset_id": { + "type": "string", + "value": "minecraft:stripe_bottom" + } + } + } + }, + { + "key": "minecraft:stripe_center", + "value": { + "type": "compound", + "value": { + "translation_key": { + "type": "string", + "value": "block.minecraft.banner.stripe_center" + }, + "asset_id": { + "type": "string", + "value": "minecraft:stripe_center" + } + } + } + }, + { + "key": "minecraft:stripe_downleft", + "value": { + "type": "compound", + "value": { + "translation_key": { + "type": "string", + "value": "block.minecraft.banner.stripe_downleft" + }, + "asset_id": { + "type": "string", + "value": "minecraft:stripe_downleft" + } + } + } + }, + { + "key": "minecraft:stripe_downright", + "value": { + "type": "compound", + "value": { + "translation_key": { + "type": "string", + "value": "block.minecraft.banner.stripe_downright" + }, + "asset_id": { + "type": "string", + "value": "minecraft:stripe_downright" + } + } + } + }, + { + "key": "minecraft:stripe_left", + "value": { + "type": "compound", + "value": { + "translation_key": { + "type": "string", + "value": "block.minecraft.banner.stripe_left" + }, + "asset_id": { + "type": "string", + "value": "minecraft:stripe_left" + } + } + } + }, + { + "key": "minecraft:stripe_middle", + "value": { + "type": "compound", + "value": { + "translation_key": { + "type": "string", + "value": "block.minecraft.banner.stripe_middle" + }, + "asset_id": { + "type": "string", + "value": "minecraft:stripe_middle" + } + } + } + }, + { + "key": "minecraft:stripe_right", + "value": { + "type": "compound", + "value": { + "translation_key": { + "type": "string", + "value": "block.minecraft.banner.stripe_right" + }, + "asset_id": { + "type": "string", + "value": "minecraft:stripe_right" + } + } + } + }, + { + "key": "minecraft:stripe_top", + "value": { + "type": "compound", + "value": { + "translation_key": { + "type": "string", + "value": "block.minecraft.banner.stripe_top" + }, + "asset_id": { + "type": "string", + "value": "minecraft:stripe_top" + } + } + } + }, + { + "key": "minecraft:triangle_bottom", + "value": { + "type": "compound", + "value": { + "translation_key": { + "type": "string", + "value": "block.minecraft.banner.triangle_bottom" + }, + "asset_id": { + "type": "string", + "value": "minecraft:triangle_bottom" + } + } + } + }, + { + "key": "minecraft:triangle_top", + "value": { + "type": "compound", + "value": { + "translation_key": { + "type": "string", + "value": "block.minecraft.banner.triangle_top" + }, + "asset_id": { + "type": "string", + "value": "minecraft:triangle_top" + } + } + } + }, + { + "key": "minecraft:triangles_bottom", + "value": { + "type": "compound", + "value": { + "translation_key": { + "type": "string", + "value": "block.minecraft.banner.triangles_bottom" + }, + "asset_id": { + "type": "string", + "value": "minecraft:triangles_bottom" + } + } + } + }, + { + "key": "minecraft:triangles_top", + "value": { + "type": "compound", + "value": { + "translation_key": { + "type": "string", + "value": "block.minecraft.banner.triangles_top" + }, + "asset_id": { + "type": "string", + "value": "minecraft:triangles_top" + } + } + } + } + ] + } + } + } \ No newline at end of file diff --git a/data/pc/1.20.5/protocol.json b/data/pc/1.20.5/protocol.json new file mode 100644 index 000000000..9ca1bebf1 --- /dev/null +++ b/data/pc/1.20.5/protocol.json @@ -0,0 +1,7537 @@ +{ + "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", + "container": "native", + "switch": "native", + "void": "native", + "array": "native", + "restBuffer": "native", + "anonymousNbt": "native", + "anonOptionalNbt": "native", + "ByteArray": [ + "buffer", + { + "countType": "varint" + } + ], + "string": [ + "pstring", + { + "countType": "varint" + } + ], + "vec3f": [ + "container", + [ + { + "name": "x", + "type": "f32" + }, + { + "name": "y", + "type": "f32" + }, + { + "name": "z", + "type": "f32" + } + ] + ], + "vec4f": [ + "container", + [ + { + "name": "x", + "type": "f32" + }, + { + "name": "y", + "type": "f32" + }, + { + "name": "z", + "type": "f32" + }, + { + "name": "w", + "type": "f32" + } + ] + ], + "vec3f64": [ + "container", + [ + { + "name": "x", + "type": "f64" + }, + { + "name": "y", + "type": "f64" + }, + { + "name": "z", + "type": "f64" + } + ] + ], + "Slot": [ + "container", + [ + { + "name": "itemCount", + "type": "i8" + }, + { + "anon": true, + "type": [ + "switch", + { + "compareTo": "itemCount", + "fields": { + "0": "void" + }, + "default": [ + "container", + [ + { + "name": "itemId", + "type": "varint" + }, + { + "name": "nbtData", + "type": "anonOptionalNbt" + } + ] + ] + } + ] + } + ] + ], + "Particle": [ + "container", + [ + { + "name": "type", + "type": [ + "mapper", + { + "type": "varint", + "mappings": { + "0": "angry_villager", + "1": "block", + "2": "block_marker", + "3": "bubble", + "4": "cloud", + "5": "crit", + "6": "damage_indicator", + "7": "dragon_breath", + "8": "dripping_lava", + "9": "falling_lava", + "10": "landing_lava", + "11": "dripping_water", + "12": "falling_water", + "13": "dust", + "14": "dust_color_transition", + "15": "effect", + "16": "elder_guardian", + "17": "enchanted_hit", + "18": "enchant", + "19": "end_rod", + "20": "entity_effect", + "21": "explosion_emitter", + "22": "explosion", + "23": "gust", + "24": "small_gust", + "25": "gust_emitter_large", + "26": "gust_emitter_small", + "27": "sonic_boom", + "28": "falling_dust", + "29": "firework", + "30": "fishing", + "31": "flame", + "32": "infested", + "33": "cherry_leaves", + "34": "sculk_soul", + "35": "sculk_charge", + "36": "sculk_charge_pop", + "37": "soul_fire_flame", + "38": "soul", + "39": "flash", + "40": "happy_villager", + "41": "composter", + "42": "heart", + "43": "instant_effect", + "44": "item", + "45": "vibration", + "46": "item_slime", + "47": "item_cobweb", + "48": "item_snowball", + "49": "large_smoke", + "50": "lava", + "51": "mycelium", + "52": "note", + "53": "poof", + "54": "portal", + "55": "rain", + "56": "smoke", + "57": "white_smoke", + "58": "sneeze", + "59": "spit", + "60": "squid_ink", + "61": "sweep_attack", + "62": "totem_of_undying", + "63": "underwater", + "64": "splash", + "65": "witch", + "66": "bubble_pop", + "67": "current_down", + "68": "bubble_column_up", + "69": "nautilus", + "70": "dolphin", + "71": "campfire_cosy_smoke", + "72": "campfire_signal_smoke", + "73": "dripping_honey", + "74": "falling_honey", + "75": "landing_honey", + "76": "falling_nectar", + "77": "falling_spore_blossom", + "78": "ash", + "79": "crimson_spore", + "80": "warped_spore", + "81": "spore_blossom_air", + "82": "dripping_obsidian_tear", + "83": "falling_obsidian_tear", + "84": "landing_obsidian_tear", + "85": "reverse_portal", + "86": "white_ash", + "87": "small_flame", + "88": "snowflake", + "89": "dripping_dripstone_lava", + "90": "falling_dripstone_lava", + "91": "dripping_dripstone_water", + "92": "falling_dripstone_water", + "93": "glow_squid_ink", + "94": "glow", + "95": "wax_on", + "96": "wax_off", + "97": "electric_spark", + "98": "scrape", + "99": "shriek", + "100": "egg_crack", + "101": "dust_plume", + "102": "trial_spawner_detected_player", + "103": "trial_spawner_detected_player_ominous", + "104": "vault_connection", + "105": "dust_pillar", + "106": "ominous_spawning", + "107": "raid_omen", + "108": "trial_omen" + } + } + ] + }, + { + "name": "data", + "type": [ + "switch", + { + "compareTo": "type", + "fields": { + "block": "varint", + "block_marker": "varint", + "falling_dust": "varint", + "dust_pillar": "varint", + "dust": [ + "container", + [ + { + "name": "red", + "type": "f32" + }, + { + "name": "green", + "type": "f32" + }, + { + "name": "blue", + "type": "f32" + }, + { + "name": "scale", + "type": "f32" + } + ] + ], + "dust_color_transition": [ + "container", + [ + { + "name": "fromRed", + "type": "f32" + }, + { + "name": "fromGreen", + "type": "f32" + }, + { + "name": "fromBlue", + "type": "f32" + }, + { + "name": "scale", + "type": "f32" + }, + { + "name": "toRed", + "type": "f32" + }, + { + "name": "toGreen", + "type": "f32" + }, + { + "name": "toBlue", + "type": "f32" + } + ] + ], + "entity_effect": "i32", + "item": "Slot", + "sculk_charge": "f32", + "shriek": "varint", + "vibration": [ + "container", + [ + { + "name": "position", + "type": "string" + }, + { + "name": "entityId", + "type": "varint" + } + ] + ] + }, + "default": "void" + } + ] + } + ] + ], + "ingredient": [ + "array", + { + "countType": "varint", + "type": "Slot" + } + ], + "position": [ + "bitfield", + [ + { + "name": "x", + "size": 26, + "signed": true + }, + { + "name": "z", + "size": 26, + "signed": true + }, + { + "name": "y", + "size": 12, + "signed": true + } + ] + ], + "soundSource": [ + "mapper", + { + "type": "varint", + "mappings": { + "0": "master", + "1": "music", + "2": "record", + "3": "weather", + "4": "block", + "5": "hostile", + "6": "neutral", + "7": "player", + "8": "ambient", + "9": "voice" + } + } + ], + "packedChunkPos": [ + "container", + [ + { + "name": "z", + "type": "i32" + }, + { + "name": "x", + "type": "i32" + } + ] + ], + "previousMessages": [ + "array", + { + "countType": "varint", + "type": [ + "container", + [ + { + "name": "id", + "type": "varint" + }, + { + "name": "signature", + "type": [ + "switch", + { + "compareTo": "id", + "fields": { + "0": [ + "buffer", + { + "count": 256 + } + ] + }, + "default": "void" + } + ] + } + ] + ] + } + ], + "entityMetadataEntry": [ + "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": "particles", + "19": "villager_data", + "20": "optional_unsigned_int", + "21": "pose", + "22": "cat_variant", + "23": "wolf_variant", + "24": "frog_variant", + "25": "optional_global_pos", + "26": "painting_variant", + "27": "sniffer_state", + "28": "armadillo_state", + "29": "vector3", + "30": "quaternion" + } + } + ] + }, + { + "name": "value", + "type": [ + "switch", + { + "compareTo": "type", + "fields": { + "byte": "i8", + "int": "varint", + "long": "varlong", + "float": "f32", + "string": "string", + "component": "anonymousNbt", + "optional_component": [ + "option", + "anonymousNbt" + ], + "item_stack": "Slot", + "boolean": "bool", + "rotations": [ + "container", + [ + { + "name": "pitch", + "type": "f32" + }, + { + "name": "yaw", + "type": "f32" + }, + { + "name": "roll", + "type": "f32" + } + ] + ], + "block_pos": "position", + "optional_block_pos": [ + "option", + "position" + ], + "direction": "varint", + "optional_uuid": [ + "option", + "UUID" + ], + "block_state": "varint", + "optional_block_state": "optvarint", + "compound_tag": "anonymousNbt", + "particle": "Particle", + "particles": [ + "array", + { + "countType": "varint", + "type": "Particle" + } + ], + "villager_data": [ + "container", + [ + { + "name": "villagerType", + "type": "varint" + }, + { + "name": "villagerProfession", + "type": "varint" + }, + { + "name": "level", + "type": "varint" + } + ] + ], + "optional_unsigned_int": "optvarint", + "pose": "varint", + "cat_variant": "varint", + "wolf_variant": "varint", + "frog_variant": "varint", + "optional_global_pos": [ + "option", + "string" + ], + "painting_variant": "varint", + "sniffer_state": "varint", + "armadillo_state": "varint", + "vector3": "vec3f", + "quaternion": "vec4f" + }, + "default": "void" + } + ] + } + ] + ], + "entityMetadata": [ + "entityMetadataLoop", + { + "endVal": 255, + "type": "entityMetadataEntry" + } + ], + "minecraft_simple_recipe_format": [ + "container", + [ + { + "name": "category", + "type": "varint" + } + ] + ], + "minecraft_smelting_format": [ + "container", + [ + { + "name": "group", + "type": "string" + }, + { + "name": "category", + "type": "varint" + }, + { + "name": "ingredient", + "type": "ingredient" + }, + { + "name": "result", + "type": "Slot" + }, + { + "name": "experience", + "type": "f32" + }, + { + "name": "cookTime", + "type": "varint" + } + ] + ], + "tags": [ + "array", + { + "countType": "varint", + "type": [ + "container", + [ + { + "name": "tagName", + "type": "string" + }, + { + "name": "entries", + "type": [ + "array", + { + "countType": "varint", + "type": "varint" + } + ] + } + ] + ] + } + ], + "chunkBlockEntity": [ + "container", + [ + { + "anon": true, + "type": [ + "bitfield", + [ + { + "name": "x", + "size": 4, + "signed": false + }, + { + "name": "z", + "size": 4, + "signed": false + } + ] + ] + }, + { + "name": "y", + "type": "i16" + }, + { + "name": "type", + "type": "varint" + }, + { + "name": "nbtData", + "type": "anonOptionalNbt" + } + ] + ], + "chat_session": [ + "option", + [ + "container", + [ + { + "name": "uuid", + "type": "UUID" + }, + { + "name": "publicKey", + "type": [ + "container", + [ + { + "name": "expireTime", + "type": "i64" + }, + { + "name": "keyBytes", + "type": [ + "buffer", + { + "countType": "varint" + } + ] + }, + { + "name": "keySignature", + "type": [ + "buffer", + { + "countType": "varint" + } + ] + } + ] + ] + } + ] + ] + ], + "game_profile": [ + "container", + [ + { + "name": "name", + "type": "string" + }, + { + "name": "properties", + "type": [ + "array", + { + "countType": "varint", + "type": [ + "container", + [ + { + "name": "key", + "type": "string" + }, + { + "name": "value", + "type": "string" + }, + { + "name": "signature", + "type": [ + "option", + "string" + ] + } + ] + ] + } + ] + } + ] + ], + "command_node": [ + "container", + [ + { + "name": "flags", + "type": [ + "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 + } + ] + ] + }, + { + "name": "children", + "type": [ + "array", + { + "countType": "varint", + "type": "varint" + } + ] + }, + { + "name": "redirectNode", + "type": [ + "switch", + { + "compareTo": "flags/has_redirect_node", + "fields": { + "1": "varint" + }, + "default": "void" + } + ] + }, + { + "name": "extraNodeData", + "type": [ + "switch", + { + "compareTo": "flags/command_node_type", + "fields": { + "0": "void", + "1": [ + "container", + [ + { + "name": "name", + "type": "string" + } + ] + ], + "2": [ + "container", + [ + { + "name": "name", + "type": "string" + }, + { + "name": "parser", + "type": [ + "mapper", + { + "type": "varint", + "mappings": { + "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" + } + } + ] + }, + { + "name": "properties", + "type": [ + "switch", + { + "compareTo": "parser", + "fields": { + "brigadier:bool": "void", + "brigadier:float": [ + "container", + [ + { + "name": "flags", + "type": [ + "bitfield", + [ + { + "name": "unused", + "size": 6, + "signed": false + }, + { + "name": "max_present", + "size": 1, + "signed": false + }, + { + "name": "min_present", + "size": 1, + "signed": false + } + ] + ] + }, + { + "name": "min", + "type": [ + "switch", + { + "compareTo": "flags/min_present", + "fields": { + "1": "f32" + }, + "default": "void" + } + ] + }, + { + "name": "max", + "type": [ + "switch", + { + "compareTo": "flags/max_present", + "fields": { + "1": "f32" + }, + "default": "void" + } + ] + } + ] + ], + "brigadier:double": [ + "container", + [ + { + "name": "flags", + "type": [ + "bitfield", + [ + { + "name": "unused", + "size": 6, + "signed": false + }, + { + "name": "max_present", + "size": 1, + "signed": false + }, + { + "name": "min_present", + "size": 1, + "signed": false + } + ] + ] + }, + { + "name": "min", + "type": [ + "switch", + { + "compareTo": "flags/min_present", + "fields": { + "1": "f64" + }, + "default": "void" + } + ] + }, + { + "name": "max", + "type": [ + "switch", + { + "compareTo": "flags/max_present", + "fields": { + "1": "f64" + }, + "default": "void" + } + ] + } + ] + ], + "brigadier:integer": [ + "container", + [ + { + "name": "flags", + "type": [ + "bitfield", + [ + { + "name": "unused", + "size": 6, + "signed": false + }, + { + "name": "max_present", + "size": 1, + "signed": false + }, + { + "name": "min_present", + "size": 1, + "signed": false + } + ] + ] + }, + { + "name": "min", + "type": [ + "switch", + { + "compareTo": "flags/min_present", + "fields": { + "1": "i32" + }, + "default": "void" + } + ] + }, + { + "name": "max", + "type": [ + "switch", + { + "compareTo": "flags/max_present", + "fields": { + "1": "i32" + }, + "default": "void" + } + ] + } + ] + ], + "brigadier:long": [ + "container", + [ + { + "name": "flags", + "type": [ + "bitfield", + [ + { + "name": "unused", + "size": 6, + "signed": false + }, + { + "name": "max_present", + "size": 1, + "signed": false + }, + { + "name": "min_present", + "size": 1, + "signed": false + } + ] + ] + }, + { + "name": "min", + "type": [ + "switch", + { + "compareTo": "flags/min_present", + "fields": { + "1": "i64" + }, + "default": "void" + } + ] + }, + { + "name": "max", + "type": [ + "switch", + { + "compareTo": "flags/max_present", + "fields": { + "1": "i64" + }, + "default": "void" + } + ] + } + ] + ], + "brigadier:string": [ + "mapper", + { + "type": "varint", + "mappings": { + "0": "SINGLE_WORD", + "1": "QUOTABLE_PHRASE", + "2": "GREEDY_PHRASE" + } + } + ], + "minecraft:entity": [ + "bitfield", + [ + { + "name": "unused", + "size": 6, + "signed": false + }, + { + "name": "onlyAllowPlayers", + "size": 1, + "signed": false + }, + { + "name": "onlyAllowEntities", + "size": 1, + "signed": false + } + ] + ], + "minecraft:game_profile": "void", + "minecraft:block_pos": "void", + "minecraft:column_pos": "void", + "minecraft:vec3": "void", + "minecraft:vec2": "void", + "minecraft:block_state": "void", + "minecraft:block_predicate": "void", + "minecraft:item_stack": "void", + "minecraft:item_predicate": "void", + "minecraft:color": "void", + "minecraft:component": "void", + "minecraft:message": "void", + "minecraft:nbt": "void", + "minecraft:nbt_path": "void", + "minecraft:objective": "void", + "minecraft:objective_criteria": "void", + "minecraft:operation": "void", + "minecraft:particle": "void", + "minecraft:angle": "void", + "minecraft:rotation": "void", + "minecraft:scoreboard_slot": "void", + "minecraft:score_holder": [ + "bitfield", + [ + { + "name": "unused", + "size": 7, + "signed": false + }, + { + "name": "allowMultiple", + "size": 1, + "signed": false + } + ] + ], + "minecraft:swizzle": "void", + "minecraft:team": "void", + "minecraft:item_slot": "void", + "minecraft:resource_location": "void", + "minecraft:function": "void", + "minecraft:entity_anchor": "void", + "minecraft:int_range": "void", + "minecraft:float_range": "void", + "minecraft:dimension": "void", + "minecraft:gamemode": "void", + "minecraft:time": [ + "container", + [ + { + "name": "min", + "type": "i32" + } + ] + ], + "minecraft:resource_or_tag": [ + "container", + [ + { + "name": "registry", + "type": "string" + } + ] + ], + "minecraft:resource_or_tag_key": [ + "container", + [ + { + "name": "registry", + "type": "string" + } + ] + ], + "minecraft:resource": [ + "container", + [ + { + "name": "registry", + "type": "string" + } + ] + ], + "minecraft:resource_key": [ + "container", + [ + { + "name": "registry", + "type": "string" + } + ] + ], + "minecraft:template_mirror": "void", + "minecraft:template_rotation": "void", + "minecraft:heightmap": "void", + "minecraft:uuid": "void" + }, + "default": "void" + } + ] + }, + { + "name": "suggestionType", + "type": [ + "switch", + { + "compareTo": "../flags/has_custom_suggestions", + "fields": { + "1": "string" + }, + "default": "void" + } + ] + } + ] + ] + }, + "default": "void" + } + ] + } + ] + ], + "packet_common_cookie_request": [ + "container", + [ + { + "name": "cookie", + "type": "string" + } + ] + ], + "packet_common_store_cookie": [ + "container", + [ + { + "name": "key", + "type": "string" + }, + { + "name": "value", + "type": "ByteArray" + } + ] + ], + "packet_common_transfer": [ + "container", + [ + { + "name": "host", + "type": "string" + }, + { + "name": "port", + "type": "varint" + } + ] + ], + "packet_common_cookie_response": [ + "container", + [ + { + "name": "key", + "type": "string" + }, + { + "name": "value", + "type": "ByteArray" + } + ] + ], + "packet_common_select_known_packs": [ + "container", + [ + { + "name": "packs", + "type": [ + "array", + { + "countType": "varint", + "type": [ + "container", + [ + { + "name": "namespace", + "type": "string" + }, + { + "name": "id", + "type": "string" + }, + { + "name": "version", + "type": "string" + } + ] + ] + } + ] + } + ] + ] + }, + "handshaking": { + "toClient": { + "types": { + "packet": [ + "container", + [ + { + "name": "name", + "type": [ + "mapper", + { + "type": "varint", + "mappings": {} + } + ] + }, + { + "name": "params", + "type": [ + "switch", + { + "compareTo": "name", + "fields": {} + } + ] + } + ] + ] + } + }, + "toServer": { + "types": { + "packet_set_protocol": [ + "container", + [ + { + "name": "protocolVersion", + "type": "varint" + }, + { + "name": "serverHost", + "type": "string" + }, + { + "name": "serverPort", + "type": "u16" + }, + { + "name": "nextState", + "type": "varint" + } + ] + ], + "packet_legacy_server_list_ping": [ + "container", + [ + { + "name": "payload", + "type": "u8" + } + ] + ], + "packet": [ + "container", + [ + { + "name": "name", + "type": [ + "mapper", + { + "type": "varint", + "mappings": { + "0": "set_protocol", + "254": "legacy_server_list_ping" + } + } + ] + }, + { + "name": "params", + "type": [ + "switch", + { + "compareTo": "name", + "fields": { + "set_protocol": "packet_set_protocol", + "legacy_server_list_ping": "packet_legacy_server_list_ping" + }, + "default": "void" + } + ] + } + ] + ] + } + } + }, + "status": { + "toClient": { + "types": { + "packet_server_info": [ + "container", + [ + { + "name": "response", + "type": "string" + } + ] + ], + "packet_ping": [ + "container", + [ + { + "name": "time", + "type": "i64" + } + ] + ], + "packet": [ + "container", + [ + { + "name": "name", + "type": [ + "mapper", + { + "type": "varint", + "mappings": { + "0": "server_info", + "1": "ping" + } + } + ] + }, + { + "name": "params", + "type": [ + "switch", + { + "compareTo": "name", + "fields": { + "server_info": "packet_server_info", + "ping": "packet_ping" + }, + "default": "void" + } + ] + } + ] + ] + } + }, + "toServer": { + "types": { + "packet_ping_start": [ + "container", + [] + ], + "packet_ping": [ + "container", + [ + { + "name": "time", + "type": "i64" + } + ] + ], + "packet": [ + "container", + [ + { + "name": "name", + "type": [ + "mapper", + { + "type": "varint", + "mappings": { + "0": "ping_start", + "1": "ping" + } + } + ] + }, + { + "name": "params", + "type": [ + "switch", + { + "compareTo": "name", + "fields": { + "ping_start": "packet_ping_start", + "ping": "packet_ping" + }, + "default": "void" + } + ] + } + ] + ] + } + } + }, + "login": { + "toClient": { + "types": { + "packet_disconnect": [ + "container", + [ + { + "name": "reason", + "type": "string" + } + ] + ], + "packet_encryption_begin": [ + "container", + [ + { + "name": "serverId", + "type": "string" + }, + { + "name": "publicKey", + "type": [ + "buffer", + { + "countType": "varint" + } + ] + }, + { + "name": "verifyToken", + "type": [ + "buffer", + { + "countType": "varint" + } + ] + }, + { + "name": "shouldAuthenticate", + "type": "bool" + } + ] + ], + "packet_success": [ + "container", + [ + { + "name": "uuid", + "type": "UUID" + }, + { + "name": "username", + "type": "string" + }, + { + "name": "properties", + "type": [ + "array", + { + "countType": "varint", + "type": [ + "container", + [ + { + "name": "name", + "type": "string" + }, + { + "name": "value", + "type": "string" + }, + { + "name": "signature", + "type": [ + "option", + "string" + ] + } + ] + ] + } + ] + }, + { + "name": "strictErrorHandling", + "type": "bool" + } + ] + ], + "packet_compress": [ + "container", + [ + { + "name": "threshold", + "type": "varint" + } + ] + ], + "packet_login_plugin_request": [ + "container", + [ + { + "name": "messageId", + "type": "varint" + }, + { + "name": "channel", + "type": "string" + }, + { + "name": "data", + "type": "restBuffer" + } + ] + ], + "packet": [ + "container", + [ + { + "name": "name", + "type": [ + "mapper", + { + "type": "varint", + "mappings": { + "0": "disconnect", + "1": "encryption_begin", + "2": "success", + "3": "compress", + "4": "login_plugin_request", + "5": "cookie_request" + } + } + ] + }, + { + "name": "params", + "type": [ + "switch", + { + "compareTo": "name", + "fields": { + "disconnect": "packet_disconnect", + "encryption_begin": "packet_encryption_begin", + "success": "packet_success", + "compress": "packet_compress", + "login_plugin_request": "packet_login_plugin_request", + "cookie_request": "packet_common_cookie_request" + }, + "default": "void" + } + ] + } + ] + ] + } + }, + "toServer": { + "types": { + "packet_login_start": [ + "container", + [ + { + "name": "username", + "type": "string" + }, + { + "name": "playerUUID", + "type": "UUID" + } + ] + ], + "packet_encryption_begin": [ + "container", + [ + { + "name": "sharedSecret", + "type": [ + "buffer", + { + "countType": "varint" + } + ] + }, + { + "name": "verifyToken", + "type": [ + "buffer", + { + "countType": "varint" + } + ] + } + ] + ], + "packet_login_plugin_response": [ + "container", + [ + { + "name": "messageId", + "type": "varint" + }, + { + "name": "data", + "type": [ + "option", + "restBuffer" + ] + } + ] + ], + "packet_login_acknowledged": [ + "container", + [] + ], + "packet": [ + "container", + [ + { + "name": "name", + "type": [ + "mapper", + { + "type": "varint", + "mappings": { + "0": "login_start", + "1": "encryption_begin", + "2": "login_plugin_response", + "3": "login_acknowledged", + "4": "cookie_response" + } + } + ] + }, + { + "name": "params", + "type": [ + "switch", + { + "compareTo": "name", + "fields": { + "login_start": "packet_login_start", + "encryption_begin": "packet_encryption_begin", + "login_plugin_response": "packet_login_plugin_response", + "login_acknowledged": "packet_login_acknowledged", + "cookie_response": "packet_common_cookie_response" + }, + "default": "void" + } + ] + } + ] + ] + } + } + }, + "configuration": { + "toClient": { + "types": { + "packet_custom_payload": [ + "container", + [ + { + "name": "channel", + "type": "string" + }, + { + "name": "data", + "type": "restBuffer" + } + ] + ], + "packet_disconnect": [ + "container", + [ + { + "name": "reason", + "type": "anonymousNbt" + } + ] + ], + "packet_finish_configuration": [ + "container", + [] + ], + "packet_keep_alive": [ + "container", + [ + { + "name": "keepAliveId", + "type": "i64" + } + ] + ], + "packet_ping": [ + "container", + [ + { + "name": "id", + "type": "i32" + } + ] + ], + "packet_reset_chat": [ + "container", + [] + ], + "packet_registry_data": [ + "container", + [ + { + "name": "id", + "type": "string" + }, + { + "name": "entries", + "type": [ + "array", + { + "countType": "varint", + "type": [ + "container", + [ + { + "name": "key", + "type": "string" + }, + { + "name": "value", + "type": [ + "option", + "anonymousNbt" + ] + } + ] + ] + } + ] + } + ] + ], + "packet_remove_resource_pack": [ + "container", + [ + { + "name": "uuid", + "type": [ + "option", + "UUID" + ] + } + ] + ], + "packet_add_resource_pack": [ + "container", + [ + { + "name": "uuid", + "type": "UUID" + }, + { + "name": "url", + "type": "string" + }, + { + "name": "hash", + "type": "string" + }, + { + "name": "forced", + "type": "bool" + }, + { + "name": "promptMessage", + "type": [ + "option", + "anonymousNbt" + ] + } + ] + ], + "packet_feature_flags": [ + "container", + [ + { + "name": "features", + "type": [ + "array", + { + "countType": "varint", + "type": "string" + } + ] + } + ] + ], + "packet_tags": [ + "container", + [ + { + "name": "tags", + "type": [ + "array", + { + "countType": "varint", + "type": [ + "container", + [ + { + "name": "tagType", + "type": "string" + }, + { + "name": "tags", + "type": "tags" + } + ] + ] + } + ] + } + ] + ], + "packet": [ + "container", + [ + { + "name": "name", + "type": [ + "mapper", + { + "type": "varint", + "mappings": { + "0": "cookie_request", + "1": "custom_payload", + "2": "disconnect", + "3": "finish_configuration", + "4": "keep_alive", + "5": "ping", + "6": "reset_chat", + "7": "registry_data", + "8": "remove_resource_pack", + "9": "add_resource_pack", + "10": "store_cookie", + "11": "transfer", + "12": "feature_flags", + "13": "tags", + "14": "select_known_packs" + } + } + ] + }, + { + "name": "params", + "type": [ + "switch", + { + "compareTo": "name", + "fields": { + "cookie_request": "packet_common_cookie_request", + "custom_payload": "packet_custom_payload", + "disconnect": "packet_disconnect", + "finish_configuration": "packet_finish_configuration", + "keep_alive": "packet_keep_alive", + "ping": "packet_ping", + "reset_chat": "packet_reset_chat", + "registry_data": "packet_registry_data", + "remove_resource_pack": "packet_remove_resource_pack", + "add_resource_pack": "packet_add_resource_pack", + "store_cookie": "packet_common_store_cookie", + "transfer": "packet_common_transfer", + "feature_flags": "packet_feature_flags", + "tags": "packet_tags", + "select_known_packs": "packet_common_select_known_packs" + }, + "default": "void" + } + ] + } + ] + ] + } + }, + "toServer": { + "types": { + "packet_settings": [ + "container", + [ + { + "name": "locale", + "type": "string" + }, + { + "name": "viewDistance", + "type": "i8" + }, + { + "name": "chatFlags", + "type": "varint" + }, + { + "name": "chatColors", + "type": "bool" + }, + { + "name": "skinParts", + "type": "u8" + }, + { + "name": "mainHand", + "type": "varint" + }, + { + "name": "enableTextFiltering", + "type": "bool" + }, + { + "name": "enableServerListing", + "type": "bool" + } + ] + ], + "packet_custom_payload": [ + "container", + [ + { + "name": "channel", + "type": "string" + }, + { + "name": "data", + "type": "restBuffer" + } + ] + ], + "packet_finish_configuration": [ + "container", + [] + ], + "packet_keep_alive": [ + "container", + [ + { + "name": "keepAliveId", + "type": "i64" + } + ] + ], + "packet_pong": [ + "container", + [ + { + "name": "id", + "type": "i32" + } + ] + ], + "packet_resource_pack_receive": [ + "container", + [ + { + "name": "uuid", + "type": "UUID" + }, + { + "name": "result", + "type": "varint" + } + ] + ], + "packet": [ + "container", + [ + { + "name": "name", + "type": [ + "mapper", + { + "type": "varint", + "mappings": { + "0": "settings", + "1": "cookie_response", + "2": "custom_payload", + "3": "finish_configuration", + "4": "keep_alive", + "5": "pong", + "6": "resource_pack_receive", + "7": "select_known_packs" + } + } + ] + }, + { + "name": "params", + "type": [ + "switch", + { + "compareTo": "name", + "fields": { + "settings": "packet_settings", + "cookie_response": "packet_common_cookie_response", + "custom_payload": "packet_custom_payload", + "finish_configuration": "packet_finish_configuration", + "keep_alive": "packet_keep_alive", + "pong": "packet_pong", + "resource_pack_receive": "packet_resource_pack_receive", + "select_known_packs": "packet_common_select_known_packs" + }, + "default": "void" + } + ] + } + ] + ] + } + } + }, + "play": { + "toClient": { + "types": { + "SpawnInfo": [ + "container", + [ + { + "name": "dimension", + "type": "varint" + }, + { + "name": "name", + "type": "string" + }, + { + "name": "hashedSeed", + "type": "i64" + }, + { + "name": "gamemode", + "type": [ + "mapper", + { + "type": "i8", + "mappings": { + "0": "survival", + "1": "creative", + "2": "adventure", + "3": "spectator" + } + } + ] + }, + { + "name": "previousGamemode", + "type": "u8" + }, + { + "name": "isDebug", + "type": "bool" + }, + { + "name": "isFlat", + "type": "bool" + }, + { + "name": "death", + "type": [ + "option", + [ + "container", + [ + { + "name": "dimensionName", + "type": "string" + }, + { + "name": "location", + "type": "position" + } + ] + ] + ] + }, + { + "name": "portalCooldown", + "type": "varint" + } + ] + ], + "packet_spawn_entity": [ + "container", + [ + { + "name": "entityId", + "type": "varint" + }, + { + "name": "objectUUID", + "type": "UUID" + }, + { + "name": "type", + "type": "varint" + }, + { + "name": "x", + "type": "f64" + }, + { + "name": "y", + "type": "f64" + }, + { + "name": "z", + "type": "f64" + }, + { + "name": "pitch", + "type": "i8" + }, + { + "name": "yaw", + "type": "i8" + }, + { + "name": "headPitch", + "type": "i8" + }, + { + "name": "objectData", + "type": "varint" + }, + { + "name": "velocityX", + "type": "i16" + }, + { + "name": "velocityY", + "type": "i16" + }, + { + "name": "velocityZ", + "type": "i16" + } + ] + ], + "packet_spawn_entity_experience_orb": [ + "container", + [ + { + "name": "entityId", + "type": "varint" + }, + { + "name": "x", + "type": "f64" + }, + { + "name": "y", + "type": "f64" + }, + { + "name": "z", + "type": "f64" + }, + { + "name": "count", + "type": "i16" + } + ] + ], + "packet_animation": [ + "container", + [ + { + "name": "entityId", + "type": "varint" + }, + { + "name": "animation", + "type": "u8" + } + ] + ], + "packet_statistics": [ + "container", + [ + { + "name": "entries", + "type": [ + "array", + { + "countType": "varint", + "type": [ + "container", + [ + { + "name": "categoryId", + "type": "varint" + }, + { + "name": "statisticId", + "type": "varint" + }, + { + "name": "value", + "type": "varint" + } + ] + ] + } + ] + } + ] + ], + "packet_acknowledge_player_digging": [ + "container", + [ + { + "name": "sequenceId", + "type": "varint" + } + ] + ], + "packet_block_break_animation": [ + "container", + [ + { + "name": "entityId", + "type": "varint" + }, + { + "name": "location", + "type": "position" + }, + { + "name": "destroyStage", + "type": "i8" + } + ] + ], + "packet_tile_entity_data": [ + "container", + [ + { + "name": "location", + "type": "position" + }, + { + "name": "action", + "type": "varint" + }, + { + "name": "nbtData", + "type": "anonOptionalNbt" + } + ] + ], + "packet_block_action": [ + "container", + [ + { + "name": "location", + "type": "position" + }, + { + "name": "byte1", + "type": "u8" + }, + { + "name": "byte2", + "type": "u8" + }, + { + "name": "blockId", + "type": "varint" + } + ] + ], + "packet_block_change": [ + "container", + [ + { + "name": "location", + "type": "position" + }, + { + "name": "type", + "type": "varint" + } + ] + ], + "packet_boss_bar": [ + "container", + [ + { + "name": "entityUUID", + "type": "UUID" + }, + { + "name": "action", + "type": "varint" + }, + { + "name": "title", + "type": [ + "switch", + { + "compareTo": "action", + "fields": { + "0": "anonymousNbt", + "3": "anonymousNbt" + }, + "default": "void" + } + ] + }, + { + "name": "health", + "type": [ + "switch", + { + "compareTo": "action", + "fields": { + "0": "f32", + "2": "f32" + }, + "default": "void" + } + ] + }, + { + "name": "color", + "type": [ + "switch", + { + "compareTo": "action", + "fields": { + "0": "varint", + "4": "varint" + }, + "default": "void" + } + ] + }, + { + "name": "dividers", + "type": [ + "switch", + { + "compareTo": "action", + "fields": { + "0": "varint", + "4": "varint" + }, + "default": "void" + } + ] + }, + { + "name": "flags", + "type": [ + "switch", + { + "compareTo": "action", + "fields": { + "0": "u8", + "5": "u8" + }, + "default": "void" + } + ] + } + ] + ], + "packet_difficulty": [ + "container", + [ + { + "name": "difficulty", + "type": "u8" + }, + { + "name": "difficultyLocked", + "type": "bool" + } + ] + ], + "packet_chunk_batch_finished": [ + "container", + [ + { + "name": "batchSize", + "type": "varint" + } + ] + ], + "packet_chunk_batch_start": [ + "container", + [] + ], + "packet_chunk_biomes": [ + "container", + [ + { + "name": "biomes", + "type": [ + "array", + { + "countType": "varint", + "type": [ + "container", + [ + { + "name": "position", + "type": "packedChunkPos" + }, + { + "name": "data", + "type": "ByteArray" + } + ] + ] + } + ] + } + ] + ], + "packet_clear_titles": [ + "container", + [ + { + "name": "reset", + "type": "bool" + } + ] + ], + "packet_tab_complete": [ + "container", + [ + { + "name": "transactionId", + "type": "varint" + }, + { + "name": "start", + "type": "varint" + }, + { + "name": "length", + "type": "varint" + }, + { + "name": "matches", + "type": [ + "array", + { + "countType": "varint", + "type": [ + "container", + [ + { + "name": "match", + "type": "string" + }, + { + "name": "tooltip", + "type": [ + "option", + "anonymousNbt" + ] + } + ] + ] + } + ] + } + ] + ], + "packet_declare_commands": [ + "container", + [ + { + "name": "nodes", + "type": [ + "array", + { + "countType": "varint", + "type": "command_node" + } + ] + }, + { + "name": "rootIndex", + "type": "varint" + } + ] + ], + "packet_close_window": [ + "container", + [ + { + "name": "windowId", + "type": "u8" + } + ] + ], + "packet_window_items": [ + "container", + [ + { + "name": "windowId", + "type": "u8" + }, + { + "name": "stateId", + "type": "varint" + }, + { + "name": "items", + "type": [ + "array", + { + "countType": "varint", + "type": "Slot" + } + ] + }, + { + "name": "carriedItem", + "type": "Slot" + } + ] + ], + "packet_craft_progress_bar": [ + "container", + [ + { + "name": "windowId", + "type": "u8" + }, + { + "name": "property", + "type": "i16" + }, + { + "name": "value", + "type": "i16" + } + ] + ], + "packet_set_slot": [ + "container", + [ + { + "name": "windowId", + "type": "i8" + }, + { + "name": "stateId", + "type": "varint" + }, + { + "name": "slot", + "type": "i16" + }, + { + "name": "item", + "type": "Slot" + } + ] + ], + "packet_set_cooldown": [ + "container", + [ + { + "name": "itemID", + "type": "varint" + }, + { + "name": "cooldownTicks", + "type": "varint" + } + ] + ], + "packet_chat_suggestions": [ + "container", + [ + { + "name": "action", + "type": "varint" + }, + { + "name": "entries", + "type": [ + "array", + { + "countType": "varint", + "type": "string" + } + ] + } + ] + ], + "packet_custom_payload": [ + "container", + [ + { + "name": "channel", + "type": "string" + }, + { + "name": "data", + "type": "restBuffer" + } + ] + ], + "packet_damage_event": [ + "container", + [ + { + "name": "entityId", + "type": "varint" + }, + { + "name": "sourceTypeId", + "type": "varint" + }, + { + "name": "sourceCauseId", + "type": "varint" + }, + { + "name": "sourceDirectId", + "type": "varint" + }, + { + "name": "sourcePosition", + "type": [ + "option", + "vec3f64" + ] + } + ] + ], + "packet_debug_sample": [ + "container", + [ + { + "name": "sample", + "type": [ + "array", + { + "countType": "varint", + "type": "i64" + } + ] + }, + { + "name": "type", + "type": "varint" + } + ] + ], + "packet_hide_message": [ + "container", + [ + { + "name": "id", + "type": "varint" + }, + { + "name": "signature", + "type": [ + "switch", + { + "compareTo": "id", + "fields": { + "0": [ + "buffer", + { + "count": 256 + } + ] + }, + "default": "void" + } + ] + } + ] + ], + "packet_kick_disconnect": [ + "container", + [ + { + "name": "reason", + "type": "anonymousNbt" + } + ] + ], + "packet_profileless_chat": [ + "container", + [ + { + "name": "message", + "type": "anonymousNbt" + }, + { + "name": "type", + "type": "varint" + }, + { + "name": "name", + "type": "anonymousNbt" + }, + { + "name": "target", + "type": [ + "option", + "anonymousNbt" + ] + } + ] + ], + "packet_entity_status": [ + "container", + [ + { + "name": "entityId", + "type": "i32" + }, + { + "name": "entityStatus", + "type": "i8" + } + ] + ], + "packet_explosion": [ + "container", + [ + { + "name": "x", + "type": "f64" + }, + { + "name": "y", + "type": "f64" + }, + { + "name": "z", + "type": "f64" + }, + { + "name": "radius", + "type": "f32" + }, + { + "name": "affectedBlockOffsets", + "type": [ + "array", + { + "countType": "varint", + "type": [ + "container", + [ + { + "name": "x", + "type": "i8" + }, + { + "name": "y", + "type": "i8" + }, + { + "name": "z", + "type": "i8" + } + ] + ] + } + ] + }, + { + "name": "playerMotionX", + "type": "f32" + }, + { + "name": "playerMotionY", + "type": "f32" + }, + { + "name": "playerMotionZ", + "type": "f32" + }, + { + "name": "block_interaction_type", + "type": "varint" + }, + { + "name": "small_explosion_particle", + "type": "Particle" + }, + { + "name": "large_explosion_particle", + "type": "Particle" + }, + { + "name": "explosion_sound_name", + "type": "string" + }, + { + "name": "sound_range", + "type": [ + "option", + "f32" + ] + } + ] + ], + "packet_unload_chunk": [ + "container", + [ + { + "name": "chunkZ", + "type": "i32" + }, + { + "name": "chunkX", + "type": "i32" + } + ] + ], + "packet_game_state_change": [ + "container", + [ + { + "name": "reason", + "type": "u8" + }, + { + "name": "gameMode", + "type": "f32" + } + ] + ], + "packet_open_horse_window": [ + "container", + [ + { + "name": "windowId", + "type": "u8" + }, + { + "name": "nbSlots", + "type": "varint" + }, + { + "name": "entityId", + "type": "i32" + } + ] + ], + "packet_hurt_animation": [ + "container", + [ + { + "name": "entityId", + "type": "varint" + }, + { + "name": "yaw", + "type": "f32" + } + ] + ], + "packet_initialize_world_border": [ + "container", + [ + { + "name": "x", + "type": "f64" + }, + { + "name": "z", + "type": "f64" + }, + { + "name": "oldDiameter", + "type": "f64" + }, + { + "name": "newDiameter", + "type": "f64" + }, + { + "name": "speed", + "type": "varint" + }, + { + "name": "portalTeleportBoundary", + "type": "varint" + }, + { + "name": "warningBlocks", + "type": "varint" + }, + { + "name": "warningTime", + "type": "varint" + } + ] + ], + "packet_keep_alive": [ + "container", + [ + { + "name": "keepAliveId", + "type": "i64" + } + ] + ], + "packet_map_chunk": [ + "container", + [ + { + "name": "x", + "type": "i32" + }, + { + "name": "z", + "type": "i32" + }, + { + "name": "heightmaps", + "type": "anonymousNbt" + }, + { + "name": "chunkData", + "type": [ + "buffer", + { + "countType": "varint" + } + ] + }, + { + "name": "blockEntities", + "type": [ + "array", + { + "countType": "varint", + "type": "chunkBlockEntity" + } + ] + }, + { + "name": "skyLightMask", + "type": [ + "array", + { + "countType": "varint", + "type": "i64" + } + ] + }, + { + "name": "blockLightMask", + "type": [ + "array", + { + "countType": "varint", + "type": "i64" + } + ] + }, + { + "name": "emptySkyLightMask", + "type": [ + "array", + { + "countType": "varint", + "type": "i64" + } + ] + }, + { + "name": "emptyBlockLightMask", + "type": [ + "array", + { + "countType": "varint", + "type": "i64" + } + ] + }, + { + "name": "skyLight", + "type": [ + "array", + { + "countType": "varint", + "type": [ + "array", + { + "countType": "varint", + "type": "u8" + } + ] + } + ] + }, + { + "name": "blockLight", + "type": [ + "array", + { + "countType": "varint", + "type": [ + "array", + { + "countType": "varint", + "type": "u8" + } + ] + } + ] + } + ] + ], + "packet_world_event": [ + "container", + [ + { + "name": "effectId", + "type": "i32" + }, + { + "name": "location", + "type": "position" + }, + { + "name": "data", + "type": "i32" + }, + { + "name": "global", + "type": "bool" + } + ] + ], + "packet_world_particles": [ + "container", + [ + { + "name": "longDistance", + "type": "bool" + }, + { + "name": "x", + "type": "f64" + }, + { + "name": "y", + "type": "f64" + }, + { + "name": "z", + "type": "f64" + }, + { + "name": "offsetX", + "type": "f32" + }, + { + "name": "offsetY", + "type": "f32" + }, + { + "name": "offsetZ", + "type": "f32" + }, + { + "name": "velocityOffset", + "type": "f32" + }, + { + "name": "amount", + "type": "i32" + }, + { + "name": "particle", + "type": "Particle" + } + ] + ], + "packet_update_light": [ + "container", + [ + { + "name": "chunkX", + "type": "varint" + }, + { + "name": "chunkZ", + "type": "varint" + }, + { + "name": "skyLightMask", + "type": [ + "array", + { + "countType": "varint", + "type": "i64" + } + ] + }, + { + "name": "blockLightMask", + "type": [ + "array", + { + "countType": "varint", + "type": "i64" + } + ] + }, + { + "name": "emptySkyLightMask", + "type": [ + "array", + { + "countType": "varint", + "type": "i64" + } + ] + }, + { + "name": "emptyBlockLightMask", + "type": [ + "array", + { + "countType": "varint", + "type": "i64" + } + ] + }, + { + "name": "skyLight", + "type": [ + "array", + { + "countType": "varint", + "type": [ + "array", + { + "countType": "varint", + "type": "u8" + } + ] + } + ] + }, + { + "name": "blockLight", + "type": [ + "array", + { + "countType": "varint", + "type": [ + "array", + { + "countType": "varint", + "type": "u8" + } + ] + } + ] + } + ] + ], + "packet_login": [ + "container", + [ + { + "name": "entityId", + "type": "i32" + }, + { + "name": "isHardcore", + "type": "bool" + }, + { + "name": "worldNames", + "type": [ + "array", + { + "countType": "varint", + "type": "string" + } + ] + }, + { + "name": "maxPlayers", + "type": "varint" + }, + { + "name": "viewDistance", + "type": "varint" + }, + { + "name": "simulationDistance", + "type": "varint" + }, + { + "name": "reducedDebugInfo", + "type": "bool" + }, + { + "name": "enableRespawnScreen", + "type": "bool" + }, + { + "name": "doLimitedCrafting", + "type": "bool" + }, + { + "name": "worldState", + "type": "SpawnInfo" + }, + { + "name": "enforcesSecureChat", + "type": "bool" + } + ] + ], + "packet_map": [ + "container", + [ + { + "name": "itemDamage", + "type": "varint" + }, + { + "name": "scale", + "type": "i8" + }, + { + "name": "locked", + "type": "bool" + }, + { + "name": "icons", + "type": [ + "option", + [ + "array", + { + "countType": "varint", + "type": [ + "container", + [ + { + "name": "type", + "type": "varint" + }, + { + "name": "x", + "type": "i8" + }, + { + "name": "z", + "type": "i8" + }, + { + "name": "direction", + "type": "u8" + }, + { + "name": "displayName", + "type": [ + "option", + "anonymousNbt" + ] + } + ] + ] + } + ] + ] + }, + { + "name": "columns", + "type": "u8" + }, + { + "name": "rows", + "type": [ + "switch", + { + "compareTo": "columns", + "fields": { + "0": "void" + }, + "default": "u8" + } + ] + }, + { + "name": "x", + "type": [ + "switch", + { + "compareTo": "columns", + "fields": { + "0": "void" + }, + "default": "u8" + } + ] + }, + { + "name": "y", + "type": [ + "switch", + { + "compareTo": "columns", + "fields": { + "0": "void" + }, + "default": "u8" + } + ] + }, + { + "name": "data", + "type": [ + "switch", + { + "compareTo": "columns", + "fields": { + "0": "void" + }, + "default": [ + "buffer", + { + "countType": "varint" + } + ] + } + ] + } + ] + ], + "packet_trade_list": [ + "container", + [ + { + "name": "windowId", + "type": "varint" + }, + { + "name": "trades", + "type": [ + "array", + { + "countType": "varint", + "type": [ + "container", + [ + { + "name": "inputItem1", + "type": "Slot" + }, + { + "name": "outputItem", + "type": "Slot" + }, + { + "name": "inputItem2", + "type": "Slot" + }, + { + "name": "tradeDisabled", + "type": "bool" + }, + { + "name": "nbTradeUses", + "type": "i32" + }, + { + "name": "maximumNbTradeUses", + "type": "i32" + }, + { + "name": "xp", + "type": "i32" + }, + { + "name": "specialPrice", + "type": "i32" + }, + { + "name": "priceMultiplier", + "type": "f32" + }, + { + "name": "demand", + "type": "i32" + } + ] + ] + } + ] + }, + { + "name": "villagerLevel", + "type": "varint" + }, + { + "name": "experience", + "type": "varint" + }, + { + "name": "isRegularVillager", + "type": "bool" + }, + { + "name": "canRestock", + "type": "bool" + } + ] + ], + "packet_rel_entity_move": [ + "container", + [ + { + "name": "entityId", + "type": "varint" + }, + { + "name": "dX", + "type": "i16" + }, + { + "name": "dY", + "type": "i16" + }, + { + "name": "dZ", + "type": "i16" + }, + { + "name": "onGround", + "type": "bool" + } + ] + ], + "packet_entity_move_look": [ + "container", + [ + { + "name": "entityId", + "type": "varint" + }, + { + "name": "dX", + "type": "i16" + }, + { + "name": "dY", + "type": "i16" + }, + { + "name": "dZ", + "type": "i16" + }, + { + "name": "yaw", + "type": "i8" + }, + { + "name": "pitch", + "type": "i8" + }, + { + "name": "onGround", + "type": "bool" + } + ] + ], + "packet_entity_look": [ + "container", + [ + { + "name": "entityId", + "type": "varint" + }, + { + "name": "yaw", + "type": "i8" + }, + { + "name": "pitch", + "type": "i8" + }, + { + "name": "onGround", + "type": "bool" + } + ] + ], + "packet_vehicle_move": [ + "container", + [ + { + "name": "x", + "type": "f64" + }, + { + "name": "y", + "type": "f64" + }, + { + "name": "z", + "type": "f64" + }, + { + "name": "yaw", + "type": "f32" + }, + { + "name": "pitch", + "type": "f32" + } + ] + ], + "packet_open_book": [ + "container", + [ + { + "name": "hand", + "type": "varint" + } + ] + ], + "packet_open_window": [ + "container", + [ + { + "name": "windowId", + "type": "varint" + }, + { + "name": "inventoryType", + "type": "varint" + }, + { + "name": "windowTitle", + "type": "anonymousNbt" + } + ] + ], + "packet_open_sign_entity": [ + "container", + [ + { + "name": "location", + "type": "position" + }, + { + "name": "isFrontText", + "type": "bool" + } + ] + ], + "packet_ping": [ + "container", + [ + { + "name": "id", + "type": "i32" + } + ] + ], + "packet_ping_response": [ + "container", + [ + { + "name": "id", + "type": "i64" + } + ] + ], + "packet_craft_recipe_response": [ + "container", + [ + { + "name": "windowId", + "type": "i8" + }, + { + "name": "recipe", + "type": "string" + } + ] + ], + "packet_abilities": [ + "container", + [ + { + "name": "flags", + "type": "i8" + }, + { + "name": "flyingSpeed", + "type": "f32" + }, + { + "name": "walkingSpeed", + "type": "f32" + } + ] + ], + "packet_player_chat": [ + "container", + [ + { + "name": "senderUuid", + "type": "UUID" + }, + { + "name": "index", + "type": "varint" + }, + { + "name": "signature", + "type": [ + "option", + [ + "buffer", + { + "count": 256 + } + ] + ] + }, + { + "name": "plainMessage", + "type": "string" + }, + { + "name": "timestamp", + "type": "i64" + }, + { + "name": "salt", + "type": "i64" + }, + { + "name": "previousMessages", + "type": "previousMessages" + }, + { + "name": "unsignedChatContent", + "type": [ + "option", + "anonymousNbt" + ] + }, + { + "name": "filterType", + "type": "varint" + }, + { + "name": "filterTypeMask", + "type": [ + "switch", + { + "compareTo": "filterType", + "fields": { + "2": [ + "array", + { + "countType": "varint", + "type": "i64" + } + ] + }, + "default": "void" + } + ] + }, + { + "name": "type", + "type": "varint" + }, + { + "name": "networkName", + "type": "anonymousNbt" + }, + { + "name": "networkTargetName", + "type": [ + "option", + "anonymousNbt" + ] + } + ] + ], + "packet_end_combat_event": [ + "container", + [ + { + "name": "duration", + "type": "varint" + } + ] + ], + "packet_enter_combat_event": [ + "container", + [] + ], + "packet_death_combat_event": [ + "container", + [ + { + "name": "playerId", + "type": "varint" + }, + { + "name": "message", + "type": "anonymousNbt" + } + ] + ], + "packet_player_remove": [ + "container", + [ + { + "name": "players", + "type": [ + "array", + { + "countType": "varint", + "type": "UUID" + } + ] + } + ] + ], + "packet_player_info": [ + "container", + [ + { + "name": "action", + "type": "i8" + }, + { + "name": "data", + "type": [ + "array", + { + "countType": "varint", + "type": [ + "container", + [ + { + "name": "uuid", + "type": "UUID" + }, + { + "name": "player", + "type": [ + "switch", + { + "compareTo": "../action", + "fields": { + "1": "game_profile", + "3": "game_profile", + "5": "game_profile", + "7": "game_profile", + "9": "game_profile", + "11": "game_profile", + "13": "game_profile", + "15": "game_profile", + "17": "game_profile", + "19": "game_profile", + "21": "game_profile", + "23": "game_profile", + "25": "game_profile", + "27": "game_profile", + "29": "game_profile", + "31": "game_profile", + "33": "game_profile", + "35": "game_profile", + "37": "game_profile", + "39": "game_profile", + "41": "game_profile", + "43": "game_profile", + "45": "game_profile", + "47": "game_profile", + "49": "game_profile", + "51": "game_profile", + "53": "game_profile", + "55": "game_profile", + "57": "game_profile", + "59": "game_profile", + "61": "game_profile", + "63": "game_profile" + }, + "default": "void" + } + ] + }, + { + "name": "chatSession", + "type": [ + "switch", + { + "compareTo": "../action", + "fields": { + "2": "chat_session", + "3": "chat_session", + "6": "chat_session", + "7": "chat_session", + "10": "chat_session", + "11": "chat_session", + "14": "chat_session", + "15": "chat_session", + "18": "chat_session", + "19": "chat_session", + "22": "chat_session", + "23": "chat_session", + "26": "chat_session", + "27": "chat_session", + "30": "chat_session", + "31": "chat_session", + "34": "chat_session", + "35": "chat_session", + "38": "chat_session", + "39": "chat_session", + "42": "chat_session", + "43": "chat_session", + "46": "chat_session", + "47": "chat_session", + "50": "chat_session", + "51": "chat_session", + "54": "chat_session", + "55": "chat_session", + "58": "chat_session", + "59": "chat_session", + "62": "chat_session", + "63": "chat_session" + }, + "default": "void" + } + ] + }, + { + "name": "gamemode", + "type": [ + "switch", + { + "compareTo": "../action", + "fields": { + "4": "varint", + "5": "varint", + "6": "varint", + "7": "varint", + "12": "varint", + "13": "varint", + "14": "varint", + "15": "varint", + "20": "varint", + "21": "varint", + "22": "varint", + "23": "varint", + "28": "varint", + "29": "varint", + "30": "varint", + "31": "varint", + "36": "varint", + "37": "varint", + "38": "varint", + "39": "varint", + "44": "varint", + "45": "varint", + "46": "varint", + "47": "varint", + "52": "varint", + "53": "varint", + "54": "varint", + "55": "varint", + "60": "varint", + "61": "varint", + "62": "varint", + "63": "varint" + }, + "default": "void" + } + ] + }, + { + "name": "listed", + "type": [ + "switch", + { + "compareTo": "../action", + "fields": { + "8": "bool", + "9": "bool", + "10": "bool", + "11": "bool", + "12": "bool", + "13": "bool", + "14": "bool", + "15": "bool", + "24": "bool", + "25": "bool", + "26": "bool", + "27": "bool", + "28": "bool", + "29": "bool", + "30": "bool", + "31": "bool", + "40": "bool", + "41": "bool", + "42": "bool", + "43": "bool", + "44": "bool", + "45": "bool", + "46": "bool", + "47": "bool", + "56": "bool", + "57": "bool", + "58": "bool", + "59": "bool", + "60": "bool", + "61": "bool", + "62": "bool", + "63": "bool" + }, + "default": "void" + } + ] + }, + { + "name": "latency", + "type": [ + "switch", + { + "compareTo": "../action", + "fields": { + "16": "varint", + "17": "varint", + "18": "varint", + "19": "varint", + "20": "varint", + "21": "varint", + "22": "varint", + "23": "varint", + "24": "varint", + "25": "varint", + "26": "varint", + "27": "varint", + "28": "varint", + "29": "varint", + "30": "varint", + "31": "varint", + "48": "varint", + "49": "varint", + "50": "varint", + "51": "varint", + "52": "varint", + "53": "varint", + "54": "varint", + "55": "varint", + "56": "varint", + "57": "varint", + "58": "varint", + "59": "varint", + "60": "varint", + "61": "varint", + "62": "varint", + "63": "varint" + }, + "default": "void" + } + ] + }, + { + "name": "displayName", + "type": [ + "switch", + { + "compareTo": "../action", + "fields": { + "32": [ + "option", + "anonymousNbt" + ], + "33": [ + "option", + "anonymousNbt" + ], + "34": [ + "option", + "anonymousNbt" + ], + "35": [ + "option", + "anonymousNbt" + ], + "36": [ + "option", + "anonymousNbt" + ], + "37": [ + "option", + "anonymousNbt" + ], + "38": [ + "option", + "anonymousNbt" + ], + "39": [ + "option", + "anonymousNbt" + ], + "40": [ + "option", + "anonymousNbt" + ], + "41": [ + "option", + "anonymousNbt" + ], + "42": [ + "option", + "anonymousNbt" + ], + "43": [ + "option", + "anonymousNbt" + ], + "44": [ + "option", + "anonymousNbt" + ], + "45": [ + "option", + "anonymousNbt" + ], + "46": [ + "option", + "anonymousNbt" + ], + "47": [ + "option", + "anonymousNbt" + ], + "48": [ + "option", + "anonymousNbt" + ], + "49": [ + "option", + "anonymousNbt" + ], + "50": [ + "option", + "anonymousNbt" + ], + "51": [ + "option", + "anonymousNbt" + ], + "52": [ + "option", + "anonymousNbt" + ], + "53": [ + "option", + "anonymousNbt" + ], + "54": [ + "option", + "anonymousNbt" + ], + "55": [ + "option", + "anonymousNbt" + ], + "56": [ + "option", + "anonymousNbt" + ], + "57": [ + "option", + "anonymousNbt" + ], + "58": [ + "option", + "anonymousNbt" + ], + "59": [ + "option", + "anonymousNbt" + ], + "60": [ + "option", + "anonymousNbt" + ], + "61": [ + "option", + "anonymousNbt" + ], + "62": [ + "option", + "anonymousNbt" + ], + "63": [ + "option", + "anonymousNbt" + ] + }, + "default": "void" + } + ] + } + ] + ] + } + ] + } + ] + ], + "packet_face_player": [ + "container", + [ + { + "name": "feet_eyes", + "type": "varint" + }, + { + "name": "x", + "type": "f64" + }, + { + "name": "y", + "type": "f64" + }, + { + "name": "z", + "type": "f64" + }, + { + "name": "isEntity", + "type": "bool" + }, + { + "name": "entityId", + "type": [ + "switch", + { + "compareTo": "isEntity", + "fields": { + "true": "varint" + }, + "default": "void" + } + ] + }, + { + "name": "entity_feet_eyes", + "type": [ + "switch", + { + "compareTo": "isEntity", + "fields": { + "true": "varint" + }, + "default": "void" + } + ] + } + ] + ], + "packet_position": [ + "container", + [ + { + "name": "x", + "type": "f64" + }, + { + "name": "y", + "type": "f64" + }, + { + "name": "z", + "type": "f64" + }, + { + "name": "yaw", + "type": "f32" + }, + { + "name": "pitch", + "type": "f32" + }, + { + "name": "flags", + "type": "i8" + }, + { + "name": "teleportId", + "type": "varint" + } + ] + ], + "packet_unlock_recipes": [ + "container", + [ + { + "name": "action", + "type": "varint" + }, + { + "name": "craftingBookOpen", + "type": "bool" + }, + { + "name": "filteringCraftable", + "type": "bool" + }, + { + "name": "smeltingBookOpen", + "type": "bool" + }, + { + "name": "filteringSmeltable", + "type": "bool" + }, + { + "name": "blastFurnaceOpen", + "type": "bool" + }, + { + "name": "filteringBlastFurnace", + "type": "bool" + }, + { + "name": "smokerBookOpen", + "type": "bool" + }, + { + "name": "filteringSmoker", + "type": "bool" + }, + { + "name": "recipes1", + "type": [ + "array", + { + "countType": "varint", + "type": "string" + } + ] + }, + { + "name": "recipes2", + "type": [ + "switch", + { + "compareTo": "action", + "fields": { + "0": [ + "array", + { + "countType": "varint", + "type": "string" + } + ] + }, + "default": "void" + } + ] + } + ] + ], + "packet_entity_destroy": [ + "container", + [ + { + "name": "entityIds", + "type": [ + "array", + { + "countType": "varint", + "type": "varint" + } + ] + } + ] + ], + "packet_remove_entity_effect": [ + "container", + [ + { + "name": "entityId", + "type": "varint" + }, + { + "name": "effectId", + "type": "varint" + } + ] + ], + "packet_reset_score": [ + "container", + [ + { + "name": "entity_name", + "type": "string" + }, + { + "name": "objective_name", + "type": [ + "option", + "string" + ] + } + ] + ], + "packet_remove_resource_pack": [ + "container", + [ + { + "name": "uuid", + "type": [ + "option", + "UUID" + ] + } + ] + ], + "packet_add_resource_pack": [ + "container", + [ + { + "name": "uuid", + "type": "UUID" + }, + { + "name": "url", + "type": "string" + }, + { + "name": "hash", + "type": "string" + }, + { + "name": "forced", + "type": "bool" + }, + { + "name": "promptMessage", + "type": [ + "option", + "anonymousNbt" + ] + } + ] + ], + "packet_respawn": [ + "container", + [ + { + "name": "worldState", + "type": "SpawnInfo" + }, + { + "name": "copyMetadata", + "type": "bool" + } + ] + ], + "packet_entity_head_rotation": [ + "container", + [ + { + "name": "entityId", + "type": "varint" + }, + { + "name": "headYaw", + "type": "i8" + } + ] + ], + "packet_multi_block_change": [ + "container", + [ + { + "name": "chunkCoordinates", + "type": [ + "bitfield", + [ + { + "name": "x", + "size": 22, + "signed": true + }, + { + "name": "z", + "size": 22, + "signed": true + }, + { + "name": "y", + "size": 20, + "signed": true + } + ] + ] + }, + { + "name": "records", + "type": [ + "array", + { + "countType": "varint", + "type": "varint" + } + ] + } + ] + ], + "packet_select_advancement_tab": [ + "container", + [ + { + "name": "id", + "type": [ + "option", + "string" + ] + } + ] + ], + "packet_server_data": [ + "container", + [ + { + "name": "motd", + "type": "anonymousNbt" + }, + { + "name": "iconBytes", + "type": [ + "option", + "ByteArray" + ] + } + ] + ], + "packet_action_bar": [ + "container", + [ + { + "name": "text", + "type": "anonymousNbt" + } + ] + ], + "packet_world_border_center": [ + "container", + [ + { + "name": "x", + "type": "f64" + }, + { + "name": "z", + "type": "f64" + } + ] + ], + "packet_world_border_lerp_size": [ + "container", + [ + { + "name": "oldDiameter", + "type": "f64" + }, + { + "name": "newDiameter", + "type": "f64" + }, + { + "name": "speed", + "type": "varint" + } + ] + ], + "packet_world_border_size": [ + "container", + [ + { + "name": "diameter", + "type": "f64" + } + ] + ], + "packet_world_border_warning_delay": [ + "container", + [ + { + "name": "warningTime", + "type": "varint" + } + ] + ], + "packet_world_border_warning_reach": [ + "container", + [ + { + "name": "warningBlocks", + "type": "varint" + } + ] + ], + "packet_camera": [ + "container", + [ + { + "name": "cameraId", + "type": "varint" + } + ] + ], + "packet_held_item_slot": [ + "container", + [ + { + "name": "slot", + "type": "i8" + } + ] + ], + "packet_update_view_position": [ + "container", + [ + { + "name": "chunkX", + "type": "varint" + }, + { + "name": "chunkZ", + "type": "varint" + } + ] + ], + "packet_update_view_distance": [ + "container", + [ + { + "name": "viewDistance", + "type": "varint" + } + ] + ], + "packet_spawn_position": [ + "container", + [ + { + "name": "location", + "type": "position" + }, + { + "name": "angle", + "type": "f32" + } + ] + ], + "packet_scoreboard_display_objective": [ + "container", + [ + { + "name": "position", + "type": "varint" + }, + { + "name": "name", + "type": "string" + } + ] + ], + "packet_entity_metadata": [ + "container", + [ + { + "name": "entityId", + "type": "varint" + }, + { + "name": "metadata", + "type": "entityMetadata" + } + ] + ], + "packet_attach_entity": [ + "container", + [ + { + "name": "entityId", + "type": "i32" + }, + { + "name": "vehicleId", + "type": "i32" + } + ] + ], + "packet_entity_velocity": [ + "container", + [ + { + "name": "entityId", + "type": "varint" + }, + { + "name": "velocityX", + "type": "i16" + }, + { + "name": "velocityY", + "type": "i16" + }, + { + "name": "velocityZ", + "type": "i16" + } + ] + ], + "packet_entity_equipment": [ + "container", + [ + { + "name": "entityId", + "type": "varint" + }, + { + "name": "equipments", + "type": [ + "topBitSetTerminatedArray", + { + "type": [ + "container", + [ + { + "name": "slot", + "type": "i8" + }, + { + "name": "item", + "type": "slot" + } + ] + ] + } + ] + } + ] + ], + "packet_experience": [ + "container", + [ + { + "name": "experienceBar", + "type": "f32" + }, + { + "name": "level", + "type": "varint" + }, + { + "name": "totalExperience", + "type": "varint" + } + ] + ], + "packet_update_health": [ + "container", + [ + { + "name": "health", + "type": "f32" + }, + { + "name": "food", + "type": "varint" + }, + { + "name": "foodSaturation", + "type": "f32" + } + ] + ], + "packet_scoreboard_objective": [ + "container", + [ + { + "name": "name", + "type": "string" + }, + { + "name": "action", + "type": "i8" + }, + { + "name": "displayText", + "type": [ + "switch", + { + "compareTo": "action", + "fields": { + "0": "anonymousNbt", + "2": "anonymousNbt" + }, + "default": "void" + } + ] + }, + { + "name": "type", + "type": [ + "switch", + { + "compareTo": "action", + "fields": { + "0": "varint", + "2": "varint" + }, + "default": "void" + } + ] + }, + { + "name": "number_format", + "type": [ + "switch", + { + "compareTo": "action", + "fields": { + "0": [ + "option", + "varint" + ], + "2": [ + "option", + "varint" + ] + }, + "default": "void" + } + ] + }, + { + "name": "styling", + "type": [ + "switch", + { + "compareTo": "action", + "fields": { + "0": [ + "switch", + { + "compareTo": "number_format", + "fields": { + "1": "anonymousNbt", + "2": "anonymousNbt" + }, + "default": "void" + } + ], + "2": [ + "switch", + { + "compareTo": "number_format", + "fields": { + "1": "anonymousNbt", + "2": "anonymousNbt" + }, + "default": "void" + } + ] + }, + "default": "void" + } + ] + } + ] + ], + "packet_set_passengers": [ + "container", + [ + { + "name": "entityId", + "type": "varint" + }, + { + "name": "passengers", + "type": [ + "array", + { + "countType": "varint", + "type": "varint" + } + ] + } + ] + ], + "packet_teams": [ + "container", + [ + { + "name": "team", + "type": "string" + }, + { + "name": "mode", + "type": "i8" + }, + { + "name": "name", + "type": [ + "switch", + { + "compareTo": "mode", + "fields": { + "0": "anonymousNbt", + "2": "anonymousNbt" + }, + "default": "void" + } + ] + }, + { + "name": "friendlyFire", + "type": [ + "switch", + { + "compareTo": "mode", + "fields": { + "0": "i8", + "2": "i8" + }, + "default": "void" + } + ] + }, + { + "name": "nameTagVisibility", + "type": [ + "switch", + { + "compareTo": "mode", + "fields": { + "0": "string", + "2": "string" + }, + "default": "void" + } + ] + }, + { + "name": "collisionRule", + "type": [ + "switch", + { + "compareTo": "mode", + "fields": { + "0": "string", + "2": "string" + }, + "default": "void" + } + ] + }, + { + "name": "formatting", + "type": [ + "switch", + { + "compareTo": "mode", + "fields": { + "0": "varint", + "2": "varint" + }, + "default": "void" + } + ] + }, + { + "name": "prefix", + "type": [ + "switch", + { + "compareTo": "mode", + "fields": { + "0": "anonymousNbt", + "2": "anonymousNbt" + }, + "default": "void" + } + ] + }, + { + "name": "suffix", + "type": [ + "switch", + { + "compareTo": "mode", + "fields": { + "0": "anonymousNbt", + "2": "anonymousNbt" + }, + "default": "void" + } + ] + }, + { + "name": "players", + "type": [ + "switch", + { + "compareTo": "mode", + "fields": { + "0": [ + "array", + { + "countType": "varint", + "type": "string" + } + ], + "3": [ + "array", + { + "countType": "varint", + "type": "string" + } + ], + "4": [ + "array", + { + "countType": "varint", + "type": "string" + } + ] + }, + "default": "void" + } + ] + } + ] + ], + "packet_scoreboard_score": [ + "container", + [ + { + "name": "itemName", + "type": "string" + }, + { + "name": "scoreName", + "type": "string" + }, + { + "name": "value", + "type": "varint" + }, + { + "name": "display_name", + "type": [ + "option", + "anonymousNbt" + ] + }, + { + "name": "number_format", + "type": [ + "option", + "varint" + ] + }, + { + "name": "styling", + "type": [ + "switch", + { + "compareTo": "number_format", + "fields": { + "1": "anonymousNbt", + "2": "anonymousNbt" + }, + "default": "void" + } + ] + } + ] + ], + "packet_simulation_distance": [ + "container", + [ + { + "name": "distance", + "type": "varint" + } + ] + ], + "packet_set_title_subtitle": [ + "container", + [ + { + "name": "text", + "type": "anonymousNbt" + } + ] + ], + "packet_update_time": [ + "container", + [ + { + "name": "age", + "type": "i64" + }, + { + "name": "time", + "type": "i64" + } + ] + ], + "packet_set_title_text": [ + "container", + [ + { + "name": "text", + "type": "anonymousNbt" + } + ] + ], + "packet_set_title_time": [ + "container", + [ + { + "name": "fadeIn", + "type": "i32" + }, + { + "name": "stay", + "type": "i32" + }, + { + "name": "fadeOut", + "type": "i32" + } + ] + ], + "packet_entity_sound_effect": [ + "container", + [ + { + "name": "soundId", + "type": "varint" + }, + { + "name": "soundEvent", + "type": [ + "switch", + { + "compareTo": "soundId", + "fields": { + "0": [ + "container", + [ + { + "name": "resource", + "type": "string" + }, + { + "name": "range", + "type": [ + "option", + "f32" + ] + } + ] + ] + }, + "default": "void" + } + ] + }, + { + "name": "soundCategory", + "type": "soundSource" + }, + { + "name": "entityId", + "type": "varint" + }, + { + "name": "volume", + "type": "f32" + }, + { + "name": "pitch", + "type": "f32" + }, + { + "name": "seed", + "type": "i64" + } + ] + ], + "packet_sound_effect": [ + "container", + [ + { + "name": "soundId", + "type": "varint" + }, + { + "name": "soundEvent", + "type": [ + "switch", + { + "compareTo": "soundId", + "fields": { + "0": [ + "container", + [ + { + "name": "resource", + "type": "string" + }, + { + "name": "range", + "type": [ + "option", + "f32" + ] + } + ] + ] + }, + "default": "void" + } + ] + }, + { + "name": "soundCategory", + "type": "soundSource" + }, + { + "name": "x", + "type": "i32" + }, + { + "name": "y", + "type": "i32" + }, + { + "name": "z", + "type": "i32" + }, + { + "name": "volume", + "type": "f32" + }, + { + "name": "pitch", + "type": "f32" + }, + { + "name": "seed", + "type": "i64" + } + ] + ], + "packet_start_configuration": [ + "container", + [] + ], + "packet_stop_sound": [ + "container", + [ + { + "name": "flags", + "type": "i8" + }, + { + "name": "source", + "type": [ + "switch", + { + "compareTo": "flags", + "fields": { + "1": "varint", + "3": "varint" + }, + "default": "void" + } + ] + }, + { + "name": "sound", + "type": [ + "switch", + { + "compareTo": "flags", + "fields": { + "2": "string", + "3": "string" + }, + "default": "void" + } + ] + } + ] + ], + "packet_system_chat": [ + "container", + [ + { + "name": "content", + "type": "anonymousNbt" + }, + { + "name": "isActionBar", + "type": "bool" + } + ] + ], + "packet_playerlist_header": [ + "container", + [ + { + "name": "header", + "type": "anonymousNbt" + }, + { + "name": "footer", + "type": "anonymousNbt" + } + ] + ], + "packet_nbt_query_response": [ + "container", + [ + { + "name": "transactionId", + "type": "varint" + }, + { + "name": "nbt", + "type": "anonOptionalNbt" + } + ] + ], + "packet_collect": [ + "container", + [ + { + "name": "collectedEntityId", + "type": "varint" + }, + { + "name": "collectorEntityId", + "type": "varint" + }, + { + "name": "pickupItemCount", + "type": "varint" + } + ] + ], + "packet_entity_teleport": [ + "container", + [ + { + "name": "entityId", + "type": "varint" + }, + { + "name": "x", + "type": "f64" + }, + { + "name": "y", + "type": "f64" + }, + { + "name": "z", + "type": "f64" + }, + { + "name": "yaw", + "type": "i8" + }, + { + "name": "pitch", + "type": "i8" + }, + { + "name": "onGround", + "type": "bool" + } + ] + ], + "packet_set_ticking_state": [ + "container", + [ + { + "name": "tick_rate", + "type": "f32" + }, + { + "name": "is_frozen", + "type": "bool" + } + ] + ], + "packet_step_tick": [ + "container", + [ + { + "name": "tick_steps", + "type": "varint" + } + ] + ], + "packet_advancements": [ + "container", + [ + { + "name": "reset", + "type": "bool" + }, + { + "name": "advancementMapping", + "type": [ + "array", + { + "countType": "varint", + "type": [ + "container", + [ + { + "name": "key", + "type": "string" + }, + { + "name": "value", + "type": [ + "container", + [ + { + "name": "parentId", + "type": [ + "option", + "string" + ] + }, + { + "name": "displayData", + "type": [ + "option", + [ + "container", + [ + { + "name": "title", + "type": "anonymousNbt" + }, + { + "name": "description", + "type": "anonymousNbt" + }, + { + "name": "icon", + "type": "Slot" + }, + { + "name": "frameType", + "type": "varint" + }, + { + "name": "flags", + "type": [ + "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 + } + ] + ] + }, + { + "name": "backgroundTexture", + "type": [ + "switch", + { + "compareTo": "flags/has_background_texture", + "fields": { + "1": "string" + }, + "default": "void" + } + ] + }, + { + "name": "xCord", + "type": "f32" + }, + { + "name": "yCord", + "type": "f32" + } + ] + ] + ] + }, + { + "name": "requirements", + "type": [ + "array", + { + "countType": "varint", + "type": [ + "array", + { + "countType": "varint", + "type": "string" + } + ] + } + ] + }, + { + "name": "sendsTelemtryData", + "type": "bool" + } + ] + ] + } + ] + ] + } + ] + }, + { + "name": "identifiers", + "type": [ + "array", + { + "countType": "varint", + "type": "string" + } + ] + }, + { + "name": "progressMapping", + "type": [ + "array", + { + "countType": "varint", + "type": [ + "container", + [ + { + "name": "key", + "type": "string" + }, + { + "name": "value", + "type": [ + "array", + { + "countType": "varint", + "type": [ + "container", + [ + { + "name": "criterionIdentifier", + "type": "string" + }, + { + "name": "criterionProgress", + "type": [ + "option", + "i64" + ] + } + ] + ] + } + ] + } + ] + ] + } + ] + } + ] + ], + "packet_entity_update_attributes": [ + "container", + [ + { + "name": "entityId", + "type": "varint" + }, + { + "name": "properties", + "type": [ + "array", + { + "countType": "varint", + "type": [ + "container", + [ + { + "name": "key", + "type": [ + "mapper", + { + "type": "varint", + "mappings": { + "0": "generic.armor", + "1": "generic.armor_toughness", + "2": "generic.attack_damage", + "3": "generic.attack_knockback", + "4": "generic.attack_speed", + "5": "player.block_break_speed", + "6": "player.block_interaction_range", + "7": "player.entity_interaction_range", + "8": "generic.fall_damage_multiplier", + "9": "generic.flying_speed", + "10": "generic.follow_range", + "11": "generic.gravity", + "12": "generic.jump_strength", + "13": "generic.knockback_resistance", + "14": "generic.luck", + "15": "generic.max_absorption", + "16": "generic.max_health", + "17": "generic.movement_speed", + "18": "generic.safe_fall_distance", + "19": "generic.scale", + "20": "zombie.spawn_reinforcements", + "21": "generic.step_height" + } + } + ] + }, + { + "name": "value", + "type": "f64" + }, + { + "name": "modifiers", + "type": [ + "array", + { + "countType": "varint", + "type": [ + "container", + [ + { + "name": "uuid", + "type": "UUID" + }, + { + "name": "amount", + "type": "f64" + }, + { + "name": "operation", + "type": "i8" + } + ] + ] + } + ] + } + ] + ] + } + ] + } + ] + ], + "packet_entity_effect": [ + "container", + [ + { + "name": "entityId", + "type": "varint" + }, + { + "name": "effectId", + "type": "varint" + }, + { + "name": "amplifier", + "type": "varint" + }, + { + "name": "duration", + "type": "varint" + }, + { + "name": "flags", + "type": "u8" + } + ] + ], + "packet_declare_recipes": [ + "container", + [ + { + "name": "recipes", + "type": [ + "array", + { + "countType": "varint", + "type": [ + "container", + [ + { + "name": "type", + "type": "string" + }, + { + "name": "recipeId", + "type": "varint" + }, + { + "name": "data", + "type": [ + "switch", + { + "compareTo": "type", + "fields": { + "minecraft:crafting_shapeless": [ + "container", + [ + { + "name": "group", + "type": "string" + }, + { + "name": "category", + "type": "varint" + }, + { + "name": "ingredients", + "type": [ + "array", + { + "countType": "varint", + "type": "ingredient" + } + ] + }, + { + "name": "result", + "type": "Slot" + } + ] + ], + "minecraft:crafting_shaped": [ + "container", + [ + { + "name": "group", + "type": "string" + }, + { + "name": "category", + "type": "varint" + }, + { + "name": "width", + "type": "varint" + }, + { + "name": "height", + "type": "varint" + }, + { + "name": "ingredients", + "type": [ + "array", + { + "count": "width", + "type": [ + "array", + { + "count": "height", + "type": "ingredient" + } + ] + } + ] + }, + { + "name": "result", + "type": "Slot" + }, + { + "name": "showNotification", + "type": "bool" + } + ] + ], + "minecraft:crafting_special_armordye": "minecraft_simple_recipe_format", + "minecraft:crafting_special_bookcloning": "minecraft_simple_recipe_format", + "minecraft:crafting_special_mapcloning": "minecraft_simple_recipe_format", + "minecraft:crafting_special_mapextending": "minecraft_simple_recipe_format", + "minecraft:crafting_special_firework_rocket": "minecraft_simple_recipe_format", + "minecraft:crafting_special_firework_star": "minecraft_simple_recipe_format", + "minecraft:crafting_special_firework_star_fade": "minecraft_simple_recipe_format", + "minecraft:crafting_special_repairitem": "minecraft_simple_recipe_format", + "minecraft:crafting_special_tippedarrow": "minecraft_simple_recipe_format", + "minecraft:crafting_special_bannerduplicate": "minecraft_simple_recipe_format", + "minecraft:crafting_special_banneraddpattern": "minecraft_simple_recipe_format", + "minecraft:crafting_special_shielddecoration": "minecraft_simple_recipe_format", + "minecraft:crafting_special_shulkerboxcoloring": "minecraft_simple_recipe_format", + "minecraft:crafting_special_suspiciousstew": "minecraft_simple_recipe_format", + "minecraft:smelting": "minecraft_smelting_format", + "minecraft:blasting": "minecraft_smelting_format", + "minecraft:smoking": "minecraft_smelting_format", + "minecraft:campfire_cooking": "minecraft_smelting_format", + "minecraft:stonecutting": [ + "container", + [ + { + "name": "group", + "type": "string" + }, + { + "name": "ingredient", + "type": "ingredient" + }, + { + "name": "result", + "type": "Slot" + } + ] + ], + "minecraft:smithing_transform": [ + "container", + [ + { + "name": "template", + "type": "ingredient" + }, + { + "name": "base", + "type": "ingredient" + }, + { + "name": "addition", + "type": "ingredient" + }, + { + "name": "result", + "type": "Slot" + } + ] + ], + "minecraft:smithing_trim": [ + "container", + [ + { + "name": "template", + "type": "ingredient" + }, + { + "name": "base", + "type": "ingredient" + }, + { + "name": "addition", + "type": "ingredient" + } + ] + ], + "minecraft:crafting_decorated_pot": "minecraft_simple_recipe_format" + }, + "default": "void" + } + ] + } + ] + ] + } + ] + } + ] + ], + "packet_tags": [ + "container", + [ + { + "name": "tags", + "type": [ + "array", + { + "countType": "varint", + "type": [ + "container", + [ + { + "name": "tagType", + "type": "string" + }, + { + "name": "tags", + "type": "tags" + } + ] + ] + } + ] + } + ] + ], + "packet_set_projectile_power": [ + "container", + [ + { + "name": "id", + "type": "varint" + }, + { + "name": "power", + "type": "vec3f64" + } + ] + ], + "packet": [ + "container", + [ + { + "name": "name", + "type": [ + "mapper", + { + "type": "varint", + "mappings": { + "0": "bundle_delimiter", + "1": "spawn_entity", + "2": "spawn_entity_experience_orb", + "3": "animation", + "4": "statistics", + "5": "acknowledge_player_digging", + "6": "block_break_animation", + "7": "tile_entity_data", + "8": "block_action", + "9": "block_change", + "10": "boss_bar", + "11": "difficulty", + "12": "chunk_batch_finished", + "13": "chunk_batch_start", + "14": "chunk_biomes", + "15": "clear_titles", + "16": "tab_complete", + "17": "declare_commands", + "18": "close_window", + "19": "window_items", + "20": "craft_progress_bar", + "21": "set_slot", + "22": "cookie_request", + "23": "set_cooldown", + "24": "chat_suggestions", + "25": "custom_payload", + "26": "damage_event", + "27": "debug_sample", + "28": "hide_message", + "29": "kick_disconnect", + "30": "profileless_chat", + "31": "entity_status", + "32": "explosion", + "33": "unload_chunk", + "34": "game_state_change", + "35": "open_horse_window", + "36": "hurt_animation", + "37": "initialize_world_border", + "38": "keep_alive", + "39": "map_chunk", + "40": "world_event", + "41": "world_particles", + "42": "update_light", + "43": "login", + "44": "map", + "45": "trade_list", + "46": "rel_entity_move", + "47": "entity_move_look", + "48": "entity_look", + "49": "vehicle_move", + "50": "open_book", + "51": "open_window", + "52": "open_sign_entity", + "53": "ping", + "54": "ping_response", + "55": "craft_recipe_response", + "56": "abilities", + "57": "player_chat", + "58": "end_combat_event", + "59": "enter_combat_event", + "60": "death_combat_event", + "61": "player_remove", + "62": "player_info", + "63": "face_player", + "64": "position", + "65": "unlock_recipes", + "66": "entity_destroy", + "67": "remove_entity_effect", + "68": "reset_score", + "69": "remove_resource_pack", + "70": "add_resource_pack", + "71": "respawn", + "72": "entity_head_rotation", + "73": "multi_block_change", + "74": "select_advancement_tab", + "75": "server_data", + "76": "action_bar", + "77": "world_border_center", + "78": "world_border_lerp_size", + "79": "world_border_size", + "80": "world_border_warning_delay", + "81": "world_border_warning_reach", + "82": "camera", + "83": "held_item_slot", + "84": "update_view_position", + "85": "update_view_distance", + "86": "spawn_position", + "87": "scoreboard_display_objective", + "88": "entity_metadata", + "89": "attach_entity", + "90": "entity_velocity", + "91": "entity_equipment", + "92": "experience", + "93": "update_health", + "94": "scoreboard_objective", + "95": "set_passengers", + "96": "teams", + "97": "scoreboard_score", + "98": "simulation_distance", + "99": "set_title_subtitle", + "100": "update_time", + "101": "set_title_text", + "102": "set_title_time", + "103": "entity_sound_effect", + "104": "sound_effect", + "105": "start_configuration", + "106": "stop_sound", + "107": "store_cookie", + "108": "system_chat", + "109": "playerlist_header", + "110": "nbt_query_response", + "111": "collect", + "112": "entity_teleport", + "113": "set_ticking_state", + "114": "step_tick", + "115": "transfer", + "116": "advancements", + "117": "entity_update_attributes", + "118": "entity_effect", + "119": "declare_recipes", + "120": "tags" + } + } + ] + }, + { + "name": "params", + "type": [ + "switch", + { + "compareTo": "name", + "fields": { + "bundle_delimiter": "void", + "spawn_entity": "packet_spawn_entity", + "spawn_entity_experience_orb": "packet_spawn_entity_experience_orb", + "animation": "packet_animation", + "statistics": "packet_statistics", + "acknowledge_player_digging": "packet_acknowledge_player_digging", + "block_break_animation": "packet_block_break_animation", + "tile_entity_data": "packet_tile_entity_data", + "block_action": "packet_block_action", + "block_change": "packet_block_change", + "boss_bar": "packet_boss_bar", + "difficulty": "packet_difficulty", + "chunk_batch_finished": "packet_chunk_batch_finished", + "chunk_batch_start": "packet_chunk_batch_start", + "chunk_biomes": "packet_chunk_biomes", + "clear_titles": "packet_clear_titles", + "tab_complete": "packet_tab_complete", + "declare_commands": "packet_declare_commands", + "close_window": "packet_close_window", + "window_items": "packet_window_items", + "craft_progress_bar": "packet_craft_progress_bar", + "set_slot": "packet_set_slot", + "cookie_request": "packet_common_cookie_request", + "set_cooldown": "packet_set_cooldown", + "chat_suggestions": "packet_chat_suggestions", + "custom_payload": "packet_custom_payload", + "damage_event": "packet_damage_event", + "debug_sample": "packet_debug_sample", + "hide_message": "packet_hide_message", + "kick_disconnect": "packet_kick_disconnect", + "profileless_chat": "packet_profileless_chat", + "entity_status": "packet_entity_status", + "explosion": "packet_explosion", + "unload_chunk": "packet_unload_chunk", + "game_state_change": "packet_game_state_change", + "open_horse_window": "packet_open_horse_window", + "hurt_animation": "packet_hurt_animation", + "initialize_world_border": "packet_initialize_world_border", + "keep_alive": "packet_keep_alive", + "map_chunk": "packet_map_chunk", + "world_event": "packet_world_event", + "world_particles": "packet_world_particles", + "update_light": "packet_update_light", + "login": "packet_login", + "map": "packet_map", + "trade_list": "packet_trade_list", + "rel_entity_move": "packet_rel_entity_move", + "entity_move_look": "packet_entity_move_look", + "entity_look": "packet_entity_look", + "vehicle_move": "packet_vehicle_move", + "open_book": "packet_open_book", + "open_window": "packet_open_window", + "open_sign_entity": "packet_open_sign_entity", + "ping": "packet_ping", + "ping_response": "packet_ping_response", + "craft_recipe_response": "packet_craft_recipe_response", + "abilities": "packet_abilities", + "player_chat": "packet_player_chat", + "end_combat_event": "packet_end_combat_event", + "enter_combat_event": "packet_enter_combat_event", + "death_combat_event": "packet_death_combat_event", + "player_remove": "packet_player_remove", + "player_info": "packet_player_info", + "face_player": "packet_face_player", + "position": "packet_position", + "unlock_recipes": "packet_unlock_recipes", + "entity_destroy": "packet_entity_destroy", + "remove_entity_effect": "packet_remove_entity_effect", + "reset_score": "packet_reset_score", + "remove_resource_pack": "packet_remove_resource_pack", + "add_resource_pack": "packet_add_resource_pack", + "respawn": "packet_respawn", + "entity_head_rotation": "packet_entity_head_rotation", + "multi_block_change": "packet_multi_block_change", + "select_advancement_tab": "packet_select_advancement_tab", + "server_data": "packet_server_data", + "action_bar": "packet_action_bar", + "world_border_center": "packet_world_border_center", + "world_border_lerp_size": "packet_world_border_lerp_size", + "world_border_size": "packet_world_border_size", + "world_border_warning_delay": "packet_world_border_warning_delay", + "world_border_warning_reach": "packet_world_border_warning_reach", + "camera": "packet_camera", + "held_item_slot": "packet_held_item_slot", + "update_view_position": "packet_update_view_position", + "update_view_distance": "packet_update_view_distance", + "spawn_position": "packet_spawn_position", + "scoreboard_display_objective": "packet_scoreboard_display_objective", + "entity_metadata": "packet_entity_metadata", + "attach_entity": "packet_attach_entity", + "entity_velocity": "packet_entity_velocity", + "entity_equipment": "packet_entity_equipment", + "experience": "packet_experience", + "update_health": "packet_update_health", + "scoreboard_objective": "packet_scoreboard_objective", + "set_passengers": "packet_set_passengers", + "teams": "packet_teams", + "scoreboard_score": "packet_scoreboard_score", + "simulation_distance": "packet_simulation_distance", + "set_title_subtitle": "packet_set_title_subtitle", + "update_time": "packet_update_time", + "set_title_text": "packet_set_title_text", + "set_title_time": "packet_set_title_time", + "entity_sound_effect": "packet_entity_sound_effect", + "sound_effect": "packet_sound_effect", + "start_configuration": "packet_start_configuration", + "stop_sound": "packet_stop_sound", + "store_cookie": "packet_common_store_cookie", + "system_chat": "packet_system_chat", + "playerlist_header": "packet_playerlist_header", + "nbt_query_response": "packet_nbt_query_response", + "collect": "packet_collect", + "entity_teleport": "packet_entity_teleport", + "set_ticking_state": "packet_set_ticking_state", + "step_tick": "packet_step_tick", + "transfer": "packet_common_transfer", + "advancements": "packet_advancements", + "entity_update_attributes": "packet_entity_update_attributes", + "entity_effect": "packet_entity_effect", + "declare_recipes": "packet_declare_recipes", + "tags": "packet_tags" + }, + "default": "void" + } + ] + } + ] + ] + } + }, + "toServer": { + "types": { + "packet_teleport_confirm": [ + "container", + [ + { + "name": "teleportId", + "type": "varint" + } + ] + ], + "packet_query_block_nbt": [ + "container", + [ + { + "name": "transactionId", + "type": "varint" + }, + { + "name": "location", + "type": "position" + } + ] + ], + "packet_set_difficulty": [ + "container", + [ + { + "name": "newDifficulty", + "type": "u8" + } + ] + ], + "packet_message_acknowledgement": [ + "container", + [ + { + "name": "count", + "type": "varint" + } + ] + ], + "packet_chat_command": [ + "container", + [ + { + "name": "command", + "type": "string" + } + ] + ], + "packet_chat_command_signed": [ + "container", + [ + { + "name": "command", + "type": "string" + }, + { + "name": "timestamp", + "type": "i64" + }, + { + "name": "salt", + "type": "i64" + }, + { + "name": "argumentSignatures", + "type": [ + "array", + { + "countType": "varint", + "type": [ + "container", + [ + { + "name": "argumentName", + "type": "string" + }, + { + "name": "signature", + "type": [ + "buffer", + { + "count": 256 + } + ] + } + ] + ] + } + ] + }, + { + "name": "messageCount", + "type": "varint" + }, + { + "name": "acknowledged", + "type": [ + "buffer", + { + "count": 3 + } + ] + } + ] + ], + "packet_chat_message": [ + "container", + [ + { + "name": "message", + "type": "string" + }, + { + "name": "timestamp", + "type": "i64" + }, + { + "name": "salt", + "type": "i64" + }, + { + "name": "signature", + "type": [ + "option", + [ + "buffer", + { + "count": 256 + } + ] + ] + }, + { + "name": "offset", + "type": "varint" + }, + { + "name": "acknowledged", + "type": [ + "buffer", + { + "count": 3 + } + ] + } + ] + ], + "packet_chat_session_update": [ + "container", + [ + { + "name": "sessionUUID", + "type": "UUID" + }, + { + "name": "expireTime", + "type": "i64" + }, + { + "name": "publicKey", + "type": "ByteArray" + }, + { + "name": "signature", + "type": "ByteArray" + } + ] + ], + "packet_chunk_batch_received": [ + "container", + [ + { + "name": "chunksPerTick", + "type": "f32" + } + ] + ], + "packet_client_command": [ + "container", + [ + { + "name": "actionId", + "type": "varint" + } + ] + ], + "packet_settings": [ + "container", + [ + { + "name": "locale", + "type": "string" + }, + { + "name": "viewDistance", + "type": "i8" + }, + { + "name": "chatFlags", + "type": "varint" + }, + { + "name": "chatColors", + "type": "bool" + }, + { + "name": "skinParts", + "type": "u8" + }, + { + "name": "mainHand", + "type": "varint" + }, + { + "name": "enableTextFiltering", + "type": "bool" + }, + { + "name": "enableServerListing", + "type": "bool" + } + ] + ], + "packet_tab_complete": [ + "container", + [ + { + "name": "transactionId", + "type": "varint" + }, + { + "name": "text", + "type": "string" + } + ] + ], + "packet_configuration_acknowledged": [ + "container", + [] + ], + "packet_enchant_item": [ + "container", + [ + { + "name": "windowId", + "type": "i8" + }, + { + "name": "enchantment", + "type": "i8" + } + ] + ], + "packet_window_click": [ + "container", + [ + { + "name": "windowId", + "type": "u8" + }, + { + "name": "stateId", + "type": "varint" + }, + { + "name": "slot", + "type": "i16" + }, + { + "name": "mouseButton", + "type": "i8" + }, + { + "name": "mode", + "type": "varint" + }, + { + "name": "changedSlots", + "type": [ + "array", + { + "countType": "varint", + "type": [ + "container", + [ + { + "name": "location", + "type": "i16" + }, + { + "name": "item", + "type": "Slot" + } + ] + ] + } + ] + }, + { + "name": "cursorItem", + "type": "Slot" + } + ] + ], + "packet_close_window": [ + "container", + [ + { + "name": "windowId", + "type": "u8" + } + ] + ], + "packet_set_slot_state": [ + "container", + [ + { + "name": "slot_id", + "type": "varint" + }, + { + "name": "window_id", + "type": "varint" + }, + { + "name": "state", + "type": "bool" + } + ] + ], + "packet_custom_payload": [ + "container", + [ + { + "name": "channel", + "type": "string" + }, + { + "name": "data", + "type": "restBuffer" + } + ] + ], + "packet_debug_sample_subscription": [ + "container", + [ + { + "name": "type", + "type": "varint" + } + ] + ], + "packet_edit_book": [ + "container", + [ + { + "name": "hand", + "type": "varint" + }, + { + "name": "pages", + "type": [ + "array", + { + "countType": "varint", + "type": "string" + } + ] + }, + { + "name": "title", + "type": [ + "option", + "string" + ] + } + ] + ], + "packet_query_entity_nbt": [ + "container", + [ + { + "name": "transactionId", + "type": "varint" + }, + { + "name": "entityId", + "type": "varint" + } + ] + ], + "packet_use_entity": [ + "container", + [ + { + "name": "target", + "type": "varint" + }, + { + "name": "mouse", + "type": "varint" + }, + { + "name": "x", + "type": [ + "switch", + { + "compareTo": "mouse", + "fields": { + "2": "f32" + }, + "default": "void" + } + ] + }, + { + "name": "y", + "type": [ + "switch", + { + "compareTo": "mouse", + "fields": { + "2": "f32" + }, + "default": "void" + } + ] + }, + { + "name": "z", + "type": [ + "switch", + { + "compareTo": "mouse", + "fields": { + "2": "f32" + }, + "default": "void" + } + ] + }, + { + "name": "hand", + "type": [ + "switch", + { + "compareTo": "mouse", + "fields": { + "0": "varint", + "2": "varint" + }, + "default": "void" + } + ] + }, + { + "name": "sneaking", + "type": "bool" + } + ] + ], + "packet_generate_structure": [ + "container", + [ + { + "name": "location", + "type": "position" + }, + { + "name": "levels", + "type": "varint" + }, + { + "name": "keepJigsaws", + "type": "bool" + } + ] + ], + "packet_keep_alive": [ + "container", + [ + { + "name": "keepAliveId", + "type": "i64" + } + ] + ], + "packet_lock_difficulty": [ + "container", + [ + { + "name": "locked", + "type": "bool" + } + ] + ], + "packet_position": [ + "container", + [ + { + "name": "x", + "type": "f64" + }, + { + "name": "y", + "type": "f64" + }, + { + "name": "z", + "type": "f64" + }, + { + "name": "onGround", + "type": "bool" + } + ] + ], + "packet_position_look": [ + "container", + [ + { + "name": "x", + "type": "f64" + }, + { + "name": "y", + "type": "f64" + }, + { + "name": "z", + "type": "f64" + }, + { + "name": "yaw", + "type": "f32" + }, + { + "name": "pitch", + "type": "f32" + }, + { + "name": "onGround", + "type": "bool" + } + ] + ], + "packet_look": [ + "container", + [ + { + "name": "yaw", + "type": "f32" + }, + { + "name": "pitch", + "type": "f32" + }, + { + "name": "onGround", + "type": "bool" + } + ] + ], + "packet_flying": [ + "container", + [ + { + "name": "onGround", + "type": "bool" + } + ] + ], + "packet_vehicle_move": [ + "container", + [ + { + "name": "x", + "type": "f64" + }, + { + "name": "y", + "type": "f64" + }, + { + "name": "z", + "type": "f64" + }, + { + "name": "yaw", + "type": "f32" + }, + { + "name": "pitch", + "type": "f32" + } + ] + ], + "packet_steer_boat": [ + "container", + [ + { + "name": "leftPaddle", + "type": "bool" + }, + { + "name": "rightPaddle", + "type": "bool" + } + ] + ], + "packet_pick_item": [ + "container", + [ + { + "name": "slot", + "type": "varint" + } + ] + ], + "packet_ping_request": [ + "container", + [ + { + "name": "id", + "type": "i64" + } + ] + ], + "packet_craft_recipe_request": [ + "container", + [ + { + "name": "windowId", + "type": "i8" + }, + { + "name": "recipe", + "type": "string" + }, + { + "name": "makeAll", + "type": "bool" + } + ] + ], + "packet_abilities": [ + "container", + [ + { + "name": "flags", + "type": "i8" + } + ] + ], + "packet_block_dig": [ + "container", + [ + { + "name": "status", + "type": "varint" + }, + { + "name": "location", + "type": "position" + }, + { + "name": "face", + "type": "i8" + }, + { + "name": "sequence", + "type": "varint" + } + ] + ], + "packet_entity_action": [ + "container", + [ + { + "name": "entityId", + "type": "varint" + }, + { + "name": "actionId", + "type": "varint" + }, + { + "name": "jumpBoost", + "type": "varint" + } + ] + ], + "packet_steer_vehicle": [ + "container", + [ + { + "name": "sideways", + "type": "f32" + }, + { + "name": "forward", + "type": "f32" + }, + { + "name": "jump", + "type": "u8" + } + ] + ], + "packet_pong": [ + "container", + [ + { + "name": "id", + "type": "i32" + } + ] + ], + "packet_recipe_book": [ + "container", + [ + { + "name": "bookId", + "type": "varint" + }, + { + "name": "bookOpen", + "type": "bool" + }, + { + "name": "filterActive", + "type": "bool" + } + ] + ], + "packet_displayed_recipe": [ + "container", + [ + { + "name": "recipeId", + "type": "string" + } + ] + ], + "packet_name_item": [ + "container", + [ + { + "name": "name", + "type": "string" + } + ] + ], + "packet_resource_pack_receive": [ + "container", + [ + { + "name": "uuid", + "type": "UUID" + }, + { + "name": "result", + "type": "varint" + } + ] + ], + "packet_advancement_tab": [ + "container", + [ + { + "name": "action", + "type": "varint" + }, + { + "name": "tabId", + "type": [ + "switch", + { + "compareTo": "action", + "fields": { + "0": "string", + "1": "void" + }, + "default": "void" + } + ] + } + ] + ], + "packet_select_trade": [ + "container", + [ + { + "name": "slot", + "type": "varint" + } + ] + ], + "packet_set_beacon_effect": [ + "container", + [ + { + "name": "primary_effect", + "type": [ + "option", + "varint" + ] + }, + { + "name": "secondary_effect", + "type": [ + "option", + "varint" + ] + } + ] + ], + "packet_held_item_slot": [ + "container", + [ + { + "name": "slotId", + "type": "i16" + } + ] + ], + "packet_update_command_block": [ + "container", + [ + { + "name": "location", + "type": "position" + }, + { + "name": "command", + "type": "string" + }, + { + "name": "mode", + "type": "varint" + }, + { + "name": "flags", + "type": "u8" + } + ] + ], + "packet_update_command_block_minecart": [ + "container", + [ + { + "name": "entityId", + "type": "varint" + }, + { + "name": "command", + "type": "string" + }, + { + "name": "track_output", + "type": "bool" + } + ] + ], + "packet_set_creative_slot": [ + "container", + [ + { + "name": "slot", + "type": "i16" + }, + { + "name": "item", + "type": "Slot" + } + ] + ], + "packet_update_jigsaw_block": [ + "container", + [ + { + "name": "location", + "type": "position" + }, + { + "name": "name", + "type": "string" + }, + { + "name": "target", + "type": "string" + }, + { + "name": "pool", + "type": "string" + }, + { + "name": "finalState", + "type": "string" + }, + { + "name": "jointType", + "type": "string" + }, + { + "name": "selection_priority", + "type": "varint" + }, + { + "name": "placement_priority", + "type": "varint" + } + ] + ], + "packet_update_structure_block": [ + "container", + [ + { + "name": "location", + "type": "position" + }, + { + "name": "action", + "type": "varint" + }, + { + "name": "mode", + "type": "varint" + }, + { + "name": "name", + "type": "string" + }, + { + "name": "offset_x", + "type": "i8" + }, + { + "name": "offset_y", + "type": "i8" + }, + { + "name": "offset_z", + "type": "i8" + }, + { + "name": "size_x", + "type": "i8" + }, + { + "name": "size_y", + "type": "i8" + }, + { + "name": "size_z", + "type": "i8" + }, + { + "name": "mirror", + "type": "varint" + }, + { + "name": "rotation", + "type": "varint" + }, + { + "name": "metadata", + "type": "string" + }, + { + "name": "integrity", + "type": "f32" + }, + { + "name": "seed", + "type": "varint" + }, + { + "name": "flags", + "type": "u8" + } + ] + ], + "packet_update_sign": [ + "container", + [ + { + "name": "location", + "type": "position" + }, + { + "name": "isFrontText", + "type": "bool" + }, + { + "name": "text1", + "type": "string" + }, + { + "name": "text2", + "type": "string" + }, + { + "name": "text3", + "type": "string" + }, + { + "name": "text4", + "type": "string" + } + ] + ], + "packet_arm_animation": [ + "container", + [ + { + "name": "hand", + "type": "varint" + } + ] + ], + "packet_spectate": [ + "container", + [ + { + "name": "target", + "type": "UUID" + } + ] + ], + "packet_block_place": [ + "container", + [ + { + "name": "hand", + "type": "varint" + }, + { + "name": "location", + "type": "position" + }, + { + "name": "direction", + "type": "varint" + }, + { + "name": "cursorX", + "type": "f32" + }, + { + "name": "cursorY", + "type": "f32" + }, + { + "name": "cursorZ", + "type": "f32" + }, + { + "name": "insideBlock", + "type": "bool" + }, + { + "name": "sequence", + "type": "varint" + } + ] + ], + "packet_use_item": [ + "container", + [ + { + "name": "hand", + "type": "varint" + }, + { + "name": "sequence", + "type": "varint" + } + ] + ], + "packet": [ + "container", + [ + { + "name": "name", + "type": [ + "mapper", + { + "type": "varint", + "mappings": { + "0": "teleport_confirm", + "1": "query_block_nbt", + "2": "set_difficulty", + "3": "message_acknowledgement", + "4": "chat_command", + "5": "chat_command_signed", + "6": "chat_message", + "7": "chat_session_update", + "8": "chunk_batch_received", + "9": "client_command", + "10": "settings", + "11": "tab_complete", + "12": "configuration_acknowledged", + "13": "enchant_item", + "14": "window_click", + "15": "close_window", + "16": "set_slot_state", + "17": "cookie_response", + "18": "custom_payload", + "19": "debug_sample_subscription", + "20": "edit_book", + "21": "query_entity_nbt", + "22": "use_entity", + "23": "generate_structure", + "24": "keep_alive", + "25": "lock_difficulty", + "26": "position", + "27": "position_look", + "28": "look", + "29": "flying", + "30": "vehicle_move", + "31": "steer_boat", + "32": "pick_item", + "33": "ping_request", + "34": "craft_recipe_request", + "35": "abilities", + "36": "block_dig", + "37": "entity_action", + "38": "steer_vehicle", + "39": "pong", + "40": "recipe_book", + "41": "displayed_recipe", + "42": "name_item", + "43": "resource_pack_receive", + "44": "advancement_tab", + "45": "select_trade", + "46": "set_beacon_effect", + "47": "held_item_slot", + "48": "update_command_block", + "49": "update_command_block_minecart", + "50": "set_creative_slot", + "51": "update_jigsaw_block", + "52": "update_structure_block", + "53": "update_sign", + "54": "arm_animation", + "55": "spectate", + "56": "block_place", + "57": "use_item" + } + } + ] + }, + { + "name": "params", + "type": [ + "switch", + { + "compareTo": "name", + "fields": { + "teleport_confirm": "packet_teleport_confirm", + "query_block_nbt": "packet_query_block_nbt", + "set_difficulty": "packet_set_difficulty", + "message_acknowledgement": "packet_message_acknowledgement", + "chat_command": "packet_chat_command", + "chat_command_signed": "packet_chat_command_signed", + "chat_message": "packet_chat_message", + "chat_session_update": "packet_chat_session_update", + "chunk_batch_received": "packet_chunk_batch_received", + "client_command": "packet_client_command", + "settings": "packet_settings", + "tab_complete": "packet_tab_complete", + "configuration_acknowledged": "packet_configuration_acknowledged", + "enchant_item": "packet_enchant_item", + "window_click": "packet_window_click", + "close_window": "packet_close_window", + "set_slot_state": "packet_set_slot_state", + "cookie_response": "packet_common_cookie_response", + "custom_payload": "packet_custom_payload", + "edit_book": "packet_edit_book", + "query_entity_nbt": "packet_query_entity_nbt", + "use_entity": "packet_use_entity", + "generate_structure": "packet_generate_structure", + "keep_alive": "packet_keep_alive", + "lock_difficulty": "packet_lock_difficulty", + "position": "packet_position", + "position_look": "packet_position_look", + "look": "packet_look", + "flying": "packet_flying", + "vehicle_move": "packet_vehicle_move", + "steer_boat": "packet_steer_boat", + "pick_item": "packet_pick_item", + "ping_request": "packet_ping_request", + "craft_recipe_request": "packet_craft_recipe_request", + "abilities": "packet_abilities", + "block_dig": "packet_block_dig", + "entity_action": "packet_entity_action", + "steer_vehicle": "packet_steer_vehicle", + "pong": "packet_pong", + "recipe_book": "packet_recipe_book", + "displayed_recipe": "packet_displayed_recipe", + "name_item": "packet_name_item", + "resource_pack_receive": "packet_resource_pack_receive", + "advancement_tab": "packet_advancement_tab", + "select_trade": "packet_select_trade", + "set_beacon_effect": "packet_set_beacon_effect", + "held_item_slot": "packet_held_item_slot", + "update_command_block": "packet_update_command_block", + "update_command_block_minecart": "packet_update_command_block_minecart", + "set_creative_slot": "packet_set_creative_slot", + "update_jigsaw_block": "packet_update_jigsaw_block", + "update_structure_block": "packet_update_structure_block", + "update_sign": "packet_update_sign", + "arm_animation": "packet_arm_animation", + "spectate": "packet_spectate", + "block_place": "packet_block_place", + "use_item": "packet_use_item" + }, + "default": "void" + } + ] + } + ] + ] + } + } + } +} \ No newline at end of file diff --git a/data/pc/1.20.5/version.json b/data/pc/1.20.5/version.json new file mode 100644 index 000000000..7c9b60c95 --- /dev/null +++ b/data/pc/1.20.5/version.json @@ -0,0 +1,6 @@ +{ + "version": 766, + "minecraftVersion": "1.20.5", + "majorVersion": "1.20", + "releaseType": "release" +} \ No newline at end of file diff --git a/data/pc/common/features.json b/data/pc/common/features.json index 2b832891b..c72bd236b 100644 --- a/data/pc/common/features.json +++ b/data/pc/common/features.json @@ -800,5 +800,25 @@ "name": "chatPacketsUseNbtComponents", "description": "Chat message packets use NBT to serialize chat components instead of JSON", "versions": ["1.20.3", "latest"] + }, + { + "name": "seperateSignedChatCommandPacket", + "description": "Signed chat commands use new `packet_chat_command_signed` packet", + "versions": ["1.20.5", "latest"] + }, + { + "name": "spawnRespawnWorldDataField", + "description": "Spawn and respawn packet now use shared worldState type for their data, and dimensions are now integers", + "versions": ["1.20.5", "latest"] + }, + { + "name": "updatedParticlesPacket", + "description": "Particle packet structure contains uses strings instead of integers in protocol", + "versions": ["1.20.5", "latest"] + }, + { + "name": "segmentedRegistryCodecData", + "description": "Codec data is now split into multiple NBTs by ID instead of one", + "versions": ["1.20.5", "latest"] } ] diff --git a/data/pc/common/versions.json b/data/pc/common/versions.json index 66198275a..153a1839a 100644 --- a/data/pc/common/versions.json +++ b/data/pc/common/versions.json @@ -56,5 +56,6 @@ "1.20.1", "1.20.2", "1.20.3", - "1.20.4" -] + "1.20.4", + "1.20.5" +] \ No newline at end of file diff --git a/data/pc/latest/proto.yml b/data/pc/latest/proto.yml index 1e6f922d6..c5decc0a5 100644 --- a/data/pc/latest/proto.yml +++ b/data/pc/latest/proto.yml @@ -1,4 +1,4 @@ -!version: 1.20.3 +!version: 1.20.5 !StartDocs: true ^types: @@ -30,6 +30,7 @@ restBuffer: native anonymousNbt: native anonOptionalNbt: native + ByteArray: ["buffer", { "countType": "varint" }] string: [ "pstring", { @@ -49,62 +50,162 @@ x: f64 y: f64 z: f64 - slot: - present: bool - _: present ? - if false: void - if true: + Slot: + itemCount: i8 + _: itemCount ? + if 0: void + default: itemId: varint - itemCount: i8 nbtData: anonOptionalNbt - particle: - particleId: varint - data: [ - "particleData", - { - "compareTo": "particleId" - } - ] - 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 + 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 + ## ## Tips for reviewing particle data (as of 1.20.5) + ## Inside the registry code, each particle can have an associated "options" type and + ## each options type can add additional data to be encoded. + ## For example, this line + ## public static final ParticleType BLOCK = register("block", false, BlockParticleOption::codec, BlockParticleOption::streamCodec); + ## will read the stream codec from BlockParticleOption.java's streamCodec member; then we see + ## return ByteBufCodecs.idMapper(Block.BLOCK_STATE_REGISTRY).map(var1 -> new BlockParticleOption(var0, var1), var0x -> var0x.state); + ## this encodes with the ByteBufCodecs.idMapper function. Inside this function we find + ## public void encode(ByteBuf var1x, T var2) { + ## int var3 = var1.applyAsInt(var2); + ## VarInt.write(var1x, var3); + ## } + ## which as we can see writes the varint to the buffer. + ## If you want to see all the serializers try regexp searching "StreamCodec.*Particle" + data: type ? + if block or block_marker or falling_dust or dust_pillar: varint + if dust: + red: f32 + green: f32 + blue: f32 + scale: f32 + if dust_color_transition: + fromRed: f32 + fromGreen: f32 + fromBlue: f32 + scale: f32 + toRed: f32 + toGreen: f32 + toBlue: f32 + if entity_effect: i32 + if item: Slot + if sculk_charge: f32 + if shriek: varint + if vibration: + position: string + entityId: varint + ingredient: Slot[]varint position: [ "bitfield", [ @@ -149,123 +250,86 @@ } ] 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" - } - ] - } - ] - ] - } - ] + entityMetadataEntry: + key: u8 + type: varint => + - byte + - int + - long + - float + - string + - component + - optional_component + - item_stack + - boolean + - rotations + - block_pos + - optional_block_pos + - direction + - optional_uuid + - block_state + - optional_block_state + - compound_tag + - particle + - particles + - villager_data + - optional_unsigned_int + - pose + - cat_variant + - wolf_variant + - frog_variant + - optional_global_pos + - painting_variant + - sniffer_state + - armadillo_state + - vector3 + - quaternion + value: type ? + 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 particles: Particle[]varint + if villager_data: + villagerType: varint + villagerProfession: varint + level: varint + if optional_unsigned_int: optvarint + if pose: varint + if cat_variant: varint + if wolf_variant: varint + if frog_variant: varint + if optional_global_pos: ["option", "string"] + if painting_variant: varint + if sniffer_state: varint + if armadillo_state: varint + if vector3: vec3f + if quaternion: vec4f + entityMetadata: ["entityMetadataLoop", { "endVal": 255, "type": "entityMetadataEntry" }] minecraft_simple_recipe_format: category: varint minecraft_smelting_format: group: string category: varint ingredient: ingredient - result: slot + result: Slot experience: f32 cookTime: varint tags: []varint @@ -601,6 +665,33 @@ suggestionType: ../flags/has_custom_suggestions ? if 1: string default: void + # # Shared Packets + # These are packets that are shared between multiple states. + # They are defined here to avoid duplication. + # ===== + # MC: ClientboundCookieRequestPacket + packet_common_cookie_request: + cookie: string + # MC: ClientboundStoreCookiePacket + packet_common_store_cookie: + key: string + value: ByteArray + # MC: ClientboundTransferPacket + packet_common_transfer: + host: string + port: varint + # MC: ServerboundCookieResponsePacket + packet_common_cookie_response: + key: string + value: ByteArray + # MC: ServerboundSelectKnownPacks + # MC: ClientboundSelectKnownPacks + packet_common_select_known_packs: + packs: []varint + namespace: string + id: string + version: string + ^handshaking.toClient.types: packet: name: varint => @@ -667,6 +758,7 @@ "countType": "varint" } ] + shouldAuthenticate: bool # MC: ClientboundGameProfilePacket packet_success: uuid: UUID @@ -675,6 +767,7 @@ name: string value: string signature?: string + strictErrorHandling: bool # MC: ClientboundLoginCompressionPacket packet_compress: threshold: varint @@ -683,6 +776,7 @@ messageId: varint channel: string data: restBuffer + ## (Cookie Request is Common) ## packet: name: varint => - disconnect @@ -690,12 +784,14 @@ - success - compress - login_plugin_request + - cookie_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 + if cookie_request: packet_common_cookie_request ^login.toServer.types: # MC: ServerboundHelloPacket packet_login_start: @@ -722,18 +818,22 @@ # MC: ServerboundLoginAcknowledgedPacket packet_login_acknowledged: # Empty + ## (Cookie Response is Common) ## packet: name: varint => - login_start - encryption_begin - login_plugin_response - login_acknowledged + - cookie_response 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 + if cookie_response: packet_common_cookie_response ^configuration.toClient.types: + ## (Cookie Request is common) # MC: ClientboundCustomPayloadPacket packet_custom_payload: channel: string @@ -750,9 +850,16 @@ # MC: ClientboundPingPacket packet_ping: id: i32 + # MC: ClientboundResetChatPacket + packet_reset_chat: + # Empty # MC: ClientboundRegistryDataPacket packet_registry_data: - codec: anonymousNbt + # The server can send multiple registries + id: string + entries: []varint + key: string + value?: anonymousNbt # MC: ClientboundResourcePackPopPacket packet_remove_resource_pack: uuid?: UUID @@ -763,6 +870,7 @@ hash: string forced: bool promptMessage?: anonymousNbt + ## (Store cookie and Transfer are Common) ## # MC: ClientboundUpdateEnabledFeaturesPacket packet_feature_flags: features: string[]varint @@ -771,29 +879,40 @@ tags: []varint tagType: string tags: tags + ## (Select known packs is common) packet: name: varint => + - cookie_request - custom_payload - disconnect - finish_configuration - keep_alive - ping + - reset_chat - registry_data - remove_resource_pack - add_resource_pack + - store_cookie + - transfer - feature_flags - tags + - select_known_packs params: name ? + if cookie_request: packet_common_cookie_request 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 reset_chat: packet_reset_chat if registry_data: packet_registry_data if remove_resource_pack: packet_remove_resource_pack if add_resource_pack: packet_add_resource_pack + if store_cookie: packet_common_store_cookie + if transfer: packet_common_transfer if feature_flags: packet_feature_flags if tags: packet_tags + if select_known_packs: packet_common_select_known_packs ^configuration.toServer.types: # MC: ServerboundClientInformationPacket packet_settings: @@ -805,6 +924,7 @@ mainHand: varint enableTextFiltering: bool enableServerListing: bool + ## (Cookie Response is Common) ## # MC: ServerboundCustomPayloadPacket packet_custom_payload: channel: string @@ -825,19 +945,41 @@ packet: name: varint => - settings + - cookie_response - custom_payload - finish_configuration - keep_alive - pong - resource_pack_receive + - select_known_packs params: name ? if settings: packet_settings + if cookie_response: packet_common_cookie_response 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 + if select_known_packs: packet_common_select_known_packs ^play.toClient.types: + # World state information for spawn and respawn packets + SpawnInfo: + dimension: varint + name: string + hashedSeed: i64 + gamemode: i8 => + - survival + - creative + - adventure + - spectator + previousGamemode: u8 + isDebug: bool + isFlat: bool + death?: + dimensionName: string + location: position + portalCooldown: varint + # MC: ClientboundAddEntityPacket packet_spawn_entity: entityId: varint @@ -870,57 +1012,9 @@ 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: ClientboundBlockChangedAckPacket + packet_acknowledge_player_digging: + sequenceId: varint # MC: ClientboundBlockDestructionPacket packet_block_break_animation: entityId: varint @@ -975,6 +1069,14 @@ # MC: ClientboundChunkBatchStartPacket packet_chunk_batch_start: # Empty + # MC: ClientboundChunksBiomesPacket + packet_chunk_biomes: + biomes: []varint + position: packedChunkPos + data: ByteArray + # MC: ClientboundClearTitlesPacket + packet_clear_titles: + reset: bool # MC: ClientboundCommandSuggestionsPacket packet_tab_complete: transactionId: varint @@ -987,60 +1089,15 @@ 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 + items: Slot[]varint + carriedItem: Slot # MC: ClientboundContainerSetDataPacket packet_craft_progress_bar: windowId: u8 @@ -1051,7 +1108,8 @@ windowId: i8 stateId: varint slot: i16 - item: slot + item: Slot + ## (Cookie Request is Common) # MC: ClientboundCooldownPacket packet_set_cooldown: itemID: varint @@ -1064,6 +1122,17 @@ packet_custom_payload: channel: string data: restBuffer + # MC: ClientboundDamageEventPacket + packet_damage_event: + entityId: varint + sourceTypeId: varint + sourceCauseId: varint + sourceDirectId: varint + sourcePosition?: vec3f64 + # MC: ClientboundDebugSamplePacket + packet_debug_sample: + sample: i64[]varint + type: varint # MC: ClientboundDeleteChatPacket packet_hide_message: id: varint @@ -1102,8 +1171,8 @@ playerMotionY: f32 playerMotionZ: f32 block_interaction_type: varint - small_explosion_particle: particle - large_explosion_particle: particle + small_explosion_particle: Particle + large_explosion_particle: Particle explosion_sound_name: string sound_range?: f32 # MC: ClientboundForgetLevelChunkPacket @@ -1119,6 +1188,20 @@ windowId: u8 nbSlots: varint entityId: i32 + # MC: ClientboundHurtAnimationPacket + packet_hurt_animation: + entityId: varint + yaw: f32 + # MC: ClientboundInitializeBorderPacket + packet_initialize_world_border: + x: f64 + z: f64 + oldDiameter: f64 + newDiameter: f64 + speed: varint + portalTeleportBoundary: varint + warningBlocks: varint + warningTime: varint # MC: ClientboundKeepAlivePacket packet_keep_alive: keepAliveId: i64 @@ -1150,7 +1233,6 @@ global: bool # MC: ClientboundLevelParticlesPacket packet_world_particles: - particleId: varint longDistance: bool x: f64 y: f64 @@ -1158,14 +1240,9 @@ offsetX: f32 offsetY: f32 offsetZ: f32 - particleData: f32 - particles: i32 - data: [ - "particleData", - { - "compareTo": "particleId" - } - ] + velocityOffset: f32 + amount: i32 + particle: Particle # MC: ClientboundLightUpdatePacket packet_update_light: chunkX: varint @@ -1189,17 +1266,8 @@ 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 + worldState: SpawnInfo + enforcesSecureChat: bool # MC: ClientboundMapItemDataPacket packet_map: itemDamage: varint @@ -1232,10 +1300,11 @@ # MC: ClientboundMerchantOffersPacket packet_trade_list: windowId: varint + ## https://github.com/extremeheat/extracted_minecraft_data/blob/client1.20.5/client/net/minecraft/world/item/trading/MerchantOffer.java#L210 trades: []varint - inputItem1: slot - outputItem: slot - inputItem2: slot + inputItem1: Slot + outputItem: Slot + inputItem2: Slot tradeDisabled: bool nbTradeUses: i32 maximumNbTradeUses: i32 @@ -1279,10 +1348,21 @@ # MC: ClientboundOpenBookPacket packet_open_book: hand: varint + # MC: ClientboundOpenScreenPacket + packet_open_window: + windowId: varint + inventoryType: varint + windowTitle: anonymousNbt # MC: ClientboundOpenSignEditorPacket packet_open_sign_entity: location: position isFrontText: bool + # MC: ClientboundPingPacket + packet_ping: + id: i32 + # MC: ClientboundPongResponsePacket + packet_ping_response: + id: i64 # MC: ClientboundPlaceGhostRecipePacket packet_craft_recipe_response: windowId: i8 @@ -1632,6 +1712,19 @@ "anonymousNbt" ] default: void + # 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: ClientboundPlayerPositionPacket packet_position: x: f64 @@ -1679,22 +1772,48 @@ 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 + worldState: SpawnInfo copyMetadata: bool # MC: ClientboundRotateHeadPacket packet_entity_head_rotation: entityId: varint headYaw: i8 + # 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: ClientboundSelectAdvancementsTabPacket + packet_select_advancement_tab: + id?: string + # MC: ClientboundServerDataPacket + packet_server_data: + motd: anonymousNbt + iconBytes?: ByteArray + # MC: ClientboundSetActionBarTextPacket + packet_action_bar: + text: anonymousNbt + # MC: ClientboundSetBorderCenterPacket + packet_world_border_center: + x: f64 + z: f64 + # MC: ClientboundSetBorderLerpSizePacket + packet_world_border_lerp_size: + oldDiameter: f64 + newDiameter: f64 + speed: varint + # MC: ClientboundSetBorderSizePacket + packet_world_border_size: + diameter: f64 + # MC: ClientboundSetBorderWarningDelayPacket + packet_world_border_warning_delay: + warningTime: varint + # MC: ClientboundSetBorderWarningDistancePacket + packet_world_border_warning_reach: + warningBlocks: varint # MC: ClientboundSetCameraPacket packet_camera: cameraId: varint @@ -1708,6 +1827,10 @@ # MC: ClientboundSetChunkCacheRadiusPacket packet_update_view_distance: viewDistance: varint + # MC: ClientboundSetDefaultSpawnPositionPacket + packet_spawn_position: + location: position + angle: f32 # MC: ClientboundSetDisplayObjectivePacket packet_scoreboard_display_objective: position: varint @@ -1841,14 +1964,24 @@ if 1: anonymousNbt if 2: anonymousNbt default: void - # MC: ClientboundSetDefaultSpawnPositionPacket - packet_spawn_position: - location: position - angle: f32 + # MC: ClientboundSetSimulationDistancePacket + packet_simulation_distance: + distance: varint + # MC: ClientboundSetSubtitleTextPacket + packet_set_title_subtitle: + text: anonymousNbt # MC: ClientboundSetTimePacket packet_update_time: age: i64 time: i64 + # MC: ClientboundSetTitleTextPacket + packet_set_title_text: + text: anonymousNbt + # MC: ClientboundSetTitlesAnimationPacket + packet_set_title_time: + fadeIn: i32 + stay: i32 + fadeOut: i32 # MC: ClientboundSoundEntityPacket packet_entity_sound_effect: soundId: varint @@ -1862,17 +1995,6 @@ 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: soundId: varint @@ -1888,6 +2010,21 @@ volume: f32 pitch: f32 seed: i64 + # MC: ClientboundStartConfigurationPacket + packet_start_configuration: + # Empty + # 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 + ## (Store Cookie is Common) # MC: ClientboundSystemChatPacket packet_system_chat: content: anonymousNbt @@ -1896,6 +2033,10 @@ packet_playerlist_header: header: anonymousNbt footer: anonymousNbt + # MC: ClientboundTagQueryPacket + packet_nbt_query_response: + transactionId: varint + nbt: anonOptionalNbt # MC: ClientboundTakeItemEntityPacket packet_collect: collectedEntityId: varint @@ -1910,11 +2051,73 @@ yaw: i8 pitch: i8 onGround: bool + # MC: ClientboundTickingStatePacket + packet_set_ticking_state: + tick_rate: f32 + is_frozen: bool + # MC: ClientboundTickingStepPacket + packet_step_tick: + tick_steps: varint + ## (Transfer is common) + # 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: ClientboundUpdateAttributesPacket packet_entity_update_attributes: entityId: varint properties: []varint - key: string + key: varint => + - generic.armor + - generic.armor_toughness + - generic.attack_damage + - generic.attack_knockback + - generic.attack_speed + - player.block_break_speed + - player.block_interaction_range + - player.entity_interaction_range + - generic.fall_damage_multiplier + - generic.flying_speed + - generic.follow_range + - generic.gravity + - generic.jump_strength + - generic.knockback_resistance + - generic.luck + - generic.max_absorption + - generic.max_health + - generic.movement_speed + - generic.safe_fall_distance + - generic.scale + - zombie.spawn_reinforcements + - generic.step_height value: f64 modifiers: []varint uuid: UUID @@ -1924,34 +2127,28 @@ packet_entity_effect: entityId: varint effectId: varint - amplifier: i8 + amplifier: varint 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 + # a bitfield of 0x01 for ambient, 0x02 for show particles + # flags: ["bitfield", [ + # { "name": "unused", "size": 4 }, + # { "name": "ambient", "size": 1 }, + # { "name": "showParticles", "size": 1 }, + # { "name": "showIcon", "size": 1 }, + # { "name": "blend", "size": 1 } + # ]] + flags: u8 # MC: ClientboundUpdateRecipesPacket packet_declare_recipes: recipes: []varint type: string - recipeId: string + recipeId: varint data: type ? if minecraft:crafting_shapeless: group: string category: varint ingredients: ingredient[]varint - result: slot + result: Slot if minecraft:crafting_shaped: group: string category: varint @@ -1959,7 +2156,7 @@ height: varint ingredients: []$width _: ingredient[]$height - result: slot + result: Slot showNotification: bool if minecraft:crafting_special_armordye: minecraft_simple_recipe_format if minecraft:crafting_special_bookcloning: minecraft_simple_recipe_format @@ -1982,12 +2179,12 @@ if minecraft:stonecutting: group: string ingredient: ingredient - result: slot + result: Slot if minecraft:smithing_transform: template: ingredient base: ingredient addition: ingredient - result: slot + result: Slot if minecraft:smithing_trim: template: ingredient base: ingredient @@ -1998,94 +2195,11 @@ tags: []varint tagType: string tags: tags - # MC: ClientboundBlockChangedAckPacket - packet_acknowledge_player_digging: - sequenceId: varint - # MC: ClientboundClearTitlesPacket - packet_clear_titles: - reset: bool - # MC: ClientboundInitializeBorderPacket - packet_initialize_world_border: - x: f64 - z: f64 - oldDiameter: f64 - newDiameter: f64 - speed: varint - portalTeleportBoundary: varint - warningBlocks: varint - warningTime: varint - # MC: ClientboundSetActionBarTextPacket - packet_action_bar: - text: anonymousNbt - # MC: ClientboundSetBorderCenterPacket - packet_world_border_center: - x: f64 - z: f64 - # MC: ClientboundSetBorderLerpSizePacket - packet_world_border_lerp_size: - oldDiameter: f64 - newDiameter: f64 - speed: varint - # MC: ClientboundSetBorderSizePacket - packet_world_border_size: - diameter: f64 - # MC: ClientboundSetBorderWarningDelayPacket - packet_world_border_warning_delay: - warningTime: varint - # MC: ClientboundSetBorderWarningDistancePacket - packet_world_border_warning_reach: - warningBlocks: varint - # MC: ClientboundPingPacket - packet_ping: - id: i32 - # MC: ClientboundPongResponsePacket - packet_ping_response: - id: i64 - # MC: ClientboundSetSubtitleTextPacket - packet_set_title_subtitle: - text: anonymousNbt - # MC: ClientboundSetTitleTextPacket - packet_set_title_text: - text: anonymousNbt - # MC: ClientboundSetTitlesAnimationPacket - packet_set_title_time: - fadeIn: i32 - stay: i32 - fadeOut: i32 - # MC: ClientboundSetSimulationDistancePacket - packet_simulation_distance: - distance: varint - # MC: ClientboundChunksBiomesPacket - packet_chunk_biomes: - biomes: []varint - position: packedChunkPos - data: [ - "buffer", - { - "countType": "varint" - } - ] - # MC: ClientboundDamageEventPacket - packet_damage_event: - entityId: varint - sourceTypeId: varint - sourceCauseId: varint - sourceDirectId: varint - sourcePosition?: vec3f64 - # MC: ClientboundHurtAnimationPacket - packet_hurt_animation: - entityId: varint - yaw: f32 - # MC: ClientboundStartConfigurationPacket - packet_start_configuration: - # Empty - # MC: ClientboundTickingStatePacket - packet_set_ticking_state: - tick_rate: f32 - is_frozen: bool - # MC: ClientboundTickingStepPacket - packet_step_tick: - tick_steps: varint + # MC: ClientboundProjectilePowerPacket + packet_set_projectile_power: + id: varint + power: vec3f64 + packet: name: varint => - bundle_delimiter @@ -2110,10 +2224,12 @@ - window_items - craft_progress_bar - set_slot + - cookie_request - set_cooldown - chat_suggestions - custom_payload - damage_event + - debug_sample - hide_message - kick_disconnect - profileless_chat @@ -2193,6 +2309,7 @@ - sound_effect - start_configuration - stop_sound + - store_cookie - system_chat - playerlist_header - nbt_query_response @@ -2200,6 +2317,7 @@ - entity_teleport - set_ticking_state - step_tick + - transfer - advancements - entity_update_attributes - entity_effect @@ -2228,10 +2346,12 @@ if window_items: packet_window_items if craft_progress_bar: packet_craft_progress_bar if set_slot: packet_set_slot + if cookie_request: packet_common_cookie_request if set_cooldown: packet_set_cooldown if chat_suggestions: packet_chat_suggestions if custom_payload: packet_custom_payload if damage_event: packet_damage_event + if debug_sample: packet_debug_sample if hide_message: packet_hide_message if kick_disconnect: packet_kick_disconnect if profileless_chat: packet_profileless_chat @@ -2311,29 +2431,41 @@ if sound_effect: packet_sound_effect if start_configuration: packet_start_configuration if stop_sound: packet_stop_sound + if store_cookie: packet_common_store_cookie if system_chat: packet_system_chat if playerlist_header: packet_playerlist_header if nbt_query_response: packet_nbt_query_response if collect: packet_collect if entity_teleport: packet_entity_teleport + if set_ticking_state: packet_set_ticking_state + if step_tick: packet_step_tick + if transfer: packet_common_transfer if advancements: packet_advancements if entity_update_attributes: packet_entity_update_attributes if entity_effect: packet_entity_effect if declare_recipes: packet_declare_recipes if tags: packet_tags - if set_ticking_state: packet_set_ticking_state - if step_tick: packet_step_tick + ^play.toServer.types: # MC: ServerboundAcceptTeleportationPacket packet_teleport_confirm: teleportId: varint - # MC: ServerboundBlockEntityTagQuery + # MC: ServerboundBlockEntityTagQueryPacket packet_query_block_nbt: transactionId: varint location: position + # MC: ServerboundChangeDifficultyPacket + packet_set_difficulty: + newDifficulty: u8 + # MC: ServerboundChatAckPacket + packet_message_acknowledgement: + count: varint # MC: ServerboundChatCommandPacket packet_chat_command: command: string + # MC: ServerboundChatCommandSignedPacket + packet_chat_command_signed: + command: string timestamp: i64 salt: i64 argumentSignatures: []varint @@ -2369,67 +2501,15 @@ "count": 3 } ] - # MC: ServerboundChangeDifficultyPacket - packet_set_difficulty: - newDifficulty: u8 - # MC: ServerboundChatAckPacket - packet_message_acknowledgement: - count: varint - # MC: ServerboundEditBookPacket - packet_edit_book: - hand: varint - pages: string[]varint - title?: string - # MC: ServerboundEntityTagQuery - packet_query_entity_nbt: - transactionId: varint - entityId: varint - # MC: ServerboundPickItemPacket - packet_pick_item: - slot: varint - # MC: ServerboundRenameItemPacket - packet_name_item: - name: string - # MC: ServerboundSelectTradePacket - packet_select_trade: - slot: varint - # MC: ServerboundSetBeaconPacket - packet_set_beacon_effect: - primary_effect?: varint - secondary_effect?: varint - # MC: ServerboundSetCommandBlockPacket - packet_update_command_block: - location: position - command: string - mode: varint - flags: u8 - # MC: ServerboundSetCommandMinecartPacket - packet_update_command_block_minecart: - entityId: varint - command: string - track_output: bool - # MC: ServerboundSetStructureBlockPacket - packet_update_structure_block: - location: position - action: varint - mode: varint - name: string - offset_x: i8 - offset_y: i8 - offset_z: i8 - size_x: i8 - size_y: i8 - size_z: i8 - mirror: varint - rotation: varint - metadata: string - integrity: f32 - seed: varint - flags: u8 - # MC: ServerboundCommandSuggestionPacket - packet_tab_complete: - transactionId: varint - text: string + # MC: ServerboundChatSessionUpdatePacket + packet_chat_session_update: + sessionUUID: UUID + expireTime: i64 + publicKey: ByteArray + signature: ByteArray + # MC: ServerboundChunkBatchReceivedPacket + packet_chunk_batch_received: + chunksPerTick: f32 # MC: ServerboundClientCommandPacket packet_client_command: actionId: varint @@ -2443,6 +2523,13 @@ mainHand: varint enableTextFiltering: bool enableServerListing: bool + # MC: ServerboundCommandSuggestionPacket + packet_tab_complete: + transactionId: varint + text: string + # MC: ServerboundConfigurationAcknowledgedPacket + packet_configuration_acknowledged: + # Empty # MC: ServerboundContainerButtonClickPacket packet_enchant_item: windowId: i8 @@ -2456,15 +2543,32 @@ mode: varint changedSlots: []varint location: i16 - item: slot - cursorItem: slot + item: Slot + cursorItem: Slot # MC: ServerboundContainerClosePacket packet_close_window: windowId: u8 + # MC: ServerboundContainerSlotStateChangedPacket + packet_set_slot_state: + slot_id: varint + window_id: varint + state: bool # MC: ServerboundCustomPayloadPacket packet_custom_payload: channel: string data: restBuffer + # MC: ServerboundDebugSampleSubscriptionPacket + packet_debug_sample_subscription: + type: varint + # MC: ServerboundEditBookPacket + packet_edit_book: + hand: varint + pages: string[]varint + title?: string + # MC: ServerboundEntityTagQuery + packet_query_entity_nbt: + transactionId: varint + entityId: varint # MC: ServerboundInteractPacket packet_use_entity: target: varint @@ -2527,6 +2631,12 @@ packet_steer_boat: leftPaddle: bool rightPaddle: bool + # MC: ServerboundPickItemPacket + packet_pick_item: + slot: varint + # MC: ServerboundPingRequestPacket + packet_ping_request: + id: i64 # MC: ServerboundPlaceRecipePacket packet_craft_recipe_request: windowId: i8 @@ -2551,25 +2661,55 @@ sideways: f32 forward: f32 jump: u8 - # MC: ServerboundRecipeBookSeenRecipePacket - packet_displayed_recipe: - recipeId: string + # MC: ServerboundPongPacket + packet_pong: + id: i32 # MC: ServerboundRecipeBookChangeSettingsPacket packet_recipe_book: bookId: varint bookOpen: bool filterActive: bool + # MC: ServerboundRecipeBookSeenRecipePacket + packet_displayed_recipe: + recipeId: string + # MC: ServerboundRenameItemPacket + packet_name_item: + name: string # MC: ServerboundResourcePackPacket packet_resource_pack_receive: uuid: UUID result: varint + # MC: ServerboundSeenAdvancementsPacket + packet_advancement_tab: + action: varint + tabId: action ? + if 0: string + if 1: void + # MC: ServerboundSelectTradePacket + packet_select_trade: + slot: varint + # MC: ServerboundSetBeaconPacket + packet_set_beacon_effect: + primary_effect?: varint + secondary_effect?: varint # MC: ServerboundSetCarriedItemPacket packet_held_item_slot: slotId: i16 + # MC: ServerboundSetCommandBlockPacket + packet_update_command_block: + location: position + command: string + mode: varint + flags: u8 + # MC: ServerboundSetCommandMinecartPacket + packet_update_command_block_minecart: + entityId: varint + command: string + track_output: bool # MC: ServerboundSetCreativeModeSlotPacket packet_set_creative_slot: slot: i16 - item: slot + item: Slot # MC: ServerboundSetJigsawBlockPacket packet_update_jigsaw_block: location: position @@ -2580,6 +2720,24 @@ jointType: string selection_priority: varint placement_priority: varint + # MC: ServerboundSetStructureBlockPacket + packet_update_structure_block: + location: position + action: varint + mode: varint + name: string + offset_x: i8 + offset_y: i8 + offset_z: i8 + size_x: i8 + size_y: i8 + size_z: i8 + mirror: varint + rotation: varint + metadata: string + integrity: f32 + seed: varint + flags: u8 # MC: ServerboundSignUpdatePacket packet_update_sign: location: position @@ -2608,45 +2766,7 @@ packet_use_item: hand: varint sequence: varint - # MC: ServerboundSeenAdvancementsPacket - packet_advancement_tab: - action: varint - tabId: action ? - if 0: string - if 1: void - # MC: ServerboundPongPacket - packet_pong: - id: i32 - # MC: ServerboundChatSessionUpdatePacket - packet_chat_session_update: - sessionUUID: UUID - expireTime: i64 - publicKey: [ - "buffer", - { - "countType": "varint" - } - ] - signature: [ - "buffer", - { - "countType": "varint" - } - ] - # MC: ServerboundChunkBatchReceivedPacket - packet_chunk_batch_received: - chunksPerTick: f32 - # MC: ServerboundConfigurationAcknowledgedPacket - packet_configuration_acknowledged: - # Empty - # MC: ServerboundPingRequestPacket - packet_ping_request: - id: i64 - # MC: ServerboundContainerSlotStateChangedPacket - packet_set_slot_state: - slot_id: varint - window_id: varint - state: bool + packet: name: varint => - teleport_confirm @@ -2654,6 +2774,7 @@ - set_difficulty - message_acknowledgement - chat_command + - chat_command_signed - chat_message - chat_session_update - chunk_batch_received @@ -2665,7 +2786,9 @@ - window_click - close_window - set_slot_state + - cookie_response - custom_payload + - debug_sample_subscription - edit_book - query_entity_nbt - use_entity @@ -2705,58 +2828,60 @@ - block_place - use_item params: name ? - if teleport_confirm: packet_teleport_confirm - if query_block_nbt: packet_query_block_nbt - if set_difficulty: packet_set_difficulty - if message_acknowledgement: packet_message_acknowledgement - if chat_command: packet_chat_command - if chat_message: packet_chat_message - if client_command: packet_client_command - if settings: packet_settings - if tab_complete: packet_tab_complete - if enchant_item: packet_enchant_item - if window_click: packet_window_click - if close_window: packet_close_window - if custom_payload: packet_custom_payload - if edit_book: packet_edit_book - if query_entity_nbt: packet_query_entity_nbt - if use_entity: packet_use_entity - if generate_structure: packet_generate_structure - if keep_alive: packet_keep_alive - if lock_difficulty: packet_lock_difficulty - if position: packet_position - if position_look: packet_position_look - if look: packet_look - if flying: packet_flying - if vehicle_move: packet_vehicle_move - if steer_boat: packet_steer_boat - if pick_item: packet_pick_item - if craft_recipe_request: packet_craft_recipe_request - if abilities: packet_abilities - if block_dig: packet_block_dig - if entity_action: packet_entity_action - if steer_vehicle: packet_steer_vehicle - if pong: packet_pong - if chat_session_update: packet_chat_session_update - if recipe_book: packet_recipe_book - if displayed_recipe: packet_displayed_recipe - if name_item: packet_name_item - if resource_pack_receive: packet_resource_pack_receive - if advancement_tab: packet_advancement_tab - if select_trade: packet_select_trade - if set_beacon_effect: packet_set_beacon_effect - if held_item_slot: packet_held_item_slot - if update_command_block: packet_update_command_block - if update_command_block_minecart: packet_update_command_block_minecart - if set_creative_slot: packet_set_creative_slot - if update_jigsaw_block: packet_update_jigsaw_block - if update_structure_block: packet_update_structure_block - if update_sign: packet_update_sign - if arm_animation: packet_arm_animation - if spectate: packet_spectate - if block_place: packet_block_place - if use_item: packet_use_item - if chunk_batch_received: packet_chunk_batch_received - if configuration_acknowledged: packet_configuration_acknowledged - if ping_request: packet_ping_request - if set_slot_state: packet_set_slot_state + if teleport_confirm: packet_teleport_confirm + if query_block_nbt: packet_query_block_nbt + if set_difficulty: packet_set_difficulty + if message_acknowledgement: packet_message_acknowledgement + if chat_command: packet_chat_command + if chat_command_signed: packet_chat_command_signed + if chat_message: packet_chat_message + if chat_session_update: packet_chat_session_update + if chunk_batch_received: packet_chunk_batch_received + if client_command: packet_client_command + if settings: packet_settings + if tab_complete: packet_tab_complete + if configuration_acknowledged: packet_configuration_acknowledged + if enchant_item: packet_enchant_item + if window_click: packet_window_click + if close_window: packet_close_window + if set_slot_state: packet_set_slot_state + if cookie_response: packet_common_cookie_response + if custom_payload: packet_custom_payload + if edit_book: packet_edit_book + if query_entity_nbt: packet_query_entity_nbt + if use_entity: packet_use_entity + if generate_structure: packet_generate_structure + if keep_alive: packet_keep_alive + if lock_difficulty: packet_lock_difficulty + if position: packet_position + if position_look: packet_position_look + if look: packet_look + if flying: packet_flying + if vehicle_move: packet_vehicle_move + if steer_boat: packet_steer_boat + if pick_item: packet_pick_item + if ping_request: packet_ping_request + if craft_recipe_request: packet_craft_recipe_request + if abilities: packet_abilities + if block_dig: packet_block_dig + if entity_action: packet_entity_action + if steer_vehicle: packet_steer_vehicle + if pong: packet_pong + if recipe_book: packet_recipe_book + if displayed_recipe: packet_displayed_recipe + if name_item: packet_name_item + if resource_pack_receive: packet_resource_pack_receive + if advancement_tab: packet_advancement_tab + if select_trade: packet_select_trade + if set_beacon_effect: packet_set_beacon_effect + if held_item_slot: packet_held_item_slot + if update_command_block: packet_update_command_block + if update_command_block_minecart: packet_update_command_block_minecart + if set_creative_slot: packet_set_creative_slot + if update_jigsaw_block: packet_update_jigsaw_block + if update_structure_block: packet_update_structure_block + if update_sign: packet_update_sign + if arm_animation: packet_arm_animation + if spectate: packet_spectate + if block_place: packet_block_place + if use_item: packet_use_item \ No newline at end of file