Interface PixelmonPacket
- All Known Implementing Classes:
AbandonQuestPacket
,AbstractPixelmonPacket
,AcceptDeclineBattlePacket
,AcceptNPCTradePacket
,AddNewInteractionPacket
,AddToDayCarePacket
,AddTrainerPokemonPacket
,ApplyPresetPacket
,BackToMainMenuPacket
,BadgeCaseActionPacket
,BagPacket
,BattleGuiClosedPacket
,BattleMessagePacket
,BattleQueryPacket
,BattleScreenDisabledPacket
,BattleSwitchPacket
,BattleTaskPacket
,CancelDayCareBoxPacket
,CancelTeamSelectPacket
,ChangeLurePacket
,ChangePokemonOpenGUIPacket
,ChangePokemonPacket
,CheckPlayerBattlePacket
,CheckPokemonEditorAllowedPacket
,CheckRulesVersion
,CheckRulesVersionChoosePacket
,CheckRulesVersionFixed
,ChooseAttackPacket
,ChooseMovesetPacket
,ChooseStarterPacket
,ClearTrainerPokemonPacket
,ClientboundSetSelectedSlotPacket
,ClientboundUpdateSpawnerPacket
,ClientChangeOpenPCPacket
,ClientInitializeStoragePacket
,ClientQueryResultsPCPacket
,ClientSetLastOpenBoxPacket
,ClientSetPacket
,ClientUpdatePokedexPacket
,CloseBattlePacket
,CloseEditedPlayerPacket
,CloseEditingPlayerPacket
,CloseRaidPacket
,CloseTeamSelectScreenPacket
,CompleteDayCareRequirementPacket
,ConfirmTeamSelectPacket
,CopyNPCPacket
,CreateNPCFromPresetPacket
,CreateNPCPacket
,CustomDropsActionPacket
,CustomDropsOpenPacket
,CustomNoticePacketPacket
,CustomScoreboardDisplayPacket
,CustomScoreboardUpdatePacket
,DayCareAllErrorsPacket
,DayCareConditionStatusResponsePacket
,DayCareHourglassUsedPacket
,DayCareRequestAllErrorsPacket
,DayCareRequestConditionUpdatePacket
,DeleteMovePacket
,DeleteNPCPacket
,DeletePokemonPacket
,DeleteTrainerPacket
,DeleteTrainerPokemonPacket
,DialogueChoiceMadePacket
,DialogueClosurePacket
,DialogueInputActionPacket
,DialogueInputResponsePacket
,DialogueNextActionPacket
,DisplayBattleQueryRulesPacket
,DistanceUntilBattleForfeitedPacket
,DynamaxMegaRulePacket
,DynamaxPacket
,ElevatorUsedPacket
,EndSpectatePacket
,EnforcedRevivePacket
,EnforcedReviveTask
,EnforcedSwitchTask
,EvolutionResponsePacket
,EvolvePokemonPacket
,ExitBattlePacket
,ExportRequestPacket
,ExportResponsePacket
,FailedSwitchFleeTask
,FetchQuestDataPacket
,FinishSyncDataEntryPacket
,FleePacket
,FormBattleUpdatePacket
,FreeToMoveDuringBattlePacket
,GuiBattleUpdatePacket
,GuiOpenClosePacket
,HealerGuiClosePacket
,HideDisplayQuestPacket
,HoverPacket
,HPIncreaseTask
,HPUpdateTask
,IlluminatePositionsPacket
,ImportRequestPacket
,ImportResponsePacket
,InteractNPCPacket
,InvalidateRegistriesPacket
,ItemCameraPacket
,ItemDropPacket
,KeyPacket
,LensInfoPacket
,LevelUpPacket
,LinkPresetPacket
,MailPacket
,MegaEvolvePacket
,NPCEditorClosedPacket
,NPCLearnMovePacket
,NPCServerPacket
,NPCTeachMovePacket
,NPCTutor.LearnableMove
,OpenBadgeCasePacket
,OpenBattleModePacket
,OpenDialogueInputPacket
,OpenEvolutionGUIPacket
,OpenNPCEditorPacket
,OpenRaidDropsPacket
,OpenRaidPacket
,OpenReplaceMoveScreenPacket
,OpenScreenPacket
,OpenSelectionPacket
,OpenTutorPacket
,ParticipantReadyPacket
,PartyFainedRespawnPacket
,PCClonePacket
,PCSortPacket
,PixelExtrasDisplayClientPacket
,PixelExtrasDisplayServerPacket
,PlayBattleMusicPacket
,PlayBattleParticleSystemPacket
,PlayerDeathPacket
,PlayerExtrasPacket
,PlayParticleSystemPacket
,PokeDisplayOpenPacket
,PokeDisplaySwapPacket
,PokeDisplayUpdatePacket
,PokemonListPacket
,ProposeBattleRulesPacket
,PullQuestDataPacket
,PushQuestDataPacket
,QueryResourceLocationPacket
,QueryResourceLocationResult
,RaidActionPacket
,RaidDropsTask
,RaidDynamaxTask
,RaidShieldsTask
,RandomiseTrainerPokemonPacket
,RandomizePokemonPacket
,RegisterMoveSkillPacket
,RegisterTraderPacket
,RejectTeamSelectPacket
,RelearnerTutorClosePacket
,ReloadQuestDataPacket
,RemoveSpectatorPacket
,RenamePokemonPacket
,ReplaceMovePacket
,RequestAllRibbonsPacket
,RequestBagItemsPacket
,RequestCloseEditedPlayerPacket
,RequestCloseEditingPlayerPacket
,RequestCustomRulesUpdatePacket
,RequestDayCareChildPacket
,RequestExtrasDisplayDataPacket
,RequestNPCEditorPacket
,RequestSpawnDataPacket
,RequestSpectatePacket
,RequestToggleFreeMoveInBattlePacket
,RequestTrainerCardPacket
,RequestUpdatedPokemonList
,ResetQuestsPacket
,RespondDayCareChildPacket
,RespondPokemonEditorAllowed
,RespondToggleFreeMoveInBattlePacket
,ReturnBagItemsPacket
,RidingMovementPacket
,RidingVerticalMovementPacket
,RotateEntityPacket
,SaveToPresetPacket
,ScoreboardDisplayPacket
,SelectionResponsePacket
,SelectMovePacket
,SelectPokemonResponsePacket
,SelectStatPacket
,SendAllRibbonsPacket
,SendEntireDayCarePacket
,SendQuestDataPacket
,SendSpawnDataPacket
,SendTrackedNPCsOpenScreenPacket
,SendUpdatedInteractionDataPacket
,ServerboundSetSelectedSlotPacket
,ServerCloseStoragePacket
,ServerConfigListPacket
,ServerCosmeticsUpdatePacket
,ServerItemDropPacket
,ServerPokedexPacket
,ServerQueryPCPacket
,ServerSetLastOpenBoxPacket
,ServerSwapPacket
,ServerTradesPacket
,ServerTrashPacket
,ServerUpdateBoxPacket
,SetAllBattlingPokemonPacket
,SetBattlingPokemonPacket
,SetCharmPacket
,SetChattingNPCTexturesPacket
,SetClientTradePairPacket
,SetDialogueDataPacket
,SetDisplayQuestPacket
,SetDisplayRibbonPacket
,SetEditedPlayerPacket
,SetEditingPlayerPacket
,SetHeldItemPacket
,SetImportPokemonIDPacket
,SetMegaItemPacket
,SetNPCDataPacket
,SetNPCEditDataPacket
,SetNPCIconPacket
,SetPokeBallIdPacket
,SetPokemonBattleDataPacket
,SetProposedRulesPacket
,SetSelectedStatsPacket
,SetSelectionOptionsPacket
,SetShopkeeperClientPacket
,SetStrugglePacket
,SetTempMode
,SetTradeTargetPacket
,ShopClosePacket
,ShopOpenPacket
,ShopTransactionPacket
,ShowSpectateMessagePacket
,ShowTeamSelectPacket
,StartBattlePacket
,StarterListPacket
,StartSpectatePacket
,StatueUpdatePacket
,StatusUpdateTask
,StopStartLevellingPacket
,StoreTrainerDataPacket
,StoreTrainerPokemonPacket
,StoreTutorDataPacket
,SummonParticleArcaneryPacket
,SwapBoxPacket
,SwapHeldItemPacket
,SwapMovePacket
,SwapPositionPacket
,SwitchCameraPacket
,SwitchOutTask
,SwitchPokemonPacket
,SyncAbilityPacket
,SyncBossTiersPacket
,SyncConditionDataEntryPacket
,SyncDataProvidersDataEntryPacket
,SyncMovesPacket
,SyncNPCsPacket
,SyncPokeBallsPacket
,SyncResultDataEntryPacket
,SyncRibbonsPacket
,SyncShopKeepersPacket
,SyncSpawningPacket
,SyncSpeciesPacket
,SyncSpectatorRangePacket
,SyncStartersPacket
,TeleportNPCPacket
,TeleportPlayerPacket
,TradeReadyPacket
,TrainerCardColorPacket
,TrainerCardPacket
,TransformPacket
,UIKeyPressPacket
,UnconfirmTeamSelectPacket
,UnLinkPresetPacket
,UpdateBattleQueryRulesPacket
,UpdateClientEditingStatuePacket
,UpdateClientPlayerDataPacket
,UpdateClientRulesPacket
,UpdateDayCareBoxPacket
,UpdateDayCareHistoryPacket
,UpdateEditedPartyPacket
,UpdateEditedPokemonPacket
,UpdateEntityPropertiesPacket
,UpdateInteractionDataPacket
,UpdateMovesetPacket
,UpdateNamePacket
,UpdatePixelmonMovementPacket
,UpdatePlayerPokemonPacket
,UpdateRaidCatchPacket
,UpdateRenderingHandlerPacket
,UpdateSinglePokemonPacket
,UpdateSpawnerPacket
,UpdateSpriteItemRequestPacket
,UpdateTerrainPacket
,UpdateTrainerPartyPacketPacket
,UpdateTrainerPokemonPacketPacket
,UpdateTurnPacket
,UpdateWeatherPacket
,UseEtherPacket
,UseItemPacket
,UseMoveSkillPacket
,UseRevivePacket
,UseZMovePacket
,WithdrawDayCareBoxPacket
,WithdrawHeldItemPacket
,ZygardeCubePacket
,ZygardeReassemblyPacket
public interface PixelmonPacket
Interface that represents all packets going between the Pixelmon server instance and client
-
Method Summary
Modifier and TypeMethodDescriptionvoid
decode
(net.minecraft.network.FriendlyByteBuf buffer) Decodes the information from the buffer to the packet instancevoid
encode
(net.minecraft.network.FriendlyByteBuf buffer) Encodes the buffer with the packet informationvoid
handle
(net.minecraftforge.event.network.CustomPayloadEvent.Context context) Handles the packet being executed on the server or the client
-
Method Details
-
encode
void encode(net.minecraft.network.FriendlyByteBuf buffer) Encodes the buffer with the packet information- Parameters:
buffer
- The buffer being encoded
-
decode
void decode(net.minecraft.network.FriendlyByteBuf buffer) Decodes the information from the buffer to the packet instance- Parameters:
buffer
- The buffer being decoded
-
handle
void handle(net.minecraftforge.event.network.CustomPayloadEvent.Context context) Handles the packet being executed on the server or the client- Parameters:
context
- The network event context being supplied by Forge
-