Package com.sk89q.worldedit.command.util
Class SuggestionHelper
java.lang.Object
com.sk89q.worldedit.command.util.SuggestionHelper
Internal class for generating common command suggestions.
- 
Method SummaryModifier and TypeMethodDescriptiongetBlockCategorySuggestions(String tag, boolean allowRandom) getBlockPropertySuggestions(String blockTypeString, BlockType type, String props) getNamespacedRegistrySuggestions(NamespacedRegistry<V> registry, String input) getRegistrySuggestions(Registry<V> registry, String input) suggestBoolean(String argumentInput) Returns a stream of suggestions for booleans.suggestPositiveDoubles(String argumentInput) Returns a stream of suggestions for positive doubles.suggestPositiveIntegers(String argumentInput) Returns a stream of suggestions for positive integers.
- 
Method Details- 
getBlockCategorySuggestions
- 
getBlockPropertySuggestions
- 
getRegistrySuggestions
- 
getNamespacedRegistrySuggestionspublic static <V extends Keyed> Stream<String> getNamespacedRegistrySuggestions(NamespacedRegistry<V> registry, String input) 
- 
suggestPositiveDoublesReturns a stream of suggestions for positive doubles.- Parameters:
- argumentInput- the given input to filter with.
- Returns:
- a stream of suggestions.
 
- 
suggestPositiveIntegersReturns a stream of suggestions for positive integers.- Parameters:
- argumentInput- the given input to filter with.
- Returns:
- a stream of suggestions.
 
- 
suggestBooleanReturns a stream of suggestions for booleans.- Parameters:
- argumentInput- the given input to filter with.
- Returns:
- a stream of suggestions.
 
 
-