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