Package dev.engine_room.flywheel.impl
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 Summary
FieldsModifier and TypeFieldDescriptionstatic final net.minecraft.commands.synchronization.SingletonArgumentInfo<BackendArgument>static final BackendArgument -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<S> CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>listSuggestions(com.mojang.brigadier.context.CommandContext<S> context, com.mojang.brigadier.suggestion.SuggestionsBuilder builder) dev.engine_room.flywheel.api.backend.Backendparse(com.mojang.brigadier.StringReader reader)
-
Field Details
-
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:
parsein interfacecom.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:
listSuggestionsin interfacecom.mojang.brigadier.arguments.ArgumentType<dev.engine_room.flywheel.api.backend.Backend>
-
getExamples
- Specified by:
getExamplesin interfacecom.mojang.brigadier.arguments.ArgumentType<dev.engine_room.flywheel.api.backend.Backend>
-