Class RunProgressService.SectionDurations

java.lang.Object
dev.deepcore.challenge.session.RunProgressService.SectionDurations
Enclosing class:
RunProgressService

public static final class RunProgressService.SectionDurations extends Object
Immutable split-duration values used for persisted run records.
  • Method Details

    • overworldToNetherMs

      public long overworldToNetherMs()
      Returns duration from run start to first Nether entry.
      Returns:
      elapsed duration in milliseconds from start to Nether entry
    • netherToBlazeRodsMs

      public long netherToBlazeRodsMs()
      Returns duration from Nether entry to blaze objective completion.
      Returns:
      elapsed duration in milliseconds from Nether entry to blaze milestone
    • blazeRodsToEndMs

      public long blazeRodsToEndMs()
      Returns duration from blaze objective completion to End entry.
      Returns:
      elapsed duration in milliseconds from blaze milestone to End entry
    • netherToEndMs

      public long netherToEndMs()
      Returns duration from Nether entry to End entry.
      Returns:
      elapsed duration in milliseconds from Nether entry to End entry
    • endToDragonMs

      public long endToDragonMs()
      Returns duration from End entry to dragon kill.
      Returns:
      elapsed duration in milliseconds from End entry to dragon kill