Class BackendArgument

java.lang.Object
dev.engine_room.flywheel.impl.BackendArgument
All Implemented Interfaces:
com.mojang.brigadier.arguments.ArgumentType<dev.engine_room.flywheel.api.backend.Backend>

public class BackendArgument extends Object implements com.mojang.brigadier.arguments.ArgumentType<dev.engine_room.flywheel.api.backend.Backend>
  • Field Details

    • INSTANCE

      public static final BackendArgument INSTANCE
    • INFO

      public static final net.minecraft.commands.synchronization.SingletonArgumentInfo<BackendArgument> INFO
  • Constructor Details

    • BackendArgument

      public BackendArgument()
  • Method Details

    • parse

      public dev.engine_room.flywheel.api.backend.Backend parse(com.mojang.brigadier.StringReader reader) throws com.mojang.brigadier.exceptions.CommandSyntaxException
      Specified by:
      parse in interface com.mojang.brigadier.arguments.ArgumentType<dev.engine_room.flywheel.api.backend.Backend>
      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<dev.engine_room.flywheel.api.backend.Backend>
    • getExamples

      public Collection<String> getExamples()
      Specified by:
      getExamples in interface com.mojang.brigadier.arguments.ArgumentType<dev.engine_room.flywheel.api.backend.Backend>