13declare(strict_types=1);
15namespace pocketmine\network\mcpe\protocol;
23trait PacketHandlerDefaultImplTrait{
25 public function handleLogin(LoginPacket $packet) : bool{
29 public function handlePlayStatus(PlayStatusPacket $packet) : bool{
33 public function handleServerToClientHandshake(ServerToClientHandshakePacket $packet) : bool{
37 public function handleClientToServerHandshake(ClientToServerHandshakePacket $packet) : bool{
41 public function handleDisconnect(DisconnectPacket $packet) : bool{
45 public function handleResourcePacksInfo(ResourcePacksInfoPacket $packet) : bool{
49 public function handleResourcePackStack(ResourcePackStackPacket $packet) : bool{
53 public function handleResourcePackClientResponse(ResourcePackClientResponsePacket $packet) : bool{
57 public function handleText(TextPacket $packet) : bool{
61 public function handleSetTime(SetTimePacket $packet) : bool{
65 public function handleStartGame(StartGamePacket $packet) : bool{
69 public function handleAddPlayer(AddPlayerPacket $packet) : bool{
73 public function handleAddActor(AddActorPacket $packet) : bool{
77 public function handleRemoveActor(RemoveActorPacket $packet) : bool{
81 public function handleAddItemActor(AddItemActorPacket $packet) : bool{
85 public function handleServerPlayerPostMovePosition(ServerPlayerPostMovePositionPacket $packet) : bool{
89 public function handleTakeItemActor(TakeItemActorPacket $packet) : bool{
93 public function handleMoveActorAbsolute(MoveActorAbsolutePacket $packet) : bool{
97 public function handleMovePlayer(MovePlayerPacket $packet) : bool{
101 public function handlePassengerJump(PassengerJumpPacket $packet) : bool{
105 public function handleUpdateBlock(UpdateBlockPacket $packet) : bool{
109 public function handleAddPainting(AddPaintingPacket $packet) : bool{
113 public function handleLevelSoundEventPacketV1(LevelSoundEventPacketV1 $packet) : bool{
117 public function handleLevelEvent(LevelEventPacket $packet) : bool{
121 public function handleBlockEvent(BlockEventPacket $packet) : bool{
125 public function handleActorEvent(ActorEventPacket $packet) : bool{
129 public function handleMobEffect(MobEffectPacket $packet) : bool{
133 public function handleUpdateAttributes(UpdateAttributesPacket $packet) : bool{
137 public function handleInventoryTransaction(InventoryTransactionPacket $packet) : bool{
141 public function handleMobEquipment(MobEquipmentPacket $packet) : bool{
145 public function handleMobArmorEquipment(MobArmorEquipmentPacket $packet) : bool{
149 public function handleInteract(InteractPacket $packet) : bool{
153 public function handleBlockPickRequest(BlockPickRequestPacket $packet) : bool{
157 public function handleActorPickRequest(ActorPickRequestPacket $packet) : bool{
161 public function handlePlayerAction(PlayerActionPacket $packet) : bool{
165 public function handleHurtArmor(HurtArmorPacket $packet) : bool{
169 public function handleSetActorData(SetActorDataPacket $packet) : bool{
173 public function handleSetActorMotion(SetActorMotionPacket $packet) : bool{
177 public function handleSetActorLink(SetActorLinkPacket $packet) : bool{
181 public function handleSetHealth(SetHealthPacket $packet) : bool{
185 public function handleSetSpawnPosition(SetSpawnPositionPacket $packet) : bool{
189 public function handleAnimate(AnimatePacket $packet) : bool{
193 public function handleRespawn(RespawnPacket $packet) : bool{
197 public function handleContainerOpen(ContainerOpenPacket $packet) : bool{
201 public function handleContainerClose(ContainerClosePacket $packet) : bool{
205 public function handlePlayerHotbar(PlayerHotbarPacket $packet) : bool{
209 public function handleInventoryContent(InventoryContentPacket $packet) : bool{
213 public function handleInventorySlot(InventorySlotPacket $packet) : bool{
217 public function handleContainerSetData(ContainerSetDataPacket $packet) : bool{
221 public function handleCraftingData(CraftingDataPacket $packet) : bool{
225 public function handleGuiDataPickItem(GuiDataPickItemPacket $packet) : bool{
229 public function handleBlockActorData(BlockActorDataPacket $packet) : bool{
233 public function handlePlayerInput(PlayerInputPacket $packet) : bool{
237 public function handleLevelChunk(LevelChunkPacket $packet) : bool{
241 public function handleSetCommandsEnabled(SetCommandsEnabledPacket $packet) : bool{
245 public function handleSetDifficulty(SetDifficultyPacket $packet) : bool{
249 public function handleChangeDimension(ChangeDimensionPacket $packet) : bool{
253 public function handleSetPlayerGameType(SetPlayerGameTypePacket $packet) : bool{
257 public function handlePlayerList(PlayerListPacket $packet) : bool{
261 public function handleSimpleEvent(SimpleEventPacket $packet) : bool{
265 public function handleLegacyTelemetryEvent(LegacyTelemetryEventPacket $packet) : bool{
269 public function handleSpawnExperienceOrb(SpawnExperienceOrbPacket $packet) : bool{
273 public function handleClientboundMapItemData(ClientboundMapItemDataPacket $packet) : bool{
277 public function handleMapInfoRequest(MapInfoRequestPacket $packet) : bool{
281 public function handleRequestChunkRadius(RequestChunkRadiusPacket $packet) : bool{
285 public function handleChunkRadiusUpdated(ChunkRadiusUpdatedPacket $packet) : bool{
289 public function handleGameRulesChanged(GameRulesChangedPacket $packet) : bool{
293 public function handleCamera(CameraPacket $packet) : bool{
297 public function handleBossEvent(BossEventPacket $packet) : bool{
301 public function handleShowCredits(ShowCreditsPacket $packet) : bool{
305 public function handleAvailableCommands(AvailableCommandsPacket $packet) : bool{
309 public function handleCommandRequest(CommandRequestPacket $packet) : bool{
313 public function handleCommandBlockUpdate(CommandBlockUpdatePacket $packet) : bool{
317 public function handleCommandOutput(CommandOutputPacket $packet) : bool{
321 public function handleUpdateTrade(UpdateTradePacket $packet) : bool{
325 public function handleUpdateEquip(UpdateEquipPacket $packet) : bool{
329 public function handleResourcePackDataInfo(ResourcePackDataInfoPacket $packet) : bool{
333 public function handleResourcePackChunkData(ResourcePackChunkDataPacket $packet) : bool{
337 public function handleResourcePackChunkRequest(ResourcePackChunkRequestPacket $packet) : bool{
341 public function handleTransfer(TransferPacket $packet) : bool{
345 public function handlePlaySound(PlaySoundPacket $packet) : bool{
349 public function handleStopSound(StopSoundPacket $packet) : bool{
353 public function handleSetTitle(SetTitlePacket $packet) : bool{
357 public function handleAddBehaviorTree(AddBehaviorTreePacket $packet) : bool{
361 public function handleStructureBlockUpdate(StructureBlockUpdatePacket $packet) : bool{
365 public function handleShowStoreOffer(ShowStoreOfferPacket $packet) : bool{
369 public function handlePurchaseReceipt(PurchaseReceiptPacket $packet) : bool{
373 public function handlePlayerSkin(PlayerSkinPacket $packet) : bool{
377 public function handleSubClientLogin(SubClientLoginPacket $packet) : bool{
381 public function handleAutomationClientConnect(AutomationClientConnectPacket $packet) : bool{
385 public function handleSetLastHurtBy(SetLastHurtByPacket $packet) : bool{
389 public function handleBookEdit(BookEditPacket $packet) : bool{
393 public function handleNpcRequest(NpcRequestPacket $packet) : bool{
397 public function handlePhotoTransfer(PhotoTransferPacket $packet) : bool{
401 public function handleModalFormRequest(ModalFormRequestPacket $packet) : bool{
405 public function handleModalFormResponse(ModalFormResponsePacket $packet) : bool{
409 public function handleServerSettingsRequest(ServerSettingsRequestPacket $packet) : bool{
413 public function handleServerSettingsResponse(ServerSettingsResponsePacket $packet) : bool{
417 public function handleShowProfile(ShowProfilePacket $packet) : bool{
421 public function handleSetDefaultGameType(SetDefaultGameTypePacket $packet) : bool{
425 public function handleRemoveObjective(RemoveObjectivePacket $packet) : bool{
429 public function handleSetDisplayObjective(SetDisplayObjectivePacket $packet) : bool{
433 public function handleSetScore(SetScorePacket $packet) : bool{
437 public function handleLabTable(LabTablePacket $packet) : bool{
441 public function handleUpdateBlockSynced(UpdateBlockSyncedPacket $packet) : bool{
445 public function handleMoveActorDelta(MoveActorDeltaPacket $packet) : bool{
449 public function handleSetScoreboardIdentity(SetScoreboardIdentityPacket $packet) : bool{
453 public function handleSetLocalPlayerAsInitialized(SetLocalPlayerAsInitializedPacket $packet) : bool{
457 public function handleUpdateSoftEnum(UpdateSoftEnumPacket $packet) : bool{
461 public function handleNetworkStackLatency(NetworkStackLatencyPacket $packet) : bool{
465 public function handleSpawnParticleEffect(SpawnParticleEffectPacket $packet) : bool{
469 public function handleAvailableActorIdentifiers(AvailableActorIdentifiersPacket $packet) : bool{
473 public function handleLevelSoundEventPacketV2(LevelSoundEventPacketV2 $packet) : bool{
477 public function handleNetworkChunkPublisherUpdate(NetworkChunkPublisherUpdatePacket $packet) : bool{
481 public function handleBiomeDefinitionList(BiomeDefinitionListPacket $packet) : bool{
485 public function handleLevelSoundEvent(LevelSoundEventPacket $packet) : bool{
489 public function handleLevelEventGeneric(LevelEventGenericPacket $packet) : bool{
493 public function handleLecternUpdate(LecternUpdatePacket $packet) : bool{
497 public function handleClientCacheStatus(ClientCacheStatusPacket $packet) : bool{
501 public function handleOnScreenTextureAnimation(OnScreenTextureAnimationPacket $packet) : bool{
505 public function handleMapCreateLockedCopy(MapCreateLockedCopyPacket $packet) : bool{
509 public function handleStructureTemplateDataRequest(StructureTemplateDataRequestPacket $packet) : bool{
513 public function handleStructureTemplateDataResponse(StructureTemplateDataResponsePacket $packet) : bool{
517 public function handleClientCacheBlobStatus(ClientCacheBlobStatusPacket $packet) : bool{
521 public function handleClientCacheMissResponse(ClientCacheMissResponsePacket $packet) : bool{
525 public function handleEducationSettings(EducationSettingsPacket $packet) : bool{
529 public function handleEmote(EmotePacket $packet) : bool{
533 public function handleMultiplayerSettings(MultiplayerSettingsPacket $packet) : bool{
537 public function handleSettingsCommand(SettingsCommandPacket $packet) : bool{
541 public function handleAnvilDamage(AnvilDamagePacket $packet) : bool{
545 public function handleCompletedUsingItem(CompletedUsingItemPacket $packet) : bool{
549 public function handleNetworkSettings(NetworkSettingsPacket $packet) : bool{
553 public function handlePlayerAuthInput(PlayerAuthInputPacket $packet) : bool{
557 public function handleCreativeContent(CreativeContentPacket $packet) : bool{
561 public function handlePlayerEnchantOptions(PlayerEnchantOptionsPacket $packet) : bool{
565 public function handleItemStackRequest(ItemStackRequestPacket $packet) : bool{
569 public function handleItemStackResponse(ItemStackResponsePacket $packet) : bool{
573 public function handlePlayerArmorDamage(PlayerArmorDamagePacket $packet) : bool{
577 public function handleCodeBuilder(CodeBuilderPacket $packet) : bool{
581 public function handleUpdatePlayerGameType(UpdatePlayerGameTypePacket $packet) : bool{
585 public function handleEmoteList(EmoteListPacket $packet) : bool{
589 public function handlePositionTrackingDBServerBroadcast(PositionTrackingDBServerBroadcastPacket $packet) : bool{
593 public function handlePositionTrackingDBClientRequest(PositionTrackingDBClientRequestPacket $packet) : bool{
597 public function handleDebugInfo(DebugInfoPacket $packet) : bool{
601 public function handlePacketViolationWarning(PacketViolationWarningPacket $packet) : bool{
605 public function handleMotionPredictionHints(MotionPredictionHintsPacket $packet) : bool{
609 public function handleAnimateEntity(AnimateEntityPacket $packet) : bool{
613 public function handleCameraShake(CameraShakePacket $packet) : bool{
617 public function handlePlayerFog(PlayerFogPacket $packet) : bool{
621 public function handleCorrectPlayerMovePrediction(CorrectPlayerMovePredictionPacket $packet) : bool{
625 public function handleItemComponent(ItemComponentPacket $packet) : bool{
629 public function handleClientboundDebugRenderer(ClientboundDebugRendererPacket $packet) : bool{
633 public function handleSyncActorProperty(SyncActorPropertyPacket $packet) : bool{
637 public function handleAddVolumeEntity(AddVolumeEntityPacket $packet) : bool{
641 public function handleRemoveVolumeEntity(RemoveVolumeEntityPacket $packet) : bool{
645 public function handleSimulationType(SimulationTypePacket $packet) : bool{
649 public function handleNpcDialogue(NpcDialoguePacket $packet) : bool{
653 public function handleEduUriResource(EduUriResourcePacket $packet) : bool{
657 public function handleCreatePhoto(CreatePhotoPacket $packet) : bool{
661 public function handleUpdateSubChunkBlocks(UpdateSubChunkBlocksPacket $packet) : bool{
665 public function handleSubChunk(SubChunkPacket $packet) : bool{
669 public function handleSubChunkRequest(SubChunkRequestPacket $packet) : bool{
673 public function handlePlayerStartItemCooldown(PlayerStartItemCooldownPacket $packet) : bool{
677 public function handleScriptMessage(ScriptMessagePacket $packet) : bool{
681 public function handleCodeBuilderSource(CodeBuilderSourcePacket $packet) : bool{
685 public function handleTickingAreasLoadStatus(TickingAreasLoadStatusPacket $packet) : bool{
689 public function handleDimensionData(DimensionDataPacket $packet) : bool{
693 public function handleAgentActionEvent(AgentActionEventPacket $packet) : bool{
697 public function handleChangeMobProperty(ChangeMobPropertyPacket $packet) : bool{
701 public function handleLessonProgress(LessonProgressPacket $packet) : bool{
705 public function handleRequestAbility(RequestAbilityPacket $packet) : bool{
709 public function handleRequestPermissions(RequestPermissionsPacket $packet) : bool{
713 public function handleToastRequest(ToastRequestPacket $packet) : bool{
717 public function handleUpdateAbilities(UpdateAbilitiesPacket $packet) : bool{
721 public function handleUpdateAdventureSettings(UpdateAdventureSettingsPacket $packet) : bool{
725 public function handleDeathInfo(DeathInfoPacket $packet) : bool{
729 public function handleEditorNetwork(EditorNetworkPacket $packet) : bool{
733 public function handleFeatureRegistry(FeatureRegistryPacket $packet) : bool{
737 public function handleServerStats(ServerStatsPacket $packet) : bool{
741 public function handleRequestNetworkSettings(RequestNetworkSettingsPacket $packet) : bool{
745 public function handleGameTestRequest(GameTestRequestPacket $packet) : bool{
749 public function handleGameTestResults(GameTestResultsPacket $packet) : bool{
753 public function handleUpdateClientInputLocks(UpdateClientInputLocksPacket $packet) : bool{
757 public function handleCameraPresets(CameraPresetsPacket $packet) : bool{
761 public function handleUnlockedRecipes(UnlockedRecipesPacket $packet) : bool{
765 public function handleCameraInstruction(CameraInstructionPacket $packet) : bool{
769 public function handleCompressedBiomeDefinitionList(CompressedBiomeDefinitionListPacket $packet) : bool{
773 public function handleTrimData(TrimDataPacket $packet) : bool{
777 public function handleOpenSign(OpenSignPacket $packet) : bool{
781 public function handleAgentAnimation(AgentAnimationPacket $packet) : bool{
785 public function handleRefreshEntitlements(RefreshEntitlementsPacket $packet) : bool{
789 public function handlePlayerToggleCrafterSlotRequest(PlayerToggleCrafterSlotRequestPacket $packet) : bool{
793 public function handleSetPlayerInventoryOptions(SetPlayerInventoryOptionsPacket $packet) : bool{
797 public function handleSetHud(SetHudPacket $packet) : bool{
801 public function handleAwardAchievement(AwardAchievementPacket $packet) : bool{
805 public function handleClientboundCloseForm(ClientboundCloseFormPacket $packet) : bool{
809 public function handleServerboundLoadingScreen(ServerboundLoadingScreenPacket $packet) : bool{
813 public function handleJigsawStructureData(JigsawStructureDataPacket $packet) : bool{
817 public function handleCurrentStructureFeature(CurrentStructureFeaturePacket $packet) : bool{
821 public function handleServerboundDiagnostics(ServerboundDiagnosticsPacket $packet) : bool{
825 public function handleCameraAimAssist(CameraAimAssistPacket $packet) : bool{
829 public function handleContainerRegistryCleanup(ContainerRegistryCleanupPacket $packet) : bool{
833 public function handleMovementEffect(MovementEffectPacket $packet) : bool{
837 public function handleSetMovementAuthority(SetMovementAuthorityPacket $packet) : bool{
841 public function handleCameraAimAssistPresets(CameraAimAssistPresetsPacket $packet) : bool{