Class WorldEventTypeArgument
java.lang.Object
team.lodestar.lodestone.command.arguments.WorldEventTypeArgument
- All Implemented Interfaces:
com.mojang.brigadier.arguments.ArgumentType<WorldEventType>
public class WorldEventTypeArgument
extends Object
implements com.mojang.brigadier.arguments.ArgumentType<WorldEventType>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic WorldEventTypegetEventType(com.mojang.brigadier.context.CommandContext<?> context, String name) <S> CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>listSuggestions(com.mojang.brigadier.context.CommandContext<S> context, com.mojang.brigadier.suggestion.SuggestionsBuilder builder) parse(com.mojang.brigadier.StringReader reader) static WorldEventTypeArgumentMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.mojang.brigadier.arguments.ArgumentType
getExamples
-
Constructor Details
-
WorldEventTypeArgument
protected WorldEventTypeArgument()
-
-
Method Details
-
worldEventType
-
getEventType
public static WorldEventType getEventType(com.mojang.brigadier.context.CommandContext<?> context, String name) -
parse
public WorldEventType parse(com.mojang.brigadier.StringReader reader) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Specified by:
parsein interfacecom.mojang.brigadier.arguments.ArgumentType<WorldEventType>- 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<WorldEventType>
-