net.minecraft.network.protocol.game

public interface ServerGamePacketListener

extends PacketListener

sa
net.minecraft.network.protocol.game.ServerGamePacketListener
net.minecraft.class_2792
net.minecraft.network.listener.ServerPlayPacketListener
net.minecraft.network.play.IServerPlayNetHandler
net.minecraft.server.v1_16_R2.PacketListenerPlayIn

Method summary

Modifier and TypeMethod
void
a(tq arg0)
handleAnimate(ServerboundSwingPacket arg0)
method_12052(class_2879 arg0)
onHandSwing(HandSwingC2SPacket packet)
func_175087_a(CAnimateHandPacket arg0)
void
a(se arg0)
handleChat(ServerboundChatPacket arg0)
method_12048(class_2797 arg0)
onGameMessage(ChatMessageC2SPacket packet)
func_147354_a(CChatMessagePacket arg0)
void
a(sf arg0)
handleClientCommand(ServerboundClientCommandPacket arg0)
method_12068(class_2799 arg0)
onClientStatus(ClientStatusC2SPacket packet)
func_147342_a(CClientStatusPacket arg0)
void
a(sg arg0)
handleClientInformation(ServerboundClientInformationPacket arg0)
method_12069(class_2803 arg0)
onClientSettings(ClientSettingsC2SPacket packet)
func_147352_a(CClientSettingsPacket arg0)
void
a(si arg0)
handleContainerAck(ServerboundContainerAckPacket arg0)
method_12079(class_2809 arg0)
onConfirmTransaction(ConfirmGuiActionC2SPacket packet)
func_147339_a(CConfirmTransactionPacket arg0)
void
a(sj arg0)
handleContainerButtonClick(ServerboundContainerButtonClickPacket arg0)
method_12055(class_2811 arg0)
onButtonClick(ButtonClickC2SPacket packet)
func_147338_a(CEnchantItemPacket arg0)
void
a(sk arg0)
handleContainerClick(ServerboundContainerClickPacket arg0)
method_12076(class_2813 arg0)
onClickWindow(ClickWindowC2SPacket packet)
func_147351_a(CClickWindowPacket arg0)
void
a(sx arg0)
handlePlaceRecipe(ServerboundPlaceRecipePacket arg0)
method_12061(class_2840 arg0)
onCraftRequest(CraftRequestC2SPacket packet)
func_194308_a(CPlaceRecipePacket arg0)
void
a(sl arg0)
handleContainerClose(ServerboundContainerClosePacket arg0)
method_12054(class_2815 arg0)
onGuiClose(GuiCloseC2SPacket packet)
func_147356_a(CCloseWindowPacket arg0)
void
a(sm arg0)
handleCustomPayload(ServerboundCustomPayloadPacket arg0)
method_12075(class_2817 arg0)
onCustomPayload(CustomPayloadC2SPacket packet)
func_147349_a(CCustomPayloadPacket arg0)
void
a(sp arg0)
handleInteract(ServerboundInteractPacket arg0)
method_12062(class_2824 arg0)
onPlayerInteractEntity(PlayerInteractEntityC2SPacket packet)
func_147340_a(CUseEntityPacket arg0)
void
a(sr arg0)
handleKeepAlive(ServerboundKeepAlivePacket arg0)
method_12082(class_2827 arg0)
onKeepAlive(KeepAliveC2SPacket packet)
func_147353_a(CKeepAlivePacket arg0)
void
a(st arg0)
handleMovePlayer(ServerboundMovePlayerPacket arg0)
method_12063(class_2828 arg0)
onPlayerMove(PlayerMoveC2SPacket packet)
func_147347_a(CPlayerPacket arg0)
void
a(sy arg0)
handlePlayerAbilities(ServerboundPlayerAbilitiesPacket arg0)
method_12083(class_2842 arg0)
onPlayerAbilities(UpdatePlayerAbilitiesC2SPacket packet)
func_147348_a(CPlayerAbilitiesPacket arg0)
void
a(sz arg0)
handlePlayerAction(ServerboundPlayerActionPacket arg0)
method_12066(class_2846 arg0)
onPlayerAction(PlayerActionC2SPacket packet)
func_147345_a(CPlayerDiggingPacket arg0)
void
a(ta arg0)
handlePlayerCommand(ServerboundPlayerCommandPacket arg0)
method_12045(class_2848 arg0)
onClientCommand(ClientCommandC2SPacket packet)
func_147357_a(CEntityActionPacket arg0)
void
a(tb arg0)
handlePlayerInput(ServerboundPlayerInputPacket arg0)
method_12067(class_2851 arg0)
onPlayerInput(PlayerInputC2SPacket packet)
func_147358_a(CInputPacket arg0)
void
a(tj arg0)
handleSetCarriedItem(ServerboundSetCarriedItemPacket arg0)
method_12056(class_2868 arg0)
onUpdateSelectedSlot(UpdateSelectedSlotC2SPacket packet)
func_147355_a(CHeldItemChangePacket arg0)
void
a(tm arg0)
handleSetCreativeModeSlot(ServerboundSetCreativeModeSlotPacket arg0)
method_12070(class_2873 arg0)
onCreativeInventoryAction(CreativeInventoryActionC2SPacket packet)
func_147344_a(CCreativeInventoryActionPacket arg0)
void
a(tp arg0)
handleSignUpdate(ServerboundSignUpdatePacket arg0)
method_12071(class_2877 arg0)
onSignUpdate(UpdateSignC2SPacket packet)
func_147343_a(CUpdateSignPacket arg0)
void
a(ts arg0)
handleUseItemOn(ServerboundUseItemOnPacket arg0)
method_12046(class_2885 arg0)
onPlayerInteractBlock(PlayerInteractBlockC2SPacket packet)
func_184337_a(CPlayerTryUseItemOnBlockPacket arg0)
void
a(tt arg0)
handleUseItem(ServerboundUseItemPacket arg0)
method_12065(class_2886 arg0)
onPlayerInteractItem(PlayerInteractItemC2SPacket packet)
func_147346_a(CPlayerTryUseItemPacket arg0)
void
a(tr arg0)
handleTeleportToEntityPacket(ServerboundTeleportToEntityPacket arg0)
method_12073(class_2884 arg0)
onSpectatorTeleport(SpectatorTeleportC2SPacket packet)
func_175088_a(CSpectatePacket arg0)
void
a(tf arg0)
handleResourcePackResponse(ServerboundResourcePackPacket arg0)
method_12081(class_2856 arg0)
onResourcePackStatus(ResourcePackStatusC2SPacket packet)
func_175086_a(CResourcePackStatusPacket arg0)
void
a(sv arg0)
handlePaddleBoat(ServerboundPaddleBoatPacket arg0)
method_12064(class_2836 arg0)
onBoatPaddleState(BoatPaddleStateC2SPacket packet)
func_184340_a(CSteerBoatPacket arg0)
void
a(su arg0)
handleMoveVehicle(ServerboundMoveVehiclePacket arg0)
method_12078(class_2833 arg0)
onVehicleMove(VehicleMoveC2SPacket packet)
func_184338_a(CMoveVehiclePacket arg0)
void
a(sb arg0)
handleAcceptTeleportPacket(ServerboundAcceptTeleportationPacket arg0)
method_12050(class_2793 arg0)
onTeleportConfirm(TeleportConfirmC2SPacket packet)
func_184339_a(CConfirmTeleportPacket arg0)
void
a(td arg0)
handleRecipeBookSeenRecipePacket(ServerboundRecipeBookSeenRecipePacket arg0)
method_12047(class_2853 arg0)
onRecipeBookData(RecipeBookDataC2SPacket packet)
func_191984_a(CMarkRecipeSeenPacket arg0)
void
a(tc arg0)
handleRecipeBookChangeSettingsPacket(ServerboundRecipeBookChangeSettingsPacket arg0)
method_30303(class_5427 arg0)
onRecipeCategoryOptions(RecipeCategoryOptionsC2SPacket packet)
func_241831_a(CUpdateRecipeBookStatusPacket arg0)
void
a(tg arg0)
handleSeenAdvancements(ServerboundSeenAdvancementsPacket arg0)
method_12058(class_2859 arg0)
onAdvancementTab(AdvancementTabC2SPacket packet)
func_194027_a(CSeenAdvancementsPacket arg0)
void
a(sh arg0)
handleCustomCommandSuggestions(ServerboundCommandSuggestionPacket arg0)
method_12059(class_2805 arg0)
onRequestCommandCompletions(RequestCommandCompletionsC2SPacket packet)
func_195518_a(CTabCompletePacket arg0)
void
a(tk arg0)
handleSetCommandBlock(ServerboundSetCommandBlockPacket arg0)
method_12077(class_2870 arg0)
onUpdateCommandBlock(UpdateCommandBlockC2SPacket packet)
func_210153_a(CUpdateCommandBlockPacket arg0)
void
a(tl arg0)
handleSetCommandMinecart(ServerboundSetCommandMinecartPacket arg0)
method_12049(class_2871 arg0)
onUpdateCommandBlockMinecart(UpdateCommandBlockMinecartC2SPacket packet)
func_210158_a(CUpdateMinecartCommandBlockPacket arg0)
void
a(sw arg0)
handlePickItem(ServerboundPickItemPacket arg0)
method_12084(class_2838 arg0)
onPickFromInventory(PickFromInventoryC2SPacket packet)
func_210152_a(CPickItemPacket arg0)
void
a(te arg0)
handleRenameItem(ServerboundRenameItemPacket arg0)
method_12060(class_2855 arg0)
onRenameItem(RenameItemC2SPacket packet)
func_210155_a(CRenameItemPacket arg0)
void
a(ti arg0)
handleSetBeaconPacket(ServerboundSetBeaconPacket arg0)
method_12057(class_2866 arg0)
onUpdateBeacon(UpdateBeaconC2SPacket packet)
func_210154_a(CUpdateBeaconPacket arg0)
void
a(to arg0)
handleSetStructureBlock(ServerboundSetStructureBlockPacket arg0)
method_12051(class_2875 arg0)
onStructureBlockUpdate(UpdateStructureBlockC2SPacket packet)
func_210157_a(CUpdateStructureBlockPacket arg0)
void
a(th arg0)
handleSelectTrade(ServerboundSelectTradePacket arg0)
method_12080(class_2863 arg0)
onMerchantTradeSelect(SelectMerchantTradeC2SPacket packet)
func_210159_a(CSelectTradePacket arg0)
void
a(sn arg0)
handleEditBook(ServerboundEditBookPacket arg0)
method_12053(class_2820 arg0)
onBookUpdate(BookUpdateC2SPacket packet)
func_210156_a(CEditBookPacket arg0)
void
a(so arg0)
handleEntityTagQuery(ServerboundEntityTagQuery arg0)
method_12074(class_2822 arg0)
onQueryEntityNbt(QueryEntityNbtC2SPacket packet)
func_211526_a(CQueryEntityNBTPacket arg0)
void
a(sc arg0)
handleBlockEntityTagQuery(ServerboundBlockEntityTagQuery arg0)
method_12072(class_2795 arg0)
onQueryBlockNbt(QueryBlockNbtC2SPacket packet)
func_211525_a(CQueryTileEntityNBTPacket arg0)
void
a(tn arg0)
handleSetJigsawBlock(ServerboundSetJigsawBlockPacket arg0)
method_16383(class_3753 arg0)
onJigsawUpdate(UpdateJigsawC2SPacket packet)
func_217262_a(CUpdateJigsawBlockPacket arg0)
void
a(sq arg0)
handleJigsawGenerate(ServerboundJigsawGeneratePacket arg0)
method_27273(class_5194 arg0)
onJigsawGenerating(JigsawGeneratingC2SPacket packet)
func_230549_a_(CJigsawBlockGeneratePacket arg0)
void
a(sd arg0)
handleChangeDifficulty(ServerboundChangeDifficultyPacket arg0)
method_19475(class_4210 arg0)
onUpdateDifficulty(UpdateDifficultyC2SPacket packet)
func_217263_a(CSetDifficultyPacket arg0)
void
a(ss arg0)
handleLockDifficulty(ServerboundLockDifficultyPacket arg0)
method_19476(class_4211 arg0)
onUpdateDifficultyLock(UpdateDifficultyLockC2SPacket packet)
func_217261_a(CLockDifficultyPacket arg0)