Updated packet registry for 1.4.6.

This commit is contained in:
Kristian S. Stangeland 2013-01-13 14:31:19 +01:00
parent 37a9fc6a98
commit 70cb9c5275

View File

@ -52,9 +52,18 @@ public final class Packets {
public static final int PLAYER_POSITION = 11; public static final int PLAYER_POSITION = 11;
public static final int PLAYER_LOOK = 12; public static final int PLAYER_LOOK = 12;
public static final int PLAYER_LOOK_MOVE = 13; 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 ENTITY_LOCATION_ACTION = 17;
public static final int ARM_ANIMATION = 18; public static final int ARM_ANIMATION = 18;
public static final int NAMED_ENTITY_SPAWN = 20; public static final int NAMED_ENTITY_SPAWN = 20;
/**
* Removed in 1.4.6 and replaced with {@link VEHICLE_SPAWN}.
* @see <a href="http://www.wiki.vg/Protocol_History#2012-12-20">Protocol History - MinecraftCoalition</a>
*/
@Deprecated()
public static final int PICKUP_SPAWN = 21; public static final int PICKUP_SPAWN = 21;
public static final int COLLECT = 22; public static final int COLLECT = 22;
public static final int VEHICLE_SPAWN = 23; public static final int VEHICLE_SPAWN = 23;