Interface SendablePacket
- All Known Subinterfaces:
ServerPacket
,ServerPacket.Configuration
,ServerPacket.Login
,ServerPacket.Play
,ServerPacket.Status
- All Known Implementing Classes:
AcknowledgeBlockChangePacket
,ActionBarPacket
,AdvancementsPacket
,AttachEntityPacket
,BlockActionPacket
,BlockBreakAnimationPacket
,BlockChangePacket
,BlockEntityDataPacket
,BossBarPacket
,BufferedPacket
,BundlePacket
,CachedPacket
,CameraPacket
,ChangeGameStatePacket
,ChunkBatchFinishedPacket
,ChunkBatchStartPacket
,ChunkBiomesPacket
,ChunkDataPacket
,ClearTitlesPacket
,CloseWindowPacket
,CollectItemPacket
,CookieRequestPacket
,CookieStorePacket
,CustomChatCompletionPacket
,CustomReportDetailsPacket
,DamageEventPacket
,DeathCombatEventPacket
,DebugSamplePacket
,DeclareCommandsPacket
,DeclareRecipesPacket
,DeleteChatPacket
,DestroyEntitiesPacket
,DisconnectPacket
,DisguisedChatPacket
,DisplayScoreboardPacket
,EffectPacket
,EncryptionRequestPacket
,EndCombatEventPacket
,EnterCombatEventPacket
,EntityAnimationPacket
,EntityAttributesPacket
,EntityEffectPacket
,EntityEquipmentPacket
,EntityHeadLookPacket
,EntityMetaDataPacket
,EntityPositionAndRotationPacket
,EntityPositionPacket
,EntityPositionSyncPacket
,EntityRotationPacket
,EntitySoundEffectPacket
,EntityStatusPacket
,EntityTeleportPacket
,EntityVelocityPacket
,ExplosionPacket
,FacePlayerPacket
,FinishConfigurationPacket
,FramedPacket
,HeldItemChangePacket
,HitAnimationPacket
,InitializeWorldBorderPacket
,JoinGamePacket
,KeepAlivePacket
,LazyPacket
,LoginDisconnectPacket
,LoginPluginRequestPacket
,LoginSuccessPacket
,MapDataPacket
,MoveMinecartPacket
,MultiBlockChangePacket
,NbtQueryResponsePacket
,OpenBookPacket
,OpenHorseWindowPacket
,OpenSignEditorPacket
,OpenWindowPacket
,ParticlePacket
,PingPacket
,PingResponsePacket
,PlaceGhostRecipePacket
,PlayerAbilitiesPacket
,PlayerChatMessagePacket
,PlayerInfoRemovePacket
,PlayerInfoUpdatePacket
,PlayerListHeaderAndFooterPacket
,PlayerPositionAndLookPacket
,PlayerRotationPacket
,PluginMessagePacket
,ProjectilePowerPacket
,RecipeBookAddPacket
,RecipeBookRemovePacket
,RecipeBookSettingsPacket
,RegistryDataPacket
,RemoveEntityEffectPacket
,ResetChatPacket
,ResetScorePacket
,ResourcePackPopPacket
,ResourcePackPushPacket
,RespawnPacket
,ResponsePacket
,ScoreboardObjectivePacket
,SelectAdvancementTabPacket
,SelectKnownPacksPacket
,ServerDataPacket
,ServerDifficultyPacket
,ServerLinksPacket
,SetCompressionPacket
,SetCooldownPacket
,SetCursorItemPacket
,SetExperiencePacket
,SetPassengersPacket
,SetPlayerInventorySlotPacket
,SetSlotPacket
,SetTickStatePacket
,SetTitleSubTitlePacket
,SetTitleTextPacket
,SetTitleTimePacket
,SoundEffectPacket
,SpawnEntityPacket
,SpawnExperienceOrbPacket
,SpawnPositionPacket
,StartConfigurationPacket
,StatisticsPacket
,StopSoundPacket
,SystemChatPacket
,TabCompletePacket
,TagsPacket
,TeamsPacket
,TickStepPacket
,TimeUpdatePacket
,TradeListPacket
,TransferPacket
,UnloadChunkPacket
,UpdateEnabledFeaturesPacket
,UpdateHealthPacket
,UpdateLightPacket
,UpdateScorePacket
,UpdateSimulationDistancePacket
,UpdateViewDistancePacket
,UpdateViewPositionPacket
,VehicleMovePacket
,WindowItemsPacket
,WindowPropertyPacket
,WorldBorderCenterPacket
,WorldBorderLerpSizePacket
,WorldBorderSizePacket
,WorldBorderWarningDelayPacket
,WorldBorderWarningReachPacket
public sealed interface SendablePacket
permits BufferedPacket, CachedPacket, FramedPacket, LazyPacket, ServerPacket
Represents a packet that can be sent to a
PlayerConnection
.-
Method Summary
Modifier and TypeMethodDescriptionstatic @Nullable ServerPacket
extractServerPacket
(@NotNull ConnectionState state, @NotNull SendablePacket packet)
-
Method Details
-
extractServerPacket
@Nullable static @Nullable ServerPacket extractServerPacket(@NotNull @NotNull ConnectionState state, @NotNull @NotNull SendablePacket packet)
-