Package dev.deepcore.challenge.records
Class RunRecord
java.lang.Object
dev.deepcore.challenge.records.RunRecord
Represents a recorded team speedrun completion with timing data for each
section.
Sections are:
- Overworld to Nether
- Nether to End
- End to Dragon defeat
-
Constructor Summary
ConstructorsConstructorDescriptionRunRecord(long timestamp, long overallTimeMs, long overworldToNetherMs, long netherToBlazeRodsMs, long blazeRodsToEndMs, long netherToEndMs, long endToDragonMs, String participantsCsv, String componentsCsv, String difficulty) Creates a run record snapshot with split timings, participant names, and enabled mechanics. -
Method Summary
Modifier and TypeMethodDescriptionlongReturns the enabled component keys stored in this record.longlonglonglonglonglongtoString()
-
Constructor Details
-
RunRecord
public RunRecord(long timestamp, long overallTimeMs, long overworldToNetherMs, long netherToBlazeRodsMs, long blazeRodsToEndMs, long netherToEndMs, long endToDragonMs, String participantsCsv, String componentsCsv, String difficulty) Creates a run record snapshot with split timings, participant names, and enabled mechanics.- Parameters:
timestamp- record timestamp in epoch millisecondsoverallTimeMs- total run completion time in millisecondsoverworldToNetherMs- elapsed time to first nether entrynetherToBlazeRodsMs- elapsed time from nether entry to blaze rodsblazeRodsToEndMs- elapsed time from blaze rods to end entrynetherToEndMs- elapsed time from first nether entry to end entryendToDragonMs- elapsed time from end entry to dragon defeatparticipantsCsv- comma-separated participant namescomponentsCsv- comma-separated enabled component keysdifficulty- difficulty key for the run (easy/normal/hard)
-
-
Method Details
-
getTimestamp
public long getTimestamp() -
getOverallTimeMs
public long getOverallTimeMs() -
getOverworldToNetherMs
public long getOverworldToNetherMs() -
getNetherToBlazeRodsMs
public long getNetherToBlazeRodsMs() -
getBlazeRodsToEndMs
public long getBlazeRodsToEndMs() -
getNetherToEndMs
public long getNetherToEndMs() -
getEndToDragonMs
public long getEndToDragonMs() -
getParticipantsCsv
-
getParticipants
-
getComponentsCsv
-
getDifficulty
-
getComponentKeys
Returns the enabled component keys stored in this record.- Returns:
- list of enabled challenge component keys, empty for standard runs
-
toString
-