Class PlayerArgument.Builder<C>

java.lang.Object
cloud.commandframework.arguments.CommandArgument.Builder<@NotNull C,@NotNull Player>
net.pl3x.map.core.command.argument.PlayerArgument.Builder<C>
Type Parameters:
C - command sender type
Enclosing class:
PlayerArgument<C>

public static class PlayerArgument.Builder<C> extends cloud.commandframework.arguments.CommandArgument.Builder<@NotNull C,@NotNull Player>
Mutable builder for PlayerArgument instances.
  • Method Summary

    Modifier and Type
    Method
    Description
    @NotNull cloud.commandframework.arguments.CommandArgument<@NotNull C,@NotNull Player>
     

    Methods inherited from class cloud.commandframework.arguments.CommandArgument.Builder

    asOptional, asOptionalWithDefault, asRequired, getDefaultDescription, getDefaultValue, getName, getParser, getSuggestionsProvider, getValueType, isRequired, manager, withDefaultDescription, withParser, withSuggestionsProvider

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • build

      @NotNull public @NotNull cloud.commandframework.arguments.CommandArgument<@NotNull C,@NotNull Player> build()
      Overrides:
      build in class cloud.commandframework.arguments.CommandArgument.Builder<@NotNull C,@NotNull Player>