Class RecipeTypeArgument

java.lang.Object
com.blamejared.crafttweaker.api.command.argument.RecipeTypeArgument
All Implemented Interfaces:
com.mojang.brigadier.arguments.ArgumentType<IRecipeManager>

public class RecipeTypeArgument extends Object implements com.mojang.brigadier.arguments.ArgumentType<IRecipeManager>
  • Field Details

    • ID

      public static final net.minecraft.resources.ResourceLocation ID
  • Constructor Details

    • RecipeTypeArgument

      public RecipeTypeArgument()
  • Method Details

    • parse

      public IRecipeManager parse(com.mojang.brigadier.StringReader reader) throws com.mojang.brigadier.exceptions.CommandSyntaxException
      Specified by:
      parse in interface com.mojang.brigadier.arguments.ArgumentType<IRecipeManager>
      Throws:
      com.mojang.brigadier.exceptions.CommandSyntaxException
    • listSuggestions

      public <S> CompletableFuture<com.mojang.brigadier.suggestion.Suggestions> listSuggestions(com.mojang.brigadier.context.CommandContext<S> context, com.mojang.brigadier.suggestion.SuggestionsBuilder builder)
      Specified by:
      listSuggestions in interface com.mojang.brigadier.arguments.ArgumentType<IRecipeManager>
    • getExamples

      public Collection<String> getExamples()
      Specified by:
      getExamples in interface com.mojang.brigadier.arguments.ArgumentType<IRecipeManager>
    • get

      public static RecipeTypeArgument get()