minecraft-data 3.78.0 → 3.80.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (48) hide show
  1. package/data.js +78 -2
  2. package/doc/history.md +8 -0
  3. package/index.d.ts +3 -0
  4. package/minecraft-data/README.md +2 -2
  5. package/minecraft-data/data/bedrock/1.21.20/proto.yml +2 -2
  6. package/minecraft-data/data/bedrock/1.21.20/protocol.json +2 -2
  7. package/minecraft-data/data/bedrock/1.21.20/types.yml +1 -1
  8. package/minecraft-data/data/bedrock/1.21.30/proto.yml +2 -2
  9. package/minecraft-data/data/bedrock/1.21.30/protocol.json +1 -1
  10. package/minecraft-data/data/bedrock/1.21.42/proto.yml +4337 -0
  11. package/minecraft-data/data/bedrock/1.21.42/protocol.json +3 -3
  12. package/minecraft-data/data/bedrock/1.21.42/types.yml +2422 -0
  13. package/minecraft-data/data/bedrock/1.21.50/protocol.json +13034 -0
  14. package/minecraft-data/data/bedrock/1.21.50/version.json +6 -0
  15. package/minecraft-data/data/bedrock/common/protocolVersions.json +6 -0
  16. package/minecraft-data/data/bedrock/common/versions.json +2 -1
  17. package/minecraft-data/data/bedrock/latest/proto.yml +79 -3
  18. package/minecraft-data/data/bedrock/latest/types.yml +20 -3
  19. package/minecraft-data/data/dataPaths.json +79 -3
  20. package/minecraft-data/data/pc/1.20.5/proto.yml +5 -34
  21. package/minecraft-data/data/pc/1.20.5/protocol.json +26 -129
  22. package/minecraft-data/data/pc/1.21/version.json +6 -0
  23. package/minecraft-data/data/pc/1.21.1/attributes.json +219 -0
  24. package/minecraft-data/data/pc/1.21.1/proto.yml +3534 -0
  25. package/minecraft-data/data/pc/1.21.1/protocol.json +55 -51
  26. package/minecraft-data/data/pc/1.21.3/attributes.json +226 -0
  27. package/minecraft-data/data/pc/1.21.3/biomes.json +652 -0
  28. package/minecraft-data/data/pc/1.21.3/blockCollisionShapes.json +137701 -0
  29. package/minecraft-data/data/pc/1.21.3/blocks.json +40773 -0
  30. package/minecraft-data/data/pc/1.21.3/entities.json +4158 -0
  31. package/minecraft-data/data/pc/1.21.3/foods.json +402 -0
  32. package/minecraft-data/data/pc/1.21.3/items.json +9038 -0
  33. package/minecraft-data/data/pc/1.21.3/language.json +6974 -0
  34. package/minecraft-data/data/pc/1.21.3/materials.json +134 -0
  35. package/minecraft-data/data/pc/1.21.3/particles.json +446 -0
  36. package/minecraft-data/data/pc/1.21.3/protocol.json +9518 -0
  37. package/minecraft-data/data/pc/1.21.3/recipes.json +29693 -0
  38. package/minecraft-data/data/pc/1.21.3/sounds.json +6546 -0
  39. package/minecraft-data/data/pc/1.21.3/tints.json +465 -0
  40. package/minecraft-data/data/pc/1.21.3/version.json +6 -0
  41. package/minecraft-data/data/pc/common/features.json +5 -0
  42. package/minecraft-data/data/pc/common/protocolVersions.json +80 -0
  43. package/minecraft-data/data/pc/common/versions.json +3 -2
  44. package/minecraft-data/data/pc/latest/proto.yml +444 -603
  45. package/minecraft-data/doc/history.md +19 -0
  46. package/minecraft-data/tools/js/extractPcEntityMetadata.js +32 -10
  47. package/minecraft-data/tools/js/extractSlotComponents.js +23 -0
  48. package/package.json +1 -1
@@ -28,6 +28,8 @@
28
28
  "restBuffer": "native",
29
29
  "anonymousNbt": "native",
30
30
  "anonOptionalNbt": "native",
31
+ "registryEntryHolder": "native",
32
+ "registryEntryHolderSet": "native",
31
33
  "arrayWithLengthOffset": "native",
32
34
  "ByteArray": [
33
35
  "buffer",
@@ -109,6 +111,19 @@
109
111
  }
110
112
  ]
111
113
  ],
114
+ "IDSet": [
115
+ "registryEntryHolderSet",
116
+ {
117
+ "base": {
118
+ "name": "name",
119
+ "type": "string"
120
+ },
121
+ "otherwise": {
122
+ "name": "ids",
123
+ "type": "varint"
124
+ }
125
+ }
126
+ ],
112
127
  "SlotComponentType": [
113
128
  "mapper",
114
129
  {
@@ -202,7 +217,18 @@
202
217
  "type": "anonOptionalNbt"
203
218
  }
204
219
  ],
205
- "rarity": "varint",
220
+ "rarity": [
221
+ "mapper",
222
+ {
223
+ "type": "varint",
224
+ "mappings": {
225
+ "0": "common",
226
+ "1": "uncommon",
227
+ "2": "rare",
228
+ "3": "epic"
229
+ }
230
+ }
231
+ ],
206
232
  "enchantments": [
207
233
  "container",
208
234
  [
@@ -1903,57 +1929,14 @@
1903
1929
  "pose": "varint",
1904
1930
  "cat_variant": "varint",
1905
1931
  "wolf_variant": [
1906
- "container",
1907
- [
1908
- {
1909
- "name": "wildTexture",
1910
- "type": "string"
1911
- },
1912
- {
1913
- "name": "tameTexture",
1914
- "type": "string"
1915
- },
1916
- {
1917
- "name": "angryTexture",
1918
- "type": "string"
1919
- },
1920
- {
1921
- "name": "maybeInputLength",
1922
- "type": "varint"
1923
- },
1924
- {
1925
- "name": "biomeLocation",
1926
- "type": [
1927
- "switch",
1928
- {
1929
- "compareTo": "maybeInputLength",
1930
- "fields": {
1931
- "0": "string"
1932
- }
1933
- }
1934
- ]
1935
- },
1936
- {
1937
- "name": "biomeHolders",
1938
- "type": [
1939
- "switch",
1940
- {
1941
- "compareTo": "maybeInputLength",
1942
- "fields": {
1943
- "0": "void"
1944
- },
1945
- "default": [
1946
- "arrayWithLengthOffset",
1947
- {
1948
- "count": "type",
1949
- "type": "varint",
1950
- "lengthOffset": -1
1951
- }
1952
- ]
1953
- }
1954
- ]
1932
+ "registryEntryHolder",
1933
+ {
1934
+ "baseName": "variantId",
1935
+ "otherwise": {
1936
+ "name": "variantData",
1937
+ "type": "EntityMetadataWolfVariant"
1955
1938
  }
1956
- ]
1939
+ }
1957
1940
  ],
1958
1941
  "frog_variant": "varint",
1959
1942
  "optional_global_pos": [
@@ -1987,6 +1970,27 @@
1987
1970
  }
1988
1971
  ]
1989
1972
  ],
1973
+ "EntityMetadataWolfVariant": [
1974
+ "container",
1975
+ [
1976
+ {
1977
+ "name": "wildTexture",
1978
+ "type": "string"
1979
+ },
1980
+ {
1981
+ "name": "tameTexture",
1982
+ "type": "string"
1983
+ },
1984
+ {
1985
+ "name": "angryTexture",
1986
+ "type": "string"
1987
+ },
1988
+ {
1989
+ "name": "biome",
1990
+ "type": "IDSet"
1991
+ }
1992
+ ]
1993
+ ],
1990
1994
  "entityMetadata": [
1991
1995
  "entityMetadataLoop",
1992
1996
  {
@@ -0,0 +1,226 @@
1
+ [
2
+ {
3
+ "name": "armor",
4
+ "resource": "minecraft:armor",
5
+ "min": 0.0,
6
+ "max": 30.0,
7
+ "default": 0.0
8
+ },
9
+ {
10
+ "name": "armorToughness",
11
+ "resource": "minecraft:armor_toughness",
12
+ "min": 0.0,
13
+ "max": 20.0,
14
+ "default": 0.0
15
+ },
16
+ {
17
+ "name": "attackDamage",
18
+ "resource": "minecraft:attack_damage",
19
+ "min": 0.0,
20
+ "max": 2048.0,
21
+ "default": 2.0
22
+ },
23
+ {
24
+ "name": "attackKnockback",
25
+ "resource": "minecraft:attack_knockback",
26
+ "min": 0.0,
27
+ "max": 5.0,
28
+ "default": 0.0
29
+ },
30
+ {
31
+ "name": "attackSpeed",
32
+ "resource": "minecraft:attack_speed",
33
+ "min": 0.0,
34
+ "max": 1024.0,
35
+ "default": 4.0
36
+ },
37
+ {
38
+ "name": "blockBreakSpeed",
39
+ "resource": "minecraft:block_break_speed",
40
+ "min": 0.0,
41
+ "max": 1024.0,
42
+ "default": 1.0
43
+ },
44
+ {
45
+ "name": "blockInteractionRange",
46
+ "resource": "minecraft:block_interaction_range",
47
+ "min": 0.0,
48
+ "max": 64.0,
49
+ "default": 4.5
50
+ },
51
+ {
52
+ "name": "burningTime",
53
+ "resource": "minecraft:burning_time",
54
+ "min": 0.0,
55
+ "max": 1024.0,
56
+ "default": 1.0
57
+ },
58
+ {
59
+ "name": "explosionKnockbackResistance",
60
+ "resource": "minecraft:explosion_knockback_resistance",
61
+ "min": 0.0,
62
+ "max": 1.0,
63
+ "default": 0.0
64
+ },
65
+ {
66
+ "name": "entityInteractionRange",
67
+ "resource": "minecraft:entity_interaction_range",
68
+ "min": 0.0,
69
+ "max": 64.0,
70
+ "default": 3.0
71
+ },
72
+ {
73
+ "name": "fallDamageMultiplier",
74
+ "resource": "minecraft:fall_damage_multiplier",
75
+ "min": 0.0,
76
+ "max": 100.0,
77
+ "default": 1.0
78
+ },
79
+ {
80
+ "name": "flyingSpeed",
81
+ "resource": "minecraft:flying_speed",
82
+ "min": 0.0,
83
+ "max": 1024.0,
84
+ "default": 0.4
85
+ },
86
+ {
87
+ "name": "followRange",
88
+ "resource": "minecraft:follow_range",
89
+ "min": 0.0,
90
+ "max": 2048.0,
91
+ "default": 32.0
92
+ },
93
+ {
94
+ "name": "gravity",
95
+ "resource": "minecraft:gravity",
96
+ "min": -1.0,
97
+ "max": 1.0,
98
+ "default": 0.08
99
+ },
100
+ {
101
+ "name": "jumpStrength",
102
+ "resource": "minecraft:jump_strength",
103
+ "min": 0.0,
104
+ "max": 32.0,
105
+ "default": 0.41999998688697815
106
+ },
107
+ {
108
+ "name": "knockbackResistance",
109
+ "resource": "minecraft:knockback_resistance",
110
+ "min": 0.0,
111
+ "max": 1.0,
112
+ "default": 0.0
113
+ },
114
+ {
115
+ "name": "luck",
116
+ "resource": "minecraft:luck",
117
+ "min": -1024.0,
118
+ "max": 1024.0,
119
+ "default": 0.0
120
+ },
121
+ {
122
+ "name": "maxAbsorption",
123
+ "resource": "minecraft:max_absorption",
124
+ "min": 0.0,
125
+ "max": 2048.0,
126
+ "default": 0.0
127
+ },
128
+ {
129
+ "name": "maxHealth",
130
+ "resource": "minecraft:max_health",
131
+ "min": 1.0,
132
+ "max": 1024.0,
133
+ "default": 20.0
134
+ },
135
+ {
136
+ "name": "miningEfficiency",
137
+ "resource": "minecraft:mining_efficiency",
138
+ "min": 0.0,
139
+ "max": 1024.0,
140
+ "default": 0.0
141
+ },
142
+ {
143
+ "name": "movementEfficiency",
144
+ "resource": "minecraft:movement_efficiency",
145
+ "min": 0.0,
146
+ "max": 1.0,
147
+ "default": 0.0
148
+ },
149
+ {
150
+ "name": "movementSpeed",
151
+ "resource": "minecraft:movement_speed",
152
+ "min": 0.0,
153
+ "max": 1024.0,
154
+ "default": 0.7
155
+ },
156
+ {
157
+ "name": "oxygenBonus",
158
+ "resource": "minecraft:oxygen_bonus",
159
+ "min": 0.0,
160
+ "max": 1024.0,
161
+ "default": 0.0
162
+ },
163
+ {
164
+ "name": "safeFallDistance",
165
+ "resource": "minecraft:safe_fall_distance",
166
+ "min": -1024.0,
167
+ "max": 1024.0,
168
+ "default": 3.0
169
+ },
170
+ {
171
+ "name": "scale",
172
+ "resource": "minecraft:scale",
173
+ "min": 0.0625,
174
+ "max": 16.0,
175
+ "default": 1.0
176
+ },
177
+ {
178
+ "name": "sneakingSpeed",
179
+ "resource": "minecraft:sneaking_speed",
180
+ "min": 0.0,
181
+ "max": 1.0,
182
+ "default": 0.3
183
+ },
184
+ {
185
+ "name": "spawnReinforcements",
186
+ "resource": "minecraft:spawn_reinforcements",
187
+ "min": 0.0,
188
+ "max": 1.0,
189
+ "default": 0.0
190
+ },
191
+ {
192
+ "name": "stepHeight",
193
+ "resource": "minecraft:step_height",
194
+ "min": 0.0,
195
+ "max": 10.0,
196
+ "default": 0.6
197
+ },
198
+ {
199
+ "name": "submergedMiningSpeed",
200
+ "resource": "minecraft:submerged_mining_speed",
201
+ "min": 0.0,
202
+ "max": 20.0,
203
+ "default": 0.2
204
+ },
205
+ {
206
+ "name": "sweepingDamageRatio",
207
+ "resource": "minecraft:sweeping_damage_ratio",
208
+ "min": 0.0,
209
+ "max": 1.0,
210
+ "default": 0.0
211
+ },
212
+ {
213
+ "name": "temptRange",
214
+ "resource": "minecraft:tempt_range",
215
+ "min": 0.0,
216
+ "max": 2048.0,
217
+ "default": 10.0
218
+ },
219
+ {
220
+ "name": "waterMovementEfficiency",
221
+ "resource": "minecraft:water_movement_efficiency",
222
+ "min": 0.0,
223
+ "max": 1.0,
224
+ "default": 0.0
225
+ }
226
+ ]