Class ClientPlayerArgument<P extends net.minecraft.entity.player.PlayerEntity>

java.lang.Object
dev.rollczi.litecommands.argument.resolver.ArgumentResolver<net.fabricmc.fabric.api.client.command.v2.FabricClientCommandSource,P>
dev.rollczi.litecommands.fabric.client.argument.ClientPlayerArgument<P>
All Implemented Interfaces:
dev.rollczi.litecommands.argument.matcher.Matcher<net.fabricmc.fabric.api.client.command.v2.FabricClientCommandSource,P>, dev.rollczi.litecommands.argument.parser.Parser<net.fabricmc.fabric.api.client.command.v2.FabricClientCommandSource,P>, dev.rollczi.litecommands.argument.resolver.ArgumentResolverBase<net.fabricmc.fabric.api.client.command.v2.FabricClientCommandSource,P>, dev.rollczi.litecommands.argument.resolver.MultipleArgumentResolver<net.fabricmc.fabric.api.client.command.v2.FabricClientCommandSource,P>, dev.rollczi.litecommands.argument.suggester.Suggester<net.fabricmc.fabric.api.client.command.v2.FabricClientCommandSource,P>, dev.rollczi.litecommands.range.Rangeable<dev.rollczi.litecommands.argument.Argument<P>>

@Environment(CLIENT) public class ClientPlayerArgument<P extends net.minecraft.entity.player.PlayerEntity> extends dev.rollczi.litecommands.argument.resolver.ArgumentResolver<net.fabricmc.fabric.api.client.command.v2.FabricClientCommandSource,P>
  • Constructor Summary

    Constructors
    Constructor
    Description
    ClientPlayerArgument(dev.rollczi.litecommands.message.MessageRegistry<net.fabricmc.fabric.api.client.command.v2.FabricClientCommandSource> messageRegistry)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected dev.rollczi.litecommands.argument.parser.ParseResult<P>
    parse(dev.rollczi.litecommands.invocation.Invocation<net.fabricmc.fabric.api.client.command.v2.FabricClientCommandSource> invocation, dev.rollczi.litecommands.argument.Argument<P> context, String argument)
     
    dev.rollczi.litecommands.suggestion.SuggestionResult
    suggest(dev.rollczi.litecommands.invocation.Invocation<net.fabricmc.fabric.api.client.command.v2.FabricClientCommandSource> invocation, dev.rollczi.litecommands.argument.Argument<P> argument, dev.rollczi.litecommands.suggestion.SuggestionContext context)
     

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

    getRange, match, match, 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

    • ClientPlayerArgument

      public ClientPlayerArgument(dev.rollczi.litecommands.message.MessageRegistry<net.fabricmc.fabric.api.client.command.v2.FabricClientCommandSource> messageRegistry)
  • Method Details

    • parse

      protected dev.rollczi.litecommands.argument.parser.ParseResult<P> parse(dev.rollczi.litecommands.invocation.Invocation<net.fabricmc.fabric.api.client.command.v2.FabricClientCommandSource> invocation, dev.rollczi.litecommands.argument.Argument<P> context, String argument)
      Specified by:
      parse in class dev.rollczi.litecommands.argument.resolver.ArgumentResolver<net.fabricmc.fabric.api.client.command.v2.FabricClientCommandSource,P extends net.minecraft.entity.player.PlayerEntity>
    • suggest

      public dev.rollczi.litecommands.suggestion.SuggestionResult suggest(dev.rollczi.litecommands.invocation.Invocation<net.fabricmc.fabric.api.client.command.v2.FabricClientCommandSource> invocation, dev.rollczi.litecommands.argument.Argument<P> argument, dev.rollczi.litecommands.suggestion.SuggestionContext context)