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
Enum ConstantsEnum ConstantDescriptionAdded with 1.21.6Added with 1.20.5Added with 1.21Added with 1.20.5Added with 1.20.3Added with 1.20.5Added with 1.21Added with 1.21.6Added with 1.20.5Added with 1.20.5 -
Method Summary
Modifier and TypeMethodDescriptionstatic @Nullable PacketTypeCommongetById(int packetId) static @Nullable PacketTypeCommongetById(ClientVersion version, int packetId) intgetId()Deprecated.intgetId(ClientVersion version) getSide()Class<? extends PacketWrapper<?>> static voidload()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, valueOfMethods 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
Added with 1.20.3 -
COOKIE_REQUEST
Added with 1.20.5 -
RESET_CHAT
Added with 1.20.5 -
STORE_COOKIE
Added with 1.20.5 -
TRANSFER
Added with 1.20.5 -
SELECT_KNOWN_PACKS
Added with 1.20.5 -
CUSTOM_REPORT_DETAILS
Added with 1.21 -
SERVER_LINKS
Added with 1.21 -
CLEAR_DIALOG
Added with 1.21.6 -
SHOW_DIALOG
Added with 1.21.6
-
-
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
-
getWrapperClass
- Specified by:
getWrapperClassin interfacePacketTypeCommon
-
load
public static void load() -
getById
-
getById
-
getId
Deprecated. -
getId
- Specified by:
getIdin interfacePacketTypeCommon
-
getSide
- Specified by:
getSidein interfacePacketTypeCommon
-