minecraft-data 3.89.0 → 3.90.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.
@@ -0,0 +1,6 @@
1
+ {
2
+ "version": 818,
3
+ "minecraftVersion": "1.21.90",
4
+ "majorVersion": "1.21",
5
+ "releaseType": "release"
6
+ }
@@ -87,5 +87,10 @@
87
87
  "name": "itemRegistryPacket",
88
88
  "description": "The item registry is sent in a dedicated packet as opposed to StartGame",
89
89
  "versions": ["1.21.60", "latest"]
90
+ },
91
+ {
92
+ "name": "newLoginIdentityFields",
93
+ "description": "login_packet JWT chains are now wrapped in a parent object",
94
+ "versions": ["1.21.90", "latest"]
90
95
  }
91
96
  ]
@@ -1,4 +1,10 @@
1
1
  [
2
+ {
3
+ "version": 818,
4
+ "minecraftVersion": "1.21.90",
5
+ "majorVersion": "1.21",
6
+ "releaseType": "release"
7
+ },
2
8
  {
3
9
  "version": 800,
4
10
  "minecraftVersion": "1.21.80",
@@ -41,5 +41,6 @@
41
41
  "1.21.50",
42
42
  "1.21.60",
43
43
  "1.21.70",
44
- "1.21.80"
44
+ "1.21.80",
45
+ "1.21.90"
45
46
  ]
@@ -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.21.80
4
+ !version: 1.21.90
5
5
 
6
6
  # Some ProtoDef aliases
7
7
  string: ["pstring",{"countType":"varint"}] # String / array types
@@ -59,13 +59,18 @@ packet_login:
59
59
  !bound: server
60
60
  # Protocol version (Big Endian!)
61
61
  protocol_version: i32
62
+ # The structure of the login tokens has changed in 1.21.90.
63
+ # The encapsulated data is now a JSON object with a stringified `Certificate`.
62
64
  tokens: '["encapsulated", { "lengthType": "varint", "type": "LoginTokens" }]'
63
65
 
64
66
  LoginTokens:
65
67
  # JSON array of JWT data: contains the display name, UUID and XUID
66
68
  # It should be signed by the Mojang public key
69
+ # For 1.21.90+, the 'identity' field is a Little-Endian length-prefixed JSON-encoded string.
70
+ # This JSON object must contain a 'Certificate' key, whose value is a *stringified* JSON object
71
+ # that holds the actual JWT 'chain' array.
67
72
  identity: LittleString
68
- # Skin related data
73
+ # JWT containing skin and other client data.
69
74
  client: LittleString
70
75
 
71
76
  packet_play_status:
@@ -139,6 +144,9 @@ packet_resource_packs_info:
139
144
  has_addons: bool
140
145
  # If scripting is enabled.
141
146
  has_scripts: bool
147
+ # ForceDisableVibrantVisuals specifies if the vibrant visuals feature should be forcibly disabled on the server.
148
+ # If set to true, the server will ensure that vibrant visuals are not enabled, regardless of the client's settings.
149
+ disable_vibrant_visuals: bool
142
150
  world_template:
143
151
  # WorldTemplateUUID is teh UUID of the template that has been used to generate the world. Templates can
144
152
  # be downloaded from the marketplace or installed via '.mctemplate' files. If the world was not generated
@@ -393,6 +401,7 @@ packet_start_game:
393
401
  server_identifier: string
394
402
  world_identifier: string
395
403
  scenario_identifier: string
404
+ owner_identifier: string
396
405
  # A base64 encoded world ID that is used to identify the world.
397
406
  level_id: string
398
407
  # The name of the world that the player is joining. Note that this field shows up
@@ -405,29 +414,11 @@ packet_start_game:
405
414
  # Specifies if the world was a trial world, meaning features are limited and there
406
415
  # is a time limit on the world.
407
416
  is_trial: bool
408
-
409
- # MovementType specifies the way the server handles player movement. Available options are
410
- # packet.AuthoritativeMovementModeClient, packet.AuthoritativeMovementModeServer and
411
- # packet.AuthoritativeMovementModeServerWithRewind, where server the server authoritative types result
412
- # in the client sending PlayerAuthInput packets instead of MovePlayer packets and the rewind mode
413
- # requires sending the tick of movement and several actions.
414
- # As of 1.21.80, `client` (0) is deprecated.
415
- #
416
- # Specifies if the client or server is authoritative over the movement of the player,
417
- # meaning it controls the movement of it.
418
- ## https://github.com/pmmp/PocketMine-MP/blob/a43b46a93cb127f037c879b5d8c29cda251dd60c/src/pocketmine/network/mcpe/protocol/types/PlayerMovementType.php#L26
419
- movement_authority: zigzag32 =>
420
- 0: client
421
- 1: server
422
- # PlayerAuthInputPacket + a bunch of junk that solves a nonexisting problem
423
- 2: server_with_rewind
424
- # RewindHistorySize is the amount of history to keep at maximum if MovementType is
425
- # packet.AuthoritativeMovementModeServerWithRewind.
417
+ # RewindHistorySize is the amount of history to keep at maximum
426
418
  rewind_history_size: zigzag32
427
419
  # ServerAuthoritativeBlockBreaking specifies if block breaking should be sent through
428
420
  # packet.PlayerAuthInput or not. This field is somewhat redundant as it is always enabled if
429
- # MovementType is packet.AuthoritativeMovementModeServer or
430
- # packet.AuthoritativeMovementModeServerWithRewind
421
+ # server authoritative movement is enabled.
431
422
  server_authoritative_block_breaking: bool
432
423
 
433
424
  # The total time in ticks that has elapsed since the start of the world.
@@ -3701,6 +3692,13 @@ packet_photo_info_request:
3701
3692
  !bound: server
3702
3693
  photo_id: zigzag64
3703
3694
 
3695
+ HeightMapDataType: u8 =>
3696
+ 0: no_data
3697
+ 1: has_data
3698
+ 2: too_high
3699
+ 3: too_low
3700
+ 4: all_copied
3701
+
3704
3702
  SubChunkEntryWithoutCaching: []lu32
3705
3703
  dx: i8
3706
3704
  dy: i8
@@ -3715,13 +3713,12 @@ SubChunkEntryWithoutCaching: []lu32
3715
3713
  6: success_all_air
3716
3714
  # Payload has the terrain data, if the chunk isn't empty and caching is disabled
3717
3715
  payload: ByteArray
3718
- heightmap_type: u8 =>
3719
- 0: no_data
3720
- 1: has_data
3721
- 2: too_high
3722
- 3: too_low
3716
+ heightmap_type: HeightMapDataType
3723
3717
  heightmap: heightmap_type ?
3724
3718
  if has_data: '["buffer", { "count": 256 }]'
3719
+ render_heightmap_type: HeightMapDataType
3720
+ render_heightmap: render_heightmap_type ?
3721
+ if has_data: '["buffer", { "count": 256 }]'
3725
3722
 
3726
3723
  SubChunkEntryWithCaching: []lu32
3727
3724
  dx: i8
@@ -3739,13 +3736,12 @@ SubChunkEntryWithCaching: []lu32
3739
3736
  payload: result ?
3740
3737
  if success_all_air: void
3741
3738
  default: ByteArray
3742
- heightmap_type: u8 =>
3743
- 0: no_data
3744
- 1: has_data
3745
- 2: too_high
3746
- 3: too_low
3739
+ heightmap_type: HeightMapDataType
3747
3740
  heightmap: heightmap_type ?
3748
3741
  if has_data: '["buffer", { "count": 256 }]'
3742
+ render_heightmap_type: HeightMapDataType
3743
+ render_heightmap: render_heightmap_type ?
3744
+ if has_data: '["buffer", { "count": 256 }]'
3749
3745
  blob_id: lu64
3750
3746
 
3751
3747
  # SubChunk sends data about multiple sub-chunks around a center point.
@@ -4197,6 +4193,7 @@ packet_camera_instruction:
4197
4193
  offset?: vec2f
4198
4194
  entity_offset?: vec3f
4199
4195
  default?: bool
4196
+ remove_ignore_starting_values: bool
4200
4197
  # Clear can be set to true to clear all the current camera instructions.
4201
4198
  clear?: bool
4202
4199
  # Fade is a camera instruction that fades the screen to a specified colour.
@@ -4425,6 +4422,7 @@ packet_movement_effect:
4425
4422
  tick: varint64
4426
4423
 
4427
4424
  # set_movement_authority is sent by the server to the client to change its movement mode.
4425
+ # This packet has been deprecated and as of protocol 818 (1.21.90) has been removed from the game.
4428
4426
  packet_set_movement_authority:
4429
4427
  !id: 0x13F
4430
4428
  !bound: client
@@ -4575,4 +4573,28 @@ packet_clientbound_controls_scheme:
4575
4573
  - camera_relative
4576
4574
  - camera_relative_strafe
4577
4575
  - player_relative
4578
- - player_relative_strafe
4576
+ - player_relative_strafe
4577
+
4578
+ packet_server_script_debug_drawer:
4579
+ !id: 0x148
4580
+ !bound: server
4581
+ shapes: []varint
4582
+ network_id: varint64
4583
+ shape_type?: u8 =>
4584
+ - line
4585
+ - box
4586
+ - sphere
4587
+ - circle
4588
+ - text
4589
+ - arrow
4590
+ location?: vec3f
4591
+ scale?: lf32
4592
+ rotation?: vec3f
4593
+ time_left?: lf32
4594
+ color?: li32
4595
+ text?: string
4596
+ box_bound?: vec3f
4597
+ line_end_location?: vec3f
4598
+ arrow_head_length?: lf32
4599
+ arrow_head_radius?: lf32
4600
+ segment_count?: u8
@@ -477,7 +477,8 @@ MetadataFlags2: [ "bitflags", {
477
477
  "body_rotation_axis_aligned",
478
478
  "collidable",
479
479
  "wasd_air_controlled",
480
- "does_server_auth_only_dismount"
480
+ "does_server_auth_only_dismount",
481
+ "body_rotation_always_follows_head"
481
482
  ]
482
483
  }]
483
484
 
@@ -961,6 +962,7 @@ Action: zigzag32 =>
961
962
  33: stop_crawling
962
963
  34: start_flying
963
964
  35: stop_flying
965
+ # Deprecated. Corresponds to Player Auth Input InputData::ClientAckServerData bit 44 Not sent when using server authoritative movement as specified in StartGamePacket. This is now deprecated because only server authoritative movement exists.
964
966
  36: received_server_data
965
967
  37: start_using_item
966
968
 
@@ -2121,8 +2123,35 @@ SoundType: varint =>
2121
2123
  - hurt_reduced
2122
2124
  - wind_charge_burst
2123
2125
  - imitate_drowned
2126
+ - imitate_creaking
2124
2127
  - bundle_insert_failed
2128
+ - sponge_absorb
2125
2129
  - _
2130
+ - block_creaking_heart_trail
2131
+ - creaking_heart_spawn
2132
+ - activate
2133
+ - deactivate
2134
+ - freeze
2135
+ - unfreeze
2136
+ - open
2137
+ - open_long
2138
+ - close
2139
+ - close_long
2140
+ - imitate_phantom
2141
+ - imitate_zoglin
2142
+ - imitate_guardian
2143
+ - imitate_ravager
2144
+ - imitate_pillager
2145
+ - place_in_water
2146
+ - state_change
2147
+ - imitate_happy_ghast
2148
+ - unique_generic
2149
+ - record_tears
2150
+ - the_end_light_flash
2151
+ - lead_leash
2152
+ - lead_unleash
2153
+ - lead_break
2154
+ - unsaddle
2126
2155
  - armor_crack_wolf
2127
2156
  - armor_break_wolf
2128
2157
  - armor_repair_wolf
@@ -2348,8 +2377,6 @@ CameraPresets:
2348
2377
  ## TODO: make this an enum afer adding proper optional support inside pdefyaml
2349
2378
  audio_listener?: u8
2350
2379
  player_effects?: bool
2351
- # align_target_and_camera_forward determines whether the camera should align the target and the camera forward or not.
2352
- align_target_and_camera_forward?: bool
2353
2380
  aim_assist?:
2354
2381
  # Preset is the ID of the preset that has previously been defined in the CameraAimAssistPresets packet.
2355
2382
  preset_id?: string
@@ -2490,6 +2517,10 @@ DisconnectFailReason: zigzag32 =>
2490
2517
  - conn_client_signalling_error
2491
2518
  - sub_client_login_disabled
2492
2519
  - deep_link_trying_to_open_demo_world_while_signed_in
2520
+ - async_join_task_denied
2521
+ - realms_timeline_required
2522
+ - guest_withough_host
2523
+ - failed_to_join_experience
2493
2524
 
2494
2525
  FullContainerName:
2495
2526
  container_id: ContainerSlotType
@@ -2772,4 +2803,4 @@ BiomeConditionalTransformation:
2772
2803
  condition_json: li16
2773
2804
  # MinPassingNeighbours is the minimum number of neighbours that must pass the condition for the
2774
2805
  # transformation to be applied.
2775
- min_passing_neighbours: lu32
2806
+ min_passing_neighbours: lu32
@@ -2417,7 +2417,7 @@
2417
2417
  "effects": "pc/1.17",
2418
2418
  "protocol": "bedrock/1.21.70",
2419
2419
  "windows": "bedrock/1.16.201",
2420
- "steve": "bedrock/1.21.50",
2420
+ "steve": "bedrock/1.21.70",
2421
2421
  "blocksB2J": "bedrock/1.21.70",
2422
2422
  "blocksJ2B": "bedrock/1.21.70",
2423
2423
  "proto": "bedrock/1.21.70",
@@ -2426,12 +2426,12 @@
2426
2426
  "language": "bedrock/1.21.70"
2427
2427
  },
2428
2428
  "1.21.80": {
2429
- "blocks": "bedrock/1.21.70",
2430
- "blockStates": "bedrock/1.21.70",
2431
- "blockCollisionShapes": "bedrock/1.21.70",
2429
+ "blocks": "bedrock/1.21.80",
2430
+ "blockStates": "bedrock/1.21.80",
2431
+ "blockCollisionShapes": "bedrock/1.21.80",
2432
2432
  "biomes": "bedrock/1.21.60",
2433
- "entities": "bedrock/1.21.70",
2434
- "items": "bedrock/1.21.70",
2433
+ "entities": "bedrock/1.21.80",
2434
+ "items": "bedrock/1.21.80",
2435
2435
  "recipes": "bedrock/1.19.10",
2436
2436
  "instruments": "bedrock/1.17.0",
2437
2437
  "materials": "pc/1.17",
@@ -2442,9 +2442,31 @@
2442
2442
  "steve": "bedrock/1.21.50",
2443
2443
  "blocksB2J": "bedrock/1.21.70",
2444
2444
  "blocksJ2B": "bedrock/1.21.70",
2445
+ "proto": "bedrock/1.21.80",
2446
+ "types": "bedrock/1.21.80",
2447
+ "version": "bedrock/1.21.80",
2448
+ "language": "bedrock/1.21.70"
2449
+ },
2450
+ "1.21.90": {
2451
+ "blocks": "bedrock/1.21.80",
2452
+ "blockStates": "bedrock/1.21.80",
2453
+ "blockCollisionShapes": "bedrock/1.21.80",
2454
+ "biomes": "bedrock/1.21.60",
2455
+ "entities": "bedrock/1.21.80",
2456
+ "items": "bedrock/1.21.80",
2457
+ "recipes": "bedrock/1.19.10",
2458
+ "instruments": "bedrock/1.17.0",
2459
+ "materials": "pc/1.17",
2460
+ "enchantments": "bedrock/1.19.1",
2461
+ "effects": "pc/1.17",
2462
+ "protocol": "bedrock/1.21.90",
2463
+ "windows": "bedrock/1.16.201",
2464
+ "steve": "bedrock/1.21.50",
2465
+ "blocksB2J": "bedrock/1.21.70",
2466
+ "blocksJ2B": "bedrock/1.21.70",
2445
2467
  "proto": "bedrock/latest",
2446
2468
  "types": "bedrock/latest",
2447
- "version": "bedrock/1.21.80",
2469
+ "version": "bedrock/1.21.90",
2448
2470
  "language": "bedrock/1.21.70"
2449
2471
  }
2450
2472
  }
@@ -244,7 +244,7 @@
244
244
  {
245
245
  "name": "editBookPacketUsesNbt",
246
246
  "description": "edit_book packet sends a new book item (with its NBT containing page data) to server",
247
- "versions": ["1.13", "1.17.1"]
247
+ "versions": ["1.13", "1.17"]
248
248
  },
249
249
  {
250
250
  "name": "clientUpdateBookIdWhenSign",
@@ -1,4 +1,60 @@
1
1
  [
2
+ {
3
+ "minecraftVersion": "1.21.6",
4
+ "version": 771,
5
+ "dataVersion": 4435,
6
+ "usesNetty": true,
7
+ "majorVersion": "1.21",
8
+ "releaseType": "release"
9
+ },
10
+ {
11
+ "minecraftVersion": "1.21.6-rc1",
12
+ "version": 1073742080,
13
+ "dataVersion": 4434,
14
+ "usesNetty": true,
15
+ "majorVersion": "1.21",
16
+ "releaseType": "snapshot"
17
+ },
18
+ {
19
+ "minecraftVersion": "1.21.6-pre4",
20
+ "version": 1073742079,
21
+ "dataVersion": 4433,
22
+ "usesNetty": true,
23
+ "majorVersion": "1.21",
24
+ "releaseType": "snapshot"
25
+ },
26
+ {
27
+ "minecraftVersion": "1.21.6-pre3",
28
+ "version": 1073742078,
29
+ "dataVersion": 4432,
30
+ "usesNetty": true,
31
+ "majorVersion": "1.21",
32
+ "releaseType": "snapshot"
33
+ },
34
+ {
35
+ "minecraftVersion": "1.21.6-pre2",
36
+ "version": 1073742077,
37
+ "dataVersion": 4431,
38
+ "usesNetty": true,
39
+ "majorVersion": "1.21",
40
+ "releaseType": "snapshot"
41
+ },
42
+ {
43
+ "minecraftVersion": "1.21.6-pre1",
44
+ "version": 1073742076,
45
+ "dataVersion": 4430,
46
+ "usesNetty": true,
47
+ "majorVersion": "1.21",
48
+ "releaseType": "snapshot"
49
+ },
50
+ {
51
+ "minecraftVersion": "25w21a",
52
+ "version": 1073742075,
53
+ "dataVersion": 4429,
54
+ "usesNetty": true,
55
+ "majorVersion": "1.21",
56
+ "releaseType": "snapshot"
57
+ },
2
58
  {
3
59
  "minecraftVersion": "25w20a",
4
60
  "version": 1073742074,
@@ -1,3 +1,9 @@
1
+ ## 3.90.0
2
+ * [Add bedrock 1.21.90 protocol data (#1021)](https://github.com/PrismarineJS/minecraft-data/commit/06c2106a669deb24f0c14770874a0abeb116687b) (thanks @CreeperG16)
3
+ * [bedrock: add v1.21.70 Steve Skin (#1004)](https://github.com/PrismarineJS/minecraft-data/commit/b1b05bb62907ab0c6508d6f52e44b753df065d54) (thanks @yowzaoppo)
4
+ * [Add Bedrock 1.21.80 data (#1012)](https://github.com/PrismarineJS/minecraft-data/commit/23eff009e11d739dd2f2bfc782a440dc885ef7f3) (thanks @bedrock-bot)
5
+ * [pc: fix editBookPacketUsesNbt feature version range (#1013)](https://github.com/PrismarineJS/minecraft-data/commit/52b59d8f13e9b8e8e29654b95ca7e00ba702464f) (thanks @autowert66)
6
+
1
7
  ## 3.89.0
2
8
  * [Add some sound features](https://github.com/PrismarineJS/minecraft-data/commit/431245e650d88863f867b156a6b418b56797658b) (thanks @rom1504)
3
9
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "minecraft-data",
3
- "version": "3.89.0",
3
+ "version": "3.90.0",
4
4
  "description": "Provide easy access to minecraft data in node.js",
5
5
  "main": "index.js",
6
6
  "tonicExampleFilename": "example.js",