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 ConstantDescription -
Method Summary
Modifier and TypeMethodDescriptionstatic @Nullable PacketTypeCommon
getById
(ClientVersion version, int packetId) int
getId
(ClientVersion version) getSide()
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
-
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
-
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
-
SERVER_DATA
-
SYSTEM_CHAT_MESSAGE
-
DELETE_CHAT
-
CUSTOM_CHAT_COMPLETIONS
-
DISGUISED_CHAT
-
PLAYER_INFO_REMOVE
-
PLAYER_INFO_UPDATE
-
DAMAGE_EVENT
-
HURT_ANIMATION
-
BUNDLE
-
CHUNK_BIOMES
-
CHUNK_BATCH_END
-
CHUNK_BATCH_BEGIN
-
DEBUG_PONG
-
CONFIGURATION_START
-
RESET_SCORE
-
RESOURCE_PACK_REMOVE
-
TICKING_STATE
-
TICKING_STEP
-
COOKIE_REQUEST
-
DEBUG_SAMPLE
-
STORE_COOKIE
-
TRANSFER
-
PROJECTILE_POWER
-
CUSTOM_REPORT_DETAILS
-
SERVER_LINKS
-
MOVE_MINECART
-
SET_CURSOR_ITEM
-
SET_PLAYER_INVENTORY
-
ENTITY_POSITION_SYNC
-
PLAYER_ROTATION
-
RECIPE_BOOK_ADD
-
RECIPE_BOOK_REMOVE
-
RECIPE_BOOK_SETTINGS
-
-
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
- Specified by:
getId
in interfacePacketTypeCommon
-
getById
-
getSide
- Specified by:
getSide
in interfacePacketTypeCommon
-
load
public static void load()
-