Class TrackCommand.TrackResults
java.lang.Object
net.minecraftforge.server.command.TrackCommand.TrackResults
- Enclosing class:
TrackCommand
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate static <T> int
execute
(CommandSourceStack source, TimeTracker<T> tracker, Function<ForgeTimings<T>, Component> toString) private static <T> List
<ForgeTimings<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<ForgeTimings<T>, Component> toString)
-