minecraft-data 3.83.1 → 3.84.1
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/.github/workflows/ci.yml +2 -2
- package/.github/workflows/npm-publish.yml +1 -1
- package/data.js +23 -1
- package/doc/history.md +8 -0
- package/minecraft-data/.github/workflows/bedrock-ci.yml +2 -2
- package/minecraft-data/.github/workflows/build-gh-pages.yml +2 -2
- package/minecraft-data/.github/workflows/ci.yml +1 -1
- package/minecraft-data/.github/workflows/update-helper.yml +1 -1
- package/minecraft-data/README.md +1 -1
- package/minecraft-data/data/bedrock/1.16.201/proto.yml +10 -0
- package/minecraft-data/data/bedrock/1.16.201/types.yml +13 -0
- package/minecraft-data/data/bedrock/1.16.210/proto.yml +10 -0
- package/minecraft-data/data/bedrock/1.16.210/protocol.json +11 -10
- package/minecraft-data/data/bedrock/1.16.210/types.yml +30 -10
- package/minecraft-data/data/bedrock/1.16.220/proto.yml +10 -0
- package/minecraft-data/data/bedrock/1.16.220/protocol.json +11 -10
- package/minecraft-data/data/bedrock/1.16.220/types.yml +30 -10
- package/minecraft-data/data/bedrock/1.17.0/proto.yml +10 -0
- package/minecraft-data/data/bedrock/1.17.0/protocol.json +11 -10
- package/minecraft-data/data/bedrock/1.17.0/types.yml +30 -10
- package/minecraft-data/data/bedrock/1.17.10/proto.yml +10 -0
- package/minecraft-data/data/bedrock/1.17.10/protocol.json +11 -10
- package/minecraft-data/data/bedrock/1.17.10/types.yml +30 -10
- package/minecraft-data/data/bedrock/1.17.30/proto.yml +10 -0
- package/minecraft-data/data/bedrock/1.17.30/protocol.json +11 -10
- package/minecraft-data/data/bedrock/1.17.30/types.yml +30 -10
- package/minecraft-data/data/bedrock/1.17.40/protocol.json +11 -10
- package/minecraft-data/data/bedrock/1.17.40/types.yml +30 -10
- package/minecraft-data/data/bedrock/1.18.0/proto.yml +10 -0
- package/minecraft-data/data/bedrock/1.18.0/protocol.json +11 -10
- package/minecraft-data/data/bedrock/1.18.0/types.yml +30 -10
- package/minecraft-data/data/bedrock/1.18.11/proto.yml +10 -0
- package/minecraft-data/data/bedrock/1.18.11/protocol.json +11 -10
- package/minecraft-data/data/bedrock/1.18.11/types.yml +30 -10
- package/minecraft-data/data/bedrock/1.18.30/proto.yml +11 -2
- package/minecraft-data/data/bedrock/1.18.30/protocol.json +15 -11
- package/minecraft-data/data/bedrock/1.18.30/types.yml +30 -10
- package/minecraft-data/data/bedrock/1.19.1/proto.yml +11 -2
- package/minecraft-data/data/bedrock/1.19.1/protocol.json +15 -11
- package/minecraft-data/data/bedrock/1.19.1/types.yml +30 -10
- package/minecraft-data/data/bedrock/1.19.10/proto.yml +11 -2
- package/minecraft-data/data/bedrock/1.19.10/protocol.json +15 -11
- package/minecraft-data/data/bedrock/1.19.10/types.yml +30 -10
- package/minecraft-data/data/bedrock/1.19.20/proto.yml +11 -2
- package/minecraft-data/data/bedrock/1.19.20/protocol.json +15 -11
- package/minecraft-data/data/bedrock/1.19.20/types.yml +30 -10
- package/minecraft-data/data/bedrock/1.19.21/proto.yml +11 -2
- package/minecraft-data/data/bedrock/1.19.21/protocol.json +15 -11
- package/minecraft-data/data/bedrock/1.19.21/types.yml +30 -10
- package/minecraft-data/data/bedrock/1.19.30/proto.yml +11 -2
- package/minecraft-data/data/bedrock/1.19.30/protocol.json +15 -11
- package/minecraft-data/data/bedrock/1.19.30/types.yml +30 -10
- package/minecraft-data/data/bedrock/1.19.40/proto.yml +11 -2
- package/minecraft-data/data/bedrock/1.19.40/protocol.json +15 -11
- package/minecraft-data/data/bedrock/1.19.40/types.yml +30 -10
- package/minecraft-data/data/bedrock/1.19.50/proto.yml +11 -2
- package/minecraft-data/data/bedrock/1.19.50/protocol.json +15 -11
- package/minecraft-data/data/bedrock/1.19.50/types.yml +30 -10
- package/minecraft-data/data/bedrock/1.19.60/proto.yml +11 -2
- package/minecraft-data/data/bedrock/1.19.60/protocol.json +15 -11
- package/minecraft-data/data/bedrock/1.19.60/types.yml +30 -10
- package/minecraft-data/data/bedrock/1.19.62/proto.yml +11 -2
- package/minecraft-data/data/bedrock/1.19.62/protocol.json +15 -11
- package/minecraft-data/data/bedrock/1.19.62/types.yml +30 -10
- package/minecraft-data/data/bedrock/1.19.70/proto.yml +11 -2
- package/minecraft-data/data/bedrock/1.19.70/protocol.json +15 -11
- package/minecraft-data/data/bedrock/1.19.70/types.yml +30 -10
- package/minecraft-data/data/bedrock/1.19.80/proto.yml +11 -2
- package/minecraft-data/data/bedrock/1.19.80/protocol.json +15 -11
- package/minecraft-data/data/bedrock/1.19.80/types.yml +30 -10
- package/minecraft-data/data/bedrock/1.20.0/proto.yml +11 -2
- package/minecraft-data/data/bedrock/1.20.0/protocol.json +15 -11
- package/minecraft-data/data/bedrock/1.20.0/types.yml +30 -10
- package/minecraft-data/data/bedrock/1.20.10/proto.yml +11 -2
- package/minecraft-data/data/bedrock/1.20.10/protocol.json +15 -11
- package/minecraft-data/data/bedrock/1.20.10/types.yml +30 -10
- package/minecraft-data/data/bedrock/1.20.30/proto.yml +43 -34
- package/minecraft-data/data/bedrock/1.20.30/protocol.json +15 -11
- package/minecraft-data/data/bedrock/1.20.30/types.yml +30 -10
- package/minecraft-data/data/bedrock/1.20.40/proto.yml +43 -34
- package/minecraft-data/data/bedrock/1.20.40/protocol.json +15 -11
- package/minecraft-data/data/bedrock/1.20.40/types.yml +30 -10
- package/minecraft-data/data/bedrock/1.20.50/proto.yml +43 -34
- package/minecraft-data/data/bedrock/1.20.50/protocol.json +15 -11
- package/minecraft-data/data/bedrock/1.20.50/types.yml +30 -10
- package/minecraft-data/data/bedrock/1.20.61/proto.yml +43 -34
- package/minecraft-data/data/bedrock/1.20.61/protocol.json +15 -11
- package/minecraft-data/data/bedrock/1.20.61/types.yml +30 -10
- package/minecraft-data/data/bedrock/1.20.71/proto.yml +43 -34
- package/minecraft-data/data/bedrock/1.20.71/protocol.json +15 -11
- package/minecraft-data/data/bedrock/1.20.71/types.yml +30 -10
- package/minecraft-data/data/bedrock/1.20.80/proto.yml +43 -34
- package/minecraft-data/data/bedrock/1.20.80/protocol.json +22 -12
- package/minecraft-data/data/bedrock/1.20.80/types.yml +36 -10
- package/minecraft-data/data/bedrock/1.21.0/proto.yml +43 -34
- package/minecraft-data/data/bedrock/1.21.0/protocol.json +34 -25
- package/minecraft-data/data/bedrock/1.21.0/types.yml +48 -23
- package/minecraft-data/data/bedrock/1.21.2/proto.yml +43 -34
- package/minecraft-data/data/bedrock/1.21.2/protocol.json +34 -25
- package/minecraft-data/data/bedrock/1.21.2/types.yml +48 -23
- package/minecraft-data/data/bedrock/1.21.20/proto.yml +43 -34
- package/minecraft-data/data/bedrock/1.21.20/protocol.json +35 -25
- package/minecraft-data/data/bedrock/1.21.20/types.yml +49 -23
- package/minecraft-data/data/bedrock/1.21.30/proto.yml +43 -34
- package/minecraft-data/data/bedrock/1.21.30/protocol.json +37 -25
- package/minecraft-data/data/bedrock/1.21.30/types.yml +51 -23
- package/minecraft-data/data/bedrock/1.21.42/proto.yml +44 -34
- package/minecraft-data/data/bedrock/1.21.42/protocol.json +44 -25
- package/minecraft-data/data/bedrock/1.21.42/types.yml +51 -23
- package/minecraft-data/data/bedrock/1.21.50/proto.yml +4405 -0
- package/minecraft-data/data/bedrock/1.21.50/protocol.json +87 -98
- package/minecraft-data/data/bedrock/1.21.50/types.yml +2466 -0
- package/minecraft-data/data/bedrock/1.21.60/language.json +10840 -0
- package/minecraft-data/data/bedrock/1.21.60/protocol.json +13214 -0
- package/minecraft-data/data/bedrock/1.21.60/version.json +6 -0
- package/minecraft-data/data/bedrock/common/features.json +5 -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 +135 -63
- package/minecraft-data/data/bedrock/latest/types.yml +72 -33
- package/minecraft-data/data/dataPaths.json +24 -2
- package/minecraft-data/data/pc/common/protocolVersions.json +40 -0
- package/minecraft-data/doc/history.md +13 -0
- package/package.json +1 -1
|
@@ -1172,13 +1172,23 @@ packet_animate:
|
|
|
1172
1172
|
!id: 0x2c
|
|
1173
1173
|
!bound: both
|
|
1174
1174
|
action_id: zigzag32 =>
|
|
1175
|
+
# Unused
|
|
1175
1176
|
0: none
|
|
1177
|
+
# Server bound notification to swing the player's arm. Server is expected to rebroadcast to all that should see the arm move.
|
|
1178
|
+
# See also PlayerAuthInputPacket::InputData::MissedSwing for a very similar action
|
|
1176
1179
|
1: swing_arm
|
|
1177
1180
|
2: unknown
|
|
1181
|
+
# Client bound notification to stop sleeping in a bed
|
|
1178
1182
|
3: wake_up
|
|
1183
|
+
# Client-bound notification to play critical hit particles
|
|
1179
1184
|
4: critical_hit
|
|
1185
|
+
# Unused
|
|
1180
1186
|
5: magic_critical_hit
|
|
1187
|
+
# Sent every tick the client is in a boat exclusively in legacy client authoritative movement.
|
|
1188
|
+
# See Player Auth Input for how to compute this in the latest protocol.
|
|
1181
1189
|
128: row_right
|
|
1190
|
+
# Sent every tick the client is in a boat exclusively in legacy client authoritative movement.
|
|
1191
|
+
# See Player Auth Input for how to compute this in the latest protocol.
|
|
1182
1192
|
129: row_left
|
|
1183
1193
|
runtime_entity_id: varint64
|
|
1184
1194
|
_: action_id ?
|
|
@@ -2681,8 +2691,7 @@ packet_spawn_particle_effect:
|
|
|
2681
2691
|
particle_name: string
|
|
2682
2692
|
# MoLangVariables is an encoded JSON map of MoLang variables that may be applicable to the particle spawn. This can
|
|
2683
2693
|
# just be left empty in most cases.
|
|
2684
|
-
|
|
2685
|
-
molang_variables: ByteArray
|
|
2694
|
+
molang_variables?: string
|
|
2686
2695
|
|
|
2687
2696
|
# AvailableActorIdentifiers is sent by the server at the start of the game to let the client know all
|
|
2688
2697
|
# entities that are available on the server.
|
|
@@ -4047,38 +4056,38 @@ packet_camera_instruction:
|
|
|
4047
4056
|
# Ease represents the easing function that is used by the instruction.
|
|
4048
4057
|
ease_data?:
|
|
4049
4058
|
type: u8 =>
|
|
4050
|
-
|
|
4051
|
-
|
|
4052
|
-
|
|
4053
|
-
|
|
4054
|
-
|
|
4055
|
-
|
|
4056
|
-
|
|
4057
|
-
|
|
4058
|
-
|
|
4059
|
-
|
|
4060
|
-
|
|
4061
|
-
|
|
4062
|
-
|
|
4063
|
-
|
|
4064
|
-
|
|
4065
|
-
|
|
4066
|
-
|
|
4067
|
-
|
|
4068
|
-
|
|
4069
|
-
|
|
4070
|
-
|
|
4071
|
-
|
|
4072
|
-
|
|
4073
|
-
|
|
4074
|
-
|
|
4075
|
-
|
|
4076
|
-
|
|
4077
|
-
|
|
4078
|
-
|
|
4079
|
-
|
|
4080
|
-
|
|
4081
|
-
|
|
4059
|
+
- Linear
|
|
4060
|
+
- Spring
|
|
4061
|
+
- InQuad
|
|
4062
|
+
- OutQuad
|
|
4063
|
+
- InOutQuad
|
|
4064
|
+
- InCubic
|
|
4065
|
+
- OutCubic
|
|
4066
|
+
- InOutCubic
|
|
4067
|
+
- InQuart
|
|
4068
|
+
- OutQuart
|
|
4069
|
+
- InOutQuart
|
|
4070
|
+
- InQuint
|
|
4071
|
+
- OutQuint
|
|
4072
|
+
- InOutQuint
|
|
4073
|
+
- InSine
|
|
4074
|
+
- OutSine
|
|
4075
|
+
- InOutSine
|
|
4076
|
+
- InExpo
|
|
4077
|
+
- OutExpo
|
|
4078
|
+
- InOutExpo
|
|
4079
|
+
- InCirc
|
|
4080
|
+
- OutCirc
|
|
4081
|
+
- InOutCirc
|
|
4082
|
+
- InBounce
|
|
4083
|
+
- OutBounce
|
|
4084
|
+
- InOutBounce
|
|
4085
|
+
- InBack
|
|
4086
|
+
- OutBack
|
|
4087
|
+
- InOutBack
|
|
4088
|
+
- InElastic
|
|
4089
|
+
- OutElastic
|
|
4090
|
+
- InOutElastic
|
|
4082
4091
|
duration: lf32
|
|
4083
4092
|
position?: vec3f
|
|
4084
4093
|
rotation?: vec2f
|
|
@@ -703,8 +703,9 @@
|
|
|
703
703
|
"16": "minecart_display_block",
|
|
704
704
|
"17": "minecart_display_offset",
|
|
705
705
|
"18": "minecart_has_display",
|
|
706
|
-
"
|
|
707
|
-
"
|
|
706
|
+
"19": "horse_type",
|
|
707
|
+
"20": "creeper_swell",
|
|
708
|
+
"21": "creeper_swell_direction",
|
|
708
709
|
"22": "charge_amount",
|
|
709
710
|
"23": "enderman_held_runtime_id",
|
|
710
711
|
"24": "entity_age",
|
|
@@ -734,7 +735,7 @@
|
|
|
734
735
|
"49": "wither_target_1",
|
|
735
736
|
"50": "wither_target_2",
|
|
736
737
|
"51": "wither_target_3",
|
|
737
|
-
"52": "
|
|
738
|
+
"52": "wither_aerial_attack",
|
|
738
739
|
"53": "boundingbox_width",
|
|
739
740
|
"54": "boundingbox_height",
|
|
740
741
|
"55": "fuse_length",
|
|
@@ -742,7 +743,7 @@
|
|
|
742
743
|
"57": "rider_rotation_locked",
|
|
743
744
|
"58": "rider_max_rotation",
|
|
744
745
|
"59": "rider_min_rotation",
|
|
745
|
-
"60": "
|
|
746
|
+
"60": "rider_seat_rotation_offset",
|
|
746
747
|
"61": "area_effect_cloud_radius",
|
|
747
748
|
"62": "area_effect_cloud_waiting",
|
|
748
749
|
"63": "area_effect_cloud_particle_id",
|
|
@@ -759,7 +760,7 @@
|
|
|
759
760
|
"74": "controlling_rider_seat_number",
|
|
760
761
|
"75": "strength",
|
|
761
762
|
"76": "max_strength",
|
|
762
|
-
"77": "
|
|
763
|
+
"77": "evoker_spell_casting_color",
|
|
763
764
|
"78": "limited_life",
|
|
764
765
|
"79": "armor_stand_pose_index",
|
|
765
766
|
"80": "ender_crystal_time_offset",
|
|
@@ -777,11 +778,11 @@
|
|
|
777
778
|
"92": "flags_extended",
|
|
778
779
|
"93": "laying_amount",
|
|
779
780
|
"94": "laying_amount_previous",
|
|
780
|
-
"95": "
|
|
781
|
-
"96": "
|
|
782
|
-
"97": "
|
|
783
|
-
"98": "
|
|
784
|
-
"99": "
|
|
781
|
+
"95": "area_effect_cloud_duration",
|
|
782
|
+
"96": "area_effect_cloud_spawn_time",
|
|
783
|
+
"97": "area_effect_cloud_change_rate",
|
|
784
|
+
"98": "area_effect_cloud_change_on_pickup",
|
|
785
|
+
"99": "area_effect_cloud_pickup_count",
|
|
785
786
|
"100": "interact_text",
|
|
786
787
|
"101": "trade_tier",
|
|
787
788
|
"102": "max_trade_tier",
|
|
@@ -802,19 +803,18 @@
|
|
|
802
803
|
"117": "nearby_cured_discount_timestamp",
|
|
803
804
|
"118": "hitbox",
|
|
804
805
|
"119": "is_buoyant",
|
|
805
|
-
"120": "
|
|
806
|
-
"121": "
|
|
807
|
-
"122": "
|
|
808
|
-
"123": "
|
|
809
|
-
"124": "
|
|
810
|
-
"125": "
|
|
811
|
-
"126": "
|
|
812
|
-
"127": "
|
|
813
|
-
"128": "
|
|
814
|
-
"129": "
|
|
815
|
-
"130": "
|
|
816
|
-
"131": "
|
|
817
|
-
"132": "visible_mob_effects"
|
|
806
|
+
"120": "freezing_effect_strength",
|
|
807
|
+
"121": "buoyancy_data",
|
|
808
|
+
"122": "goat_horn_count",
|
|
809
|
+
"123": "update_properties",
|
|
810
|
+
"124": "movement_sound_distance_offset",
|
|
811
|
+
"125": "heartbeat_interval_ticks",
|
|
812
|
+
"126": "heartbeat_sound_event",
|
|
813
|
+
"127": "player_last_death_position",
|
|
814
|
+
"128": "player_last_death_dimension",
|
|
815
|
+
"129": "player_has_died",
|
|
816
|
+
"130": "collision_box",
|
|
817
|
+
"131": "visible_mob_effects"
|
|
818
818
|
}
|
|
819
819
|
}
|
|
820
820
|
]
|
|
@@ -4636,7 +4636,16 @@
|
|
|
4636
4636
|
"105": "world_transfer_not_primary_client",
|
|
4637
4637
|
"106": "server_shutdown",
|
|
4638
4638
|
"107": "game_setup_cancelled",
|
|
4639
|
-
"108": "game_setup_failed"
|
|
4639
|
+
"108": "game_setup_failed",
|
|
4640
|
+
"109": "no_venue",
|
|
4641
|
+
"110": "conn_signalling_sign_in_failed",
|
|
4642
|
+
"111": "session_access_denied",
|
|
4643
|
+
"112": "service_sign_in_issue",
|
|
4644
|
+
"113": "conn_no_signaling_channel",
|
|
4645
|
+
"114": "conn_not_logged_in",
|
|
4646
|
+
"115": "conn_client_signalling_error",
|
|
4647
|
+
"116": "sub_client_login_disabled",
|
|
4648
|
+
"117": "deep_link_trying_to_open_demo_world_while_signed_in"
|
|
4640
4649
|
}
|
|
4641
4650
|
}
|
|
4642
4651
|
],
|
|
@@ -9633,7 +9642,10 @@
|
|
|
9633
9642
|
},
|
|
9634
9643
|
{
|
|
9635
9644
|
"name": "molang_variables",
|
|
9636
|
-
"type":
|
|
9645
|
+
"type": [
|
|
9646
|
+
"option",
|
|
9647
|
+
"string"
|
|
9648
|
+
]
|
|
9637
9649
|
}
|
|
9638
9650
|
]
|
|
9639
9651
|
],
|
|
@@ -192,8 +192,9 @@ MetadataDictionary: []varint
|
|
|
192
192
|
16: minecart_display_block #int (id | (data << 16))
|
|
193
193
|
17: minecart_display_offset #int
|
|
194
194
|
18: minecart_has_display #byte (must be 1 for minecart to show block inside)
|
|
195
|
-
|
|
196
|
-
|
|
195
|
+
19: horse_type
|
|
196
|
+
20: creeper_swell
|
|
197
|
+
21: creeper_swell_direction
|
|
197
198
|
22: charge_amount
|
|
198
199
|
23: enderman_held_runtime_id #short
|
|
199
200
|
24: entity_age #short
|
|
@@ -223,7 +224,7 @@ MetadataDictionary: []varint
|
|
|
223
224
|
49: wither_target_1 #long
|
|
224
225
|
50: wither_target_2 #long
|
|
225
226
|
51: wither_target_3 #long
|
|
226
|
-
52:
|
|
227
|
+
52: wither_aerial_attack
|
|
227
228
|
53: boundingbox_width
|
|
228
229
|
54: boundingbox_height
|
|
229
230
|
55: fuse_length
|
|
@@ -231,7 +232,7 @@ MetadataDictionary: []varint
|
|
|
231
232
|
57: rider_rotation_locked #byte
|
|
232
233
|
58: rider_max_rotation #float
|
|
233
234
|
59: rider_min_rotation #float
|
|
234
|
-
60:
|
|
235
|
+
60: rider_seat_rotation_offset
|
|
235
236
|
61: area_effect_cloud_radius #float
|
|
236
237
|
62: area_effect_cloud_waiting #int
|
|
237
238
|
63: area_effect_cloud_particle_id #int
|
|
@@ -248,7 +249,7 @@ MetadataDictionary: []varint
|
|
|
248
249
|
74: controlling_rider_seat_number #byte
|
|
249
250
|
75: strength #int
|
|
250
251
|
76: max_strength #int
|
|
251
|
-
77:
|
|
252
|
+
77: evoker_spell_casting_color #int
|
|
252
253
|
78: limited_life
|
|
253
254
|
79: armor_stand_pose_index # int
|
|
254
255
|
80: ender_crystal_time_offset # int
|
|
@@ -266,11 +267,11 @@ MetadataDictionary: []varint
|
|
|
266
267
|
92: flags_extended
|
|
267
268
|
93: laying_amount
|
|
268
269
|
94: laying_amount_previous
|
|
269
|
-
95:
|
|
270
|
-
96:
|
|
271
|
-
97:
|
|
272
|
-
98:
|
|
273
|
-
99:
|
|
270
|
+
95: area_effect_cloud_duration
|
|
271
|
+
96: area_effect_cloud_spawn_time
|
|
272
|
+
97: area_effect_cloud_change_rate
|
|
273
|
+
98: area_effect_cloud_change_on_pickup
|
|
274
|
+
99: area_effect_cloud_pickup_count
|
|
274
275
|
100: interact_text
|
|
275
276
|
101: trade_tier
|
|
276
277
|
102: max_trade_tier
|
|
@@ -291,19 +292,18 @@ MetadataDictionary: []varint
|
|
|
291
292
|
117: nearby_cured_discount_timestamp
|
|
292
293
|
118: hitbox
|
|
293
294
|
119: is_buoyant
|
|
294
|
-
120:
|
|
295
|
-
121:
|
|
296
|
-
122:
|
|
297
|
-
123:
|
|
298
|
-
124:
|
|
299
|
-
125:
|
|
300
|
-
126:
|
|
301
|
-
127:
|
|
302
|
-
128:
|
|
303
|
-
129:
|
|
304
|
-
130:
|
|
305
|
-
131:
|
|
306
|
-
132: visible_mob_effects
|
|
295
|
+
120: freezing_effect_strength
|
|
296
|
+
121: buoyancy_data
|
|
297
|
+
122: goat_horn_count
|
|
298
|
+
123: update_properties
|
|
299
|
+
124: movement_sound_distance_offset
|
|
300
|
+
125: heartbeat_interval_ticks
|
|
301
|
+
126: heartbeat_sound_event
|
|
302
|
+
127: player_last_death_position
|
|
303
|
+
128: player_last_death_dimension
|
|
304
|
+
129: player_has_died
|
|
305
|
+
130: collision_box
|
|
306
|
+
131: visible_mob_effects # long
|
|
307
307
|
type: varint =>
|
|
308
308
|
0: byte
|
|
309
309
|
1: short
|
|
@@ -518,8 +518,14 @@ TransactionUseItem:
|
|
|
518
518
|
# ActionType is the type of the UseItem inventory transaction. It is one of the action types found above,
|
|
519
519
|
# and specifies the way the player interacted with the block.
|
|
520
520
|
action_type: varint =>
|
|
521
|
+
# Right click item use on a surface like placing a block
|
|
521
522
|
0: click_block
|
|
523
|
+
# Start right click and hold style item use or potentially interact with nothing.
|
|
524
|
+
# If it is a usable item like food the server is expected to send a SetActorDataPacket with ActorFlags::USINGITEM along with the transaction response.
|
|
525
|
+
# While using an item, movement speed is slowed which will be reflected in the move vector in Player Auth Input.
|
|
522
526
|
1: click_air
|
|
527
|
+
# Block breaking like left click. When using server auth block breaking as specified in StartGamePacket this is never sent.
|
|
528
|
+
# Instead, block actions are supplied in Player Auth Input.
|
|
523
529
|
2: break_block
|
|
524
530
|
# TriggerType is the type of the trigger that caused the inventory transaction. It is one of the trigger
|
|
525
531
|
# types found in the constants above. If TriggerType is TriggerTypePlayerInput, the transaction is from
|
|
@@ -604,10 +610,19 @@ Transaction:
|
|
|
604
610
|
legacy: TransactionLegacy
|
|
605
611
|
# What type of transaction took place
|
|
606
612
|
transaction_type: varint =>
|
|
613
|
+
# Sent for container UI operations depending on if ItemStackNetManager is enabled
|
|
607
614
|
0: normal
|
|
615
|
+
# Sent from server to client to reject a transaction
|
|
608
616
|
1: inventory_mismatch
|
|
617
|
+
# Sent for a player performing right click style item use.
|
|
618
|
+
# See the contained ItemUseInventoryTransaction::ActionType for the expected use case.
|
|
609
619
|
2: item_use
|
|
620
|
+
# Sent for a player right clicking on an entity or attacking them.
|
|
621
|
+
# See ItemUseInventoryTransaction::ActionType for which it is.
|
|
610
622
|
3: item_use_on_entity
|
|
623
|
+
# Sent when releasing right click on a chargeable item like a bow or finishing charging like a crossbow.
|
|
624
|
+
# This is different than canceling item use early which would be in Player Auth Input.
|
|
625
|
+
# See ItemReleaseInventoryTransaction::ActionType for which it is.
|
|
611
626
|
4: item_release
|
|
612
627
|
# The list of inventory internal actions in this packet, e.g. inventory GUI actions
|
|
613
628
|
actions: TransactionActions
|
|
@@ -626,7 +641,9 @@ Transaction:
|
|
|
626
641
|
# ActionType is the type of the UseItemOnEntity inventory transaction. It is one of the action types
|
|
627
642
|
# found in the constants above, and specifies the way the player interacted with the entity.
|
|
628
643
|
action_type: varint =>
|
|
644
|
+
# Right click interact with actor.
|
|
629
645
|
0: interact
|
|
646
|
+
# Left click style attack of actor or elytra spin attack. Server is expected to deal damage to the entity with visuals.
|
|
630
647
|
1: attack
|
|
631
648
|
# HotBarSlot is the hot bar slot that the player was holding while clicking the entity. It should be used
|
|
632
649
|
# to ensure that the hot bar slot and held item are correctly synchronised with the server.
|
|
@@ -647,7 +664,9 @@ Transaction:
|
|
|
647
664
|
# As of 1.13, the ActionType is always 0. This field can be ignored, because releasing food (by consuming
|
|
648
665
|
# it) or releasing a bow (to shoot an arrow) is essentially the same.
|
|
649
666
|
action_type: varint =>
|
|
667
|
+
# Release right click and hold style item use, like firing a bow
|
|
650
668
|
0: release
|
|
669
|
+
# Finish right click and hold style item use, like charging a crossbow
|
|
651
670
|
1: consume
|
|
652
671
|
# HotBarSlot is the hot bar slot that the player was holding while releasing the item. It should be used
|
|
653
672
|
# to ensure that the hot bar slot and held item are correctly synchronised with the server.
|
|
@@ -2399,6 +2418,15 @@ DisconnectFailReason: zigzag32 =>
|
|
|
2399
2418
|
- server_shutdown
|
|
2400
2419
|
- game_setup_cancelled
|
|
2401
2420
|
- game_setup_failed
|
|
2421
|
+
- no_venue
|
|
2422
|
+
- conn_signalling_sign_in_failed
|
|
2423
|
+
- session_access_denied
|
|
2424
|
+
- service_sign_in_issue
|
|
2425
|
+
- conn_no_signaling_channel
|
|
2426
|
+
- conn_not_logged_in
|
|
2427
|
+
- conn_client_signalling_error
|
|
2428
|
+
- sub_client_login_disabled
|
|
2429
|
+
- deep_link_trying_to_open_demo_world_while_signed_in
|
|
2402
2430
|
|
|
2403
2431
|
FullContainerName:
|
|
2404
2432
|
container_id: ContainerSlotType
|
|
@@ -1171,13 +1171,23 @@ packet_animate:
|
|
|
1171
1171
|
!id: 0x2c
|
|
1172
1172
|
!bound: both
|
|
1173
1173
|
action_id: zigzag32 =>
|
|
1174
|
+
# Unused
|
|
1174
1175
|
0: none
|
|
1176
|
+
# Server bound notification to swing the player's arm. Server is expected to rebroadcast to all that should see the arm move.
|
|
1177
|
+
# See also PlayerAuthInputPacket::InputData::MissedSwing for a very similar action
|
|
1175
1178
|
1: swing_arm
|
|
1176
1179
|
2: unknown
|
|
1180
|
+
# Client bound notification to stop sleeping in a bed
|
|
1177
1181
|
3: wake_up
|
|
1182
|
+
# Client-bound notification to play critical hit particles
|
|
1178
1183
|
4: critical_hit
|
|
1184
|
+
# Unused
|
|
1179
1185
|
5: magic_critical_hit
|
|
1186
|
+
# Sent every tick the client is in a boat exclusively in legacy client authoritative movement.
|
|
1187
|
+
# See Player Auth Input for how to compute this in the latest protocol.
|
|
1180
1188
|
128: row_right
|
|
1189
|
+
# Sent every tick the client is in a boat exclusively in legacy client authoritative movement.
|
|
1190
|
+
# See Player Auth Input for how to compute this in the latest protocol.
|
|
1181
1191
|
129: row_left
|
|
1182
1192
|
runtime_entity_id: varint64
|
|
1183
1193
|
_: action_id ?
|
|
@@ -2687,8 +2697,7 @@ packet_spawn_particle_effect:
|
|
|
2687
2697
|
particle_name: string
|
|
2688
2698
|
# MoLangVariables is an encoded JSON map of MoLang variables that may be applicable to the particle spawn. This can
|
|
2689
2699
|
# just be left empty in most cases.
|
|
2690
|
-
|
|
2691
|
-
molang_variables: ByteArray
|
|
2700
|
+
molang_variables?: string
|
|
2692
2701
|
|
|
2693
2702
|
# AvailableActorIdentifiers is sent by the server at the start of the game to let the client know all
|
|
2694
2703
|
# entities that are available on the server.
|
|
@@ -4059,38 +4068,38 @@ packet_camera_instruction:
|
|
|
4059
4068
|
# Ease represents the easing function that is used by the instruction.
|
|
4060
4069
|
ease_data?:
|
|
4061
4070
|
type: u8 =>
|
|
4062
|
-
|
|
4063
|
-
|
|
4064
|
-
|
|
4065
|
-
|
|
4066
|
-
|
|
4067
|
-
|
|
4068
|
-
|
|
4069
|
-
|
|
4070
|
-
|
|
4071
|
-
|
|
4072
|
-
|
|
4073
|
-
|
|
4074
|
-
|
|
4075
|
-
|
|
4076
|
-
|
|
4077
|
-
|
|
4078
|
-
|
|
4079
|
-
|
|
4080
|
-
|
|
4081
|
-
|
|
4082
|
-
|
|
4083
|
-
|
|
4084
|
-
|
|
4085
|
-
|
|
4086
|
-
|
|
4087
|
-
|
|
4088
|
-
|
|
4089
|
-
|
|
4090
|
-
|
|
4091
|
-
|
|
4092
|
-
|
|
4093
|
-
|
|
4071
|
+
- Linear
|
|
4072
|
+
- Spring
|
|
4073
|
+
- InQuad
|
|
4074
|
+
- OutQuad
|
|
4075
|
+
- InOutQuad
|
|
4076
|
+
- InCubic
|
|
4077
|
+
- OutCubic
|
|
4078
|
+
- InOutCubic
|
|
4079
|
+
- InQuart
|
|
4080
|
+
- OutQuart
|
|
4081
|
+
- InOutQuart
|
|
4082
|
+
- InQuint
|
|
4083
|
+
- OutQuint
|
|
4084
|
+
- InOutQuint
|
|
4085
|
+
- InSine
|
|
4086
|
+
- OutSine
|
|
4087
|
+
- InOutSine
|
|
4088
|
+
- InExpo
|
|
4089
|
+
- OutExpo
|
|
4090
|
+
- InOutExpo
|
|
4091
|
+
- InCirc
|
|
4092
|
+
- OutCirc
|
|
4093
|
+
- InOutCirc
|
|
4094
|
+
- InBounce
|
|
4095
|
+
- OutBounce
|
|
4096
|
+
- InOutBounce
|
|
4097
|
+
- InBack
|
|
4098
|
+
- OutBack
|
|
4099
|
+
- InOutBack
|
|
4100
|
+
- InElastic
|
|
4101
|
+
- OutElastic
|
|
4102
|
+
- InOutElastic
|
|
4094
4103
|
duration: lf32
|
|
4095
4104
|
position?: vec3f
|
|
4096
4105
|
rotation?: vec2f
|
|
@@ -4099,6 +4108,7 @@ packet_camera_instruction:
|
|
|
4099
4108
|
# ViewOffset is only used in a follow_orbit camera and controls an offset based on a pivot point to the
|
|
4100
4109
|
# player, causing it to be shifted in a certain direction.
|
|
4101
4110
|
offset?: vec2f
|
|
4111
|
+
entity_offset?: vec3f
|
|
4102
4112
|
default?: bool
|
|
4103
4113
|
# Clear can be set to true to clear all the current camera instructions.
|
|
4104
4114
|
clear?: bool
|
|
@@ -707,8 +707,9 @@
|
|
|
707
707
|
"16": "minecart_display_block",
|
|
708
708
|
"17": "minecart_display_offset",
|
|
709
709
|
"18": "minecart_has_display",
|
|
710
|
-
"
|
|
711
|
-
"
|
|
710
|
+
"19": "horse_type",
|
|
711
|
+
"20": "creeper_swell",
|
|
712
|
+
"21": "creeper_swell_direction",
|
|
712
713
|
"22": "charge_amount",
|
|
713
714
|
"23": "enderman_held_runtime_id",
|
|
714
715
|
"24": "entity_age",
|
|
@@ -738,7 +739,7 @@
|
|
|
738
739
|
"49": "wither_target_1",
|
|
739
740
|
"50": "wither_target_2",
|
|
740
741
|
"51": "wither_target_3",
|
|
741
|
-
"52": "
|
|
742
|
+
"52": "wither_aerial_attack",
|
|
742
743
|
"53": "boundingbox_width",
|
|
743
744
|
"54": "boundingbox_height",
|
|
744
745
|
"55": "fuse_length",
|
|
@@ -746,7 +747,7 @@
|
|
|
746
747
|
"57": "rider_rotation_locked",
|
|
747
748
|
"58": "rider_max_rotation",
|
|
748
749
|
"59": "rider_min_rotation",
|
|
749
|
-
"60": "
|
|
750
|
+
"60": "rider_seat_rotation_offset",
|
|
750
751
|
"61": "area_effect_cloud_radius",
|
|
751
752
|
"62": "area_effect_cloud_waiting",
|
|
752
753
|
"63": "area_effect_cloud_particle_id",
|
|
@@ -763,7 +764,7 @@
|
|
|
763
764
|
"74": "controlling_rider_seat_number",
|
|
764
765
|
"75": "strength",
|
|
765
766
|
"76": "max_strength",
|
|
766
|
-
"77": "
|
|
767
|
+
"77": "evoker_spell_casting_color",
|
|
767
768
|
"78": "limited_life",
|
|
768
769
|
"79": "armor_stand_pose_index",
|
|
769
770
|
"80": "ender_crystal_time_offset",
|
|
@@ -781,11 +782,11 @@
|
|
|
781
782
|
"92": "flags_extended",
|
|
782
783
|
"93": "laying_amount",
|
|
783
784
|
"94": "laying_amount_previous",
|
|
784
|
-
"95": "
|
|
785
|
-
"96": "
|
|
786
|
-
"97": "
|
|
787
|
-
"98": "
|
|
788
|
-
"99": "
|
|
785
|
+
"95": "area_effect_cloud_duration",
|
|
786
|
+
"96": "area_effect_cloud_spawn_time",
|
|
787
|
+
"97": "area_effect_cloud_change_rate",
|
|
788
|
+
"98": "area_effect_cloud_change_on_pickup",
|
|
789
|
+
"99": "area_effect_cloud_pickup_count",
|
|
789
790
|
"100": "interact_text",
|
|
790
791
|
"101": "trade_tier",
|
|
791
792
|
"102": "max_trade_tier",
|
|
@@ -806,19 +807,18 @@
|
|
|
806
807
|
"117": "nearby_cured_discount_timestamp",
|
|
807
808
|
"118": "hitbox",
|
|
808
809
|
"119": "is_buoyant",
|
|
809
|
-
"120": "
|
|
810
|
-
"121": "
|
|
811
|
-
"122": "
|
|
812
|
-
"123": "
|
|
813
|
-
"124": "
|
|
814
|
-
"125": "
|
|
815
|
-
"126": "
|
|
816
|
-
"127": "
|
|
817
|
-
"128": "
|
|
818
|
-
"129": "
|
|
819
|
-
"130": "
|
|
820
|
-
"131": "
|
|
821
|
-
"132": "visible_mob_effects"
|
|
810
|
+
"120": "freezing_effect_strength",
|
|
811
|
+
"121": "buoyancy_data",
|
|
812
|
+
"122": "goat_horn_count",
|
|
813
|
+
"123": "update_properties",
|
|
814
|
+
"124": "movement_sound_distance_offset",
|
|
815
|
+
"125": "heartbeat_interval_ticks",
|
|
816
|
+
"126": "heartbeat_sound_event",
|
|
817
|
+
"127": "player_last_death_position",
|
|
818
|
+
"128": "player_last_death_dimension",
|
|
819
|
+
"129": "player_has_died",
|
|
820
|
+
"130": "collision_box",
|
|
821
|
+
"131": "visible_mob_effects"
|
|
822
822
|
}
|
|
823
823
|
}
|
|
824
824
|
]
|
|
@@ -4669,7 +4669,16 @@
|
|
|
4669
4669
|
"105": "world_transfer_not_primary_client",
|
|
4670
4670
|
"106": "server_shutdown",
|
|
4671
4671
|
"107": "game_setup_cancelled",
|
|
4672
|
-
"108": "game_setup_failed"
|
|
4672
|
+
"108": "game_setup_failed",
|
|
4673
|
+
"109": "no_venue",
|
|
4674
|
+
"110": "conn_signalling_sign_in_failed",
|
|
4675
|
+
"111": "session_access_denied",
|
|
4676
|
+
"112": "service_sign_in_issue",
|
|
4677
|
+
"113": "conn_no_signaling_channel",
|
|
4678
|
+
"114": "conn_not_logged_in",
|
|
4679
|
+
"115": "conn_client_signalling_error",
|
|
4680
|
+
"116": "sub_client_login_disabled",
|
|
4681
|
+
"117": "deep_link_trying_to_open_demo_world_while_signed_in"
|
|
4673
4682
|
}
|
|
4674
4683
|
}
|
|
4675
4684
|
],
|
|
@@ -9658,7 +9667,10 @@
|
|
|
9658
9667
|
},
|
|
9659
9668
|
{
|
|
9660
9669
|
"name": "molang_variables",
|
|
9661
|
-
"type":
|
|
9670
|
+
"type": [
|
|
9671
|
+
"option",
|
|
9672
|
+
"string"
|
|
9673
|
+
]
|
|
9662
9674
|
}
|
|
9663
9675
|
]
|
|
9664
9676
|
],
|
|
@@ -12258,6 +12270,13 @@
|
|
|
12258
12270
|
"vec2f"
|
|
12259
12271
|
]
|
|
12260
12272
|
},
|
|
12273
|
+
{
|
|
12274
|
+
"name": "entity_offset",
|
|
12275
|
+
"type": [
|
|
12276
|
+
"option",
|
|
12277
|
+
"vec3f"
|
|
12278
|
+
]
|
|
12279
|
+
},
|
|
12261
12280
|
{
|
|
12262
12281
|
"name": "default",
|
|
12263
12282
|
"type": [
|