Enum Class PacketType.Play.Client
java.lang.Object
java.lang.Enum<PacketType.Play.Client>
com.github.retrooper.packetevents.protocol.packettype.PacketType.Play.Client
- All Implemented Interfaces:
PacketTypeCommon
,ServerBoundPacket
,Serializable
,Comparable<PacketType.Play.Client>
,Constable
- Enclosing class:
PacketType.Play
public static enum PacketType.Play.Client
extends Enum<PacketType.Play.Client>
implements PacketTypeCommon, ServerBoundPacket
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionAdded with 1.19.1Added with 1.19Added with 1.20.5Added with 1.19.3Added with 1.20.2Added with 1.21.2Added with 1.20.2Added with 1.20.5Added with 1.20.2Added with 1.20.5Removed with 1.21.4Added with 1.21.4Added with 1.21.4Added with 1.21.2, based onSTEER_VEHICLE
Added with 1.21.4Added with 1.21.2Added with 1.20.3Removed with 1.21.2 -
Method Summary
Modifier and TypeMethodDescriptionstatic @Nullable PacketTypeCommon
getById
(ClientVersion version, int packetId) int
getId
(ClientVersion version) getSide()
static void
load()
static PacketType.Play.Client
Returns the enum constant of this class with the specified name.static PacketType.Play.Client[]
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
-
CHAT_PREVIEW
-
TELEPORT_CONFIRM
-
QUERY_BLOCK_NBT
-
SET_DIFFICULTY
-
CHAT_MESSAGE
-
CLIENT_STATUS
-
CLIENT_SETTINGS
-
TAB_COMPLETE
-
WINDOW_CONFIRMATION
-
CLICK_WINDOW_BUTTON
-
CLICK_WINDOW
-
CLOSE_WINDOW
-
PLUGIN_MESSAGE
-
EDIT_BOOK
-
QUERY_ENTITY_NBT
-
INTERACT_ENTITY
-
GENERATE_STRUCTURE
-
KEEP_ALIVE
-
LOCK_DIFFICULTY
-
PLAYER_POSITION
-
PLAYER_POSITION_AND_ROTATION
-
PLAYER_ROTATION
-
PLAYER_FLYING
-
VEHICLE_MOVE
-
STEER_BOAT
-
PICK_ITEM
Removed with 1.21.4 -
CRAFT_RECIPE_REQUEST
-
PLAYER_ABILITIES
-
PLAYER_DIGGING
-
ENTITY_ACTION
-
STEER_VEHICLE
Removed with 1.21.2 -
PONG
-
RECIPE_BOOK_DATA
-
SET_DISPLAYED_RECIPE
-
SET_RECIPE_BOOK_STATE
-
NAME_ITEM
-
RESOURCE_PACK_STATUS
-
ADVANCEMENT_TAB
-
SELECT_TRADE
-
SET_BEACON_EFFECT
-
HELD_ITEM_CHANGE
-
UPDATE_COMMAND_BLOCK
-
UPDATE_COMMAND_BLOCK_MINECART
-
CREATIVE_INVENTORY_ACTION
-
UPDATE_JIGSAW_BLOCK
-
UPDATE_STRUCTURE_BLOCK
-
UPDATE_SIGN
-
ANIMATION
-
SPECTATE
-
PLAYER_BLOCK_PLACEMENT
-
USE_ITEM
-
CHAT_COMMAND
Added with 1.19 -
CHAT_ACK
Added with 1.19.1 -
CHAT_SESSION_UPDATE
Added with 1.19.3 -
CHUNK_BATCH_ACK
Added with 1.20.2 -
CONFIGURATION_ACK
Added with 1.20.2 -
DEBUG_PING
Added with 1.20.2 -
SLOT_STATE_CHANGE
Added with 1.20.3 -
CHAT_COMMAND_UNSIGNED
Added with 1.20.5 -
COOKIE_RESPONSE
Added with 1.20.5 -
DEBUG_SAMPLE_SUBSCRIPTION
Added with 1.20.5 -
CLIENT_TICK_END
Added with 1.21.2 -
SELECT_BUNDLE_ITEM
Added with 1.21.2 -
PLAYER_INPUT
Added with 1.21.2, based onSTEER_VEHICLE
-
PICK_ITEM_FROM_BLOCK
Added with 1.21.4 -
PICK_ITEM_FROM_ENTITY
Added with 1.21.4 -
PLAYER_LOADED
Added with 1.21.4
-
-
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
-
getById
-
load
public static void load() -
getId
- Specified by:
getId
in interfacePacketTypeCommon
-
getSide
- Specified by:
getSide
in interfacePacketTypeCommon
-