Class WorldArgument<W>

java.lang.Object
dev.rollczi.litecommands.argument.resolver.ArgumentResolver<net.minecraft.server.command.ServerCommandSource,W>
dev.rollczi.litecommands.fabric.argument.WorldArgument<W>
All Implemented Interfaces:
dev.rollczi.litecommands.argument.parser.Parser<net.minecraft.server.command.ServerCommandSource,W>, dev.rollczi.litecommands.argument.resolver.ArgumentResolverBase<net.minecraft.server.command.ServerCommandSource,W>, dev.rollczi.litecommands.argument.resolver.MultipleArgumentResolver<net.minecraft.server.command.ServerCommandSource,W>, dev.rollczi.litecommands.argument.suggester.Suggester<net.minecraft.server.command.ServerCommandSource,W>, dev.rollczi.litecommands.range.Rangeable<dev.rollczi.litecommands.argument.Argument<W>>

public class WorldArgument<W> extends dev.rollczi.litecommands.argument.resolver.ArgumentResolver<net.minecraft.server.command.ServerCommandSource,W>
  • Constructor Summary

    Constructors
    Constructor
    Description
    WorldArgument(dev.rollczi.litecommands.message.MessageRegistry<net.minecraft.server.command.ServerCommandSource> messageRegistry)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected dev.rollczi.litecommands.argument.parser.ParseResult<W>
    parse(dev.rollczi.litecommands.invocation.Invocation<net.minecraft.server.command.ServerCommandSource> invocation, dev.rollczi.litecommands.argument.Argument<W> context, String argument)
     
    dev.rollczi.litecommands.suggestion.SuggestionResult
    suggest(dev.rollczi.litecommands.invocation.Invocation<net.minecraft.server.command.ServerCommandSource> invocation, dev.rollczi.litecommands.argument.Argument<W> argument, dev.rollczi.litecommands.suggestion.SuggestionContext context)
     

    Methods inherited from class dev.rollczi.litecommands.argument.resolver.ArgumentResolver

    canParse, getRange, parse

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface dev.rollczi.litecommands.argument.parser.Parser

    canParse
  • Constructor Details

    • WorldArgument

      public WorldArgument(dev.rollczi.litecommands.message.MessageRegistry<net.minecraft.server.command.ServerCommandSource> messageRegistry)
  • Method Details

    • parse

      protected dev.rollczi.litecommands.argument.parser.ParseResult<W> parse(dev.rollczi.litecommands.invocation.Invocation<net.minecraft.server.command.ServerCommandSource> invocation, dev.rollczi.litecommands.argument.Argument<W> context, String argument)
      Specified by:
      parse in class dev.rollczi.litecommands.argument.resolver.ArgumentResolver<net.minecraft.server.command.ServerCommandSource,W>
    • suggest

      public dev.rollczi.litecommands.suggestion.SuggestionResult suggest(dev.rollczi.litecommands.invocation.Invocation<net.minecraft.server.command.ServerCommandSource> invocation, dev.rollczi.litecommands.argument.Argument<W> argument, dev.rollczi.litecommands.suggestion.SuggestionContext context)