Interface Tracker.ScheduledPacketHandler

Enclosing class:
Tracker
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface Tracker.ScheduledPacketHandler
Functional interface for handling scheduled packets.
Since:
1.15.2
  • Method Details

    • handle

      void handle(@NotNull @NotNull Tracker tracker, @NotNull @NotNull Tracker.BundlerSet bundlerSet)
      Handles packets for a tracker.
      Parameters:
      tracker - the tracker
      bundlerSet - the set of packet bundlers
      Since:
      1.15.2
    • then

      @NotNull default @NotNull Tracker.ScheduledPacketHandler then(@NotNull @NotNull Tracker.ScheduledPacketHandler other)
      Chains this handler with another.
      Parameters:
      other - the other handler
      Returns:
      the combined handler
      Since:
      1.15.2