Update EnumWrappers with new constants

This commit is contained in:
Dan Mulloy 2014-11-29 21:24:27 -05:00
parent dfc1808aca
commit 3ac9793553

View File

@ -16,28 +16,29 @@ import com.google.common.collect.Maps;
* @author Kristian * @author Kristian
*/ */
public abstract class EnumWrappers { public abstract class EnumWrappers {
public enum ClientCommand { public enum ClientCommand {
PERFORM_RESPAWN, PERFORM_RESPAWN,
REQUEST_STATS, REQUEST_STATS,
OPEN_INVENTORY_ACHIEVEMENT; OPEN_INVENTORY_ACHIEVEMENT;
} }
public enum ChatVisibility { public enum ChatVisibility {
FULL, FULL,
SYSTEM, SYSTEM,
HIDDEN; HIDDEN;
} }
public enum Difficulty { public enum Difficulty {
PEACEFUL, PEACEFUL,
EASY, EASY,
NORMAL, NORMAL,
HARD; HARD;
} }
public enum EntityUseAction { public enum EntityUseAction {
INTERACT, INTERACT,
ATTACK; ATTACK,
INTERACT_AT;
} }
/** /**
@ -47,10 +48,16 @@ public abstract class EnumWrappers {
* @author Kristian * @author Kristian
*/ */
public enum NativeGameMode { public enum NativeGameMode {
NONE, NOT_SET,
SURVIVAL, SURVIVAL,
CREATIVE, CREATIVE,
ADVENTURE; ADVENTURE,
SPECTATOR,
/**
* @deprecated Replaced by NOT_SET
*/
NONE;
} }
private static Class<?> PROTOCOL_CLASS = null; private static Class<?> PROTOCOL_CLASS = null;