Interface ClientboundPacketType

All Superinterfaces:
PacketType
All Known Implementing Classes:
SimpleProtocol.DummyPacketTypes

public non-sealed interface ClientboundPacketType extends PacketType
Interface to be implemented by server outgoing packet types.
  • Method Summary

    Modifier and Type
    Method
    Description
    default Direction
    Clientbound or serverbound direction.

    Methods inherited from interface com.viaversion.viaversion.api.protocol.packet.PacketType

    getId, getName, state
  • Method Details

    • direction

      default Direction direction()
      Description copied from interface: PacketType
      Clientbound or serverbound direction.
      Specified by:
      direction in interface PacketType
      Returns:
      direction