Enum Class PacketType.Play.Server
java.lang.Object
java.lang.Enum<PacketType.Play.Server>
com.github.retrooper.packetevents.protocol.packettype.PacketType.Play.Server
- All Implemented Interfaces:
ClientBoundPacket
,PacketTypeCommon
,Serializable
,Comparable<PacketType.Play.Server>
,Constable
- Enclosing class:
PacketType.Play
public static enum PacketType.Play.Server
extends Enum<PacketType.Play.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.19Added with 1.19.4Added with 1.20.2Added with 1.20.2Added with 1.19.4Added with 1.21.6Added with 1.20.2Added with 1.20.5Added with 1.19.1Added with 1.21Added with 1.19.4Added with 1.20.2Added with 1.20.5Added with 1.19.1Added with 1.19.3Added with 1.21.2Added with 1.19.4Added with 1.21.2Added with 1.19.3Added with 1.19.3Added with 1.21.2Added with 1.20.5Added with 1.21.2Added with 1.21.2Added with 1.21.2Added with 1.20.3Added with 1.20.3Added with 1.19Added with 1.21Added with 1.21.2Added with 1.21.2Added with 1.21.6Removed with 1.21.5Added with 1.20.5Added with 1.19Added with 1.21.5Added with 1.20.3Added with 1.20.3Added with 1.20.5Removed with 1.21.2Added with 1.21.6 -
Method Summary
Modifier and TypeMethodDescriptionstatic @Nullable PacketTypeCommon
getById
(ClientVersion version, int packetId) int
getId
(ClientVersion version) getSide()
Class
<? extends PacketWrapper<?>> static void
load()
static PacketType.Play.Server
Returns the enum constant of this class with the specified name.static PacketType.Play.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
-
SET_COMPRESSION
-
MAP_CHUNK_BULK
-
UPDATE_ENTITY_NBT
-
UPDATE_SIGN
-
USE_BED
-
SPAWN_WEATHER_ENTITY
-
TITLE
-
WORLD_BORDER
-
COMBAT_EVENT
-
ENTITY_MOVEMENT
-
SPAWN_LIVING_ENTITY
-
SPAWN_PAINTING
-
SCULK_VIBRATION_SIGNAL
-
ACKNOWLEDGE_PLAYER_DIGGING
-
CHAT_PREVIEW_PACKET
-
NAMED_SOUND_EFFECT
-
PLAYER_CHAT_HEADER
-
PLAYER_INFO
-
DISPLAY_CHAT_PREVIEW
-
UPDATE_ENABLED_FEATURES
-
SPAWN_PLAYER
-
WINDOW_CONFIRMATION
-
SPAWN_ENTITY
-
SPAWN_EXPERIENCE_ORB
Removed with 1.21.5 -
ENTITY_ANIMATION
-
STATISTICS
-
BLOCK_BREAK_ANIMATION
-
BLOCK_ENTITY_DATA
-
BLOCK_ACTION
-
BLOCK_CHANGE
-
BOSS_BAR
-
SERVER_DIFFICULTY
-
CLEAR_TITLES
-
TAB_COMPLETE
-
MULTI_BLOCK_CHANGE
-
DECLARE_COMMANDS
-
CLOSE_WINDOW
-
WINDOW_ITEMS
-
WINDOW_PROPERTY
-
SET_SLOT
-
SET_COOLDOWN
-
PLUGIN_MESSAGE
-
DISCONNECT
-
ENTITY_STATUS
-
EXPLOSION
-
UNLOAD_CHUNK
-
CHANGE_GAME_STATE
-
OPEN_HORSE_WINDOW
-
INITIALIZE_WORLD_BORDER
-
KEEP_ALIVE
-
CHUNK_DATA
-
EFFECT
-
PARTICLE
-
UPDATE_LIGHT
-
JOIN_GAME
-
MAP_DATA
-
MERCHANT_OFFERS
-
ENTITY_RELATIVE_MOVE
-
ENTITY_RELATIVE_MOVE_AND_ROTATION
-
ENTITY_ROTATION
-
VEHICLE_MOVE
-
OPEN_BOOK
-
OPEN_WINDOW
-
OPEN_SIGN_EDITOR
-
PING
-
CRAFT_RECIPE_RESPONSE
-
PLAYER_ABILITIES
-
END_COMBAT_EVENT
-
ENTER_COMBAT_EVENT
-
DEATH_COMBAT_EVENT
-
FACE_PLAYER
-
PLAYER_POSITION_AND_LOOK
-
UNLOCK_RECIPES
Removed with 1.21.2 -
DESTROY_ENTITIES
-
REMOVE_ENTITY_EFFECT
-
RESOURCE_PACK_SEND
-
RESPAWN
-
ENTITY_HEAD_LOOK
-
SELECT_ADVANCEMENTS_TAB
-
ACTION_BAR
-
WORLD_BORDER_CENTER
-
WORLD_BORDER_LERP_SIZE
-
WORLD_BORDER_SIZE
-
WORLD_BORDER_WARNING_DELAY
-
WORLD_BORDER_WARNING_REACH
-
CAMERA
-
HELD_ITEM_CHANGE
-
UPDATE_VIEW_POSITION
-
UPDATE_VIEW_DISTANCE
-
SPAWN_POSITION
-
DISPLAY_SCOREBOARD
-
ENTITY_METADATA
-
ATTACH_ENTITY
-
ENTITY_VELOCITY
-
ENTITY_EQUIPMENT
-
SET_EXPERIENCE
-
UPDATE_HEALTH
-
SCOREBOARD_OBJECTIVE
-
SET_PASSENGERS
-
TEAMS
-
UPDATE_SCORE
-
UPDATE_SIMULATION_DISTANCE
-
SET_TITLE_SUBTITLE
-
TIME_UPDATE
-
SET_TITLE_TEXT
-
SET_TITLE_TIMES
-
ENTITY_SOUND_EFFECT
-
SOUND_EFFECT
-
STOP_SOUND
-
PLAYER_LIST_HEADER_AND_FOOTER
-
NBT_QUERY_RESPONSE
-
COLLECT_ITEM
-
ENTITY_TELEPORT
-
UPDATE_ADVANCEMENTS
-
UPDATE_ATTRIBUTES
-
ENTITY_EFFECT
-
DECLARE_RECIPES
-
TAGS
-
CHAT_MESSAGE
-
ACKNOWLEDGE_BLOCK_CHANGES
Added with 1.19 -
SERVER_DATA
Added with 1.19 -
SYSTEM_CHAT_MESSAGE
Added with 1.19 -
DELETE_CHAT
Added with 1.19.1 -
CUSTOM_CHAT_COMPLETIONS
Added with 1.19.1 -
DISGUISED_CHAT
Added with 1.19.3 -
PLAYER_INFO_REMOVE
Added with 1.19.3 -
PLAYER_INFO_UPDATE
Added with 1.19.3 -
DAMAGE_EVENT
Added with 1.19.4 -
HURT_ANIMATION
Added with 1.19.4 -
BUNDLE
Added with 1.19.4 -
CHUNK_BIOMES
Added with 1.19.4 -
CHUNK_BATCH_END
Added with 1.20.2 -
CHUNK_BATCH_BEGIN
Added with 1.20.2 -
DEBUG_PONG
Added with 1.20.2 -
CONFIGURATION_START
Added with 1.20.2 -
RESET_SCORE
Added with 1.20.3 -
RESOURCE_PACK_REMOVE
Added with 1.20.3 -
TICKING_STATE
Added with 1.20.3 -
TICKING_STEP
Added with 1.20.3 -
COOKIE_REQUEST
Added with 1.20.5 -
DEBUG_SAMPLE
Added with 1.20.5 -
STORE_COOKIE
Added with 1.20.5 -
TRANSFER
Added with 1.20.5 -
PROJECTILE_POWER
Added with 1.20.5 -
CUSTOM_REPORT_DETAILS
Added with 1.21 -
SERVER_LINKS
Added with 1.21 -
MOVE_MINECART
Added with 1.21.2 -
SET_CURSOR_ITEM
Added with 1.21.2 -
SET_PLAYER_INVENTORY
Added with 1.21.2 -
ENTITY_POSITION_SYNC
Added with 1.21.2 -
PLAYER_ROTATION
Added with 1.21.2 -
RECIPE_BOOK_ADD
Added with 1.21.2 -
RECIPE_BOOK_REMOVE
Added with 1.21.2 -
RECIPE_BOOK_SETTINGS
Added with 1.21.2 -
TEST_INSTANCE_BLOCK_STATUS
Added with 1.21.5 -
WAYPOINT
Added with 1.21.6 -
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:
getWrapperClass
in interfacePacketTypeCommon
-
getId
- Specified by:
getId
in interfacePacketTypeCommon
-
getById
-
getSide
- Specified by:
getSide
in interfacePacketTypeCommon
-
load
public static void load()
-