Class TrackCommand.TrackResults
java.lang.Object
net.neoforged.neoforge.server.command.TrackCommand.TrackResults
- Enclosing class:
TrackCommand
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate static <T> int
execute
(CommandSourceStack source, TimeTracker<T> tracker, Function<ObjectTimings<T>, Component> toString) private static <T> List
<ObjectTimings<T>> getSortedTimings
(TimeTracker<T> tracker) Returns the time objects recorded by the time tracker sorted by average time
-
Constructor Details
-
TrackResults
private TrackResults()
-
-
Method Details
-
getSortedTimings
Returns the time objects recorded by the time tracker sorted by average time- Returns:
- A list of time objects
-
execute
private static <T> int execute(CommandSourceStack source, TimeTracker<T> tracker, Function<ObjectTimings<T>, Component> toString)
-