Enum Class ClientboundConfigurationPackets1_21
java.lang.Object
java.lang.Enum<ClientboundConfigurationPackets1_21>
com.viaversion.viaaprilfools.protocol.v1_21_5to25w14craftmine.packet.ClientboundConfigurationPackets1_21
- All Implemented Interfaces:
ClientboundPacket25w14craftmine,com.viaversion.viaversion.api.protocol.packet.ClientboundPacketType,com.viaversion.viaversion.api.protocol.packet.PacketType,com.viaversion.viaversion.protocols.v1_20_5to1_21.packet.ClientboundPacket1_21,com.viaversion.viaversion.protocols.v1_21_4to1_21_5.packet.ClientboundPacket1_21_5,com.viaversion.viaversion.protocols.v1_21to1_21_2.packet.ClientboundPacket1_21_2,Serializable,Comparable<ClientboundConfigurationPackets1_21>,Constable
public enum ClientboundConfigurationPackets1_21
extends Enum<ClientboundConfigurationPackets1_21>
implements com.viaversion.viaversion.protocols.v1_20_5to1_21.packet.ClientboundPacket1_21, com.viaversion.viaversion.protocols.v1_21to1_21_2.packet.ClientboundPacket1_21_2, com.viaversion.viaversion.protocols.v1_21_4to1_21_5.packet.ClientboundPacket1_21_5, ClientboundPacket25w14craftmine
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionintgetId()getName()com.viaversion.viaversion.api.protocol.packet.Statestate()Returns the enum constant of this class with the specified name.static ClientboundConfigurationPackets1_21[]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.viaversion.viaversion.api.protocol.packet.ClientboundPacketType
direction
-
Enum Constant Details
-
COOKIE_REQUEST
-
CUSTOM_PAYLOAD
-
DISCONNECT
-
FINISH_CONFIGURATION
-
KEEP_ALIVE
-
PING
-
RESET_CHAT
-
REGISTRY_DATA
-
RESOURCE_PACK_POP
-
RESOURCE_PACK_PUSH
-
STORE_COOKIE
-
TRANSFER
-
UPDATE_ENABLED_FEATURES
-
UPDATE_TAGS
-
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
-
getId
public int getId()- Specified by:
getIdin interfacecom.viaversion.viaversion.api.protocol.packet.PacketType
-
getName
- Specified by:
getNamein interfacecom.viaversion.viaversion.api.protocol.packet.PacketType
-
state
public com.viaversion.viaversion.api.protocol.packet.State state()- Specified by:
statein interfacecom.viaversion.viaversion.api.protocol.packet.PacketType
-