Interface ClientPacket

All Superinterfaces:
NetworkBuffer.Writer
All Known Implementing Classes:
ClientAdvancementTabPacket, ClientAnimationPacket, ClientChatAckPacket, ClientChatMessagePacket, ClientChatSessionUpdatePacket, ClientChunkBatchReceivedPacket, ClientClickWindowButtonPacket, ClientClickWindowPacket, ClientCloseWindowPacket, ClientCommandChatPacket, ClientConfigurationAckPacket, ClientCookieResponsePacket, ClientCraftRecipeRequest, ClientCreativeInventoryActionPacket, ClientDebugSampleSubscriptionPacket, ClientEditBookPacket, ClientEncryptionResponsePacket, ClientEntityActionPacket, ClientFinishConfigurationPacket, ClientGenerateStructurePacket, ClientHandshakePacket, ClientHeldItemChangePacket, ClientInteractEntityPacket, ClientKeepAlivePacket, ClientLoginAcknowledgedPacket, ClientLoginPluginResponsePacket, ClientLoginStartPacket, ClientNameItemPacket, ClientPickItemPacket, ClientPingRequestPacket, ClientPlayerAbilitiesPacket, ClientPlayerBlockPlacementPacket, ClientPlayerDiggingPacket, ClientPlayerPacket, ClientPlayerPositionAndRotationPacket, ClientPlayerPositionPacket, ClientPlayerRotationPacket, ClientPluginMessagePacket, ClientPongPacket, ClientQueryBlockNbtPacket, ClientQueryEntityNbtPacket, ClientResourcePackStatusPacket, ClientSelectKnownPacksPacket, ClientSelectTradePacket, ClientSetBeaconEffectPacket, ClientSetDisplayedRecipePacket, ClientSetRecipeBookStatePacket, ClientSettingsPacket, ClientSignedCommandChatPacket, ClientSpectatePacket, ClientStatusPacket, ClientSteerBoatPacket, ClientSteerVehiclePacket, ClientTabCompletePacket, ClientTeleportConfirmPacket, ClientUpdateCommandBlockMinecartPacket, ClientUpdateCommandBlockPacket, ClientUpdateSignPacket, ClientUpdateStructureBlockPacket, ClientUseItemPacket, ClientVehicleMovePacket, ClientWindowSlotStatePacket, LegacyServerListPingPacket, StatusRequestPacket

public interface ClientPacket extends NetworkBuffer.Writer
Represents a packet received from a client.

Packets are value-based, and should therefore not be reliant on identity.

  • Method Summary

    Modifier and Type
    Method
    Description
    default boolean
    Determines whether this packet should be processed immediately or wait until the next server tick.

    Methods inherited from interface net.minestom.server.network.NetworkBuffer.Writer

    write
  • Method Details

    • processImmediately

      @Internal default boolean processImmediately()
      Determines whether this packet should be processed immediately or wait until the next server tick.
      Returns:
      true if this packet should process immediately