minecraft-data 3.66.0 → 3.68.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 +179 -58
- package/doc/history.md +8 -0
- package/index.d.ts +34 -28
- package/minecraft-data/README.md +1 -1
- package/minecraft-data/data/bedrock/1.16.201/protocol.json +181 -210
- package/minecraft-data/data/bedrock/1.16.201/types.yml +6 -1
- package/minecraft-data/data/bedrock/1.16.210/protocol.json +336 -371
- package/minecraft-data/data/bedrock/1.16.210/types.yml +9 -4
- package/minecraft-data/data/bedrock/1.16.220/protocol.json +360 -402
- package/minecraft-data/data/bedrock/1.16.220/types.yml +8 -3
- package/minecraft-data/data/bedrock/1.17.0/protocol.json +363 -405
- package/minecraft-data/data/bedrock/1.17.0/types.yml +8 -3
- package/minecraft-data/data/bedrock/1.17.10/protocol.json +363 -405
- package/minecraft-data/data/bedrock/1.17.10/types.yml +8 -3
- package/minecraft-data/data/bedrock/1.17.30/protocol.json +370 -414
- package/minecraft-data/data/bedrock/1.17.30/types.yml +8 -3
- package/minecraft-data/data/bedrock/1.17.40/protocol.json +370 -414
- package/minecraft-data/data/bedrock/1.17.40/types.yml +8 -3
- package/minecraft-data/data/bedrock/1.18.0/protocol.json +377 -423
- package/minecraft-data/data/bedrock/1.18.0/types.yml +8 -3
- package/minecraft-data/data/bedrock/1.18.11/protocol.json +417 -431
- package/minecraft-data/data/bedrock/1.18.11/types.yml +9 -4
- package/minecraft-data/data/bedrock/1.18.30/protocol.json +433 -447
- package/minecraft-data/data/bedrock/1.18.30/types.yml +9 -4
- package/minecraft-data/data/bedrock/1.19.1/protocol.json +446 -460
- package/minecraft-data/data/bedrock/1.19.1/types.yml +9 -4
- package/minecraft-data/data/bedrock/1.19.10/protocol.json +494 -508
- package/minecraft-data/data/bedrock/1.19.10/types.yml +9 -4
- package/minecraft-data/data/bedrock/1.19.20/protocol.json +490 -506
- package/minecraft-data/data/bedrock/1.19.20/types.yml +9 -4
- package/minecraft-data/data/bedrock/1.19.21/protocol.json +490 -506
- package/minecraft-data/data/bedrock/1.19.21/types.yml +9 -4
- package/minecraft-data/data/bedrock/1.19.30/protocol.json +491 -508
- package/minecraft-data/data/bedrock/1.19.30/types.yml +9 -4
- package/minecraft-data/data/bedrock/1.19.40/protocol.json +501 -508
- package/minecraft-data/data/bedrock/1.19.40/types.yml +10 -4
- package/minecraft-data/data/bedrock/1.19.50/protocol.json +519 -526
- package/minecraft-data/data/bedrock/1.19.50/types.yml +10 -4
- package/minecraft-data/data/bedrock/1.19.60/protocol.json +520 -527
- package/minecraft-data/data/bedrock/1.19.60/types.yml +10 -4
- package/minecraft-data/data/bedrock/1.19.62/protocol.json +520 -527
- package/minecraft-data/data/bedrock/1.19.62/types.yml +10 -4
- package/minecraft-data/data/bedrock/1.19.70/protocol.json +525 -532
- package/minecraft-data/data/bedrock/1.19.70/types.yml +10 -4
- package/minecraft-data/data/bedrock/1.19.80/protocol.json +525 -532
- package/minecraft-data/data/bedrock/1.19.80/types.yml +10 -4
- package/minecraft-data/data/bedrock/1.20.0/protocol.json +525 -532
- package/minecraft-data/data/bedrock/1.20.0/types.yml +10 -4
- package/minecraft-data/data/bedrock/1.20.10/protocol.json +528 -535
- package/minecraft-data/data/bedrock/1.20.10/types.yml +10 -4
- package/minecraft-data/data/bedrock/1.20.30/protocol.json +530 -537
- package/minecraft-data/data/bedrock/1.20.30/types.yml +10 -4
- package/minecraft-data/data/bedrock/1.20.40/protocol.json +532 -539
- package/minecraft-data/data/bedrock/1.20.40/types.yml +10 -4
- package/minecraft-data/data/bedrock/1.20.50/protocol.json +532 -539
- package/minecraft-data/data/bedrock/1.20.50/types.yml +10 -4
- package/minecraft-data/data/bedrock/1.20.61/protocol.json +531 -539
- package/minecraft-data/data/bedrock/1.20.61/types.yml +10 -4
- package/minecraft-data/data/bedrock/1.20.71/protocol.json +533 -541
- package/minecraft-data/data/bedrock/1.20.71/types.yml +10 -4
- package/minecraft-data/data/bedrock/1.20.80/proto.yml +3 -0
- package/minecraft-data/data/bedrock/1.20.80/protocol.json +547 -543
- package/minecraft-data/data/bedrock/1.20.80/types.yml +10 -4
- package/minecraft-data/data/bedrock/1.21.0/blockCollisionShapes.json +1426 -0
- package/minecraft-data/data/bedrock/1.21.0/blockStates.json +288037 -0
- package/minecraft-data/data/bedrock/1.21.0/blocks.json +19826 -0
- package/minecraft-data/data/bedrock/1.21.0/blocksB2J.json +9251 -0
- package/minecraft-data/data/bedrock/1.21.0/blocksJ2B.json +26686 -0
- package/minecraft-data/data/bedrock/1.21.0/entities.json +1445 -0
- package/minecraft-data/data/bedrock/1.21.0/items.json +11126 -0
- package/minecraft-data/data/bedrock/1.21.0/proto.yml +4189 -0
- package/minecraft-data/data/bedrock/1.21.0/protocol.json +546 -543
- package/minecraft-data/data/bedrock/1.21.0/types.yml +2373 -0
- package/minecraft-data/data/bedrock/1.21.2/proto.yml +4195 -0
- package/minecraft-data/data/bedrock/1.21.2/protocol.json +12350 -0
- package/minecraft-data/data/bedrock/1.21.2/types.yml +2373 -0
- package/minecraft-data/data/bedrock/1.21.2/version.json +6 -0
- package/minecraft-data/data/bedrock/1.21.20/protocol.json +12554 -0
- package/minecraft-data/data/bedrock/1.21.20/version.json +6 -0
- package/minecraft-data/data/bedrock/common/protocolVersions.json +12 -0
- package/minecraft-data/data/bedrock/common/versions.json +3 -1
- package/minecraft-data/data/bedrock/latest/proto.yml +39 -6
- package/minecraft-data/data/bedrock/latest/types.yml +41 -4
- package/minecraft-data/data/dataPaths.json +179 -58
- package/minecraft-data/data/pc/0.30c/proto.yml +138 -0
- package/minecraft-data/data/pc/0.30c/protocol.json +6 -6
- package/minecraft-data/data/pc/1.10/proto.yml +1101 -0
- package/minecraft-data/data/pc/1.10/protocol.json +34 -13
- package/minecraft-data/data/pc/1.10-pre1/proto.yml +1101 -0
- package/minecraft-data/data/pc/1.10-pre1/protocol.json +34 -13
- package/minecraft-data/data/pc/1.11/proto.yml +1103 -0
- package/minecraft-data/data/pc/1.11/protocol.json +34 -13
- package/minecraft-data/data/pc/1.12/proto.yml +1202 -0
- package/minecraft-data/data/pc/1.12/protocol.json +71 -34
- package/minecraft-data/data/pc/1.12-pre4/proto.yml +1174 -0
- package/minecraft-data/data/pc/1.12-pre4/protocol.json +51 -30
- package/minecraft-data/data/pc/1.12.1/proto.yml +1200 -0
- package/minecraft-data/data/pc/1.12.1/protocol.json +68 -31
- package/minecraft-data/data/pc/1.12.2/proto.yml +1200 -0
- package/minecraft-data/data/pc/1.12.2/protocol.json +68 -31
- package/minecraft-data/data/pc/1.13/proto.yml +1631 -0
- package/minecraft-data/data/pc/1.13/protocol.json +531 -463
- package/minecraft-data/data/pc/1.13.1/proto.yml +1632 -0
- package/minecraft-data/data/pc/1.13.1/protocol.json +535 -467
- package/minecraft-data/data/pc/1.13.2/proto.yml +1633 -0
- package/minecraft-data/data/pc/1.13.2/protocol.json +241 -174
- package/minecraft-data/data/pc/1.13.2-pre1/proto.yml +1633 -0
- package/minecraft-data/data/pc/1.13.2-pre1/protocol.json +241 -174
- package/minecraft-data/data/pc/1.13.2-pre2/proto.yml +1633 -0
- package/minecraft-data/data/pc/1.13.2-pre2/protocol.json +241 -174
- package/minecraft-data/data/pc/1.14/proto.yml +1717 -0
- package/minecraft-data/data/pc/1.14/protocol.json +304 -226
- package/minecraft-data/data/pc/1.14.1/proto.yml +1717 -0
- package/minecraft-data/data/pc/1.14.1/protocol.json +304 -226
- package/minecraft-data/data/pc/1.14.3/proto.yml +1718 -0
- package/minecraft-data/data/pc/1.14.3/protocol.json +304 -226
- package/minecraft-data/data/pc/1.14.4/proto.yml +1726 -0
- package/minecraft-data/data/pc/1.14.4/protocol.json +308 -230
- package/minecraft-data/data/pc/1.15/proto.yml +1730 -0
- package/minecraft-data/data/pc/1.15/protocol.json +315 -234
- package/minecraft-data/data/pc/1.15.1/proto.yml +1730 -0
- package/minecraft-data/data/pc/1.15.1/protocol.json +315 -234
- package/minecraft-data/data/pc/1.15.2/proto.yml +1730 -0
- package/minecraft-data/data/pc/1.15.2/protocol.json +315 -234
- package/minecraft-data/data/pc/1.16/proto.yml +1762 -0
- package/minecraft-data/data/pc/1.16/protocol.json +357 -264
- package/minecraft-data/data/pc/1.16-rc1/proto.yml +1762 -0
- package/minecraft-data/data/pc/1.16-rc1/protocol.json +357 -264
- package/minecraft-data/data/pc/1.16.1/proto.yml +1762 -0
- package/minecraft-data/data/pc/1.16.1/protocol.json +357 -264
- package/minecraft-data/data/pc/1.16.2/proto.yml +1776 -0
- package/minecraft-data/data/pc/1.16.2/protocol.json +354 -260
- package/minecraft-data/data/pc/1.17/proto.yml +1796 -0
- package/minecraft-data/data/pc/1.17/protocol.json +5 -5
- package/minecraft-data/data/pc/1.17.1/proto.yml +1800 -0
- package/minecraft-data/data/pc/1.17.1/protocol.json +5 -5
- package/minecraft-data/data/pc/1.18/proto.yml +1836 -0
- package/minecraft-data/data/pc/1.18/protocol.json +5 -5
- package/minecraft-data/data/pc/1.18.2/proto.yml +1836 -0
- package/minecraft-data/data/pc/1.18.2/protocol.json +5 -5
- package/minecraft-data/data/pc/1.19/proto.yml +1990 -0
- package/minecraft-data/data/pc/1.19/protocol.json +5 -5
- package/minecraft-data/data/pc/1.19.2/proto.yml +2085 -0
- package/minecraft-data/data/pc/1.19.2/protocol.json +5 -5
- package/minecraft-data/data/pc/1.19.3/proto.yml +2322 -0
- package/minecraft-data/data/pc/1.19.3/protocol.json +215 -119
- package/minecraft-data/data/pc/1.19.4/proto.yml +2413 -0
- package/minecraft-data/data/pc/1.20/proto.yml +2409 -0
- package/minecraft-data/data/pc/1.20.2/proto.yml +2508 -0
- package/minecraft-data/data/pc/1.20.2/protocol.json +1 -1
- package/minecraft-data/data/pc/1.20.3/protocol.json +1 -1
- package/minecraft-data/data/pc/1.20.5/biomes.json +642 -0
- package/minecraft-data/data/pc/1.20.5/blockCollisionShapes.json +136963 -0
- package/minecraft-data/data/pc/1.20.5/blocks.json +39410 -0
- package/minecraft-data/data/pc/1.20.5/effects.json +236 -0
- package/minecraft-data/data/pc/1.20.5/enchantments.json +945 -0
- package/minecraft-data/data/pc/1.20.5/entities.json +3625 -0
- package/minecraft-data/data/pc/1.20.5/foods.json +412 -0
- package/minecraft-data/data/pc/1.20.5/instruments.json +94 -0
- package/minecraft-data/data/pc/1.20.5/items.json +8995 -0
- package/minecraft-data/data/pc/1.20.5/language.json +6772 -0
- package/minecraft-data/data/pc/1.20.5/materials.json +134 -0
- package/minecraft-data/data/pc/1.20.5/particles.json +438 -0
- package/minecraft-data/data/pc/1.20.5/tints.json +447 -0
- package/minecraft-data/data/pc/1.7/proto.yml +922 -0
- package/minecraft-data/data/pc/1.7/protocol.json +1 -1
- package/minecraft-data/data/pc/1.8/proto.yml +1035 -0
- package/minecraft-data/data/pc/1.8/protocol.json +28 -8
- package/minecraft-data/data/pc/1.9/proto.yml +1109 -0
- package/minecraft-data/data/pc/1.9/protocol.json +30 -10
- package/minecraft-data/data/pc/1.9.1-pre2/proto.yml +1109 -0
- package/minecraft-data/data/pc/1.9.1-pre2/protocol.json +30 -10
- package/minecraft-data/data/pc/1.9.2/proto.yml +1109 -0
- package/minecraft-data/data/pc/1.9.2/protocol.json +30 -10
- package/minecraft-data/data/pc/1.9.4/proto.yml +1102 -0
- package/minecraft-data/data/pc/1.9.4/protocol.json +34 -13
- package/minecraft-data/data/pc/15w40b/proto.yml +1070 -0
- package/minecraft-data/data/pc/15w40b/protocol.json +107 -87
- package/minecraft-data/data/pc/16w20a/proto.yml +1102 -0
- package/minecraft-data/data/pc/16w20a/protocol.json +34 -13
- package/minecraft-data/data/pc/16w35a/proto.yml +1102 -0
- package/minecraft-data/data/pc/16w35a/protocol.json +34 -13
- package/minecraft-data/data/pc/17w15a/proto.yml +1165 -0
- package/minecraft-data/data/pc/17w15a/protocol.json +44 -23
- package/minecraft-data/data/pc/17w18b/proto.yml +1163 -0
- package/minecraft-data/data/pc/17w18b/protocol.json +52 -31
- package/minecraft-data/data/pc/17w50a/proto.yml +1418 -0
- package/minecraft-data/data/pc/17w50a/protocol.json +535 -346
- package/minecraft-data/data/pc/20w13b/proto.yml +1732 -0
- package/minecraft-data/data/pc/20w13b/protocol.json +315 -235
- package/minecraft-data/data/pc/21w07a/proto.yml +1785 -0
- package/minecraft-data/data/pc/21w07a/protocol.json +408 -295
- package/minecraft-data/data/pc/common/protocolVersions.json +24 -0
- package/minecraft-data/data/pc/latest/proto.yml +2762 -0
- package/minecraft-data/doc/add-data-new-version.md +3 -0
- package/minecraft-data/doc/history.md +10 -0
- package/minecraft-data/doc/protocol.md +154 -0
- package/minecraft-data/schemas/foods_schema.json +4 -4
- package/minecraft-data/tools/js/compileProtocol.js +67 -45
- package/minecraft-data/tools/js/convertMcpcProtocolJsonToYaml.js +65 -0
- package/minecraft-data/tools/js/extractPcEntityMetadata.js +1 -1
- package/minecraft-data/tools/js/extractPcFoods.js +58 -0
- package/minecraft-data/tools/js/incrementVersion.js +63 -48
- package/minecraft-data/tools/js/package.json +3 -1
- package/minecraft-data/tools/js/test/protocolSync.js +1 -1
- package/package.json +3 -3
- package/tsconfig.json +1 -1
- package/typings/index-template.d.ts +30 -24
- package/typings/test-typings.ts +4 -0
|
@@ -1,4 +1,16 @@
|
|
|
1
1
|
[
|
|
2
|
+
{
|
|
3
|
+
"version": 712,
|
|
4
|
+
"minecraftVersion": "1.21.20",
|
|
5
|
+
"majorVersion": "1.21",
|
|
6
|
+
"releaseType": "release"
|
|
7
|
+
},
|
|
8
|
+
{
|
|
9
|
+
"version": 686,
|
|
10
|
+
"minecraftVersion": "1.21.2",
|
|
11
|
+
"majorVersion": "1.21",
|
|
12
|
+
"releaseType": "release"
|
|
13
|
+
},
|
|
2
14
|
{
|
|
3
15
|
"version": 685,
|
|
4
16
|
"minecraftVersion": "1.21.0",
|
|
@@ -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.20
|
|
5
5
|
|
|
6
6
|
# Some ProtoDef aliases
|
|
7
7
|
string: ["pstring",{"countType":"varint"}] # String / array types
|
|
@@ -118,8 +118,12 @@ packet_disconnect:
|
|
|
118
118
|
# Specifies if the disconnection screen should be hidden when the client is disconnected,
|
|
119
119
|
# meaning it will be sent directly to the main menu.
|
|
120
120
|
hide_disconnect_reason: bool
|
|
121
|
-
|
|
122
|
-
|
|
121
|
+
_: hide_disconnect_reason ?
|
|
122
|
+
if true: void
|
|
123
|
+
default:
|
|
124
|
+
# An optional message to show when disconnected.
|
|
125
|
+
message: string
|
|
126
|
+
filtered_message: string
|
|
123
127
|
|
|
124
128
|
|
|
125
129
|
packet_resource_packs_info:
|
|
@@ -1056,6 +1060,7 @@ packet_mob_armor_equipment:
|
|
|
1056
1060
|
chestplate: Item
|
|
1057
1061
|
leggings: Item
|
|
1058
1062
|
boots: Item
|
|
1063
|
+
body: Item
|
|
1059
1064
|
|
|
1060
1065
|
# Interact is sent by the client when it interacts with another entity in some way. It used to be used for
|
|
1061
1066
|
# normal entity and block interaction, but this is no longer the case now.
|
|
@@ -1253,6 +1258,7 @@ packet_inventory_content:
|
|
|
1253
1258
|
# Content is the new content of the inventory. The length of this slice must be equal to the full size of
|
|
1254
1259
|
# the inventory window updated.
|
|
1255
1260
|
input: ItemStacks
|
|
1261
|
+
dynamic_window_id: varint
|
|
1256
1262
|
|
|
1257
1263
|
# InventorySlot is sent by the server to update a single slot in one of the inventory windows that the client
|
|
1258
1264
|
# currently has opened. Usually this is the main inventory, but it may also be the off hand or, for example,
|
|
@@ -1266,6 +1272,7 @@ packet_inventory_slot:
|
|
|
1266
1272
|
# Slot is the index of the slot that the packet modifies. The new item will be set to the slot at this
|
|
1267
1273
|
# index.
|
|
1268
1274
|
slot: varint
|
|
1275
|
+
dynamic_window_id: varint
|
|
1269
1276
|
# NewItem is the item to be put in the slot at Slot. It will overwrite any item that may currently
|
|
1270
1277
|
# be present in that slot.
|
|
1271
1278
|
item: Item
|
|
@@ -1474,6 +1481,7 @@ packet_change_dimension:
|
|
|
1474
1481
|
dimension: zigzag32
|
|
1475
1482
|
position: vec3f
|
|
1476
1483
|
respawn: bool
|
|
1484
|
+
loading_screen_id?: lu32
|
|
1477
1485
|
|
|
1478
1486
|
# SetPlayerGameType is sent by the server to update the game type (game mode) of the player
|
|
1479
1487
|
packet_set_player_game_type:
|
|
@@ -2108,6 +2116,7 @@ packet_stop_sound:
|
|
|
2108
2116
|
!bound: client
|
|
2109
2117
|
name: string
|
|
2110
2118
|
stop_all: bool
|
|
2119
|
+
stop_music_legacy: bool
|
|
2111
2120
|
|
|
2112
2121
|
# SetTitle is sent by the server to make a title, subtitle or action bar shown to a player. It has several
|
|
2113
2122
|
# fields that allow setting the duration of the titles.
|
|
@@ -2143,6 +2152,7 @@ packet_set_title:
|
|
|
2143
2152
|
xuid: string
|
|
2144
2153
|
# PlatformOnlineID is either a uint64 or an empty string.
|
|
2145
2154
|
platform_online_id: string
|
|
2155
|
+
filtered_message: string
|
|
2146
2156
|
|
|
2147
2157
|
packet_add_behavior_tree:
|
|
2148
2158
|
!id: 0x59
|
|
@@ -3240,6 +3250,8 @@ packet_player_armor_damage:
|
|
|
3240
3250
|
if true: zigzag32
|
|
3241
3251
|
boots_damage: type.feet ?
|
|
3242
3252
|
if true: zigzag32
|
|
3253
|
+
body_damage: type.body ?
|
|
3254
|
+
if true: zigzag32
|
|
3243
3255
|
|
|
3244
3256
|
ArmorDamageType: [ "bitflags",
|
|
3245
3257
|
{
|
|
@@ -3248,7 +3260,8 @@ ArmorDamageType: [ "bitflags",
|
|
|
3248
3260
|
"head": 0b1,
|
|
3249
3261
|
"chest": 0b10,
|
|
3250
3262
|
"legs": 0b100,
|
|
3251
|
-
"feet": 0b1000
|
|
3263
|
+
"feet": 0b1000,
|
|
3264
|
+
"body": 0b10000
|
|
3252
3265
|
}
|
|
3253
3266
|
}
|
|
3254
3267
|
]
|
|
@@ -3418,6 +3431,9 @@ packet_player_fog:
|
|
|
3418
3431
|
packet_correct_player_move_prediction:
|
|
3419
3432
|
!id: 0xa1
|
|
3420
3433
|
!bound: client
|
|
3434
|
+
prediction_type: u8 =>
|
|
3435
|
+
- player
|
|
3436
|
+
- vehicle
|
|
3421
3437
|
# Position is the position that the player is supposed to be at at the tick written in the field below.
|
|
3422
3438
|
# The client will change its current position based on movement after that tick starting from the
|
|
3423
3439
|
# Position.
|
|
@@ -3425,7 +3441,9 @@ packet_correct_player_move_prediction:
|
|
|
3425
3441
|
# Delta is the change in position compared to what the client sent as its position at that specific tick.
|
|
3426
3442
|
delta: vec3f
|
|
3427
3443
|
vehicle_rotation: prediction_type ?
|
|
3428
|
-
if vehicle:
|
|
3444
|
+
if vehicle:
|
|
3445
|
+
rotation: vec2f
|
|
3446
|
+
angular_velocity?: lf32
|
|
3429
3447
|
# OnGround specifies if the player was on the ground at the time of the tick below.
|
|
3430
3448
|
on_ground: bool
|
|
3431
3449
|
# Tick is the tick of the movement which was corrected by this packet.
|
|
@@ -3889,6 +3907,7 @@ packet_death_info:
|
|
|
3889
3907
|
packet_editor_network:
|
|
3890
3908
|
!id: 0xbe
|
|
3891
3909
|
!bound: client
|
|
3910
|
+
route_to_manager: bool
|
|
3892
3911
|
# Payload is a network little endian compound tag holding data relevant to the editor.
|
|
3893
3912
|
payload: nbt
|
|
3894
3913
|
|
|
@@ -4058,6 +4077,10 @@ packet_camera_instruction:
|
|
|
4058
4077
|
position?: vec3f
|
|
4059
4078
|
rotation?: vec2f
|
|
4060
4079
|
facing?: vec3f
|
|
4080
|
+
# TODO: Investigate when this was added
|
|
4081
|
+
# ViewOffset is only used in a follow_orbit camera and controls an offset based on a pivot point to the
|
|
4082
|
+
# player, causing it to be shifted in a certain direction.
|
|
4083
|
+
offset?: vec2f
|
|
4061
4084
|
default?: bool
|
|
4062
4085
|
clear?: bool
|
|
4063
4086
|
fade?:
|
|
@@ -4065,6 +4088,10 @@ packet_camera_instruction:
|
|
|
4065
4088
|
wait_duration: lf32
|
|
4066
4089
|
fade_out_duration: lf32
|
|
4067
4090
|
color_rgb: vec3f
|
|
4091
|
+
target?:
|
|
4092
|
+
offset?: vec3f
|
|
4093
|
+
entity_unique_id: li64
|
|
4094
|
+
remove_target?: bool
|
|
4068
4095
|
|
|
4069
4096
|
|
|
4070
4097
|
packet_compressed_biome_definitions:
|
|
@@ -4076,7 +4103,7 @@ packet_compressed_biome_definitions:
|
|
|
4076
4103
|
# generation.
|
|
4077
4104
|
#
|
|
4078
4105
|
# The data is compressed with a cursed home-brewed compression format, and it's a miracle it even works.
|
|
4079
|
-
raw_payload:
|
|
4106
|
+
raw_payload: ByteArray
|
|
4080
4107
|
|
|
4081
4108
|
packet_trim_data:
|
|
4082
4109
|
!id: 0x12e
|
|
@@ -4184,3 +4211,9 @@ packet_award_achievement:
|
|
|
4184
4211
|
packet_server_post_move:
|
|
4185
4212
|
!id: 0x10
|
|
4186
4213
|
position: vec3f
|
|
4214
|
+
|
|
4215
|
+
# clientbound_close_form is sent by the server to clear the entire form stack of the client. This means that all
|
|
4216
|
+
# forms that are currently open will be closed. This does not affect inventories and other containers.
|
|
4217
|
+
packet_clientbound_close_form:
|
|
4218
|
+
!id: 0x136
|
|
4219
|
+
!bound: client
|
|
@@ -8,6 +8,7 @@ BehaviourPackInfos: []li16
|
|
|
8
8
|
sub_pack_name: string
|
|
9
9
|
content_identity: string
|
|
10
10
|
has_scripts: bool
|
|
11
|
+
addon_pack: bool
|
|
11
12
|
|
|
12
13
|
TexturePackInfos: []li16
|
|
13
14
|
uuid: string
|
|
@@ -17,6 +18,7 @@ TexturePackInfos: []li16
|
|
|
17
18
|
sub_pack_name: string
|
|
18
19
|
content_identity: string
|
|
19
20
|
has_scripts: bool
|
|
21
|
+
addon_pack: bool
|
|
20
22
|
rtx_enabled: bool
|
|
21
23
|
|
|
22
24
|
ResourcePackIdVersions: []varint
|
|
@@ -475,6 +477,8 @@ Link:
|
|
|
475
477
|
type: u8
|
|
476
478
|
immediate: bool
|
|
477
479
|
rider_initiated: bool
|
|
480
|
+
# angular velocity of the vehicle that the rider is riding.
|
|
481
|
+
angular_velocity: lf32
|
|
478
482
|
|
|
479
483
|
Links: Link[]varint
|
|
480
484
|
|
|
@@ -525,6 +529,14 @@ TransactionUseItem:
|
|
|
525
529
|
0: click_block
|
|
526
530
|
1: click_air
|
|
527
531
|
2: break_block
|
|
532
|
+
# TriggerType is the type of the trigger that caused the inventory transaction. It is one of the trigger
|
|
533
|
+
# types found in the constants above. If TriggerType is TriggerTypePlayerInput, the transaction is from
|
|
534
|
+
# the initial input of the player. If it is TriggerTypeSimulationTick, the transaction is from a simulation
|
|
535
|
+
# tick when the player is holding down the input.
|
|
536
|
+
trigger_type: varint =>
|
|
537
|
+
- unknown
|
|
538
|
+
- player_input
|
|
539
|
+
- simulation_tick
|
|
528
540
|
# BlockPosition is the position of the block that was interacted with. This is only really a correct
|
|
529
541
|
# block position if ActionType is not UseItemActionClickAir.
|
|
530
542
|
block_position: BlockCoordinates
|
|
@@ -546,6 +558,10 @@ TransactionUseItem:
|
|
|
546
558
|
# BlockRuntimeID is the runtime ID of the block that was clicked. It may be used by the server to verify
|
|
547
559
|
# that the player's world client-side is synchronised with the server's.
|
|
548
560
|
block_runtime_id: varint
|
|
561
|
+
# ClientPrediction is the client's prediction on the output of the transaction.
|
|
562
|
+
client_prediction: varint =>
|
|
563
|
+
- failure
|
|
564
|
+
- success
|
|
549
565
|
|
|
550
566
|
# Actions is a list of actions that took place, that form the inventory transaction together. Each of
|
|
551
567
|
# these actions hold one slot in which one item was changed to another. In general, the combination of
|
|
@@ -918,6 +934,8 @@ Action: zigzag32 =>
|
|
|
918
934
|
StackRequestSlotInfo:
|
|
919
935
|
# ContainerID is the ID of the container that the slot was in.
|
|
920
936
|
slot_type: ContainerSlotType
|
|
937
|
+
# DynamicContainerID is the ID of the container if it is dynamic. If the container is not dynamic, this field is set to 0.
|
|
938
|
+
dynamic_container_id: lu32
|
|
921
939
|
# Slot is the index of the slot within the container with the ContainerID above.
|
|
922
940
|
slot: u8
|
|
923
941
|
# StackNetworkID is the unique stack ID that the client assumes to be present in this slot. The server
|
|
@@ -1004,7 +1022,7 @@ ItemStackRequest:
|
|
|
1004
1022
|
# crafting, where the old item is consumed.
|
|
1005
1023
|
- results_deprecated
|
|
1006
1024
|
_: type_id ?
|
|
1007
|
-
if take or place:
|
|
1025
|
+
if take or place or place_in_container or take_out_container:
|
|
1008
1026
|
count: u8
|
|
1009
1027
|
source: StackRequestSlotInfo
|
|
1010
1028
|
destination: StackRequestSlotInfo
|
|
@@ -1036,26 +1054,37 @@ ItemStackRequest:
|
|
|
1036
1054
|
primary_effect: zigzag32
|
|
1037
1055
|
secondary_effect: zigzag32
|
|
1038
1056
|
if mine_block:
|
|
1039
|
-
#
|
|
1040
|
-
|
|
1057
|
+
# Current hotbar slot
|
|
1058
|
+
hotbar_slot: zigzag32
|
|
1041
1059
|
# PredictedDurability is the durability of the item that the client assumes to be present at the time
|
|
1042
1060
|
predicted_durability: zigzag32
|
|
1043
1061
|
# StackNetworkID is the unique stack ID that the client assumes to be present at the time. The server
|
|
1044
1062
|
# must check if these IDs match. If they do not match, servers should reject the stack request that the
|
|
1045
1063
|
# action holding this info was in.
|
|
1046
1064
|
network_id: zigzag32
|
|
1047
|
-
if craft_recipe
|
|
1065
|
+
if craft_recipe:
|
|
1048
1066
|
# RecipeNetworkID is the network ID of the recipe that is about to be crafted. This network ID matches
|
|
1049
1067
|
# one of the recipes sent in the CraftingData packet, where each of the recipes have a RecipeNetworkID as
|
|
1050
1068
|
# of 1.16.
|
|
1051
1069
|
recipe_network_id: varint
|
|
1070
|
+
times_crafted: u8
|
|
1071
|
+
if craft_recipe_auto:
|
|
1072
|
+
# RecipeNetworkID is the network ID of the recipe that is about to be crafted. This network ID matches
|
|
1073
|
+
# one of the recipes sent in the CraftingData packet, where each of the recipes have a RecipeNetworkID as
|
|
1074
|
+
recipe_network_id: varint
|
|
1075
|
+
# TODO: Duplicate field?
|
|
1076
|
+
times_crafted_2: u8
|
|
1077
|
+
times_crafted: u8
|
|
1078
|
+
ingredients: RecipeIngredient[]varint
|
|
1052
1079
|
if craft_creative:
|
|
1053
1080
|
# The stack ID of the creative item that is being created. This is one of the
|
|
1054
1081
|
# creative item stack IDs sent in the CreativeContent packet.
|
|
1055
1082
|
item_id: varint
|
|
1083
|
+
times_crafted: u8
|
|
1056
1084
|
if optional:
|
|
1057
1085
|
# For the cartography table, if a certain MULTI recipe is being called, this points to the network ID that was assigned.
|
|
1058
1086
|
recipe_network_id: varint
|
|
1087
|
+
times_crafted: u8
|
|
1059
1088
|
# Most likely the index in the request's filter strings that this action is using
|
|
1060
1089
|
filtered_string_index: li32
|
|
1061
1090
|
if craft_grindstone_request:
|
|
@@ -1543,6 +1572,7 @@ ContainerSlotType: u8 =>
|
|
|
1543
1572
|
- creative_output
|
|
1544
1573
|
- smithing_table_template
|
|
1545
1574
|
- crafter
|
|
1575
|
+
- dynamic
|
|
1546
1576
|
|
|
1547
1577
|
SoundType: varint =>
|
|
1548
1578
|
- ItemUseOn
|
|
@@ -2235,6 +2265,7 @@ AbilityLayers:
|
|
|
2235
2265
|
- spectator
|
|
2236
2266
|
- commands
|
|
2237
2267
|
- editor
|
|
2268
|
+
- loading_screen
|
|
2238
2269
|
# The abilities that can be toggled between
|
|
2239
2270
|
allowed: AbilitySet
|
|
2240
2271
|
# The abilities that are currently active
|
|
@@ -2251,6 +2282,12 @@ CameraPresets:
|
|
|
2251
2282
|
parent: string
|
|
2252
2283
|
position: Vec3fopts
|
|
2253
2284
|
rotation: Vec2fopts
|
|
2285
|
+
# ViewOffset is only used in a follow_orbit camera and controls an offset based on a pivot point to the
|
|
2286
|
+
# player, causing it to be shifted in a certain direction.
|
|
2287
|
+
offset?: vec2f
|
|
2288
|
+
# Radius is only used in a follow_orbit camera and controls how far away from the player the camera should
|
|
2289
|
+
# be rendered.
|
|
2290
|
+
radius?: f32
|
|
2254
2291
|
## TODO: make this an enum afer adding proper optional support inside pdefyaml
|
|
2255
2292
|
audio_listener?: u8
|
|
2256
2293
|
player_effects?: bool
|