Class FloatArgument

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

public class FloatArgument extends SafeOverrideableArgument<Float,Float>
An argument that represents primitive Java floats
Since:
1.1
  • Field Details

  • Constructor Details

    • FloatArgument

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

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

      public FloatArgument(String nodeName, float min, float max)
      A float 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