Class CoordinateArgument

java.lang.Object
cn.nukkit.command.selector.args.impl.CoordinateArgument
All Implemented Interfaces:
ISelectorArgument, Comparable<ISelectorArgument>
Direct Known Subclasses:
X, Y, Z

@PowerNukkitXOnly @Since("1.19.60-r1") public abstract class CoordinateArgument extends Object implements ISelectorArgument
args like x,y,z.
  • Constructor Details

    • CoordinateArgument

      public CoordinateArgument()
  • Method Details

    • getPriority

      public int getPriority()
      Description copied from interface: ISelectorArgument
      解析优先级定义了各个参数的解析顺序

      优先级越高(数字越小)的参数,其越先被解析,且其解析结果将会影响下个参数的解析

      Specified by:
      getPriority in interface ISelectorArgument
      Returns:
      此参数的解析优先级