Class CommandTrack.TrackResults
java.lang.Object
net.minecraftforge.server.command.CommandTrack.TrackResults
- Enclosing class:
- CommandTrack
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate static <T> int
execute
(CommandSource source, TimeTracker<T> tracker, Function<ForgeTimings<T>, ITextComponent> 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(CommandSource source, TimeTracker<T> tracker, Function<ForgeTimings<T>, ITextComponent> toString) throws CommandException- Throws:
CommandException
-