Interface PixelmonPacket

All Known Implementing Classes:
AbandonResearchPacket, AbstractPixelmonPacket, AcceptDeclineBattlePacket, AcceptNPCTradePacket, AddNewInteractionPacket, AddToDayCarePacket, ApplyPresetPacket, BackToMainMenuPacket, BadgeCaseActionPacket, BagPacket, BattleGuiClosedPacket, BattleMessagePacket, BattleQueryPacket, BattleScreenDisabledPacket, BattleSwitchPacket, BattleTaskPacket, CancelDayCareBoxPacket, CancelTeamSelectPacket, ChangeLurePacket, ChangePokemonOpenGUIPacket, ChangePokemonPacket, CheckPlayerBattlePacket, CheckPokemonEditorAllowedPacket, CheckRulesVersion, CheckRulesVersionChoosePacket, CheckRulesVersionFixed, ChooseAttackPacket, ChooseMovesetPacket, ChooseStarterPacket, ClaimObjectivePacket, ClaimStagePacket, ClearClientResearchPacket, ClientboundSetSelectedSlotPacket, ClientboundUpdateSpawnerPacket, ClientChangeOpenPCPacket, ClientInitializeStoragePacket, ClientQueryResultsPCPacket, ClientResearchPacket, ClientSetLastOpenBoxPacket, ClientSetPacket, ClientUpdatePokedexPacket, CloseBattlePacket, CloseEditedPlayerPacket, CloseEditingPlayerPacket, CloseProfessorDialoguePacket, CloseRaidPacket, CloseTeamSelectScreenPacket, CompleteDayCareRequirementPacket, ConfirmTeamSelectPacket, CopyNPCPacket, CreateNPCFromPresetPacket, CustomDropsActionPacket, CustomDropsOpenPacket, CustomNoticePacketPacket, CustomScoreboardDisplayPacket, CustomScoreboardUpdatePacket, DayCareAllErrorsPacket, DayCareConditionStatusResponsePacket, DayCareHourglassUsedPacket, DayCareRequestAllErrorsPacket, DayCareRequestConditionUpdatePacket, DeleteMovePacket, DeleteNPCPacket, DeletePokemonPacket, DialogueChoiceMadePacket, DialogueClosurePacket, DialogueInputActionPacket, DialogueInputResponsePacket, DialogueNextActionPacket, DisplayBattleQueryRulesPacket, DistanceUntilBattleForfeitedPacket, DynamaxMegaRulePacket, DynamaxPacket, ElevatorUsedPacket, EndSpectatePacket, EnforcedRevivePacket, EnforcedReviveTask, EnforcedSwitchTask, EvolutionResponsePacket, EvolvePokemonPacket, ExitBattlePacket, ExportRequestPacket, ExportResponsePacket, FailedSwitchFleeTask, FavoriteResearchPacket, FinishSyncDataEntryPacket, FleePacket, FormBattleUpdatePacket, FreeToMoveDuringBattlePacket, GuiBattleUpdatePacket, GuiOpenClosePacket, HealerGuiClosePacket, HoverPacket, HPIncreaseTask, HPUpdateTask, IlluminatePositionsPacket, ImportRequestPacket, ImportResponsePacket, InteractNPCPacket, InvalidateRegistriesPacket, ItemCameraPacket, ItemDropPacket, KeyPacket, LensInfoPacket, LevelUpPacket, LinkPresetPacket, MailPacket, MegaEvolvePacket, NPCEditorClosedPacket, NPCLearnMovePacket, NPCTeachMovePacket, OpenBadgeCasePacket, OpenBattleModePacket, OpenDialogueInputPacket, OpenEvolutionGUIPacket, OpenNPCEditorPacket, OpenProfessorDialoguePacket, OpenRaidDropsPacket, OpenRaidPacket, OpenReplaceMoveScreenPacket, OpenScreenPacket, OpenSelectionPacket, OpenTutorPacket, ParticipantReadyPacket, PartyFainedRespawnPacket, PCClonePacket, PCSortPacket, PixelExtrasDisplayClientPacket, PixelExtrasDisplayServerPacket, PlayBattleMusicPacket, PlayBattleParticleSystemPacket, PlayerDeathPacket, PlayerExtrasPacket, PlayParticleSystemPacket, PokeDisplayOpenPacket, PokeDisplaySwapPacket, PokeDisplayUpdatePacket, PokemonListPacket, ProposeBattleRulesPacket, QueryResourceLocationPacket, QueryResourceLocationResult, RaidActionPacket, RaidDropsTask, RaidDynamaxTask, RaidShieldsTask, RandomizePokemonPacket, RegisterMoveSkillPacket, RegisterTraderPacket, RejectTeamSelectPacket, RelearnerTutorClosePacket, RemoveSpectatorPacket, RenamePokemonPacket, ReplaceMovePacket, RequestAllRibbonsPacket, RequestBagItemsPacket, RequestCloseEditedPlayerPacket, RequestCloseEditingPlayerPacket, RequestCustomRulesUpdatePacket, RequestDayCareChildPacket, RequestExtrasDisplayDataPacket, RequestNPCEditorPacket, RequestSpawnDataPacket, RequestSpectatePacket, RequestToggleFreeMoveInBattlePacket, RequestTrainerCardPacket, RequestUpdatedPokemonList, RespondDayCareChildPacket, RespondPokemonEditorAllowed, RespondToggleFreeMoveInBattlePacket, ReturnBagItemsPacket, RidingMovementPacket, RidingVerticalMovementPacket, RotateEntityPacket, SaveToPresetPacket, ScoreboardDisplayPacket, SelectionResponsePacket, SelectMovePacket, SelectStatPacket, SendAllRibbonsPacket, SendEntireDayCarePacket, SendSpawnDataPacket, SendToastPacket, SendTrackedNPCsOpenScreenPacket, SendUpdatedInteractionDataPacket, ServerboundSetSelectedSlotPacket, ServerCloseStoragePacket, ServerConfigListPacket, ServerCosmeticsUpdatePacket, ServerItemDropPacket, ServerPokedexPacket, ServerQueryPCPacket, ServerSetLastOpenBoxPacket, ServerSwapPacket, ServerTradesPacket, ServerTrashPacket, ServerUpdateBoxPacket, SetAllBattlingPokemonPacket, SetBattlingPokemonPacket, SetCharmPacket, SetClientTradePairPacket, SetDialogueDataPacket, SetDisplayRibbonPacket, SetEditedPlayerPacket, SetEditingPlayerPacket, SetHeldItemPacket, SetImportPokemonIDPacket, SetMegaItemPacket, SetNPCIconPacket, SetPokeBallIdPacket, SetPokemonBattleDataPacket, SetProposedRulesPacket, SetSelectedStatsPacket, SetSelectionOptionsPacket, SetStrugglePacket, SetTempMode, SetTradeTargetPacket, ShopClosePacket, ShopOpenPacket, ShopTransactionPacket, ShowSpectateMessagePacket, ShowTeamSelectPacket, StartBattlePacket, StarterListPacket, StartSpectatePacket, StatueUpdatePacket, StatusUpdateTask, StopStartLevellingPacket, SummonParticleArcaneryPacket, SwapBoxPacket, SwapHeldItemPacket, SwapMovePacket, SwapPositionPacket, SwitchCameraPacket, SwitchOutTask, SwitchPokemonPacket, SyncAbilityPacket, SyncBossTiersPacket, SyncConditionDataEntryPacket, SyncDataProvidersDataEntryPacket, SyncMovesPacket, SyncPokeBallsPacket, SyncResultDataEntryPacket, SyncRibbonsPacket, 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, 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 Type
    Method
    Description
    void
    decode(net.minecraft.network.FriendlyByteBuf buffer)
    Decodes the information from the buffer to the packet instance
    void
    encode(net.minecraft.network.FriendlyByteBuf buffer)
    Encodes the buffer with the packet information
    void
    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