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 Details

    • WorldEventTypeArgument

      protected WorldEventTypeArgument()
  • Method Details

    • worldEventType

      public static WorldEventTypeArgument 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:
      parse in interface com.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:
      listSuggestions in interface com.mojang.brigadier.arguments.ArgumentType<WorldEventType>