Interface ServerboundPacketType

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

    public interface ServerboundPacketType
    extends PacketType
    Interface to be implemented by server incoming packet type enums, representing PLAY state packets, ordered by their packet id.
    • Method Detail

      • direction

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