Class VectorGeneratorSub

All Implemented Interfaces:
Provider, Refreshable

public class VectorGeneratorSub extends VectorBinaryFunctionalGenerator
A functional generator that accepts exactly two VectorProviders and returns the value of the first minus the value of the second
  • Constructor Details

    • VectorGeneratorSub

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

      public VectorGeneratorSub(VectorProvider a, VectorProvider b)
    • VectorGeneratorSub

      public VectorGeneratorSub(org.bukkit.util.Vector a, org.bukkit.util.Vector b)
    • VectorGeneratorSub

      public VectorGeneratorSub(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