★ One day, there will be something interesting here, but for now, there's only this text ★
JeffryFremilimy own project and blog
pc__1.21.9__protocol.json
  1. {
  2. "types": {
  3. "varint": "native",
  4. "varlong": "native",
  5. "optvarint": "varint",
  6. "pstring": "native",
  7. "buffer": "native",
  8. "u8": "native",
  9. "u16": "native",
  10. "u32": "native",
  11. "u64": "native",
  12. "i8": "native",
  13. "i16": "native",
  14. "i32": "native",
  15. "i64": "native",
  16. "bool": "native",
  17. "f32": "native",
  18. "f64": "native",
  19. "UUID": "native",
  20. "option": "native",
  21. "entityMetadataLoop": "native",
  22. "topBitSetTerminatedArray": "native",
  23. "bitfield": "native",
  24. "bitflags": "native",
  25. "container": "native",
  26. "switch": "native",
  27. "void": "native",
  28. "array": "native",
  29. "restBuffer": "native",
  30. "anonymousNbt": "native",
  31. "anonOptionalNbt": "native",
  32. "registryEntryHolder": "native",
  33. "registryEntryHolderSet": "native",
  34. "lpVec3": "native",
  35. "ByteArray": [
  36. "buffer",
  37. {
  38. "countType": "varint"
  39. }
  40. ],
  41. "string": [
  42. "pstring",
  43. {
  44. "countType": "varint"
  45. }
  46. ],
  47. "vec2f": [
  48. "container",
  49. [
  50. {
  51. "name": "x",
  52. "type": "f32"
  53. },
  54. {
  55. "name": "y",
  56. "type": "f32"
  57. }
  58. ]
  59. ],
  60. "vec3f": [
  61. "container",
  62. [
  63. {
  64. "name": "x",
  65. "type": "f32"
  66. },
  67. {
  68. "name": "y",
  69. "type": "f32"
  70. },
  71. {
  72. "name": "z",
  73. "type": "f32"
  74. }
  75. ]
  76. ],
  77. "vec4f": [
  78. "container",
  79. [
  80. {
  81. "name": "x",
  82. "type": "f32"
  83. },
  84. {
  85. "name": "y",
  86. "type": "f32"
  87. },
  88. {
  89. "name": "z",
  90. "type": "f32"
  91. },
  92. {
  93. "name": "w",
  94. "type": "f32"
  95. }
  96. ]
  97. ],
  98. "vec3f64": [
  99. "container",
  100. [
  101. {
  102. "name": "x",
  103. "type": "f64"
  104. },
  105. {
  106. "name": "y",
  107. "type": "f64"
  108. },
  109. {
  110. "name": "z",
  111. "type": "f64"
  112. }
  113. ]
  114. ],
  115. "vec3i": [
  116. "container",
  117. [
  118. {
  119. "name": "x",
  120. "type": "varint"
  121. },
  122. {
  123. "name": "y",
  124. "type": "varint"
  125. },
  126. {
  127. "name": "z",
  128. "type": "varint"
  129. }
  130. ]
  131. ],
  132. "vec3i32": [
  133. "container",
  134. [
  135. {
  136. "name": "x",
  137. "type": "i32"
  138. },
  139. {
  140. "name": "y",
  141. "type": "i32"
  142. },
  143. {
  144. "name": "z",
  145. "type": "i32"
  146. }
  147. ]
  148. ],
  149. "IDSet": [
  150. "registryEntryHolderSet",
  151. {
  152. "base": {
  153. "name": "name",
  154. "type": "string"
  155. },
  156. "otherwise": {
  157. "name": "ids",
  158. "type": "varint"
  159. }
  160. }
  161. ],
  162. "ContainerID": "varint",
  163. "SlotComponentType": [
  164. "mapper",
  165. {
  166. "type": "varint",
  167. "mappings": {
  168. "0": "custom_data",
  169. "1": "max_stack_size",
  170. "2": "max_damage",
  171. "3": "damage",
  172. "4": "unbreakable",
  173. "5": "custom_name",
  174. "6": "item_name",
  175. "7": "item_model",
  176. "8": "lore",
  177. "9": "rarity",
  178. "10": "enchantments",
  179. "11": "can_place_on",
  180. "12": "can_break",
  181. "13": "attribute_modifiers",
  182. "14": "custom_model_data",
  183. "15": "tooltip_display",
  184. "16": "repair_cost",
  185. "17": "creative_slot_lock",
  186. "18": "enchantment_glint_override",
  187. "19": "intangible_projectile",
  188. "20": "food",
  189. "21": "consumable",
  190. "22": "use_remainder",
  191. "23": "use_cooldown",
  192. "24": "damage_resistant",
  193. "25": "tool",
  194. "26": "weapon",
  195. "27": "enchantable",
  196. "28": "equippable",
  197. "29": "repairable",
  198. "30": "glider",
  199. "31": "tooltip_style",
  200. "32": "death_protection",
  201. "33": "blocks_attacks",
  202. "34": "stored_enchantments",
  203. "35": "dyed_color",
  204. "36": "map_color",
  205. "37": "map_id",
  206. "38": "map_decorations",
  207. "39": "map_post_processing",
  208. "40": "charged_projectiles",
  209. "41": "bundle_contents",
  210. "42": "potion_contents",
  211. "43": "potion_duration_scale",
  212. "44": "suspicious_stew_effects",
  213. "45": "writable_book_content",
  214. "46": "written_book_content",
  215. "47": "trim",
  216. "48": "debug_stick_state",
  217. "49": "entity_data",
  218. "50": "bucket_entity_data",
  219. "51": "block_entity_data",
  220. "52": "instrument",
  221. "53": "provides_trim_material",
  222. "54": "ominous_bottle_amplifier",
  223. "55": "jukebox_playable",
  224. "56": "provides_banner_patterns",
  225. "57": "recipes",
  226. "58": "lodestone_tracker",
  227. "59": "firework_explosion",
  228. "60": "fireworks",
  229. "61": "profile",
  230. "62": "note_block_sound",
  231. "63": "banner_patterns",
  232. "64": "base_color",
  233. "65": "pot_decorations",
  234. "66": "container",
  235. "67": "block_state",
  236. "68": "bees",
  237. "69": "lock",
  238. "70": "container_loot",
  239. "71": "break_sound",
  240. "72": "villager/variant",
  241. "73": "wolf/variant",
  242. "74": "wolf/sound_variant",
  243. "75": "wolf/collar",
  244. "76": "fox/variant",
  245. "77": "salmon/size",
  246. "78": "parrot/variant",
  247. "79": "tropical_fish/pattern",
  248. "80": "tropical_fish/base_color",
  249. "81": "tropical_fish/pattern_color",
  250. "82": "mooshroom/variant",
  251. "83": "rabbit/variant",
  252. "84": "pig/variant",
  253. "85": "cow/variant",
  254. "86": "chicken/variant",
  255. "87": "frog/variant",
  256. "88": "horse/variant",
  257. "89": "painting/variant",
  258. "90": "llama/variant",
  259. "91": "axolotl/variant",
  260. "92": "cat/variant",
  261. "93": "cat/collar",
  262. "94": "sheep/color",
  263. "95": "shulker/color"
  264. }
  265. }
  266. ],
  267. "SlotComponent": [
  268. "container",
  269. [
  270. {
  271. "name": "type",
  272. "type": "SlotComponentType"
  273. },
  274. {
  275. "name": "data",
  276. "type": [
  277. "switch",
  278. {
  279. "compareTo": "type",
  280. "fields": {
  281. "custom_data": "anonymousNbt",
  282. "max_stack_size": "varint",
  283. "max_damage": "varint",
  284. "damage": "varint",
  285. "unbreakable": "void",
  286. "custom_name": "anonymousNbt",
  287. "item_name": "anonymousNbt",
  288. "item_model": "string",
  289. "lore": [
  290. "array",
  291. {
  292. "countType": "varint",
  293. "type": "anonymousNbt"
  294. }
  295. ],
  296. "rarity": [
  297. "mapper",
  298. {
  299. "type": "varint",
  300. "mappings": {
  301. "0": "common",
  302. "1": "uncommon",
  303. "2": "rare",
  304. "3": "epic"
  305. }
  306. }
  307. ],
  308. "enchantments": [
  309. "container",
  310. [
  311. {
  312. "name": "enchantments",
  313. "type": [
  314. "array",
  315. {
  316. "countType": "varint",
  317. "type": [
  318. "container",
  319. [
  320. {
  321. "name": "id",
  322. "type": "varint"
  323. },
  324. {
  325. "name": "level",
  326. "type": "varint"
  327. }
  328. ]
  329. ]
  330. }
  331. ]
  332. }
  333. ]
  334. ],
  335. "stored_enchantments": [
  336. "container",
  337. [
  338. {
  339. "name": "enchantments",
  340. "type": [
  341. "array",
  342. {
  343. "countType": "varint",
  344. "type": [
  345. "container",
  346. [
  347. {
  348. "name": "id",
  349. "type": "varint"
  350. },
  351. {
  352. "name": "level",
  353. "type": "varint"
  354. }
  355. ]
  356. ]
  357. }
  358. ]
  359. }
  360. ]
  361. ],
  362. "can_place_on": [
  363. "container",
  364. [
  365. {
  366. "name": "predicates",
  367. "type": [
  368. "array",
  369. {
  370. "countType": "varint",
  371. "type": "ItemBlockPredicate"
  372. }
  373. ]
  374. }
  375. ]
  376. ],
  377. "can_break": [
  378. "container",
  379. [
  380. {
  381. "name": "predicates",
  382. "type": [
  383. "array",
  384. {
  385. "countType": "varint",
  386. "type": "ItemBlockPredicate"
  387. }
  388. ]
  389. }
  390. ]
  391. ],
  392. "attribute_modifiers": [
  393. "array",
  394. {
  395. "countType": "varint",
  396. "type": [
  397. "container",
  398. [
  399. {
  400. "name": "typeId",
  401. "type": "varint"
  402. },
  403. {
  404. "name": "name",
  405. "type": "string"
  406. },
  407. {
  408. "name": "value",
  409. "type": "f64"
  410. },
  411. {
  412. "name": "operation",
  413. "type": [
  414. "mapper",
  415. {
  416. "type": "varint",
  417. "mappings": {
  418. "0": "add",
  419. "1": "multiply_base",
  420. "2": "multiply_total"
  421. }
  422. }
  423. ]
  424. },
  425. {
  426. "name": "slot",
  427. "type": [
  428. "mapper",
  429. {
  430. "type": "varint",
  431. "mappings": {
  432. "0": "any",
  433. "1": "main_hand",
  434. "2": "off_hand",
  435. "3": "hand",
  436. "4": "feet",
  437. "5": "legs",
  438. "6": "chest",
  439. "7": "head",
  440. "8": "armor",
  441. "9": "body",
  442. "10": "saddle"
  443. }
  444. }
  445. ]
  446. },
  447. {
  448. "name": "display",
  449. "type": [
  450. "container",
  451. [
  452. {
  453. "name": "type",
  454. "type": [
  455. "mapper",
  456. {
  457. "type": "varint",
  458. "mappings": {
  459. "0": "default",
  460. "1": "hidden",
  461. "2": "override"
  462. }
  463. }
  464. ]
  465. },
  466. {
  467. "name": "component",
  468. "type": [
  469. "switch",
  470. {
  471. "compareTo": "type",
  472. "fields": {
  473. "override": "anonymousNbt"
  474. }
  475. }
  476. ]
  477. }
  478. ]
  479. ]
  480. }
  481. ]
  482. ]
  483. }
  484. ],
  485. "custom_model_data": [
  486. "container",
  487. [
  488. {
  489. "name": "floats",
  490. "type": [
  491. "array",
  492. {
  493. "countType": "varint",
  494. "type": "f32"
  495. }
  496. ]
  497. },
  498. {
  499. "name": "flags",
  500. "type": [
  501. "array",
  502. {
  503. "countType": "varint",
  504. "type": "bool"
  505. }
  506. ]
  507. },
  508. {
  509. "name": "strings",
  510. "type": [
  511. "array",
  512. {
  513. "countType": "varint",
  514. "type": "string"
  515. }
  516. ]
  517. },
  518. {
  519. "name": "colors",
  520. "type": [
  521. "array",
  522. {
  523. "countType": "varint",
  524. "type": "i32"
  525. }
  526. ]
  527. }
  528. ]
  529. ],
  530. "tooltip_display": [
  531. "container",
  532. [
  533. {
  534. "name": "hideTooltip",
  535. "type": "bool"
  536. },
  537. {
  538. "name": "hiddenComponents",
  539. "type": [
  540. "array",
  541. {
  542. "countType": "varint",
  543. "type": "varint"
  544. }
  545. ]
  546. }
  547. ]
  548. ],
  549. "repair_cost": "varint",
  550. "creative_slot_lock": "void",
  551. "enchantment_glint_override": "bool",
  552. "intangible_projectile": "anonymousNbt",
  553. "blocks_attacks": [
  554. "container",
  555. [
  556. {
  557. "name": "blockDelaySeconds",
  558. "type": "f32"
  559. },
  560. {
  561. "name": "disableCooldownScale",
  562. "type": "f32"
  563. },
  564. {
  565. "name": "damageReductions",
  566. "type": [
  567. "array",
  568. {
  569. "countType": "varint",
  570. "type": [
  571. "container",
  572. [
  573. {
  574. "name": "horizontalBlockingAngle",
  575. "type": "f32"
  576. },
  577. {
  578. "name": "type",
  579. "type": [
  580. "option",
  581. "IDSet"
  582. ]
  583. },
  584. {
  585. "name": "base",
  586. "type": "f32"
  587. },
  588. {
  589. "name": "factor",
  590. "type": "f32"
  591. }
  592. ]
  593. ]
  594. }
  595. ]
  596. },
  597. {
  598. "name": "itemDamage",
  599. "type": [
  600. "container",
  601. [
  602. {
  603. "name": "threshold",
  604. "type": "f32"
  605. },
  606. {
  607. "name": "base",
  608. "type": "f32"
  609. },
  610. {
  611. "name": "factor",
  612. "type": "f32"
  613. }
  614. ]
  615. ]
  616. },
  617. {
  618. "name": "bypassedBy",
  619. "type": [
  620. "option",
  621. "string"
  622. ]
  623. },
  624. {
  625. "name": "blockSound",
  626. "type": [
  627. "option",
  628. "ItemSoundHolder"
  629. ]
  630. },
  631. {
  632. "name": "disableSound",
  633. "type": [
  634. "option",
  635. "ItemSoundHolder"
  636. ]
  637. }
  638. ]
  639. ],
  640. "food": [
  641. "container",
  642. [
  643. {
  644. "name": "nutrition",
  645. "type": "varint"
  646. },
  647. {
  648. "name": "saturationModifier",
  649. "type": "f32"
  650. },
  651. {
  652. "name": "canAlwaysEat",
  653. "type": "bool"
  654. }
  655. ]
  656. ],
  657. "consumable": [
  658. "container",
  659. [
  660. {
  661. "name": "consume_seconds",
  662. "type": "f32"
  663. },
  664. {
  665. "name": "animation",
  666. "type": [
  667. "mapper",
  668. {
  669. "type": "varint",
  670. "mappings": {
  671. "0": "none",
  672. "1": "eat",
  673. "2": "drink",
  674. "3": "block",
  675. "4": "bow",
  676. "5": "spear",
  677. "6": "crossbow",
  678. "7": "spyglass",
  679. "8": "toot_horn",
  680. "9": "brush",
  681. "10": "bundle"
  682. }
  683. }
  684. ]
  685. },
  686. {
  687. "name": "sound",
  688. "type": "ItemSoundHolder"
  689. },
  690. {
  691. "name": "makes_particles",
  692. "type": "bool"
  693. },
  694. {
  695. "name": "effects",
  696. "type": [
  697. "array",
  698. {
  699. "countType": "varint",
  700. "type": "ItemConsumeEffect"
  701. }
  702. ]
  703. }
  704. ]
  705. ],
  706. "use_remainder": "Slot",
  707. "use_cooldown": [
  708. "container",
  709. [
  710. {
  711. "name": "seconds",
  712. "type": "f32"
  713. },
  714. {
  715. "name": "cooldownGroup",
  716. "type": [
  717. "option",
  718. "string"
  719. ]
  720. }
  721. ]
  722. ],
  723. "damage_resistant": "string",
  724. "tool": [
  725. "container",
  726. [
  727. {
  728. "name": "rules",
  729. "type": [
  730. "array",
  731. {
  732. "countType": "varint",
  733. "type": [
  734. "container",
  735. [
  736. {
  737. "name": "blocks",
  738. "type": "IDSet"
  739. },
  740. {
  741. "name": "speed",
  742. "type": [
  743. "option",
  744. "f32"
  745. ]
  746. },
  747. {
  748. "name": "correctDropForBlocks",
  749. "type": [
  750. "option",
  751. "bool"
  752. ]
  753. }
  754. ]
  755. ]
  756. }
  757. ]
  758. },
  759. {
  760. "name": "defaultMiningSpeed",
  761. "type": "f32"
  762. },
  763. {
  764. "name": "damagePerBlock",
  765. "type": "varint"
  766. },
  767. {
  768. "name": "canDestroyBlocksInCreative",
  769. "type": "bool"
  770. }
  771. ]
  772. ],
  773. "weapon": [
  774. "container",
  775. [
  776. {
  777. "name": "itemDamagePerAttack",
  778. "type": "varint"
  779. },
  780. {
  781. "name": "disableBlockingForSeconds",
  782. "type": "f32"
  783. }
  784. ]
  785. ],
  786. "enchantable": "varint",
  787. "equippable": [
  788. "container",
  789. [
  790. {
  791. "name": "slot",
  792. "type": [
  793. "mapper",
  794. {
  795. "type": "varint",
  796. "mappings": {
  797. "0": "main_hand",
  798. "1": "off_hand",
  799. "2": "feet",
  800. "3": "legs",
  801. "4": "chest",
  802. "5": "head",
  803. "6": "body",
  804. "7": "saddle"
  805. }
  806. }
  807. ]
  808. },
  809. {
  810. "name": "sound",
  811. "type": "ItemSoundHolder"
  812. },
  813. {
  814. "name": "model",
  815. "type": [
  816. "option",
  817. "string"
  818. ]
  819. },
  820. {
  821. "name": "cameraOverlay",
  822. "type": [
  823. "option",
  824. "string"
  825. ]
  826. },
  827. {
  828. "name": "allowedEntities",
  829. "type": [
  830. "option",
  831. "IDSet"
  832. ]
  833. },
  834. {
  835. "name": "dispensable",
  836. "type": "bool"
  837. },
  838. {
  839. "name": "swappable",
  840. "type": "bool"
  841. },
  842. {
  843. "name": "damageable",
  844. "type": "bool"
  845. },
  846. {
  847. "name": "equipOnInteract",
  848. "type": "bool"
  849. },
  850. {
  851. "name": "shearable",
  852. "type": "bool"
  853. },
  854. {
  855. "name": "shearingSound",
  856. "type": "ItemSoundHolder"
  857. }
  858. ]
  859. ],
  860. "repairable": [
  861. "container",
  862. [
  863. {
  864. "name": "items",
  865. "type": "IDSet"
  866. }
  867. ]
  868. ],
  869. "glider": "void",
  870. "tooltip_style": "string",
  871. "death_protection": [
  872. "container",
  873. [
  874. {
  875. "name": "effects",
  876. "type": [
  877. "array",
  878. {
  879. "countType": "varint",
  880. "type": "ItemConsumeEffect"
  881. }
  882. ]
  883. }
  884. ]
  885. ],
  886. "dyed_color": "i32",
  887. "map_color": "i32",
  888. "map_id": "varint",
  889. "map_decorations": "anonymousNbt",
  890. "map_post_processing": "varint",
  891. "potion_duration_scale": "f32",
  892. "charged_projectiles": [
  893. "container",
  894. [
  895. {
  896. "name": "projectiles",
  897. "type": [
  898. "array",
  899. {
  900. "countType": "varint",
  901. "type": "Slot"
  902. }
  903. ]
  904. }
  905. ]
  906. ],
  907. "bundle_contents": [
  908. "container",
  909. [
  910. {
  911. "name": "contents",
  912. "type": [
  913. "array",
  914. {
  915. "countType": "varint",
  916. "type": "Slot"
  917. }
  918. ]
  919. }
  920. ]
  921. ],
  922. "potion_contents": [
  923. "container",
  924. [
  925. {
  926. "name": "potionId",
  927. "type": [
  928. "option",
  929. "varint"
  930. ]
  931. },
  932. {
  933. "name": "customColor",
  934. "type": [
  935. "option",
  936. "i32"
  937. ]
  938. },
  939. {
  940. "name": "customEffects",
  941. "type": [
  942. "array",
  943. {
  944. "countType": "varint",
  945. "type": "ItemPotionEffect"
  946. }
  947. ]
  948. },
  949. {
  950. "name": "customName",
  951. "type": [
  952. "option",
  953. "string"
  954. ]
  955. }
  956. ]
  957. ],
  958. "suspicious_stew_effects": [
  959. "container",
  960. [
  961. {
  962. "name": "effects",
  963. "type": [
  964. "array",
  965. {
  966. "countType": "varint",
  967. "type": [
  968. "container",
  969. [
  970. {
  971. "name": "effect",
  972. "type": "varint"
  973. },
  974. {
  975. "name": "duration",
  976. "type": "varint"
  977. }
  978. ]
  979. ]
  980. }
  981. ]
  982. }
  983. ]
  984. ],
  985. "writable_book_content": [
  986. "container",
  987. [
  988. {
  989. "name": "pages",
  990. "type": [
  991. "array",
  992. {
  993. "countType": "varint",
  994. "type": "ItemBookPage"
  995. }
  996. ]
  997. }
  998. ]
  999. ],
  1000. "written_book_content": [
  1001. "container",
  1002. [
  1003. {
  1004. "name": "rawTitle",
  1005. "type": "string"
  1006. },
  1007. {
  1008. "name": "filteredTitle",
  1009. "type": [
  1010. "option",
  1011. "string"
  1012. ]
  1013. },
  1014. {
  1015. "name": "author",
  1016. "type": "string"
  1017. },
  1018. {
  1019. "name": "generation",
  1020. "type": "varint"
  1021. },
  1022. {
  1023. "name": "pages",
  1024. "type": [
  1025. "array",
  1026. {
  1027. "countType": "varint",
  1028. "type": "ItemWrittenBookPage"
  1029. }
  1030. ]
  1031. },
  1032. {
  1033. "name": "resolved",
  1034. "type": "bool"
  1035. }
  1036. ]
  1037. ],
  1038. "trim": [
  1039. "container",
  1040. [
  1041. {
  1042. "name": "material",
  1043. "type": [
  1044. "registryEntryHolder",
  1045. {
  1046. "baseName": "materialId",
  1047. "otherwise": {
  1048. "name": "data",
  1049. "type": "ArmorTrimMaterial"
  1050. }
  1051. }
  1052. ]
  1053. },
  1054. {
  1055. "name": "pattern",
  1056. "type": [
  1057. "registryEntryHolder",
  1058. {
  1059. "baseName": "patternId",
  1060. "otherwise": {
  1061. "name": "data",
  1062. "type": "ArmorTrimPattern"
  1063. }
  1064. }
  1065. ]
  1066. }
  1067. ]
  1068. ],
  1069. "debug_stick_state": "anonymousNbt",
  1070. "entity_data": [
  1071. "container",
  1072. [
  1073. {
  1074. "name": "type",
  1075. "type": "varint"
  1076. },
  1077. {
  1078. "name": "data",
  1079. "type": "anonymousNbt"
  1080. }
  1081. ]
  1082. ],
  1083. "block_entity_data": [
  1084. "container",
  1085. [
  1086. {
  1087. "name": "type",
  1088. "type": "varint"
  1089. },
  1090. {
  1091. "name": "data",
  1092. "type": "anonymousNbt"
  1093. }
  1094. ]
  1095. ],
  1096. "bucket_entity_data": "anonymousNbt",
  1097. "instrument": [
  1098. "container",
  1099. [
  1100. {
  1101. "name": "hasHolder",
  1102. "type": "bool"
  1103. },
  1104. {
  1105. "name": "data",
  1106. "type": [
  1107. "switch",
  1108. {
  1109. "compareTo": "hasHolder",
  1110. "fields": {
  1111. "true": [
  1112. "registryEntryHolder",
  1113. {
  1114. "baseName": "instrumentId",
  1115. "otherwise": {
  1116. "name": "data",
  1117. "type": "InstrumentData"
  1118. }
  1119. }
  1120. ],
  1121. "false": "string"
  1122. }
  1123. }
  1124. ]
  1125. }
  1126. ]
  1127. ],
  1128. "provides_trim_material": [
  1129. "container",
  1130. [
  1131. {
  1132. "name": "hasHolder",
  1133. "type": "bool"
  1134. },
  1135. {
  1136. "name": "material",
  1137. "type": [
  1138. "switch",
  1139. {
  1140. "compareTo": "hasHolder",
  1141. "fields": {
  1142. "true": [
  1143. "registryEntryHolder",
  1144. {
  1145. "baseName": "materialId",
  1146. "otherwise": {
  1147. "name": "data",
  1148. "type": "ArmorTrimMaterial"
  1149. }
  1150. }
  1151. ],
  1152. "false": "string"
  1153. }
  1154. }
  1155. ]
  1156. }
  1157. ]
  1158. ],
  1159. "ominous_bottle_amplifier": "varint",
  1160. "jukebox_playable": [
  1161. "container",
  1162. [
  1163. {
  1164. "name": "hasHolder",
  1165. "type": "bool"
  1166. },
  1167. {
  1168. "name": "song",
  1169. "type": [
  1170. "switch",
  1171. {
  1172. "compareTo": "hasHolder",
  1173. "fields": {
  1174. "true": [
  1175. "registryEntryHolder",
  1176. {
  1177. "baseName": "songId",
  1178. "otherwise": {
  1179. "name": "data",
  1180. "type": "JukeboxSongData"
  1181. }
  1182. }
  1183. ],
  1184. "false": "string"
  1185. }
  1186. }
  1187. ]
  1188. }
  1189. ]
  1190. ],
  1191. "provides_banner_patterns": "string",
  1192. "recipes": "anonymousNbt",
  1193. "lodestone_tracker": [
  1194. "container",
  1195. [
  1196. {
  1197. "name": "globalPosition",
  1198. "type": [
  1199. "option",
  1200. "GlobalPos"
  1201. ]
  1202. },
  1203. {
  1204. "name": "tracked",
  1205. "type": "bool"
  1206. }
  1207. ]
  1208. ],
  1209. "firework_explosion": "ItemFireworkExplosion",
  1210. "fireworks": [
  1211. "container",
  1212. [
  1213. {
  1214. "name": "flightDuration",
  1215. "type": "varint"
  1216. },
  1217. {
  1218. "name": "explosions",
  1219. "type": [
  1220. "array",
  1221. {
  1222. "countType": "varint",
  1223. "type": "ItemFireworkExplosion"
  1224. }
  1225. ]
  1226. }
  1227. ]
  1228. ],
  1229. "profile": "ResolvableProfile",
  1230. "note_block_sound": "string",
  1231. "banner_patterns": [
  1232. "container",
  1233. [
  1234. {
  1235. "name": "layers",
  1236. "type": [
  1237. "array",
  1238. {
  1239. "countType": "varint",
  1240. "type": "BannerPatternLayer"
  1241. }
  1242. ]
  1243. }
  1244. ]
  1245. ],
  1246. "base_color": "varint",
  1247. "pot_decorations": [
  1248. "container",
  1249. [
  1250. {
  1251. "name": "decorations",
  1252. "type": [
  1253. "array",
  1254. {
  1255. "countType": "varint",
  1256. "type": "varint"
  1257. }
  1258. ]
  1259. }
  1260. ]
  1261. ],
  1262. "container": [
  1263. "container",
  1264. [
  1265. {
  1266. "name": "contents",
  1267. "type": [
  1268. "array",
  1269. {
  1270. "countType": "varint",
  1271. "type": "Slot"
  1272. }
  1273. ]
  1274. }
  1275. ]
  1276. ],
  1277. "block_state": [
  1278. "container",
  1279. [
  1280. {
  1281. "name": "properties",
  1282. "type": [
  1283. "array",
  1284. {
  1285. "countType": "varint",
  1286. "type": [
  1287. "container",
  1288. [
  1289. {
  1290. "name": "name",
  1291. "type": "string"
  1292. },
  1293. {
  1294. "name": "value",
  1295. "type": "string"
  1296. }
  1297. ]
  1298. ]
  1299. }
  1300. ]
  1301. }
  1302. ]
  1303. ],
  1304. "bees": [
  1305. "container",
  1306. [
  1307. {
  1308. "name": "bees",
  1309. "type": [
  1310. "array",
  1311. {
  1312. "countType": "varint",
  1313. "type": [
  1314. "container",
  1315. [
  1316. {
  1317. "name": "nbtData",
  1318. "type": "anonymousNbt"
  1319. },
  1320. {
  1321. "name": "ticksInHive",
  1322. "type": "varint"
  1323. },
  1324. {
  1325. "name": "minTicksInHive",
  1326. "type": "varint"
  1327. }
  1328. ]
  1329. ]
  1330. }
  1331. ]
  1332. }
  1333. ]
  1334. ],
  1335. "lock": "anonymousNbt",
  1336. "container_loot": "anonymousNbt",
  1337. "break_sound": "ItemSoundHolder",
  1338. "villager/variant": "varint",
  1339. "wolf/variant": "varint",
  1340. "wolf/sound_variant": "varint",
  1341. "wolf/collar": "varint",
  1342. "fox/variant": "varint",
  1343. "salmon/size": "varint",
  1344. "parrot/variant": "varint",
  1345. "tropical_fish/pattern": "varint",
  1346. "tropical_fish/base_color": "varint",
  1347. "tropical_fish/pattern_color": "varint",
  1348. "mooshroom/variant": "varint",
  1349. "rabbit/variant": "varint",
  1350. "pig/variant": "varint",
  1351. "cow/variant": "varint",
  1352. "chicken/variant": [
  1353. "container",
  1354. [
  1355. {
  1356. "name": "hasHolder",
  1357. "type": "bool"
  1358. },
  1359. {
  1360. "name": "variant",
  1361. "type": [
  1362. "switch",
  1363. {
  1364. "compareTo": "hasHolder",
  1365. "fields": {
  1366. "true": "varint",
  1367. "false": "string"
  1368. }
  1369. }
  1370. ]
  1371. }
  1372. ]
  1373. ],
  1374. "frog/variant": "varint",
  1375. "horse/variant": "varint",
  1376. "painting/variant": [
  1377. "registryEntryHolder",
  1378. {
  1379. "baseName": "variantId",
  1380. "otherwise": {
  1381. "name": "data",
  1382. "type": "EntityMetadataPaintingVariant"
  1383. }
  1384. }
  1385. ],
  1386. "llama/variant": "varint",
  1387. "axolotl/variant": "varint",
  1388. "cat/variant": "varint",
  1389. "cat/collar": "varint",
  1390. "sheep/color": "varint",
  1391. "shulker/color": "varint"
  1392. }
  1393. }
  1394. ]
  1395. }
  1396. ]
  1397. ],
  1398. "ItemSoundEvent": [
  1399. "container",
  1400. [
  1401. {
  1402. "name": "soundName",
  1403. "type": "string"
  1404. },
  1405. {
  1406. "name": "fixedRange",
  1407. "type": [
  1408. "option",
  1409. "f32"
  1410. ]
  1411. }
  1412. ]
  1413. ],
  1414. "ItemSoundHolder": [
  1415. "registryEntryHolder",
  1416. {
  1417. "baseName": "soundId",
  1418. "otherwise": {
  1419. "name": "data",
  1420. "type": "ItemSoundEvent"
  1421. }
  1422. }
  1423. ],
  1424. "ItemFireworkExplosion": [
  1425. "container",
  1426. [
  1427. {
  1428. "name": "shape",
  1429. "type": [
  1430. "mapper",
  1431. {
  1432. "type": "varint",
  1433. "mappings": {
  1434. "0": "small_ball",
  1435. "1": "large_ball",
  1436. "2": "star",
  1437. "3": "creeper",
  1438. "4": "burst"
  1439. }
  1440. }
  1441. ]
  1442. },
  1443. {
  1444. "name": "colors",
  1445. "type": [
  1446. "array",
  1447. {
  1448. "countType": "varint",
  1449. "type": "i32"
  1450. }
  1451. ]
  1452. },
  1453. {
  1454. "name": "fadeColors",
  1455. "type": [
  1456. "array",
  1457. {
  1458. "countType": "varint",
  1459. "type": "i32"
  1460. }
  1461. ]
  1462. },
  1463. {
  1464. "name": "hasTrail",
  1465. "type": "bool"
  1466. },
  1467. {
  1468. "name": "hasTwinkle",
  1469. "type": "bool"
  1470. }
  1471. ]
  1472. ],
  1473. "ItemEffectDetail": [
  1474. "container",
  1475. [
  1476. {
  1477. "name": "amplifier",
  1478. "type": "varint"
  1479. },
  1480. {
  1481. "name": "duration",
  1482. "type": "varint"
  1483. },
  1484. {
  1485. "name": "ambient",
  1486. "type": "bool"
  1487. },
  1488. {
  1489. "name": "showParticles",
  1490. "type": "bool"
  1491. },
  1492. {
  1493. "name": "showIcon",
  1494. "type": "bool"
  1495. },
  1496. {
  1497. "name": "hiddenEffect",
  1498. "type": [
  1499. "option",
  1500. "ItemEffectDetail"
  1501. ]
  1502. }
  1503. ]
  1504. ],
  1505. "ItemPotionEffect": [
  1506. "container",
  1507. [
  1508. {
  1509. "name": "id",
  1510. "type": "varint"
  1511. },
  1512. {
  1513. "name": "details",
  1514. "type": "ItemEffectDetail"
  1515. }
  1516. ]
  1517. ],
  1518. "ItemBlockProperty": [
  1519. "container",
  1520. [
  1521. {
  1522. "name": "name",
  1523. "type": "string"
  1524. },
  1525. {
  1526. "name": "isExactMatch",
  1527. "type": "bool"
  1528. },
  1529. {
  1530. "name": "value",
  1531. "type": [
  1532. "switch",
  1533. {
  1534. "compareTo": "isExactMatch",
  1535. "fields": {
  1536. "true": [
  1537. "container",
  1538. [
  1539. {
  1540. "name": "exactValue",
  1541. "type": "string"
  1542. }
  1543. ]
  1544. ],
  1545. "false": [
  1546. "container",
  1547. [
  1548. {
  1549. "name": "minValue",
  1550. "type": "string"
  1551. },
  1552. {
  1553. "name": "maxValue",
  1554. "type": "string"
  1555. }
  1556. ]
  1557. ]
  1558. }
  1559. }
  1560. ]
  1561. }
  1562. ]
  1563. ],
  1564. "ExactComponentMatcher": [
  1565. "array",
  1566. {
  1567. "countType": "varint",
  1568. "type": "SlotComponent"
  1569. }
  1570. ],
  1571. "DataComponentMatchers": [
  1572. "container",
  1573. [
  1574. {
  1575. "name": "exactMatchers",
  1576. "type": "ExactComponentMatcher"
  1577. },
  1578. {
  1579. "name": "partialMatchers",
  1580. "type": [
  1581. "array",
  1582. {
  1583. "countType": "varint",
  1584. "type": "varint"
  1585. }
  1586. ]
  1587. }
  1588. ]
  1589. ],
  1590. "ItemBlockPredicate": [
  1591. "container",
  1592. [
  1593. {
  1594. "name": "blockSet",
  1595. "type": [
  1596. "option",
  1597. [
  1598. "registryEntryHolderSet",
  1599. {
  1600. "base": {
  1601. "name": "name",
  1602. "type": "string"
  1603. },
  1604. "otherwise": {
  1605. "name": "blockIds",
  1606. "type": "varint"
  1607. }
  1608. }
  1609. ]
  1610. ]
  1611. },
  1612. {
  1613. "name": "properties",
  1614. "type": [
  1615. "option",
  1616. [
  1617. "array",
  1618. {
  1619. "countType": "varint",
  1620. "type": "ItemBlockProperty"
  1621. }
  1622. ]
  1623. ]
  1624. },
  1625. {
  1626. "name": "nbt",
  1627. "type": "anonOptionalNbt"
  1628. },
  1629. {
  1630. "name": "components",
  1631. "type": "DataComponentMatchers"
  1632. }
  1633. ]
  1634. ],
  1635. "ItemBookPage": [
  1636. "container",
  1637. [
  1638. {
  1639. "name": "content",
  1640. "type": "string"
  1641. },
  1642. {
  1643. "name": "filteredContent",
  1644. "type": [
  1645. "option",
  1646. "string"
  1647. ]
  1648. }
  1649. ]
  1650. ],
  1651. "ItemWrittenBookPage": [
  1652. "container",
  1653. [
  1654. {
  1655. "name": "content",
  1656. "type": "anonymousNbt"
  1657. },
  1658. {
  1659. "name": "filteredContent",
  1660. "type": "anonOptionalNbt"
  1661. }
  1662. ]
  1663. ],
  1664. "ItemConsumeEffect": [
  1665. "container",
  1666. [
  1667. {
  1668. "name": "type",
  1669. "type": [
  1670. "mapper",
  1671. {
  1672. "type": "varint",
  1673. "mappings": {
  1674. "0": "apply_effects",
  1675. "1": "remove_effects",
  1676. "2": "clear_all_effects",
  1677. "3": "teleport_randomly",
  1678. "4": "play_sound"
  1679. }
  1680. }
  1681. ]
  1682. },
  1683. {
  1684. "anon": true,
  1685. "type": [
  1686. "switch",
  1687. {
  1688. "compareTo": "type",
  1689. "fields": {
  1690. "apply_effects": [
  1691. "container",
  1692. [
  1693. {
  1694. "name": "effects",
  1695. "type": [
  1696. "array",
  1697. {
  1698. "countType": "varint",
  1699. "type": "ItemPotionEffect"
  1700. }
  1701. ]
  1702. },
  1703. {
  1704. "name": "probability",
  1705. "type": "f32"
  1706. }
  1707. ]
  1708. ],
  1709. "remove_effects": [
  1710. "container",
  1711. [
  1712. {
  1713. "name": "effects",
  1714. "type": "IDSet"
  1715. }
  1716. ]
  1717. ],
  1718. "clear_all_effects": "void",
  1719. "teleport_randomly": [
  1720. "container",
  1721. [
  1722. {
  1723. "name": "diameter",
  1724. "type": "f32"
  1725. }
  1726. ]
  1727. ],
  1728. "play_sound": [
  1729. "container",
  1730. [
  1731. {
  1732. "name": "sound",
  1733. "type": "ItemSoundHolder"
  1734. }
  1735. ]
  1736. ]
  1737. }
  1738. }
  1739. ]
  1740. }
  1741. ]
  1742. ],
  1743. "ArmorTrimMaterial": [
  1744. "container",
  1745. [
  1746. {
  1747. "name": "assetBase",
  1748. "type": "string"
  1749. },
  1750. {
  1751. "name": "overrideArmorAssets",
  1752. "type": [
  1753. "array",
  1754. {
  1755. "countType": "varint",
  1756. "type": [
  1757. "container",
  1758. [
  1759. {
  1760. "name": "key",
  1761. "type": "string"
  1762. },
  1763. {
  1764. "name": "value",
  1765. "type": "string"
  1766. }
  1767. ]
  1768. ]
  1769. }
  1770. ]
  1771. },
  1772. {
  1773. "name": "description",
  1774. "type": "anonymousNbt"
  1775. }
  1776. ]
  1777. ],
  1778. "ArmorTrimPattern": [
  1779. "container",
  1780. [
  1781. {
  1782. "name": "assetId",
  1783. "type": "string"
  1784. },
  1785. {
  1786. "name": "description",
  1787. "type": "anonymousNbt"
  1788. },
  1789. {
  1790. "name": "decal",
  1791. "type": "bool"
  1792. }
  1793. ]
  1794. ],
  1795. "InstrumentData": [
  1796. "container",
  1797. [
  1798. {
  1799. "name": "soundEvent",
  1800. "type": "ItemSoundHolder"
  1801. },
  1802. {
  1803. "name": "useDuration",
  1804. "type": "f32"
  1805. },
  1806. {
  1807. "name": "range",
  1808. "type": "f32"
  1809. },
  1810. {
  1811. "name": "description",
  1812. "type": "anonymousNbt"
  1813. }
  1814. ]
  1815. ],
  1816. "JukeboxSongData": [
  1817. "container",
  1818. [
  1819. {
  1820. "name": "soundEvent",
  1821. "type": "ItemSoundHolder"
  1822. },
  1823. {
  1824. "name": "description",
  1825. "type": "anonymousNbt"
  1826. },
  1827. {
  1828. "name": "lengthInSeconds",
  1829. "type": "f32"
  1830. },
  1831. {
  1832. "name": "comparatorOutput",
  1833. "type": "varint"
  1834. }
  1835. ]
  1836. ],
  1837. "BannerPattern": [
  1838. "container",
  1839. [
  1840. {
  1841. "name": "assetId",
  1842. "type": "string"
  1843. },
  1844. {
  1845. "name": "translationKey",
  1846. "type": "string"
  1847. }
  1848. ]
  1849. ],
  1850. "BannerPatternLayer": [
  1851. "container",
  1852. [
  1853. {
  1854. "name": "pattern",
  1855. "type": [
  1856. "registryEntryHolder",
  1857. {
  1858. "baseName": "patternId",
  1859. "otherwise": {
  1860. "name": "data",
  1861. "type": "BannerPattern"
  1862. }
  1863. }
  1864. ]
  1865. },
  1866. {
  1867. "name": "colorId",
  1868. "type": "varint"
  1869. }
  1870. ]
  1871. ],
  1872. "UntrustedSlotComponent": [
  1873. "container",
  1874. [
  1875. {
  1876. "name": "type",
  1877. "type": "SlotComponentType"
  1878. },
  1879. {
  1880. "name": "data",
  1881. "type": "ByteArray"
  1882. }
  1883. ]
  1884. ],
  1885. "UntrustedSlot": [
  1886. "container",
  1887. [
  1888. {
  1889. "name": "itemCount",
  1890. "type": "varint"
  1891. },
  1892. {
  1893. "anon": true,
  1894. "type": [
  1895. "switch",
  1896. {
  1897. "compareTo": "itemCount",
  1898. "fields": {
  1899. "0": "void",
  1900. "false": "void"
  1901. },
  1902. "default": [
  1903. "container",
  1904. [
  1905. {
  1906. "name": "itemId",
  1907. "type": "varint"
  1908. },
  1909. {
  1910. "name": "addedComponentCount",
  1911. "type": "varint"
  1912. },
  1913. {
  1914. "name": "removedComponentCount",
  1915. "type": "varint"
  1916. },
  1917. {
  1918. "name": "components",
  1919. "type": [
  1920. "array",
  1921. {
  1922. "count": "addedComponentCount",
  1923. "type": "UntrustedSlotComponent"
  1924. }
  1925. ]
  1926. },
  1927. {
  1928. "name": "removeComponents",
  1929. "type": [
  1930. "array",
  1931. {
  1932. "count": "removedComponentCount",
  1933. "type": [
  1934. "container",
  1935. [
  1936. {
  1937. "name": "type",
  1938. "type": "SlotComponentType"
  1939. }
  1940. ]
  1941. ]
  1942. }
  1943. ]
  1944. }
  1945. ]
  1946. ]
  1947. }
  1948. ]
  1949. }
  1950. ]
  1951. ],
  1952. "Slot": [
  1953. "container",
  1954. [
  1955. {
  1956. "name": "itemCount",
  1957. "type": "varint"
  1958. },
  1959. {
  1960. "anon": true,
  1961. "type": [
  1962. "switch",
  1963. {
  1964. "compareTo": "itemCount",
  1965. "fields": {
  1966. "0": "void"
  1967. },
  1968. "default": [
  1969. "container",
  1970. [
  1971. {
  1972. "name": "itemId",
  1973. "type": "varint"
  1974. },
  1975. {
  1976. "name": "addedComponentCount",
  1977. "type": "varint"
  1978. },
  1979. {
  1980. "name": "removedComponentCount",
  1981. "type": "varint"
  1982. },
  1983. {
  1984. "name": "components",
  1985. "type": [
  1986. "array",
  1987. {
  1988. "count": "addedComponentCount",
  1989. "type": "SlotComponent"
  1990. }
  1991. ]
  1992. },
  1993. {
  1994. "name": "removeComponents",
  1995. "type": [
  1996. "array",
  1997. {
  1998. "count": "removedComponentCount",
  1999. "type": [
  2000. "container",
  2001. [
  2002. {
  2003. "name": "type",
  2004. "type": "SlotComponentType"
  2005. }
  2006. ]
  2007. ]
  2008. }
  2009. ]
  2010. }
  2011. ]
  2012. ]
  2013. }
  2014. ]
  2015. }
  2016. ]
  2017. ],
  2018. "HashedSlot": [
  2019. "container",
  2020. [
  2021. {
  2022. "name": "itemId",
  2023. "type": "varint"
  2024. },
  2025. {
  2026. "name": "itemCount",
  2027. "type": "varint"
  2028. },
  2029. {
  2030. "name": "components",
  2031. "type": [
  2032. "array",
  2033. {
  2034. "countType": "varint",
  2035. "type": [
  2036. "container",
  2037. [
  2038. {
  2039. "name": "type",
  2040. "type": "SlotComponentType"
  2041. },
  2042. {
  2043. "name": "hash",
  2044. "type": "i32"
  2045. }
  2046. ]
  2047. ]
  2048. }
  2049. ]
  2050. },
  2051. {
  2052. "name": "removeComponents",
  2053. "type": [
  2054. "array",
  2055. {
  2056. "countType": "varint",
  2057. "type": [
  2058. "container",
  2059. [
  2060. {
  2061. "name": "type",
  2062. "type": "SlotComponentType"
  2063. }
  2064. ]
  2065. ]
  2066. }
  2067. ]
  2068. }
  2069. ]
  2070. ],
  2071. "RespawnData": [
  2072. "container",
  2073. [
  2074. {
  2075. "name": "globalPos",
  2076. "type": "GlobalPos"
  2077. },
  2078. {
  2079. "name": "yaw",
  2080. "type": "f32"
  2081. },
  2082. {
  2083. "name": "pitch",
  2084. "type": "f32"
  2085. }
  2086. ]
  2087. ],
  2088. "GlobalPos": [
  2089. "container",
  2090. [
  2091. {
  2092. "name": "dimensionName",
  2093. "type": "string"
  2094. },
  2095. {
  2096. "name": "location",
  2097. "type": "position"
  2098. }
  2099. ]
  2100. ],
  2101. "DebugStructureInfo": [
  2102. "container",
  2103. [
  2104. {
  2105. "name": "boundingBoxMin",
  2106. "type": "position"
  2107. },
  2108. {
  2109. "name": "boundingBoxMax",
  2110. "type": "position"
  2111. },
  2112. {
  2113. "name": "pieces",
  2114. "type": [
  2115. "array",
  2116. {
  2117. "countType": "varint",
  2118. "type": [
  2119. "container",
  2120. [
  2121. {
  2122. "name": "boundingBoxMin",
  2123. "type": "position"
  2124. },
  2125. {
  2126. "name": "boundingBoxMax",
  2127. "type": "position"
  2128. },
  2129. {
  2130. "name": "isStart",
  2131. "type": "bool"
  2132. }
  2133. ]
  2134. ]
  2135. }
  2136. ]
  2137. }
  2138. ]
  2139. ],
  2140. "Node": [
  2141. "container",
  2142. [
  2143. {
  2144. "name": "position",
  2145. "type": "vec3i32"
  2146. },
  2147. {
  2148. "name": "walkedDistance",
  2149. "type": "f32"
  2150. },
  2151. {
  2152. "name": "costMalus",
  2153. "type": "f32"
  2154. },
  2155. {
  2156. "name": "closed",
  2157. "type": "bool"
  2158. },
  2159. {
  2160. "name": "type",
  2161. "type": [
  2162. "mapper",
  2163. {
  2164. "type": "varint",
  2165. "mappings": {
  2166. "0": "blocked",
  2167. "1": "open",
  2168. "2": "walkable",
  2169. "3": "walkable_door",
  2170. "4": "trapdoor",
  2171. "5": "powder_snow",
  2172. "6": "danger_powder_snow",
  2173. "7": "fence",
  2174. "8": "lava",
  2175. "9": "water",
  2176. "10": "water_border",
  2177. "11": "rail",
  2178. "12": "unpassable_rail",
  2179. "13": "danger_fire",
  2180. "14": "damage_fire",
  2181. "15": "danger_other",
  2182. "16": "damage_other",
  2183. "17": "door_open",
  2184. "18": "door_wood_closed",
  2185. "19": "door_iron_closed",
  2186. "20": "breach",
  2187. "21": "leaves",
  2188. "22": "sticky_honey",
  2189. "23": "cocoa",
  2190. "24": "damage_cautious",
  2191. "25": "danger_trapdoor"
  2192. }
  2193. }
  2194. ]
  2195. },
  2196. {
  2197. "name": "f",
  2198. "type": "f32"
  2199. }
  2200. ]
  2201. ],
  2202. "PathDebugData": [
  2203. "container",
  2204. [
  2205. {
  2206. "name": "openSet",
  2207. "type": [
  2208. "array",
  2209. {
  2210. "countType": "varint",
  2211. "type": "Node"
  2212. }
  2213. ]
  2214. },
  2215. {
  2216. "name": "closedSet",
  2217. "type": [
  2218. "array",
  2219. {
  2220. "countType": "varint",
  2221. "type": "Node"
  2222. }
  2223. ]
  2224. },
  2225. {
  2226. "name": "targetNodes",
  2227. "type": [
  2228. "array",
  2229. {
  2230. "countType": "varint",
  2231. "type": "Node"
  2232. }
  2233. ]
  2234. }
  2235. ]
  2236. ],
  2237. "Path": [
  2238. "container",
  2239. [
  2240. {
  2241. "name": "reached",
  2242. "type": "bool"
  2243. },
  2244. {
  2245. "name": "nextNodeIndex",
  2246. "type": "i32"
  2247. },
  2248. {
  2249. "name": "target",
  2250. "type": "position"
  2251. },
  2252. {
  2253. "name": "nodes",
  2254. "type": [
  2255. "array",
  2256. {
  2257. "countType": "varint",
  2258. "type": "Node"
  2259. }
  2260. ]
  2261. },
  2262. {
  2263. "name": "debugData",
  2264. "type": "PathDebugData"
  2265. }
  2266. ]
  2267. ],
  2268. "DebugSubscriptionDataType": [
  2269. "mapper",
  2270. {
  2271. "type": "varint",
  2272. "mappings": {
  2273. "0": "DedicatedServerTickTime",
  2274. "1": "Bees",
  2275. "2": "Brains",
  2276. "3": "Breezes",
  2277. "4": "GoalSelectors",
  2278. "5": "EntityPaths",
  2279. "6": "EntityBlockIntersections",
  2280. "7": "BeeHives",
  2281. "8": "Pois",
  2282. "9": "RedstoneWireOrientations",
  2283. "10": "VillageSections",
  2284. "11": "Raids",
  2285. "12": "Structures",
  2286. "13": "GameEventListeners",
  2287. "14": "NeighborUpdates",
  2288. "15": "GameEvents"
  2289. }
  2290. }
  2291. ],
  2292. "DebugSubscriptionUpdate": [
  2293. "container",
  2294. [
  2295. {
  2296. "name": "type",
  2297. "type": "DebugSubscriptionDataType"
  2298. },
  2299. {
  2300. "anon": true,
  2301. "type": [
  2302. "switch",
  2303. {
  2304. "compareTo": "type",
  2305. "fields": {
  2306. "DedicatedServerTickTime": "void"
  2307. },
  2308. "default": [
  2309. "container",
  2310. [
  2311. {
  2312. "name": "payload",
  2313. "type": [
  2314. "option",
  2315. [
  2316. "switch",
  2317. {
  2318. "compareTo": "type",
  2319. "fields": {
  2320. "DedicatedServerTickTime": "void",
  2321. "VillageSections": "void",
  2322. "Bees": [
  2323. "container",
  2324. [
  2325. {
  2326. "name": "hivePos",
  2327. "type": [
  2328. "option",
  2329. "position"
  2330. ]
  2331. },
  2332. {
  2333. "name": "flowerPos",
  2334. "type": [
  2335. "option",
  2336. "position"
  2337. ]
  2338. },
  2339. {
  2340. "name": "travelTicks",
  2341. "type": "varint"
  2342. },
  2343. {
  2344. "name": "blacklistedHives",
  2345. "type": [
  2346. "array",
  2347. {
  2348. "countType": "varint",
  2349. "type": "position"
  2350. }
  2351. ]
  2352. }
  2353. ]
  2354. ],
  2355. "Brains": [
  2356. "container",
  2357. [
  2358. {
  2359. "name": "name",
  2360. "type": "string"
  2361. },
  2362. {
  2363. "name": "profession",
  2364. "type": "string"
  2365. },
  2366. {
  2367. "name": "xp",
  2368. "type": "i32"
  2369. },
  2370. {
  2371. "name": "health",
  2372. "type": "f32"
  2373. },
  2374. {
  2375. "name": "maxHealth",
  2376. "type": "f32"
  2377. },
  2378. {
  2379. "name": "inventory",
  2380. "type": "string"
  2381. },
  2382. {
  2383. "name": "wantsGolem",
  2384. "type": "bool"
  2385. },
  2386. {
  2387. "name": "angerLevel",
  2388. "type": "i32"
  2389. },
  2390. {
  2391. "name": "activities",
  2392. "type": [
  2393. "array",
  2394. {
  2395. "countType": "varint",
  2396. "type": "string"
  2397. }
  2398. ]
  2399. },
  2400. {
  2401. "name": "behaviors",
  2402. "type": [
  2403. "array",
  2404. {
  2405. "countType": "varint",
  2406. "type": "string"
  2407. }
  2408. ]
  2409. },
  2410. {
  2411. "name": "memories",
  2412. "type": [
  2413. "array",
  2414. {
  2415. "countType": "varint",
  2416. "type": "string"
  2417. }
  2418. ]
  2419. },
  2420. {
  2421. "name": "gossips",
  2422. "type": [
  2423. "array",
  2424. {
  2425. "countType": "varint",
  2426. "type": "string"
  2427. }
  2428. ]
  2429. },
  2430. {
  2431. "name": "pois",
  2432. "type": [
  2433. "array",
  2434. {
  2435. "countType": "varint",
  2436. "type": "position"
  2437. }
  2438. ]
  2439. },
  2440. {
  2441. "name": "potentialPois",
  2442. "type": [
  2443. "array",
  2444. {
  2445. "countType": "varint",
  2446. "type": "position"
  2447. }
  2448. ]
  2449. }
  2450. ]
  2451. ],
  2452. "Breezes": [
  2453. "container",
  2454. [
  2455. {
  2456. "name": "attackTarget",
  2457. "type": [
  2458. "option",
  2459. "varint"
  2460. ]
  2461. },
  2462. {
  2463. "name": "jumpTarget",
  2464. "type": [
  2465. "option",
  2466. "position"
  2467. ]
  2468. }
  2469. ]
  2470. ],
  2471. "GoalSelectors": [
  2472. "container",
  2473. [
  2474. {
  2475. "name": "goals",
  2476. "type": [
  2477. "array",
  2478. {
  2479. "countType": "varint",
  2480. "type": [
  2481. "container",
  2482. [
  2483. {
  2484. "name": "priority",
  2485. "type": "varint"
  2486. },
  2487. {
  2488. "name": "running",
  2489. "type": "bool"
  2490. },
  2491. {
  2492. "name": "name",
  2493. "type": "string"
  2494. }
  2495. ]
  2496. ]
  2497. }
  2498. ]
  2499. }
  2500. ]
  2501. ],
  2502. "EntityPaths": [
  2503. "container",
  2504. [
  2505. {
  2506. "name": "path",
  2507. "type": "Path"
  2508. },
  2509. {
  2510. "name": "maxNodeDistance",
  2511. "type": "f32"
  2512. }
  2513. ]
  2514. ],
  2515. "EntityBlockIntersections": [
  2516. "container",
  2517. [
  2518. {
  2519. "name": "id",
  2520. "type": "varint"
  2521. }
  2522. ]
  2523. ],
  2524. "BeeHives": [
  2525. "container",
  2526. [
  2527. {
  2528. "name": "type",
  2529. "type": "varint"
  2530. },
  2531. {
  2532. "name": "occupantCount",
  2533. "type": "varint"
  2534. },
  2535. {
  2536. "name": "honeyLevel",
  2537. "type": "varint"
  2538. },
  2539. {
  2540. "name": "sedated",
  2541. "type": "bool"
  2542. }
  2543. ]
  2544. ],
  2545. "Pois": [
  2546. "container",
  2547. [
  2548. {
  2549. "name": "pos",
  2550. "type": "position"
  2551. },
  2552. {
  2553. "name": "poiType",
  2554. "type": "varint"
  2555. },
  2556. {
  2557. "name": "freeTicketCount",
  2558. "type": "varint"
  2559. }
  2560. ]
  2561. ],
  2562. "RedstoneWireOrientations": [
  2563. "container",
  2564. [
  2565. {
  2566. "name": "index",
  2567. "type": "varint"
  2568. }
  2569. ]
  2570. ],
  2571. "Raids": [
  2572. "container",
  2573. [
  2574. {
  2575. "name": "positions",
  2576. "type": [
  2577. "array",
  2578. {
  2579. "countType": "varint",
  2580. "type": "position"
  2581. }
  2582. ]
  2583. }
  2584. ]
  2585. ],
  2586. "Structures": [
  2587. "container",
  2588. [
  2589. {
  2590. "name": "structures",
  2591. "type": [
  2592. "array",
  2593. {
  2594. "countType": "varint",
  2595. "type": "DebugStructureInfo"
  2596. }
  2597. ]
  2598. }
  2599. ]
  2600. ],
  2601. "GameEventListeners": [
  2602. "container",
  2603. [
  2604. {
  2605. "name": "listenerRadius",
  2606. "type": "varint"
  2607. }
  2608. ]
  2609. ],
  2610. "NeighborUpdates": [
  2611. "container",
  2612. [
  2613. {
  2614. "name": "pos",
  2615. "type": "position"
  2616. }
  2617. ]
  2618. ],
  2619. "GameEvents": [
  2620. "container",
  2621. [
  2622. {
  2623. "name": "event",
  2624. "type": "varint"
  2625. },
  2626. {
  2627. "name": "pos",
  2628. "type": "vec3f64"
  2629. }
  2630. ]
  2631. ]
  2632. }
  2633. }
  2634. ]
  2635. ]
  2636. }
  2637. ]
  2638. ]
  2639. }
  2640. ]
  2641. }
  2642. ]
  2643. ],
  2644. "DebugSubscriptionEvent": [
  2645. "container",
  2646. [
  2647. {
  2648. "name": "type",
  2649. "type": "DebugSubscriptionDataType"
  2650. },
  2651. {
  2652. "name": "value",
  2653. "type": [
  2654. "switch",
  2655. {
  2656. "compareTo": "type",
  2657. "fields": {
  2658. "DedicatedServerTickTime": "void",
  2659. "VillageSections": "void",
  2660. "Bees": [
  2661. "container",
  2662. [
  2663. {
  2664. "name": "hivePos",
  2665. "type": [
  2666. "option",
  2667. "position"
  2668. ]
  2669. },
  2670. {
  2671. "name": "flowerPos",
  2672. "type": [
  2673. "option",
  2674. "position"
  2675. ]
  2676. },
  2677. {
  2678. "name": "travelTicks",
  2679. "type": "varint"
  2680. },
  2681. {
  2682. "name": "blacklistedHives",
  2683. "type": [
  2684. "array",
  2685. {
  2686. "countType": "varint",
  2687. "type": "position"
  2688. }
  2689. ]
  2690. }
  2691. ]
  2692. ],
  2693. "Brains": [
  2694. "container",
  2695. [
  2696. {
  2697. "name": "name",
  2698. "type": "string"
  2699. },
  2700. {
  2701. "name": "profession",
  2702. "type": "string"
  2703. },
  2704. {
  2705. "name": "xp",
  2706. "type": "i32"
  2707. },
  2708. {
  2709. "name": "health",
  2710. "type": "f32"
  2711. },
  2712. {
  2713. "name": "maxHealth",
  2714. "type": "f32"
  2715. },
  2716. {
  2717. "name": "inventory",
  2718. "type": "string"
  2719. },
  2720. {
  2721. "name": "wantsGolem",
  2722. "type": "bool"
  2723. },
  2724. {
  2725. "name": "angerLevel",
  2726. "type": "i32"
  2727. },
  2728. {
  2729. "name": "activities",
  2730. "type": [
  2731. "array",
  2732. {
  2733. "countType": "varint",
  2734. "type": "string"
  2735. }
  2736. ]
  2737. },
  2738. {
  2739. "name": "behaviors",
  2740. "type": [
  2741. "array",
  2742. {
  2743. "countType": "varint",
  2744. "type": "string"
  2745. }
  2746. ]
  2747. },
  2748. {
  2749. "name": "memories",
  2750. "type": [
  2751. "array",
  2752. {
  2753. "countType": "varint",
  2754. "type": "string"
  2755. }
  2756. ]
  2757. },
  2758. {
  2759. "name": "gossips",
  2760. "type": [
  2761. "array",
  2762. {
  2763. "countType": "varint",
  2764. "type": "string"
  2765. }
  2766. ]
  2767. },
  2768. {
  2769. "name": "pois",
  2770. "type": [
  2771. "array",
  2772. {
  2773. "countType": "varint",
  2774. "type": "position"
  2775. }
  2776. ]
  2777. },
  2778. {
  2779. "name": "potentialPois",
  2780. "type": [
  2781. "array",
  2782. {
  2783. "countType": "varint",
  2784. "type": "position"
  2785. }
  2786. ]
  2787. }
  2788. ]
  2789. ],
  2790. "Breezes": [
  2791. "container",
  2792. [
  2793. {
  2794. "name": "attackTarget",
  2795. "type": [
  2796. "option",
  2797. "varint"
  2798. ]
  2799. },
  2800. {
  2801. "name": "jumpTarget",
  2802. "type": [
  2803. "option",
  2804. "position"
  2805. ]
  2806. }
  2807. ]
  2808. ],
  2809. "GoalSelectors": [
  2810. "container",
  2811. [
  2812. {
  2813. "name": "priority",
  2814. "type": "varint"
  2815. },
  2816. {
  2817. "name": "running",
  2818. "type": "bool"
  2819. },
  2820. {
  2821. "name": "name",
  2822. "type": "string"
  2823. }
  2824. ]
  2825. ],
  2826. "EntityPaths": [
  2827. "container",
  2828. [
  2829. {
  2830. "name": "path",
  2831. "type": "Path"
  2832. },
  2833. {
  2834. "name": "maxNodeDistance",
  2835. "type": "f32"
  2836. }
  2837. ]
  2838. ],
  2839. "EntityBlockIntersections": [
  2840. "container",
  2841. [
  2842. {
  2843. "name": "id",
  2844. "type": "varint"
  2845. }
  2846. ]
  2847. ],
  2848. "BeeHives": [
  2849. "container",
  2850. [
  2851. {
  2852. "name": "type",
  2853. "type": "varint"
  2854. },
  2855. {
  2856. "name": "occupantCount",
  2857. "type": "varint"
  2858. },
  2859. {
  2860. "name": "honeyLevel",
  2861. "type": "varint"
  2862. },
  2863. {
  2864. "name": "sedated",
  2865. "type": "bool"
  2866. }
  2867. ]
  2868. ],
  2869. "Pois": [
  2870. "container",
  2871. [
  2872. {
  2873. "name": "pos",
  2874. "type": "position"
  2875. },
  2876. {
  2877. "name": "poiType",
  2878. "type": "varint"
  2879. },
  2880. {
  2881. "name": "freeTicketCount",
  2882. "type": "varint"
  2883. }
  2884. ]
  2885. ],
  2886. "RedstoneWireOrientations": [
  2887. "container",
  2888. [
  2889. {
  2890. "name": "index",
  2891. "type": "varint"
  2892. }
  2893. ]
  2894. ],
  2895. "Raids": [
  2896. "container",
  2897. [
  2898. {
  2899. "name": "positions",
  2900. "type": [
  2901. "array",
  2902. {
  2903. "countType": "varint",
  2904. "type": "position"
  2905. }
  2906. ]
  2907. }
  2908. ]
  2909. ],
  2910. "Structures": [
  2911. "container",
  2912. [
  2913. {
  2914. "name": "structures",
  2915. "type": [
  2916. "array",
  2917. {
  2918. "countType": "varint",
  2919. "type": "DebugStructureInfo"
  2920. }
  2921. ]
  2922. }
  2923. ]
  2924. ],
  2925. "GameEventListeners": [
  2926. "container",
  2927. [
  2928. {
  2929. "name": "listenerRadius",
  2930. "type": "varint"
  2931. }
  2932. ]
  2933. ],
  2934. "NeighborUpdates": [
  2935. "container",
  2936. [
  2937. {
  2938. "name": "pos",
  2939. "type": "position"
  2940. }
  2941. ]
  2942. ],
  2943. "GameEvents": [
  2944. "container",
  2945. [
  2946. {
  2947. "name": "event",
  2948. "type": "varint"
  2949. },
  2950. {
  2951. "name": "pos",
  2952. "type": "vec3f64"
  2953. }
  2954. ]
  2955. ]
  2956. }
  2957. }
  2958. ]
  2959. }
  2960. ]
  2961. ],
  2962. "Particle": [
  2963. "container",
  2964. [
  2965. {
  2966. "name": "type",
  2967. "type": [
  2968. "mapper",
  2969. {
  2970. "type": "varint",
  2971. "mappings": {
  2972. "0": "angry_villager",
  2973. "1": "block",
  2974. "2": "block_marker",
  2975. "3": "bubble",
  2976. "4": "cloud",
  2977. "5": "copper_fire_flame",
  2978. "6": "crit",
  2979. "7": "damage_indicator",
  2980. "8": "dragon_breath",
  2981. "9": "dripping_lava",
  2982. "10": "falling_lava",
  2983. "11": "landing_lava",
  2984. "12": "dripping_water",
  2985. "13": "falling_water",
  2986. "14": "dust",
  2987. "15": "dust_color_transition",
  2988. "16": "effect",
  2989. "17": "elder_guardian",
  2990. "18": "enchanted_hit",
  2991. "19": "enchant",
  2992. "20": "end_rod",
  2993. "21": "entity_effect",
  2994. "22": "explosion_emitter",
  2995. "23": "explosion",
  2996. "24": "gust",
  2997. "25": "small_gust",
  2998. "26": "gust_emitter_large",
  2999. "27": "gust_emitter_small",
  3000. "28": "sonic_boom",
  3001. "29": "falling_dust",
  3002. "30": "firework",
  3003. "31": "fishing",
  3004. "32": "flame",
  3005. "33": "infested",
  3006. "34": "cherry_leaves",
  3007. "35": "pale_oak_leaves",
  3008. "36": "tinted_leaves",
  3009. "37": "sculk_soul",
  3010. "38": "sculk_charge",
  3011. "39": "sculk_charge_pop",
  3012. "40": "soul_fire_flame",
  3013. "41": "soul",
  3014. "42": "flash",
  3015. "43": "happy_villager",
  3016. "44": "composter",
  3017. "45": "heart",
  3018. "46": "instant_effect",
  3019. "47": "item",
  3020. "48": "vibration",
  3021. "49": "trail",
  3022. "50": "item_slime",
  3023. "51": "item_cobweb",
  3024. "52": "item_snowball",
  3025. "53": "large_smoke",
  3026. "54": "lava",
  3027. "55": "mycelium",
  3028. "56": "note",
  3029. "57": "poof",
  3030. "58": "portal",
  3031. "59": "rain",
  3032. "60": "smoke",
  3033. "61": "white_smoke",
  3034. "62": "sneeze",
  3035. "63": "spit",
  3036. "64": "squid_ink",
  3037. "65": "sweep_attack",
  3038. "66": "totem_of_undying",
  3039. "67": "underwater",
  3040. "68": "splash",
  3041. "69": "witch",
  3042. "70": "bubble_pop",
  3043. "71": "current_down",
  3044. "72": "bubble_column_up",
  3045. "73": "nautilus",
  3046. "74": "dolphin",
  3047. "75": "campfire_cosy_smoke",
  3048. "76": "campfire_signal_smoke",
  3049. "77": "dripping_honey",
  3050. "78": "falling_honey",
  3051. "79": "landing_honey",
  3052. "80": "falling_nectar",
  3053. "81": "falling_spore_blossom",
  3054. "82": "ash",
  3055. "83": "crimson_spore",
  3056. "84": "warped_spore",
  3057. "85": "spore_blossom_air",
  3058. "86": "dripping_obsidian_tear",
  3059. "87": "falling_obsidian_tear",
  3060. "88": "landing_obsidian_tear",
  3061. "89": "reverse_portal",
  3062. "90": "white_ash",
  3063. "91": "small_flame",
  3064. "92": "snowflake",
  3065. "93": "dripping_dripstone_lava",
  3066. "94": "falling_dripstone_lava",
  3067. "95": "dripping_dripstone_water",
  3068. "96": "falling_dripstone_water",
  3069. "97": "glow_squid_ink",
  3070. "98": "glow",
  3071. "99": "wax_on",
  3072. "100": "wax_off",
  3073. "101": "electric_spark",
  3074. "102": "scrape",
  3075. "103": "shriek",
  3076. "104": "egg_crack",
  3077. "105": "dust_plume",
  3078. "106": "trial_spawner_detected_player",
  3079. "107": "trial_spawner_detected_player_ominous",
  3080. "108": "vault_connection",
  3081. "109": "dust_pillar",
  3082. "110": "ominous_spawning",
  3083. "111": "raid_omen",
  3084. "112": "trial_omen",
  3085. "113": "block_crumble",
  3086. "114": "firefly"
  3087. }
  3088. }
  3089. ]
  3090. },
  3091. {
  3092. "name": "data",
  3093. "type": [
  3094. "switch",
  3095. {
  3096. "compareTo": "type",
  3097. "fields": {
  3098. "block": "varint",
  3099. "block_marker": "varint",
  3100. "falling_dust": "varint",
  3101. "dust_pillar": "varint",
  3102. "block_crumble": "varint",
  3103. "dust": [
  3104. "container",
  3105. [
  3106. {
  3107. "name": "color",
  3108. "type": "i32"
  3109. },
  3110. {
  3111. "name": "scale",
  3112. "type": "f32"
  3113. }
  3114. ]
  3115. ],
  3116. "dust_color_transition": [
  3117. "container",
  3118. [
  3119. {
  3120. "name": "fromColor",
  3121. "type": "i32"
  3122. },
  3123. {
  3124. "name": "toColor",
  3125. "type": "i32"
  3126. },
  3127. {
  3128. "name": "scale",
  3129. "type": "f32"
  3130. }
  3131. ]
  3132. ],
  3133. "entity_effect": "i32",
  3134. "item": "Slot",
  3135. "sculk_charge": "f32",
  3136. "shriek": "varint",
  3137. "vibration": [
  3138. "container",
  3139. [
  3140. {
  3141. "name": "positionType",
  3142. "type": [
  3143. "mapper",
  3144. {
  3145. "type": "varint",
  3146. "mappings": {
  3147. "0": "block",
  3148. "1": "entity"
  3149. }
  3150. }
  3151. ]
  3152. },
  3153. {
  3154. "name": "position",
  3155. "type": [
  3156. "switch",
  3157. {
  3158. "compareTo": "positionType",
  3159. "fields": {
  3160. "block": "position",
  3161. "entity": [
  3162. "container",
  3163. [
  3164. {
  3165. "name": "entityId",
  3166. "type": "varint"
  3167. },
  3168. {
  3169. "name": "entityEyeHeight",
  3170. "type": "f32"
  3171. }
  3172. ]
  3173. ]
  3174. }
  3175. }
  3176. ]
  3177. },
  3178. {
  3179. "name": "ticks",
  3180. "type": "varint"
  3181. }
  3182. ]
  3183. ],
  3184. "trail": [
  3185. "container",
  3186. [
  3187. {
  3188. "name": "target",
  3189. "type": "vec3f64"
  3190. },
  3191. {
  3192. "name": "color",
  3193. "type": "i32"
  3194. },
  3195. {
  3196. "name": "duration",
  3197. "type": "varint"
  3198. }
  3199. ]
  3200. ],
  3201. "tinted_leaves": "i32",
  3202. "firefly": "void",
  3203. "dragon_breath": [
  3204. "container",
  3205. [
  3206. {
  3207. "name": "power",
  3208. "type": "f32"
  3209. }
  3210. ]
  3211. ],
  3212. "effect": [
  3213. "container",
  3214. [
  3215. {
  3216. "name": "color",
  3217. "type": "i32"
  3218. },
  3219. {
  3220. "name": "power",
  3221. "type": "f32"
  3222. }
  3223. ]
  3224. ],
  3225. "instant_effect": [
  3226. "container",
  3227. [
  3228. {
  3229. "name": "color",
  3230. "type": "i32"
  3231. },
  3232. {
  3233. "name": "power",
  3234. "type": "f32"
  3235. }
  3236. ]
  3237. ],
  3238. "flash": "i32"
  3239. }
  3240. }
  3241. ]
  3242. }
  3243. ]
  3244. ],
  3245. "ingredient": [
  3246. "array",
  3247. {
  3248. "countType": "varint",
  3249. "type": "Slot"
  3250. }
  3251. ],
  3252. "position": [
  3253. "bitfield",
  3254. [
  3255. {
  3256. "name": "x",
  3257. "size": 26,
  3258. "signed": true
  3259. },
  3260. {
  3261. "name": "z",
  3262. "size": 26,
  3263. "signed": true
  3264. },
  3265. {
  3266. "name": "y",
  3267. "size": 12,
  3268. "signed": true
  3269. }
  3270. ]
  3271. ],
  3272. "soundSource": [
  3273. "mapper",
  3274. {
  3275. "type": "varint",
  3276. "mappings": {
  3277. "0": "master",
  3278. "1": "music",
  3279. "2": "record",
  3280. "3": "weather",
  3281. "4": "block",
  3282. "5": "hostile",
  3283. "6": "neutral",
  3284. "7": "player",
  3285. "8": "ambient",
  3286. "9": "voice",
  3287. "10": "ui"
  3288. }
  3289. }
  3290. ],
  3291. "packedChunkPos": [
  3292. "container",
  3293. [
  3294. {
  3295. "name": "z",
  3296. "type": "i32"
  3297. },
  3298. {
  3299. "name": "x",
  3300. "type": "i32"
  3301. }
  3302. ]
  3303. ],
  3304. "previousMessages": [
  3305. "array",
  3306. {
  3307. "countType": "varint",
  3308. "type": [
  3309. "container",
  3310. [
  3311. {
  3312. "name": "id",
  3313. "type": "varint"
  3314. },
  3315. {
  3316. "name": "signature",
  3317. "type": [
  3318. "switch",
  3319. {
  3320. "compareTo": "id",
  3321. "fields": {
  3322. "0": [
  3323. "buffer",
  3324. {
  3325. "count": 256
  3326. }
  3327. ]
  3328. },
  3329. "default": "void"
  3330. }
  3331. ]
  3332. }
  3333. ]
  3334. ]
  3335. }
  3336. ],
  3337. "entityMetadataEntry": [
  3338. "container",
  3339. [
  3340. {
  3341. "name": "key",
  3342. "type": "u8"
  3343. },
  3344. {
  3345. "name": "type",
  3346. "type": [
  3347. "mapper",
  3348. {
  3349. "type": "varint",
  3350. "mappings": {
  3351. "0": "byte",
  3352. "1": "int",
  3353. "2": "long",
  3354. "3": "float",
  3355. "4": "string",
  3356. "5": "component",
  3357. "6": "optional_component",
  3358. "7": "item_stack",
  3359. "8": "boolean",
  3360. "9": "rotations",
  3361. "10": "block_pos",
  3362. "11": "optional_block_pos",
  3363. "12": "direction",
  3364. "13": "optional_uuid",
  3365. "14": "block_state",
  3366. "15": "optional_block_state",
  3367. "16": "particle",
  3368. "17": "particles",
  3369. "18": "villager_data",
  3370. "19": "optional_unsigned_int",
  3371. "20": "pose",
  3372. "21": "cat_variant",
  3373. "22": "cow_variant",
  3374. "23": "wolf_variant",
  3375. "24": "wolf_sound_variant",
  3376. "25": "frog_variant",
  3377. "26": "pig_variant",
  3378. "27": "chicken_variant",
  3379. "28": "optional_global_pos",
  3380. "29": "painting_variant",
  3381. "30": "sniffer_state",
  3382. "31": "armadillo_state",
  3383. "32": "copper_golem_state",
  3384. "33": "weathering_copper_golem_state",
  3385. "34": "vector3",
  3386. "35": "quaternion",
  3387. "36": "resolvable_profile"
  3388. }
  3389. }
  3390. ]
  3391. },
  3392. {
  3393. "name": "value",
  3394. "type": [
  3395. "switch",
  3396. {
  3397. "compareTo": "type",
  3398. "fields": {
  3399. "byte": "i8",
  3400. "int": "varint",
  3401. "long": "varlong",
  3402. "float": "f32",
  3403. "string": "string",
  3404. "component": "anonymousNbt",
  3405. "optional_component": [
  3406. "option",
  3407. "anonymousNbt"
  3408. ],
  3409. "item_stack": "Slot",
  3410. "boolean": "bool",
  3411. "rotations": [
  3412. "container",
  3413. [
  3414. {
  3415. "name": "pitch",
  3416. "type": "f32"
  3417. },
  3418. {
  3419. "name": "yaw",
  3420. "type": "f32"
  3421. },
  3422. {
  3423. "name": "roll",
  3424. "type": "f32"
  3425. }
  3426. ]
  3427. ],
  3428. "block_pos": "position",
  3429. "optional_block_pos": [
  3430. "option",
  3431. "position"
  3432. ],
  3433. "direction": "varint",
  3434. "optional_uuid": [
  3435. "option",
  3436. "UUID"
  3437. ],
  3438. "block_state": "varint",
  3439. "optional_block_state": "optvarint",
  3440. "particle": "Particle",
  3441. "particles": [
  3442. "array",
  3443. {
  3444. "countType": "varint",
  3445. "type": "Particle"
  3446. }
  3447. ],
  3448. "villager_data": [
  3449. "container",
  3450. [
  3451. {
  3452. "name": "villagerType",
  3453. "type": "varint"
  3454. },
  3455. {
  3456. "name": "villagerProfession",
  3457. "type": "varint"
  3458. },
  3459. {
  3460. "name": "level",
  3461. "type": "varint"
  3462. }
  3463. ]
  3464. ],
  3465. "optional_unsigned_int": "optvarint",
  3466. "pose": "varint",
  3467. "cat_variant": "varint",
  3468. "cow_variant": "varint",
  3469. "wolf_variant": "varint",
  3470. "wolf_sound_variant": "varint",
  3471. "frog_variant": "varint",
  3472. "pig_variant": "varint",
  3473. "chicken_variant": "varint",
  3474. "optional_global_pos": [
  3475. "option",
  3476. "GlobalPos"
  3477. ],
  3478. "painting_variant": [
  3479. "registryEntryHolder",
  3480. {
  3481. "baseName": "variantId",
  3482. "otherwise": {
  3483. "name": "variantData",
  3484. "type": "EntityMetadataPaintingVariant"
  3485. }
  3486. }
  3487. ],
  3488. "sniffer_state": "varint",
  3489. "armadillo_state": "varint",
  3490. "copper_golem_state": "varint",
  3491. "weathering_copper_golem_state": "varint",
  3492. "vector3": "vec3f",
  3493. "quaternion": "vec4f",
  3494. "resolvable_profile": "ResolvableProfile"
  3495. }
  3496. }
  3497. ]
  3498. }
  3499. ]
  3500. ],
  3501. "EntityMetadataPaintingVariant": [
  3502. "container",
  3503. [
  3504. {
  3505. "name": "width",
  3506. "type": "i32"
  3507. },
  3508. {
  3509. "name": "height",
  3510. "type": "i32"
  3511. },
  3512. {
  3513. "name": "assetId",
  3514. "type": "string"
  3515. },
  3516. {
  3517. "name": "title",
  3518. "type": [
  3519. "option",
  3520. "anonymousNbt"
  3521. ]
  3522. },
  3523. {
  3524. "name": "author",
  3525. "type": [
  3526. "option",
  3527. "anonymousNbt"
  3528. ]
  3529. }
  3530. ]
  3531. ],
  3532. "entityMetadata": [
  3533. "entityMetadataLoop",
  3534. {
  3535. "endVal": 255,
  3536. "type": "entityMetadataEntry"
  3537. }
  3538. ],
  3539. "tags": [
  3540. "array",
  3541. {
  3542. "countType": "varint",
  3543. "type": [
  3544. "container",
  3545. [
  3546. {
  3547. "name": "tagName",
  3548. "type": "string"
  3549. },
  3550. {
  3551. "name": "entries",
  3552. "type": [
  3553. "array",
  3554. {
  3555. "countType": "varint",
  3556. "type": "varint"
  3557. }
  3558. ]
  3559. }
  3560. ]
  3561. ]
  3562. }
  3563. ],
  3564. "chunkBlockEntity": [
  3565. "container",
  3566. [
  3567. {
  3568. "anon": true,
  3569. "type": [
  3570. "bitfield",
  3571. [
  3572. {
  3573. "name": "x",
  3574. "size": 4,
  3575. "signed": false
  3576. },
  3577. {
  3578. "name": "z",
  3579. "size": 4,
  3580. "signed": false
  3581. }
  3582. ]
  3583. ]
  3584. },
  3585. {
  3586. "name": "y",
  3587. "type": "i16"
  3588. },
  3589. {
  3590. "name": "type",
  3591. "type": "varint"
  3592. },
  3593. {
  3594. "name": "nbtData",
  3595. "type": "anonOptionalNbt"
  3596. }
  3597. ]
  3598. ],
  3599. "chat_session": [
  3600. "option",
  3601. [
  3602. "container",
  3603. [
  3604. {
  3605. "name": "uuid",
  3606. "type": "UUID"
  3607. },
  3608. {
  3609. "name": "publicKey",
  3610. "type": [
  3611. "container",
  3612. [
  3613. {
  3614. "name": "expireTime",
  3615. "type": "i64"
  3616. },
  3617. {
  3618. "name": "keyBytes",
  3619. "type": [
  3620. "buffer",
  3621. {
  3622. "countType": "varint"
  3623. }
  3624. ]
  3625. },
  3626. {
  3627. "name": "keySignature",
  3628. "type": [
  3629. "buffer",
  3630. {
  3631. "countType": "varint"
  3632. }
  3633. ]
  3634. }
  3635. ]
  3636. ]
  3637. }
  3638. ]
  3639. ]
  3640. ],
  3641. "game_profile_name_prop": [
  3642. "container",
  3643. [
  3644. {
  3645. "name": "name",
  3646. "type": "string"
  3647. },
  3648. {
  3649. "name": "properties",
  3650. "type": [
  3651. "array",
  3652. {
  3653. "countType": "varint",
  3654. "type": "GameProfileProperty"
  3655. }
  3656. ]
  3657. }
  3658. ]
  3659. ],
  3660. "GameProfile": [
  3661. "container",
  3662. [
  3663. {
  3664. "name": "uuid",
  3665. "type": "UUID"
  3666. },
  3667. {
  3668. "name": "name",
  3669. "type": "string"
  3670. },
  3671. {
  3672. "name": "properties",
  3673. "type": [
  3674. "array",
  3675. {
  3676. "countType": "varint",
  3677. "type": "GameProfileProperty"
  3678. }
  3679. ]
  3680. }
  3681. ]
  3682. ],
  3683. "PartialResolvableProfile": [
  3684. "container",
  3685. [
  3686. {
  3687. "name": "name",
  3688. "type": [
  3689. "option",
  3690. "string"
  3691. ]
  3692. },
  3693. {
  3694. "name": "uuid",
  3695. "type": [
  3696. "option",
  3697. "UUID"
  3698. ]
  3699. },
  3700. {
  3701. "name": "properties",
  3702. "type": [
  3703. "array",
  3704. {
  3705. "countType": "varint",
  3706. "type": "GameProfileProperty"
  3707. }
  3708. ]
  3709. }
  3710. ]
  3711. ],
  3712. "GameProfileProperty": [
  3713. "container",
  3714. [
  3715. {
  3716. "name": "name",
  3717. "type": "string"
  3718. },
  3719. {
  3720. "name": "value",
  3721. "type": "string"
  3722. },
  3723. {
  3724. "name": "signature",
  3725. "type": [
  3726. "option",
  3727. "string"
  3728. ]
  3729. }
  3730. ]
  3731. ],
  3732. "ResolvableProfile": [
  3733. "container",
  3734. [
  3735. {
  3736. "name": "type",
  3737. "type": [
  3738. "mapper",
  3739. {
  3740. "type": "varint",
  3741. "mappings": {
  3742. "0": "partial",
  3743. "1": "complete"
  3744. }
  3745. }
  3746. ]
  3747. },
  3748. {
  3749. "anon": true,
  3750. "type": [
  3751. "switch",
  3752. {
  3753. "compareTo": "type",
  3754. "fields": {
  3755. "partial": "PartialResolvableProfile",
  3756. "complete": "GameProfile"
  3757. }
  3758. }
  3759. ]
  3760. },
  3761. {
  3762. "name": "skinPatch",
  3763. "type": "PlayerSkinPatch"
  3764. }
  3765. ]
  3766. ],
  3767. "PlayerSkinPatch": [
  3768. "container",
  3769. [
  3770. {
  3771. "name": "body",
  3772. "type": [
  3773. "option",
  3774. "string"
  3775. ]
  3776. },
  3777. {
  3778. "name": "cape",
  3779. "type": [
  3780. "option",
  3781. "string"
  3782. ]
  3783. },
  3784. {
  3785. "name": "elytra",
  3786. "type": [
  3787. "option",
  3788. "string"
  3789. ]
  3790. },
  3791. {
  3792. "name": "model",
  3793. "type": [
  3794. "option",
  3795. [
  3796. "mapper",
  3797. {
  3798. "type": "varint",
  3799. "mappings": {
  3800. "0": "wide",
  3801. "1": "slim"
  3802. }
  3803. }
  3804. ]
  3805. ]
  3806. }
  3807. ]
  3808. ],
  3809. "command_node": [
  3810. "container",
  3811. [
  3812. {
  3813. "name": "flags",
  3814. "type": [
  3815. "bitfield",
  3816. [
  3817. {
  3818. "name": "unused",
  3819. "size": 2,
  3820. "signed": false
  3821. },
  3822. {
  3823. "name": "allows_restricted",
  3824. "size": 1,
  3825. "signed": false
  3826. },
  3827. {
  3828. "name": "has_custom_suggestions",
  3829. "size": 1,
  3830. "signed": false
  3831. },
  3832. {
  3833. "name": "has_redirect_node",
  3834. "size": 1,
  3835. "signed": false
  3836. },
  3837. {
  3838. "name": "has_command",
  3839. "size": 1,
  3840. "signed": false
  3841. },
  3842. {
  3843. "name": "command_node_type",
  3844. "size": 2,
  3845. "signed": false
  3846. }
  3847. ]
  3848. ]
  3849. },
  3850. {
  3851. "name": "children",
  3852. "type": [
  3853. "array",
  3854. {
  3855. "countType": "varint",
  3856. "type": "varint"
  3857. }
  3858. ]
  3859. },
  3860. {
  3861. "name": "redirectNode",
  3862. "type": [
  3863. "switch",
  3864. {
  3865. "compareTo": "flags/has_redirect_node",
  3866. "fields": {
  3867. "1": "varint"
  3868. },
  3869. "default": "void"
  3870. }
  3871. ]
  3872. },
  3873. {
  3874. "name": "extraNodeData",
  3875. "type": [
  3876. "switch",
  3877. {
  3878. "compareTo": "flags/command_node_type",
  3879. "fields": {
  3880. "0": "void",
  3881. "1": [
  3882. "container",
  3883. [
  3884. {
  3885. "name": "name",
  3886. "type": "string"
  3887. }
  3888. ]
  3889. ],
  3890. "2": [
  3891. "container",
  3892. [
  3893. {
  3894. "name": "name",
  3895. "type": "string"
  3896. },
  3897. {
  3898. "name": "parser",
  3899. "type": [
  3900. "mapper",
  3901. {
  3902. "type": "varint",
  3903. "mappings": {
  3904. "0": "brigadier:bool",
  3905. "1": "brigadier:float",
  3906. "2": "brigadier:double",
  3907. "3": "brigadier:integer",
  3908. "4": "brigadier:long",
  3909. "5": "brigadier:string",
  3910. "6": "minecraft:entity",
  3911. "7": "minecraft:game_profile",
  3912. "8": "minecraft:block_pos",
  3913. "9": "minecraft:column_pos",
  3914. "10": "minecraft:vec3",
  3915. "11": "minecraft:vec2",
  3916. "12": "minecraft:block_state",
  3917. "13": "minecraft:block_predicate",
  3918. "14": "minecraft:item_stack",
  3919. "15": "minecraft:item_predicate",
  3920. "16": "minecraft:color",
  3921. "17": "minecraft:hex_color",
  3922. "18": "minecraft:component",
  3923. "19": "minecraft:style",
  3924. "20": "minecraft:message",
  3925. "21": "minecraft:nbt",
  3926. "22": "minecraft:nbt_tag",
  3927. "23": "minecraft:nbt_path",
  3928. "24": "minecraft:objective",
  3929. "25": "minecraft:objective_criteria",
  3930. "26": "minecraft:operation",
  3931. "27": "minecraft:particle",
  3932. "28": "minecraft:angle",
  3933. "29": "minecraft:rotation",
  3934. "30": "minecraft:scoreboard_slot",
  3935. "31": "minecraft:score_holder",
  3936. "32": "minecraft:swizzle",
  3937. "33": "minecraft:team",
  3938. "34": "minecraft:item_slot",
  3939. "35": "minecraft:item_slots",
  3940. "36": "minecraft:resource_location",
  3941. "37": "minecraft:function",
  3942. "38": "minecraft:entity_anchor",
  3943. "39": "minecraft:int_range",
  3944. "40": "minecraft:float_range",
  3945. "41": "minecraft:dimension",
  3946. "42": "minecraft:gamemode",
  3947. "43": "minecraft:time",
  3948. "44": "minecraft:resource_or_tag",
  3949. "45": "minecraft:resource_or_tag_key",
  3950. "46": "minecraft:resource",
  3951. "47": "minecraft:resource_key",
  3952. "48": "minecraft:resource_selector",
  3953. "49": "minecraft:template_mirror",
  3954. "50": "minecraft:template_rotation",
  3955. "51": "minecraft:heightmap",
  3956. "52": "minecraft:loot_table",
  3957. "53": "minecraft:loot_predicate",
  3958. "54": "minecraft:loot_modifier",
  3959. "55": "minecraft:dialog",
  3960. "56": "minecraft:uuid"
  3961. }
  3962. }
  3963. ]
  3964. },
  3965. {
  3966. "name": "properties",
  3967. "type": [
  3968. "switch",
  3969. {
  3970. "compareTo": "parser",
  3971. "fields": {
  3972. "brigadier:bool": "void",
  3973. "brigadier:float": [
  3974. "container",
  3975. [
  3976. {
  3977. "name": "flags",
  3978. "type": [
  3979. "bitfield",
  3980. [
  3981. {
  3982. "name": "unused",
  3983. "size": 6,
  3984. "signed": false
  3985. },
  3986. {
  3987. "name": "max_present",
  3988. "size": 1,
  3989. "signed": false
  3990. },
  3991. {
  3992. "name": "min_present",
  3993. "size": 1,
  3994. "signed": false
  3995. }
  3996. ]
  3997. ]
  3998. },
  3999. {
  4000. "name": "min",
  4001. "type": [
  4002. "switch",
  4003. {
  4004. "compareTo": "flags/min_present",
  4005. "fields": {
  4006. "1": "f32"
  4007. },
  4008. "default": "void"
  4009. }
  4010. ]
  4011. },
  4012. {
  4013. "name": "max",
  4014. "type": [
  4015. "switch",
  4016. {
  4017. "compareTo": "flags/max_present",
  4018. "fields": {
  4019. "1": "f32"
  4020. },
  4021. "default": "void"
  4022. }
  4023. ]
  4024. }
  4025. ]
  4026. ],
  4027. "brigadier:double": [
  4028. "container",
  4029. [
  4030. {
  4031. "name": "flags",
  4032. "type": [
  4033. "bitfield",
  4034. [
  4035. {
  4036. "name": "unused",
  4037. "size": 6,
  4038. "signed": false
  4039. },
  4040. {
  4041. "name": "max_present",
  4042. "size": 1,
  4043. "signed": false
  4044. },
  4045. {
  4046. "name": "min_present",
  4047. "size": 1,
  4048. "signed": false
  4049. }
  4050. ]
  4051. ]
  4052. },
  4053. {
  4054. "name": "min",
  4055. "type": [
  4056. "switch",
  4057. {
  4058. "compareTo": "flags/min_present",
  4059. "fields": {
  4060. "1": "f64"
  4061. },
  4062. "default": "void"
  4063. }
  4064. ]
  4065. },
  4066. {
  4067. "name": "max",
  4068. "type": [
  4069. "switch",
  4070. {
  4071. "compareTo": "flags/max_present",
  4072. "fields": {
  4073. "1": "f64"
  4074. },
  4075. "default": "void"
  4076. }
  4077. ]
  4078. }
  4079. ]
  4080. ],
  4081. "brigadier:integer": [
  4082. "container",
  4083. [
  4084. {
  4085. "name": "flags",
  4086. "type": [
  4087. "bitfield",
  4088. [
  4089. {
  4090. "name": "unused",
  4091. "size": 6,
  4092. "signed": false
  4093. },
  4094. {
  4095. "name": "max_present",
  4096. "size": 1,
  4097. "signed": false
  4098. },
  4099. {
  4100. "name": "min_present",
  4101. "size": 1,
  4102. "signed": false
  4103. }
  4104. ]
  4105. ]
  4106. },
  4107. {
  4108. "name": "min",
  4109. "type": [
  4110. "switch",
  4111. {
  4112. "compareTo": "flags/min_present",
  4113. "fields": {
  4114. "1": "i32"
  4115. },
  4116. "default": "void"
  4117. }
  4118. ]
  4119. },
  4120. {
  4121. "name": "max",
  4122. "type": [
  4123. "switch",
  4124. {
  4125. "compareTo": "flags/max_present",
  4126. "fields": {
  4127. "1": "i32"
  4128. },
  4129. "default": "void"
  4130. }
  4131. ]
  4132. }
  4133. ]
  4134. ],
  4135. "brigadier:long": [
  4136. "container",
  4137. [
  4138. {
  4139. "name": "flags",
  4140. "type": [
  4141. "bitfield",
  4142. [
  4143. {
  4144. "name": "unused",
  4145. "size": 6,
  4146. "signed": false
  4147. },
  4148. {
  4149. "name": "max_present",
  4150. "size": 1,
  4151. "signed": false
  4152. },
  4153. {
  4154. "name": "min_present",
  4155. "size": 1,
  4156. "signed": false
  4157. }
  4158. ]
  4159. ]
  4160. },
  4161. {
  4162. "name": "min",
  4163. "type": [
  4164. "switch",
  4165. {
  4166. "compareTo": "flags/min_present",
  4167. "fields": {
  4168. "1": "i64"
  4169. },
  4170. "default": "void"
  4171. }
  4172. ]
  4173. },
  4174. {
  4175. "name": "max",
  4176. "type": [
  4177. "switch",
  4178. {
  4179. "compareTo": "flags/max_present",
  4180. "fields": {
  4181. "1": "i64"
  4182. },
  4183. "default": "void"
  4184. }
  4185. ]
  4186. }
  4187. ]
  4188. ],
  4189. "brigadier:string": [
  4190. "mapper",
  4191. {
  4192. "type": "varint",
  4193. "mappings": {
  4194. "0": "SINGLE_WORD",
  4195. "1": "QUOTABLE_PHRASE",
  4196. "2": "GREEDY_PHRASE"
  4197. }
  4198. }
  4199. ],
  4200. "minecraft:entity": [
  4201. "bitfield",
  4202. [
  4203. {
  4204. "name": "unused",
  4205. "size": 6,
  4206. "signed": false
  4207. },
  4208. {
  4209. "name": "onlyAllowPlayers",
  4210. "size": 1,
  4211. "signed": false
  4212. },
  4213. {
  4214. "name": "onlyAllowEntities",
  4215. "size": 1,
  4216. "signed": false
  4217. }
  4218. ]
  4219. ],
  4220. "minecraft:game_profile": "void",
  4221. "minecraft:block_pos": "void",
  4222. "minecraft:column_pos": "void",
  4223. "minecraft:vec3": "void",
  4224. "minecraft:vec2": "void",
  4225. "minecraft:block_state": "void",
  4226. "minecraft:block_predicate": "void",
  4227. "minecraft:item_stack": "void",
  4228. "minecraft:item_predicate": "void",
  4229. "minecraft:color": "void",
  4230. "minecraft:hex_color": "void",
  4231. "minecraft:component": "void",
  4232. "minecraft:message": "void",
  4233. "minecraft:nbt": "void",
  4234. "minecraft:nbt_path": "void",
  4235. "minecraft:objective": "void",
  4236. "minecraft:objective_criteria": "void",
  4237. "minecraft:operation": "void",
  4238. "minecraft:particle": "void",
  4239. "minecraft:angle": "void",
  4240. "minecraft:rotation": "void",
  4241. "minecraft:scoreboard_slot": "void",
  4242. "minecraft:score_holder": [
  4243. "bitfield",
  4244. [
  4245. {
  4246. "name": "unused",
  4247. "size": 7,
  4248. "signed": false
  4249. },
  4250. {
  4251. "name": "allowMultiple",
  4252. "size": 1,
  4253. "signed": false
  4254. }
  4255. ]
  4256. ],
  4257. "minecraft:swizzle": "void",
  4258. "minecraft:team": "void",
  4259. "minecraft:item_slot": "void",
  4260. "minecraft:resource_location": "void",
  4261. "minecraft:function": "void",
  4262. "minecraft:entity_anchor": "void",
  4263. "minecraft:int_range": "void",
  4264. "minecraft:float_range": "void",
  4265. "minecraft:dimension": "void",
  4266. "minecraft:gamemode": "void",
  4267. "minecraft:time": [
  4268. "container",
  4269. [
  4270. {
  4271. "name": "min",
  4272. "type": "i32"
  4273. }
  4274. ]
  4275. ],
  4276. "minecraft:resource_or_tag": [
  4277. "container",
  4278. [
  4279. {
  4280. "name": "registry",
  4281. "type": "string"
  4282. }
  4283. ]
  4284. ],
  4285. "minecraft:resource_or_tag_key": [
  4286. "container",
  4287. [
  4288. {
  4289. "name": "registry",
  4290. "type": "string"
  4291. }
  4292. ]
  4293. ],
  4294. "minecraft:resource": [
  4295. "container",
  4296. [
  4297. {
  4298. "name": "registry",
  4299. "type": "string"
  4300. }
  4301. ]
  4302. ],
  4303. "minecraft:resource_key": [
  4304. "container",
  4305. [
  4306. {
  4307. "name": "registry",
  4308. "type": "string"
  4309. }
  4310. ]
  4311. ],
  4312. "minecraft:resource_selector": [
  4313. "container",
  4314. [
  4315. {
  4316. "name": "registry",
  4317. "type": "string"
  4318. }
  4319. ]
  4320. ],
  4321. "minecraft:template_mirror": "void",
  4322. "minecraft:template_rotation": "void",
  4323. "minecraft:heightmap": "void",
  4324. "minecraft:dialog": "void",
  4325. "minecraft:uuid": "void"
  4326. }
  4327. }
  4328. ]
  4329. },
  4330. {
  4331. "name": "suggestionType",
  4332. "type": [
  4333. "switch",
  4334. {
  4335. "compareTo": "../flags/has_custom_suggestions",
  4336. "fields": {
  4337. "1": "string"
  4338. },
  4339. "default": "void"
  4340. }
  4341. ]
  4342. }
  4343. ]
  4344. ]
  4345. }
  4346. }
  4347. ]
  4348. }
  4349. ]
  4350. ],
  4351. "packet_common_settings": [
  4352. "container",
  4353. [
  4354. {
  4355. "name": "locale",
  4356. "type": "string"
  4357. },
  4358. {
  4359. "name": "viewDistance",
  4360. "type": "i8"
  4361. },
  4362. {
  4363. "name": "chatFlags",
  4364. "type": "varint"
  4365. },
  4366. {
  4367. "name": "chatColors",
  4368. "type": "bool"
  4369. },
  4370. {
  4371. "name": "skinParts",
  4372. "type": "u8"
  4373. },
  4374. {
  4375. "name": "mainHand",
  4376. "type": "varint"
  4377. },
  4378. {
  4379. "name": "enableTextFiltering",
  4380. "type": "bool"
  4381. },
  4382. {
  4383. "name": "enableServerListing",
  4384. "type": "bool"
  4385. },
  4386. {
  4387. "name": "particleStatus",
  4388. "type": [
  4389. "mapper",
  4390. {
  4391. "type": "varint",
  4392. "mappings": {
  4393. "0": "all",
  4394. "1": "decreased",
  4395. "2": "minimal"
  4396. }
  4397. }
  4398. ]
  4399. }
  4400. ]
  4401. ],
  4402. "packet_common_cookie_request": [
  4403. "container",
  4404. [
  4405. {
  4406. "name": "cookie",
  4407. "type": "string"
  4408. }
  4409. ]
  4410. ],
  4411. "packet_common_store_cookie": [
  4412. "container",
  4413. [
  4414. {
  4415. "name": "key",
  4416. "type": "string"
  4417. },
  4418. {
  4419. "name": "value",
  4420. "type": "ByteArray"
  4421. }
  4422. ]
  4423. ],
  4424. "packet_common_transfer": [
  4425. "container",
  4426. [
  4427. {
  4428. "name": "host",
  4429. "type": "string"
  4430. },
  4431. {
  4432. "name": "port",
  4433. "type": "varint"
  4434. }
  4435. ]
  4436. ],
  4437. "packet_common_cookie_response": [
  4438. "container",
  4439. [
  4440. {
  4441. "name": "key",
  4442. "type": "string"
  4443. },
  4444. {
  4445. "name": "value",
  4446. "type": [
  4447. "option",
  4448. "ByteArray"
  4449. ]
  4450. }
  4451. ]
  4452. ],
  4453. "packet_common_select_known_packs": [
  4454. "container",
  4455. [
  4456. {
  4457. "name": "packs",
  4458. "type": [
  4459. "array",
  4460. {
  4461. "countType": "varint",
  4462. "type": [
  4463. "container",
  4464. [
  4465. {
  4466. "name": "namespace",
  4467. "type": "string"
  4468. },
  4469. {
  4470. "name": "id",
  4471. "type": "string"
  4472. },
  4473. {
  4474. "name": "version",
  4475. "type": "string"
  4476. }
  4477. ]
  4478. ]
  4479. }
  4480. ]
  4481. }
  4482. ]
  4483. ],
  4484. "packet_common_custom_report_details": [
  4485. "container",
  4486. [
  4487. {
  4488. "name": "details",
  4489. "type": [
  4490. "array",
  4491. {
  4492. "countType": "varint",
  4493. "type": [
  4494. "container",
  4495. [
  4496. {
  4497. "name": "key",
  4498. "type": "string"
  4499. },
  4500. {
  4501. "name": "value",
  4502. "type": "string"
  4503. }
  4504. ]
  4505. ]
  4506. }
  4507. ]
  4508. }
  4509. ]
  4510. ],
  4511. "packet_common_remove_resource_pack": [
  4512. "container",
  4513. [
  4514. {
  4515. "name": "uuid",
  4516. "type": [
  4517. "option",
  4518. "UUID"
  4519. ]
  4520. }
  4521. ]
  4522. ],
  4523. "packet_common_add_resource_pack": [
  4524. "container",
  4525. [
  4526. {
  4527. "name": "uuid",
  4528. "type": "UUID"
  4529. },
  4530. {
  4531. "name": "url",
  4532. "type": "string"
  4533. },
  4534. {
  4535. "name": "hash",
  4536. "type": "string"
  4537. },
  4538. {
  4539. "name": "forced",
  4540. "type": "bool"
  4541. },
  4542. {
  4543. "name": "promptMessage",
  4544. "type": [
  4545. "option",
  4546. "anonymousNbt"
  4547. ]
  4548. }
  4549. ]
  4550. ],
  4551. "ServerLinkType": [
  4552. "mapper",
  4553. {
  4554. "type": "varint",
  4555. "mappings": {
  4556. "0": "bug_report",
  4557. "1": "community_guidelines",
  4558. "2": "support",
  4559. "3": "status",
  4560. "4": "feedback",
  4561. "5": "community",
  4562. "6": "website",
  4563. "7": "forums",
  4564. "8": "news",
  4565. "9": "announcements"
  4566. }
  4567. }
  4568. ],
  4569. "packet_common_server_links": [
  4570. "container",
  4571. [
  4572. {
  4573. "name": "links",
  4574. "type": [
  4575. "array",
  4576. {
  4577. "countType": "varint",
  4578. "type": [
  4579. "container",
  4580. [
  4581. {
  4582. "name": "hasKnownType",
  4583. "type": "bool"
  4584. },
  4585. {
  4586. "name": "knownType",
  4587. "type": [
  4588. "switch",
  4589. {
  4590. "compareTo": "hasKnownType",
  4591. "fields": {
  4592. "true": "ServerLinkType"
  4593. }
  4594. }
  4595. ]
  4596. },
  4597. {
  4598. "name": "unknownType",
  4599. "type": [
  4600. "switch",
  4601. {
  4602. "compareTo": "hasKnownType",
  4603. "fields": {
  4604. "false": "anonymousNbt"
  4605. }
  4606. }
  4607. ]
  4608. },
  4609. {
  4610. "name": "link",
  4611. "type": "string"
  4612. }
  4613. ]
  4614. ]
  4615. }
  4616. ]
  4617. }
  4618. ]
  4619. ],
  4620. "packet_common_clear_dialog": [
  4621. "container",
  4622. []
  4623. ],
  4624. "packet_common_custom_click_action": [
  4625. "container",
  4626. [
  4627. {
  4628. "name": "id",
  4629. "type": "string"
  4630. },
  4631. {
  4632. "name": "nbt",
  4633. "type": [
  4634. "option",
  4635. "anonymousNbt"
  4636. ]
  4637. }
  4638. ]
  4639. ]
  4640. },
  4641. "handshaking": {
  4642. "toClient": {
  4643. "types": {
  4644. "packet": [
  4645. "container",
  4646. [
  4647. {
  4648. "name": "name",
  4649. "type": [
  4650. "mapper",
  4651. {
  4652. "type": "varint",
  4653. "mappings": {}
  4654. }
  4655. ]
  4656. },
  4657. {
  4658. "name": "params",
  4659. "type": [
  4660. "switch",
  4661. {
  4662. "compareTo": "name",
  4663. "fields": {}
  4664. }
  4665. ]
  4666. }
  4667. ]
  4668. ]
  4669. }
  4670. },
  4671. "toServer": {
  4672. "types": {
  4673. "packet_set_protocol": [
  4674. "container",
  4675. [
  4676. {
  4677. "name": "protocolVersion",
  4678. "type": "varint"
  4679. },
  4680. {
  4681. "name": "serverHost",
  4682. "type": "string"
  4683. },
  4684. {
  4685. "name": "serverPort",
  4686. "type": "u16"
  4687. },
  4688. {
  4689. "name": "nextState",
  4690. "type": "varint"
  4691. }
  4692. ]
  4693. ],
  4694. "packet_legacy_server_list_ping": [
  4695. "container",
  4696. [
  4697. {
  4698. "name": "payload",
  4699. "type": "u8"
  4700. }
  4701. ]
  4702. ],
  4703. "packet": [
  4704. "container",
  4705. [
  4706. {
  4707. "name": "name",
  4708. "type": [
  4709. "mapper",
  4710. {
  4711. "type": "varint",
  4712. "mappings": {
  4713. "0x00": "set_protocol",
  4714. "0xfe": "legacy_server_list_ping"
  4715. }
  4716. }
  4717. ]
  4718. },
  4719. {
  4720. "name": "params",
  4721. "type": [
  4722. "switch",
  4723. {
  4724. "compareTo": "name",
  4725. "fields": {
  4726. "set_protocol": "packet_set_protocol",
  4727. "legacy_server_list_ping": "packet_legacy_server_list_ping"
  4728. }
  4729. }
  4730. ]
  4731. }
  4732. ]
  4733. ]
  4734. }
  4735. }
  4736. },
  4737. "status": {
  4738. "toClient": {
  4739. "types": {
  4740. "packet_server_info": [
  4741. "container",
  4742. [
  4743. {
  4744. "name": "response",
  4745. "type": "string"
  4746. }
  4747. ]
  4748. ],
  4749. "packet_ping": [
  4750. "container",
  4751. [
  4752. {
  4753. "name": "time",
  4754. "type": "i64"
  4755. }
  4756. ]
  4757. ],
  4758. "packet": [
  4759. "container",
  4760. [
  4761. {
  4762. "name": "name",
  4763. "type": [
  4764. "mapper",
  4765. {
  4766. "type": "varint",
  4767. "mappings": {
  4768. "0x00": "server_info",
  4769. "0x01": "ping"
  4770. }
  4771. }
  4772. ]
  4773. },
  4774. {
  4775. "name": "params",
  4776. "type": [
  4777. "switch",
  4778. {
  4779. "compareTo": "name",
  4780. "fields": {
  4781. "server_info": "packet_server_info",
  4782. "ping": "packet_ping"
  4783. }
  4784. }
  4785. ]
  4786. }
  4787. ]
  4788. ]
  4789. }
  4790. },
  4791. "toServer": {
  4792. "types": {
  4793. "packet_ping_start": [
  4794. "container",
  4795. []
  4796. ],
  4797. "packet_ping": [
  4798. "container",
  4799. [
  4800. {
  4801. "name": "time",
  4802. "type": "i64"
  4803. }
  4804. ]
  4805. ],
  4806. "packet": [
  4807. "container",
  4808. [
  4809. {
  4810. "name": "name",
  4811. "type": [
  4812. "mapper",
  4813. {
  4814. "type": "varint",
  4815. "mappings": {
  4816. "0x00": "ping_start",
  4817. "0x01": "ping"
  4818. }
  4819. }
  4820. ]
  4821. },
  4822. {
  4823. "name": "params",
  4824. "type": [
  4825. "switch",
  4826. {
  4827. "compareTo": "name",
  4828. "fields": {
  4829. "ping_start": "packet_ping_start",
  4830. "ping": "packet_ping"
  4831. }
  4832. }
  4833. ]
  4834. }
  4835. ]
  4836. ]
  4837. }
  4838. }
  4839. },
  4840. "login": {
  4841. "toClient": {
  4842. "types": {
  4843. "packet_disconnect": [
  4844. "container",
  4845. [
  4846. {
  4847. "name": "reason",
  4848. "type": "string"
  4849. }
  4850. ]
  4851. ],
  4852. "packet_encryption_begin": [
  4853. "container",
  4854. [
  4855. {
  4856. "name": "serverId",
  4857. "type": "string"
  4858. },
  4859. {
  4860. "name": "publicKey",
  4861. "type": [
  4862. "buffer",
  4863. {
  4864. "countType": "varint"
  4865. }
  4866. ]
  4867. },
  4868. {
  4869. "name": "verifyToken",
  4870. "type": [
  4871. "buffer",
  4872. {
  4873. "countType": "varint"
  4874. }
  4875. ]
  4876. },
  4877. {
  4878. "name": "shouldAuthenticate",
  4879. "type": "bool"
  4880. }
  4881. ]
  4882. ],
  4883. "packet_success": [
  4884. "container",
  4885. [
  4886. {
  4887. "name": "uuid",
  4888. "type": "UUID"
  4889. },
  4890. {
  4891. "name": "username",
  4892. "type": "string"
  4893. },
  4894. {
  4895. "name": "properties",
  4896. "type": [
  4897. "array",
  4898. {
  4899. "countType": "varint",
  4900. "type": [
  4901. "container",
  4902. [
  4903. {
  4904. "name": "name",
  4905. "type": "string"
  4906. },
  4907. {
  4908. "name": "value",
  4909. "type": "string"
  4910. },
  4911. {
  4912. "name": "signature",
  4913. "type": [
  4914. "option",
  4915. "string"
  4916. ]
  4917. }
  4918. ]
  4919. ]
  4920. }
  4921. ]
  4922. }
  4923. ]
  4924. ],
  4925. "packet_compress": [
  4926. "container",
  4927. [
  4928. {
  4929. "name": "threshold",
  4930. "type": "varint"
  4931. }
  4932. ]
  4933. ],
  4934. "packet_login_plugin_request": [
  4935. "container",
  4936. [
  4937. {
  4938. "name": "messageId",
  4939. "type": "varint"
  4940. },
  4941. {
  4942. "name": "channel",
  4943. "type": "string"
  4944. },
  4945. {
  4946. "name": "data",
  4947. "type": "restBuffer"
  4948. }
  4949. ]
  4950. ],
  4951. "packet": [
  4952. "container",
  4953. [
  4954. {
  4955. "name": "name",
  4956. "type": [
  4957. "mapper",
  4958. {
  4959. "type": "varint",
  4960. "mappings": {
  4961. "0x00": "disconnect",
  4962. "0x01": "encryption_begin",
  4963. "0x02": "success",
  4964. "0x03": "compress",
  4965. "0x04": "login_plugin_request",
  4966. "0x05": "cookie_request"
  4967. }
  4968. }
  4969. ]
  4970. },
  4971. {
  4972. "name": "params",
  4973. "type": [
  4974. "switch",
  4975. {
  4976. "compareTo": "name",
  4977. "fields": {
  4978. "disconnect": "packet_disconnect",
  4979. "encryption_begin": "packet_encryption_begin",
  4980. "success": "packet_success",
  4981. "compress": "packet_compress",
  4982. "login_plugin_request": "packet_login_plugin_request",
  4983. "cookie_request": "packet_common_cookie_request"
  4984. }
  4985. }
  4986. ]
  4987. }
  4988. ]
  4989. ]
  4990. }
  4991. },
  4992. "toServer": {
  4993. "types": {
  4994. "packet_login_start": [
  4995. "container",
  4996. [
  4997. {
  4998. "name": "username",
  4999. "type": "string"
  5000. },

Showing the first 5000 lines. Download the file to see everything.