Class DoubleArgument

All Implemented Interfaces:
SafeOverrideable<Double,Double,Argument<Double>,Argument<?>,org.bukkit.command.CommandSender>, BukkitExecutable<Argument<Double>>, ChainableBuilder<Argument<Double>>, PlatformExecutable<Argument<Double>,org.bukkit.command.CommandSender>

public class DoubleArgument extends SafeOverrideableArgument<Double,Double>
An argument that represents primitive Java doubles
Since:
1.1
API Note:
Returns a double
  • Field Details

  • Constructor Details

    • DoubleArgument

      public DoubleArgument(String nodeName)
      A double argument
      Parameters:
      nodeName - the name of the node for this argument
    • DoubleArgument

      public DoubleArgument(String nodeName, double min)
      A double argument with a minimum value
      Parameters:
      nodeName - the name of the node for this argument
      min - The minimum value this argument can take (inclusive)
    • DoubleArgument

      public DoubleArgument(String nodeName, double min, double max)
      A double argument with a minimum and maximum value
      Parameters:
      nodeName - the name of the node for this argument
      min - The minimum value this argument can take (inclusive)
      max - The maximum value this argument can take (inclusive)
  • Method Details