minecraft-data 3.81.1 → 3.82.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.
@@ -1078,7 +1078,6 @@ ItemStackRequest:
1078
1078
  if optional:
1079
1079
  # For the cartography table, if a certain MULTI recipe is being called, this points to the network ID that was assigned.
1080
1080
  recipe_network_id: varint
1081
- times_crafted: u8
1082
1081
  # Most likely the index in the request's filter strings that this action is using
1083
1082
  filtered_string_index: li32
1084
1083
  if craft_grindstone_request:
@@ -2346,7 +2346,7 @@
2346
2346
  "effects": "pc/1.17",
2347
2347
  "protocol": "bedrock/1.21.50",
2348
2348
  "windows": "bedrock/1.16.201",
2349
- "steve": "bedrock/1.20.80",
2349
+ "steve": "bedrock/1.21.50",
2350
2350
  "blocksB2J": "bedrock/1.21.0",
2351
2351
  "blocksJ2B": "bedrock/1.21.0",
2352
2352
  "proto": "bedrock/latest",
@@ -1591,7 +1591,7 @@
1591
1591
  "container",
1592
1592
  [
1593
1593
  {
1594
- "name": "item",
1594
+ "name": "itemId",
1595
1595
  "type": "varint"
1596
1596
  },
1597
1597
  {
@@ -6066,49 +6066,19 @@
6066
6066
  {
6067
6067
  "name": "action",
6068
6068
  "type": [
6069
- "bitfield",
6070
- [
6071
- {
6072
- "name": "unused",
6073
- "size": 1,
6074
- "signed": false
6075
- },
6076
- {
6077
- "name": "update_priority",
6078
- "size": 1,
6079
- "signed": false
6080
- },
6081
- {
6082
- "name": "update_display_name",
6083
- "size": 1,
6084
- "signed": false
6085
- },
6086
- {
6087
- "name": "update_latency",
6088
- "size": 1,
6089
- "signed": false
6090
- },
6091
- {
6092
- "name": "update_listed",
6093
- "size": 1,
6094
- "signed": false
6095
- },
6096
- {
6097
- "name": "update_game_mode",
6098
- "size": 1,
6099
- "signed": false
6100
- },
6101
- {
6102
- "name": "initialize_chat",
6103
- "size": 1,
6104
- "signed": false
6105
- },
6106
- {
6107
- "name": "add_player",
6108
- "size": 1,
6109
- "signed": false
6110
- }
6111
- ]
6069
+ "bitflags",
6070
+ {
6071
+ "type": "u8",
6072
+ "flags": [
6073
+ "add_player",
6074
+ "initialize_chat",
6075
+ "update_game_mode",
6076
+ "update_listed",
6077
+ "update_latency",
6078
+ "update_display_name",
6079
+ "update_priority"
6080
+ ]
6081
+ }
6112
6082
  ]
6113
6083
  },
6114
6084
  {
@@ -6131,7 +6101,7 @@
6131
6101
  {
6132
6102
  "compareTo": "../action/add_player",
6133
6103
  "fields": {
6134
- "1": "game_profile"
6104
+ "true": "game_profile"
6135
6105
  },
6136
6106
  "default": "void"
6137
6107
  }
@@ -6144,7 +6114,7 @@
6144
6114
  {
6145
6115
  "compareTo": "../action/initialize_chat",
6146
6116
  "fields": {
6147
- "1": "chat_session"
6117
+ "true": "chat_session"
6148
6118
  },
6149
6119
  "default": "void"
6150
6120
  }
@@ -6157,7 +6127,7 @@
6157
6127
  {
6158
6128
  "compareTo": "../action/update_game_mode",
6159
6129
  "fields": {
6160
- "1": "varint"
6130
+ "true": "varint"
6161
6131
  },
6162
6132
  "default": "void"
6163
6133
  }
@@ -6170,7 +6140,7 @@
6170
6140
  {
6171
6141
  "compareTo": "../action/update_listed",
6172
6142
  "fields": {
6173
- "1": "varint"
6143
+ "true": "varint"
6174
6144
  },
6175
6145
  "default": "void"
6176
6146
  }
@@ -6183,7 +6153,7 @@
6183
6153
  {
6184
6154
  "compareTo": "../action/update_latency",
6185
6155
  "fields": {
6186
- "1": "varint"
6156
+ "true": "varint"
6187
6157
  },
6188
6158
  "default": "void"
6189
6159
  }
@@ -6196,10 +6166,7 @@
6196
6166
  {
6197
6167
  "compareTo": "../action/update_display_name",
6198
6168
  "fields": {
6199
- "1": [
6200
- "option",
6201
- "anonymousNbt"
6202
- ]
6169
+ "true": "anonOptionalNbt"
6203
6170
  },
6204
6171
  "default": "void"
6205
6172
  }
@@ -6212,7 +6179,7 @@
6212
6179
  {
6213
6180
  "compareTo": "../action/update_priority",
6214
6181
  "fields": {
6215
- "1": "varint"
6182
+ "true": "varint"
6216
6183
  },
6217
6184
  "default": "void"
6218
6185
  }
@@ -845,5 +845,15 @@
845
845
  "name": "registryDataIsMandatory",
846
846
  "description": "The server needs to send the registry data to the client before sending the finish_configuration packet",
847
847
  "versions": ["1.21", "latest"]
848
+ },
849
+ {
850
+ "name": "newPlayerInputPacket",
851
+ "description": "New player_input packet for movements, which replaces steer_vehicle",
852
+ "versions": ["1.21.3", "latest"]
853
+ },
854
+ {
855
+ "name": "noAckOnCreateSetSlotPacket",
856
+ "description": "Server does not send ack on creative_set_slot packets",
857
+ "versions": ["1.21.3", "latest"]
848
858
  }
849
859
  ]
@@ -562,7 +562,7 @@
562
562
  _: itemCount ?
563
563
  if 0: void
564
564
  default:
565
- item: varint
565
+ itemId: varint
566
566
  # https://wiki.vg/Slot_Data#Structured_components
567
567
  addedComponentCount: varint
568
568
  removedComponentCount: varint
@@ -2099,39 +2099,40 @@
2099
2099
  players: UUID[]varint
2100
2100
  # MC: ClientboundPlayerInfoUpdatePacket
2101
2101
  packet_player_info:
2102
- # action is a bitfield of the above
2103
- action: ["bitfield", [
2104
- { "name": "unused", "size": 1, "signed": false },
2105
- { "name": "update_priority", "size": 1, "signed": false },
2106
- { "name": "update_display_name", "size": 1, "signed": false },
2107
- { "name": "update_latency", "size": 1, "signed": false },
2108
- { "name": "update_listed", "size": 1, "signed": false },
2109
- { "name": "update_game_mode", "size": 1, "signed": false },
2110
- { "name": "initialize_chat", "size": 1, "signed": false },
2111
- { "name": "add_player", "size": 1, "signed": false }
2112
- ]]
2102
+ action: ["bitflags", {
2103
+ "type": "u8",
2104
+ "flags": [
2105
+ "add_player",
2106
+ "initialize_chat",
2107
+ "update_game_mode",
2108
+ "update_listed",
2109
+ "update_latency",
2110
+ "update_display_name",
2111
+ "update_priority"
2112
+ ]
2113
+ }]
2113
2114
  data: []varint
2114
2115
  uuid: UUID
2115
2116
  player: ../action/add_player ?
2116
- if 1: game_profile
2117
+ if true: game_profile
2117
2118
  default: void
2118
2119
  chatSession: ../action/initialize_chat ?
2119
- if 1: chat_session
2120
+ if true: chat_session
2120
2121
  default: void
2121
2122
  gamemode: ../action/update_game_mode ?
2122
- if 1: varint
2123
+ if true: varint
2123
2124
  default: void
2124
2125
  listed: ../action/update_listed ?
2125
- if 1: varint
2126
+ if true: varint
2126
2127
  default: void
2127
2128
  latency: ../action/update_latency ?
2128
- if 1: varint
2129
+ if true: varint
2129
2130
  default: void
2130
2131
  displayName: ../action/update_display_name ?
2131
- if 1: ["option", "anonymousNbt"]
2132
+ if true: anonOptionalNbt
2132
2133
  default: void
2133
2134
  listPriority: ../action/update_priority ?
2134
- if 1: varint
2135
+ if true: varint
2135
2136
  default: void
2136
2137
 
2137
2138
  # MC: ClientboundPlayerLookAtPacket
@@ -1,3 +1,10 @@
1
+ ## 3.82.0
2
+ * [Add pc1.21.3 features (#965)](https://github.com/PrismarineJS/minecraft-data/commit/2ce91b425f91a6bac16d679bf7912974f768ca16) (thanks @extremeheat)
3
+ * [bedrock: fix protocol ItemStackRequest optional type, add 1.21.50 updated skin (#962)](https://github.com/PrismarineJS/minecraft-data/commit/6e12664f6bd49b62546b77e667c91b3ceeae6035) (thanks @yowzaoppo)
4
+
5
+ ## 3.81.2
6
+ * [pc1.21.3 protocol: fix slot itemId name and player_info bitfield (#963)](https://github.com/PrismarineJS/minecraft-data/commit/9de94fd41d2577d592eafb391a2bcfefd761b6fa) (thanks @extremeheat)
7
+
1
8
  ## 3.81.1
2
9
  * [Add pc 1.21.1 and 1.21.3 loginPackets (#960)](https://github.com/PrismarineJS/minecraft-data/commit/ae2828606ba66d77365fc8ccba3f1e4b56aa3be2) (thanks @extremeheat)
3
10
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "minecraft-data",
3
- "version": "3.81.1",
3
+ "version": "3.82.0",
4
4
  "description": "Provide easy access to minecraft data in node.js",
5
5
  "main": "index.js",
6
6
  "tonicExampleFilename": "example.js",