Enum Class SuggestionProviders

java.lang.Object
java.lang.Enum<SuggestionProviders>
dev.jorel.commandapi.arguments.SuggestionProviders
All Implemented Interfaces:
Serializable, Comparable<SuggestionProviders>, Constable

public enum SuggestionProviders extends Enum<SuggestionProviders>
An enum representing the different suggestion providers for arguments based on Minecraft namespaced keys
  • Enum Constant Details

    • FUNCTION

      public static final SuggestionProviders FUNCTION
      A suggestion provider for the FunctionArgument
    • RECIPES

      public static final SuggestionProviders RECIPES
      A suggestion provider for the RecipeArgument
    • SOUNDS

      public static final SuggestionProviders SOUNDS
      A suggestion provider for the SoundArgument
    • ADVANCEMENTS

      public static final SuggestionProviders ADVANCEMENTS
      A suggestion provider for the AdvancementArgument
    • LOOT_TABLES

      public static final SuggestionProviders LOOT_TABLES
      A suggestion provider for the LootTableArgument
    • BIOMES

      public static final SuggestionProviders BIOMES
      A suggestion provider for the BiomeArgument
    • ENTITIES

      public static final SuggestionProviders ENTITIES
      A suggestion provider for the EntityTypeArgument
  • Method Details

    • values

      public static SuggestionProviders[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static SuggestionProviders valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null