Class CommandCompletionProviders
- java.lang.Object
-
- org.spongepowered.api.command.registrar.tree.CommandCompletionProviders
-
public final class CommandCompletionProviders extends Object
Thecompletion providersavailable to raw command providers.
-
-
Field Summary
Fields Modifier and Type Field Description static DefaultedRegistryReference<CommandCompletionProvider>ALL_RECIPESInstructs the node represented by aCommandTreeNodeto display all knownrecipes.static DefaultedRegistryReference<CommandCompletionProvider>AVAILABLE_BIOMESInstructs the node represented by aCommandTreeNodeto display all knownbiomes.static DefaultedRegistryReference<CommandCompletionProvider>AVAILABLE_SOUNDSInstructs the node represented by aCommandTreeNodeto display all knownsounds.static DefaultedRegistryReference<CommandCompletionProvider>SUMMONABLE_ENTITIESInstructs the node represented by aCommandTreeNodeto display all knownentitiesthat may be summoned using the vanilla/summoncommand.
-
-
-
Field Detail
-
ALL_RECIPES
public static final DefaultedRegistryReference<CommandCompletionProvider> ALL_RECIPES
Instructs the node represented by aCommandTreeNodeto display all knownrecipes.This provider is intended for use with a
ResourceKeyparser.
-
AVAILABLE_SOUNDS
public static final DefaultedRegistryReference<CommandCompletionProvider> AVAILABLE_SOUNDS
Instructs the node represented by aCommandTreeNodeto display all knownsounds.This provider is intended for use with a
ResourceKeyparser.
-
AVAILABLE_BIOMES
public static final DefaultedRegistryReference<CommandCompletionProvider> AVAILABLE_BIOMES
Instructs the node represented by aCommandTreeNodeto display all knownbiomes.This provider is intended for use with a
ResourceKeyparser.
-
SUMMONABLE_ENTITIES
public static final DefaultedRegistryReference<CommandCompletionProvider> SUMMONABLE_ENTITIES
Instructs the node represented by aCommandTreeNodeto display all knownentitiesthat may be summoned using the vanilla/summoncommand.This provider is intended for use with
CommandTreeNodeTypes.ENTITY_SUMMON
-
-
Method Detail
-
registry
public static Registry<CommandCompletionProvider> registry()
-
-