@@ -143,9 +143,9 @@ public static class Server extends PacketTypeEnum {
143
143
public static final PacketType LOGIN = new PacketType (PROTOCOL , SENDER , 0x26 , "Login" , "SPacketJoinGame" );
144
144
public static final PacketType MAP = new PacketType (PROTOCOL , SENDER , 0x27 , "Map" , "SPacketMaps" );
145
145
public static final PacketType OPEN_WINDOW_MERCHANT = new PacketType (PROTOCOL , SENDER , 0x28 , "OpenWindowMerchant" );
146
- public static final PacketType REL_ENTITY_MOVE = new PacketType (PROTOCOL , SENDER , 0x29 , "Entity$PacketPlayOutRelEntityMove" );
147
- public static final PacketType REL_ENTITY_MOVE_LOOK = new PacketType (PROTOCOL , SENDER , 0x2A , "Entity$PacketPlayOutRelEntityMoveLook" );
148
- public static final PacketType ENTITY_LOOK = new PacketType (PROTOCOL , SENDER , 0x2B , "Entity$PacketPlayOutEntityLook" );
146
+ public static final PacketType REL_ENTITY_MOVE = new PacketType (PROTOCOL , SENDER , 0x29 , "Entity$PacketPlayOutRelEntityMove" , "Entity$RelEntityMove" );
147
+ public static final PacketType REL_ENTITY_MOVE_LOOK = new PacketType (PROTOCOL , SENDER , 0x2A , "Entity$PacketPlayOutRelEntityMoveLook" , "Entity$RelEntityMoveLook" );
148
+ public static final PacketType ENTITY_LOOK = new PacketType (PROTOCOL , SENDER , 0x2B , "Entity$PacketPlayOutEntityLook" , "Entity$EntityLook" );
149
149
public static final PacketType VEHICLE_MOVE = new PacketType (PROTOCOL , SENDER , 0x2C , "VehicleMove" , "SPacketMoveVehicle" );
150
150
public static final PacketType OPEN_BOOK = new PacketType (PROTOCOL , SENDER , 0x2D , "OpenBook" );
151
151
public static final PacketType OPEN_WINDOW = new PacketType (PROTOCOL , SENDER , 0x2E , "OpenWindow" , "SPacketOpenWindow" );
@@ -267,7 +267,7 @@ public static class Server extends PacketTypeEnum {
267
267
* @deprecated Removed in 1.14
268
268
*/
269
269
@ Deprecated
270
- public static final PacketType BED = new PacketType (PROTOCOL , SENDER , 0x33 , "Bed" , "SPacketUseBed" );
270
+ public static final PacketType BED = new PacketType (PROTOCOL , SENDER , 251 , "Bed" , "SPacketUseBed" );
271
271
272
272
/**
273
273
* @deprecated Renamed to {@link #BED}
@@ -279,25 +279,37 @@ public static class Server extends PacketTypeEnum {
279
279
* @deprecated Removed in 1.16
280
280
*/
281
281
@ Deprecated
282
- public static final PacketType SPAWN_ENTITY_WEATHER = new PacketType (PROTOCOL , SENDER , 0x02 , "SpawnEntityWeather" , "SPacketSpawnGlobalEntity" );
282
+ public static final PacketType SPAWN_ENTITY_WEATHER = new PacketType (PROTOCOL , SENDER , 250 , "SpawnEntityWeather" , "SPacketSpawnGlobalEntity" );
283
283
284
284
/**
285
285
* @deprecated Removed in 1.17, split into separate packets
286
286
*/
287
287
@ Deprecated
288
- public static final PacketType TITLE = new PacketType (PROTOCOL , SENDER , 0x00 , "Title" );
288
+ public static final PacketType TITLE = new PacketType (PROTOCOL , SENDER , 249 , "Title" );
289
289
290
290
/**
291
291
* @deprecated Removed in 1.17, split into separate packets
292
292
*/
293
293
@ Deprecated
294
- public static final PacketType WORLD_BORDER = new PacketType (PROTOCOL , SENDER , 0x00 , "WorldBorder" );
294
+ public static final PacketType WORLD_BORDER = new PacketType (PROTOCOL , SENDER , 248 , "WorldBorder" );
295
295
296
296
/**
297
297
* @deprecated Removed in 1.17, split into separate packets
298
298
*/
299
299
@ Deprecated
300
- public static final PacketType COMBAT_EVENT = new PacketType (PROTOCOL , SENDER , 0x00 , "CombatEvent" );
300
+ public static final PacketType COMBAT_EVENT = new PacketType (PROTOCOL , SENDER , 247 , "CombatEvent" );
301
+
302
+ /**
303
+ * @deprecated Removed in 1.17
304
+ */
305
+ @ Deprecated
306
+ public static final PacketType TRANSACTION = new PacketType (PROTOCOL , SENDER , 246 , "Transaction" , "SPacketConfirmTransaction" );
307
+
308
+ /**
309
+ * @deprecated Made abstract in 1.17, no actual packet anymore
310
+ */
311
+ @ Deprecated
312
+ public static final PacketType ENTITY = new PacketType (PROTOCOL , SENDER , 245 , "Entity" , "SPacketEntity" );
301
313
302
314
private final static Server INSTANCE = new Server ();
303
315
@@ -336,18 +348,18 @@ public static class Client extends PacketTypeEnum {
336
348
public static final PacketType JIGSAW_GENERATE = new PacketType (PROTOCOL , SENDER , 0x0E , "JigsawGenerate" );
337
349
public static final PacketType KEEP_ALIVE = new PacketType (PROTOCOL , SENDER , 0x0F , "KeepAlive" , "CPacketKeepAlive" );
338
350
public static final PacketType DIFFICULTY_LOCK = new PacketType (PROTOCOL , SENDER , 0x10 , "DifficultyLock" );
339
- public static final PacketType POSITION = new PacketType (PROTOCOL , SENDER , 0x11 , "Flying$PacketPlayInPosition" );
340
- public static final PacketType POSITION_LOOK = new PacketType (PROTOCOL , SENDER , 0x12 , "Flying$PacketPlayInPositionLook" );
341
- public static final PacketType LOOK = new PacketType (PROTOCOL , SENDER , 0x13 , "Flying$PacketPlayInLook" );
342
- public static final PacketType GROUND = new PacketType (PROTOCOL , SENDER , 0x14 , "Flying$d" );
351
+ public static final PacketType POSITION = new PacketType (PROTOCOL , SENDER , 0x11 , "Flying$PacketPlayInPosition" , "Flying$Position" , "CPacketPlayer$Position" );
352
+ public static final PacketType POSITION_LOOK = new PacketType (PROTOCOL , SENDER , 0x12 , "Flying$PacketPlayInPositionLook" , "Flying$PositionLook" , "CPacketPlayer$PositionRotation" );
353
+ public static final PacketType LOOK = new PacketType (PROTOCOL , SENDER , 0x13 , "Flying$PacketPlayInLook" , "Flying$Look" , "CPacketPlayer$Rotation" );
354
+ public static final PacketType GROUND = new PacketType (PROTOCOL , SENDER , 0x14 , "Flying$d" , "Flying" , "CPacketPlayer" );
343
355
public static final PacketType VEHICLE_MOVE = new PacketType (PROTOCOL , SENDER , 0x15 , "VehicleMove" , "CPacketVehicleMove" );
344
356
public static final PacketType BOAT_MOVE = new PacketType (PROTOCOL , SENDER , 0x16 , "BoatMove" , "CPacketSteerBoat" );
345
357
public static final PacketType PICK_ITEM = new PacketType (PROTOCOL , SENDER , 0x17 , "PickItem" );
346
358
public static final PacketType AUTO_RECIPE = new PacketType (PROTOCOL , SENDER , 0x18 , "AutoRecipe" , "CPacketPlaceRecipe" );
347
359
public static final PacketType ABILITIES = new PacketType (PROTOCOL , SENDER , 0x19 , "Abilities" , "CPacketPlayerAbilities" );
348
360
public static final PacketType BLOCK_DIG = new PacketType (PROTOCOL , SENDER , 0x1A , "BlockDig" , "CPacketPlayerDigging" );
349
361
public static final PacketType ENTITY_ACTION = new PacketType (PROTOCOL , SENDER , 0x1B , "EntityAction" , "CPacketEntityAction" );
350
- public static final PacketType STEER_VEHICLE = new PacketType (PROTOCOL , SENDER , 0x1C , "SteerVehicle" );
362
+ public static final PacketType STEER_VEHICLE = new PacketType (PROTOCOL , SENDER , 0x1C , "SteerVehicle" , "CPacketInput" );
351
363
public static final PacketType PONG = new PacketType (PROTOCOL , SENDER , 0x1D , "Pong" , "ServerboundPongPacket" );
352
364
public static final PacketType RECIPE_SETTINGS = new PacketType (PROTOCOL , SENDER , 0x1E , "RecipeSettings" );
353
365
public static final PacketType RECIPE_DISPLAYED = new PacketType (PROTOCOL , SENDER , 0x1F , "RecipeDisplayed" , "CPacketRecipeInfo" );
@@ -368,6 +380,12 @@ public static class Client extends PacketTypeEnum {
368
380
public static final PacketType USE_ITEM = new PacketType (PROTOCOL , SENDER , 0x2E , "UseItem" , "CPacketPlayerTryUseItemOnBlock" );
369
381
public static final PacketType BLOCK_PLACE = new PacketType (PROTOCOL , SENDER , 0x2F , "BlockPlace" , "CPacketPlayerTryUseItem" );
370
382
383
+ /**
384
+ * @deprecated Removed in 1.17
385
+ */
386
+ @ Deprecated
387
+ public static final PacketType TRANSACTION = new PacketType (PROTOCOL , SENDER , 255 , "Transaction" , "CPacketConfirmTransaction" );
388
+
371
389
private final static Client INSTANCE = new Client ();
372
390
373
391
// Prevent accidental construction
0 commit comments