Enum Class PacketType.Configuration.Server
java.lang.Object
java.lang.Enum<PacketType.Configuration.Server>
com.github.retrooper.packetevents.protocol.packettype.PacketType.Configuration.Server
- All Implemented Interfaces:
ClientBoundPacket
,PacketTypeCommon
,Serializable
,Comparable<PacketType.Configuration.Server>
,Constable
- Enclosing class:
PacketType.Configuration
public static enum PacketType.Configuration.Server
extends Enum<PacketType.Configuration.Server>
implements PacketTypeCommon, ClientBoundPacket
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic @Nullable PacketTypeCommon
getById
(int packetId) static @Nullable PacketTypeCommon
getById
(ClientVersion version, int packetId) int
getId()
Deprecated.int
getId
(ClientVersion version) getSide()
static void
load()
Returns the enum constant of this class with the specified name.static PacketType.Configuration.Server[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
Methods inherited from interface com.github.retrooper.packetevents.protocol.packettype.PacketTypeCommon
getName
-
Enum Constant Details
-
PLUGIN_MESSAGE
-
DISCONNECT
-
CONFIGURATION_END
-
KEEP_ALIVE
-
PING
-
REGISTRY_DATA
-
RESOURCE_PACK_SEND
-
UPDATE_ENABLED_FEATURES
-
UPDATE_TAGS
-
RESOURCE_PACK_REMOVE
-
COOKIE_REQUEST
-
RESET_CHAT
-
STORE_COOKIE
-
TRANSFER
-
SELECT_KNOWN_PACKS
-
CUSTOM_REPORT_DETAILS
-
SERVER_LINKS
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
load
public static void load() -
getById
-
getById
-
getId
Deprecated. -
getId
- Specified by:
getId
in interfacePacketTypeCommon
-
getSide
- Specified by:
getSide
in interfacePacketTypeCommon
-