Package dev.jorel.commandapi.arguments
Class MapArgumentBuilder.MapArgumentBuilderValueMapper.MapArgumentBuilderSuggestsKey
java.lang.Object
dev.jorel.commandapi.arguments.MapArgumentBuilder.MapArgumentBuilderValueMapper.MapArgumentBuilderSuggestsKey
- Enclosing class:
- MapArgumentBuilder.MapArgumentBuilderValueMapper
public class MapArgumentBuilder.MapArgumentBuilderValueMapper.MapArgumentBuilderSuggestsKey
extends Object
An intermediary class for the
MapArgumentBuilder-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionMapArgumentBuilder<K,V>.MapArgumentBuilderValueMapper.MapArgumentBuilderSuggestsKey.MapArgumentBuilderSuggestsValue withKeyList(List<String> keyList) Provides a list of values to suggest when a value was typed.MapArgumentBuilder<K,V>.MapArgumentBuilderValueMapper.MapArgumentBuilderSuggestsKey.MapArgumentBuilderSuggestsValue When using this method, no key suggestions are displayed
-
Constructor Details
-
MapArgumentBuilderSuggestsKey
-
-
Method Details
-
withKeyList
public MapArgumentBuilder<K,V>.MapArgumentBuilderValueMapper.MapArgumentBuilderSuggestsKey.MapArgumentBuilderSuggestsValue withKeyList(List<String> keyList) Provides a list of values to suggest when a value was typed.- Parameters:
keyList- A list of keys to suggest.- Returns:
- this map argument builder
-
withoutKeyList
public MapArgumentBuilder<K,V>.MapArgumentBuilderValueMapper.MapArgumentBuilderSuggestsKey.MapArgumentBuilderSuggestsValue withoutKeyList()When using this method, no key suggestions are displayed- Returns:
- this map argument builder
-