Class AdditionGenerator

All Implemented Interfaces:
Provider, Refreshable

public class AdditionGenerator extends FunctionalGenerator
A functional generator that takes any number of NumProviders and returns the sum
  • Constructor Details

    • AdditionGenerator

      public AdditionGenerator(NumProvider... args)
      Parameters:
      args - The values (or value providers) to operate on.
    • AdditionGenerator

      public AdditionGenerator(List<Double> args)
      Parameters:
      args - The values (or value providers) to operate on.
    • AdditionGenerator

      public AdditionGenerator(double... args)
      Parameters:
      args - The values (or value providers) to operate on.
    • AdditionGenerator

      public AdditionGenerator(AdditionGenerator clone)
      Clone constructor.
      Parameters:
      clone - The object to clone from.
    • AdditionGenerator

      public AdditionGenerator(org.bukkit.configuration.ConfigurationSection section, WbsSettings settings, String directory)
      Create this generator from a ConfigurationSection, logging errors in the given settings
      Parameters:
      section - The section where this generator is defined
      settings - The settings to log errors against
      directory - The path taken through the config to get to this point, for logging purposes
  • Method Details