minecraft-data 3.67.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 +124 -51
- package/doc/history.md +4 -0
- package/index.d.ts +30 -24
- package/minecraft-data/README.md +1 -1
- package/minecraft-data/data/bedrock/1.16.201/protocol.json +33 -66
- package/minecraft-data/data/bedrock/1.16.210/protocol.json +39 -78
- package/minecraft-data/data/bedrock/1.16.220/protocol.json +46 -92
- package/minecraft-data/data/bedrock/1.17.0/protocol.json +46 -92
- package/minecraft-data/data/bedrock/1.17.10/protocol.json +46 -92
- package/minecraft-data/data/bedrock/1.17.30/protocol.json +48 -96
- package/minecraft-data/data/bedrock/1.17.40/protocol.json +48 -96
- package/minecraft-data/data/bedrock/1.18.0/protocol.json +50 -100
- package/minecraft-data/data/bedrock/1.18.11/protocol.json +52 -104
- package/minecraft-data/data/bedrock/1.18.30/protocol.json +52 -104
- package/minecraft-data/data/bedrock/1.19.1/protocol.json +52 -104
- package/minecraft-data/data/bedrock/1.19.10/protocol.json +52 -104
- package/minecraft-data/data/bedrock/1.19.20/protocol.json +54 -108
- package/minecraft-data/data/bedrock/1.19.21/protocol.json +54 -108
- package/minecraft-data/data/bedrock/1.19.30/protocol.json +55 -110
- package/minecraft-data/data/bedrock/1.19.40/protocol.json +55 -110
- package/minecraft-data/data/bedrock/1.19.50/protocol.json +55 -110
- package/minecraft-data/data/bedrock/1.19.60/protocol.json +55 -110
- package/minecraft-data/data/bedrock/1.19.62/protocol.json +55 -110
- package/minecraft-data/data/bedrock/1.19.70/protocol.json +55 -110
- package/minecraft-data/data/bedrock/1.19.80/protocol.json +55 -110
- package/minecraft-data/data/bedrock/1.20.0/protocol.json +55 -110
- package/minecraft-data/data/bedrock/1.20.10/protocol.json +55 -110
- package/minecraft-data/data/bedrock/1.20.30/protocol.json +55 -110
- package/minecraft-data/data/bedrock/1.20.40/protocol.json +55 -110
- package/minecraft-data/data/bedrock/1.20.50/protocol.json +55 -110
- package/minecraft-data/data/bedrock/1.20.61/protocol.json +56 -112
- package/minecraft-data/data/bedrock/1.20.71/protocol.json +56 -112
- package/minecraft-data/data/bedrock/1.20.80/proto.yml +3 -0
- package/minecraft-data/data/bedrock/1.20.80/protocol.json +70 -114
- package/minecraft-data/data/bedrock/1.21.0/proto.yml +3 -0
- package/minecraft-data/data/bedrock/1.21.0/protocol.json +71 -116
- package/minecraft-data/data/bedrock/1.21.2/proto.yml +4195 -0
- package/minecraft-data/data/bedrock/1.21.2/protocol.json +58 -116
- package/minecraft-data/data/bedrock/1.21.2/types.yml +2373 -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 +6 -0
- package/minecraft-data/data/bedrock/common/versions.json +2 -1
- package/minecraft-data/data/bedrock/latest/proto.yml +33 -6
- package/minecraft-data/data/bedrock/latest/types.yml +31 -0
- package/minecraft-data/data/dataPaths.json +124 -51
- 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.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 +4 -0
- package/minecraft-data/doc/protocol.md +154 -0
- package/minecraft-data/tools/js/compileProtocol.js +67 -45
- package/minecraft-data/tools/js/convertMcpcProtocolJsonToYaml.js +65 -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,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
|
|
@@ -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
|
|
@@ -1049,19 +1067,24 @@ ItemStackRequest:
|
|
|
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
|
|
1052
1071
|
if craft_recipe_auto:
|
|
1053
1072
|
# RecipeNetworkID is the network ID of the recipe that is about to be crafted. This network ID matches
|
|
1054
1073
|
# one of the recipes sent in the CraftingData packet, where each of the recipes have a RecipeNetworkID as
|
|
1055
1074
|
recipe_network_id: varint
|
|
1075
|
+
# TODO: Duplicate field?
|
|
1076
|
+
times_crafted_2: u8
|
|
1056
1077
|
times_crafted: u8
|
|
1057
1078
|
ingredients: RecipeIngredient[]varint
|
|
1058
1079
|
if craft_creative:
|
|
1059
1080
|
# The stack ID of the creative item that is being created. This is one of the
|
|
1060
1081
|
# creative item stack IDs sent in the CreativeContent packet.
|
|
1061
1082
|
item_id: varint
|
|
1083
|
+
times_crafted: u8
|
|
1062
1084
|
if optional:
|
|
1063
1085
|
# For the cartography table, if a certain MULTI recipe is being called, this points to the network ID that was assigned.
|
|
1064
1086
|
recipe_network_id: varint
|
|
1087
|
+
times_crafted: u8
|
|
1065
1088
|
# Most likely the index in the request's filter strings that this action is using
|
|
1066
1089
|
filtered_string_index: li32
|
|
1067
1090
|
if craft_grindstone_request:
|
|
@@ -1549,6 +1572,7 @@ ContainerSlotType: u8 =>
|
|
|
1549
1572
|
- creative_output
|
|
1550
1573
|
- smithing_table_template
|
|
1551
1574
|
- crafter
|
|
1575
|
+
- dynamic
|
|
1552
1576
|
|
|
1553
1577
|
SoundType: varint =>
|
|
1554
1578
|
- ItemUseOn
|
|
@@ -2241,6 +2265,7 @@ AbilityLayers:
|
|
|
2241
2265
|
- spectator
|
|
2242
2266
|
- commands
|
|
2243
2267
|
- editor
|
|
2268
|
+
- loading_screen
|
|
2244
2269
|
# The abilities that can be toggled between
|
|
2245
2270
|
allowed: AbilitySet
|
|
2246
2271
|
# The abilities that are currently active
|
|
@@ -2257,6 +2282,12 @@ CameraPresets:
|
|
|
2257
2282
|
parent: string
|
|
2258
2283
|
position: Vec3fopts
|
|
2259
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
|
|
2260
2291
|
## TODO: make this an enum afer adding proper optional support inside pdefyaml
|
|
2261
2292
|
audio_listener?: u8
|
|
2262
2293
|
player_effects?: bool
|