Class CommandUtil
java.lang.Object
ca.spottedleaf.common.util.CommandUtil
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptiongetSortedList(Iterable<String> iterable) getSortedList(Iterable<String> iterable, String prefix) getSortedList(Iterable<T> iterable, Function<T, String> transform) getSortedList(Iterable<T> iterable, Function<T, String> transform, String prefix) static UUIDtabCompleteList(String input, Function<String, T> parser, char separator, BiFunction<String, List<T>, List<String>> completer) tabCompleteListAgainst(String value, Iterable<String> against, char separator) tabCompleteListAgainst(String value, Iterable<T> against, char separator, Function<T, String> transform)
-
Field Details
-
LIST_SEPARATOR
public static final char LIST_SEPARATOR- See Also:
-
-
Method Details
-
getSortedList
-
getSortedList
-
getSortedList
-
getSortedList
-
parseUUID
-
tabCompleteListAgainst
-
tabCompleteListAgainst
-
tabCompleteList
-