Class LocationParser

java.lang.Object
net.apartium.cocoabeans.commands.parsers.ArgumentParser<T>
net.apartium.cocoabeans.commands.parsers.WrappedArgumentParser<org.bukkit.Location>
net.apartium.cocoabeans.commands.spigot.parsers.LocationParser
All Implemented Interfaces:
Comparable<net.apartium.cocoabeans.commands.parsers.ArgumentParser<?>>

public class LocationParser extends net.apartium.cocoabeans.commands.parsers.WrappedArgumentParser<org.bukkit.Location>
  • Nested Class Summary

    Nested classes/interfaces inherited from class net.apartium.cocoabeans.commands.parsers.ArgumentParser

    net.apartium.cocoabeans.commands.parsers.ArgumentParser.ParseResult<T extends Object>, net.apartium.cocoabeans.commands.parsers.ArgumentParser.TabCompletionResult
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    LocationParser(int priority)
    Creates a new LocationParser
    LocationParser(int priority, String keyword)
    Creates a new LocationParser
  • Method Summary

    Methods inherited from class net.apartium.cocoabeans.commands.parsers.WrappedArgumentParser

    equals, hashCode, isSupportMultipleArguments, parse, tabCompletion, toString, tryParse

    Methods inherited from class net.apartium.cocoabeans.commands.parsers.ArgumentParser

    compareTo, getArgumentType, getKeyword, getPriority

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Field Details

  • Constructor Details

    • LocationParser

      public LocationParser(int priority, String keyword)
      Creates a new LocationParser
      Parameters:
      priority - priority
      keyword - keyword to be used
    • LocationParser

      public LocationParser(int priority)
      Creates a new LocationParser
      Parameters:
      priority - priority