minecraft-data 3.31.0 → 3.32.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.
- package/.github/workflows/npm-publish.yml +2 -1
- package/data.js +28 -7
- package/doc/history.md +4 -0
- package/minecraft-data/README.md +1 -1
- package/minecraft-data/data/bedrock/1.16.201/proto.yml +13 -4
- package/minecraft-data/data/bedrock/1.16.201/protocol.json +13 -12
- package/minecraft-data/data/bedrock/1.16.210/proto.yml +13 -4
- package/minecraft-data/data/bedrock/1.16.210/protocol.json +13 -12
- package/minecraft-data/data/bedrock/1.16.220/proto.yml +1 -1
- package/minecraft-data/data/bedrock/1.16.220/protocol.json +1 -1
- package/minecraft-data/data/bedrock/1.17.0/proto.yml +1 -1
- package/minecraft-data/data/bedrock/1.17.0/protocol.json +1 -1
- package/minecraft-data/data/bedrock/1.17.10/proto.yml +1 -1
- package/minecraft-data/data/bedrock/1.17.10/protocol.json +1 -1
- package/minecraft-data/data/bedrock/1.17.30/proto.yml +1 -1
- package/minecraft-data/data/bedrock/1.17.30/protocol.json +1 -1
- package/minecraft-data/data/bedrock/1.17.40/proto.yml +1 -1
- package/minecraft-data/data/bedrock/1.17.40/protocol.json +1 -1
- package/minecraft-data/data/bedrock/1.18.0/proto.yml +1 -1
- package/minecraft-data/data/bedrock/1.18.0/protocol.json +1 -1
- package/minecraft-data/data/bedrock/1.18.11/proto.yml +1 -1
- package/minecraft-data/data/bedrock/1.18.11/protocol.json +1 -1
- package/minecraft-data/data/bedrock/1.18.30/proto.yml +1 -1
- package/minecraft-data/data/bedrock/1.18.30/protocol.json +1 -1
- package/minecraft-data/data/bedrock/1.19.1/proto.yml +1 -1
- package/minecraft-data/data/bedrock/1.19.1/protocol.json +1 -1
- package/minecraft-data/data/bedrock/1.19.10/proto.yml +1 -1
- package/minecraft-data/data/bedrock/1.19.10/protocol.json +1 -1
- package/minecraft-data/data/bedrock/1.19.20/proto.yml +2 -2
- package/minecraft-data/data/bedrock/1.19.20/protocol.json +2 -2
- package/minecraft-data/data/bedrock/1.19.21/proto.yml +2 -2
- package/minecraft-data/data/bedrock/1.19.21/protocol.json +2 -2
- package/minecraft-data/data/bedrock/1.19.30/proto.yml +2 -2
- package/minecraft-data/data/bedrock/1.19.30/protocol.json +2 -2
- package/minecraft-data/data/bedrock/1.19.40/proto.yml +4 -3
- package/minecraft-data/data/bedrock/1.19.40/protocol.json +3 -2
- package/minecraft-data/data/bedrock/1.19.50/proto.yml +4 -3
- package/minecraft-data/data/bedrock/1.19.50/protocol.json +3 -2
- package/minecraft-data/data/bedrock/1.19.60/proto.yml +4 -3
- package/minecraft-data/data/bedrock/1.19.60/protocol.json +3 -2
- package/minecraft-data/data/bedrock/1.19.62/proto.yml +3 -2
- package/minecraft-data/data/bedrock/1.19.62/protocol.json +3 -2
- package/minecraft-data/data/bedrock/1.19.70/proto.yml +3881 -0
- package/minecraft-data/data/bedrock/1.19.70/protocol.json +3 -2
- package/minecraft-data/data/bedrock/1.19.70/types.yml +2077 -0
- package/minecraft-data/data/bedrock/1.19.80/protocol.json +11276 -0
- package/minecraft-data/data/bedrock/1.19.80/version.json +6 -0
- package/minecraft-data/data/bedrock/common/features.json +54 -1
- package/minecraft-data/data/bedrock/common/protocolVersions.json +6 -0
- package/minecraft-data/data/bedrock/common/versions.json +2 -1
- package/minecraft-data/data/bedrock/latest/proto.yml +54 -12
- package/minecraft-data/data/bedrock/latest/types.yml +10 -0
- package/minecraft-data/data/dataPaths.json +28 -7
- package/minecraft-data/data/pc/1.19/protocol.json +40 -5
- package/minecraft-data/data/pc/1.19.2/protocol.json +40 -5
- package/minecraft-data/data/pc/1.19.3/protocol.json +40 -5
- package/minecraft-data/data/pc/common/features.json +10 -0
- package/minecraft-data/doc/history.md +3 -0
- package/package.json +2 -2
|
@@ -3,6 +3,59 @@
|
|
|
3
3
|
"name": "newRecipeSchema",
|
|
4
4
|
"description": "New recipe schema",
|
|
5
5
|
"versions": ["1.16_major", "latest"]
|
|
6
|
+
},
|
|
7
|
+
{
|
|
8
|
+
"name": "usesBlockStates",
|
|
9
|
+
"versions": ["1.16_major", "latest"]
|
|
10
|
+
},
|
|
11
|
+
{
|
|
12
|
+
"name": "tallWorld",
|
|
13
|
+
"description": "world y defaults to starts at -64 and ends at 384",
|
|
14
|
+
"versions": ["1.18.0", "latest"]
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"name": "itemSerializeUsesAuxValue",
|
|
18
|
+
"description": "in newer versions, item metadata and count are separate fields, but before 1.16.220, they're stored in one field called 'auxiliary_value'",
|
|
19
|
+
"versions": ["1.16.201", "1.16.220"]
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
"name": "spawnEggsUseInternalIdInNbt",
|
|
23
|
+
"description": "in older versions, spawn eggs have a field in their nbt called 'internalId' which tells what entity they will spawn",
|
|
24
|
+
"versions": ["1.16_major", "latest"]
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"name": "spawnEggsHaveSpawnedEntityInName",
|
|
28
|
+
"description": "in newer versions, spawn eggs have the entity they spawn in their name, ex: 'squid_spawn_egg'",
|
|
29
|
+
"versions": ["1.16.201", "latest"]
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"name": "whereDurabilityIsSerialized",
|
|
33
|
+
"description": "where the durability is saved in nbt",
|
|
34
|
+
"values": [
|
|
35
|
+
{
|
|
36
|
+
"value": "Damage",
|
|
37
|
+
"versions": ["1.16_major", "latest"]
|
|
38
|
+
}
|
|
39
|
+
]
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
"name": "typeOfValueForEnchantLevel",
|
|
43
|
+
"description": "type of value that stores enchant lvl in the nbt",
|
|
44
|
+
"values": [
|
|
45
|
+
{
|
|
46
|
+
"value": "short",
|
|
47
|
+
"versions": ["1.16_major", "latest"]
|
|
48
|
+
}
|
|
49
|
+
]
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
"name": "nbtNameForEnchant",
|
|
53
|
+
"description": "what the nbt key for enchants is",
|
|
54
|
+
"values": [
|
|
55
|
+
{
|
|
56
|
+
"value": "ench",
|
|
57
|
+
"versions": ["1.16_major", "latest"]
|
|
58
|
+
}
|
|
59
|
+
]
|
|
6
60
|
}
|
|
7
61
|
]
|
|
8
|
-
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# Created from MiNET and gophertunnel docs
|
|
2
2
|
# The version below is the latest version this protocol schema was updated for.
|
|
3
3
|
# The output protocol.json will be in the folder for the version
|
|
4
|
-
!version: 1.19.
|
|
4
|
+
!version: 1.19.80
|
|
5
5
|
|
|
6
6
|
# Some ProtoDef aliases
|
|
7
7
|
string: ["pstring",{"countType":"varint"}] # String / array types
|
|
@@ -266,6 +266,10 @@ packet_start_game:
|
|
|
266
266
|
# EditorWorld is a value to dictate if the world is in editor mode, a special mode recently introduced adding
|
|
267
267
|
# "powerful tools for editing worlds, intended for experienced creators."
|
|
268
268
|
editor_world: bool
|
|
269
|
+
# Whether the world was created in editor mode
|
|
270
|
+
created_in_editor: bool
|
|
271
|
+
# Whether the world was exported from editor mode
|
|
272
|
+
exported_from_editor: bool
|
|
269
273
|
# The time at which the day cycle was locked if the day cycle is disabled using the respective
|
|
270
274
|
# game rule. The client will maIntain this time as Boolean as the day cycle is disabled.
|
|
271
275
|
day_cycle_stop_time: zigzag32
|
|
@@ -425,6 +429,7 @@ packet_start_game:
|
|
|
425
429
|
# ClientSideGeneration is true if the client should use the features registered in the FeatureRegistry packet to
|
|
426
430
|
# generate terrain client-side to save on bandwidth.
|
|
427
431
|
client_side_generation: bool
|
|
432
|
+
block_network_ids_are_hashes: bool
|
|
428
433
|
|
|
429
434
|
packet_add_player:
|
|
430
435
|
!id: 0x0c
|
|
@@ -788,6 +793,13 @@ packet_level_event:
|
|
|
788
793
|
3509: cauldron_clean_banner
|
|
789
794
|
3600: block_start_break
|
|
790
795
|
3601: block_stop_break
|
|
796
|
+
3602: block_break_speed
|
|
797
|
+
3603: particle_punch_block_down
|
|
798
|
+
3604: particle_punch_block_up
|
|
799
|
+
3605: particle_punch_block_north
|
|
800
|
+
3606: particle_punch_block_south
|
|
801
|
+
3607: particle_punch_block_west
|
|
802
|
+
3608: particle_punch_block_east
|
|
791
803
|
4000: set_data
|
|
792
804
|
9800: players_sleeping
|
|
793
805
|
9801: sleeping_players
|
|
@@ -1503,7 +1515,7 @@ packet_clientbound_map_item_data:
|
|
|
1503
1515
|
# table.
|
|
1504
1516
|
locked: bool
|
|
1505
1517
|
# Origin is the center position of the map being updated.
|
|
1506
|
-
origin:
|
|
1518
|
+
origin: vec3i
|
|
1507
1519
|
# The following fields apply only for the MapUpdateFlagInitialisation.
|
|
1508
1520
|
# MapsIncludedIn holds an array of map IDs that the map updated is included in. This has to do with the
|
|
1509
1521
|
# scale of the map: Each map holds its own map ID and all map IDs of maps that include this map and have
|
|
@@ -1563,6 +1575,7 @@ packet_request_chunk_radius:
|
|
|
1563
1575
|
# ChunkRadius is the requested chunk radius. This value is always the value set in the settings of the
|
|
1564
1576
|
# player.
|
|
1565
1577
|
chunk_radius: zigzag32
|
|
1578
|
+
max_radius: u8
|
|
1566
1579
|
|
|
1567
1580
|
# ChunkRadiusUpdated is sent by the server in response to a RequestChunkRadius packet. It defines the chunk
|
|
1568
1581
|
# radius that the server allows the client to have. This may be lower than the chunk radius requested by the
|
|
@@ -1718,15 +1731,15 @@ packet_available_commands:
|
|
|
1718
1731
|
10: wildcard_target
|
|
1719
1732
|
17: file_path
|
|
1720
1733
|
23: integer_range
|
|
1721
|
-
|
|
1722
|
-
|
|
1723
|
-
|
|
1724
|
-
|
|
1725
|
-
|
|
1726
|
-
|
|
1727
|
-
|
|
1728
|
-
|
|
1729
|
-
|
|
1734
|
+
43: equipment_slots
|
|
1735
|
+
44: string
|
|
1736
|
+
52: block_position
|
|
1737
|
+
53: position
|
|
1738
|
+
55: message
|
|
1739
|
+
58: raw_text
|
|
1740
|
+
62: json
|
|
1741
|
+
71: block_states
|
|
1742
|
+
74: command
|
|
1730
1743
|
# In MC, this + prior field are combined to one 32bit bitfield
|
|
1731
1744
|
enum_type: lu16 =>
|
|
1732
1745
|
0x10: valid
|
|
@@ -2394,7 +2407,7 @@ packet_lab_table:
|
|
|
2394
2407
|
0: combine
|
|
2395
2408
|
1: react
|
|
2396
2409
|
# Position is the position at which the lab table used was located.
|
|
2397
|
-
position:
|
|
2410
|
+
position: vec3i
|
|
2398
2411
|
# ReactionType is the type of the reaction that took place as a result of the items put into the lab
|
|
2399
2412
|
# table. The reaction type can be either that of an item or a particle, depending on whatever the result
|
|
2400
2413
|
# was of the reaction.
|
|
@@ -2589,6 +2602,7 @@ packet_network_chunk_publisher_update:
|
|
|
2589
2602
|
!bound: client
|
|
2590
2603
|
# Position is the block position around which chunks loaded will remain shown to the client. Most servers
|
|
2591
2604
|
# set this position to the position of the player itself.
|
|
2605
|
+
##TODO: Check putSignedBlockPosition
|
|
2592
2606
|
coordinates: BlockCoordinates
|
|
2593
2607
|
# Radius is the radius in blocks around Position that chunks sent show up in and will remain loaded in.
|
|
2594
2608
|
# Unlike the RequestChunkRadius and ChunkRadiusUpdated packets, this radius is in blocks rather than
|
|
@@ -3878,3 +3892,31 @@ packet_camera_instruction:
|
|
|
3878
3892
|
!bound:
|
|
3879
3893
|
# Data is a compound tag of the instructions to sent.
|
|
3880
3894
|
data: nbt
|
|
3895
|
+
|
|
3896
|
+
packet_compressed_biome_definitions:
|
|
3897
|
+
!id: 0x12d
|
|
3898
|
+
!bound: client
|
|
3899
|
+
# via PMMP:
|
|
3900
|
+
# This packet is only sent by the server when client-side chunk generation is enabled in vanilla. It contains NBT data
|
|
3901
|
+
# for biomes, similar to the BiomeDefinitionListPacket, but with a large amount of extra data for client-side chunk
|
|
3902
|
+
# generation.
|
|
3903
|
+
#
|
|
3904
|
+
# The data is compressed with a cursed home-brewed compression format, and it's a miracle it even works.
|
|
3905
|
+
raw_payload: string
|
|
3906
|
+
|
|
3907
|
+
packet_trim_data:
|
|
3908
|
+
!id: 0x12e
|
|
3909
|
+
!bound: client
|
|
3910
|
+
patterns: []varint
|
|
3911
|
+
item_name: string
|
|
3912
|
+
pattern: string
|
|
3913
|
+
materials: []varint
|
|
3914
|
+
material: string
|
|
3915
|
+
color: string
|
|
3916
|
+
item_name: string
|
|
3917
|
+
|
|
3918
|
+
packet_open_sign:
|
|
3919
|
+
!id: 0x12f
|
|
3920
|
+
!bound: client
|
|
3921
|
+
position: BlockCoordinates
|
|
3922
|
+
is_front: bool
|
|
@@ -700,6 +700,7 @@ Recipes: []varint
|
|
|
700
700
|
# SmithingTransformRecipe is a recipe specifically used for smithing tables. It has two input items and adds them
|
|
701
701
|
# together, resulting in a new item.
|
|
702
702
|
8: smithing_transform
|
|
703
|
+
9: smithing_trim
|
|
703
704
|
recipe: type?
|
|
704
705
|
if shapeless or shulker_box or shapeless_chemistry:
|
|
705
706
|
recipe_id: string
|
|
@@ -737,6 +738,7 @@ Recipes: []varint
|
|
|
737
738
|
# RecipeID is a unique ID of the recipe. This ID must be unique amongst all other types of recipes too,
|
|
738
739
|
# but its functionality is not exactly known.
|
|
739
740
|
recipe_id: string
|
|
741
|
+
template: RecipeIngredient
|
|
740
742
|
# Base is the item that the Addition is being applied to in the smithing table.
|
|
741
743
|
base: RecipeIngredient
|
|
742
744
|
# Addition is the item that is being added to the Base item to result in a modified item.
|
|
@@ -749,6 +751,13 @@ Recipes: []varint
|
|
|
749
751
|
# network ID. Recommended is to just increment a variable for each unique recipe registered.
|
|
750
752
|
# This field must never be 0.
|
|
751
753
|
network_id: varint
|
|
754
|
+
if smithing_trim:
|
|
755
|
+
recipe_id: string
|
|
756
|
+
template: RecipeIngredient
|
|
757
|
+
input: RecipeIngredient
|
|
758
|
+
addition: RecipeIngredient
|
|
759
|
+
block: string
|
|
760
|
+
network_id: varint
|
|
752
761
|
|
|
753
762
|
SkinImage:
|
|
754
763
|
width: li32
|
|
@@ -1437,6 +1446,7 @@ ContainerSlotType: u8 =>
|
|
|
1437
1446
|
- barrel
|
|
1438
1447
|
- cursor
|
|
1439
1448
|
- creative_output
|
|
1449
|
+
- smithing_table_template
|
|
1440
1450
|
|
|
1441
1451
|
SoundType: varint =>
|
|
1442
1452
|
- ItemUseOn
|
|
@@ -1202,8 +1202,8 @@
|
|
|
1202
1202
|
"1.16.201": {
|
|
1203
1203
|
"protocol": "bedrock/1.16.201",
|
|
1204
1204
|
"steve": "bedrock/1.16.201",
|
|
1205
|
-
"proto": "bedrock/1.
|
|
1206
|
-
"types": "bedrock/1.
|
|
1205
|
+
"proto": "bedrock/1.16.201",
|
|
1206
|
+
"types": "bedrock/1.16.201",
|
|
1207
1207
|
"windows": "bedrock/1.16.201",
|
|
1208
1208
|
"enchantments": "bedrock/1.16.201",
|
|
1209
1209
|
"version": "bedrock/1.16.201"
|
|
@@ -1211,8 +1211,8 @@
|
|
|
1211
1211
|
"1.16.210": {
|
|
1212
1212
|
"protocol": "bedrock/1.16.210",
|
|
1213
1213
|
"steve": "bedrock/1.16.201",
|
|
1214
|
-
"proto": "bedrock/1.
|
|
1215
|
-
"types": "bedrock/1.
|
|
1214
|
+
"proto": "bedrock/1.16.210",
|
|
1215
|
+
"types": "bedrock/1.16.210",
|
|
1216
1216
|
"enchantments": "bedrock/1.16.201",
|
|
1217
1217
|
"version": "bedrock/1.16.210"
|
|
1218
1218
|
},
|
|
@@ -1224,8 +1224,8 @@
|
|
|
1224
1224
|
"enchantments": "bedrock/1.16.201",
|
|
1225
1225
|
"steve": "bedrock/1.16.201",
|
|
1226
1226
|
"protocol": "bedrock/1.16.220",
|
|
1227
|
-
"proto": "bedrock/1.
|
|
1228
|
-
"types": "bedrock/1.
|
|
1227
|
+
"proto": "bedrock/1.16.220",
|
|
1228
|
+
"types": "bedrock/1.16.220",
|
|
1229
1229
|
"version": "bedrock/1.16.220"
|
|
1230
1230
|
},
|
|
1231
1231
|
"1.17.0": {
|
|
@@ -1603,9 +1603,30 @@
|
|
|
1603
1603
|
"steve": "bedrock/1.16.201",
|
|
1604
1604
|
"blocksB2J": "bedrock/1.19.1",
|
|
1605
1605
|
"blocksJ2B": "bedrock/1.19.1",
|
|
1606
|
+
"proto": "bedrock/1.19.70",
|
|
1607
|
+
"types": "bedrock/1.19.70",
|
|
1608
|
+
"version": "bedrock/1.19.70"
|
|
1609
|
+
},
|
|
1610
|
+
"1.19.80": {
|
|
1611
|
+
"blocks": "bedrock/1.19.1",
|
|
1612
|
+
"blockStates": "bedrock/1.19.1",
|
|
1613
|
+
"blockCollisionShapes": "bedrock/1.19.1",
|
|
1614
|
+
"biomes": "bedrock/1.19.1",
|
|
1615
|
+
"entities": "bedrock/1.19.1",
|
|
1616
|
+
"items": "bedrock/1.19.10",
|
|
1617
|
+
"recipes": "bedrock/1.19.10",
|
|
1618
|
+
"instruments": "bedrock/1.17.0",
|
|
1619
|
+
"materials": "pc/1.17",
|
|
1620
|
+
"enchantments": "bedrock/1.19.1",
|
|
1621
|
+
"effects": "pc/1.17",
|
|
1622
|
+
"protocol": "bedrock/1.19.80",
|
|
1623
|
+
"windows": "bedrock/1.16.201",
|
|
1624
|
+
"steve": "bedrock/1.16.201",
|
|
1625
|
+
"blocksB2J": "bedrock/1.19.1",
|
|
1626
|
+
"blocksJ2B": "bedrock/1.19.1",
|
|
1606
1627
|
"proto": "bedrock/latest",
|
|
1607
1628
|
"types": "bedrock/latest",
|
|
1608
|
-
"version": "bedrock/1.19.
|
|
1629
|
+
"version": "bedrock/1.19.80"
|
|
1609
1630
|
}
|
|
1610
1631
|
}
|
|
1611
1632
|
}
|
|
@@ -166,7 +166,7 @@
|
|
|
166
166
|
}
|
|
167
167
|
]
|
|
168
168
|
],
|
|
169
|
-
"
|
|
169
|
+
"25": [
|
|
170
170
|
"container",
|
|
171
171
|
[
|
|
172
172
|
{
|
|
@@ -175,7 +175,7 @@
|
|
|
175
175
|
}
|
|
176
176
|
]
|
|
177
177
|
],
|
|
178
|
-
"
|
|
178
|
+
"39": [
|
|
179
179
|
"container",
|
|
180
180
|
[
|
|
181
181
|
{
|
|
@@ -184,16 +184,42 @@
|
|
|
184
184
|
}
|
|
185
185
|
]
|
|
186
186
|
],
|
|
187
|
-
"
|
|
187
|
+
"40": [
|
|
188
188
|
"container",
|
|
189
189
|
[
|
|
190
|
+
{
|
|
191
|
+
"name": "positionType",
|
|
192
|
+
"type": "string"
|
|
193
|
+
},
|
|
190
194
|
{
|
|
191
195
|
"name": "origin",
|
|
192
196
|
"type": "position"
|
|
193
197
|
},
|
|
194
198
|
{
|
|
195
|
-
"name": "
|
|
196
|
-
"type":
|
|
199
|
+
"name": "entityId",
|
|
200
|
+
"type": [
|
|
201
|
+
"switch",
|
|
202
|
+
{
|
|
203
|
+
"compareTo": "positionType",
|
|
204
|
+
"fields": {
|
|
205
|
+
"minecraft:entity": "varint"
|
|
206
|
+
},
|
|
207
|
+
"default": "void"
|
|
208
|
+
}
|
|
209
|
+
]
|
|
210
|
+
},
|
|
211
|
+
{
|
|
212
|
+
"name": "entityEyeHeight",
|
|
213
|
+
"type": [
|
|
214
|
+
"switch",
|
|
215
|
+
{
|
|
216
|
+
"compareTo": "positionType",
|
|
217
|
+
"fields": {
|
|
218
|
+
"minecraft:entity": "varint"
|
|
219
|
+
},
|
|
220
|
+
"default": "void"
|
|
221
|
+
}
|
|
222
|
+
]
|
|
197
223
|
},
|
|
198
224
|
{
|
|
199
225
|
"name": "destination",
|
|
@@ -213,6 +239,15 @@
|
|
|
213
239
|
"type": "varint"
|
|
214
240
|
}
|
|
215
241
|
]
|
|
242
|
+
],
|
|
243
|
+
"92": [
|
|
244
|
+
"container",
|
|
245
|
+
[
|
|
246
|
+
{
|
|
247
|
+
"name": "delayInTicksBeforeShown",
|
|
248
|
+
"type": "varint"
|
|
249
|
+
}
|
|
250
|
+
]
|
|
216
251
|
]
|
|
217
252
|
},
|
|
218
253
|
"default": "void"
|
|
@@ -166,7 +166,7 @@
|
|
|
166
166
|
}
|
|
167
167
|
]
|
|
168
168
|
],
|
|
169
|
-
"
|
|
169
|
+
"25": [
|
|
170
170
|
"container",
|
|
171
171
|
[
|
|
172
172
|
{
|
|
@@ -175,7 +175,7 @@
|
|
|
175
175
|
}
|
|
176
176
|
]
|
|
177
177
|
],
|
|
178
|
-
"
|
|
178
|
+
"39": [
|
|
179
179
|
"container",
|
|
180
180
|
[
|
|
181
181
|
{
|
|
@@ -184,16 +184,42 @@
|
|
|
184
184
|
}
|
|
185
185
|
]
|
|
186
186
|
],
|
|
187
|
-
"
|
|
187
|
+
"40": [
|
|
188
188
|
"container",
|
|
189
189
|
[
|
|
190
|
+
{
|
|
191
|
+
"name": "positionType",
|
|
192
|
+
"type": "string"
|
|
193
|
+
},
|
|
190
194
|
{
|
|
191
195
|
"name": "origin",
|
|
192
196
|
"type": "position"
|
|
193
197
|
},
|
|
194
198
|
{
|
|
195
|
-
"name": "
|
|
196
|
-
"type":
|
|
199
|
+
"name": "entityId",
|
|
200
|
+
"type": [
|
|
201
|
+
"switch",
|
|
202
|
+
{
|
|
203
|
+
"compareTo": "positionType",
|
|
204
|
+
"fields": {
|
|
205
|
+
"minecraft:entity": "varint"
|
|
206
|
+
},
|
|
207
|
+
"default": "void"
|
|
208
|
+
}
|
|
209
|
+
]
|
|
210
|
+
},
|
|
211
|
+
{
|
|
212
|
+
"name": "entityEyeHeight",
|
|
213
|
+
"type": [
|
|
214
|
+
"switch",
|
|
215
|
+
{
|
|
216
|
+
"compareTo": "positionType",
|
|
217
|
+
"fields": {
|
|
218
|
+
"minecraft:entity": "varint"
|
|
219
|
+
},
|
|
220
|
+
"default": "void"
|
|
221
|
+
}
|
|
222
|
+
]
|
|
197
223
|
},
|
|
198
224
|
{
|
|
199
225
|
"name": "destination",
|
|
@@ -213,6 +239,15 @@
|
|
|
213
239
|
"type": "varint"
|
|
214
240
|
}
|
|
215
241
|
]
|
|
242
|
+
],
|
|
243
|
+
"92": [
|
|
244
|
+
"container",
|
|
245
|
+
[
|
|
246
|
+
{
|
|
247
|
+
"name": "delayInTicksBeforeShown",
|
|
248
|
+
"type": "varint"
|
|
249
|
+
}
|
|
250
|
+
]
|
|
216
251
|
]
|
|
217
252
|
},
|
|
218
253
|
"default": "void"
|
|
@@ -167,7 +167,7 @@
|
|
|
167
167
|
}
|
|
168
168
|
]
|
|
169
169
|
],
|
|
170
|
-
"
|
|
170
|
+
"25": [
|
|
171
171
|
"container",
|
|
172
172
|
[
|
|
173
173
|
{
|
|
@@ -176,7 +176,7 @@
|
|
|
176
176
|
}
|
|
177
177
|
]
|
|
178
178
|
],
|
|
179
|
-
"
|
|
179
|
+
"39": [
|
|
180
180
|
"container",
|
|
181
181
|
[
|
|
182
182
|
{
|
|
@@ -185,16 +185,42 @@
|
|
|
185
185
|
}
|
|
186
186
|
]
|
|
187
187
|
],
|
|
188
|
-
"
|
|
188
|
+
"40": [
|
|
189
189
|
"container",
|
|
190
190
|
[
|
|
191
|
+
{
|
|
192
|
+
"name": "positionType",
|
|
193
|
+
"type": "string"
|
|
194
|
+
},
|
|
191
195
|
{
|
|
192
196
|
"name": "origin",
|
|
193
197
|
"type": "position"
|
|
194
198
|
},
|
|
195
199
|
{
|
|
196
|
-
"name": "
|
|
197
|
-
"type":
|
|
200
|
+
"name": "entityId",
|
|
201
|
+
"type": [
|
|
202
|
+
"switch",
|
|
203
|
+
{
|
|
204
|
+
"compareTo": "positionType",
|
|
205
|
+
"fields": {
|
|
206
|
+
"minecraft:entity": "varint"
|
|
207
|
+
},
|
|
208
|
+
"default": "void"
|
|
209
|
+
}
|
|
210
|
+
]
|
|
211
|
+
},
|
|
212
|
+
{
|
|
213
|
+
"name": "entityEyeHeight",
|
|
214
|
+
"type": [
|
|
215
|
+
"switch",
|
|
216
|
+
{
|
|
217
|
+
"compareTo": "positionType",
|
|
218
|
+
"fields": {
|
|
219
|
+
"minecraft:entity": "varint"
|
|
220
|
+
},
|
|
221
|
+
"default": "void"
|
|
222
|
+
}
|
|
223
|
+
]
|
|
198
224
|
},
|
|
199
225
|
{
|
|
200
226
|
"name": "destination",
|
|
@@ -214,6 +240,15 @@
|
|
|
214
240
|
"type": "varint"
|
|
215
241
|
}
|
|
216
242
|
]
|
|
243
|
+
],
|
|
244
|
+
"92": [
|
|
245
|
+
"container",
|
|
246
|
+
[
|
|
247
|
+
{
|
|
248
|
+
"name": "delayInTicksBeforeShown",
|
|
249
|
+
"type": "varint"
|
|
250
|
+
}
|
|
251
|
+
]
|
|
217
252
|
]
|
|
218
253
|
},
|
|
219
254
|
"default": "void"
|
|
@@ -611,6 +611,11 @@
|
|
|
611
611
|
}
|
|
612
612
|
]
|
|
613
613
|
},
|
|
614
|
+
{
|
|
615
|
+
"name": "booksUseStoredEnchantments",
|
|
616
|
+
"description": "Enchanted books store enchantment data in a separate NBT tag called StoredEnchantments",
|
|
617
|
+
"versions": ["1.8_major", "latest"]
|
|
618
|
+
},
|
|
614
619
|
{
|
|
615
620
|
"name": "typeOfValueForEnchantLevel",
|
|
616
621
|
"description": "type of value that stores enchant lvl in the nbt",
|
|
@@ -639,6 +644,11 @@
|
|
|
639
644
|
}
|
|
640
645
|
]
|
|
641
646
|
},
|
|
647
|
+
{
|
|
648
|
+
"name": "itemLoreIsAString",
|
|
649
|
+
"description": "An item's custom Lore is stored as a string in NBT, in older versions it's a list of strings",
|
|
650
|
+
"versions": ["1.14_major", "latest"]
|
|
651
|
+
},
|
|
642
652
|
{
|
|
643
653
|
"name": "spawnEggsUseInternalIdInNbt",
|
|
644
654
|
"description": "in older versions, spawn eggs have a field in their nbt called 'internalId' which tells what entity they will spawn",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "minecraft-data",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.32.0",
|
|
4
4
|
"description": "Provide easy access to minecraft data in node.js",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"tonicExampleFilename": "example.js",
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"generate:types": "node typings/generate-typings.js",
|
|
9
9
|
"generate:data": "node ./bin/generate_data.js",
|
|
10
10
|
"test:types": "tsc typings/test-typings && node typings/test-typings.js",
|
|
11
|
-
"test": "require-self && npm run generate:data && npm run lint && npm run test:types && mocha",
|
|
11
|
+
"test": "require-self && npm run generate:data && npm run generate:types && npm run lint && npm run test:types && mocha",
|
|
12
12
|
"lint": "standard",
|
|
13
13
|
"prepare": "require-self && npm run generate:data && npm run generate:types",
|
|
14
14
|
"fix": "standard --fix"
|