minecraft-data 3.76.0 → 3.77.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/data.js +23 -1
- package/doc/history.md +4 -0
- package/minecraft-data/README.md +1 -1
- package/minecraft-data/data/bedrock/1.21.30/proto.yml +4291 -0
- package/minecraft-data/data/bedrock/1.21.30/types.yml +2406 -0
- package/minecraft-data/data/bedrock/1.21.42/protocol.json +12754 -0
- package/minecraft-data/data/bedrock/1.21.42/version.json +6 -0
- 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 +53 -19
- package/minecraft-data/data/bedrock/latest/types.yml +16 -0
- package/minecraft-data/data/dataPaths.json +23 -1
- package/minecraft-data/data/pc/common/protocolVersions.json +48 -0
- package/minecraft-data/doc/history.md +3 -0
- package/minecraft-data/tools/js/incrementVersion.js +1 -1
- package/package.json +1 -1
|
@@ -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.
|
|
4
|
+
!version: 1.21.42
|
|
5
5
|
|
|
6
6
|
# Some ProtoDef aliases
|
|
7
7
|
string: ["pstring",{"countType":"varint"}] # String / array types
|
|
@@ -139,11 +139,6 @@ packet_resource_packs_info:
|
|
|
139
139
|
# A list of resource packs that the client needs to download before joining the server.
|
|
140
140
|
# The order of these resource packs is not relevant in this packet. It is however important in the Resource Pack Stack packet.
|
|
141
141
|
texture_packs: TexturePackInfos
|
|
142
|
-
# Resource Pack Links contains a list of URLs where the client can download required
|
|
143
|
-
# resource packs, as opposed to the current Minecraft sever sending the data over
|
|
144
|
-
resource_pack_links: []varint
|
|
145
|
-
id: string
|
|
146
|
-
url: string
|
|
147
142
|
|
|
148
143
|
packet_resource_pack_stack:
|
|
149
144
|
!id: 0x07
|
|
@@ -1020,7 +1015,7 @@ packet_mob_effect:
|
|
|
1020
1015
|
amplifier: zigzag32
|
|
1021
1016
|
particles: bool
|
|
1022
1017
|
duration: zigzag32
|
|
1023
|
-
tick:
|
|
1018
|
+
tick: varint64
|
|
1024
1019
|
|
|
1025
1020
|
packet_update_attributes:
|
|
1026
1021
|
!id: 0x1d
|
|
@@ -1255,8 +1250,10 @@ packet_inventory_content:
|
|
|
1255
1250
|
input: ItemStacks
|
|
1256
1251
|
# Container is the protocol.FullContainerName that describes the container that the content is for.
|
|
1257
1252
|
container: FullContainerName
|
|
1258
|
-
#
|
|
1259
|
-
|
|
1253
|
+
# storage_item is the item that is acting as the storage container for the inventory. If the inventory is
|
|
1254
|
+
# not a dynamic container then this field should be left empty. When set, only the item type is used by
|
|
1255
|
+
# the client and none of the other stack info.
|
|
1256
|
+
storage_item: Item
|
|
1260
1257
|
|
|
1261
1258
|
# InventorySlot is sent by the server to update a single slot in one of the inventory windows that the client
|
|
1262
1259
|
# currently has opened. Usually this is the main inventory, but it may also be the off hand or, for example,
|
|
@@ -1271,8 +1268,10 @@ packet_inventory_slot:
|
|
|
1271
1268
|
slot: varint
|
|
1272
1269
|
# Container is the protocol.FullContainerName that describes the container that the content is for.
|
|
1273
1270
|
container: FullContainerName
|
|
1274
|
-
#
|
|
1275
|
-
|
|
1271
|
+
# storage_item is the item that is acting as the storage container for the inventory. If the inventory is
|
|
1272
|
+
# not a dynamic container then this field should be left empty. When set, only the item type is used by
|
|
1273
|
+
# the client and none of the other stack info.
|
|
1274
|
+
storage_item: Item
|
|
1276
1275
|
# NewItem is the item to be put in the slot at Slot. It will overwrite any item that may currently
|
|
1277
1276
|
# be present in that slot.
|
|
1278
1277
|
item: Item
|
|
@@ -1490,6 +1489,7 @@ packet_set_player_game_type:
|
|
|
1490
1489
|
# The new gamemode for the player.
|
|
1491
1490
|
# Some of these game types require additional flags to be set in an AdventureSettings packet for
|
|
1492
1491
|
# the game mode to obtain its full functionality.
|
|
1492
|
+
## Note: this is actually encoded 64-bit varint, but realistically won't exceed a few bits
|
|
1493
1493
|
gamemode: GameMode
|
|
1494
1494
|
|
|
1495
1495
|
packet_player_list:
|
|
@@ -3097,10 +3097,10 @@ packet_player_auth_input:
|
|
|
3097
3097
|
- touch
|
|
3098
3098
|
- crosshair
|
|
3099
3099
|
- classic
|
|
3100
|
-
#
|
|
3101
|
-
#
|
|
3102
|
-
|
|
3103
|
-
|
|
3100
|
+
# interact_rotation is the rotation the player is looking that they intend to use for
|
|
3101
|
+
# interactions. This is only different to Pitch and Yaw in cases such as VR or when custom cameras
|
|
3102
|
+
# being used.
|
|
3103
|
+
interact_rotation: vec2f
|
|
3104
3104
|
# Tick is the server tick at which the packet was sent. It is used in relation to
|
|
3105
3105
|
# CorrectPlayerMovePrediction.
|
|
3106
3106
|
tick: varint64
|
|
@@ -3132,6 +3132,7 @@ packet_player_auth_input:
|
|
|
3132
3132
|
# AnalogueMoveVector is a Vec2 that specifies the direction in which the player moved, as a combination of X/Z
|
|
3133
3133
|
# values which are created using an analogue input.
|
|
3134
3134
|
analogue_move_vector: vec2f
|
|
3135
|
+
camera_orientation: vec3f
|
|
3135
3136
|
|
|
3136
3137
|
#TODO: update to use the new `shift` option in bitflags
|
|
3137
3138
|
InputFlag: [ "bitflags", {
|
|
@@ -3189,7 +3190,11 @@ InputFlag: [ "bitflags", {
|
|
|
3189
3190
|
"horizontal_collision",
|
|
3190
3191
|
"vertical_collision",
|
|
3191
3192
|
"down_left",
|
|
3192
|
-
"down_right",
|
|
3193
|
+
"down_right",
|
|
3194
|
+
"camera_relative_movement_enabled",
|
|
3195
|
+
"rot_controlled_by_move_direction",
|
|
3196
|
+
"start_spin_attack",
|
|
3197
|
+
"stop_spin_attack"
|
|
3193
3198
|
]
|
|
3194
3199
|
}]
|
|
3195
3200
|
|
|
@@ -3285,8 +3290,7 @@ packet_update_player_game_type:
|
|
|
3285
3290
|
# PlayerUniqueID is the entity unique ID of the player that should have its game mode updated. If this
|
|
3286
3291
|
# packet is sent to other clients with the player unique ID of another player, nothing happens.
|
|
3287
3292
|
player_unique_id: zigzag64
|
|
3288
|
-
tick:
|
|
3289
|
-
|
|
3293
|
+
tick: varint64
|
|
3290
3294
|
|
|
3291
3295
|
# EmoteList is sent by the client every time it joins the server and when it equips new emotes. It may be
|
|
3292
3296
|
# used by the server to find out which emotes the client has available. If the player has no emotes equipped,
|
|
@@ -4288,4 +4292,34 @@ packet_container_registry_cleanup:
|
|
|
4288
4292
|
!id: 0x13D
|
|
4289
4293
|
!bound: client
|
|
4290
4294
|
# RemovedContainers is a list of protocol.FullContainerName's that should be removed from the client-side container registry.
|
|
4291
|
-
removed_containers: FullContainerName[]varint
|
|
4295
|
+
removed_containers: FullContainerName[]varint
|
|
4296
|
+
|
|
4297
|
+
# movement_effect is sent by the server to the client to update specific movement effects to allow the client
|
|
4298
|
+
# to predict its movement. For example, fireworks used during gliding will send this packet to tell the
|
|
4299
|
+
# client the exact duration of the boost.
|
|
4300
|
+
packet_movement_effect:
|
|
4301
|
+
!id: 0x13E
|
|
4302
|
+
!bound: client
|
|
4303
|
+
# runtime_id is the runtime ID of the entity. The runtime ID is unique for each world session, and
|
|
4304
|
+
# entities are generally identified in packets using this runtime ID.
|
|
4305
|
+
runtime_id: varint64
|
|
4306
|
+
# effect_type is the type of movement effect being updated.
|
|
4307
|
+
effect_type: MovementEffectType
|
|
4308
|
+
# effect_duration is the duration of the effect, measured in ticks.
|
|
4309
|
+
effect_duration: varint
|
|
4310
|
+
# tick is the server tick at which the packet was sent. It is used in relation to CorrectPlayerMovePrediction.
|
|
4311
|
+
tick: varint64
|
|
4312
|
+
|
|
4313
|
+
# set_movement_authority is sent by the server to the client to change its movement mode.
|
|
4314
|
+
packet_set_movement_authority:
|
|
4315
|
+
!id: 0x13F
|
|
4316
|
+
!bound: client
|
|
4317
|
+
# movement_authority specifies the way the server handles player movement. Available options are
|
|
4318
|
+
# PlayerMovementModeClient, PlayerMovementModeServer and
|
|
4319
|
+
# PlayerMovementModeServerWithRewind, where the server authoritative types result
|
|
4320
|
+
# in the client sending PlayerAuthInput packets instead of MovePlayer packets and the rewind mode
|
|
4321
|
+
# requires sending the tick of movement and several actions.
|
|
4322
|
+
movement_authority: u8 =>
|
|
4323
|
+
0: client
|
|
4324
|
+
1: server
|
|
4325
|
+
2: server_with_rewind
|
|
@@ -10,6 +10,9 @@ TexturePackInfos: []li16
|
|
|
10
10
|
has_scripts: bool
|
|
11
11
|
addon_pack: bool
|
|
12
12
|
rtx_enabled: bool
|
|
13
|
+
# cdn_url is a URL that the client can use to download the pack instead of the server sending it in
|
|
14
|
+
# chunks, which it will continue to do if this field is left empty.
|
|
15
|
+
cdn_url: string
|
|
13
16
|
|
|
14
17
|
ResourcePackIdVersions: []varint
|
|
15
18
|
# The ID of the resource pack.
|
|
@@ -920,6 +923,7 @@ Action: zigzag32 =>
|
|
|
920
923
|
34: start_flying
|
|
921
924
|
35: stop_flying
|
|
922
925
|
36: received_server_data
|
|
926
|
+
37: start_using_item
|
|
923
927
|
|
|
924
928
|
# Source and Destination point to the source slot from which Count of the item stack were taken and the
|
|
925
929
|
# destination slot to which this item was moved.
|
|
@@ -2278,6 +2282,12 @@ CameraPresets:
|
|
|
2278
2282
|
rotation_speed?: f32
|
|
2279
2283
|
# SnapToTarget determines whether the camera should snap to the target entity or not.
|
|
2280
2284
|
snap_to_target?: bool
|
|
2285
|
+
# horizontal_rotation_limit is the horizontal rotation limit of the camera.
|
|
2286
|
+
horizontal_rotation_limit?: vec2f
|
|
2287
|
+
# vertical_rotation_limit is the vertical rotation limit of the camera.
|
|
2288
|
+
vertical_rotation_limit?: vec2f
|
|
2289
|
+
# continue_targeting determines whether the camera should continue targeting the entity or not.
|
|
2290
|
+
continue_targeting?: bool
|
|
2281
2291
|
# ViewOffset is only used in a follow_orbit camera and controls an offset based on a pivot point to the
|
|
2282
2292
|
# player, causing it to be shifted in a certain direction.
|
|
2283
2293
|
offset?: vec2f
|
|
@@ -2289,6 +2299,8 @@ CameraPresets:
|
|
|
2289
2299
|
## TODO: make this an enum afer adding proper optional support inside pdefyaml
|
|
2290
2300
|
audio_listener?: u8
|
|
2291
2301
|
player_effects?: bool
|
|
2302
|
+
# align_target_and_camera_forward determines whether the camera should align the target and the camera forward or not.
|
|
2303
|
+
align_target_and_camera_forward?: bool
|
|
2292
2304
|
|
|
2293
2305
|
DisconnectFailReason: zigzag32 =>
|
|
2294
2306
|
- unknown
|
|
@@ -2404,3 +2416,7 @@ DisconnectFailReason: zigzag32 =>
|
|
|
2404
2416
|
FullContainerName:
|
|
2405
2417
|
container_id: ContainerSlotType
|
|
2406
2418
|
dynamic_container_id?: u32
|
|
2419
|
+
|
|
2420
|
+
MovementEffectType: varint =>
|
|
2421
|
+
-1: invalid
|
|
2422
|
+
0: GLIDE_BOOST
|
|
@@ -2224,9 +2224,31 @@
|
|
|
2224
2224
|
"steve": "bedrock/1.20.80",
|
|
2225
2225
|
"blocksB2J": "bedrock/1.21.0",
|
|
2226
2226
|
"blocksJ2B": "bedrock/1.21.0",
|
|
2227
|
+
"proto": "bedrock/1.21.30",
|
|
2228
|
+
"types": "bedrock/1.21.30",
|
|
2229
|
+
"version": "bedrock/1.21.30",
|
|
2230
|
+
"language": "bedrock/1.20.10"
|
|
2231
|
+
},
|
|
2232
|
+
"1.21.42": {
|
|
2233
|
+
"blocks": "bedrock/1.21.0",
|
|
2234
|
+
"blockStates": "bedrock/1.21.0",
|
|
2235
|
+
"blockCollisionShapes": "bedrock/1.21.0",
|
|
2236
|
+
"biomes": "bedrock/1.20.0",
|
|
2237
|
+
"entities": "bedrock/1.21.0",
|
|
2238
|
+
"items": "bedrock/1.21.0",
|
|
2239
|
+
"recipes": "bedrock/1.19.10",
|
|
2240
|
+
"instruments": "bedrock/1.17.0",
|
|
2241
|
+
"materials": "pc/1.17",
|
|
2242
|
+
"enchantments": "bedrock/1.19.1",
|
|
2243
|
+
"effects": "pc/1.17",
|
|
2244
|
+
"protocol": "bedrock/1.21.42",
|
|
2245
|
+
"windows": "bedrock/1.16.201",
|
|
2246
|
+
"steve": "bedrock/1.20.80",
|
|
2247
|
+
"blocksB2J": "bedrock/1.21.0",
|
|
2248
|
+
"blocksJ2B": "bedrock/1.21.0",
|
|
2227
2249
|
"proto": "bedrock/latest",
|
|
2228
2250
|
"types": "bedrock/latest",
|
|
2229
|
-
"version": "bedrock/1.21.
|
|
2251
|
+
"version": "bedrock/1.21.42",
|
|
2230
2252
|
"language": "bedrock/1.20.10"
|
|
2231
2253
|
}
|
|
2232
2254
|
}
|
|
@@ -1,4 +1,52 @@
|
|
|
1
1
|
[
|
|
2
|
+
{
|
|
3
|
+
"minecraftVersion": "1.21.3",
|
|
4
|
+
"version": 768,
|
|
5
|
+
"dataVersion": 4082,
|
|
6
|
+
"usesNetty": true,
|
|
7
|
+
"majorVersion": "1.21",
|
|
8
|
+
"releaseType": "release"
|
|
9
|
+
},
|
|
10
|
+
{
|
|
11
|
+
"minecraftVersion": "1.21.2",
|
|
12
|
+
"version": 768,
|
|
13
|
+
"dataVersion": 4080,
|
|
14
|
+
"usesNetty": true,
|
|
15
|
+
"majorVersion": "1.21",
|
|
16
|
+
"releaseType": "release"
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
"minecraftVersion": "1.21.2-rc2",
|
|
20
|
+
"version": 1073742043,
|
|
21
|
+
"dataVersion": 4079,
|
|
22
|
+
"usesNetty": true,
|
|
23
|
+
"majorVersion": "1.21",
|
|
24
|
+
"releaseType": "snapshot"
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"minecraftVersion": "1.21.2-rc1",
|
|
28
|
+
"version": 1073742042,
|
|
29
|
+
"dataVersion": 4078,
|
|
30
|
+
"usesNetty": true,
|
|
31
|
+
"majorVersion": "1.21",
|
|
32
|
+
"releaseType": "snapshot"
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"minecraftVersion": "1.21.2-pre5",
|
|
36
|
+
"version": 1073742041,
|
|
37
|
+
"dataVersion": 4077,
|
|
38
|
+
"usesNetty": true,
|
|
39
|
+
"majorVersion": "1.21",
|
|
40
|
+
"releaseType": "snapshot"
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"minecraftVersion": "1.21.2-pre4",
|
|
44
|
+
"version": 1073742040,
|
|
45
|
+
"dataVersion": 4076,
|
|
46
|
+
"usesNetty": true,
|
|
47
|
+
"majorVersion": "1.21",
|
|
48
|
+
"releaseType": "snapshot"
|
|
49
|
+
},
|
|
2
50
|
{
|
|
3
51
|
"minecraftVersion": "1.21.2-pre3",
|
|
4
52
|
"version": 1073742039,
|
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
## 3.77.0
|
|
2
|
+
* [Add bedrock 1.21.42 protocol data (#930)](https://github.com/PrismarineJS/minecraft-data/commit/dee9f10b667a31d7bef66e7c5b6c9bdc9d6a7232) (thanks @CreeperG16)
|
|
3
|
+
|
|
1
4
|
## 3.76.0
|
|
2
5
|
* [add has execute command feature](https://github.com/PrismarineJS/minecraft-data/commit/20f34ae536e30370ecdb6fde6412ddba4d67d9a0) (thanks @rom1504)
|
|
3
6
|
|
|
@@ -57,7 +57,7 @@ function updateProtocol (edition, version, protocolVersionNumber) {
|
|
|
57
57
|
if (e.proto === `${edition}/latest`) {
|
|
58
58
|
e.proto = `${edition}/${oldProtoVersion}`
|
|
59
59
|
}
|
|
60
|
-
latestVersionData = e
|
|
60
|
+
latestVersionData = structuredClone(e) // eslint-disable-line
|
|
61
61
|
}
|
|
62
62
|
if (!dataPaths[edition][version]) {
|
|
63
63
|
dataPaths[edition][version] = latestVersionData
|