mirror of
https://github.com/dmulloy2/ProtocolLib.git
synced 2024-11-30 14:43:27 +01:00
Update EnumWrappers with new constants
This commit is contained in:
parent
dfc1808aca
commit
3ac9793553
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user