- Switch bitfield decoder from shift-based to mask-based extraction (var>>pos & mask) fixes non-power-of-2 bitfields like 6-bit command_node flags - Fix MultiTypeFix to handle CaseExprTypeOnlyNumber/OnlyBool variants - Update minecraft-data command_node bitfield order for all 1.21.8+ versions to LSB-first convention (matches reverse encoder/decoder) - Implement SwitchDecoder for extraNodeData via compareTo visitor - DeclareCommands now decodes successfully (was EOF) - Add 6 regression tests (entity_equipment, metadata, recipes, commands)
11696 lines
323 KiB
JSON
11696 lines
323 KiB
JSON
{
|
|
"types": {
|
|
"varint": "native",
|
|
"varlong": "native",
|
|
"optvarint": "varint",
|
|
"pstring": "native",
|
|
"buffer": "native",
|
|
"u8": "native",
|
|
"u16": "native",
|
|
"u32": "native",
|
|
"u64": "native",
|
|
"i8": "native",
|
|
"i16": "native",
|
|
"i32": "native",
|
|
"i64": "native",
|
|
"bool": "native",
|
|
"f32": "native",
|
|
"f64": "native",
|
|
"UUID": "native",
|
|
"option": "native",
|
|
"entityMetadataLoop": "native",
|
|
"topBitSetTerminatedArray": "native",
|
|
"bitfield": "native",
|
|
"bitflags": "native",
|
|
"container": "native",
|
|
"switch": "native",
|
|
"void": "native",
|
|
"array": "native",
|
|
"restBuffer": "native",
|
|
"anonymousNbt": "native",
|
|
"anonOptionalNbt": "native",
|
|
"registryEntryHolder": "native",
|
|
"registryEntryHolderSet": "native",
|
|
"lpVec3": "native",
|
|
"ByteArray": [
|
|
"buffer",
|
|
{
|
|
"countType": "varint"
|
|
}
|
|
],
|
|
"string": [
|
|
"pstring",
|
|
{
|
|
"countType": "varint"
|
|
}
|
|
],
|
|
"vec2f": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "x",
|
|
"type": "f32"
|
|
},
|
|
{
|
|
"name": "y",
|
|
"type": "f32"
|
|
}
|
|
]
|
|
],
|
|
"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"
|
|
}
|
|
]
|
|
],
|
|
"vec3i": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "x",
|
|
"type": "varint"
|
|
},
|
|
{
|
|
"name": "y",
|
|
"type": "varint"
|
|
},
|
|
{
|
|
"name": "z",
|
|
"type": "varint"
|
|
}
|
|
]
|
|
],
|
|
"vec3i32": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "x",
|
|
"type": "i32"
|
|
},
|
|
{
|
|
"name": "y",
|
|
"type": "i32"
|
|
},
|
|
{
|
|
"name": "z",
|
|
"type": "i32"
|
|
}
|
|
]
|
|
],
|
|
"IDSet": [
|
|
"registryEntryHolderSet",
|
|
{
|
|
"base": {
|
|
"name": "name",
|
|
"type": "string"
|
|
},
|
|
"otherwise": {
|
|
"name": "ids",
|
|
"type": "varint"
|
|
}
|
|
}
|
|
],
|
|
"ContainerID": "varint",
|
|
"SlotComponentType": [
|
|
"mapper",
|
|
{
|
|
"type": "varint",
|
|
"mappings": {
|
|
"0": "custom_data",
|
|
"1": "max_stack_size",
|
|
"2": "max_damage",
|
|
"3": "damage",
|
|
"4": "unbreakable",
|
|
"5": "use_effects",
|
|
"6": "custom_name",
|
|
"7": "minimum_attack_charge",
|
|
"8": "damage_type",
|
|
"9": "item_name",
|
|
"10": "item_model",
|
|
"11": "lore",
|
|
"12": "rarity",
|
|
"13": "enchantments",
|
|
"14": "can_place_on",
|
|
"15": "can_break",
|
|
"16": "attribute_modifiers",
|
|
"17": "custom_model_data",
|
|
"18": "tooltip_display",
|
|
"19": "repair_cost",
|
|
"20": "creative_slot_lock",
|
|
"21": "enchantment_glint_override",
|
|
"22": "intangible_projectile",
|
|
"23": "food",
|
|
"24": "consumable",
|
|
"25": "use_remainder",
|
|
"26": "use_cooldown",
|
|
"27": "damage_resistant",
|
|
"28": "tool",
|
|
"29": "weapon",
|
|
"30": "attack_range",
|
|
"31": "enchantable",
|
|
"32": "equippable",
|
|
"33": "repairable",
|
|
"34": "glider",
|
|
"35": "tooltip_style",
|
|
"36": "death_protection",
|
|
"37": "blocks_attacks",
|
|
"38": "piercing_weapon",
|
|
"39": "kinetic_weapon",
|
|
"40": "swing_animation",
|
|
"41": "stored_enchantments",
|
|
"42": "dyed_color",
|
|
"43": "map_color",
|
|
"44": "map_id",
|
|
"45": "map_decorations",
|
|
"46": "map_post_processing",
|
|
"47": "charged_projectiles",
|
|
"48": "bundle_contents",
|
|
"49": "potion_contents",
|
|
"50": "potion_duration_scale",
|
|
"51": "suspicious_stew_effects",
|
|
"52": "writable_book_content",
|
|
"53": "written_book_content",
|
|
"54": "trim",
|
|
"55": "debug_stick_state",
|
|
"56": "entity_data",
|
|
"57": "bucket_entity_data",
|
|
"58": "block_entity_data",
|
|
"59": "instrument",
|
|
"60": "provides_trim_material",
|
|
"61": "ominous_bottle_amplifier",
|
|
"62": "jukebox_playable",
|
|
"63": "provides_banner_patterns",
|
|
"64": "recipes",
|
|
"65": "lodestone_tracker",
|
|
"66": "firework_explosion",
|
|
"67": "fireworks",
|
|
"68": "profile",
|
|
"69": "note_block_sound",
|
|
"70": "banner_patterns",
|
|
"71": "base_color",
|
|
"72": "pot_decorations",
|
|
"73": "container",
|
|
"74": "block_state",
|
|
"75": "bees",
|
|
"76": "lock",
|
|
"77": "container_loot",
|
|
"78": "break_sound",
|
|
"79": "villager/variant",
|
|
"80": "wolf/variant",
|
|
"81": "wolf/sound_variant",
|
|
"82": "wolf/collar",
|
|
"83": "fox/variant",
|
|
"84": "salmon/size",
|
|
"85": "parrot/variant",
|
|
"86": "tropical_fish/pattern",
|
|
"87": "tropical_fish/base_color",
|
|
"88": "tropical_fish/pattern_color",
|
|
"89": "mooshroom/variant",
|
|
"90": "rabbit/variant",
|
|
"91": "pig/variant",
|
|
"92": "cow/variant",
|
|
"93": "chicken/variant",
|
|
"94": "zombie_nautilus/variant",
|
|
"95": "frog/variant",
|
|
"96": "horse/variant",
|
|
"97": "painting/variant",
|
|
"98": "llama/variant",
|
|
"99": "axolotl/variant",
|
|
"100": "cat/variant",
|
|
"101": "cat/collar",
|
|
"102": "sheep/color",
|
|
"103": "shulker/color"
|
|
}
|
|
}
|
|
],
|
|
"SlotComponent": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "type",
|
|
"type": "SlotComponentType"
|
|
},
|
|
{
|
|
"name": "data",
|
|
"type": [
|
|
"switch",
|
|
{
|
|
"compareTo": "type",
|
|
"fields": {
|
|
"custom_data": "anonymousNbt",
|
|
"max_stack_size": "varint",
|
|
"max_damage": "varint",
|
|
"damage": "varint",
|
|
"unbreakable": "void",
|
|
"use_effects": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "can_sprint",
|
|
"type": "bool"
|
|
},
|
|
{
|
|
"name": "interact_vibrations",
|
|
"type": "bool"
|
|
},
|
|
{
|
|
"name": "speed_multiplier",
|
|
"type": "f32"
|
|
}
|
|
]
|
|
],
|
|
"custom_name": "anonymousNbt",
|
|
"minimum_attack_charge": "f32",
|
|
"damage_type": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "hasHolder",
|
|
"type": "bool"
|
|
},
|
|
{
|
|
"name": "damageType",
|
|
"type": [
|
|
"switch",
|
|
{
|
|
"compareTo": "hasHolder",
|
|
"fields": {
|
|
"true": [
|
|
"registryEntryHolder",
|
|
{
|
|
"baseName": "damageTypeId",
|
|
"otherwise": {
|
|
"name": "data",
|
|
"type": "DamageTypeData"
|
|
}
|
|
}
|
|
],
|
|
"false": "string"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
],
|
|
"item_name": "anonymousNbt",
|
|
"item_model": "string",
|
|
"lore": [
|
|
"array",
|
|
{
|
|
"countType": "varint",
|
|
"type": "anonymousNbt"
|
|
}
|
|
],
|
|
"rarity": [
|
|
"mapper",
|
|
{
|
|
"type": "varint",
|
|
"mappings": {
|
|
"0": "common",
|
|
"1": "uncommon",
|
|
"2": "rare",
|
|
"3": "epic"
|
|
}
|
|
}
|
|
],
|
|
"enchantments": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "enchantments",
|
|
"type": [
|
|
"array",
|
|
{
|
|
"countType": "varint",
|
|
"type": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "id",
|
|
"type": "varint"
|
|
},
|
|
{
|
|
"name": "level",
|
|
"type": "varint"
|
|
}
|
|
]
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
],
|
|
"stored_enchantments": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "enchantments",
|
|
"type": [
|
|
"array",
|
|
{
|
|
"countType": "varint",
|
|
"type": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "id",
|
|
"type": "varint"
|
|
},
|
|
{
|
|
"name": "level",
|
|
"type": "varint"
|
|
}
|
|
]
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
],
|
|
"can_place_on": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "predicates",
|
|
"type": [
|
|
"array",
|
|
{
|
|
"countType": "varint",
|
|
"type": "ItemBlockPredicate"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
],
|
|
"can_break": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "predicates",
|
|
"type": [
|
|
"array",
|
|
{
|
|
"countType": "varint",
|
|
"type": "ItemBlockPredicate"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
],
|
|
"attribute_modifiers": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "attributes",
|
|
"type": [
|
|
"array",
|
|
{
|
|
"countType": "varint",
|
|
"type": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "typeId",
|
|
"type": "varint"
|
|
},
|
|
{
|
|
"name": "name",
|
|
"type": "string"
|
|
},
|
|
{
|
|
"name": "value",
|
|
"type": "f64"
|
|
},
|
|
{
|
|
"name": "operation",
|
|
"type": [
|
|
"mapper",
|
|
{
|
|
"type": "varint",
|
|
"mappings": {
|
|
"0": "add",
|
|
"1": "multiply_base",
|
|
"2": "multiply_total"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "slot",
|
|
"type": [
|
|
"mapper",
|
|
{
|
|
"type": "varint",
|
|
"mappings": {
|
|
"0": "any",
|
|
"1": "main_hand",
|
|
"2": "off_hand",
|
|
"3": "hand",
|
|
"4": "feet",
|
|
"5": "legs",
|
|
"6": "chest",
|
|
"7": "head",
|
|
"8": "armor",
|
|
"9": "body",
|
|
"10": "saddle"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "display",
|
|
"type": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "type",
|
|
"type": [
|
|
"mapper",
|
|
{
|
|
"type": "varint",
|
|
"mappings": {
|
|
"0": "default",
|
|
"1": "hidden",
|
|
"2": "override"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "component",
|
|
"type": [
|
|
"switch",
|
|
{
|
|
"compareTo": "type",
|
|
"fields": {
|
|
"override": "anonymousNbt"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
]
|
|
}
|
|
]
|
|
],
|
|
"custom_model_data": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "floats",
|
|
"type": [
|
|
"array",
|
|
{
|
|
"countType": "varint",
|
|
"type": "f32"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "flags",
|
|
"type": [
|
|
"array",
|
|
{
|
|
"countType": "varint",
|
|
"type": "bool"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "strings",
|
|
"type": [
|
|
"array",
|
|
{
|
|
"countType": "varint",
|
|
"type": "string"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "colors",
|
|
"type": [
|
|
"array",
|
|
{
|
|
"countType": "varint",
|
|
"type": "i32"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
],
|
|
"tooltip_display": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "hideTooltip",
|
|
"type": "bool"
|
|
},
|
|
{
|
|
"name": "hiddenComponents",
|
|
"type": [
|
|
"array",
|
|
{
|
|
"countType": "varint",
|
|
"type": "varint"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
],
|
|
"repair_cost": "varint",
|
|
"creative_slot_lock": "void",
|
|
"enchantment_glint_override": "bool",
|
|
"intangible_projectile": "void",
|
|
"blocks_attacks": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "blockDelaySeconds",
|
|
"type": "f32"
|
|
},
|
|
{
|
|
"name": "disableCooldownScale",
|
|
"type": "f32"
|
|
},
|
|
{
|
|
"name": "damageReductions",
|
|
"type": [
|
|
"array",
|
|
{
|
|
"countType": "varint",
|
|
"type": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "horizontalBlockingAngle",
|
|
"type": "f32"
|
|
},
|
|
{
|
|
"name": "type",
|
|
"type": [
|
|
"option",
|
|
"IDSet"
|
|
]
|
|
},
|
|
{
|
|
"name": "base",
|
|
"type": "f32"
|
|
},
|
|
{
|
|
"name": "factor",
|
|
"type": "f32"
|
|
}
|
|
]
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "itemDamage",
|
|
"type": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "threshold",
|
|
"type": "f32"
|
|
},
|
|
{
|
|
"name": "base",
|
|
"type": "f32"
|
|
},
|
|
{
|
|
"name": "factor",
|
|
"type": "f32"
|
|
}
|
|
]
|
|
]
|
|
},
|
|
{
|
|
"name": "bypassedBy",
|
|
"type": [
|
|
"option",
|
|
"string"
|
|
]
|
|
},
|
|
{
|
|
"name": "blockSound",
|
|
"type": [
|
|
"option",
|
|
"ItemSoundHolder"
|
|
]
|
|
},
|
|
{
|
|
"name": "disableSound",
|
|
"type": [
|
|
"option",
|
|
"ItemSoundHolder"
|
|
]
|
|
}
|
|
]
|
|
],
|
|
"food": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "nutrition",
|
|
"type": "varint"
|
|
},
|
|
{
|
|
"name": "saturationModifier",
|
|
"type": "f32"
|
|
},
|
|
{
|
|
"name": "canAlwaysEat",
|
|
"type": "bool"
|
|
}
|
|
]
|
|
],
|
|
"consumable": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "consume_seconds",
|
|
"type": "f32"
|
|
},
|
|
{
|
|
"name": "animation",
|
|
"type": [
|
|
"mapper",
|
|
{
|
|
"type": "varint",
|
|
"mappings": {
|
|
"0": "none",
|
|
"1": "eat",
|
|
"2": "drink",
|
|
"3": "block",
|
|
"4": "bow",
|
|
"5": "spear",
|
|
"6": "crossbow",
|
|
"7": "spyglass",
|
|
"8": "toot_horn",
|
|
"9": "brush",
|
|
"10": "bundle"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "sound",
|
|
"type": "ItemSoundHolder"
|
|
},
|
|
{
|
|
"name": "makes_particles",
|
|
"type": "bool"
|
|
},
|
|
{
|
|
"name": "effects",
|
|
"type": [
|
|
"array",
|
|
{
|
|
"countType": "varint",
|
|
"type": "ItemConsumeEffect"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
],
|
|
"use_remainder": "Slot",
|
|
"use_cooldown": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "seconds",
|
|
"type": "f32"
|
|
},
|
|
{
|
|
"name": "cooldownGroup",
|
|
"type": [
|
|
"option",
|
|
"string"
|
|
]
|
|
}
|
|
]
|
|
],
|
|
"damage_resistant": "string",
|
|
"tool": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "rules",
|
|
"type": [
|
|
"array",
|
|
{
|
|
"countType": "varint",
|
|
"type": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "blocks",
|
|
"type": "IDSet"
|
|
},
|
|
{
|
|
"name": "speed",
|
|
"type": [
|
|
"option",
|
|
"f32"
|
|
]
|
|
},
|
|
{
|
|
"name": "correctDropForBlocks",
|
|
"type": [
|
|
"option",
|
|
"bool"
|
|
]
|
|
}
|
|
]
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "defaultMiningSpeed",
|
|
"type": "f32"
|
|
},
|
|
{
|
|
"name": "damagePerBlock",
|
|
"type": "varint"
|
|
},
|
|
{
|
|
"name": "canDestroyBlocksInCreative",
|
|
"type": "bool"
|
|
}
|
|
]
|
|
],
|
|
"weapon": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "itemDamagePerAttack",
|
|
"type": "varint"
|
|
},
|
|
{
|
|
"name": "disableBlockingForSeconds",
|
|
"type": "f32"
|
|
}
|
|
]
|
|
],
|
|
"attack_range": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "minRange",
|
|
"type": "f32"
|
|
},
|
|
{
|
|
"name": "maxRange",
|
|
"type": "f32"
|
|
},
|
|
{
|
|
"name": "minCreativeRange",
|
|
"type": "f32"
|
|
},
|
|
{
|
|
"name": "maxCreativeRange",
|
|
"type": "f32"
|
|
},
|
|
{
|
|
"name": "hitboxMargin",
|
|
"type": "f32"
|
|
},
|
|
{
|
|
"name": "mobFactor",
|
|
"type": "f32"
|
|
}
|
|
]
|
|
],
|
|
"enchantable": "varint",
|
|
"equippable": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "slot",
|
|
"type": [
|
|
"mapper",
|
|
{
|
|
"type": "varint",
|
|
"mappings": {
|
|
"0": "main_hand",
|
|
"1": "off_hand",
|
|
"2": "feet",
|
|
"3": "legs",
|
|
"4": "chest",
|
|
"5": "head",
|
|
"6": "body",
|
|
"7": "saddle"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "sound",
|
|
"type": "ItemSoundHolder"
|
|
},
|
|
{
|
|
"name": "model",
|
|
"type": [
|
|
"option",
|
|
"string"
|
|
]
|
|
},
|
|
{
|
|
"name": "cameraOverlay",
|
|
"type": [
|
|
"option",
|
|
"string"
|
|
]
|
|
},
|
|
{
|
|
"name": "allowedEntities",
|
|
"type": [
|
|
"option",
|
|
"IDSet"
|
|
]
|
|
},
|
|
{
|
|
"name": "dispensable",
|
|
"type": "bool"
|
|
},
|
|
{
|
|
"name": "swappable",
|
|
"type": "bool"
|
|
},
|
|
{
|
|
"name": "damageable",
|
|
"type": "bool"
|
|
},
|
|
{
|
|
"name": "equipOnInteract",
|
|
"type": "bool"
|
|
},
|
|
{
|
|
"name": "shearable",
|
|
"type": "bool"
|
|
},
|
|
{
|
|
"name": "shearingSound",
|
|
"type": "ItemSoundHolder"
|
|
}
|
|
]
|
|
],
|
|
"repairable": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "items",
|
|
"type": "IDSet"
|
|
}
|
|
]
|
|
],
|
|
"glider": "void",
|
|
"tooltip_style": "string",
|
|
"death_protection": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "effects",
|
|
"type": [
|
|
"array",
|
|
{
|
|
"countType": "varint",
|
|
"type": "ItemConsumeEffect"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
],
|
|
"piercing_weapon": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "dealsKnockback",
|
|
"type": "bool"
|
|
},
|
|
{
|
|
"name": "dismounts",
|
|
"type": "bool"
|
|
},
|
|
{
|
|
"name": "sound",
|
|
"type": [
|
|
"option",
|
|
"ItemSoundHolder"
|
|
]
|
|
},
|
|
{
|
|
"name": "hitSound",
|
|
"type": [
|
|
"option",
|
|
"ItemSoundHolder"
|
|
]
|
|
}
|
|
]
|
|
],
|
|
"kinetic_weapon": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "contactCooldownTicks",
|
|
"type": "varint"
|
|
},
|
|
{
|
|
"name": "delayTicks",
|
|
"type": "varint"
|
|
},
|
|
{
|
|
"name": "dismountConditions",
|
|
"type": [
|
|
"option",
|
|
"KineticWeaponCondition"
|
|
]
|
|
},
|
|
{
|
|
"name": "knockbackConditions",
|
|
"type": [
|
|
"option",
|
|
"KineticWeaponCondition"
|
|
]
|
|
},
|
|
{
|
|
"name": "damageConditions",
|
|
"type": [
|
|
"option",
|
|
"KineticWeaponCondition"
|
|
]
|
|
},
|
|
{
|
|
"name": "forwardMovement",
|
|
"type": "f32"
|
|
},
|
|
{
|
|
"name": "damageMultiplier",
|
|
"type": "f32"
|
|
},
|
|
{
|
|
"name": "sound",
|
|
"type": [
|
|
"option",
|
|
"ItemSoundHolder"
|
|
]
|
|
},
|
|
{
|
|
"name": "hitSound",
|
|
"type": [
|
|
"option",
|
|
"ItemSoundHolder"
|
|
]
|
|
}
|
|
]
|
|
],
|
|
"swing_animation": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "type",
|
|
"type": [
|
|
"mapper",
|
|
{
|
|
"type": "varint",
|
|
"mappings": {
|
|
"0": "none",
|
|
"1": "whack",
|
|
"2": "stab"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "duration",
|
|
"type": "varint"
|
|
}
|
|
]
|
|
],
|
|
"dyed_color": "i32",
|
|
"map_color": "i32",
|
|
"map_id": "varint",
|
|
"map_decorations": "anonymousNbt",
|
|
"map_post_processing": "varint",
|
|
"potion_duration_scale": "f32",
|
|
"charged_projectiles": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "projectiles",
|
|
"type": [
|
|
"array",
|
|
{
|
|
"countType": "varint",
|
|
"type": "Slot"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
],
|
|
"bundle_contents": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "contents",
|
|
"type": [
|
|
"array",
|
|
{
|
|
"countType": "varint",
|
|
"type": "Slot"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
],
|
|
"potion_contents": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "potionId",
|
|
"type": [
|
|
"option",
|
|
"varint"
|
|
]
|
|
},
|
|
{
|
|
"name": "customColor",
|
|
"type": [
|
|
"option",
|
|
"i32"
|
|
]
|
|
},
|
|
{
|
|
"name": "customEffects",
|
|
"type": [
|
|
"array",
|
|
{
|
|
"countType": "varint",
|
|
"type": "ItemPotionEffect"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "customName",
|
|
"type": [
|
|
"option",
|
|
"string"
|
|
]
|
|
}
|
|
]
|
|
],
|
|
"suspicious_stew_effects": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "effects",
|
|
"type": [
|
|
"array",
|
|
{
|
|
"countType": "varint",
|
|
"type": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "effect",
|
|
"type": "varint"
|
|
},
|
|
{
|
|
"name": "duration",
|
|
"type": "varint"
|
|
}
|
|
]
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
],
|
|
"writable_book_content": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "pages",
|
|
"type": [
|
|
"array",
|
|
{
|
|
"countType": "varint",
|
|
"type": "ItemBookPage"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
],
|
|
"written_book_content": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "rawTitle",
|
|
"type": "string"
|
|
},
|
|
{
|
|
"name": "filteredTitle",
|
|
"type": [
|
|
"option",
|
|
"string"
|
|
]
|
|
},
|
|
{
|
|
"name": "author",
|
|
"type": "string"
|
|
},
|
|
{
|
|
"name": "generation",
|
|
"type": "varint"
|
|
},
|
|
{
|
|
"name": "pages",
|
|
"type": [
|
|
"array",
|
|
{
|
|
"countType": "varint",
|
|
"type": "ItemWrittenBookPage"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "resolved",
|
|
"type": "bool"
|
|
}
|
|
]
|
|
],
|
|
"trim": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "material",
|
|
"type": [
|
|
"registryEntryHolder",
|
|
{
|
|
"baseName": "materialId",
|
|
"otherwise": {
|
|
"name": "data",
|
|
"type": "ArmorTrimMaterial"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "pattern",
|
|
"type": [
|
|
"registryEntryHolder",
|
|
{
|
|
"baseName": "patternId",
|
|
"otherwise": {
|
|
"name": "data",
|
|
"type": "ArmorTrimPattern"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
],
|
|
"debug_stick_state": "anonymousNbt",
|
|
"entity_data": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "type",
|
|
"type": "varint"
|
|
},
|
|
{
|
|
"name": "data",
|
|
"type": "anonymousNbt"
|
|
}
|
|
]
|
|
],
|
|
"block_entity_data": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "type",
|
|
"type": "varint"
|
|
},
|
|
{
|
|
"name": "data",
|
|
"type": "anonymousNbt"
|
|
}
|
|
]
|
|
],
|
|
"bucket_entity_data": "anonymousNbt",
|
|
"instrument": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "hasHolder",
|
|
"type": "bool"
|
|
},
|
|
{
|
|
"name": "data",
|
|
"type": [
|
|
"switch",
|
|
{
|
|
"compareTo": "hasHolder",
|
|
"fields": {
|
|
"true": [
|
|
"registryEntryHolder",
|
|
{
|
|
"baseName": "instrumentId",
|
|
"otherwise": {
|
|
"name": "data",
|
|
"type": "InstrumentData"
|
|
}
|
|
}
|
|
],
|
|
"false": "string"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
],
|
|
"provides_trim_material": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "hasHolder",
|
|
"type": "bool"
|
|
},
|
|
{
|
|
"name": "material",
|
|
"type": [
|
|
"switch",
|
|
{
|
|
"compareTo": "hasHolder",
|
|
"fields": {
|
|
"true": [
|
|
"registryEntryHolder",
|
|
{
|
|
"baseName": "materialId",
|
|
"otherwise": {
|
|
"name": "data",
|
|
"type": "ArmorTrimMaterial"
|
|
}
|
|
}
|
|
],
|
|
"false": "string"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
],
|
|
"ominous_bottle_amplifier": "varint",
|
|
"jukebox_playable": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "hasHolder",
|
|
"type": "bool"
|
|
},
|
|
{
|
|
"name": "song",
|
|
"type": [
|
|
"switch",
|
|
{
|
|
"compareTo": "hasHolder",
|
|
"fields": {
|
|
"true": [
|
|
"registryEntryHolder",
|
|
{
|
|
"baseName": "songId",
|
|
"otherwise": {
|
|
"name": "data",
|
|
"type": "JukeboxSongData"
|
|
}
|
|
}
|
|
],
|
|
"false": "string"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
],
|
|
"provides_banner_patterns": "string",
|
|
"recipes": "anonymousNbt",
|
|
"lodestone_tracker": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "globalPosition",
|
|
"type": [
|
|
"option",
|
|
"GlobalPos"
|
|
]
|
|
},
|
|
{
|
|
"name": "tracked",
|
|
"type": "bool"
|
|
}
|
|
]
|
|
],
|
|
"firework_explosion": "ItemFireworkExplosion",
|
|
"fireworks": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "flightDuration",
|
|
"type": "varint"
|
|
},
|
|
{
|
|
"name": "explosions",
|
|
"type": [
|
|
"array",
|
|
{
|
|
"countType": "varint",
|
|
"type": "ItemFireworkExplosion"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
],
|
|
"profile": "ResolvableProfile",
|
|
"note_block_sound": "string",
|
|
"banner_patterns": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "layers",
|
|
"type": [
|
|
"array",
|
|
{
|
|
"countType": "varint",
|
|
"type": "BannerPatternLayer"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
],
|
|
"base_color": "varint",
|
|
"pot_decorations": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "decorations",
|
|
"type": [
|
|
"array",
|
|
{
|
|
"countType": "varint",
|
|
"type": "varint"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
],
|
|
"container": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "contents",
|
|
"type": [
|
|
"array",
|
|
{
|
|
"countType": "varint",
|
|
"type": "Slot"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
],
|
|
"block_state": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "properties",
|
|
"type": [
|
|
"array",
|
|
{
|
|
"countType": "varint",
|
|
"type": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "name",
|
|
"type": "string"
|
|
},
|
|
{
|
|
"name": "value",
|
|
"type": "string"
|
|
}
|
|
]
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
],
|
|
"bees": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "bees",
|
|
"type": [
|
|
"array",
|
|
{
|
|
"countType": "varint",
|
|
"type": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "nbtData",
|
|
"type": "anonymousNbt"
|
|
},
|
|
{
|
|
"name": "ticksInHive",
|
|
"type": "varint"
|
|
},
|
|
{
|
|
"name": "minTicksInHive",
|
|
"type": "varint"
|
|
}
|
|
]
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
],
|
|
"lock": "anonymousNbt",
|
|
"container_loot": "anonymousNbt",
|
|
"break_sound": "ItemSoundHolder",
|
|
"villager/variant": "varint",
|
|
"wolf/variant": "varint",
|
|
"wolf/sound_variant": "varint",
|
|
"wolf/collar": "varint",
|
|
"fox/variant": "varint",
|
|
"salmon/size": "varint",
|
|
"parrot/variant": "varint",
|
|
"tropical_fish/pattern": "varint",
|
|
"tropical_fish/base_color": "varint",
|
|
"tropical_fish/pattern_color": "varint",
|
|
"mooshroom/variant": "varint",
|
|
"rabbit/variant": "varint",
|
|
"pig/variant": "varint",
|
|
"cow/variant": "varint",
|
|
"chicken/variant": [
|
|
"registryEntryHolder",
|
|
{
|
|
"baseName": "variantId",
|
|
"otherwise": {
|
|
"name": "variantData",
|
|
"type": "string"
|
|
}
|
|
}
|
|
],
|
|
"zombie_nautilus/variant": [
|
|
"registryEntryHolder",
|
|
{
|
|
"baseName": "variantId",
|
|
"otherwise": {
|
|
"name": "variantData",
|
|
"type": "string"
|
|
}
|
|
}
|
|
],
|
|
"frog/variant": "varint",
|
|
"horse/variant": "varint",
|
|
"painting/variant": [
|
|
"registryEntryHolder",
|
|
{
|
|
"baseName": "variantId",
|
|
"otherwise": {
|
|
"name": "data",
|
|
"type": "EntityMetadataPaintingVariant"
|
|
}
|
|
}
|
|
],
|
|
"llama/variant": "varint",
|
|
"axolotl/variant": "varint",
|
|
"cat/variant": "varint",
|
|
"cat/collar": "varint",
|
|
"sheep/color": "varint",
|
|
"shulker/color": "varint"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
],
|
|
"ItemSoundEvent": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "soundName",
|
|
"type": "string"
|
|
},
|
|
{
|
|
"name": "fixedRange",
|
|
"type": [
|
|
"option",
|
|
"f32"
|
|
]
|
|
}
|
|
]
|
|
],
|
|
"ItemSoundHolder": [
|
|
"registryEntryHolder",
|
|
{
|
|
"baseName": "soundId",
|
|
"otherwise": {
|
|
"name": "data",
|
|
"type": "ItemSoundEvent"
|
|
}
|
|
}
|
|
],
|
|
"ItemFireworkExplosion": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "shape",
|
|
"type": [
|
|
"mapper",
|
|
{
|
|
"type": "varint",
|
|
"mappings": {
|
|
"0": "small_ball",
|
|
"1": "large_ball",
|
|
"2": "star",
|
|
"3": "creeper",
|
|
"4": "burst"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "colors",
|
|
"type": [
|
|
"array",
|
|
{
|
|
"countType": "varint",
|
|
"type": "i32"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "fadeColors",
|
|
"type": [
|
|
"array",
|
|
{
|
|
"countType": "varint",
|
|
"type": "i32"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "hasTrail",
|
|
"type": "bool"
|
|
},
|
|
{
|
|
"name": "hasTwinkle",
|
|
"type": "bool"
|
|
}
|
|
]
|
|
],
|
|
"ItemEffectDetail": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "amplifier",
|
|
"type": "varint"
|
|
},
|
|
{
|
|
"name": "duration",
|
|
"type": "varint"
|
|
},
|
|
{
|
|
"name": "ambient",
|
|
"type": "bool"
|
|
},
|
|
{
|
|
"name": "showParticles",
|
|
"type": "bool"
|
|
},
|
|
{
|
|
"name": "showIcon",
|
|
"type": "bool"
|
|
},
|
|
{
|
|
"name": "hiddenEffect",
|
|
"type": [
|
|
"option",
|
|
"ItemEffectDetail"
|
|
]
|
|
}
|
|
]
|
|
],
|
|
"ItemPotionEffect": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "id",
|
|
"type": "varint"
|
|
},
|
|
{
|
|
"name": "details",
|
|
"type": "ItemEffectDetail"
|
|
}
|
|
]
|
|
],
|
|
"ItemBlockProperty": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "name",
|
|
"type": "string"
|
|
},
|
|
{
|
|
"name": "isExactMatch",
|
|
"type": "bool"
|
|
},
|
|
{
|
|
"name": "value",
|
|
"type": [
|
|
"switch",
|
|
{
|
|
"compareTo": "isExactMatch",
|
|
"fields": {
|
|
"true": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "exactValue",
|
|
"type": "string"
|
|
}
|
|
]
|
|
],
|
|
"false": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "minValue",
|
|
"type": "string"
|
|
},
|
|
{
|
|
"name": "maxValue",
|
|
"type": "string"
|
|
}
|
|
]
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
],
|
|
"ExactComponentMatcher": [
|
|
"array",
|
|
{
|
|
"countType": "varint",
|
|
"type": "SlotComponent"
|
|
}
|
|
],
|
|
"DataComponentMatchers": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "exactMatchers",
|
|
"type": "ExactComponentMatcher"
|
|
},
|
|
{
|
|
"name": "partialMatchers",
|
|
"type": [
|
|
"array",
|
|
{
|
|
"countType": "varint",
|
|
"type": "varint"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
],
|
|
"ItemBlockPredicate": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "blockSet",
|
|
"type": [
|
|
"option",
|
|
[
|
|
"registryEntryHolderSet",
|
|
{
|
|
"base": {
|
|
"name": "name",
|
|
"type": "string"
|
|
},
|
|
"otherwise": {
|
|
"name": "blockIds",
|
|
"type": "varint"
|
|
}
|
|
}
|
|
]
|
|
]
|
|
},
|
|
{
|
|
"name": "properties",
|
|
"type": [
|
|
"option",
|
|
[
|
|
"array",
|
|
{
|
|
"countType": "varint",
|
|
"type": "ItemBlockProperty"
|
|
}
|
|
]
|
|
]
|
|
},
|
|
{
|
|
"name": "nbt",
|
|
"type": "anonOptionalNbt"
|
|
},
|
|
{
|
|
"name": "components",
|
|
"type": "DataComponentMatchers"
|
|
}
|
|
]
|
|
],
|
|
"ItemBookPage": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "content",
|
|
"type": "string"
|
|
},
|
|
{
|
|
"name": "filteredContent",
|
|
"type": [
|
|
"option",
|
|
"string"
|
|
]
|
|
}
|
|
]
|
|
],
|
|
"ItemWrittenBookPage": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "content",
|
|
"type": "anonymousNbt"
|
|
},
|
|
{
|
|
"name": "filteredContent",
|
|
"type": "anonOptionalNbt"
|
|
}
|
|
]
|
|
],
|
|
"ItemConsumeEffect": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "type",
|
|
"type": [
|
|
"mapper",
|
|
{
|
|
"type": "varint",
|
|
"mappings": {
|
|
"0": "apply_effects",
|
|
"1": "remove_effects",
|
|
"2": "clear_all_effects",
|
|
"3": "teleport_randomly",
|
|
"4": "play_sound"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"anon": true,
|
|
"type": [
|
|
"switch",
|
|
{
|
|
"compareTo": "type",
|
|
"fields": {
|
|
"apply_effects": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "effects",
|
|
"type": [
|
|
"array",
|
|
{
|
|
"countType": "varint",
|
|
"type": "ItemPotionEffect"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "probability",
|
|
"type": "f32"
|
|
}
|
|
]
|
|
],
|
|
"remove_effects": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "effects",
|
|
"type": "IDSet"
|
|
}
|
|
]
|
|
],
|
|
"clear_all_effects": "void",
|
|
"teleport_randomly": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "diameter",
|
|
"type": "f32"
|
|
}
|
|
]
|
|
],
|
|
"play_sound": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "sound",
|
|
"type": "ItemSoundHolder"
|
|
}
|
|
]
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
],
|
|
"ArmorTrimMaterial": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "assetBase",
|
|
"type": "string"
|
|
},
|
|
{
|
|
"name": "overrideArmorAssets",
|
|
"type": [
|
|
"array",
|
|
{
|
|
"countType": "varint",
|
|
"type": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "key",
|
|
"type": "string"
|
|
},
|
|
{
|
|
"name": "value",
|
|
"type": "string"
|
|
}
|
|
]
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "description",
|
|
"type": "anonymousNbt"
|
|
}
|
|
]
|
|
],
|
|
"ArmorTrimPattern": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "assetId",
|
|
"type": "string"
|
|
},
|
|
{
|
|
"name": "description",
|
|
"type": "anonymousNbt"
|
|
},
|
|
{
|
|
"name": "decal",
|
|
"type": "bool"
|
|
}
|
|
]
|
|
],
|
|
"InstrumentData": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "soundEvent",
|
|
"type": "ItemSoundHolder"
|
|
},
|
|
{
|
|
"name": "useDuration",
|
|
"type": "f32"
|
|
},
|
|
{
|
|
"name": "range",
|
|
"type": "f32"
|
|
},
|
|
{
|
|
"name": "description",
|
|
"type": "anonymousNbt"
|
|
}
|
|
]
|
|
],
|
|
"JukeboxSongData": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "soundEvent",
|
|
"type": "ItemSoundHolder"
|
|
},
|
|
{
|
|
"name": "description",
|
|
"type": "anonymousNbt"
|
|
},
|
|
{
|
|
"name": "lengthInSeconds",
|
|
"type": "f32"
|
|
},
|
|
{
|
|
"name": "comparatorOutput",
|
|
"type": "varint"
|
|
}
|
|
]
|
|
],
|
|
"BannerPattern": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "assetId",
|
|
"type": "string"
|
|
},
|
|
{
|
|
"name": "translationKey",
|
|
"type": "string"
|
|
}
|
|
]
|
|
],
|
|
"BannerPatternLayer": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "pattern",
|
|
"type": [
|
|
"registryEntryHolder",
|
|
{
|
|
"baseName": "patternId",
|
|
"otherwise": {
|
|
"name": "data",
|
|
"type": "BannerPattern"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "colorId",
|
|
"type": "varint"
|
|
}
|
|
]
|
|
],
|
|
"DamageTypeData": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "msgId",
|
|
"type": "string"
|
|
},
|
|
{
|
|
"name": "scaling",
|
|
"type": [
|
|
"mapper",
|
|
{
|
|
"type": "varint",
|
|
"mappings": {
|
|
"0": "never",
|
|
"1": "when_caused_by_living_non_player",
|
|
"2": "always"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "exhaustion",
|
|
"type": "f32"
|
|
},
|
|
{
|
|
"name": "effects",
|
|
"type": [
|
|
"mapper",
|
|
{
|
|
"type": "varint",
|
|
"mappings": {
|
|
"0": "hurt",
|
|
"1": "thorns",
|
|
"2": "drowning",
|
|
"3": "burning",
|
|
"4": "poking",
|
|
"5": "freezing"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "deathMessageType",
|
|
"type": [
|
|
"mapper",
|
|
{
|
|
"type": "varint",
|
|
"mappings": {
|
|
"0": "default",
|
|
"1": "fall_variants",
|
|
"2": "intentional_game_design"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
],
|
|
"KineticWeaponCondition": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "maxDurationTicks",
|
|
"type": "varint"
|
|
},
|
|
{
|
|
"name": "minSpeed",
|
|
"type": "f32"
|
|
},
|
|
{
|
|
"name": "minRelativeSpeed",
|
|
"type": "f32"
|
|
}
|
|
]
|
|
],
|
|
"UntrustedSlotComponent": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "type",
|
|
"type": "SlotComponentType"
|
|
},
|
|
{
|
|
"name": "data",
|
|
"type": "ByteArray"
|
|
}
|
|
]
|
|
],
|
|
"UntrustedSlot": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "itemCount",
|
|
"type": "varint"
|
|
},
|
|
{
|
|
"anon": true,
|
|
"type": [
|
|
"switch",
|
|
{
|
|
"compareTo": "itemCount",
|
|
"fields": {
|
|
"0": "void",
|
|
"false": "void"
|
|
},
|
|
"default": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "itemId",
|
|
"type": "varint"
|
|
},
|
|
{
|
|
"name": "addedComponentCount",
|
|
"type": "varint"
|
|
},
|
|
{
|
|
"name": "removedComponentCount",
|
|
"type": "varint"
|
|
},
|
|
{
|
|
"name": "components",
|
|
"type": [
|
|
"array",
|
|
{
|
|
"count": "addedComponentCount",
|
|
"type": "UntrustedSlotComponent"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "removeComponents",
|
|
"type": [
|
|
"array",
|
|
{
|
|
"count": "removedComponentCount",
|
|
"type": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "type",
|
|
"type": "SlotComponentType"
|
|
}
|
|
]
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
],
|
|
"Slot": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "itemCount",
|
|
"type": "varint"
|
|
},
|
|
{
|
|
"anon": true,
|
|
"type": [
|
|
"switch",
|
|
{
|
|
"compareTo": "itemCount",
|
|
"fields": {
|
|
"0": "void"
|
|
},
|
|
"default": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "itemId",
|
|
"type": "varint"
|
|
},
|
|
{
|
|
"name": "addedComponentCount",
|
|
"type": "varint"
|
|
},
|
|
{
|
|
"name": "removedComponentCount",
|
|
"type": "varint"
|
|
},
|
|
{
|
|
"name": "components",
|
|
"type": [
|
|
"array",
|
|
{
|
|
"count": "addedComponentCount",
|
|
"type": "SlotComponent"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "removeComponents",
|
|
"type": [
|
|
"array",
|
|
{
|
|
"count": "removedComponentCount",
|
|
"type": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "type",
|
|
"type": "SlotComponentType"
|
|
}
|
|
]
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
],
|
|
"HashedSlot": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "itemId",
|
|
"type": "varint"
|
|
},
|
|
{
|
|
"name": "itemCount",
|
|
"type": "varint"
|
|
},
|
|
{
|
|
"name": "components",
|
|
"type": [
|
|
"array",
|
|
{
|
|
"countType": "varint",
|
|
"type": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "type",
|
|
"type": "SlotComponentType"
|
|
},
|
|
{
|
|
"name": "hash",
|
|
"type": "i32"
|
|
}
|
|
]
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "removeComponents",
|
|
"type": [
|
|
"array",
|
|
{
|
|
"countType": "varint",
|
|
"type": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "type",
|
|
"type": "SlotComponentType"
|
|
}
|
|
]
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
],
|
|
"RespawnData": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "globalPos",
|
|
"type": "GlobalPos"
|
|
},
|
|
{
|
|
"name": "yaw",
|
|
"type": "f32"
|
|
},
|
|
{
|
|
"name": "pitch",
|
|
"type": "f32"
|
|
}
|
|
]
|
|
],
|
|
"GlobalPos": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "dimensionName",
|
|
"type": "string"
|
|
},
|
|
{
|
|
"name": "location",
|
|
"type": "position"
|
|
}
|
|
]
|
|
],
|
|
"DebugStructureInfo": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "boundingBoxMin",
|
|
"type": "position"
|
|
},
|
|
{
|
|
"name": "boundingBoxMax",
|
|
"type": "position"
|
|
},
|
|
{
|
|
"name": "pieces",
|
|
"type": [
|
|
"array",
|
|
{
|
|
"countType": "varint",
|
|
"type": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "boundingBoxMin",
|
|
"type": "position"
|
|
},
|
|
{
|
|
"name": "boundingBoxMax",
|
|
"type": "position"
|
|
},
|
|
{
|
|
"name": "isStart",
|
|
"type": "bool"
|
|
}
|
|
]
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
],
|
|
"Node": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "position",
|
|
"type": "vec3i32"
|
|
},
|
|
{
|
|
"name": "walkedDistance",
|
|
"type": "f32"
|
|
},
|
|
{
|
|
"name": "costMalus",
|
|
"type": "f32"
|
|
},
|
|
{
|
|
"name": "closed",
|
|
"type": "bool"
|
|
},
|
|
{
|
|
"name": "type",
|
|
"type": [
|
|
"mapper",
|
|
{
|
|
"type": "varint",
|
|
"mappings": {
|
|
"0": "blocked",
|
|
"1": "open",
|
|
"2": "walkable",
|
|
"3": "walkable_door",
|
|
"4": "trapdoor",
|
|
"5": "powder_snow",
|
|
"6": "danger_powder_snow",
|
|
"7": "fence",
|
|
"8": "lava",
|
|
"9": "water",
|
|
"10": "water_border",
|
|
"11": "rail",
|
|
"12": "unpassable_rail",
|
|
"13": "danger_fire",
|
|
"14": "damage_fire",
|
|
"15": "danger_other",
|
|
"16": "damage_other",
|
|
"17": "door_open",
|
|
"18": "door_wood_closed",
|
|
"19": "door_iron_closed",
|
|
"20": "breach",
|
|
"21": "leaves",
|
|
"22": "sticky_honey",
|
|
"23": "cocoa",
|
|
"24": "damage_cautious",
|
|
"25": "danger_trapdoor"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "f",
|
|
"type": "f32"
|
|
}
|
|
]
|
|
],
|
|
"PathDebugData": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "openSet",
|
|
"type": [
|
|
"array",
|
|
{
|
|
"countType": "varint",
|
|
"type": "Node"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "closedSet",
|
|
"type": [
|
|
"array",
|
|
{
|
|
"countType": "varint",
|
|
"type": "Node"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "targetNodes",
|
|
"type": [
|
|
"array",
|
|
{
|
|
"countType": "varint",
|
|
"type": "Node"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
],
|
|
"Path": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "reached",
|
|
"type": "bool"
|
|
},
|
|
{
|
|
"name": "nextNodeIndex",
|
|
"type": "i32"
|
|
},
|
|
{
|
|
"name": "target",
|
|
"type": "position"
|
|
},
|
|
{
|
|
"name": "nodes",
|
|
"type": [
|
|
"array",
|
|
{
|
|
"countType": "varint",
|
|
"type": "Node"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "debugData",
|
|
"type": "PathDebugData"
|
|
}
|
|
]
|
|
],
|
|
"DebugSubscriptionDataType": [
|
|
"mapper",
|
|
{
|
|
"type": "varint",
|
|
"mappings": {
|
|
"0": "DedicatedServerTickTime",
|
|
"1": "Bees",
|
|
"2": "Brains",
|
|
"3": "Breezes",
|
|
"4": "GoalSelectors",
|
|
"5": "EntityPaths",
|
|
"6": "EntityBlockIntersections",
|
|
"7": "BeeHives",
|
|
"8": "Pois",
|
|
"9": "RedstoneWireOrientations",
|
|
"10": "VillageSections",
|
|
"11": "Raids",
|
|
"12": "Structures",
|
|
"13": "GameEventListeners",
|
|
"14": "NeighborUpdates",
|
|
"15": "GameEvents"
|
|
}
|
|
}
|
|
],
|
|
"DebugSubscriptionUpdate": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "type",
|
|
"type": "DebugSubscriptionDataType"
|
|
},
|
|
{
|
|
"anon": true,
|
|
"type": [
|
|
"switch",
|
|
{
|
|
"compareTo": "type",
|
|
"fields": {
|
|
"DedicatedServerTickTime": "void"
|
|
},
|
|
"default": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "payload",
|
|
"type": [
|
|
"option",
|
|
[
|
|
"switch",
|
|
{
|
|
"compareTo": "type",
|
|
"fields": {
|
|
"DedicatedServerTickTime": "void",
|
|
"VillageSections": "void",
|
|
"Bees": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "hivePos",
|
|
"type": [
|
|
"option",
|
|
"position"
|
|
]
|
|
},
|
|
{
|
|
"name": "flowerPos",
|
|
"type": [
|
|
"option",
|
|
"position"
|
|
]
|
|
},
|
|
{
|
|
"name": "travelTicks",
|
|
"type": "varint"
|
|
},
|
|
{
|
|
"name": "blacklistedHives",
|
|
"type": [
|
|
"array",
|
|
{
|
|
"countType": "varint",
|
|
"type": "position"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
],
|
|
"Brains": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "name",
|
|
"type": "string"
|
|
},
|
|
{
|
|
"name": "profession",
|
|
"type": "string"
|
|
},
|
|
{
|
|
"name": "xp",
|
|
"type": "i32"
|
|
},
|
|
{
|
|
"name": "health",
|
|
"type": "f32"
|
|
},
|
|
{
|
|
"name": "maxHealth",
|
|
"type": "f32"
|
|
},
|
|
{
|
|
"name": "inventory",
|
|
"type": "string"
|
|
},
|
|
{
|
|
"name": "wantsGolem",
|
|
"type": "bool"
|
|
},
|
|
{
|
|
"name": "angerLevel",
|
|
"type": "i32"
|
|
},
|
|
{
|
|
"name": "activities",
|
|
"type": [
|
|
"array",
|
|
{
|
|
"countType": "varint",
|
|
"type": "string"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "behaviors",
|
|
"type": [
|
|
"array",
|
|
{
|
|
"countType": "varint",
|
|
"type": "string"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "memories",
|
|
"type": [
|
|
"array",
|
|
{
|
|
"countType": "varint",
|
|
"type": "string"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "gossips",
|
|
"type": [
|
|
"array",
|
|
{
|
|
"countType": "varint",
|
|
"type": "string"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "pois",
|
|
"type": [
|
|
"array",
|
|
{
|
|
"countType": "varint",
|
|
"type": "position"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "potentialPois",
|
|
"type": [
|
|
"array",
|
|
{
|
|
"countType": "varint",
|
|
"type": "position"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
],
|
|
"Breezes": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "attackTarget",
|
|
"type": [
|
|
"option",
|
|
"varint"
|
|
]
|
|
},
|
|
{
|
|
"name": "jumpTarget",
|
|
"type": [
|
|
"option",
|
|
"position"
|
|
]
|
|
}
|
|
]
|
|
],
|
|
"GoalSelectors": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "goals",
|
|
"type": [
|
|
"array",
|
|
{
|
|
"countType": "varint",
|
|
"type": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "priority",
|
|
"type": "varint"
|
|
},
|
|
{
|
|
"name": "running",
|
|
"type": "bool"
|
|
},
|
|
{
|
|
"name": "name",
|
|
"type": "string"
|
|
}
|
|
]
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
],
|
|
"EntityPaths": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "path",
|
|
"type": "Path"
|
|
},
|
|
{
|
|
"name": "maxNodeDistance",
|
|
"type": "f32"
|
|
}
|
|
]
|
|
],
|
|
"EntityBlockIntersections": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "id",
|
|
"type": "varint"
|
|
}
|
|
]
|
|
],
|
|
"BeeHives": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "type",
|
|
"type": "varint"
|
|
},
|
|
{
|
|
"name": "occupantCount",
|
|
"type": "varint"
|
|
},
|
|
{
|
|
"name": "honeyLevel",
|
|
"type": "varint"
|
|
},
|
|
{
|
|
"name": "sedated",
|
|
"type": "bool"
|
|
}
|
|
]
|
|
],
|
|
"Pois": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "pos",
|
|
"type": "position"
|
|
},
|
|
{
|
|
"name": "poiType",
|
|
"type": "varint"
|
|
},
|
|
{
|
|
"name": "freeTicketCount",
|
|
"type": "varint"
|
|
}
|
|
]
|
|
],
|
|
"RedstoneWireOrientations": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "index",
|
|
"type": "varint"
|
|
}
|
|
]
|
|
],
|
|
"Raids": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "positions",
|
|
"type": [
|
|
"array",
|
|
{
|
|
"countType": "varint",
|
|
"type": "position"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
],
|
|
"Structures": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "structures",
|
|
"type": [
|
|
"array",
|
|
{
|
|
"countType": "varint",
|
|
"type": "DebugStructureInfo"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
],
|
|
"GameEventListeners": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "listenerRadius",
|
|
"type": "varint"
|
|
}
|
|
]
|
|
],
|
|
"NeighborUpdates": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "pos",
|
|
"type": "position"
|
|
}
|
|
]
|
|
],
|
|
"GameEvents": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "event",
|
|
"type": "varint"
|
|
},
|
|
{
|
|
"name": "pos",
|
|
"type": "vec3f64"
|
|
}
|
|
]
|
|
]
|
|
}
|
|
}
|
|
]
|
|
]
|
|
}
|
|
]
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
],
|
|
"DebugSubscriptionEvent": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "type",
|
|
"type": "DebugSubscriptionDataType"
|
|
},
|
|
{
|
|
"name": "value",
|
|
"type": [
|
|
"switch",
|
|
{
|
|
"compareTo": "type",
|
|
"fields": {
|
|
"DedicatedServerTickTime": "void",
|
|
"VillageSections": "void",
|
|
"Bees": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "hivePos",
|
|
"type": [
|
|
"option",
|
|
"position"
|
|
]
|
|
},
|
|
{
|
|
"name": "flowerPos",
|
|
"type": [
|
|
"option",
|
|
"position"
|
|
]
|
|
},
|
|
{
|
|
"name": "travelTicks",
|
|
"type": "varint"
|
|
},
|
|
{
|
|
"name": "blacklistedHives",
|
|
"type": [
|
|
"array",
|
|
{
|
|
"countType": "varint",
|
|
"type": "position"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
],
|
|
"Brains": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "name",
|
|
"type": "string"
|
|
},
|
|
{
|
|
"name": "profession",
|
|
"type": "string"
|
|
},
|
|
{
|
|
"name": "xp",
|
|
"type": "i32"
|
|
},
|
|
{
|
|
"name": "health",
|
|
"type": "f32"
|
|
},
|
|
{
|
|
"name": "maxHealth",
|
|
"type": "f32"
|
|
},
|
|
{
|
|
"name": "inventory",
|
|
"type": "string"
|
|
},
|
|
{
|
|
"name": "wantsGolem",
|
|
"type": "bool"
|
|
},
|
|
{
|
|
"name": "angerLevel",
|
|
"type": "i32"
|
|
},
|
|
{
|
|
"name": "activities",
|
|
"type": [
|
|
"array",
|
|
{
|
|
"countType": "varint",
|
|
"type": "string"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "behaviors",
|
|
"type": [
|
|
"array",
|
|
{
|
|
"countType": "varint",
|
|
"type": "string"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "memories",
|
|
"type": [
|
|
"array",
|
|
{
|
|
"countType": "varint",
|
|
"type": "string"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "gossips",
|
|
"type": [
|
|
"array",
|
|
{
|
|
"countType": "varint",
|
|
"type": "string"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "pois",
|
|
"type": [
|
|
"array",
|
|
{
|
|
"countType": "varint",
|
|
"type": "position"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "potentialPois",
|
|
"type": [
|
|
"array",
|
|
{
|
|
"countType": "varint",
|
|
"type": "position"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
],
|
|
"Breezes": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "attackTarget",
|
|
"type": [
|
|
"option",
|
|
"varint"
|
|
]
|
|
},
|
|
{
|
|
"name": "jumpTarget",
|
|
"type": [
|
|
"option",
|
|
"position"
|
|
]
|
|
}
|
|
]
|
|
],
|
|
"GoalSelectors": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "priority",
|
|
"type": "varint"
|
|
},
|
|
{
|
|
"name": "running",
|
|
"type": "bool"
|
|
},
|
|
{
|
|
"name": "name",
|
|
"type": "string"
|
|
}
|
|
]
|
|
],
|
|
"EntityPaths": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "path",
|
|
"type": "Path"
|
|
},
|
|
{
|
|
"name": "maxNodeDistance",
|
|
"type": "f32"
|
|
}
|
|
]
|
|
],
|
|
"EntityBlockIntersections": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "id",
|
|
"type": "varint"
|
|
}
|
|
]
|
|
],
|
|
"BeeHives": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "type",
|
|
"type": "varint"
|
|
},
|
|
{
|
|
"name": "occupantCount",
|
|
"type": "varint"
|
|
},
|
|
{
|
|
"name": "honeyLevel",
|
|
"type": "varint"
|
|
},
|
|
{
|
|
"name": "sedated",
|
|
"type": "bool"
|
|
}
|
|
]
|
|
],
|
|
"Pois": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "pos",
|
|
"type": "position"
|
|
},
|
|
{
|
|
"name": "poiType",
|
|
"type": "varint"
|
|
},
|
|
{
|
|
"name": "freeTicketCount",
|
|
"type": "varint"
|
|
}
|
|
]
|
|
],
|
|
"RedstoneWireOrientations": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "index",
|
|
"type": "varint"
|
|
}
|
|
]
|
|
],
|
|
"Raids": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "positions",
|
|
"type": [
|
|
"array",
|
|
{
|
|
"countType": "varint",
|
|
"type": "position"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
],
|
|
"Structures": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "structures",
|
|
"type": [
|
|
"array",
|
|
{
|
|
"countType": "varint",
|
|
"type": "DebugStructureInfo"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
],
|
|
"GameEventListeners": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "listenerRadius",
|
|
"type": "varint"
|
|
}
|
|
]
|
|
],
|
|
"NeighborUpdates": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "pos",
|
|
"type": "position"
|
|
}
|
|
]
|
|
],
|
|
"GameEvents": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "event",
|
|
"type": "varint"
|
|
},
|
|
{
|
|
"name": "pos",
|
|
"type": "vec3f64"
|
|
}
|
|
]
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
],
|
|
"Particle": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "type",
|
|
"type": [
|
|
"mapper",
|
|
{
|
|
"type": "varint",
|
|
"mappings": {
|
|
"0": "angry_villager",
|
|
"1": "block",
|
|
"2": "block_marker",
|
|
"3": "bubble",
|
|
"4": "cloud",
|
|
"5": "copper_fire_flame",
|
|
"6": "crit",
|
|
"7": "damage_indicator",
|
|
"8": "dragon_breath",
|
|
"9": "dripping_lava",
|
|
"10": "falling_lava",
|
|
"11": "landing_lava",
|
|
"12": "dripping_water",
|
|
"13": "falling_water",
|
|
"14": "dust",
|
|
"15": "dust_color_transition",
|
|
"16": "effect",
|
|
"17": "elder_guardian",
|
|
"18": "enchanted_hit",
|
|
"19": "enchant",
|
|
"20": "end_rod",
|
|
"21": "entity_effect",
|
|
"22": "explosion_emitter",
|
|
"23": "explosion",
|
|
"24": "gust",
|
|
"25": "small_gust",
|
|
"26": "gust_emitter_large",
|
|
"27": "gust_emitter_small",
|
|
"28": "sonic_boom",
|
|
"29": "falling_dust",
|
|
"30": "firework",
|
|
"31": "fishing",
|
|
"32": "flame",
|
|
"33": "infested",
|
|
"34": "cherry_leaves",
|
|
"35": "pale_oak_leaves",
|
|
"36": "tinted_leaves",
|
|
"37": "sculk_soul",
|
|
"38": "sculk_charge",
|
|
"39": "sculk_charge_pop",
|
|
"40": "soul_fire_flame",
|
|
"41": "soul",
|
|
"42": "flash",
|
|
"43": "happy_villager",
|
|
"44": "composter",
|
|
"45": "heart",
|
|
"46": "instant_effect",
|
|
"47": "item",
|
|
"48": "vibration",
|
|
"49": "trail",
|
|
"50": "item_slime",
|
|
"51": "item_cobweb",
|
|
"52": "item_snowball",
|
|
"53": "large_smoke",
|
|
"54": "lava",
|
|
"55": "mycelium",
|
|
"56": "note",
|
|
"57": "poof",
|
|
"58": "portal",
|
|
"59": "rain",
|
|
"60": "smoke",
|
|
"61": "white_smoke",
|
|
"62": "sneeze",
|
|
"63": "spit",
|
|
"64": "squid_ink",
|
|
"65": "sweep_attack",
|
|
"66": "totem_of_undying",
|
|
"67": "underwater",
|
|
"68": "splash",
|
|
"69": "witch",
|
|
"70": "bubble_pop",
|
|
"71": "current_down",
|
|
"72": "bubble_column_up",
|
|
"73": "nautilus",
|
|
"74": "dolphin",
|
|
"75": "campfire_cosy_smoke",
|
|
"76": "campfire_signal_smoke",
|
|
"77": "dripping_honey",
|
|
"78": "falling_honey",
|
|
"79": "landing_honey",
|
|
"80": "falling_nectar",
|
|
"81": "falling_spore_blossom",
|
|
"82": "ash",
|
|
"83": "crimson_spore",
|
|
"84": "warped_spore",
|
|
"85": "spore_blossom_air",
|
|
"86": "dripping_obsidian_tear",
|
|
"87": "falling_obsidian_tear",
|
|
"88": "landing_obsidian_tear",
|
|
"89": "reverse_portal",
|
|
"90": "white_ash",
|
|
"91": "small_flame",
|
|
"92": "snowflake",
|
|
"93": "dripping_dripstone_lava",
|
|
"94": "falling_dripstone_lava",
|
|
"95": "dripping_dripstone_water",
|
|
"96": "falling_dripstone_water",
|
|
"97": "glow_squid_ink",
|
|
"98": "glow",
|
|
"99": "wax_on",
|
|
"100": "wax_off",
|
|
"101": "electric_spark",
|
|
"102": "scrape",
|
|
"103": "shriek",
|
|
"104": "egg_crack",
|
|
"105": "dust_plume",
|
|
"106": "trial_spawner_detected_player",
|
|
"107": "trial_spawner_detected_player_ominous",
|
|
"108": "vault_connection",
|
|
"109": "dust_pillar",
|
|
"110": "ominous_spawning",
|
|
"111": "raid_omen",
|
|
"112": "trial_omen",
|
|
"113": "block_crumble",
|
|
"114": "firefly"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "data",
|
|
"type": [
|
|
"switch",
|
|
{
|
|
"compareTo": "type",
|
|
"fields": {
|
|
"block": "varint",
|
|
"block_marker": "varint",
|
|
"falling_dust": "varint",
|
|
"dust_pillar": "varint",
|
|
"block_crumble": "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": "positionType",
|
|
"type": [
|
|
"mapper",
|
|
{
|
|
"type": "varint",
|
|
"mappings": {
|
|
"0": "block",
|
|
"1": "entity"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "position",
|
|
"type": [
|
|
"switch",
|
|
{
|
|
"compareTo": "positionType",
|
|
"fields": {
|
|
"block": "position",
|
|
"entity": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "entityId",
|
|
"type": "varint"
|
|
},
|
|
{
|
|
"name": "entityEyeHeight",
|
|
"type": "f32"
|
|
}
|
|
]
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "ticks",
|
|
"type": "varint"
|
|
}
|
|
]
|
|
],
|
|
"trail": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "target",
|
|
"type": "vec3f64"
|
|
},
|
|
{
|
|
"name": "color",
|
|
"type": "u8"
|
|
}
|
|
]
|
|
],
|
|
"tinted_leaves": "i32",
|
|
"firefly": "void",
|
|
"dragon_breath": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "power",
|
|
"type": "f32"
|
|
}
|
|
]
|
|
],
|
|
"effect": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "color",
|
|
"type": "i32"
|
|
},
|
|
{
|
|
"name": "power",
|
|
"type": "f32"
|
|
}
|
|
]
|
|
],
|
|
"instant_effect": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "color",
|
|
"type": "i32"
|
|
},
|
|
{
|
|
"name": "power",
|
|
"type": "f32"
|
|
}
|
|
]
|
|
],
|
|
"flash": "i32"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
],
|
|
"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",
|
|
"10": "ui"
|
|
}
|
|
}
|
|
],
|
|
"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": "particle",
|
|
"17": "particles",
|
|
"18": "villager_data",
|
|
"19": "optional_unsigned_int",
|
|
"20": "pose",
|
|
"21": "cat_variant",
|
|
"22": "cow_variant",
|
|
"23": "wolf_variant",
|
|
"24": "wolf_sound_variant",
|
|
"25": "frog_variant",
|
|
"26": "pig_variant",
|
|
"27": "chicken_variant",
|
|
"28": "zombie_nautilus_variant",
|
|
"29": "optional_global_pos",
|
|
"30": "painting_variant",
|
|
"31": "sniffer_state",
|
|
"32": "armadillo_state",
|
|
"33": "copper_golem_state",
|
|
"34": "weathering_copper_golem_state",
|
|
"35": "vector3",
|
|
"36": "quaternion",
|
|
"37": "resolvable_profile",
|
|
"38": "humanoid_arm"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"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",
|
|
"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",
|
|
"cow_variant": "varint",
|
|
"wolf_variant": "varint",
|
|
"wolf_sound_variant": "varint",
|
|
"frog_variant": "varint",
|
|
"pig_variant": "varint",
|
|
"chicken_variant": "varint",
|
|
"zombie_nautilus_variant": "varint",
|
|
"optional_global_pos": [
|
|
"option",
|
|
"GlobalPos"
|
|
],
|
|
"painting_variant": [
|
|
"registryEntryHolder",
|
|
{
|
|
"baseName": "variantId",
|
|
"otherwise": {
|
|
"name": "variantData",
|
|
"type": "EntityMetadataPaintingVariant"
|
|
}
|
|
}
|
|
],
|
|
"sniffer_state": "varint",
|
|
"armadillo_state": "varint",
|
|
"copper_golem_state": "varint",
|
|
"weathering_copper_golem_state": "varint",
|
|
"vector3": "vec3f",
|
|
"quaternion": "vec4f",
|
|
"resolvable_profile": "ResolvableProfile",
|
|
"humanoid_arm": [
|
|
"mapper",
|
|
{
|
|
"type": "varint",
|
|
"mappings": {
|
|
"0": "left",
|
|
"1": "right"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
],
|
|
"EntityMetadataPaintingVariant": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "width",
|
|
"type": "i32"
|
|
},
|
|
{
|
|
"name": "height",
|
|
"type": "i32"
|
|
},
|
|
{
|
|
"name": "assetId",
|
|
"type": "string"
|
|
},
|
|
{
|
|
"name": "title",
|
|
"type": [
|
|
"option",
|
|
"anonymousNbt"
|
|
]
|
|
},
|
|
{
|
|
"name": "author",
|
|
"type": [
|
|
"option",
|
|
"anonymousNbt"
|
|
]
|
|
}
|
|
]
|
|
],
|
|
"entityMetadata": [
|
|
"entityMetadataLoop",
|
|
{
|
|
"endVal": 255,
|
|
"type": "entityMetadataEntry"
|
|
}
|
|
],
|
|
"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_name_prop": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "name",
|
|
"type": "string"
|
|
},
|
|
{
|
|
"name": "properties",
|
|
"type": [
|
|
"array",
|
|
{
|
|
"countType": "varint",
|
|
"type": "GameProfileProperty"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
],
|
|
"GameProfile": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "uuid",
|
|
"type": "UUID"
|
|
},
|
|
{
|
|
"name": "name",
|
|
"type": "string"
|
|
},
|
|
{
|
|
"name": "properties",
|
|
"type": [
|
|
"array",
|
|
{
|
|
"countType": "varint",
|
|
"type": "GameProfileProperty"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
],
|
|
"PartialResolvableProfile": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "name",
|
|
"type": [
|
|
"option",
|
|
"string"
|
|
]
|
|
},
|
|
{
|
|
"name": "uuid",
|
|
"type": [
|
|
"option",
|
|
"UUID"
|
|
]
|
|
},
|
|
{
|
|
"name": "properties",
|
|
"type": [
|
|
"array",
|
|
{
|
|
"countType": "varint",
|
|
"type": "GameProfileProperty"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
],
|
|
"GameProfileProperty": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "name",
|
|
"type": "string"
|
|
},
|
|
{
|
|
"name": "value",
|
|
"type": "string"
|
|
},
|
|
{
|
|
"name": "signature",
|
|
"type": [
|
|
"option",
|
|
"string"
|
|
]
|
|
}
|
|
]
|
|
],
|
|
"ResolvableProfile": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "type",
|
|
"type": [
|
|
"mapper",
|
|
{
|
|
"type": "varint",
|
|
"mappings": {
|
|
"0": "partial",
|
|
"1": "complete"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"anon": true,
|
|
"type": [
|
|
"switch",
|
|
{
|
|
"compareTo": "type",
|
|
"fields": {
|
|
"partial": "PartialResolvableProfile",
|
|
"complete": "GameProfile"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "skinPatch",
|
|
"type": "PlayerSkinPatch"
|
|
}
|
|
]
|
|
],
|
|
"PlayerSkinPatch": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "body",
|
|
"type": [
|
|
"option",
|
|
"string"
|
|
]
|
|
},
|
|
{
|
|
"name": "cape",
|
|
"type": [
|
|
"option",
|
|
"string"
|
|
]
|
|
},
|
|
{
|
|
"name": "elytra",
|
|
"type": [
|
|
"option",
|
|
"string"
|
|
]
|
|
},
|
|
{
|
|
"name": "model",
|
|
"type": [
|
|
"option",
|
|
[
|
|
"mapper",
|
|
{
|
|
"type": "varint",
|
|
"mappings": {
|
|
"0": "wide",
|
|
"1": "slim"
|
|
}
|
|
}
|
|
]
|
|
]
|
|
}
|
|
]
|
|
],
|
|
"command_node": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "flags",
|
|
"type": [
|
|
"bitfield",
|
|
[
|
|
{
|
|
"name": "allows_restricted",
|
|
"size": 1,
|
|
"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:hex_color",
|
|
"18": "minecraft:component",
|
|
"19": "minecraft:style",
|
|
"20": "minecraft:message",
|
|
"21": "minecraft:nbt",
|
|
"22": "minecraft:nbt_tag",
|
|
"23": "minecraft:nbt_path",
|
|
"24": "minecraft:objective",
|
|
"25": "minecraft:objective_criteria",
|
|
"26": "minecraft:operation",
|
|
"27": "minecraft:particle",
|
|
"28": "minecraft:angle",
|
|
"29": "minecraft:rotation",
|
|
"30": "minecraft:scoreboard_slot",
|
|
"31": "minecraft:score_holder",
|
|
"32": "minecraft:swizzle",
|
|
"33": "minecraft:team",
|
|
"34": "minecraft:item_slot",
|
|
"35": "minecraft:item_slots",
|
|
"36": "minecraft:resource_location",
|
|
"37": "minecraft:function",
|
|
"38": "minecraft:entity_anchor",
|
|
"39": "minecraft:int_range",
|
|
"40": "minecraft:float_range",
|
|
"41": "minecraft:dimension",
|
|
"42": "minecraft:gamemode",
|
|
"43": "minecraft:time",
|
|
"44": "minecraft:resource_or_tag",
|
|
"45": "minecraft:resource_or_tag_key",
|
|
"46": "minecraft:resource",
|
|
"47": "minecraft:resource_key",
|
|
"48": "minecraft:resource_selector",
|
|
"49": "minecraft:template_mirror",
|
|
"50": "minecraft:template_rotation",
|
|
"51": "minecraft:heightmap",
|
|
"52": "minecraft:loot_table",
|
|
"53": "minecraft:loot_predicate",
|
|
"54": "minecraft:loot_modifier",
|
|
"55": "minecraft:dialog",
|
|
"56": "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:hex_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:resource_selector": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "registry",
|
|
"type": "string"
|
|
}
|
|
]
|
|
],
|
|
"minecraft:template_mirror": "void",
|
|
"minecraft:template_rotation": "void",
|
|
"minecraft:heightmap": "void",
|
|
"minecraft:dialog": "void",
|
|
"minecraft:uuid": "void"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "suggestionType",
|
|
"type": [
|
|
"switch",
|
|
{
|
|
"compareTo": "../flags/has_custom_suggestions",
|
|
"fields": {
|
|
"1": "string"
|
|
},
|
|
"default": "void"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
],
|
|
"packet_common_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"
|
|
},
|
|
{
|
|
"name": "particleStatus",
|
|
"type": [
|
|
"mapper",
|
|
{
|
|
"type": "varint",
|
|
"mappings": {
|
|
"0": "all",
|
|
"1": "decreased",
|
|
"2": "minimal"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
],
|
|
"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": [
|
|
"option",
|
|
"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"
|
|
}
|
|
]
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
],
|
|
"packet_common_custom_report_details": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "details",
|
|
"type": [
|
|
"array",
|
|
{
|
|
"countType": "varint",
|
|
"type": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "key",
|
|
"type": "string"
|
|
},
|
|
{
|
|
"name": "value",
|
|
"type": "string"
|
|
}
|
|
]
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
],
|
|
"packet_common_remove_resource_pack": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "uuid",
|
|
"type": [
|
|
"option",
|
|
"UUID"
|
|
]
|
|
}
|
|
]
|
|
],
|
|
"packet_common_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"
|
|
]
|
|
}
|
|
]
|
|
],
|
|
"ServerLinkType": [
|
|
"mapper",
|
|
{
|
|
"type": "varint",
|
|
"mappings": {
|
|
"0": "bug_report",
|
|
"1": "community_guidelines",
|
|
"2": "support",
|
|
"3": "status",
|
|
"4": "feedback",
|
|
"5": "community",
|
|
"6": "website",
|
|
"7": "forums",
|
|
"8": "news",
|
|
"9": "announcements"
|
|
}
|
|
}
|
|
],
|
|
"packet_common_server_links": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "links",
|
|
"type": [
|
|
"array",
|
|
{
|
|
"countType": "varint",
|
|
"type": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "hasKnownType",
|
|
"type": "bool"
|
|
},
|
|
{
|
|
"name": "knownType",
|
|
"type": [
|
|
"switch",
|
|
{
|
|
"compareTo": "hasKnownType",
|
|
"fields": {
|
|
"true": "ServerLinkType"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "unknownType",
|
|
"type": [
|
|
"switch",
|
|
{
|
|
"compareTo": "hasKnownType",
|
|
"fields": {
|
|
"false": "anonymousNbt"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "link",
|
|
"type": "string"
|
|
}
|
|
]
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
],
|
|
"packet_common_clear_dialog": [
|
|
"container",
|
|
[]
|
|
],
|
|
"packet_common_custom_click_action": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "id",
|
|
"type": "string"
|
|
},
|
|
{
|
|
"name": "nbt",
|
|
"type": [
|
|
"option",
|
|
"anonymousNbt"
|
|
]
|
|
}
|
|
]
|
|
]
|
|
},
|
|
"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": {
|
|
"0x00": "set_protocol",
|
|
"0xfe": "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"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"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": {
|
|
"0x00": "server_info",
|
|
"0x01": "ping"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "params",
|
|
"type": [
|
|
"switch",
|
|
{
|
|
"compareTo": "name",
|
|
"fields": {
|
|
"server_info": "packet_server_info",
|
|
"ping": "packet_ping"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
]
|
|
}
|
|
},
|
|
"toServer": {
|
|
"types": {
|
|
"packet_ping_start": [
|
|
"container",
|
|
[]
|
|
],
|
|
"packet_ping": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "time",
|
|
"type": "i64"
|
|
}
|
|
]
|
|
],
|
|
"packet": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "name",
|
|
"type": [
|
|
"mapper",
|
|
{
|
|
"type": "varint",
|
|
"mappings": {
|
|
"0x00": "ping_start",
|
|
"0x01": "ping"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "params",
|
|
"type": [
|
|
"switch",
|
|
{
|
|
"compareTo": "name",
|
|
"fields": {
|
|
"ping_start": "packet_ping_start",
|
|
"ping": "packet_ping"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"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"
|
|
]
|
|
}
|
|
]
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
],
|
|
"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": {
|
|
"0x00": "disconnect",
|
|
"0x01": "encryption_begin",
|
|
"0x02": "success",
|
|
"0x03": "compress",
|
|
"0x04": "login_plugin_request",
|
|
"0x05": "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"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
]
|
|
}
|
|
},
|
|
"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": {
|
|
"0x00": "login_start",
|
|
"0x01": "encryption_begin",
|
|
"0x02": "login_plugin_response",
|
|
"0x03": "login_acknowledged",
|
|
"0x04": "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"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"configuration": {
|
|
"toClient": {
|
|
"types": {
|
|
"packet_code_of_conduct": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "contents",
|
|
"type": "string"
|
|
}
|
|
]
|
|
],
|
|
"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_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_show_dialog": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "dialog",
|
|
"type": "anonymousNbt"
|
|
}
|
|
]
|
|
],
|
|
"packet": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "name",
|
|
"type": [
|
|
"mapper",
|
|
{
|
|
"type": "varint",
|
|
"mappings": {
|
|
"0x00": "cookie_request",
|
|
"0x01": "custom_payload",
|
|
"0x02": "disconnect",
|
|
"0x03": "finish_configuration",
|
|
"0x04": "keep_alive",
|
|
"0x05": "ping",
|
|
"0x06": "reset_chat",
|
|
"0x07": "registry_data",
|
|
"0x08": "remove_resource_pack",
|
|
"0x09": "add_resource_pack",
|
|
"0x0a": "store_cookie",
|
|
"0x0b": "transfer",
|
|
"0x0c": "feature_flags",
|
|
"0x0d": "tags",
|
|
"0x0e": "select_known_packs",
|
|
"0x0f": "custom_report_details",
|
|
"0x10": "server_links",
|
|
"0x11": "clear_dialog",
|
|
"0x12": "show_dialog",
|
|
"0x13": "code_of_conduct"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"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_common_remove_resource_pack",
|
|
"add_resource_pack": "packet_common_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",
|
|
"custom_report_details": "packet_common_custom_report_details",
|
|
"server_links": "packet_common_server_links",
|
|
"clear_dialog": "packet_common_clear_dialog",
|
|
"show_dialog": "packet_show_dialog",
|
|
"code_of_conduct": "packet_code_of_conduct"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
]
|
|
}
|
|
},
|
|
"toServer": {
|
|
"types": {
|
|
"packet_accept_code_of_conduct": [
|
|
"container",
|
|
[]
|
|
],
|
|
"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": {
|
|
"0x00": "settings",
|
|
"0x01": "cookie_response",
|
|
"0x02": "custom_payload",
|
|
"0x03": "finish_configuration",
|
|
"0x04": "keep_alive",
|
|
"0x05": "pong",
|
|
"0x06": "resource_pack_receive",
|
|
"0x07": "select_known_packs",
|
|
"0x08": "custom_click_action",
|
|
"0x09": "accept_code_of_conduct"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "params",
|
|
"type": [
|
|
"switch",
|
|
{
|
|
"compareTo": "name",
|
|
"fields": {
|
|
"settings": "packet_common_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",
|
|
"custom_click_action": "packet_common_custom_click_action",
|
|
"accept_code_of_conduct": "packet_accept_code_of_conduct"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"play": {
|
|
"toClient": {
|
|
"types": {
|
|
"packet_bundle_delimiter": [
|
|
"container",
|
|
[]
|
|
],
|
|
"SlotDisplay": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "type",
|
|
"type": [
|
|
"mapper",
|
|
{
|
|
"type": "varint",
|
|
"mappings": {
|
|
"0": "empty",
|
|
"1": "any_fuel",
|
|
"2": "item",
|
|
"3": "item_stack",
|
|
"4": "tag",
|
|
"5": "smithing_trim",
|
|
"6": "with_remainder",
|
|
"7": "composite"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "data",
|
|
"type": [
|
|
"switch",
|
|
{
|
|
"compareTo": "type",
|
|
"fields": {
|
|
"empty": "void",
|
|
"any_fuel": "void",
|
|
"item": "varint",
|
|
"item_stack": "Slot",
|
|
"tag": "string",
|
|
"smithing_trim": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "base",
|
|
"type": "SlotDisplay"
|
|
},
|
|
{
|
|
"name": "material",
|
|
"type": "SlotDisplay"
|
|
},
|
|
{
|
|
"name": "pattern",
|
|
"type": [
|
|
"registryEntryHolder",
|
|
{
|
|
"baseName": "patternId",
|
|
"otherwise": {
|
|
"name": "data",
|
|
"type": "ArmorTrimPattern"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
],
|
|
"with_remainder": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "input",
|
|
"type": "SlotDisplay"
|
|
},
|
|
{
|
|
"name": "remainder",
|
|
"type": "SlotDisplay"
|
|
}
|
|
]
|
|
],
|
|
"composite": [
|
|
"array",
|
|
{
|
|
"countType": "varint",
|
|
"type": "SlotDisplay"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
],
|
|
"RecipeDisplay": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "type",
|
|
"type": [
|
|
"mapper",
|
|
{
|
|
"type": "varint",
|
|
"mappings": {
|
|
"0": "crafting_shapeless",
|
|
"1": "crafting_shaped",
|
|
"2": "furnace",
|
|
"3": "stonecutter",
|
|
"4": "smithing"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "data",
|
|
"type": [
|
|
"switch",
|
|
{
|
|
"compareTo": "type",
|
|
"fields": {
|
|
"crafting_shapeless": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "ingredients",
|
|
"type": [
|
|
"array",
|
|
{
|
|
"countType": "varint",
|
|
"type": "SlotDisplay"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "result",
|
|
"type": "SlotDisplay"
|
|
},
|
|
{
|
|
"name": "craftingStation",
|
|
"type": "SlotDisplay"
|
|
}
|
|
]
|
|
],
|
|
"crafting_shaped": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "width",
|
|
"type": "varint"
|
|
},
|
|
{
|
|
"name": "height",
|
|
"type": "varint"
|
|
},
|
|
{
|
|
"name": "ingredients",
|
|
"type": [
|
|
"array",
|
|
{
|
|
"countType": "varint",
|
|
"type": "SlotDisplay"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "result",
|
|
"type": "SlotDisplay"
|
|
},
|
|
{
|
|
"name": "craftingStation",
|
|
"type": "SlotDisplay"
|
|
}
|
|
]
|
|
],
|
|
"furnace": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "ingredient",
|
|
"type": "SlotDisplay"
|
|
},
|
|
{
|
|
"name": "fuel",
|
|
"type": "SlotDisplay"
|
|
},
|
|
{
|
|
"name": "result",
|
|
"type": "SlotDisplay"
|
|
},
|
|
{
|
|
"name": "craftingStation",
|
|
"type": "SlotDisplay"
|
|
},
|
|
{
|
|
"name": "duration",
|
|
"type": "varint"
|
|
},
|
|
{
|
|
"name": "experience",
|
|
"type": "f32"
|
|
}
|
|
]
|
|
],
|
|
"stonecutter": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "ingredient",
|
|
"type": "SlotDisplay"
|
|
},
|
|
{
|
|
"name": "result",
|
|
"type": "SlotDisplay"
|
|
},
|
|
{
|
|
"name": "craftingStation",
|
|
"type": "SlotDisplay"
|
|
}
|
|
]
|
|
],
|
|
"smithing": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "template",
|
|
"type": "SlotDisplay"
|
|
},
|
|
{
|
|
"name": "base",
|
|
"type": "SlotDisplay"
|
|
},
|
|
{
|
|
"name": "addition",
|
|
"type": "SlotDisplay"
|
|
},
|
|
{
|
|
"name": "result",
|
|
"type": "SlotDisplay"
|
|
},
|
|
{
|
|
"name": "craftingStation",
|
|
"type": "SlotDisplay"
|
|
}
|
|
]
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
],
|
|
"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",
|
|
"GlobalPos"
|
|
]
|
|
},
|
|
{
|
|
"name": "portalCooldown",
|
|
"type": "varint"
|
|
},
|
|
{
|
|
"name": "seaLevel",
|
|
"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": "velocity",
|
|
"type": "lpVec3"
|
|
},
|
|
{
|
|
"name": "pitch",
|
|
"type": "i8"
|
|
},
|
|
{
|
|
"name": "yaw",
|
|
"type": "i8"
|
|
},
|
|
{
|
|
"name": "headPitch",
|
|
"type": "i8"
|
|
},
|
|
{
|
|
"name": "objectData",
|
|
"type": "varint"
|
|
}
|
|
]
|
|
],
|
|
"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": [
|
|
"mapper",
|
|
{
|
|
"type": "varint",
|
|
"mappings": {
|
|
"0": "peaceful",
|
|
"1": "easy",
|
|
"2": "normal",
|
|
"3": "hard"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"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": "ContainerID"
|
|
}
|
|
]
|
|
],
|
|
"packet_window_items": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "windowId",
|
|
"type": "ContainerID"
|
|
},
|
|
{
|
|
"name": "stateId",
|
|
"type": "varint"
|
|
},
|
|
{
|
|
"name": "items",
|
|
"type": [
|
|
"array",
|
|
{
|
|
"countType": "varint",
|
|
"type": "Slot"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "carriedItem",
|
|
"type": "Slot"
|
|
}
|
|
]
|
|
],
|
|
"packet_craft_progress_bar": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "windowId",
|
|
"type": "ContainerID"
|
|
},
|
|
{
|
|
"name": "property",
|
|
"type": "i16"
|
|
},
|
|
{
|
|
"name": "value",
|
|
"type": "i16"
|
|
}
|
|
]
|
|
],
|
|
"packet_set_slot": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "windowId",
|
|
"type": "ContainerID"
|
|
},
|
|
{
|
|
"name": "stateId",
|
|
"type": "varint"
|
|
},
|
|
{
|
|
"name": "slot",
|
|
"type": "i16"
|
|
},
|
|
{
|
|
"name": "item",
|
|
"type": "Slot"
|
|
}
|
|
]
|
|
],
|
|
"packet_set_cooldown": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "cooldownGroup",
|
|
"type": "string"
|
|
},
|
|
{
|
|
"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_block_value": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "blockPos",
|
|
"type": "position"
|
|
},
|
|
{
|
|
"name": "update",
|
|
"type": "DebugSubscriptionUpdate"
|
|
}
|
|
]
|
|
],
|
|
"packet_debug_chunk_value": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "chunkPos",
|
|
"type": "packedChunkPos"
|
|
},
|
|
{
|
|
"name": "update",
|
|
"type": "DebugSubscriptionUpdate"
|
|
}
|
|
]
|
|
],
|
|
"packet_debug_entity_value": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "entityId",
|
|
"type": "varint"
|
|
},
|
|
{
|
|
"name": "update",
|
|
"type": "DebugSubscriptionUpdate"
|
|
}
|
|
]
|
|
],
|
|
"packet_debug_event": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "event",
|
|
"type": "DebugSubscriptionEvent"
|
|
}
|
|
]
|
|
],
|
|
"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"
|
|
}
|
|
]
|
|
],
|
|
"ChatTypeParameterType": [
|
|
"mapper",
|
|
{
|
|
"type": "varint",
|
|
"mappings": {
|
|
"0": "content",
|
|
"1": "sender",
|
|
"2": "target"
|
|
}
|
|
}
|
|
],
|
|
"ChatType": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "translationKey",
|
|
"type": "string"
|
|
},
|
|
{
|
|
"name": "parameters",
|
|
"type": [
|
|
"array",
|
|
{
|
|
"countType": "varint",
|
|
"type": "ChatTypeParameterType"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "style",
|
|
"type": "anonymousNbt"
|
|
}
|
|
]
|
|
],
|
|
"ChatTypes": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "chat",
|
|
"type": "ChatType"
|
|
},
|
|
{
|
|
"name": "narration",
|
|
"type": "ChatType"
|
|
}
|
|
]
|
|
],
|
|
"ChatTypesHolder": [
|
|
"registryEntryHolder",
|
|
{
|
|
"baseName": "chatType",
|
|
"otherwise": {
|
|
"name": "data",
|
|
"type": "ChatTypes"
|
|
}
|
|
}
|
|
],
|
|
"packet_profileless_chat": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "message",
|
|
"type": "anonymousNbt"
|
|
},
|
|
{
|
|
"name": "type",
|
|
"type": "ChatTypesHolder"
|
|
},
|
|
{
|
|
"name": "name",
|
|
"type": "anonymousNbt"
|
|
},
|
|
{
|
|
"name": "target",
|
|
"type": [
|
|
"option",
|
|
"anonymousNbt"
|
|
]
|
|
}
|
|
]
|
|
],
|
|
"packet_entity_status": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "entityId",
|
|
"type": "i32"
|
|
},
|
|
{
|
|
"name": "entityStatus",
|
|
"type": "i8"
|
|
}
|
|
]
|
|
],
|
|
"packet_sync_entity_position": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "entityId",
|
|
"type": "varint"
|
|
},
|
|
{
|
|
"name": "x",
|
|
"type": "f64"
|
|
},
|
|
{
|
|
"name": "y",
|
|
"type": "f64"
|
|
},
|
|
{
|
|
"name": "z",
|
|
"type": "f64"
|
|
},
|
|
{
|
|
"name": "dx",
|
|
"type": "f64"
|
|
},
|
|
{
|
|
"name": "dy",
|
|
"type": "f64"
|
|
},
|
|
{
|
|
"name": "dz",
|
|
"type": "f64"
|
|
},
|
|
{
|
|
"name": "yaw",
|
|
"type": "f32"
|
|
},
|
|
{
|
|
"name": "pitch",
|
|
"type": "f32"
|
|
},
|
|
{
|
|
"name": "onGround",
|
|
"type": "bool"
|
|
}
|
|
]
|
|
],
|
|
"ExplosionParticleInfo": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "particle",
|
|
"type": "Particle"
|
|
},
|
|
{
|
|
"name": "scaling",
|
|
"type": "f32"
|
|
},
|
|
{
|
|
"name": "speed",
|
|
"type": "f32"
|
|
}
|
|
]
|
|
],
|
|
"ExplosionParticleEntry": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "data",
|
|
"type": "ExplosionParticleInfo"
|
|
},
|
|
{
|
|
"name": "weight",
|
|
"type": "varint"
|
|
}
|
|
]
|
|
],
|
|
"packet_explosion": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "center",
|
|
"type": "vec3f64"
|
|
},
|
|
{
|
|
"name": "radius",
|
|
"type": "f32"
|
|
},
|
|
{
|
|
"name": "blockCount",
|
|
"type": "i32"
|
|
},
|
|
{
|
|
"name": "playerKnockback",
|
|
"type": [
|
|
"option",
|
|
"vec3f64"
|
|
]
|
|
},
|
|
{
|
|
"name": "explosionParticle",
|
|
"type": "Particle"
|
|
},
|
|
{
|
|
"name": "sound",
|
|
"type": "ItemSoundHolder"
|
|
},
|
|
{
|
|
"name": "blockParticles",
|
|
"type": [
|
|
"array",
|
|
{
|
|
"countType": "varint",
|
|
"type": "ExplosionParticleEntry"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
],
|
|
"packet_unload_chunk": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "chunkZ",
|
|
"type": "i32"
|
|
},
|
|
{
|
|
"name": "chunkX",
|
|
"type": "i32"
|
|
}
|
|
]
|
|
],
|
|
"packet_game_state_change": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "reason",
|
|
"type": [
|
|
"mapper",
|
|
{
|
|
"type": "u8",
|
|
"mappings": {
|
|
"0": "no_respawn_block_available",
|
|
"1": "start_raining",
|
|
"2": "stop_raining",
|
|
"3": "change_game_mode",
|
|
"4": "win_game",
|
|
"5": "demo_event",
|
|
"6": "play_arrow_hit_sound",
|
|
"7": "rain_level_change",
|
|
"8": "thunder_level_change",
|
|
"9": "puffer_fish_sting",
|
|
"10": "guardian_elder_effect",
|
|
"11": "immediate_respawn",
|
|
"12": "limited_crafting",
|
|
"13": "level_chunks_load_start"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "gameMode",
|
|
"type": "f32"
|
|
}
|
|
]
|
|
],
|
|
"packet_game_test_highlight_pos": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "absolutePos",
|
|
"type": "position"
|
|
},
|
|
{
|
|
"name": "relativePos",
|
|
"type": "position"
|
|
}
|
|
]
|
|
],
|
|
"packet_open_horse_window": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "windowId",
|
|
"type": "ContainerID"
|
|
},
|
|
{
|
|
"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": [
|
|
"array",
|
|
{
|
|
"countType": "varint",
|
|
"type": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "type",
|
|
"type": [
|
|
"mapper",
|
|
{
|
|
"type": "varint",
|
|
"mappings": {
|
|
"0": "world_surface_wg",
|
|
"1": "world_surface",
|
|
"2": "ocean_floor_wg",
|
|
"3": "ocean_floor",
|
|
"4": "motion_blocking",
|
|
"5": "motion_blocking_no_leaves"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "data",
|
|
"type": [
|
|
"array",
|
|
{
|
|
"countType": "varint",
|
|
"type": "i64"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "chunkData",
|
|
"type": "ByteArray"
|
|
},
|
|
{
|
|
"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": "alwaysShow",
|
|
"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": "ContainerID"
|
|
},
|
|
{
|
|
"name": "trades",
|
|
"type": [
|
|
"array",
|
|
{
|
|
"countType": "varint",
|
|
"type": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "inputItem1",
|
|
"type": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "itemId",
|
|
"type": "varint"
|
|
},
|
|
{
|
|
"name": "itemCount",
|
|
"type": "varint"
|
|
},
|
|
{
|
|
"name": "components",
|
|
"type": "ExactComponentMatcher"
|
|
}
|
|
]
|
|
]
|
|
},
|
|
{
|
|
"name": "outputItem",
|
|
"type": "Slot"
|
|
},
|
|
{
|
|
"name": "inputItem2",
|
|
"type": [
|
|
"option",
|
|
[
|
|
"container",
|
|
[
|
|
{
|
|
"name": "itemId",
|
|
"type": "varint"
|
|
},
|
|
{
|
|
"name": "itemCount",
|
|
"type": "varint"
|
|
},
|
|
{
|
|
"name": "components",
|
|
"type": "ExactComponentMatcher"
|
|
}
|
|
]
|
|
]
|
|
]
|
|
},
|
|
{
|
|
"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_move_minecart": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "entityId",
|
|
"type": "varint"
|
|
},
|
|
{
|
|
"name": "steps",
|
|
"type": [
|
|
"array",
|
|
{
|
|
"countType": "varint",
|
|
"type": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "position",
|
|
"type": "vec3f"
|
|
},
|
|
{
|
|
"name": "velocity",
|
|
"type": "vec3f"
|
|
},
|
|
{
|
|
"name": "yaw",
|
|
"type": "f32"
|
|
},
|
|
{
|
|
"name": "pitch",
|
|
"type": "f32"
|
|
},
|
|
{
|
|
"name": "weight",
|
|
"type": "f32"
|
|
}
|
|
]
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
],
|
|
"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": "ContainerID"
|
|
},
|
|
{
|
|
"name": "recipeDisplay",
|
|
"type": "RecipeDisplay"
|
|
}
|
|
]
|
|
],
|
|
"packet_abilities": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "flags",
|
|
"type": "i8"
|
|
},
|
|
{
|
|
"name": "flyingSpeed",
|
|
"type": "f32"
|
|
},
|
|
{
|
|
"name": "walkingSpeed",
|
|
"type": "f32"
|
|
}
|
|
]
|
|
],
|
|
"packet_player_chat": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "globalIndex",
|
|
"type": "varint"
|
|
},
|
|
{
|
|
"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": "ChatTypesHolder"
|
|
},
|
|
{
|
|
"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": [
|
|
"bitflags",
|
|
{
|
|
"type": "u8",
|
|
"flags": [
|
|
"add_player",
|
|
"initialize_chat",
|
|
"update_game_mode",
|
|
"update_listed",
|
|
"update_latency",
|
|
"update_display_name",
|
|
"update_hat",
|
|
"update_list_order"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "data",
|
|
"type": [
|
|
"array",
|
|
{
|
|
"countType": "varint",
|
|
"type": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "uuid",
|
|
"type": "UUID"
|
|
},
|
|
{
|
|
"name": "player",
|
|
"type": [
|
|
"switch",
|
|
{
|
|
"compareTo": "../action/add_player",
|
|
"fields": {
|
|
"true": "game_profile_name_prop"
|
|
},
|
|
"default": "void"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "chatSession",
|
|
"type": [
|
|
"switch",
|
|
{
|
|
"compareTo": "../action/initialize_chat",
|
|
"fields": {
|
|
"true": "chat_session"
|
|
},
|
|
"default": "void"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "gamemode",
|
|
"type": [
|
|
"switch",
|
|
{
|
|
"compareTo": "../action/update_game_mode",
|
|
"fields": {
|
|
"true": "varint"
|
|
},
|
|
"default": "void"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "listed",
|
|
"type": [
|
|
"switch",
|
|
{
|
|
"compareTo": "../action/update_listed",
|
|
"fields": {
|
|
"true": "varint"
|
|
},
|
|
"default": "void"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "latency",
|
|
"type": [
|
|
"switch",
|
|
{
|
|
"compareTo": "../action/update_latency",
|
|
"fields": {
|
|
"true": "varint"
|
|
},
|
|
"default": "void"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "displayName",
|
|
"type": [
|
|
"switch",
|
|
{
|
|
"compareTo": "../action/update_display_name",
|
|
"fields": {
|
|
"true": [
|
|
"option",
|
|
"anonymousNbt"
|
|
]
|
|
},
|
|
"default": "void"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "listPriority",
|
|
"type": [
|
|
"switch",
|
|
{
|
|
"compareTo": "../action/update_list_order",
|
|
"fields": {
|
|
"true": "varint"
|
|
},
|
|
"default": "void"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "showHat",
|
|
"type": [
|
|
"switch",
|
|
{
|
|
"compareTo": "../action/update_hat",
|
|
"fields": {
|
|
"true": "bool"
|
|
},
|
|
"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"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
],
|
|
"PositionUpdateRelatives": [
|
|
"bitflags",
|
|
{
|
|
"type": "u32",
|
|
"flags": [
|
|
"x",
|
|
"y",
|
|
"z",
|
|
"yaw",
|
|
"pitch",
|
|
"dx",
|
|
"dy",
|
|
"dz",
|
|
"yawDelta"
|
|
]
|
|
}
|
|
],
|
|
"packet_position": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "teleportId",
|
|
"type": "varint"
|
|
},
|
|
{
|
|
"name": "x",
|
|
"type": "f64"
|
|
},
|
|
{
|
|
"name": "y",
|
|
"type": "f64"
|
|
},
|
|
{
|
|
"name": "z",
|
|
"type": "f64"
|
|
},
|
|
{
|
|
"name": "dx",
|
|
"type": "f64"
|
|
},
|
|
{
|
|
"name": "dy",
|
|
"type": "f64"
|
|
},
|
|
{
|
|
"name": "dz",
|
|
"type": "f64"
|
|
},
|
|
{
|
|
"name": "yaw",
|
|
"type": "f32"
|
|
},
|
|
{
|
|
"name": "pitch",
|
|
"type": "f32"
|
|
},
|
|
{
|
|
"name": "flags",
|
|
"type": "PositionUpdateRelatives"
|
|
}
|
|
]
|
|
],
|
|
"packet_player_rotation": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "yaw",
|
|
"type": "f32"
|
|
},
|
|
{
|
|
"name": "relativeYaw",
|
|
"type": "bool"
|
|
},
|
|
{
|
|
"name": "pitch",
|
|
"type": "f32"
|
|
},
|
|
{
|
|
"name": "relativePitch",
|
|
"type": "bool"
|
|
}
|
|
]
|
|
],
|
|
"packet_recipe_book_add": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "entries",
|
|
"type": [
|
|
"array",
|
|
{
|
|
"countType": "varint",
|
|
"type": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "recipe",
|
|
"type": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "displayId",
|
|
"type": "varint"
|
|
},
|
|
{
|
|
"name": "display",
|
|
"type": "RecipeDisplay"
|
|
},
|
|
{
|
|
"name": "group",
|
|
"type": "optvarint"
|
|
},
|
|
{
|
|
"name": "category",
|
|
"type": [
|
|
"mapper",
|
|
{
|
|
"type": "varint",
|
|
"mappings": {
|
|
"0": "crafting_building_blocks",
|
|
"1": "crafting_redstone",
|
|
"2": "crafting_equipment",
|
|
"3": "crafting_misc",
|
|
"4": "furnace_food",
|
|
"5": "furnace_blocks",
|
|
"6": "furnace_misc",
|
|
"7": "blast_furnace_blocks",
|
|
"8": "blast_furnace_misc",
|
|
"9": "smoker_food",
|
|
"10": "stonecutter",
|
|
"11": "smithing",
|
|
"12": "campfire"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "craftingRequirements",
|
|
"type": [
|
|
"option",
|
|
[
|
|
"array",
|
|
{
|
|
"countType": "varint",
|
|
"type": "IDSet"
|
|
}
|
|
]
|
|
]
|
|
}
|
|
]
|
|
]
|
|
},
|
|
{
|
|
"name": "flags",
|
|
"type": [
|
|
"bitflags",
|
|
{
|
|
"type": "u8",
|
|
"flags": [
|
|
"notification",
|
|
"highlight"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "replace",
|
|
"type": "bool"
|
|
}
|
|
]
|
|
],
|
|
"packet_recipe_book_remove": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "recipeIds",
|
|
"type": [
|
|
"array",
|
|
{
|
|
"countType": "varint",
|
|
"type": "varint"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
],
|
|
"RecipeBookSetting": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "open",
|
|
"type": "bool"
|
|
},
|
|
{
|
|
"name": "filtering",
|
|
"type": "bool"
|
|
}
|
|
]
|
|
],
|
|
"packet_recipe_book_settings": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "crafting",
|
|
"type": "RecipeBookSetting"
|
|
},
|
|
{
|
|
"name": "furnace",
|
|
"type": "RecipeBookSetting"
|
|
},
|
|
{
|
|
"name": "blast",
|
|
"type": "RecipeBookSetting"
|
|
},
|
|
{
|
|
"name": "smoker",
|
|
"type": "RecipeBookSetting"
|
|
}
|
|
]
|
|
],
|
|
"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_respawn": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "worldState",
|
|
"type": "SpawnInfo"
|
|
},
|
|
{
|
|
"name": "copyMetadata",
|
|
"type": "u8"
|
|
}
|
|
]
|
|
],
|
|
"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_update_view_position": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "chunkX",
|
|
"type": "varint"
|
|
},
|
|
{
|
|
"name": "chunkZ",
|
|
"type": "varint"
|
|
}
|
|
]
|
|
],
|
|
"packet_update_view_distance": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "viewDistance",
|
|
"type": "varint"
|
|
}
|
|
]
|
|
],
|
|
"packet_set_cursor_item": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "contents",
|
|
"type": "Slot"
|
|
}
|
|
]
|
|
],
|
|
"packet_spawn_position": "RespawnData",
|
|
"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": "velocity",
|
|
"type": "lpVec3"
|
|
}
|
|
]
|
|
],
|
|
"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_held_item_slot": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "slot",
|
|
"type": "varint"
|
|
}
|
|
]
|
|
],
|
|
"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_set_player_inventory": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "slotId",
|
|
"type": "varint"
|
|
},
|
|
{
|
|
"name": "contents",
|
|
"type": "Slot"
|
|
}
|
|
]
|
|
],
|
|
"packet_teams": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "team",
|
|
"type": "string"
|
|
},
|
|
{
|
|
"name": "mode",
|
|
"type": [
|
|
"mapper",
|
|
{
|
|
"type": "i8",
|
|
"mappings": {
|
|
"0": "add",
|
|
"1": "remove",
|
|
"2": "change",
|
|
"3": "join",
|
|
"4": "leave"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"anon": true,
|
|
"type": [
|
|
"switch",
|
|
{
|
|
"compareTo": "mode",
|
|
"fields": {
|
|
"add": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "name",
|
|
"type": "anonymousNbt"
|
|
},
|
|
{
|
|
"name": "flags",
|
|
"type": [
|
|
"bitflags",
|
|
{
|
|
"type": "u8",
|
|
"flags": [
|
|
"friendly_fire",
|
|
"see_friendly_invisible"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "nameTagVisibility",
|
|
"type": [
|
|
"mapper",
|
|
{
|
|
"type": "varint",
|
|
"mappings": {
|
|
"0": "always",
|
|
"1": "never",
|
|
"2": "hide_for_other_teams",
|
|
"3": "hide_for_own_team"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "collisionRule",
|
|
"type": [
|
|
"mapper",
|
|
{
|
|
"type": "varint",
|
|
"mappings": {
|
|
"0": "always",
|
|
"1": "never",
|
|
"2": "push_other_teams",
|
|
"3": "push_own_team"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "formatting",
|
|
"type": "varint"
|
|
},
|
|
{
|
|
"name": "prefix",
|
|
"type": "anonymousNbt"
|
|
},
|
|
{
|
|
"name": "suffix",
|
|
"type": "anonymousNbt"
|
|
}
|
|
]
|
|
],
|
|
"change": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "name",
|
|
"type": "anonymousNbt"
|
|
},
|
|
{
|
|
"name": "flags",
|
|
"type": [
|
|
"bitflags",
|
|
{
|
|
"type": "u8",
|
|
"flags": [
|
|
"friendly_fire",
|
|
"see_friendly_invisible"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "nameTagVisibility",
|
|
"type": [
|
|
"mapper",
|
|
{
|
|
"type": "varint",
|
|
"mappings": {
|
|
"0": "always",
|
|
"1": "never",
|
|
"2": "hide_for_other_teams",
|
|
"3": "hide_for_own_team"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "collisionRule",
|
|
"type": [
|
|
"mapper",
|
|
{
|
|
"type": "varint",
|
|
"mappings": {
|
|
"0": "always",
|
|
"1": "never",
|
|
"2": "push_other_teams",
|
|
"3": "push_own_team"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "formatting",
|
|
"type": "varint"
|
|
},
|
|
{
|
|
"name": "prefix",
|
|
"type": "anonymousNbt"
|
|
},
|
|
{
|
|
"name": "suffix",
|
|
"type": "anonymousNbt"
|
|
}
|
|
]
|
|
]
|
|
},
|
|
"default": "void"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "players",
|
|
"type": [
|
|
"switch",
|
|
{
|
|
"compareTo": "mode",
|
|
"fields": {
|
|
"add": [
|
|
"array",
|
|
{
|
|
"countType": "varint",
|
|
"type": "string"
|
|
}
|
|
],
|
|
"join": [
|
|
"array",
|
|
{
|
|
"countType": "varint",
|
|
"type": "string"
|
|
}
|
|
],
|
|
"leave": [
|
|
"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"
|
|
},
|
|
{
|
|
"name": "tickDayTime",
|
|
"type": "bool"
|
|
}
|
|
]
|
|
],
|
|
"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": "sound",
|
|
"type": "ItemSoundHolder"
|
|
},
|
|
{
|
|
"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": "sound",
|
|
"type": "ItemSoundHolder"
|
|
},
|
|
{
|
|
"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_test_instance_block_status": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "status",
|
|
"type": "anonymousNbt"
|
|
},
|
|
{
|
|
"name": "size",
|
|
"type": [
|
|
"option",
|
|
"vec3i"
|
|
]
|
|
}
|
|
]
|
|
],
|
|
"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"
|
|
]
|
|
}
|
|
]
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "showAdvancements",
|
|
"type": "bool"
|
|
}
|
|
]
|
|
],
|
|
"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": "burning_time",
|
|
"8": "camera_distance",
|
|
"9": "explosion_knockback_resistance",
|
|
"10": "player.entity_interaction_range",
|
|
"11": "generic.fall_damage_multiplier",
|
|
"12": "generic.flying_speed",
|
|
"13": "generic.follow_range",
|
|
"14": "generic.gravity",
|
|
"15": "generic.jump_strength",
|
|
"16": "generic.knockback_resistance",
|
|
"17": "generic.luck",
|
|
"18": "generic.max_absorption",
|
|
"19": "generic.max_health",
|
|
"20": "generic.movement_speed",
|
|
"21": "generic.safe_fall_distance",
|
|
"22": "generic.scale",
|
|
"23": "zombie.spawn_reinforcements",
|
|
"24": "generic.step_height",
|
|
"25": "submerged_mining_speed",
|
|
"26": "sweeping_damage_ratio",
|
|
"27": "tempt_range",
|
|
"28": "water_movement_efficiency",
|
|
"29": "waypoint_transmit_range",
|
|
"30": "waypoint_receive_range"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "value",
|
|
"type": "f64"
|
|
},
|
|
{
|
|
"name": "modifiers",
|
|
"type": [
|
|
"array",
|
|
{
|
|
"countType": "varint",
|
|
"type": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "uuid",
|
|
"type": "string"
|
|
},
|
|
{
|
|
"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": "name",
|
|
"type": "string"
|
|
},
|
|
{
|
|
"name": "items",
|
|
"type": [
|
|
"array",
|
|
{
|
|
"countType": "varint",
|
|
"type": "varint"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "stoneCutterRecipes",
|
|
"type": [
|
|
"array",
|
|
{
|
|
"countType": "varint",
|
|
"type": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "input",
|
|
"type": "IDSet"
|
|
},
|
|
{
|
|
"name": "slotDisplay",
|
|
"type": "SlotDisplay"
|
|
}
|
|
]
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
],
|
|
"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": "accelerationPower",
|
|
"type": "f64"
|
|
}
|
|
]
|
|
],
|
|
"packet_tracked_waypoint": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "operation",
|
|
"type": [
|
|
"mapper",
|
|
{
|
|
"type": "varint",
|
|
"mappings": {
|
|
"0": "track",
|
|
"1": "untrack",
|
|
"2": "update"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "waypoint",
|
|
"type": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "hasUUID",
|
|
"type": "bool"
|
|
},
|
|
{
|
|
"anon": true,
|
|
"type": [
|
|
"switch",
|
|
{
|
|
"compareTo": "hasUUID",
|
|
"fields": {
|
|
"true": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "uuid",
|
|
"type": "UUID"
|
|
}
|
|
]
|
|
],
|
|
"false": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "id",
|
|
"type": "string"
|
|
}
|
|
]
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "icon",
|
|
"type": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "style",
|
|
"type": "string"
|
|
},
|
|
{
|
|
"name": "color",
|
|
"type": [
|
|
"option",
|
|
[
|
|
"container",
|
|
[
|
|
{
|
|
"name": "red",
|
|
"type": "u8"
|
|
},
|
|
{
|
|
"name": "green",
|
|
"type": "u8"
|
|
},
|
|
{
|
|
"name": "blue",
|
|
"type": "u8"
|
|
}
|
|
]
|
|
]
|
|
]
|
|
}
|
|
]
|
|
]
|
|
},
|
|
{
|
|
"name": "type",
|
|
"type": [
|
|
"mapper",
|
|
{
|
|
"type": "varint",
|
|
"mappings": {
|
|
"0": "empty",
|
|
"1": "vec3i",
|
|
"2": "chunk",
|
|
"3": "azimuth"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "data",
|
|
"type": [
|
|
"switch",
|
|
{
|
|
"compareTo": "type",
|
|
"fields": {
|
|
"vec3i": "vec3i",
|
|
"chunk": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "chunkX",
|
|
"type": "varint"
|
|
},
|
|
{
|
|
"name": "chunkZ",
|
|
"type": "varint"
|
|
}
|
|
]
|
|
],
|
|
"azimuth": "f32"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
]
|
|
}
|
|
]
|
|
],
|
|
"packet_show_dialog": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "dialog",
|
|
"type": [
|
|
"registryEntryHolder",
|
|
{
|
|
"baseName": "dialog",
|
|
"otherwise": {
|
|
"name": "data",
|
|
"type": "anonymousNbt"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
],
|
|
"packet": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "name",
|
|
"type": [
|
|
"mapper",
|
|
{
|
|
"type": "varint",
|
|
"mappings": {
|
|
"0x00": "bundle_delimiter",
|
|
"0x01": "spawn_entity",
|
|
"0x02": "animation",
|
|
"0x03": "statistics",
|
|
"0x04": "acknowledge_player_digging",
|
|
"0x05": "block_break_animation",
|
|
"0x06": "tile_entity_data",
|
|
"0x07": "block_action",
|
|
"0x08": "block_change",
|
|
"0x09": "boss_bar",
|
|
"0x0a": "difficulty",
|
|
"0x0b": "chunk_batch_finished",
|
|
"0x0c": "chunk_batch_start",
|
|
"0x0d": "chunk_biomes",
|
|
"0x0e": "clear_titles",
|
|
"0x0f": "tab_complete",
|
|
"0x10": "declare_commands",
|
|
"0x11": "close_window",
|
|
"0x12": "window_items",
|
|
"0x13": "craft_progress_bar",
|
|
"0x14": "set_slot",
|
|
"0x15": "cookie_request",
|
|
"0x16": "set_cooldown",
|
|
"0x17": "chat_suggestions",
|
|
"0x18": "custom_payload",
|
|
"0x19": "damage_event",
|
|
"0x1a": "debug_block_value",
|
|
"0x1b": "debug_chunk_value",
|
|
"0x1c": "debug_entity_value",
|
|
"0x1d": "debug_event",
|
|
"0x1e": "debug_sample",
|
|
"0x1f": "hide_message",
|
|
"0x20": "kick_disconnect",
|
|
"0x21": "profileless_chat",
|
|
"0x22": "entity_status",
|
|
"0x23": "sync_entity_position",
|
|
"0x24": "explosion",
|
|
"0x25": "unload_chunk",
|
|
"0x26": "game_state_change",
|
|
"0x27": "game_test_highlight_pos",
|
|
"0x28": "open_horse_window",
|
|
"0x29": "hurt_animation",
|
|
"0x2a": "initialize_world_border",
|
|
"0x2b": "keep_alive",
|
|
"0x2c": "map_chunk",
|
|
"0x2d": "world_event",
|
|
"0x2e": "world_particles",
|
|
"0x2f": "update_light",
|
|
"0x30": "login",
|
|
"0x31": "map",
|
|
"0x32": "trade_list",
|
|
"0x33": "rel_entity_move",
|
|
"0x34": "entity_move_look",
|
|
"0x35": "move_minecart",
|
|
"0x36": "entity_look",
|
|
"0x37": "vehicle_move",
|
|
"0x38": "open_book",
|
|
"0x39": "open_window",
|
|
"0x3a": "open_sign_entity",
|
|
"0x3b": "ping",
|
|
"0x3c": "ping_response",
|
|
"0x3d": "craft_recipe_response",
|
|
"0x3e": "abilities",
|
|
"0x3f": "player_chat",
|
|
"0x40": "end_combat_event",
|
|
"0x41": "enter_combat_event",
|
|
"0x42": "death_combat_event",
|
|
"0x43": "player_remove",
|
|
"0x44": "player_info",
|
|
"0x45": "face_player",
|
|
"0x46": "position",
|
|
"0x47": "player_rotation",
|
|
"0x48": "recipe_book_add",
|
|
"0x49": "recipe_book_remove",
|
|
"0x4a": "recipe_book_settings",
|
|
"0x4b": "entity_destroy",
|
|
"0x4c": "remove_entity_effect",
|
|
"0x4d": "reset_score",
|
|
"0x4e": "remove_resource_pack",
|
|
"0x4f": "add_resource_pack",
|
|
"0x50": "respawn",
|
|
"0x51": "entity_head_rotation",
|
|
"0x52": "multi_block_change",
|
|
"0x53": "select_advancement_tab",
|
|
"0x54": "server_data",
|
|
"0x55": "action_bar",
|
|
"0x56": "world_border_center",
|
|
"0x57": "world_border_lerp_size",
|
|
"0x58": "world_border_size",
|
|
"0x59": "world_border_warning_delay",
|
|
"0x5a": "world_border_warning_reach",
|
|
"0x5b": "camera",
|
|
"0x5c": "update_view_position",
|
|
"0x5d": "update_view_distance",
|
|
"0x5e": "set_cursor_item",
|
|
"0x5f": "spawn_position",
|
|
"0x60": "scoreboard_display_objective",
|
|
"0x61": "entity_metadata",
|
|
"0x62": "attach_entity",
|
|
"0x63": "entity_velocity",
|
|
"0x64": "entity_equipment",
|
|
"0x65": "experience",
|
|
"0x66": "update_health",
|
|
"0x67": "held_item_slot",
|
|
"0x68": "scoreboard_objective",
|
|
"0x69": "set_passengers",
|
|
"0x6a": "set_player_inventory",
|
|
"0x6b": "teams",
|
|
"0x6c": "scoreboard_score",
|
|
"0x6d": "simulation_distance",
|
|
"0x6e": "set_title_subtitle",
|
|
"0x6f": "update_time",
|
|
"0x70": "set_title_text",
|
|
"0x71": "set_title_time",
|
|
"0x72": "entity_sound_effect",
|
|
"0x73": "sound_effect",
|
|
"0x74": "start_configuration",
|
|
"0x75": "stop_sound",
|
|
"0x76": "store_cookie",
|
|
"0x77": "system_chat",
|
|
"0x78": "playerlist_header",
|
|
"0x79": "nbt_query_response",
|
|
"0x7a": "collect",
|
|
"0x7b": "entity_teleport",
|
|
"0x7c": "test_instance_block_status",
|
|
"0x7d": "set_ticking_state",
|
|
"0x7e": "step_tick",
|
|
"0x7f": "transfer",
|
|
"0x80": "advancements",
|
|
"0x81": "entity_update_attributes",
|
|
"0x82": "entity_effect",
|
|
"0x83": "declare_recipes",
|
|
"0x84": "tags",
|
|
"0x85": "set_projectile_power",
|
|
"0x86": "custom_report_details",
|
|
"0x87": "server_links",
|
|
"0x88": "tracked_waypoint",
|
|
"0x89": "clear_dialog",
|
|
"0x8a": "show_dialog"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "params",
|
|
"type": [
|
|
"switch",
|
|
{
|
|
"compareTo": "name",
|
|
"fields": {
|
|
"bundle_delimiter": "packet_bundle_delimiter",
|
|
"spawn_entity": "packet_spawn_entity",
|
|
"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_block_value": "packet_debug_block_value",
|
|
"debug_chunk_value": "packet_debug_chunk_value",
|
|
"debug_entity_value": "packet_debug_entity_value",
|
|
"debug_event": "packet_debug_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",
|
|
"sync_entity_position": "packet_sync_entity_position",
|
|
"explosion": "packet_explosion",
|
|
"unload_chunk": "packet_unload_chunk",
|
|
"game_state_change": "packet_game_state_change",
|
|
"game_test_highlight_pos": "packet_game_test_highlight_pos",
|
|
"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",
|
|
"move_minecart": "packet_move_minecart",
|
|
"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",
|
|
"player_rotation": "packet_player_rotation",
|
|
"recipe_book_add": "packet_recipe_book_add",
|
|
"recipe_book_remove": "packet_recipe_book_remove",
|
|
"recipe_book_settings": "packet_recipe_book_settings",
|
|
"entity_destroy": "packet_entity_destroy",
|
|
"remove_entity_effect": "packet_remove_entity_effect",
|
|
"reset_score": "packet_reset_score",
|
|
"remove_resource_pack": "packet_common_remove_resource_pack",
|
|
"add_resource_pack": "packet_common_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",
|
|
"update_view_position": "packet_update_view_position",
|
|
"update_view_distance": "packet_update_view_distance",
|
|
"set_cursor_item": "packet_set_cursor_item",
|
|
"held_item_slot": "packet_held_item_slot",
|
|
"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",
|
|
"set_player_inventory": "packet_set_player_inventory",
|
|
"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",
|
|
"test_instance_block_status": "packet_test_instance_block_status",
|
|
"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",
|
|
"set_projectile_power": "packet_set_projectile_power",
|
|
"custom_report_details": "packet_common_custom_report_details",
|
|
"server_links": "packet_common_server_links",
|
|
"tracked_waypoint": "packet_tracked_waypoint",
|
|
"clear_dialog": "packet_common_clear_dialog",
|
|
"show_dialog": "packet_show_dialog"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
]
|
|
}
|
|
},
|
|
"toServer": {
|
|
"types": {
|
|
"packet_teleport_confirm": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "teleportId",
|
|
"type": "varint"
|
|
}
|
|
]
|
|
],
|
|
"packet_query_block_nbt": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "transactionId",
|
|
"type": "varint"
|
|
},
|
|
{
|
|
"name": "location",
|
|
"type": "position"
|
|
}
|
|
]
|
|
],
|
|
"packet_select_bundle_item": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "slotId",
|
|
"type": "varint"
|
|
},
|
|
{
|
|
"name": "selectedItemIndex",
|
|
"type": "varint"
|
|
}
|
|
]
|
|
],
|
|
"packet_set_difficulty": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "newDifficulty",
|
|
"type": [
|
|
"mapper",
|
|
{
|
|
"type": "varint",
|
|
"mappings": {
|
|
"0": "peaceful",
|
|
"1": "easy",
|
|
"2": "normal",
|
|
"3": "hard"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
],
|
|
"packet_change_gamemode": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "mode",
|
|
"type": [
|
|
"mapper",
|
|
{
|
|
"type": "varint",
|
|
"mappings": {
|
|
"0": "survival",
|
|
"1": "creative",
|
|
"2": "adventure",
|
|
"3": "spectator"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
],
|
|
"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
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "checksum",
|
|
"type": "i8"
|
|
}
|
|
]
|
|
],
|
|
"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
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "checksum",
|
|
"type": "u8"
|
|
}
|
|
]
|
|
],
|
|
"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_tick_end": [
|
|
"container",
|
|
[]
|
|
],
|
|
"packet_tab_complete": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "transactionId",
|
|
"type": "varint"
|
|
},
|
|
{
|
|
"name": "text",
|
|
"type": "string"
|
|
}
|
|
]
|
|
],
|
|
"packet_configuration_acknowledged": [
|
|
"container",
|
|
[]
|
|
],
|
|
"packet_enchant_item": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "windowId",
|
|
"type": "ContainerID"
|
|
},
|
|
{
|
|
"name": "enchantment",
|
|
"type": "i8"
|
|
}
|
|
]
|
|
],
|
|
"packet_window_click": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "windowId",
|
|
"type": "ContainerID"
|
|
},
|
|
{
|
|
"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": [
|
|
"option",
|
|
"HashedSlot"
|
|
]
|
|
}
|
|
]
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "cursorItem",
|
|
"type": [
|
|
"option",
|
|
"HashedSlot"
|
|
]
|
|
}
|
|
]
|
|
],
|
|
"packet_close_window": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "windowId",
|
|
"type": "ContainerID"
|
|
}
|
|
]
|
|
],
|
|
"packet_set_slot_state": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "slot_id",
|
|
"type": "varint"
|
|
},
|
|
{
|
|
"name": "window_id",
|
|
"type": "ContainerID"
|
|
},
|
|
{
|
|
"name": "state",
|
|
"type": "bool"
|
|
}
|
|
]
|
|
],
|
|
"packet_custom_payload": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "channel",
|
|
"type": "string"
|
|
},
|
|
{
|
|
"name": "data",
|
|
"type": "restBuffer"
|
|
}
|
|
]
|
|
],
|
|
"packet_debug_subscription_request": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "subscriptions",
|
|
"type": [
|
|
"array",
|
|
{
|
|
"countType": "varint",
|
|
"type": "DebugSubscriptionDataType"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
],
|
|
"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"
|
|
}
|
|
]
|
|
],
|
|
"MovementFlags": [
|
|
"bitflags",
|
|
{
|
|
"type": "u8",
|
|
"flags": [
|
|
"onGround",
|
|
"hasHorizontalCollision"
|
|
]
|
|
}
|
|
],
|
|
"packet_position": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "x",
|
|
"type": "f64"
|
|
},
|
|
{
|
|
"name": "y",
|
|
"type": "f64"
|
|
},
|
|
{
|
|
"name": "z",
|
|
"type": "f64"
|
|
},
|
|
{
|
|
"name": "flags",
|
|
"type": "MovementFlags"
|
|
}
|
|
]
|
|
],
|
|
"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": "flags",
|
|
"type": "MovementFlags"
|
|
}
|
|
]
|
|
],
|
|
"packet_look": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "yaw",
|
|
"type": "f32"
|
|
},
|
|
{
|
|
"name": "pitch",
|
|
"type": "f32"
|
|
},
|
|
{
|
|
"name": "flags",
|
|
"type": "MovementFlags"
|
|
}
|
|
]
|
|
],
|
|
"packet_flying": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "flags",
|
|
"type": "MovementFlags"
|
|
}
|
|
]
|
|
],
|
|
"packet_vehicle_move": [
|
|
"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_steer_boat": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "leftPaddle",
|
|
"type": "bool"
|
|
},
|
|
{
|
|
"name": "rightPaddle",
|
|
"type": "bool"
|
|
}
|
|
]
|
|
],
|
|
"packet_pick_item_from_block": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "position",
|
|
"type": "position"
|
|
},
|
|
{
|
|
"name": "includeData",
|
|
"type": "bool"
|
|
}
|
|
]
|
|
],
|
|
"packet_pick_item_from_entity": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "entityId",
|
|
"type": "varint"
|
|
},
|
|
{
|
|
"name": "includeData",
|
|
"type": "bool"
|
|
}
|
|
]
|
|
],
|
|
"packet_ping_request": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "id",
|
|
"type": "i64"
|
|
}
|
|
]
|
|
],
|
|
"packet_craft_recipe_request": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "windowId",
|
|
"type": "ContainerID"
|
|
},
|
|
{
|
|
"name": "recipeId",
|
|
"type": "varint"
|
|
},
|
|
{
|
|
"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": [
|
|
"mapper",
|
|
{
|
|
"type": "varint",
|
|
"mappings": {
|
|
"0": "leave_bed",
|
|
"1": "start_sprinting",
|
|
"2": "stop_sprinting",
|
|
"3": "start_horse_jump",
|
|
"4": "stop_horse_jump",
|
|
"5": "open_vehicle_inventory",
|
|
"6": "start_elytra_flying"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "jumpBoost",
|
|
"type": "varint"
|
|
}
|
|
]
|
|
],
|
|
"packet_player_input": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "inputs",
|
|
"type": [
|
|
"bitflags",
|
|
{
|
|
"type": "u8",
|
|
"flags": [
|
|
"forward",
|
|
"backward",
|
|
"left",
|
|
"right",
|
|
"jump",
|
|
"shift",
|
|
"sprint"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
],
|
|
"packet_player_loaded": [
|
|
"container",
|
|
[]
|
|
],
|
|
"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": "varint"
|
|
}
|
|
]
|
|
],
|
|
"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"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
],
|
|
"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": "UntrustedSlot"
|
|
}
|
|
]
|
|
],
|
|
"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": [
|
|
"mapper",
|
|
{
|
|
"type": "u8",
|
|
"mappings": {
|
|
"0": "ignore_entities",
|
|
"1": "show_air",
|
|
"2": "show_bounding_box",
|
|
"3": "strict"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
],
|
|
"packet_set_test_block": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "position",
|
|
"type": "position"
|
|
},
|
|
{
|
|
"name": "mode",
|
|
"type": "varint"
|
|
},
|
|
{
|
|
"name": "message",
|
|
"type": "string"
|
|
}
|
|
]
|
|
],
|
|
"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_test_instance_block_action": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "pos",
|
|
"type": "position"
|
|
},
|
|
{
|
|
"name": "action",
|
|
"type": "varint"
|
|
},
|
|
{
|
|
"name": "data",
|
|
"type": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "test",
|
|
"type": [
|
|
"option",
|
|
"string"
|
|
]
|
|
},
|
|
{
|
|
"name": "size",
|
|
"type": "vec3i"
|
|
},
|
|
{
|
|
"name": "rotation",
|
|
"type": "varint"
|
|
},
|
|
{
|
|
"name": "ignoreEntities",
|
|
"type": "bool"
|
|
},
|
|
{
|
|
"name": "status",
|
|
"type": "varint"
|
|
},
|
|
{
|
|
"name": "errorMessage",
|
|
"type": [
|
|
"option",
|
|
"anonymousNbt"
|
|
]
|
|
}
|
|
]
|
|
]
|
|
}
|
|
]
|
|
],
|
|
"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": "worldBorderHit",
|
|
"type": "bool"
|
|
},
|
|
{
|
|
"name": "sequence",
|
|
"type": "varint"
|
|
}
|
|
]
|
|
],
|
|
"packet_use_item": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "hand",
|
|
"type": "varint"
|
|
},
|
|
{
|
|
"name": "sequence",
|
|
"type": "varint"
|
|
},
|
|
{
|
|
"name": "rotation",
|
|
"type": "vec2f"
|
|
}
|
|
]
|
|
],
|
|
"packet": [
|
|
"container",
|
|
[
|
|
{
|
|
"name": "name",
|
|
"type": [
|
|
"mapper",
|
|
{
|
|
"type": "varint",
|
|
"mappings": {
|
|
"0x00": "teleport_confirm",
|
|
"0x01": "query_block_nbt",
|
|
"0x02": "select_bundle_item",
|
|
"0x03": "set_difficulty",
|
|
"0x04": "change_gamemode",
|
|
"0x05": "message_acknowledgement",
|
|
"0x06": "chat_command",
|
|
"0x07": "chat_command_signed",
|
|
"0x08": "chat_message",
|
|
"0x09": "chat_session_update",
|
|
"0x0a": "chunk_batch_received",
|
|
"0x0b": "client_command",
|
|
"0x0c": "tick_end",
|
|
"0x0d": "settings",
|
|
"0x0e": "tab_complete",
|
|
"0x0f": "configuration_acknowledged",
|
|
"0x10": "enchant_item",
|
|
"0x11": "window_click",
|
|
"0x12": "close_window",
|
|
"0x13": "set_slot_state",
|
|
"0x14": "cookie_response",
|
|
"0x15": "custom_payload",
|
|
"0x16": "debug_subscription_request",
|
|
"0x17": "edit_book",
|
|
"0x18": "query_entity_nbt",
|
|
"0x19": "use_entity",
|
|
"0x1a": "generate_structure",
|
|
"0x1b": "keep_alive",
|
|
"0x1c": "lock_difficulty",
|
|
"0x1d": "position",
|
|
"0x1e": "position_look",
|
|
"0x1f": "look",
|
|
"0x20": "flying",
|
|
"0x21": "vehicle_move",
|
|
"0x22": "steer_boat",
|
|
"0x23": "pick_item_from_block",
|
|
"0x24": "pick_item_from_entity",
|
|
"0x25": "ping_request",
|
|
"0x26": "craft_recipe_request",
|
|
"0x27": "abilities",
|
|
"0x28": "block_dig",
|
|
"0x29": "entity_action",
|
|
"0x2a": "player_input",
|
|
"0x2b": "player_loaded",
|
|
"0x2c": "pong",
|
|
"0x2d": "recipe_book",
|
|
"0x2e": "displayed_recipe",
|
|
"0x2f": "name_item",
|
|
"0x30": "resource_pack_receive",
|
|
"0x31": "advancement_tab",
|
|
"0x32": "select_trade",
|
|
"0x33": "set_beacon_effect",
|
|
"0x34": "held_item_slot",
|
|
"0x35": "update_command_block",
|
|
"0x36": "update_command_block_minecart",
|
|
"0x37": "set_creative_slot",
|
|
"0x38": "update_jigsaw_block",
|
|
"0x39": "update_structure_block",
|
|
"0x3a": "set_test_block",
|
|
"0x3b": "update_sign",
|
|
"0x3c": "arm_animation",
|
|
"0x3d": "spectate",
|
|
"0x3e": "test_instance_block_action",
|
|
"0x3f": "block_place",
|
|
"0x40": "use_item",
|
|
"0x41": "custom_click_action"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "params",
|
|
"type": [
|
|
"switch",
|
|
{
|
|
"compareTo": "name",
|
|
"fields": {
|
|
"teleport_confirm": "packet_teleport_confirm",
|
|
"query_block_nbt": "packet_query_block_nbt",
|
|
"select_bundle_item": "packet_select_bundle_item",
|
|
"set_difficulty": "packet_set_difficulty",
|
|
"change_gamemode": "packet_change_gamemode",
|
|
"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",
|
|
"tick_end": "packet_tick_end",
|
|
"settings": "packet_common_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",
|
|
"debug_subscription_request": "packet_debug_subscription_request",
|
|
"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_from_block": "packet_pick_item_from_block",
|
|
"pick_item_from_entity": "packet_pick_item_from_entity",
|
|
"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",
|
|
"player_input": "packet_player_input",
|
|
"player_loaded": "packet_player_loaded",
|
|
"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",
|
|
"set_test_block": "packet_set_test_block",
|
|
"update_sign": "packet_update_sign",
|
|
"arm_animation": "packet_arm_animation",
|
|
"spectate": "packet_spectate",
|
|
"test_instance_block_action": "packet_test_instance_block_action",
|
|
"block_place": "packet_block_place",
|
|
"use_item": "packet_use_item",
|
|
"custom_click_action": "packet_common_custom_click_action"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
]
|
|
}
|
|
}
|
|
}
|
|
}
|