minecraft-data 2.95.0 → 2.96.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.
@@ -49,5 +49,11 @@
49
49
  "minecraftVersion": "1.17.30",
50
50
  "majorVersion": "1.17",
51
51
  "releaseType": "release"
52
+ },
53
+ {
54
+ "version": 471,
55
+ "minecraftVersion": "1.17.40",
56
+ "majorVersion": "1.17",
57
+ "releaseType": "release"
52
58
  }
53
59
  ]
@@ -7,5 +7,6 @@
7
7
  "1.16.220",
8
8
  "1.17.0",
9
9
  "1.17.10",
10
- "1.17.30"
10
+ "1.17.30",
11
+ "1.17.40"
11
12
  ]
@@ -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.17.30
4
+ !version: 1.17.40
5
5
 
6
6
  # Some ProtoDef aliases
7
7
  string: ["pstring",{"countType":"varint"}] # String / array types
@@ -671,6 +671,9 @@ packet_level_event:
671
671
  2031: particle_wax_off
672
672
  2032: particle_scrape
673
673
  2033: particle_electric_spark
674
+ 2034: particle_turtle_egg
675
+ 2035: particle_sculk_shriek
676
+ 2036: sculk_catalyst_bloom
674
677
 
675
678
  3001: start_rain
676
679
  3002: start_thunder
@@ -691,7 +694,7 @@ packet_level_event:
691
694
  3509: cauldron_clean_banner
692
695
  3600: block_start_break
693
696
  3601: block_stop_break
694
- 4000: set_data
697
+ 4000: set_data
695
698
  9800: players_sleeping
696
699
  0x4000: add_particle_mask
697
700
  # 0x4000 | + particle ID
@@ -3229,6 +3232,36 @@ packet_update_subchunk_blocks:
3229
3232
  # Extra contains each updated block change entry for the second layer, usually for waterlogged blocks.
3230
3233
  extra: BlockUpdate[]varint
3231
3234
 
3232
- packet_photo_info_request_packet:
3235
+ packet_photo_info_request:
3233
3236
  !id: 0xad
3234
- photo_id: zigzag64
3237
+ photo_id: zigzag64
3238
+
3239
+ packet_subchunk:
3240
+ !id: 0xae
3241
+ dimension: varint
3242
+ x: varint
3243
+ y: varint
3244
+ z: varint
3245
+ # Data is the actual sub chunk data, such as the blocks.
3246
+ data: ByteArray
3247
+ request_result: varint =>
3248
+ 0: undefined
3249
+ 1: success
3250
+ 2: chunk_not_found
3251
+ 3: invalid_dimension
3252
+ 4: player_not_found
3253
+ 5: y_index_out_of_bounds
3254
+ heightmap_type: u8 =>
3255
+ 0: no_data
3256
+ 1: has_data
3257
+ 2: too_high
3258
+ 3: too_low
3259
+ _: heightmap_type ?
3260
+ if has_data: '["buffer", { "count": 256 }]'
3261
+
3262
+ packet_subchunk_request:
3263
+ !id: 0xaf
3264
+ dimension: varint
3265
+ x: varint
3266
+ y: varint
3267
+ z: varint
@@ -792,62 +792,68 @@ ItemStackRequest:
792
792
  type_id: u8 =>
793
793
  # TakeStackRequestAction is sent by the client to the server to take x amount of items from one slot in a
794
794
  # container to the cursor.
795
- 0: take
795
+ - take
796
796
  # PlaceStackRequestAction is sent by the client to the server to place x amount of items from one slot into
797
797
  # another slot, such as when shift clicking an item in the inventory to move it around or when moving an item
798
798
  # in the cursor into a slot.
799
- 1: place
799
+ - place
800
800
  # SwapStackRequestAction is sent by the client to swap the item in its cursor with an item present in another
801
801
  # container. The two item stacks swap places.
802
- 2: swap
802
+ - swap
803
803
  # DropStackRequestAction is sent by the client when it drops an item out of the inventory when it has its
804
804
  # inventory opened. This action is not sent when a player drops an item out of the hotbar using the Q button
805
805
  # (or the equivalent on mobile). The InventoryTransaction packet is still used for that action, regardless of
806
806
  # whether the item stack network IDs are used or not.
807
- 3: drop
807
+ - drop
808
808
  # DestroyStackRequestAction is sent by the client when it destroys an item in creative mode by moving it
809
809
  # back into the creative inventory.
810
- 4: destroy
810
+ - destroy
811
811
  # ConsumeStackRequestAction is sent by the client when it uses an item to craft another item. The original
812
812
  # item is 'consumed'.
813
- 5: consume
813
+ - consume
814
814
  # CreateStackRequestAction is sent by the client when an item is created through being used as part of a
815
815
  # recipe. For example, when milk is used to craft a cake, the buckets are leftover. The buckets are moved to
816
816
  # the slot sent by the client here.
817
817
  # Note that before this is sent, an action for consuming all items in the crafting table/grid is sent. Items
818
818
  # that are not fully consumed when used for a recipe should not be destroyed there, but instead, should be
819
819
  # turned into their respective resulting items.
820
- 6: create
820
+ - create
821
821
  # LabTableCombineStackRequestAction is sent by the client when it uses a lab table to combine item stacks.
822
- 7: lab_table_combine
822
+ - lab_table_combine
823
823
  # BeaconPaymentStackRequestAction is sent by the client when it submits an item to enable effects from a
824
824
  # beacon. These items will have been moved into the beacon item slot in advance.
825
- 8: beacon_payment
825
+ - beacon_payment
826
826
  # MineBlockStackRequestAction is sent by the client when it breaks a block.
827
- 9: mine_block
827
+ - mine_block
828
828
  # CraftRecipeStackRequestAction is sent by the client the moment it begins crafting an item. This is the
829
829
  # first action sent, before the Consume and Create item stack request actions.
830
830
  # This action is also sent when an item is enchanted. Enchanting should be treated mostly the same way as
831
831
  # crafting, where the old item is consumed.
832
- 10: craft_recipe
832
+ - craft_recipe
833
833
  # AutoCraftRecipeStackRequestAction is sent by the client similarly to the CraftRecipeStackRequestAction. The
834
834
  # only difference is that the recipe is automatically created and crafted by shift clicking the recipe book.
835
- 11: craft_recipe_auto #recipe book?
835
+ - craft_recipe_auto #recipe book?
836
836
  # CraftCreativeStackRequestAction is sent by the client when it takes an item out fo the creative inventory.
837
837
  # The item is thus not really crafted, but instantly created.
838
- 12: craft_creative
838
+ - craft_creative
839
839
  # CraftRecipeOptionalStackRequestAction is sent when using an anvil. When this action is sent, the
840
840
  # CustomNames field in the respective stack request is non-empty and contains the name of the item created
841
841
  # using the anvil.
842
- 13: optional
842
+ - optional
843
+ # CraftGrindstoneRecipeStackRequestAction is sent when a grindstone recipe is crafted. It contains the RecipeNetworkID
844
+ # to identify the recipe crafted, and the cost for crafting the recipe.
845
+ - craft_grindstone_request
846
+ # CraftLoomRecipeStackRequestAction is sent when a loom recipe is crafted. It simply contains the
847
+ # pattern identifier to figure out what pattern is meant to be applied to the item.
848
+ - craft_loom_request
843
849
  # CraftNonImplementedStackRequestAction is an action sent for inventory actions that aren't yet implemented
844
850
  # in the new system. These include, for example, anvils.
845
- 14: non_implemented #anvils aren't fully implemented yet
851
+ - non_implemented # anvils aren't fully implemented yet
846
852
  # CraftResultsDeprecatedStackRequestAction is an additional, deprecated packet sent by the client after
847
853
  # crafting. It holds the final results and the amount of times the recipe was crafted. It shouldn't be used.
848
854
  # This action is also sent when an item is enchanted. Enchanting should be treated mostly the same way as
849
855
  # crafting, where the old item is consumed.
850
- 15: results_deprecated
856
+ - results_deprecated
851
857
  _: type_id ?
852
858
  if take or place:
853
859
  count: u8
@@ -903,6 +909,15 @@ ItemStackRequest:
903
909
  recipe_network_id: varint
904
910
  # Most likely the index in the request's filter strings that this action is using
905
911
  filtered_string_index: li32
912
+ if craft_grindstone_request:
913
+ # RecipeNetworkID is the network ID of the recipe that is about to be crafted. This network ID matches
914
+ # one of the recipes sent in the CraftingData packet, where each of the recipes have a RecipeNetworkID as
915
+ recipe_network_id: varint
916
+ # Cost is the cost of the recipe that was crafted.
917
+ cost: varint
918
+ if craft_loom_request:
919
+ # Pattern is the pattern identifier for the loom recipe.
920
+ pattern: string
906
921
  if non_implemented: void
907
922
  if results_deprecated:
908
923
  result_items: ItemLegacy[]varint
@@ -1079,6 +1079,25 @@
1079
1079
  "steve": "bedrock/1.16.201",
1080
1080
  "blocksB2J": "bedrock/1.17.10",
1081
1081
  "blocksJ2B": "bedrock/1.17.10",
1082
+ "proto": "bedrock/1.17.30",
1083
+ "types": "bedrock/1.17.30"
1084
+ },
1085
+ "1.17.40": {
1086
+ "blocks": "bedrock/1.17.10",
1087
+ "blockStates": "bedrock/1.17.10",
1088
+ "blockCollisionShapes": "bedrock/1.17.10",
1089
+ "biomes": "bedrock/1.17.0",
1090
+ "items": "bedrock/1.17.10",
1091
+ "recipes": "bedrock/1.17.10",
1092
+ "instruments": "bedrock/1.17.0",
1093
+ "materials": "pc/1.17",
1094
+ "enchantments": "pc/1.17",
1095
+ "effects": "pc/1.17",
1096
+ "protocol": "bedrock/1.17.40",
1097
+ "windows": "bedrock/1.16.201",
1098
+ "steve": "bedrock/1.16.201",
1099
+ "blocksB2J": "bedrock/1.17.10",
1100
+ "blocksJ2B": "bedrock/1.17.10",
1082
1101
  "proto": "bedrock/latest",
1083
1102
  "types": "bedrock/latest"
1084
1103
  }
@@ -1,4 +1,39 @@
1
1
  [
2
+ {
3
+ "minecraftVersion": "21w44a",
4
+ "version": 1073741872,
5
+ "dataVersion": 2845,
6
+ "usesNetty": true,
7
+ "majorVersion": "1.18"
8
+ },
9
+ {
10
+ "minecraftVersion": "21w43a",
11
+ "version": 1073741871,
12
+ "dataVersion": 2844,
13
+ "usesNetty": true,
14
+ "majorVersion": "1.18"
15
+ },
16
+ {
17
+ "minecraftVersion": "21w42a",
18
+ "version": 1073741870,
19
+ "dataVersion": 2840,
20
+ "usesNetty": true,
21
+ "majorVersion": "1.18"
22
+ },
23
+ {
24
+ "minecraftVersion": "21w41a",
25
+ "version": 1073741869,
26
+ "dataVersion": 2839,
27
+ "usesNetty": true,
28
+ "majorVersion": "1.18"
29
+ },
30
+ {
31
+ "minecraftVersion": "21w40a",
32
+ "version": 1073741868,
33
+ "dataVersion": 2838,
34
+ "usesNetty": true,
35
+ "majorVersion": "1.18"
36
+ },
2
37
  {
3
38
  "minecraftVersion": "21w39a",
4
39
  "version": 1073741867,
@@ -1,3 +1,6 @@
1
+ ## 2.96.0
2
+ * Add bedrock 1.17.40 protocol data (@extremeheat)
3
+
1
4
  ## 2.95.0
2
5
  * bedrock: Add 1.17.30 protocol data
3
6
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "minecraft-data",
3
- "version": "2.95.0",
3
+ "version": "2.96.0",
4
4
  "description": "Provide easy access to minecraft data in node.js",
5
5
  "main": "index.js",
6
6
  "tonicExampleFilename": "example.js",