Package dev.deepcore.challenge.session
Class RunProgressService.SectionDurations
java.lang.Object
dev.deepcore.challenge.session.RunProgressService.SectionDurations
- Enclosing class:
RunProgressService
Immutable split-duration values used for persisted run records.
-
Method Summary
Modifier and TypeMethodDescriptionlongReturns duration from blaze objective completion to End entry.longReturns duration from End entry to dragon kill.longReturns duration from Nether entry to blaze objective completion.longReturns duration from Nether entry to End entry.longReturns duration from run start to first Nether entry.
-
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
-