Interface Packet<T extends PacketListener>

All Known Implementing Classes:
ClientboundAddEntityPacket, ClientboundAddExperienceOrbPacket, ClientboundAddMobPacket, ClientboundAddPaintingPacket, ClientboundAddPlayerPacket, ClientboundAddVibrationSignalPacket, ClientboundAnimatePacket, ClientboundAwardStatsPacket, ClientboundBlockBreakAckPacket, ClientboundBlockDestructionPacket, ClientboundBlockEntityDataPacket, ClientboundBlockEventPacket, ClientboundBlockUpdatePacket, ClientboundBossEventPacket, ClientboundChangeDifficultyPacket, ClientboundChatPacket, ClientboundClearTitlesPacket, ClientboundCommandsPacket, ClientboundCommandSuggestionsPacket, ClientboundContainerClosePacket, ClientboundContainerSetContentPacket, ClientboundContainerSetDataPacket, ClientboundContainerSetSlotPacket, ClientboundCooldownPacket, ClientboundCustomPayloadPacket, ClientboundCustomQueryPacket, ClientboundCustomSoundPacket, ClientboundDisconnectPacket, ClientboundEntityEventPacket, ClientboundExplodePacket, ClientboundForgetLevelChunkPacket, ClientboundGameEventPacket, ClientboundGameProfilePacket, ClientboundHelloPacket, ClientboundHorseScreenOpenPacket, ClientboundInitializeBorderPacket, ClientboundKeepAlivePacket, ClientboundLevelChunkPacket, ClientboundLevelEventPacket, ClientboundLevelParticlesPacket, ClientboundLightUpdatePacket, ClientboundLoginCompressionPacket, ClientboundLoginDisconnectPacket, ClientboundLoginPacket, ClientboundMapItemDataPacket, ClientboundMerchantOffersPacket, ClientboundMoveEntityPacket, ClientboundMoveEntityPacket.Pos, ClientboundMoveEntityPacket.PosRot, ClientboundMoveEntityPacket.Rot, ClientboundMoveVehiclePacket, ClientboundOpenBookPacket, ClientboundOpenScreenPacket, ClientboundOpenSignEditorPacket, ClientboundPingPacket, ClientboundPlaceGhostRecipePacket, ClientboundPlayerAbilitiesPacket, ClientboundPlayerCombatEndPacket, ClientboundPlayerCombatEnterPacket, ClientboundPlayerCombatKillPacket, ClientboundPlayerInfoPacket, ClientboundPlayerLookAtPacket, ClientboundPlayerPositionPacket, ClientboundPongResponsePacket, ClientboundRecipePacket, ClientboundRemoveEntitiesPacket, ClientboundRemoveMobEffectPacket, ClientboundResourcePackPacket, ClientboundRespawnPacket, ClientboundRotateHeadPacket, ClientboundSectionBlocksUpdatePacket, ClientboundSelectAdvancementsTabPacket, ClientboundSetActionBarTextPacket, ClientboundSetBorderCenterPacket, ClientboundSetBorderLerpSizePacket, ClientboundSetBorderSizePacket, ClientboundSetBorderWarningDelayPacket, ClientboundSetBorderWarningDistancePacket, ClientboundSetCameraPacket, ClientboundSetCarriedItemPacket, ClientboundSetChunkCacheCenterPacket, ClientboundSetChunkCacheRadiusPacket, ClientboundSetDefaultSpawnPositionPacket, ClientboundSetDisplayObjectivePacket, ClientboundSetEntityDataPacket, ClientboundSetEntityLinkPacket, ClientboundSetEntityMotionPacket, ClientboundSetEquipmentPacket, ClientboundSetExperiencePacket, ClientboundSetHealthPacket, ClientboundSetObjectivePacket, ClientboundSetPassengersPacket, ClientboundSetPlayerTeamPacket, ClientboundSetScorePacket, ClientboundSetSubtitleTextPacket, ClientboundSetTimePacket, ClientboundSetTitlesAnimationPacket, ClientboundSetTitleTextPacket, ClientboundSoundEntityPacket, ClientboundSoundPacket, ClientboundStatusResponsePacket, ClientboundStopSoundPacket, ClientboundTabListPacket, ClientboundTagQueryPacket, ClientboundTakeItemEntityPacket, ClientboundTeleportEntityPacket, ClientboundUpdateAdvancementsPacket, ClientboundUpdateAttributesPacket, ClientboundUpdateMobEffectPacket, ClientboundUpdateRecipesPacket, ClientboundUpdateTagsPacket, ClientIntentionPacket, ServerboundAcceptTeleportationPacket, ServerboundBlockEntityTagQuery, ServerboundChangeDifficultyPacket, ServerboundChatPacket, ServerboundClientCommandPacket, ServerboundClientInformationPacket, ServerboundCommandSuggestionPacket, ServerboundContainerButtonClickPacket, ServerboundContainerClickPacket, ServerboundContainerClosePacket, ServerboundCustomPayloadPacket, ServerboundCustomQueryPacket, ServerboundEditBookPacket, ServerboundEntityTagQuery, ServerboundHelloPacket, ServerboundInteractPacket, ServerboundJigsawGeneratePacket, ServerboundKeepAlivePacket, ServerboundKeyPacket, ServerboundLockDifficultyPacket, ServerboundMovePlayerPacket, ServerboundMovePlayerPacket.Pos, ServerboundMovePlayerPacket.PosRot, ServerboundMovePlayerPacket.Rot, ServerboundMovePlayerPacket.StatusOnly, ServerboundMoveVehiclePacket, ServerboundPaddleBoatPacket, ServerboundPickItemPacket, ServerboundPingRequestPacket, ServerboundPlaceRecipePacket, ServerboundPlayerAbilitiesPacket, ServerboundPlayerActionPacket, ServerboundPlayerCommandPacket, ServerboundPlayerInputPacket, ServerboundPongPacket, ServerboundRecipeBookChangeSettingsPacket, ServerboundRecipeBookSeenRecipePacket, ServerboundRenameItemPacket, ServerboundResourcePackPacket, ServerboundSeenAdvancementsPacket, ServerboundSelectTradePacket, ServerboundSetBeaconPacket, ServerboundSetCarriedItemPacket, ServerboundSetCommandBlockPacket, ServerboundSetCommandMinecartPacket, ServerboundSetCreativeModeSlotPacket, ServerboundSetJigsawBlockPacket, ServerboundSetStructureBlockPacket, ServerboundSignUpdatePacket, ServerboundStatusRequestPacket, ServerboundSwingPacket, ServerboundTeleportToEntityPacket, ServerboundUseItemOnPacket, ServerboundUseItemPacket

public interface Packet<T extends PacketListener>
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    handle​(T p_131342_)
     
    default boolean
     
    void
    write​(FriendlyByteBuf p_131343_)
     
  • Method Details

    • write

      void write(FriendlyByteBuf p_131343_)
    • handle

      void handle(T p_131342_)
    • isSkippable

      default boolean isSkippable()