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
|
@@ -0,0 +1,1202 @@
|
|
|
1
|
+
!version: 1.12
|
|
2
|
+
|
|
3
|
+
^types:
|
|
4
|
+
varint: native
|
|
5
|
+
varlong: native
|
|
6
|
+
pstring: native
|
|
7
|
+
u16: native
|
|
8
|
+
u8: native
|
|
9
|
+
i64: native
|
|
10
|
+
buffer: native
|
|
11
|
+
i32: native
|
|
12
|
+
i8: native
|
|
13
|
+
bool: native
|
|
14
|
+
i16: native
|
|
15
|
+
f32: native
|
|
16
|
+
f64: native
|
|
17
|
+
UUID: native
|
|
18
|
+
option: native
|
|
19
|
+
entityMetadataLoop: native
|
|
20
|
+
bitfield: native
|
|
21
|
+
container: native
|
|
22
|
+
switch: native
|
|
23
|
+
void: native
|
|
24
|
+
array: native
|
|
25
|
+
restBuffer: native
|
|
26
|
+
nbt: native
|
|
27
|
+
optionalNbt: native
|
|
28
|
+
string: [
|
|
29
|
+
"pstring",
|
|
30
|
+
{
|
|
31
|
+
"countType": "varint"
|
|
32
|
+
}
|
|
33
|
+
]
|
|
34
|
+
slot:
|
|
35
|
+
blockId: i16
|
|
36
|
+
_: blockId ?
|
|
37
|
+
if -1: void
|
|
38
|
+
default:
|
|
39
|
+
itemCount: i8
|
|
40
|
+
itemDamage: i16
|
|
41
|
+
nbtData: optionalNbt
|
|
42
|
+
position: [
|
|
43
|
+
"bitfield",
|
|
44
|
+
[
|
|
45
|
+
{
|
|
46
|
+
"name": "x",
|
|
47
|
+
"size": 26,
|
|
48
|
+
"signed": true
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"name": "y",
|
|
52
|
+
"size": 12,
|
|
53
|
+
"signed": true
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
"name": "z",
|
|
57
|
+
"size": 26,
|
|
58
|
+
"signed": true
|
|
59
|
+
}
|
|
60
|
+
]
|
|
61
|
+
]
|
|
62
|
+
entityMetadataItem: $compareTo ?
|
|
63
|
+
if 0: i8
|
|
64
|
+
if 1: varint
|
|
65
|
+
if 2: f32
|
|
66
|
+
if 3: string
|
|
67
|
+
if 4: string
|
|
68
|
+
if 5: slot
|
|
69
|
+
if 6: bool
|
|
70
|
+
if 7:
|
|
71
|
+
pitch: f32
|
|
72
|
+
yaw: f32
|
|
73
|
+
roll: f32
|
|
74
|
+
if 8: position
|
|
75
|
+
if 9: [
|
|
76
|
+
"option",
|
|
77
|
+
"position"
|
|
78
|
+
]
|
|
79
|
+
if 10: varint
|
|
80
|
+
if 11: [
|
|
81
|
+
"option",
|
|
82
|
+
"UUID"
|
|
83
|
+
]
|
|
84
|
+
if 12: varint
|
|
85
|
+
if 13: nbt
|
|
86
|
+
entityMetadata: [
|
|
87
|
+
"entityMetadataLoop",
|
|
88
|
+
{
|
|
89
|
+
"endVal": 255,
|
|
90
|
+
"type": [
|
|
91
|
+
"container",
|
|
92
|
+
[
|
|
93
|
+
{
|
|
94
|
+
"anon": true,
|
|
95
|
+
"type": [
|
|
96
|
+
"container",
|
|
97
|
+
[
|
|
98
|
+
{
|
|
99
|
+
"name": "key",
|
|
100
|
+
"type": "u8"
|
|
101
|
+
},
|
|
102
|
+
{
|
|
103
|
+
"name": "type",
|
|
104
|
+
"type": "i8"
|
|
105
|
+
}
|
|
106
|
+
]
|
|
107
|
+
]
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
"name": "value",
|
|
111
|
+
"type": [
|
|
112
|
+
"entityMetadataItem",
|
|
113
|
+
{
|
|
114
|
+
"compareTo": "type"
|
|
115
|
+
}
|
|
116
|
+
]
|
|
117
|
+
}
|
|
118
|
+
]
|
|
119
|
+
]
|
|
120
|
+
}
|
|
121
|
+
]
|
|
122
|
+
|
|
123
|
+
^handshaking.toClient.types:
|
|
124
|
+
packet:
|
|
125
|
+
name: varint =>
|
|
126
|
+
params: ["switch",{"compareTo":"name","fields":{}}]
|
|
127
|
+
|
|
128
|
+
^handshaking.toServer.types:
|
|
129
|
+
packet_set_protocol:
|
|
130
|
+
protocolVersion: varint
|
|
131
|
+
serverHost: string
|
|
132
|
+
serverPort: u16
|
|
133
|
+
nextState: varint
|
|
134
|
+
packet_legacy_server_list_ping:
|
|
135
|
+
payload: u8
|
|
136
|
+
packet:
|
|
137
|
+
name: varint =>
|
|
138
|
+
0x00: set_protocol
|
|
139
|
+
0xfe: legacy_server_list_ping
|
|
140
|
+
params: name ?
|
|
141
|
+
if set_protocol: packet_set_protocol
|
|
142
|
+
if legacy_server_list_ping: packet_legacy_server_list_ping
|
|
143
|
+
|
|
144
|
+
^status.toClient.types:
|
|
145
|
+
packet_server_info:
|
|
146
|
+
response: string
|
|
147
|
+
packet_ping:
|
|
148
|
+
time: i64
|
|
149
|
+
packet:
|
|
150
|
+
name: varint =>
|
|
151
|
+
0x00: server_info
|
|
152
|
+
0x01: ping
|
|
153
|
+
params: name ?
|
|
154
|
+
if server_info: packet_server_info
|
|
155
|
+
if ping: packet_ping
|
|
156
|
+
|
|
157
|
+
^status.toServer.types:
|
|
158
|
+
packet_ping_start:
|
|
159
|
+
# Empty
|
|
160
|
+
packet_ping:
|
|
161
|
+
time: i64
|
|
162
|
+
packet:
|
|
163
|
+
name: varint =>
|
|
164
|
+
0x00: ping_start
|
|
165
|
+
0x01: ping
|
|
166
|
+
params: name ?
|
|
167
|
+
if ping_start: packet_ping_start
|
|
168
|
+
if ping: packet_ping
|
|
169
|
+
|
|
170
|
+
^login.toClient.types:
|
|
171
|
+
packet_disconnect:
|
|
172
|
+
reason: string
|
|
173
|
+
packet_encryption_begin:
|
|
174
|
+
serverId: string
|
|
175
|
+
publicKey: [
|
|
176
|
+
"buffer",
|
|
177
|
+
{
|
|
178
|
+
"countType": "varint"
|
|
179
|
+
}
|
|
180
|
+
]
|
|
181
|
+
verifyToken: [
|
|
182
|
+
"buffer",
|
|
183
|
+
{
|
|
184
|
+
"countType": "varint"
|
|
185
|
+
}
|
|
186
|
+
]
|
|
187
|
+
packet_success:
|
|
188
|
+
uuid: string
|
|
189
|
+
username: string
|
|
190
|
+
packet_compress:
|
|
191
|
+
threshold: varint
|
|
192
|
+
packet:
|
|
193
|
+
name: varint =>
|
|
194
|
+
0x00: disconnect
|
|
195
|
+
0x01: encryption_begin
|
|
196
|
+
0x02: success
|
|
197
|
+
0x03: compress
|
|
198
|
+
params: name ?
|
|
199
|
+
if disconnect: packet_disconnect
|
|
200
|
+
if encryption_begin: packet_encryption_begin
|
|
201
|
+
if success: packet_success
|
|
202
|
+
if compress: packet_compress
|
|
203
|
+
|
|
204
|
+
^login.toServer.types:
|
|
205
|
+
packet_login_start:
|
|
206
|
+
username: string
|
|
207
|
+
packet_encryption_begin:
|
|
208
|
+
sharedSecret: [
|
|
209
|
+
"buffer",
|
|
210
|
+
{
|
|
211
|
+
"countType": "varint"
|
|
212
|
+
}
|
|
213
|
+
]
|
|
214
|
+
verifyToken: [
|
|
215
|
+
"buffer",
|
|
216
|
+
{
|
|
217
|
+
"countType": "varint"
|
|
218
|
+
}
|
|
219
|
+
]
|
|
220
|
+
packet:
|
|
221
|
+
name: varint =>
|
|
222
|
+
0x00: login_start
|
|
223
|
+
0x01: encryption_begin
|
|
224
|
+
params: name ?
|
|
225
|
+
if login_start: packet_login_start
|
|
226
|
+
if encryption_begin: packet_encryption_begin
|
|
227
|
+
|
|
228
|
+
^play.toClient.types:
|
|
229
|
+
packet_spawn_entity:
|
|
230
|
+
entityId: varint
|
|
231
|
+
objectUUID: UUID
|
|
232
|
+
type: i8
|
|
233
|
+
x: f64
|
|
234
|
+
y: f64
|
|
235
|
+
z: f64
|
|
236
|
+
pitch: i8
|
|
237
|
+
yaw: i8
|
|
238
|
+
objectData: i32
|
|
239
|
+
velocityX: i16
|
|
240
|
+
velocityY: i16
|
|
241
|
+
velocityZ: i16
|
|
242
|
+
packet_spawn_entity_experience_orb:
|
|
243
|
+
entityId: varint
|
|
244
|
+
x: f64
|
|
245
|
+
y: f64
|
|
246
|
+
z: f64
|
|
247
|
+
count: i16
|
|
248
|
+
packet_spawn_entity_weather:
|
|
249
|
+
entityId: varint
|
|
250
|
+
type: i8
|
|
251
|
+
x: f64
|
|
252
|
+
y: f64
|
|
253
|
+
z: f64
|
|
254
|
+
packet_spawn_entity_living:
|
|
255
|
+
entityId: varint
|
|
256
|
+
entityUUID: UUID
|
|
257
|
+
type: varint
|
|
258
|
+
x: f64
|
|
259
|
+
y: f64
|
|
260
|
+
z: f64
|
|
261
|
+
yaw: i8
|
|
262
|
+
pitch: i8
|
|
263
|
+
headPitch: i8
|
|
264
|
+
velocityX: i16
|
|
265
|
+
velocityY: i16
|
|
266
|
+
velocityZ: i16
|
|
267
|
+
metadata: entityMetadata
|
|
268
|
+
packet_spawn_entity_painting:
|
|
269
|
+
entityId: varint
|
|
270
|
+
entityUUID: UUID
|
|
271
|
+
title: string
|
|
272
|
+
location: position
|
|
273
|
+
direction: u8
|
|
274
|
+
packet_named_entity_spawn:
|
|
275
|
+
entityId: varint
|
|
276
|
+
playerUUID: UUID
|
|
277
|
+
x: f64
|
|
278
|
+
y: f64
|
|
279
|
+
z: f64
|
|
280
|
+
yaw: i8
|
|
281
|
+
pitch: i8
|
|
282
|
+
metadata: entityMetadata
|
|
283
|
+
packet_animation:
|
|
284
|
+
entityId: varint
|
|
285
|
+
animation: u8
|
|
286
|
+
packet_statistics:
|
|
287
|
+
entries: []varint
|
|
288
|
+
name: string
|
|
289
|
+
value: varint
|
|
290
|
+
packet_advancements:
|
|
291
|
+
reset: bool
|
|
292
|
+
advancementMapping: []varint
|
|
293
|
+
key: string
|
|
294
|
+
value:
|
|
295
|
+
parentId?: string
|
|
296
|
+
displayData?:
|
|
297
|
+
title: string
|
|
298
|
+
description: string
|
|
299
|
+
icon: slot
|
|
300
|
+
frameType: varint
|
|
301
|
+
flags: [
|
|
302
|
+
"bitfield",
|
|
303
|
+
[
|
|
304
|
+
{
|
|
305
|
+
"name": "_unused",
|
|
306
|
+
"size": 29,
|
|
307
|
+
"signed": false
|
|
308
|
+
},
|
|
309
|
+
{
|
|
310
|
+
"name": "hidden",
|
|
311
|
+
"size": 1,
|
|
312
|
+
"signed": false
|
|
313
|
+
},
|
|
314
|
+
{
|
|
315
|
+
"name": "show_toast",
|
|
316
|
+
"size": 1,
|
|
317
|
+
"signed": false
|
|
318
|
+
},
|
|
319
|
+
{
|
|
320
|
+
"name": "has_background_texture",
|
|
321
|
+
"size": 1,
|
|
322
|
+
"signed": false
|
|
323
|
+
}
|
|
324
|
+
]
|
|
325
|
+
]
|
|
326
|
+
backgroundTexture: flags/has_background_texture ?
|
|
327
|
+
if 1: string
|
|
328
|
+
default: void
|
|
329
|
+
xCord: f32
|
|
330
|
+
yCord: f32
|
|
331
|
+
criteria: []varint
|
|
332
|
+
key: string
|
|
333
|
+
value: void
|
|
334
|
+
requirements: []varint
|
|
335
|
+
_: string[]varint
|
|
336
|
+
identifiers: string[]varint
|
|
337
|
+
progressMapping: []varint
|
|
338
|
+
key: string
|
|
339
|
+
value: []varint
|
|
340
|
+
criterionIdentifier: string
|
|
341
|
+
criterionProgress?: i64
|
|
342
|
+
packet_block_break_animation:
|
|
343
|
+
entityId: varint
|
|
344
|
+
location: position
|
|
345
|
+
destroyStage: i8
|
|
346
|
+
packet_tile_entity_data:
|
|
347
|
+
location: position
|
|
348
|
+
action: u8
|
|
349
|
+
nbtData: optionalNbt
|
|
350
|
+
packet_block_action:
|
|
351
|
+
location: position
|
|
352
|
+
byte1: u8
|
|
353
|
+
byte2: u8
|
|
354
|
+
blockId: varint
|
|
355
|
+
packet_block_change:
|
|
356
|
+
location: position
|
|
357
|
+
type: varint
|
|
358
|
+
packet_boss_bar:
|
|
359
|
+
entityUUID: UUID
|
|
360
|
+
action: varint
|
|
361
|
+
title: action ?
|
|
362
|
+
if 0: string
|
|
363
|
+
if 3: string
|
|
364
|
+
default: void
|
|
365
|
+
health: action ?
|
|
366
|
+
if 0: f32
|
|
367
|
+
if 2: f32
|
|
368
|
+
default: void
|
|
369
|
+
color: action ?
|
|
370
|
+
if 0: varint
|
|
371
|
+
if 4: varint
|
|
372
|
+
default: void
|
|
373
|
+
dividers: action ?
|
|
374
|
+
if 0: varint
|
|
375
|
+
if 4: varint
|
|
376
|
+
default: void
|
|
377
|
+
flags: action ?
|
|
378
|
+
if 0: u8
|
|
379
|
+
if 5: u8
|
|
380
|
+
default: void
|
|
381
|
+
packet_difficulty:
|
|
382
|
+
difficulty: u8
|
|
383
|
+
packet_tab_complete:
|
|
384
|
+
matches: string[]varint
|
|
385
|
+
packet_chat:
|
|
386
|
+
message: string
|
|
387
|
+
position: i8
|
|
388
|
+
packet_multi_block_change:
|
|
389
|
+
chunkX: i32
|
|
390
|
+
chunkZ: i32
|
|
391
|
+
records: []varint
|
|
392
|
+
horizontalPos: u8
|
|
393
|
+
y: u8
|
|
394
|
+
blockId: varint
|
|
395
|
+
packet_transaction:
|
|
396
|
+
windowId: i8
|
|
397
|
+
action: i16
|
|
398
|
+
accepted: bool
|
|
399
|
+
packet_close_window:
|
|
400
|
+
windowId: u8
|
|
401
|
+
packet_open_window:
|
|
402
|
+
windowId: u8
|
|
403
|
+
inventoryType: string
|
|
404
|
+
windowTitle: string
|
|
405
|
+
slotCount: u8
|
|
406
|
+
entityId: inventoryType ?
|
|
407
|
+
if EntityHorse: i32
|
|
408
|
+
default: void
|
|
409
|
+
packet_window_items:
|
|
410
|
+
windowId: u8
|
|
411
|
+
items: slot[]i16
|
|
412
|
+
packet_craft_progress_bar:
|
|
413
|
+
windowId: u8
|
|
414
|
+
property: i16
|
|
415
|
+
value: i16
|
|
416
|
+
packet_set_slot:
|
|
417
|
+
windowId: i8
|
|
418
|
+
slot: i16
|
|
419
|
+
item: slot
|
|
420
|
+
packet_set_cooldown:
|
|
421
|
+
itemID: varint
|
|
422
|
+
cooldownTicks: varint
|
|
423
|
+
packet_custom_payload:
|
|
424
|
+
channel: string
|
|
425
|
+
data: restBuffer
|
|
426
|
+
packet_named_sound_effect:
|
|
427
|
+
soundName: string
|
|
428
|
+
soundCategory: varint
|
|
429
|
+
x: i32
|
|
430
|
+
y: i32
|
|
431
|
+
z: i32
|
|
432
|
+
volume: f32
|
|
433
|
+
pitch: f32
|
|
434
|
+
packet_kick_disconnect:
|
|
435
|
+
reason: string
|
|
436
|
+
packet_entity_status:
|
|
437
|
+
entityId: i32
|
|
438
|
+
entityStatus: i8
|
|
439
|
+
packet_explosion:
|
|
440
|
+
x: f32
|
|
441
|
+
y: f32
|
|
442
|
+
z: f32
|
|
443
|
+
radius: f32
|
|
444
|
+
affectedBlockOffsets: []i32
|
|
445
|
+
x: i8
|
|
446
|
+
y: i8
|
|
447
|
+
z: i8
|
|
448
|
+
playerMotionX: f32
|
|
449
|
+
playerMotionY: f32
|
|
450
|
+
playerMotionZ: f32
|
|
451
|
+
packet_unload_chunk:
|
|
452
|
+
chunkX: i32
|
|
453
|
+
chunkZ: i32
|
|
454
|
+
packet_game_state_change:
|
|
455
|
+
reason: u8
|
|
456
|
+
gameMode: f32
|
|
457
|
+
packet_keep_alive:
|
|
458
|
+
keepAliveId: varint
|
|
459
|
+
packet_map_chunk:
|
|
460
|
+
x: i32
|
|
461
|
+
z: i32
|
|
462
|
+
groundUp: bool
|
|
463
|
+
bitMap: varint
|
|
464
|
+
chunkData: [
|
|
465
|
+
"buffer",
|
|
466
|
+
{
|
|
467
|
+
"countType": "varint"
|
|
468
|
+
}
|
|
469
|
+
]
|
|
470
|
+
blockEntities: nbt[]varint
|
|
471
|
+
packet_world_event:
|
|
472
|
+
effectId: i32
|
|
473
|
+
location: position
|
|
474
|
+
data: i32
|
|
475
|
+
global: bool
|
|
476
|
+
packet_world_particles:
|
|
477
|
+
particleId: i32
|
|
478
|
+
longDistance: bool
|
|
479
|
+
x: f32
|
|
480
|
+
y: f32
|
|
481
|
+
z: f32
|
|
482
|
+
offsetX: f32
|
|
483
|
+
offsetY: f32
|
|
484
|
+
offsetZ: f32
|
|
485
|
+
particleData: f32
|
|
486
|
+
particles: i32
|
|
487
|
+
data: particleId ?
|
|
488
|
+
if 36: varint[]$2
|
|
489
|
+
if 37: varint[]$1
|
|
490
|
+
if 38: varint[]$1
|
|
491
|
+
default: void
|
|
492
|
+
packet_login:
|
|
493
|
+
entityId: i32
|
|
494
|
+
gameMode: u8
|
|
495
|
+
dimension: i32
|
|
496
|
+
difficulty: u8
|
|
497
|
+
maxPlayers: u8
|
|
498
|
+
levelType: string
|
|
499
|
+
reducedDebugInfo: bool
|
|
500
|
+
packet_map:
|
|
501
|
+
itemDamage: varint
|
|
502
|
+
scale: i8
|
|
503
|
+
trackingPosition: bool
|
|
504
|
+
icons: []varint
|
|
505
|
+
directionAndType: i8
|
|
506
|
+
x: i8
|
|
507
|
+
z: i8
|
|
508
|
+
columns: i8
|
|
509
|
+
rows: columns ?
|
|
510
|
+
if 0: void
|
|
511
|
+
default: i8
|
|
512
|
+
x: columns ?
|
|
513
|
+
if 0: void
|
|
514
|
+
default: i8
|
|
515
|
+
y: columns ?
|
|
516
|
+
if 0: void
|
|
517
|
+
default: i8
|
|
518
|
+
data: columns ?
|
|
519
|
+
if 0: void
|
|
520
|
+
default: [
|
|
521
|
+
"buffer",
|
|
522
|
+
{
|
|
523
|
+
"countType": "varint"
|
|
524
|
+
}
|
|
525
|
+
]
|
|
526
|
+
packet_rel_entity_move:
|
|
527
|
+
entityId: varint
|
|
528
|
+
dX: i16
|
|
529
|
+
dY: i16
|
|
530
|
+
dZ: i16
|
|
531
|
+
onGround: bool
|
|
532
|
+
packet_entity_move_look:
|
|
533
|
+
entityId: varint
|
|
534
|
+
dX: i16
|
|
535
|
+
dY: i16
|
|
536
|
+
dZ: i16
|
|
537
|
+
yaw: i8
|
|
538
|
+
pitch: i8
|
|
539
|
+
onGround: bool
|
|
540
|
+
packet_entity_look:
|
|
541
|
+
entityId: varint
|
|
542
|
+
yaw: i8
|
|
543
|
+
pitch: i8
|
|
544
|
+
onGround: bool
|
|
545
|
+
packet_entity:
|
|
546
|
+
entityId: varint
|
|
547
|
+
packet_vehicle_move:
|
|
548
|
+
x: f64
|
|
549
|
+
y: f64
|
|
550
|
+
z: f64
|
|
551
|
+
yaw: f32
|
|
552
|
+
pitch: f32
|
|
553
|
+
packet_open_sign_entity:
|
|
554
|
+
location: position
|
|
555
|
+
packet_abilities:
|
|
556
|
+
flags: i8
|
|
557
|
+
flyingSpeed: f32
|
|
558
|
+
walkingSpeed: f32
|
|
559
|
+
packet_combat_event:
|
|
560
|
+
event: varint
|
|
561
|
+
duration: event ?
|
|
562
|
+
if 1: varint
|
|
563
|
+
default: void
|
|
564
|
+
playerId: event ?
|
|
565
|
+
if 2: varint
|
|
566
|
+
default: void
|
|
567
|
+
entityId: event ?
|
|
568
|
+
if 1: i32
|
|
569
|
+
if 2: i32
|
|
570
|
+
default: void
|
|
571
|
+
message: event ?
|
|
572
|
+
if 2: string
|
|
573
|
+
default: void
|
|
574
|
+
packet_player_info:
|
|
575
|
+
action: varint
|
|
576
|
+
data: []varint
|
|
577
|
+
UUID: UUID
|
|
578
|
+
name: ../action ?
|
|
579
|
+
if 0: string
|
|
580
|
+
default: void
|
|
581
|
+
properties: ../action ?
|
|
582
|
+
if 0: []varint
|
|
583
|
+
name: string
|
|
584
|
+
value: string
|
|
585
|
+
signature?: string
|
|
586
|
+
default: void
|
|
587
|
+
gamemode: ../action ?
|
|
588
|
+
if 0: varint
|
|
589
|
+
if 1: varint
|
|
590
|
+
default: void
|
|
591
|
+
ping: ../action ?
|
|
592
|
+
if 0: varint
|
|
593
|
+
if 2: varint
|
|
594
|
+
default: void
|
|
595
|
+
displayName: ../action ?
|
|
596
|
+
if 0: [
|
|
597
|
+
"option",
|
|
598
|
+
"string"
|
|
599
|
+
]
|
|
600
|
+
if 3: [
|
|
601
|
+
"option",
|
|
602
|
+
"string"
|
|
603
|
+
]
|
|
604
|
+
default: void
|
|
605
|
+
packet_position:
|
|
606
|
+
x: f64
|
|
607
|
+
y: f64
|
|
608
|
+
z: f64
|
|
609
|
+
yaw: f32
|
|
610
|
+
pitch: f32
|
|
611
|
+
flags: i8
|
|
612
|
+
teleportId: varint
|
|
613
|
+
packet_bed:
|
|
614
|
+
entityId: varint
|
|
615
|
+
location: position
|
|
616
|
+
packet_unlock_recipes:
|
|
617
|
+
action: varint
|
|
618
|
+
craftingBookOpen: bool
|
|
619
|
+
filteringCraftable: bool
|
|
620
|
+
recipes1: varint[]varint
|
|
621
|
+
recipes2: action ?
|
|
622
|
+
if 0: varint[]varint
|
|
623
|
+
default: void
|
|
624
|
+
packet_entity_destroy:
|
|
625
|
+
entityIds: varint[]varint
|
|
626
|
+
packet_remove_entity_effect:
|
|
627
|
+
entityId: varint
|
|
628
|
+
effectId: i8
|
|
629
|
+
packet_resource_pack_send:
|
|
630
|
+
url: string
|
|
631
|
+
hash: string
|
|
632
|
+
packet_respawn:
|
|
633
|
+
dimension: i32
|
|
634
|
+
difficulty: u8
|
|
635
|
+
gamemode: u8
|
|
636
|
+
levelType: string
|
|
637
|
+
packet_entity_head_rotation:
|
|
638
|
+
entityId: varint
|
|
639
|
+
headYaw: i8
|
|
640
|
+
packet_world_border:
|
|
641
|
+
action: varint
|
|
642
|
+
radius: action ?
|
|
643
|
+
if 0: f64
|
|
644
|
+
default: void
|
|
645
|
+
x: action ?
|
|
646
|
+
if 2: f64
|
|
647
|
+
if 3: f64
|
|
648
|
+
default: void
|
|
649
|
+
z: action ?
|
|
650
|
+
if 2: f64
|
|
651
|
+
if 3: f64
|
|
652
|
+
default: void
|
|
653
|
+
old_radius: action ?
|
|
654
|
+
if 1: f64
|
|
655
|
+
if 3: f64
|
|
656
|
+
default: void
|
|
657
|
+
new_radius: action ?
|
|
658
|
+
if 1: f64
|
|
659
|
+
if 3: f64
|
|
660
|
+
default: void
|
|
661
|
+
speed: action ?
|
|
662
|
+
if 1: varlong
|
|
663
|
+
if 3: varlong
|
|
664
|
+
default: void
|
|
665
|
+
portalBoundary: action ?
|
|
666
|
+
if 3: varint
|
|
667
|
+
default: void
|
|
668
|
+
warning_time: action ?
|
|
669
|
+
if 3: varint
|
|
670
|
+
if 4: varint
|
|
671
|
+
default: void
|
|
672
|
+
warning_blocks: action ?
|
|
673
|
+
if 3: varint
|
|
674
|
+
if 5: varint
|
|
675
|
+
default: void
|
|
676
|
+
packet_camera:
|
|
677
|
+
cameraId: varint
|
|
678
|
+
packet_held_item_slot:
|
|
679
|
+
slot: i8
|
|
680
|
+
packet_scoreboard_display_objective:
|
|
681
|
+
position: i8
|
|
682
|
+
name: string
|
|
683
|
+
packet_entity_metadata:
|
|
684
|
+
entityId: varint
|
|
685
|
+
metadata: entityMetadata
|
|
686
|
+
packet_attach_entity:
|
|
687
|
+
entityId: i32
|
|
688
|
+
vehicleId: i32
|
|
689
|
+
packet_entity_velocity:
|
|
690
|
+
entityId: varint
|
|
691
|
+
velocityX: i16
|
|
692
|
+
velocityY: i16
|
|
693
|
+
velocityZ: i16
|
|
694
|
+
packet_entity_equipment:
|
|
695
|
+
entityId: varint
|
|
696
|
+
slot: varint
|
|
697
|
+
item: slot
|
|
698
|
+
packet_experience:
|
|
699
|
+
experienceBar: f32
|
|
700
|
+
level: varint
|
|
701
|
+
totalExperience: varint
|
|
702
|
+
packet_update_health:
|
|
703
|
+
health: f32
|
|
704
|
+
food: varint
|
|
705
|
+
foodSaturation: f32
|
|
706
|
+
packet_scoreboard_objective:
|
|
707
|
+
name: string
|
|
708
|
+
action: i8
|
|
709
|
+
displayText: action ?
|
|
710
|
+
if 0: string
|
|
711
|
+
if 2: string
|
|
712
|
+
default: void
|
|
713
|
+
type: action ?
|
|
714
|
+
if 0: string
|
|
715
|
+
if 2: string
|
|
716
|
+
default: void
|
|
717
|
+
packet_set_passengers:
|
|
718
|
+
entityId: varint
|
|
719
|
+
passengers: varint[]varint
|
|
720
|
+
packet_teams:
|
|
721
|
+
team: string
|
|
722
|
+
mode: i8
|
|
723
|
+
name: mode ?
|
|
724
|
+
if 0: string
|
|
725
|
+
if 2: string
|
|
726
|
+
default: void
|
|
727
|
+
prefix: mode ?
|
|
728
|
+
if 0: string
|
|
729
|
+
if 2: string
|
|
730
|
+
default: void
|
|
731
|
+
suffix: mode ?
|
|
732
|
+
if 0: string
|
|
733
|
+
if 2: string
|
|
734
|
+
default: void
|
|
735
|
+
friendlyFire: mode ?
|
|
736
|
+
if 0: i8
|
|
737
|
+
if 2: i8
|
|
738
|
+
default: void
|
|
739
|
+
nameTagVisibility: mode ?
|
|
740
|
+
if 0: string
|
|
741
|
+
if 2: string
|
|
742
|
+
default: void
|
|
743
|
+
collisionRule: mode ?
|
|
744
|
+
if 0: string
|
|
745
|
+
if 2: string
|
|
746
|
+
default: void
|
|
747
|
+
color: mode ?
|
|
748
|
+
if 0: i8
|
|
749
|
+
if 2: i8
|
|
750
|
+
default: void
|
|
751
|
+
players: mode ?
|
|
752
|
+
if 0: string[]varint
|
|
753
|
+
if 3: string[]varint
|
|
754
|
+
if 4: string[]varint
|
|
755
|
+
default: void
|
|
756
|
+
packet_scoreboard_score:
|
|
757
|
+
itemName: string
|
|
758
|
+
action: varint
|
|
759
|
+
scoreName: string
|
|
760
|
+
value: action ?
|
|
761
|
+
if 1: void
|
|
762
|
+
default: varint
|
|
763
|
+
packet_spawn_position:
|
|
764
|
+
location: position
|
|
765
|
+
packet_update_time:
|
|
766
|
+
age: i64
|
|
767
|
+
time: i64
|
|
768
|
+
packet_title:
|
|
769
|
+
action: varint
|
|
770
|
+
text: action ?
|
|
771
|
+
if 0: string
|
|
772
|
+
if 1: string
|
|
773
|
+
if 2: string
|
|
774
|
+
default: void
|
|
775
|
+
fadeIn: action ?
|
|
776
|
+
if 3: i32
|
|
777
|
+
default: void
|
|
778
|
+
stay: action ?
|
|
779
|
+
if 3: i32
|
|
780
|
+
default: void
|
|
781
|
+
fadeOut: action ?
|
|
782
|
+
if 3: i32
|
|
783
|
+
default: void
|
|
784
|
+
packet_sound_effect:
|
|
785
|
+
soundId: varint
|
|
786
|
+
soundCategory: varint
|
|
787
|
+
x: i32
|
|
788
|
+
y: i32
|
|
789
|
+
z: i32
|
|
790
|
+
volume: f32
|
|
791
|
+
pitch: f32
|
|
792
|
+
packet_playerlist_header:
|
|
793
|
+
header: string
|
|
794
|
+
footer: string
|
|
795
|
+
packet_collect:
|
|
796
|
+
collectedEntityId: varint
|
|
797
|
+
collectorEntityId: varint
|
|
798
|
+
pickupItemCount: varint
|
|
799
|
+
packet_entity_teleport:
|
|
800
|
+
entityId: varint
|
|
801
|
+
x: f64
|
|
802
|
+
y: f64
|
|
803
|
+
z: f64
|
|
804
|
+
yaw: i8
|
|
805
|
+
pitch: i8
|
|
806
|
+
onGround: bool
|
|
807
|
+
packet_entity_update_attributes:
|
|
808
|
+
entityId: varint
|
|
809
|
+
properties: []i32
|
|
810
|
+
key: string
|
|
811
|
+
value: f64
|
|
812
|
+
modifiers: []varint
|
|
813
|
+
uuid: UUID
|
|
814
|
+
amount: f64
|
|
815
|
+
operation: i8
|
|
816
|
+
packet_entity_effect:
|
|
817
|
+
entityId: varint
|
|
818
|
+
effectId: i8
|
|
819
|
+
amplifier: i8
|
|
820
|
+
duration: varint
|
|
821
|
+
hideParticles: i8
|
|
822
|
+
packet_select_advancement_tab:
|
|
823
|
+
id?: string
|
|
824
|
+
packet:
|
|
825
|
+
name: varint =>
|
|
826
|
+
0x00: spawn_entity
|
|
827
|
+
0x01: spawn_entity_experience_orb
|
|
828
|
+
0x02: spawn_entity_weather
|
|
829
|
+
0x03: spawn_entity_living
|
|
830
|
+
0x04: spawn_entity_painting
|
|
831
|
+
0x05: named_entity_spawn
|
|
832
|
+
0x06: animation
|
|
833
|
+
0x07: statistics
|
|
834
|
+
0x08: block_break_animation
|
|
835
|
+
0x09: tile_entity_data
|
|
836
|
+
0x0a: block_action
|
|
837
|
+
0x0b: block_change
|
|
838
|
+
0x0c: boss_bar
|
|
839
|
+
0x0d: difficulty
|
|
840
|
+
0x0e: tab_complete
|
|
841
|
+
0x0f: chat
|
|
842
|
+
0x10: multi_block_change
|
|
843
|
+
0x11: transaction
|
|
844
|
+
0x12: close_window
|
|
845
|
+
0x13: open_window
|
|
846
|
+
0x14: window_items
|
|
847
|
+
0x15: craft_progress_bar
|
|
848
|
+
0x16: set_slot
|
|
849
|
+
0x17: set_cooldown
|
|
850
|
+
0x18: custom_payload
|
|
851
|
+
0x19: named_sound_effect
|
|
852
|
+
0x1a: kick_disconnect
|
|
853
|
+
0x1b: entity_status
|
|
854
|
+
0x1c: explosion
|
|
855
|
+
0x1d: unload_chunk
|
|
856
|
+
0x1e: game_state_change
|
|
857
|
+
0x1f: keep_alive
|
|
858
|
+
0x20: map_chunk
|
|
859
|
+
0x21: world_event
|
|
860
|
+
0x22: world_particles
|
|
861
|
+
0x23: login
|
|
862
|
+
0x24: map
|
|
863
|
+
0x25: entity
|
|
864
|
+
0x26: rel_entity_move
|
|
865
|
+
0x27: entity_move_look
|
|
866
|
+
0x28: entity_look
|
|
867
|
+
0x29: vehicle_move
|
|
868
|
+
0x2a: open_sign_entity
|
|
869
|
+
0x2b: abilities
|
|
870
|
+
0x2c: combat_event
|
|
871
|
+
0x2d: player_info
|
|
872
|
+
0x2e: position
|
|
873
|
+
0x2f: bed
|
|
874
|
+
0x30: unlock_recipes
|
|
875
|
+
0x31: entity_destroy
|
|
876
|
+
0x32: remove_entity_effect
|
|
877
|
+
0x33: resource_pack_send
|
|
878
|
+
0x34: respawn
|
|
879
|
+
0x35: entity_head_rotation
|
|
880
|
+
0x36: select_advancement_tab
|
|
881
|
+
0x37: world_border
|
|
882
|
+
0x38: camera
|
|
883
|
+
0x39: held_item_slot
|
|
884
|
+
0x3a: scoreboard_display_objective
|
|
885
|
+
0x3b: entity_metadata
|
|
886
|
+
0x3c: attach_entity
|
|
887
|
+
0x3d: entity_velocity
|
|
888
|
+
0x3e: entity_equipment
|
|
889
|
+
0x3f: experience
|
|
890
|
+
0x40: update_health
|
|
891
|
+
0x41: scoreboard_objective
|
|
892
|
+
0x42: set_passengers
|
|
893
|
+
0x43: teams
|
|
894
|
+
0x44: scoreboard_score
|
|
895
|
+
0x45: spawn_position
|
|
896
|
+
0x46: update_time
|
|
897
|
+
0x47: title
|
|
898
|
+
0x48: sound_effect
|
|
899
|
+
0x49: playerlist_header
|
|
900
|
+
0x4a: collect
|
|
901
|
+
0x4b: entity_teleport
|
|
902
|
+
0x4c: advancements
|
|
903
|
+
0x4d: entity_update_attributes
|
|
904
|
+
0x4e: entity_effect
|
|
905
|
+
params: name ?
|
|
906
|
+
if spawn_entity: packet_spawn_entity
|
|
907
|
+
if spawn_entity_experience_orb: packet_spawn_entity_experience_orb
|
|
908
|
+
if spawn_entity_weather: packet_spawn_entity_weather
|
|
909
|
+
if spawn_entity_living: packet_spawn_entity_living
|
|
910
|
+
if spawn_entity_painting: packet_spawn_entity_painting
|
|
911
|
+
if named_entity_spawn: packet_named_entity_spawn
|
|
912
|
+
if animation: packet_animation
|
|
913
|
+
if statistics: packet_statistics
|
|
914
|
+
if advancements: packet_advancements
|
|
915
|
+
if block_break_animation: packet_block_break_animation
|
|
916
|
+
if tile_entity_data: packet_tile_entity_data
|
|
917
|
+
if block_action: packet_block_action
|
|
918
|
+
if block_change: packet_block_change
|
|
919
|
+
if boss_bar: packet_boss_bar
|
|
920
|
+
if difficulty: packet_difficulty
|
|
921
|
+
if tab_complete: packet_tab_complete
|
|
922
|
+
if chat: packet_chat
|
|
923
|
+
if multi_block_change: packet_multi_block_change
|
|
924
|
+
if transaction: packet_transaction
|
|
925
|
+
if close_window: packet_close_window
|
|
926
|
+
if open_window: packet_open_window
|
|
927
|
+
if window_items: packet_window_items
|
|
928
|
+
if craft_progress_bar: packet_craft_progress_bar
|
|
929
|
+
if set_slot: packet_set_slot
|
|
930
|
+
if set_cooldown: packet_set_cooldown
|
|
931
|
+
if custom_payload: packet_custom_payload
|
|
932
|
+
if named_sound_effect: packet_named_sound_effect
|
|
933
|
+
if kick_disconnect: packet_kick_disconnect
|
|
934
|
+
if entity_status: packet_entity_status
|
|
935
|
+
if explosion: packet_explosion
|
|
936
|
+
if unload_chunk: packet_unload_chunk
|
|
937
|
+
if game_state_change: packet_game_state_change
|
|
938
|
+
if keep_alive: packet_keep_alive
|
|
939
|
+
if map_chunk: packet_map_chunk
|
|
940
|
+
if world_event: packet_world_event
|
|
941
|
+
if world_particles: packet_world_particles
|
|
942
|
+
if login: packet_login
|
|
943
|
+
if map: packet_map
|
|
944
|
+
if rel_entity_move: packet_rel_entity_move
|
|
945
|
+
if entity_move_look: packet_entity_move_look
|
|
946
|
+
if entity_look: packet_entity_look
|
|
947
|
+
if entity: packet_entity
|
|
948
|
+
if vehicle_move: packet_vehicle_move
|
|
949
|
+
if open_sign_entity: packet_open_sign_entity
|
|
950
|
+
if abilities: packet_abilities
|
|
951
|
+
if combat_event: packet_combat_event
|
|
952
|
+
if player_info: packet_player_info
|
|
953
|
+
if position: packet_position
|
|
954
|
+
if bed: packet_bed
|
|
955
|
+
if unlock_recipes: packet_unlock_recipes
|
|
956
|
+
if entity_destroy: packet_entity_destroy
|
|
957
|
+
if remove_entity_effect: packet_remove_entity_effect
|
|
958
|
+
if resource_pack_send: packet_resource_pack_send
|
|
959
|
+
if respawn: packet_respawn
|
|
960
|
+
if entity_update_attributes: packet_entity_update_attributes
|
|
961
|
+
if world_border: packet_world_border
|
|
962
|
+
if camera: packet_camera
|
|
963
|
+
if held_item_slot: packet_held_item_slot
|
|
964
|
+
if scoreboard_display_objective: packet_scoreboard_display_objective
|
|
965
|
+
if entity_metadata: packet_entity_metadata
|
|
966
|
+
if attach_entity: packet_attach_entity
|
|
967
|
+
if entity_velocity: packet_entity_velocity
|
|
968
|
+
if entity_equipment: packet_entity_equipment
|
|
969
|
+
if experience: packet_experience
|
|
970
|
+
if update_health: packet_update_health
|
|
971
|
+
if scoreboard_objective: packet_scoreboard_objective
|
|
972
|
+
if set_passengers: packet_set_passengers
|
|
973
|
+
if teams: packet_teams
|
|
974
|
+
if scoreboard_score: packet_scoreboard_score
|
|
975
|
+
if spawn_position: packet_spawn_position
|
|
976
|
+
if update_time: packet_update_time
|
|
977
|
+
if title: packet_title
|
|
978
|
+
if sound_effect: packet_sound_effect
|
|
979
|
+
if playerlist_header: packet_playerlist_header
|
|
980
|
+
if collect: packet_collect
|
|
981
|
+
if entity_teleport: packet_entity_teleport
|
|
982
|
+
if entity_head_rotation: packet_entity_head_rotation
|
|
983
|
+
if entity_effect: packet_entity_effect
|
|
984
|
+
if select_advancement_tab: packet_select_advancement_tab
|
|
985
|
+
|
|
986
|
+
^play.toServer.types:
|
|
987
|
+
packet_teleport_confirm:
|
|
988
|
+
teleportId: varint
|
|
989
|
+
packet_prepare_crafting_grid:
|
|
990
|
+
windowId: u8
|
|
991
|
+
actionNumber: u16
|
|
992
|
+
returnEntry: []u16
|
|
993
|
+
item: slot
|
|
994
|
+
craftingSlot: u8
|
|
995
|
+
playerSlot: u8
|
|
996
|
+
prepareEntry: []u16
|
|
997
|
+
item: slot
|
|
998
|
+
craftingSlot: u8
|
|
999
|
+
playerSlot: u8
|
|
1000
|
+
packet_tab_complete:
|
|
1001
|
+
text: string
|
|
1002
|
+
assumeCommand: bool
|
|
1003
|
+
lookedAtBlock?: position
|
|
1004
|
+
packet_chat:
|
|
1005
|
+
message: string
|
|
1006
|
+
packet_client_command:
|
|
1007
|
+
actionId: varint
|
|
1008
|
+
packet_settings:
|
|
1009
|
+
locale: string
|
|
1010
|
+
viewDistance: i8
|
|
1011
|
+
chatFlags: varint
|
|
1012
|
+
chatColors: bool
|
|
1013
|
+
skinParts: u8
|
|
1014
|
+
mainHand: varint
|
|
1015
|
+
packet_transaction:
|
|
1016
|
+
windowId: i8
|
|
1017
|
+
action: i16
|
|
1018
|
+
accepted: bool
|
|
1019
|
+
packet_enchant_item:
|
|
1020
|
+
windowId: i8
|
|
1021
|
+
enchantment: i8
|
|
1022
|
+
packet_window_click:
|
|
1023
|
+
windowId: u8
|
|
1024
|
+
slot: i16
|
|
1025
|
+
mouseButton: i8
|
|
1026
|
+
action: i16
|
|
1027
|
+
mode: i8
|
|
1028
|
+
item: slot
|
|
1029
|
+
packet_close_window:
|
|
1030
|
+
windowId: u8
|
|
1031
|
+
packet_custom_payload:
|
|
1032
|
+
channel: string
|
|
1033
|
+
data: restBuffer
|
|
1034
|
+
packet_use_entity:
|
|
1035
|
+
target: varint
|
|
1036
|
+
mouse: varint
|
|
1037
|
+
x: mouse ?
|
|
1038
|
+
if 2: f32
|
|
1039
|
+
default: void
|
|
1040
|
+
y: mouse ?
|
|
1041
|
+
if 2: f32
|
|
1042
|
+
default: void
|
|
1043
|
+
z: mouse ?
|
|
1044
|
+
if 2: f32
|
|
1045
|
+
default: void
|
|
1046
|
+
hand: mouse ?
|
|
1047
|
+
if 0: varint
|
|
1048
|
+
if 2: varint
|
|
1049
|
+
default: void
|
|
1050
|
+
packet_keep_alive:
|
|
1051
|
+
keepAliveId: varint
|
|
1052
|
+
packet_position:
|
|
1053
|
+
x: f64
|
|
1054
|
+
y: f64
|
|
1055
|
+
z: f64
|
|
1056
|
+
onGround: bool
|
|
1057
|
+
packet_position_look:
|
|
1058
|
+
x: f64
|
|
1059
|
+
y: f64
|
|
1060
|
+
z: f64
|
|
1061
|
+
yaw: f32
|
|
1062
|
+
pitch: f32
|
|
1063
|
+
onGround: bool
|
|
1064
|
+
packet_look:
|
|
1065
|
+
yaw: f32
|
|
1066
|
+
pitch: f32
|
|
1067
|
+
onGround: bool
|
|
1068
|
+
packet_flying:
|
|
1069
|
+
onGround: bool
|
|
1070
|
+
packet_vehicle_move:
|
|
1071
|
+
x: f64
|
|
1072
|
+
y: f64
|
|
1073
|
+
z: f64
|
|
1074
|
+
yaw: f32
|
|
1075
|
+
pitch: f32
|
|
1076
|
+
packet_steer_boat:
|
|
1077
|
+
leftPaddle: bool
|
|
1078
|
+
rightPaddle: bool
|
|
1079
|
+
packet_abilities:
|
|
1080
|
+
flags: i8
|
|
1081
|
+
flyingSpeed: f32
|
|
1082
|
+
walkingSpeed: f32
|
|
1083
|
+
packet_block_dig:
|
|
1084
|
+
status: varint
|
|
1085
|
+
location: position
|
|
1086
|
+
face: i8
|
|
1087
|
+
packet_entity_action:
|
|
1088
|
+
entityId: varint
|
|
1089
|
+
actionId: varint
|
|
1090
|
+
jumpBoost: varint
|
|
1091
|
+
packet_steer_vehicle:
|
|
1092
|
+
sideways: f32
|
|
1093
|
+
forward: f32
|
|
1094
|
+
jump: u8
|
|
1095
|
+
packet_crafting_book_data:
|
|
1096
|
+
type: varint
|
|
1097
|
+
_: type ?
|
|
1098
|
+
if 0:
|
|
1099
|
+
displayedRecipe: i32
|
|
1100
|
+
if 1:
|
|
1101
|
+
craftingBookOpen: bool
|
|
1102
|
+
craftingFilter: bool
|
|
1103
|
+
packet_resource_pack_receive:
|
|
1104
|
+
result: varint
|
|
1105
|
+
packet_held_item_slot:
|
|
1106
|
+
slotId: i16
|
|
1107
|
+
packet_set_creative_slot:
|
|
1108
|
+
slot: i16
|
|
1109
|
+
item: slot
|
|
1110
|
+
packet_update_sign:
|
|
1111
|
+
location: position
|
|
1112
|
+
text1: string
|
|
1113
|
+
text2: string
|
|
1114
|
+
text3: string
|
|
1115
|
+
text4: string
|
|
1116
|
+
packet_arm_animation:
|
|
1117
|
+
hand: varint
|
|
1118
|
+
packet_spectate:
|
|
1119
|
+
target: UUID
|
|
1120
|
+
packet_block_place:
|
|
1121
|
+
location: position
|
|
1122
|
+
direction: varint
|
|
1123
|
+
hand: varint
|
|
1124
|
+
cursorX: f32
|
|
1125
|
+
cursorY: f32
|
|
1126
|
+
cursorZ: f32
|
|
1127
|
+
packet_use_item:
|
|
1128
|
+
hand: varint
|
|
1129
|
+
packet_advancement_tab:
|
|
1130
|
+
action: varint
|
|
1131
|
+
tabId: action ?
|
|
1132
|
+
if 0: string
|
|
1133
|
+
if 1: void
|
|
1134
|
+
packet:
|
|
1135
|
+
name: varint =>
|
|
1136
|
+
0x00: teleport_confirm
|
|
1137
|
+
0x01: prepare_crafting_grid
|
|
1138
|
+
0x02: tab_complete
|
|
1139
|
+
0x03: chat
|
|
1140
|
+
0x04: client_command
|
|
1141
|
+
0x05: settings
|
|
1142
|
+
0x06: transaction
|
|
1143
|
+
0x07: enchant_item
|
|
1144
|
+
0x08: window_click
|
|
1145
|
+
0x09: close_window
|
|
1146
|
+
0x0a: custom_payload
|
|
1147
|
+
0x0b: use_entity
|
|
1148
|
+
0x0c: keep_alive
|
|
1149
|
+
0x0d: flying
|
|
1150
|
+
0x0e: position
|
|
1151
|
+
0x0f: position_look
|
|
1152
|
+
0x10: look
|
|
1153
|
+
0x11: vehicle_move
|
|
1154
|
+
0x12: steer_boat
|
|
1155
|
+
0x13: abilities
|
|
1156
|
+
0x14: block_dig
|
|
1157
|
+
0x15: entity_action
|
|
1158
|
+
0x16: steer_vehicle
|
|
1159
|
+
0x17: crafting_book_data
|
|
1160
|
+
0x18: resource_pack_receive
|
|
1161
|
+
0x19: advancement_tab
|
|
1162
|
+
0x1a: held_item_slot
|
|
1163
|
+
0x1b: set_creative_slot
|
|
1164
|
+
0x1c: update_sign
|
|
1165
|
+
0x1d: arm_animation
|
|
1166
|
+
0x1e: spectate
|
|
1167
|
+
0x1f: block_place
|
|
1168
|
+
0x20: use_item
|
|
1169
|
+
params: name ?
|
|
1170
|
+
if teleport_confirm: packet_teleport_confirm
|
|
1171
|
+
if prepare_crafting_grid: packet_prepare_crafting_grid
|
|
1172
|
+
if tab_complete: packet_tab_complete
|
|
1173
|
+
if chat: packet_chat
|
|
1174
|
+
if client_command: packet_client_command
|
|
1175
|
+
if settings: packet_settings
|
|
1176
|
+
if transaction: packet_transaction
|
|
1177
|
+
if enchant_item: packet_enchant_item
|
|
1178
|
+
if window_click: packet_window_click
|
|
1179
|
+
if close_window: packet_close_window
|
|
1180
|
+
if custom_payload: packet_custom_payload
|
|
1181
|
+
if use_entity: packet_use_entity
|
|
1182
|
+
if keep_alive: packet_keep_alive
|
|
1183
|
+
if position: packet_position
|
|
1184
|
+
if position_look: packet_position_look
|
|
1185
|
+
if look: packet_look
|
|
1186
|
+
if flying: packet_flying
|
|
1187
|
+
if vehicle_move: packet_vehicle_move
|
|
1188
|
+
if steer_boat: packet_steer_boat
|
|
1189
|
+
if abilities: packet_abilities
|
|
1190
|
+
if block_dig: packet_block_dig
|
|
1191
|
+
if entity_action: packet_entity_action
|
|
1192
|
+
if steer_vehicle: packet_steer_vehicle
|
|
1193
|
+
if crafting_book_data: packet_crafting_book_data
|
|
1194
|
+
if resource_pack_receive: packet_resource_pack_receive
|
|
1195
|
+
if held_item_slot: packet_held_item_slot
|
|
1196
|
+
if set_creative_slot: packet_set_creative_slot
|
|
1197
|
+
if update_sign: packet_update_sign
|
|
1198
|
+
if arm_animation: packet_arm_animation
|
|
1199
|
+
if spectate: packet_spectate
|
|
1200
|
+
if block_place: packet_block_place
|
|
1201
|
+
if use_item: packet_use_item
|
|
1202
|
+
if advancement_tab: packet_advancement_tab
|