From 70cb9c527522926a348556a9cd91dadb3f5d5c19 Mon Sep 17 00:00:00 2001 From: "Kristian S. Stangeland" Date: Sun, 13 Jan 2013 14:31:19 +0100 Subject: [PATCH] Updated packet registry for 1.4.6. --- .../src/main/java/com/comphenix/protocol/Packets.java | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/ProtocolLib/src/main/java/com/comphenix/protocol/Packets.java b/ProtocolLib/src/main/java/com/comphenix/protocol/Packets.java index 33023c47..34349377 100644 --- a/ProtocolLib/src/main/java/com/comphenix/protocol/Packets.java +++ b/ProtocolLib/src/main/java/com/comphenix/protocol/Packets.java @@ -52,9 +52,18 @@ public final class Packets { public static final int PLAYER_POSITION = 11; public static final int PLAYER_LOOK = 12; public static final int PLAYER_LOOK_MOVE = 13; + /** + * Made bi-directional in 1.4.6. + */ + public static final int BLOCK_ITEM_SWITCH = 16; public static final int ENTITY_LOCATION_ACTION = 17; public static final int ARM_ANIMATION = 18; public static final int NAMED_ENTITY_SPAWN = 20; + /** + * Removed in 1.4.6 and replaced with {@link VEHICLE_SPAWN}. + * @see Protocol History - MinecraftCoalition + */ + @Deprecated() public static final int PICKUP_SPAWN = 21; public static final int COLLECT = 22; public static final int VEHICLE_SPAWN = 23;