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